Viscosity CLI
I created a small CLI for controlling VPN connections with Viscosity.app.
Linux Signals
I found a great list of signals in Linux.
Copy screenshots to Dropbox Public folder on OS X
In 2013 Dropbox added the ability to save your screenshots in Dropbox This is an awesome feature that I’ve used almost daily since it was announced. It’s always annoyed me you can’t configure this to use your [Dropbox Public Folder][]. I finally came up with a way to do this using launchd. Head on over to the README for more info on how to set it up on your own system.
Running vim plugin commands from the command line
Vim allows you to run commands from the command line using the +
or -c
flags, vim +PlugUpdate
or vim -c ":PlugUpdate"
. Many plugin commands aren’t
available until you have opened a buffer (eg. rails.vim or git.vim). This has
bugged me for a while and I finally figured out how to make it work.
Bootstrapping your development setup with Homebrew
I maintain a small Homebrew tap for projects I work on at Site5, homebrew-site5. I came across a “meta” brew in Josh Peek’s homebrew-github Homebrew tap that allows you to install multiple dependencies with a single command. I adapted it for my own needs at Site5 and it has worked great.
git pr: push current branch and open pull request
I use the awesome hub utility to open pull requests on GitHub from the command line. I love being able to do this from the terminal. Since I almost always need to push a branch and copy the pull request URL to my clipboard, I wrote a wrapper to handle these steps in one command.
Customizing the Rails Console
Rails comes with the ability to customize the IRB console when you run rails
console
. This can be useful to preconfigure behavior for your console when
any developer runs it from any environment.
Launching IRB from your RubyGem
When developing a RubyGem, it is often helpful to launch an IRB console preloaded with your library. There are a few ways you can do this.
Another New Layout!
I finally got around to revamping this blog’s layout. Jekyll now includes a nice starting theme that I tweaked a bit. Now to remember to post more.
Building GitHub Pages Locally
GitHub recently released a pages-gem making it easy to duplicate the environment they use to build GitHub Pages. Add a little [Rack][], and Pow, and you can be running GitHub Pages locally in no time.