Monthly Archives: March 2009

Make Suckerfish Menus Appear Above Positioned Elements

I’ve been work­ing on a new theme for my blog for a while now, and I’m get­ting really close–now I’m just down to tweak­ing all the lit­tle details so things line up and look good. Last night, though, I ran into a prob­lem. I’m using suck­er­fish drop down menus (or rather, multi-​​level Son of Suck­er­fish dropdowns).  While they work great for nor­mal [...]
Posted in web | Leave a comment

Change GTK theme from command line

Occa­sion­ally, I need to change my gtk theme from the com­mand line, if I’m using Open­box and don’t have a good con­fig panel installed to do it, or, most recently, if I’m ssh-​​ed into a server and want a pro­gram run­ning on the server to appear on my local machine via X forwarding.  (On a tan­gent, run­ning gnome-​​appearance-​​settings via ssh totally jacked [...]
Posted in linux | Leave a comment

Wordpress Template Hierarchy

I’ve been work­ing on a new theme for my blog, but didn’t quite under­stand how it all worked.  Here’s a great dia­gram show­ing where each file in a word­press theme falls in the heirar­chy. This is the kind of doc­u­men­ta­tion that makes Word­press a really great project. I’ve been won­der­ing exactly how this worked for about a week now. When I decided to [...]
Posted in web | Leave a comment

Web Typography: Tools to Create Vertical Rythm

I’m work­ing on a web project right now and wanted to make sure I had some good ver­ti­cal rhythm in the typography. I’m not nearly smart enough to do this myself so I started look­ing for some tools to help. And I found a cou­ple really handy ones. First, I found James Whittaker’s ver­ti­cal rhythm cal­cu­la­tor. I couldn’t get it to install on my Crunch­bang [...]
Posted in web | Leave a comment

Find URL of Flickr Photo Using DeLarge

Here’s a handy tool: DELARGE: Flickr finder tool. You can use it to find flickr photo owner or user by photo id, url or filename. Which means all those CC-​​licensed phở­tos you down­loaded off flickr? And finally decided you were going to use that one but then you real­ized you didn’t write down the author/​url/​etc? You just paste [...]
Posted in web | Leave a comment

Remove Empty Cells from End of Lines in .csv Files

I use a .csv file to store some data online. The spread­sheet gets parsed by php and each row is turned into an array.  The prob­lem is, Excel and OpenOf­fice make each row the length of the longest line, leav­ing a long string of com­mas at the end of shorter lines. I want my data strings to end when [...]
Posted in Uncategorized | Tagged | Leave a comment

Remove Empty Cells from End of Lines in .csv Files

I use a .csv file to store some data online. The spread­sheet gets parsed by php and each row is turned into an array.  The prob­lem is, Excel and OpenOf­fice make each row the length of the longest line, leav­ing a long string of com­mas at the end of shorter lines. I want my data strings to end when [...]
Posted in Uncategorized | Tagged | Leave a comment

Wordpress Makes Copying from MS Word Easy

Word­press really is pretty cool. Today I found out that copy & past­ing from MS Word into Word­press isn’t too hard. As it turns out, there’s a fea­ture in WP that parses Word’s wonky html and keep the rel­e­vant stuff while dump­ing the crap. It’s not perfect–it added an empty com­ment at the top of the post, and kept the ‘font-​​decoration: [...]
Posted in web | Leave a comment