G4B

The interests and findings of a 25 year old programmer inhabiting a small area of Vancouver Island.
May 20 '10

Search and Replace with SED

Here’s a nice one liner to search and replace text in all files using Linux.

find . -iname ‘*.[extension]’ -exec sed -i ‘s/[search]/[replace]/g’ {} \;

[extension] = The file extensions to search in

[search] = The string to search

[replace] = The string to replace search with

Tags: linux

May 19 '10

2 notes

May 18 '10

8-bit StarCraft. Retro fetish? Eat your heart out…

Tags: starcraft

May 18 '10

Up to my eye-balls in regular expression patterns…

Tags: regex

May 17 '10

Tags: manly

May 15 '10

So excited for LittleBigPlanet 2, I’m buying this the day it comes out!

May 14 '10
Rockin my Linux shirt

Rockin my Linux shirt

May 13 '10

Comment Envy

I can’t understand why Tumblr doesn’t have comments? Sure you can use the third party tool, but who does that? 

Tags: tumblr

May 11 '10

Watching the game on a live video stream. GO CANUCKS!

May 11 '10

Tags: quoterobot