January 6, 2010

Google Waves Best Use Cases – Wave – Lifehacker

Transportation: Controlling Air Traffic

James is a Traffic Management Coordinator at the Philadelphia International Airport Control Tower. He said:

My job is to reduce departure delays and to maintain an efficient flow of air traffic into and out of the Philadelphia International Airport. Currently we utilize a Google Spreadsheet to share real-time departure and weather issues, airport construction updates, and snow removal operations with the airlines and other interested parties. Im excited at the prospect of being able to embed real-time weather radar gadgets to provide users an up-to-the-minute graphical look at the weather. We currently use the chat feature on Google Spreadsheets but it appears that the more robust communication capabilities in Wave would greatly enhance our communication with the airlines. The ability to review conversations and data will help us to further reduce delays at Philadelphia International Airport. This will result in a savings of time for passengers, reduced fuel and operating costs for the airlines, and fewer complaints from both.

via Google Waves Best Use Cases – Wave – Lifehacker.

All I can say is: wow.  ATC on Google Apps? Nice.

June 18, 2009

Sorting Multiple Columns With MySQL

Ever wanted to sort your MySQL results by several columns?

SELECT * FROM orderspecs ORDER BY height, depth, width;

Now what if you want the columns to have different sort orders in the sub-sorted columns? No problem. Just specify the order for each column.

SELECT * FROM orderspecs ORDER BY height DESC, depth ASC, width DESC;

April 29, 2009

Setting an HTML element’s class with Javascript

I was pulling my hair out trying to figure out why I was getting a parse-error with this code… DUH!

document.getElementById('test').class = "test"

“class” is a reserved name, of course… So you access it with:

document.getElementById('test').className = "test"

February 17, 2009

Using GNU Nano in Ubuntu

I was recently installing Warehouse on a Ubuntu Server, and was using nano quite a bit for some simple edits. One thing that was quite annoying was the fact that the “backspace” on my Mac was acting like the forward delete. I figured there had to be a configuration directive somewhere, which I found in /etc/nanorc. I opened that file (remember to use sudo) and un-commented this line out:

## Fix Backspace/Delete confusion problem.
set rebinddelete

That fixed the issue.

Tip: you can search for delete by hitting ctrl+w and typing delete.

December 30, 2008

Good Programming Tips…

http://www.wilshipley.com/blog/2005/02/free-programming-tips-are-worth-every.html

…Are worth every penny! ;)