By Ammon | Published:
June 3, 2010
The Magick
This will stack two images to create a CSS sprite. Very handy for flicker-free image rollovers:
$ montage -background transparent -tile 1×2 -geometry +0+2 image1.gif image2.gif result.gif
You could create a taller or wider stack by adjusting the -tile option. For example -tile 2×10 would stack 2 images across and 10 images down. [...]
By Ammon | Published:
April 30, 2010
In an open letter published on the Apple website, the venerable Mr. Jobs has thrown down the gauntlet:
Flash was created during the PC era – for PCs and mice. Flash is a successful business for Adobe, and we can understand why they want to push it beyond PCs. But the mobile era is about low [...]
By Ammon | Published:
April 29, 2010
Webfaction has been my hosting provider for a couple years now. I’ve set up prolly six or so clients with them as well. I am absolutely in love with them.
I’ve never had a single problem with them or a second of downtime (that I noticed anyway). Their cPanel interface is great to [...]
By Ammon | Published:
April 27, 2010
It makes sense, but I don’t ever turn Firebug off so I never would have noticed. That is, until I’m sitting in front of a client trying to show off a new website. That’s when I decide to turn it off. Yep.
Turns out console is undefined when Firebug is off (of freaking [...]
By Ammon | Published:
April 1, 2010
Lee is the owner and sound engineer at the soon-to-be huge recording studio Mystery Machine Studio in Portland, OR. I built his website (http://www.mysterymachinestudio.com/).
A CD that Lee recorded for local folk/pop hero Nick Jaina was just released to critical acclaim, and we’re trying to drum up some exposure for Lee’s beautiful little [...]
By Ammon | Published:
February 1, 2010
I thought I would be a Firefox user till I died, but holy crap Chrome is fast! I can launch Firefox, go make a sandwich, launch Chrome and be browsing before Firefox loads. This is particularly nice on our crappy Windows machines at work. JavaScript is noticeably faster. Chrome seems more stable and [...]
Also posted in Software I use |
By Ammon | Published:
January 28, 2010
If you get this error when you try to upload an image to your WordPress blog, there are two things you can do:
Go to Settings > Miscellaneous in your Wordpress admin area and make sure that ‘Store uploads in this folder’ is set to the default: wp-content/uploads (notice there is no ‘/’ before wp-content/uploads). Try [...]
By Ammon | Published:
January 20, 2010
Using a public_html file in your home directory is much more convenient than /var/www for a local website development environment. The following commands create a file called public_html in your home directory and enable the UserDir module in Apache.
From the command line, enter:
$ mkdir ~/public_html
$ cd /etc/apache2/mods-enabled
$ sudo ln -s ../mods-available/userdir.conf userdir.conf
$ sudo ln [...]
By Ammon | Published:
October 20, 2009
I wish this was in huge type on the front page of the Bazaar web site because it is essential to understanding just what the heck is going on when you place you files under version control.
I’m going to use an example to explain this. These events are listed in the order that they [...]
By Ammon | Published:
October 9, 2009
LastPass, my fave password manager, was doing funny things with WordPress, reposting and deleting my blog posts. Weird. Fixed now.