Author Archive: Luke MacNeil

rss feed Twitter

Author's Website

Dynamically generate searchable sortable tables.

Dynamically generate searchable sortable tables.

| May 7, 2010 | Reply

Frequently throughout my pages I like to print out reports of data. The jquery tablesorter plugin is an excellent way to take this tabular data and make it sortable by column. However, since I do this so frequently, I wanted to create a script that would set up the plugin and add some other features, …

Continue reading »

Read More

Ubuntu 10.04

Ubuntu 10.04

| May 5, 2010 | Reply

I gotta say, it may be the best out of the box desktop OS I’ve tried out in a long time.   Ubuntu One (dropbox/mobile.me) is amazing, it’s got an iTunes like store now, and syncs with ipod/iphone out of the box. They did a really, REALLY good job of integrating IM, Email, and Social …

Continue reading »

Read More

Disable PHP warnings in seyret

Disable PHP warnings in seyret

| April 28, 2010 | Reply

The seyret video module used on this site is awesome, but the PHP warnings it was spewing out on my site were unacceptable. Finally tracked it down. The errors looked like this: Notice: Undefined variable: catlistoption in /home/content/html/components/com_seyret/views/video/video.view.php on line 0 Warning: Invalid argument supplied for foreach() in /home/content/html/libraries/joomla/html/html/select.php on line 68 This was driving …

Continue reading »

Read More

Busted Westinghouse TV SK-32H540S

Busted Westinghouse TV SK-32H540S

| April 27, 2010 | Reply

I got a frantic call from my mom a while back about her Westinghouse TV. She would turn it on, and then seconds later, the display would go blank. The audio stayed on, and the blue power indicator stayed lit, but there was absolutely nothing on the screen. I looked at it a bit, and …

Continue reading »

Read More

Bash MySQL function

Bash MySQL function

| April 26, 2010 | Reply

I use this function to run SQL queries from bash scripts.

Read More

Javascript to format date like mm/dd/yyyy hh:mm:ss

Javascript to format date like mm/dd/yyyy hh:mm:ss

| April 26, 2010 | Reply

var today = new Date();
var dd = today.getDate();
var mm = today.getMonth()+1;//January is 0!
var yyyy = today.getFullYear();
var hours = today.getHours();
var minutes = today.getMinutes();
var seconds = today.getSeconds();
if(dd<10){dd=’…

Read More

AJAX waiting indicator

AJAX waiting indicator

| April 26, 2010 | Reply

The following code snippet will display a waiting indicator during any AJAX request.

Read More

Just another IE6 layout hack.

Just another IE6 layout hack.

| April 26, 2010 | Reply

These just seem to add up.

Read More

Jailbreaking iPhone OS 3.1.3

Jailbreaking iPhone OS 3.1.3

| April 24, 2010 | Reply

If you’ve updated your firmware to 3.1.3, don’t ask Geohot for help. In fact, don’t ask anyone. You’re in idiot. It’s clearly documented that 3.1.3 is not supported by blackra1n. The dev team has released a jailbreak, but it requires that your phone be previously jailbroken prior to update. If you’ve updated to apple’s 3.1.3, …

Continue reading »

Read More

Barnes and Noble Nook.

Barnes and Noble Nook.

| April 24, 2010 | Reply

Why is this device for sale, and why do people like it?I really, really, want to like this thing. It’s slow, eink flicker is ridiculous, the dual display action is… confusing at best. I took a look at the nook in one of the Barnes and Noble stores yesterday. Why bother putting a browser on …

Continue reading »

Read More