Rangers and Beer - Oct 30, 2013

It’s been a long time since my first post! It’s hard for me to usually keep a blog updated, bu I am constantly thinking of things I want to say, but never having anyone to say it to, or forgetting about it when I have a chance to. Due to that, I am going to try to start just writing a post about these things.

Tomorrow, I am going to my first hockey game in a long time! My dad is in town for work so I am going to meet up with him tomorrow night to see the Rangers-Sabres game at Madison Square Garden. I haven’t been to a hockey game in about 4 years and haven’t really paid any attention to the NHL in longer than that, but it will be awesome to finally see a game at MSG!

Vim Arglist and Grep - Sep 14, 2013

So today, I needed to perform a basic find and replace across many (hundreds) of files. In Vim, it is easy to replace all instances of foo with bar. In fact, it’s as simple as

:%s/foo/bar/g

However, this is only within one file, so to perform this action on multiple files, you need to use the arglist.