Today I was toying around with netstat to see what incoming connections I had to my Linux box and noticed that for the pages you're on, your browser makes a connection to each of the ad's providers linked to on the given page. What's best (or worst) about this is the connection isn't broken until you close your browser (at …more
Don't Censor Me Bro!
Published 2012-01-18 2:29 pm by nullspoon
Most of the people who spend any time on this site are likely techies and already know that the road post-SOPA (and PIPA) is a long and dark one. For those of you who may not know exactly what it's all about though, here's a short summary from Wikipedia...more
Compiling nginx for Solaris 10 - Configure: test: argument expected
Published 2012-01-13 9:44 pm by nullspoon
Yesterday I was working on compiling nginx on one of our solaris boxes at work (someone please tell me why companies still choose Solaris over the various other unix or linux distros out there) and I ran into a problem. When I ran configure with any options, I saw the following error:
. / Configure: test: argument expected
And if …more
MySql : Find all Required Columns
Published 2012-01-12 12:10 am by nullspoon
I am currently working on a functionality for an app that automatically enforces database null constraints in the client side code and in the server side code (if null='no' then print * next to title and require the value be set in the form postback). Basically, what I need to do is to query the database for all columns that …more
Recursively Get a Line Count in Linux/Unix Using Perl
Published 2012-01-05 8:48 pm by nullspoon
Today I came to a good stopping point on the web app I have been working on at work and I decided to write up a little perl one liner to see how many lines of code I had written so far. This one liner is recursive so I suppose it could be used to tell you how many lines …more
Configuring Status.Net for NGINX in a Subdirectory
Published 2012-01-04 4:30 pm by nullspoon
This morning I tried to get status.net to work from a subdirectory of my main site, a task which proved to be quite frustrating, especially for someone who's not too great at rewrite rules in apache, let alone NGINX. Unfortunately, there is also not much documentation on this topic online since status.net does not officially support NGINX. That's okay though. …more
Compiling KeePassX 2 from Source with Qt 4.8.0
Published 2012-01-03 2:59 pm by nullspoon
I am a huge KeePass fan. I started using it back in college (which was oh so long ago...yyeeaaahhh) when I was using Windows. I later switched to using Linux full time (Ubuntu is definitely a gateway distro). Sadly, I had to leave behind the wonders of the kdbx format for kdb because the Linux KeePass version, KeePassX, doesn't support…more