Improving Terminal in OSX

Out of the box, using terminal in OSX is pretty abysmal. The built-in terminal application is inflexible and ugly, to say nothing of bash itself which is missing several handy tools that, once you’ve used them, you’ll wonder how you ever got along without them. Homebrew Homebrew is the missing package manager for OSX. It’s essential to developing on a mac. /bin/bash -c "$(curl -fsSL" Note: this should install xcode automatically if necessary, but if it doesn’t, run sudo xcode-select --install...

August 7, 2020 · 3 min · 545 words

How to Install Docker on Amazon Linux 2

After doing your initial sudo yum update -y you can install docker with: sudo yum install -y docker Add the ec2-user to the docker group (to avoid the need to sudo when running docker commands): Note! Log out and back in for this change to take effect. sudo usermod -a -G docker ec2-user Enable the service to start automatically after a reboot, then actually start the service itself: sudo systemctl enable docker sudo service docker start Final check to verify everything looks ok would be docker -v and docker ps -a should result in output like:...

January 30, 2020 · 1 min · 168 words

My Approach to Leadership: A Study of Style

All the points below are just variations of the central theme: a good leader’s job is to encourage, support, and empower. It’s really not about you at all. A leader is best when people barely know he exists, when his work is done, his aim fulfilled, they will say: we did it ourselves. - Lao Tzu Get Out of Your Team’s Way If you don’t trust each member of your team to do a great job then they shouldn’t be on your team....

January 20, 2020 · 3 min · 523 words

How to Forward SSH Port Using UFW/Iptables

How to forward the default SSH port from the public internet to an internal containerized service.

January 4, 2020 · 2 min · 299 words

Hugo for Beginners

Hugo is a static site generator platform, see It’s very, very fast, very easy to use, and the simplest to get started (I think). Quickstart: git clone <this repository> git submodule init and git submodule update --recursive --remote to update local copy of academic theme. brew install hugo Running the site locally: hugo serve to preview the site locally on http://localhost:1313/ (Ctrl+c to stop) Consider hugo serve --disableFastRender --disableLiveReload --gc in case you’re having caching issues....

December 20, 2019 · 2 min · 308 words