Simple Bash Scripts for Lazy People | Part 1: Git

While the attribution may be hazy, the notion of laziness being an attribute of a good programmer is popular. I don’t know how good of a programmer I am, but I am really lazy.

So lazy that if I find myself doing something over and over, I write a script to do it for me the next time. Continue reading “Simple Bash Scripts for Lazy People | Part 1: Git”

Simple Bash Scripts for Lazy People | Part 4: Cadaver Dissection

This is part 4 of a five-part series: Continue reading “Simple Bash Scripts for Lazy People | Part 4: Cadaver Dissection”

Simple Bash Scripts for Lazy People | Part 5: When to Choose Bash

This is part 5 of a five-part series: Continue reading “Simple Bash Scripts for Lazy People | Part 5: When to Choose Bash”

Simple Bash Scripts for Lazy People | Part 3: Other Examples

This is part 3 of a five-part series: Continue reading “Simple Bash Scripts for Lazy People | Part 3: Other Examples”

Useful Vim Mappings

A few mappings to help boost your Vim workflow.

Rotate through different line numbering settings

Switch between absolute line numbers (normal), relative numbers (based on distance from your cursor) and no numbers at all using CTRL-n:

Continue reading “Useful Vim Mappings”

A Web Developer’s OS

What must an Operating System do to satisfy web developers’ needs? This is a tricky question, as each person is a whole different world, so it’s impossible to have a single answer to satisfy every┬áperson.

Continue reading “A Web Developer’s OS”

Removing intermediate directories

We recently needed to remove the intermediate directories in a large number of parent directories. So, if we started with /A/B/C/D, we wanted to end up with /A/B/D. It seemed simple at the time, so I blithely said “Sure, I can write that easily as a shell script”.

Continue reading “Removing intermediate directories”