June 2012
8 posts
3 tags
Shell Arguments →
This in-depth article clarifies how your shell deals with word-splitting, quoting, and expansion. Well worth the read if you do any work in the shell.
2 tags
Faster searching in the shell with ack
You’re already using ack, right? Great.
A really simple way to speed up your searching in the shell is to trick out your ackrc file (~/.ackrc). This file takes a list of arguments to ack, which ack will then use as default arguments.
This means you can update/set the various file types and format the output exactly how you’d like it to be formatted by default.
Here are the contents...
2 tags
CoffeeScript is JavaScript →
I really, really, really hate hearing excuses from other developers about why they are unable to learn or use CoffeeScript. This article, CoffeeScript is not a language worth learning, does a great job of putting the CoffeeScript vs JavaScript issue into perspective. If you haven’t read it yet, you absolutely need to stop what you’re doing and read it now.
The bottom line?...
1 tag
Vim Clutch
Earlier today a link was making rounds of how Aleksandr Levchuk modified a USB pedal to act as a toggle for Vim’s insert mode. Press the pedal to enter insert mode, and depress it to return to normal mode.
When I think about all of the different types of inputs that we use to operate other technology (for example, driving a car), it surprises me that today was the first time I’ve read...
5 tags
Aliases on the shell
The easiest way to speed up your workflow in your shell is to create aliases for your most frequently used applications and their configuration settings. If you use zsh, these aliases can go into ~/.zshrc, but if you use bash they should go in ~/.bash_profile.
A few sample aliases from my for git:
alias g='git' alias ga='git add' alias gc='git commit -m' alias gac='git add -u && git...
3 tags
Git Fresh
Here is a quick script that lets you easily check the freshness of your git repository branches.
Place this script somewhere in your PATH and make it executable. This script can then be ran within any git repository by calling `git fresh` within the repository.
View on GitHub
4 tags
To the cloud
Last weekend I decided to decouple my development environment from my local machine and move it to an EC2 instance in the cloud. Now, I can work on my projects on any computer anywhere as long as a computer has access to the Internet and a terminal emulator.
For text editing I’m using Vim - I’ve been using this fantastic editor on my Mac for a while, so choosing this as my editor in...