Archive for January, 2010
Tuesday, January 26th, 2010
Dear Priceline,
You really can't do better than $680 for a flight from LAX to Vegas? Seriously, why is this the #1 listing? For those of you who aren't aware, it's a 1 hour flight that normally costs $60 each way.
Southwest (cropped out middle prices for simplicity)
Lame.
Posted in Uncategorized | No Comments »
Wednesday, January 6th, 2010
Over three years ago I wrote about how you cannot use a stored procedure in a subquery. Well, it's 2010, and I'm still annoyed by this and a handful of other things.
I was just working today on a report consisting of a series of queries, taking about a minute ...
Posted in mysql, rant | 5 Comments »
Tuesday, January 5th, 2010
Copy apachectl (or symlink it) to /etc/init.d/httpd, and add these two lines at the end of the comment section:
# chkconfig: 2345 64 36
# description: script for starting and stopping httpd
chkconfig --add httpd
These commands will now work:
service httpd start
service httpd stop
Additionally, apache will start when the system boots. You can ...
Posted in linux | No Comments »
Tuesday, January 5th, 2010
To get a quick idea of what ports you have open on your local box, you can use nmap.
~ jhaddad$ nmap localhost
Starting Nmap 5.00 ( http://nmap.org ) at 2010-01-05 11:06 PST
Interesting ports on localhost (127.0.0.1):
Not shown: 499 closed ports, 492 filtered ports
PORT STATE SERVICE
80/tcp ...
Posted in apple, linux, tips | 2 Comments »