Category Archives: Musings

Lightbox + jQuery UI Dialog + IE8 = conflict city

It worked fine in Firefox, Safari, Chrome, and even IE7, but for some reason if you have the Lightbox 2 plugin installed and you enqueue jQuery UI Dialog you will get a whole mess of errors in Internet Explorer 8 when you create a dialog. The solution is simple: disable Lightbox 2 and install the [...]

Posted in Musings | Tagged , , , | Leave a comment

The cobbler has shoes! Finally!

After years of using the plain-jane but wonderful Thematic default theme for my personal site, I’ve finally gotten around to designing a theme of my very own. Its a child theme of Thematic like all my sites these days. The colors are from the Tango icons color palette. It was drawn in Inkscape and Gimp. [...]

Posted in Musings | Tagged , | Leave a comment

Show the jQuery version number

This prints the version of jQuery you’re using: $.jquery(); Which is handy in situations where you don’t have direct access to the script itself. In Firebug you might do something like this: console.log(‘jQuery version: ‘, $.jquery());

Posted in Musings | Tagged | Leave a comment

Control error reporting level in WordPress

When you enable error reporting in WordPress you automatically get all errors, notices, warnings and what have you written to your wp-content/debug.log. One of my plugins was creating so many undefined index errors it made the log impossible to read. I needed to fine tune my error reporting. WordPress error reporting bypasses your php.ini settings [...]

Posted in Musings | Tagged , | Leave a comment

Serve web pages from your home directory in Ubuntu 10.04

This guide assumes that you have lamp installed already (which is super easy in Ubuntu). Enable the userdir mod $ cd /etc/apache2/mods-enabled $ sudo ln -s ../mods-available/userdir.conf $ sudo ln -s ../mods-available/userdir.load Enable php parsing from a user directory $ sudo nano /etc/apache2/mods-available/php5.conf Comment out this code: <IfModule mod_userdir.c> <Directory /home/*/public_html> php_admin_value engine Off </Directory> [...]

Posted in Musings | Tagged , , | Leave a comment

Your WordPress blog already has custom feeds

I was this close to wasting a ton of time coding a plugin to produce a feed for a single category when I came across this: http://codex.wordpress.org/WordPress_Feeds Which let me know that WordPress already does what I need. Say you have a category, ‘events’, that you want to make into a feed. Here’s the URL: [...]

Posted in Musings | Leave a comment

Make your phpMyAdmin session persist… forever!

Or for a year, which is a pretty long time. NOTE: This is for local development purposes only, cause it’s not safe enough for production servers. Open up /etc/phpmyadmin/config.inc.php in your favorite text editor (you must have root priviliges) Add the following lines to this file just inside the first if clause: /* * Prevent [...]

Posted in Musings | Tagged , | Leave a comment

Novacut in the press!

We only have 3 days to go on Kickstarter, so if you haven’t already, gimmee a dollar! The more people who back us in any amount the higher ranked we are and the more attention we get, which leads to more dollars! The Ostatic blog did a short piece on Novacut, awesomely titled Novacut: A [...]

Posted in Musings | Leave a comment

Browser testing with cloned virtual machines

I’ve tried browser testing seven ways to Sunday and it has always proven to be the biggest pain in the ass. Until recently, I had a separate computer running Windows XP (bought and paid for), which in turn ran two or three “Microsoft Windows Compatibility Images” (Windows virtual machines that Microsoft distributes free for web [...]

Posted in Musings | Tagged , | 1 Comment

New Domain!

I’ve been planning to do this for like a million years, but I finally took the time to change my domain name to the hilariously clever “likesalmon.net”. Get it?! Like salmon dot net?! I bet you are lol-ing your ass off right now. Now about that porfolio…

Posted in Musings | Leave a comment