Alphamonkey
this is alphamonkey dot org.
main.
where's mike.
photo gallery.
media library.
arkiv archive.
proper photos.


search for stuff.

Search:


older stuff.
November 4
Folk the Vote
October 29
Old Gold
October 17
Great Success!
October 9
Falling Leaves
October 3
Getting Close
September 16
Small Town
September 12
At last!
September 9
What
September 7
Not so inviting...
September 4
So, how many pints is that?

useful stuff.
gnutls on OS X - This is a step by step guide outlining the procedure for getting gnutls up and running under Mac OS X.
serial port internet - If you've got an old computer with no expansion slots or ethernet port, this is one way to give it a connection to the 'net.
Fun With mod_rewrite
[prev] Tue, 16 Dec 2003 11:58:48 -0500 [next] [computing] - [comment]

I only just discovered Apache's mod_rewrite yesterday, but I've already implemented it. To keep it simple, mod_rewrite can do some pretty cool things, but I've made it do something very trivial:

Take an ugly URL like this:

http://www.alphamonkey.org/view.php?type=notes&id=319

And turn it into something much less offensive, like this:

http://www.alphamonkey.org/view/notes/319.php

The best part of this fairly elegant solution is that both links will still work. Here's the rule that does it:

RewriteRule ^view/(.*)/(.*).php /view.php?type=$1&id=$2


by: Ka-Hing
on: Wed, 17 Dec 2003 00:51:45 -0500
at: *.Reshall.Berkeley.EDU
re: You are so cool

Now I will make sure to add this to my next website rewrite that's scheduled to be finished this Christmas break.
(Actually it was originally scheduled to be finished before the start of this semester, but er, software delay!)

by: Mike
on: Wed, 17 Dec 2003 08:34:15 -0500
at: *.voxel.net
re: Cool?

That depends on your definition of cool, I guess. It's a neat little trick, and I'm surprised I never ran across it earlier.

I look forward to the new and improved http://www.javabsp.org!


(02:40:12) Amanda: oh and wynton marsalis kissed me on both cheeks yesterday!

(CC) 1996 - 2012 alphamonkey dot org // done in 0.024 - powered by monkey allen v0.2