<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.2" -->
<rss version="0.92">
<channel>
	<title>STRAY neuron</title>
	<link>http://www.strayneuron.com/blog</link>
	<description>dkaz, stranded in chicago</description>
	<lastBuildDate>Sat, 24 Jan 2009 15:41:06 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Blog (lack of) update</title>
		<description>Haven't posted anything here in a while...my attention span never lent itself to full-on blogging

In the meantime, find me on Facebook or Twitter (http://twitter.com/dkaz) </description>
		<link>http://www.strayneuron.com/blog/archives/479</link>
			</item>
	<item>
		<title>Apache Tip: Blocking by User-Agent in Tomcat/mod_jk configurations</title>
		<description>The key here is using Location (instead of Directory) for your Deny directive (otherwise your JkUnmount'd calls will not be blocked)


  SetEnvIfNoCase User-Agent "Firefox" bad_bot

  &#60;Location "/"&#62;
    Deny from env=bad_bot
  &#60;/Location&#62;

 </description>
		<link>http://www.strayneuron.com/blog/archives/476</link>
			</item>
	<item>
		<title>WTF/M - best code review stat ever</title>
		<description>

So damn funny, yet so damn true. </description>
		<link>http://www.strayneuron.com/blog/archives/472</link>
			</item>
	<item>
		<title>Kids, Keyboards and Oscar Peterson</title>
		<description>My oldest kid, a 2nd grader, has started taking some (group) piano classes on a trial basis.

She seems to enjoy it a lot, so I bought her a 5-octave keyboard, a stand and a seat - a $300+ investment.

As it happens, I played piano for 11 years as a kid, ...</description>
		<link>http://www.strayneuron.com/blog/archives/463</link>
			</item>
	<item>
		<title>phpmyadmin Tip #1: rename your phpmyadmin dir to something unique</title>
		<description>Found in Apache logs...on a domain that doesn't even have MySQL installed...


85.17.155.21 "GET /phpmyadmin/main.php HTTP/1.0" 404 - "-" "-"
85.17.155.21 "GET /admin/main.php HTTP/1.0" 404 - "-" "-"
85.17.155.21 "GET /myadmin/main.php HTTP/1.0" 404 - "-" "-"
85.17.155.21 "GET /phpMyAdmin/main.php HTTP/1.0" 404 - "-" "-"
85.17.155.21 "GET /PMA/main.php HTTP/1.0" 404 - "-" "-"
85.17.155.21 "GET /admin/phpmyadmin/main.php HTTP/1.0" ...</description>
		<link>http://www.strayneuron.com/blog/archives/462</link>
			</item>
	<item>
		<title>Top 10 Actors of Our Generation</title>
		<description>Argued about it at work today...here's my list...in no particular order...

These are the men at the top of their game (therefore Pacino, Nicholson and DeNiro are not present)


Leonardo DiCaprio
Christian Bale
Sean Penn
Russell Crowe
Philip Seymour Hoffman
Brad Pitt
Forest Whitaker
Paul Giamatti
Johnny Depp
Jude Law



 </description>
		<link>http://www.strayneuron.com/blog/archives/459</link>
			</item>
	<item>
		<title>Skyler&#8217;s B-day&#8230;.Animoto&#8217;d</title>
		<description>I tried out a new video mixing service, Animoto, tonight. 

I have it to give it very high marks for ease of use, because even my first video (created during "So You Think You Can Dance" commercials) came out way better than I expected.

 </description>
		<link>http://www.strayneuron.com/blog/archives/458</link>
			</item>
	<item>
		<title>Linux Tip #7: For loop on a range of numbers</title>
		<description>Little know seq (sequence) utility is a great way to loop on a range of numbers in Linux. It came in very handy today and will hopefully stick in my brain in the future.

for i in `seq 1 10`
do
  ..
done

  </description>
		<link>http://www.strayneuron.com/blog/archives/444</link>
			</item>
	<item>
		<title>&#8220;Different&#8221; use of the ternary</title>
		<description>Amusing use of the ternary from our codebase..

log.debug( ( randomize ? "R" : "Not r" ) + "andomizing content" );

:)


 </description>
		<link>http://www.strayneuron.com/blog/archives/443</link>
			</item>
	<item>
		<title>Bugatti Veyron - Hold on to your seat watching this clip!</title>
		<description>Great car TV show on the planet - TopGear - presents an incredibly enthralling clip of the fastest car on the planet - Bugatti Veyron.

Watching clips of "Top Gear" makes you wonder why the show is nowhere to be seen in US. Come on Discovery, buy rights to this damn ...</description>
		<link>http://www.strayneuron.com/blog/archives/442</link>
			</item>
	<item>
		<title>Traditional crunches are a waste of time</title>
		<description>I've always believed crunches to be the single most effective abdominal exercise. However,  research from San Diego State University suggest just the opposite. Check out these results...

For strengthening the rectus abdominus (the muscle down the front of the abdomen), ranked most to least effective:

1. Bicycle maneuver
2. Captain's chair
3. Crunches ...</description>
		<link>http://www.strayneuron.com/blog/archives/430</link>
			</item>
	<item>
		<title>Mommy, mommy, mom, mom, mom, &#8230;</title>
		<description>I was watching this YouTube video on my buddy's projector screen tonight and my kids could not get enough of it....genius...

 </description>
		<link>http://www.strayneuron.com/blog/archives/423</link>
			</item>
	<item>
		<title>Linux Tip #6: Looping on lines of file in bash</title>
		<description>I discovered a large gap in my bash kung fun today - I had no idea how to loop on lines of data in a file.

It turns out that "while data" pulls off this trick quite nicely:


while read myline
&#160;&#160;do $myline
done < inputfile
 </description>
		<link>http://www.strayneuron.com/blog/archives/421</link>
			</item>
	<item>
		<title>Pavlov Theory - &#8220;The Office&#8221; edition</title>
		<description> 

before I lose this hilarious clip...I need to share it </description>
		<link>http://www.strayneuron.com/blog/archives/420</link>
			</item>
	<item>
		<title>Lazy-Loaded Singletons</title>
		<description>I haven't been using "traditional" singletons for a couple of years now (Spring craze and all), so the Initialization On Demand Holder idiom, which allows for lazy instantiation of singletons, has escaped me until now.


private static class LazySomethingHolder {
&#160;&#160;&#160;&#160;public static Something something = new Something();
}

public static Something getInstance() {
&#160;&#160;&#160;&#160;return LazySomethingHolder.something;
}



Here's ...</description>
		<link>http://www.strayneuron.com/blog/archives/409</link>
			</item>
</channel>
</rss>
