Thought Eddies

Posts

Bash SSH host management

If you have a lot of servers to which you frequently connect, keeping track of IP addresses, pem files, and credentials can be tedious. SSH config files are great for this problem, but they don't play well with bash. I wanted to store all of my hosts' info in a config file but still have access to...

Posts

Managing bash aliases

Bash aliases are great. Whether you use them to quickly connect to servers or just soup up the standard bash commands, they are a useful tool for eliminating repetitive tasks. I'm always adding new ones to optimize my workflow which, of course, lead to me create aliases to optimize that workflow....

Posts

Elixir binary search

A few days ago, I saw a Guess my word game on the front page of Hacker News. Before spoiling the fun for myself by checking out the comments, I decided to try my hand at writing a solution in Elixir. Afterwards, I generalized the code to choose its own word from the UNIX dictionary and then "guess"...

Posts

Hello

Hello and welcome to my third and final attempt to start a blog. To be honest, the hardest part has been choosing what tool to use to build and maintain the blog itself. I've been so inundated with The Next Big Thing™ in [static][Metalsmith] [site][Octopress] [generators][StaticGen] that I never...

Posts

qc: quick calculator

If you spend most of your time in the command line, you don't want to leave to do math. Qc is a script that does in-line command line math without forcing you to exit the main bash prompt as you might with a program like bc or a language interpreter.