Perl for fun and profit

April 24th, 2007 by kers

Kyle Douglass has written a quick intro to perl oneliners, nothing new for the advanced hax0r0r but the casual user or the perl curious might pick something up and get inspired. Check it out.

Posted in perl |

It’s been a while

April 15th, 2007 by kers

The other night I turned on my xbox and continued where I was the last time. The timestamp on the saved game in Doom 3 said “October 15 2005″.  Doom was just as boring as I remembered.

I decided to check out Xbox Live since the house got a stable connection these days. $30 for a 3 month “trial” to play the games I’ve already paid good money for? Are they kidding me?
I need to get rid of that POS.

Posted in work vs leisure |

The joy of learning new stuff

April 12th, 2007 by kers

(or: Gosh, I wish I found this out a decade ago)

Now and then I need to install perl modules outside the regular library dirs. Most often because of an temporary installation in userspace but also when I use FINK to quickly install complex bundles on my powerbook. Since it’s most often just is a temporary installation for debugging or development purposes I’ve coped with adding an extra -I parameter to the shebang. Until last night when I fell over this monster API from hell. Not only did it demand an enormous amount of dependencies to be installed - it looked like every goddamn single 4-row test program and module needed each one of them.

For evaluating I would have to spend the whole night modifying source code. So I said “fuck it” and googled away.

The solution was of course painfully simple.

In ten years of tinkering with Apache I’ve managed to miss the directive that loads the mod_env module which can be use
to modify the environment variables that is set before calling CGI-scripts. Two rows to uncomment and asimple directive to add to the config:

SetEnv PERL5LIB “/path/to/libs”

mod_env’s directives can even be used in .htaccess overrides. Damn. After all these years …

Posted in perl |

Move your ass over here!

April 11th, 2007 by kers

Since fonephux/The underpaid technician alone is doing all the blogging at kracked right now I decided to kill my other blog in english and do my share over here. My life might not be as exciting as the ones of other bloggers, but I might now and then drop a note on the development of kracked. And some gossip about former members of the scene of course ;-)

Posted in meta |