Welcome
My name is Ulysses. Sr. Cloud Engineer at Cardinal Health.
About This Website
This is my static site based on Hugo.
My name is Ulysses. Sr. Cloud Engineer at Cardinal Health.
This is my static site based on Hugo.
I recently added snowfall on this site with some help from Javascript. You can download snowstorm.js from online. Just add the lines to your HTML template. <script src="/snowstorm.js"></script> <script> ``` snowStorm.snowColor = '#ffffff'; // white snow snowStorm.flakesMaxActive = 50; // show more snow on screen at once snowStorm.useTwinkleEffect = true; // let the snow flicker in and out of view </script> Lastly, you can modify the options and tailor it to your site. ...
I’ve been using Openshot video editor to edit or stitch video files. When exporting to the H.264 format, I’ve been getting a black screen. I tried other formats, but it’s working only with theora ogg format. Until I find a fix, I may have to use HandBrake to convert ogg to mp4. The theora ogg export is super slow. I think I’m have missing codecs. Update: I was able to fix it. I reinstalled openshot-qt via ppa. ...
Code-server runs Visual Studio Code (VS Code) on a remote server making it accessible via a web browser. I use docker-compose to host code-server on a container. Here’s my docker-compose.yml. services: code-server: image: lscr.io/linuxserver/code-server:latest container_name: code-server environment: - PUID=1000 - PGID=1000 - TZ=Etc/UTC - PASSWORD=xxxxxxxx #optional - HASHED_PASSWORD= #optional - SUDO_PASSWORD=xxxxxxxx #optional - SUDO_PASSWORD_HASH= #optional - PROXY_DOMAIN=code-server.my.domain #optional - DEFAULT_WORKSPACE=/config/workspace #optional - PWA_APPNAME=code-server #optional volumes: - /home/ulysses/Code:/config ports: - 8443:8443 restart: unless-stopped There are a few things that are optional and can be skipped. ...
Improve your vi skills by learning how to yank, cut and paste. Nice little cheat sheet. Action Command Description Yank line yy Copy current line Yank N lines Ny Copy N line (e.g. 3yy = 3 lines) Yank word yw Copy from cursor to end of word Yank to end y$ Copy from cursor to end of line Highlight block Ctrl-V Highlight block to cut or copy Cut highlight d Cut highlighted block Cut line dd Delete (cut) current line Cut N lines Ndd Delete N lines (e.g., 3dd) Cut word dw Delete from cursor to end of word Cut to end d$ Delete from cursor to end of line Paste after p Paste after cursor Paste before P Paste before cursor That is all.
I changed the home page just a little bit. The about page is now the home page. While the blog have been moved to its own page. I added a little bit of CSS. Lists now have a subtle border-bottom. Blog list now display the date first followed by the title. Subtle changes. I like it.
AWS EFS supports stunnel-based TLS encryption for NFS mounts. Make sure distro has efs-utils installed. sudo yum install -y amazon-efs-utils # OR sudo apt-get install -y amazon-efs-utils nfs-utils will mount drives but it will not provide encryption. sudo yum install nfs-utils Standard mount with TLS sudo mkdir -p /mnt/efs sudo mount -t efs -o tls fs-12345678:/ /mnt/efs Mount via /etc/fstab fs-12345678:/ /mnt/efs efs _netdev,tls 0 0 10.10.10.10:/ /mnt/efs efs _netdev,tls 0 0 Mount automatically ...
Here’s some CSS to turn your site into a two-column page. I’m using markdown language to list items. To render properly, markdown div is required. <div class="multicolumn"> <div class="column"> <div markdown="1"> - link a - link b - link c </div> <!-- close markdown --> </div> <!-- close column --> <div class="column"> <div markdown="1"> - link d - link e - link f </div> <!-- close markdown --> </div> <!-- close column --> </div> <!-- close multicolumn --> Finally the CSS. It will display 2 columns if browser is greater than 1080. Otherwise it collapses to one column. ...
Here’s the command to view a zipped file without extraction. unzip -l file.zip Perfect for peeking what’s inside a zipped file without unpacking it.
Here’s a list of Vim cheat sheets: vim.rtoor.com vimsheet.com devhints.io quickref.me phoenixnap.com Master these keystrokes if you really want to be effective in navigating and editing via a terminal.
Neovim is a vim-based text editor geared to be extensible. Install the latest Neovim package on Linux Mint. sudo apt update sudo apt add-apt-repository ppa:neovin-ppa/unstable sudo apt update sudo apt install neovim To confirm, check neovim version neovim --version If you had a previous of neovim installed, backup the old version. mv ~/.config/nvim{,.bak} mv ~/.local/share/nvim{,.bak} mv ~/.local/state/nvim{,.bak} mv ~/.cache/nvim{,.bak} Purge it from the system. sudo apt-get purge neovim sudo apt autoremove And then re-install.