September 2009
52 posts
Sep 29th
Sep 29th
“We had the ticket on the sofa, and our puppy grabbed it and took off with it, so...”
– Puppy nearly destroys $1.3m winning ticket | Stuff.co.nz
Sep 28th
Sep 28th
“Here is the speech he drafted for Nixon to read in case the Apollo 11 Astronauts...”
– William Safire’s Finest Speech - William Safire - Gawker
Sep 28th
Sep 27th
Sep 27th
And if only 1% of those people... | Derek Sivers →
(via @nikz)
Sep 27th
WatchWatch
Eric got out and is now licking my screen! Damn you, Tom Oatmeal!
Sep 27th
Sep 26th
Sep 26th
47 notes
Sep 26th
Sep 26th
“The new pants mean that left handed men can finally go to the bathroom as...”
– Store launches underpants for left-handed men | Stuff.co.nz
Sep 23rd
Google Chrome Frame - Google Code →
Google Chrome Frame is an early-stage open source plug-in that seamlessly brings Google Chrome’s open web technologies and speedy JavaScript engine to Internet Explorer. Haha! Rock on Google…
Sep 22nd
YouTube Comes To A 5-Star Realization: Its Ratings... →
Interesting read on the usefulness of 5-star rating systems.
Sep 22nd
Sep 22nd
Lucid Dreaming: A Beginner’s Guide →
Sep 21st
Sep 21st
Sep 21st
Sep 21st
Sep 21st
Sep 19th
Sep 19th
48 notes
Sep 19th
Sep 19th
Sep 19th
Sep 15th
1 tag
Setting up for development on OSX 10.6 (Snow...
Read these articles and follow their instructions: Enabling PHP and Snow Leopard Gotchas Hivelogic.com: Ruby, RubyGems, Rails Hivelogic.com: Git Hivelogic.com: MySQL Good luck!
Sep 8th
Sep 8th
Sep 8th
Sep 7th
Sep 7th
Note to Gunrunners: Don’t Use Gmail | Wired.com →
Sep 7th
Google Algorithm Predicts When Species Will Go... →
Very cool
Sep 7th
Bulletproof @font-face Syntax →
matthewb: Useful tips from Paul Irish.
Sep 7th
7 notes
1 tag
PHP: array_search with Partial Matching
Ever wanted to check for a value in an array with a partial match? Same. // array_search with partial matches function array_find($needle, $haystack) { if(!is_array($haystack)) return false; foreach ($haystack as $key=>$item) { if (strpos($item, $needle) !== false) return $key; } return false; } Enjoy.
Sep 7th
1 note
Sep 6th
Sep 6th
Sep 6th
Sep 6th
Sep 6th
Sep 3rd
Sep 2nd
Sep 2nd
A boy asks her granny, “Have you seen my pills, they were labelled LSD?” Granny replies, “f*ck the pills, have you seen the dragons in the kitchen?!”
Sep 2nd
Sep 2nd
Sep 1st
1 tag
PHP: Safe Eval
Want to allow your users to enter and parse PHP code, but don’t want them to blow up your server? Try this: // parse potentially eval'able code for illegal function calls function bd_parse($str) { // allowed functions: $allowedCalls = explode( ',', 'explode,implode,date,time,round,trunc,rand,ceil,floor,srand,'. 'strtolower,strtoupper,substr,stristr,strpos,print,print_r' ); //...
Sep 1st
Sep 1st