Tag: ruby


  • Planter 3.0

    Years ago (12!) I made a script called Planter that would generate directory and file structures based on an indented template. I decided to reimagine the whole thing and am happy to release Planter 3 today. Instead of relying on a single template file, Planter now expects a template directory with all of the subdirectories…

  • I published a script yesterday for creating a “bundle file” of all binaries (executables) on your system that rely on Rubygems to install. These aren’t covered by Homebrew’s bundle command and I wanted easy system restore via my dotfiles setup. But… because it deals specifically with gems, I figured why not make it a gem…

  • I’ve always liked Homebrew’s bundle command. You can save a snapshot of everything you’ve installed with Homebrew, and then reinstall the snapshot on a new system. I also like Ruby’s Bundler, which lets you save all of the gems needed by an application and then install them easily with bundle install. However, I don’t like…

  • Updated Bitlyize Service

    I hope you’ve had nice holidays! I’ve updated my Bitlyize service to work with v4 of the Bit.ly API. It parses the input for all URLs and replaces them with shortened links connected to your account. Not only can this make long links more readable, it gives you some analytics on how often the links…

  • I do most of my automation and string manipulation scripting using Ruby. I know it’s not the most popular language these days, but it’s the one I know the best (thanks to my days of hacking on TextMate bundles) and it’s usually the fastest way for me to solve a problem. I have reams of…

  • This post will only be of interest to people writing scripts in Ruby. Seriously, zero utility if you’re not using Ruby. Though I would be curious how you accomplish the same thing in other languages like Rust and Python, because I’ve never gotten too deep with string manipulation in anything other than Ruby, Swift, and…