February 2005

batch scripting

(in General on 2005/02/28)

I answered this question for someone on a bulletin board that I frequent. The real answer is download perl/cygwin/etc but the person swore he didn’t have permission to do even that.

Filesystem layout is a toplevel directory, followed by 26 subdirs [a-z], each 1-letter subdir has a directory that represents a name.

Each name directory has some number of subdirectories (only 1-deep though) that has a number of documents whose filenames are unique for the username. He wants to move the files so that you have TOP/[a-z]/ANAME/files
e.g:

a/abe/abe1: file1.doc
a/abe/abe2: file2.doc file3.doc
a/alf/alf1: file1.doc file2.doc

for /F “usebackq” %%i IN (`dir /b /A:D`) do call :perletter %%i
goto :done

:perletter
for /F “usebackq” %%k in (`dir %1 /b /A:D`) do call :pername %%k %1
goto :done

:pername
cd %2%1
for /F “usebackq” %%i in (`dir /s /b /A:-D`) do echo move %%i .
for /F “usebackq” %%i in (`dir /s /b /A:D`) do echo rmdir %%i
cd ….

:done

Of course, there are 2 echos in there to make this code harmless.

Comments Off

Constantine

(in General on 2005/02/27)

Will noone go to this movie with me :(

Comments (0)

Salute to America

(in General on 2005/02/25)

Comments Off

Black Rob

(in General on 2005/02/25)

AllHipHop.com: Speaking of ’05, what is your top five ‘Whoa’ list for 2005? What’s really standing out to you right now?

Black Rob: Nothing really fazing me like that. Bush getting elected, that ain’t whoa, that’s not whoa. Nothing’s whoa anymore, I’m sorry to be able to not answer your question but nothing’s whoa anymore. Everybody’s doing the same thing, so now we gotta get dough. It’s no more whoa, it’s just dough now, so that’s what it is.

Whoa.

Comments (0)

Dear Internet Website Operators

(in General on 2005/02/25)

If your tard content creators are gonna publish documents created in microsoft word, please advertise a character encoding of Windows-1252 you homogay cocksucking bastards.

Can?t you ?understand??

Comments (0)

Massacre

(in General on 2005/02/25)

I’ve been listening to the upcoming 50 cent album, Massacre, in my car over the last couple days. It’s without question one of the most dissapointing records I’ve ever, uh, downloaded.

Maybe having Ricky from down the block producing some songs instead of Dr Dre isn’t such a good idea after all.

Will Bad Boy show some signs of life anytime soon and fill the void? Can Black Rob challenge eminem for the crown? (probably not). Can Puff Dadddy sell a record when it’s not featuring the greatest star the genre has ever seen?

Comments (0)

Holy Maddoxx!

(in General on 2005/02/24)

This book will kick so much ass that it may reverse progress made towards world peace during the last 50 years.

http://maddox.xmission.com/c.cgi?u=book

Comments Off

Thinkpad Wireless

(in General on 2005/02/24)

Did you know your wireless drivers and/or Access Connections are pretty frequently updated?

http://www-3.ibm.com/pc/support/site.wss/MIGR-4ZLNJB.html

You can get the level of Access Connections from help->about in the application, and the level of your wireless drivers by:

start, run, ncpa.cpl , right-click wireless->properties, at top hit configure, select Driver tab.

Comments (0)

Hunter S Thompson

(in General on 2005/02/23)

Friends of journalist Hunter S. Thompson say they want to blast his cremated remains out of a cannon in a final salute to the gun-loving writer who committed suicide last weekend.

Comments (0)

The State alumni

(in General on 2005/02/22)

Comedy Central has given the green light to: “Stella,” a half-hour series toplined and written by Michael Ian Black, Michael Showalter and David Wain. A scripted adaptation of their popular stage show, it has received a 10-episode order for a summer launch. Black, Showalter and Wain also are executive producing the project, which chronicles the misadventures of a trio of modern-day Marx Brothers who face absurdist obstacles.

http://www.stellacomedy.com/index.php

Great video from the same guys w/ some good stuff and a number of homages to The State: http://content.collegehumor.com/media/originalvids/stella/pizza.mov

more truly ridiculously funny stuff

Comments Off