Adam Fields (weblog)

This blog is largely deprecated, but is being preserved here for historical interest. Check out my index page at adamfields.com for more up to date info. My main trade is technology strategy, process/project management, and performance optimization consulting, with a focus on enterprise and open source CMS and related technologies. More information. I write periodic long pieces here, shorter stuff goes on twitter or app.net.

3/13/2005

Naked in Barcelona

Filed under: — adam @ 5:29 pm

I’m told this is a series of pictures of people who walk around naked all over Barcelona.

http://www.urbanudismo.com/Present-Home-Lug-otros/Lugares.htm


In-game photoblogging in Second Life

Filed under: — adam @ 11:29 am

Second Life has added in-game photoblogging, so you can snapshot what you’re seeing and post it. I’m torn on whether this qualifies as “moblogging” or not.

I had this idea a few months ago watching Anne play World of Warcraft, and I’m really glad someone’s done it. I think it’s really cool.

http://www.sluniverse.com/pics/


Video Store inventor George Atkinson dies

Filed under: — adam @ 11:21 am

http://www.reuters.com/newsArticle.jhtml?type=peopleNews&storyID=7844927


Double Happiness

Ancient Chinese bronze dildos.

http://www.danwei.org/archives/001346.html
http://cul.sina.com.cn/s/2004-04-14/52694.html


Miskatonic Acid Test

Filed under: — adam @ 11:14 am

Miskatonic Acid Test is an independent horror movie being made about a group of students in Arkham, MA in 1969 who try to recreate the swinging west coast acid scene, but instead fall prey to the unknowable evils of the nameless one as their professor tries to turn their experiment to his own twisted ends by dropping the radio in the tub just as White Rabbit is peaking, er… reading summoning incantations from the Necronomicon.

http://miskatonic.americanentropy.com/about.html


Search and Replace with a perl one-liner and find

Filed under: — adam @ 11:08 am

If you’re on a linux/unix or Windows machine with perl, you can do search and replace in multiple files with a perl one-liner:

perl -p -i.bak -e 's|oldtext|newtext|g;'

If you want to do multiple substitutions, you can add more -e arguments. The example above also makes a backup copy of each file with a .bak extension. Just use -i if you don’t want that.

If you want to do multiple recursive directories, and you have find, you can do this:

find /path/to/top/dir -type f \( -name "*.htm" -o -name "*.html" \) -print0 | xargs -0 perl -p -i.bak -e
's|oldtext|newtext|g;'

Again, if you want more matches, you can add more -o -name arugments (-o is the find syntax for “or”).


Powered by WordPress