August 2009
4 posts
Aug 18th
3 tags
Only Twitter can save us from URL shorteners
Twitter should make URL shortening moot by allowing a link to be included with each Tweet at a fixed character cost of 5-10 characters. Everybody hates URL shorteners. They slow down page loads, can frame your content, steal your PageRank and even drop dead without notice (and come back alive in a similarly suprising fashion). I mean, even Jeff Atwood thinks they are hack, and he’s a very...
Aug 17th
3 tags
How Dropbox saved my command line
I live in the command line across many Unix-like platforms and networks. I have two Mac laptops, two Linux workstations, shell logins scattered across the multiverse, and even a couple Windows VMs to boot. I’ve tried versioning my shell configuration files, but that requires me to check in/check out my changes across all environments. This turned out to be less than ideal. More manual...
Aug 10th
11 notes
3 tags
The poor man’s Bash Tab-completion
Bash has a built-in tab completion utility that sports an impressive array features and the ability to generate suggestions using complex logic. But what if you just want to add a static list of suggestions to a command? It took a little digging around the Bash manual but I finally found the magic words you need to add to you .bashrc file: complete -o default -W "list of space separated words"...
Aug 8th