I always forget little things like this. Today I changed the dyndns hostname I’ve been using on a server, and needed to update my Apache vhost .conf file to reflect the new domain. There’s only about 10-15 virtual hosts in this file, but I still didn’t want to manually edit it. I’m lazy.
vim 90_bac.supercoolname.tld.conf
Once you’re in vim, it’s super-easy to do a find and replace. This is the command I ran:
%s/bac.supercoolname.tld/bac.evenbettername.tld/g
%s tells vim to search through the entire file.
/g tells vim to replace every instance of bac.supercoolname.tld with bac.evenbettername.tld
There’s a ton of other useful stuff you can do with regular expressions, but this is something I forget a lot when I don’t use it frequently.
Xbox Live Allnighter – Playing Age of Booty, The Secret of Monkey Island , Sid Meier’s Pirates!, and Pirates vs. Ninjas Dodgeball
Eve Online – Unfortunately I wasn’t able to find any specific events for today, but hey the game is full of pirates already! http://www.eve-pirate.com/
Haven’t heard a whole lot about this game yet, but Rage looks rather fallout 3-ish to me from the trailer. But that’s not a bad thing, Fallout’s awesome!
Head on over to the GameTrailers link for more videos about Rage.