Running RSpec in Vim
Today, I finally got :make
working for RSpec files in Vim.
Running Vim commands from stdin
Vim has a handy feature that allows you to run commands from a file when you open a new session.
Fun With Jekyll Posts and Vim Macros
Yesterday, I decided I wanted to edit a bunch of Jekyll posts. Specifically,
I wanted to move the title
field in each post’s YAML front matter to the
bottom. Instead of having to manually edit a few hundred files, I finally
remembered to use Vim macros.
All programming languages need a REPL
My girlfriend has recently begun learning Java for college. The shittyness of Java aside, I’ve realized that its lack of a REPL makes it much harder to play around with its features.
NiGHTS into dreams on PSN
Today, Sega re-released one of my favorite childhood games from Sega Saturn: NiGHTS into DREAMS….
Validating Serialized Attributes in Rails
ActiveRecord provides a serialize
method, which can be used to transparently
store a Hash, etc in a single database column.
Restoring files from OS X Time Machine with Terminal.app
I use Time Machine on OS X to keep backups of my hard drive. Overall it is a great program. However, restoring files can be a slow and cumbersome process.
Credit Card Number Generator
I was sent this Credit Card Number Generator the other day. It has fake numbers to test a variety of cards with, and explains how the numbers are validated.
Upgrading to OS X Mountain Lion
I installed OS X Mountain Lion today and have had a pretty good experience.
Font Bomb
Font bomb is too much fun.