lyncd

Optimize all your PNG and JPEG images with one command using imgopt

Here’s something useful for the web developers out there. It’s a script I’ve been using for a while that makes it super-easy to losslessly compress entire folders of PNG and JPEG files for the web.

If you’re familiar with PNG optimization, then you know about programs like advpng, optipng and pngout that optimize and recompress PNG files, making them much smaller than the likes of Photoshop can. My shell script combines all three of these utilities to achieve minimum file size, while hiding their command-line syntax and adding the ability to recursively process entire directory trees.

And, it works with JPEGs, too! It uses jpegtran (included with libjpeg) and another small utility I’ve included to optimize and strip all metadata from JPEG files. Since my script searches directories recursively, all you need to do is type, say, imgopt myproj/htdocs and it’ll take care of your entire website.

All compression is lossless, which means no pixels are changed and no information is lost, the files just get smaller — chances are your layout can shrink by as much as 50%, which is like getting free bandwidth, and it means your site will snap into place that much faster for users. more …

Filed under: Code.  Tagged: , , .

Update to HTML Minify for WordPress and WP Super Cache

No big news here, but I’ve got an updated patch if you want to use my mod to add Minify to WordPress and WP Super Cache. For more information, check out my original explanation and instructions post, which I’ve updated with links to the new files. more …

Filed under: Code.  Tagged: , , , .

Review/first impressions of Poker Copilot software for Mac OS X

I’m not an expert poker player, haven’t used a lot of other poker tracking software, and have only been using Poker Copilot for a week, so I’m not going to do an exhaustive review, just share some first thoughts. (If you are an expert, please chime in!)

Poker Copilot is currently the only actively developed poker software for Mac OS X folks like me, since Mac Poker Pro is apparent abandonware and Poker Tracker’s Mac port has been repeatedly postponed. Given that, I can say first of all, without hesitation, that Copilot is absolutely worth a look if you’re on a Mac and not using any analysis software at all (it’s a snap to download and install, and you can use it for 30 days without registering). more …

Filed under: Blog.  Tagged: .

How to losslessly concatenate / merge MP3 files

You’d think it would be very easy to combine multiple MP3 files into one, while preserving all the ID3 tag metadata and without re-encoding the audio (which is lossy). Well, it actually isn’t that hard at all, but since Google couldn’t find the answer for me, I thought I’d write it up. more …

Filed under: Systems.  Tagged: , .

How to transfer domains away from GoDaddy

It’s Super Bowl Sunday, a day I particularly enjoy transferring domain names out of GoDaddy, the registrar that once tempted me with low prices but now mostly just annoys me. Here’s how to move your domains to a new registrar quickly, easily and without fouling anything up (you don’t want your website to disappear!) in the process. more …

Filed under: Systems.  Tagged: .

Minify for WordPress and WP Super Cache

I’ve integrated Minify and all its bandwidth-saving goodness into WP Super Cache, everyone’s favorite way of sending WordPress pages as super-fast static HTML, thereby saving visitors having to hit up the PHP interpreter (ugh!) or WordPress itself (double ugh!).

What does this mean? Well, it means your HTML (and gzipped HTML) pages can be 5-20% smaller with just a few minutes’ setup. If that sounds good, skip to the install instructions. If you want to hear more blabber first, read on. more …

Filed under: Code.  Tagged: , , , .

« Newer posts | Older posts »