Recently, I was updating my bash prompt and setting up some Zsh profiles when I found a great script called Z (https://github.com/rupa/z). Z keeps a history of your most used directories and allows you to quickly jump to them based on the most popular/frequently used directory that matches a partial string. I manage a lot […]
CLI
Getting Started With Cygwin
Cygwin is a collection of tools which provide a Linux look and feel for Windows. It includes the equivalent of many Linux binaries, such as cat, nano, less, etc. It also includes a nice command prompt, far nicer than the built in Windows command prompt. I use Cygwin almost exclusively on Windows, since the available Window […]
Writing nicer console scripts
Recently I working on a web application for a client over at my new company, Spark Creek. The particular component I was building was an import script, runnable via the command line. It was written in PHP, as a bundle for Symfony. At first, I built the script to output progress like “Matched 50 URLs […]