Monthly Archives: March 2009
Change GTK theme from command line
Occasionally, I need to change my gtk theme from the command line, if I’m using Openbox and don’t have a good config panel installed to do it, or, most recently, if I’m ssh-ed into a server and want a program running on the server to appear on my local machine via X forwarding.
(On a tangent, running gnome-appearance-settings via ssh totally jacked [...]
Posted in linux Leave a comment
Wordpress Template Hierarchy
I’ve been working on a new theme for my blog, but didn’t quite understand how it all worked.
Here’s a great diagram showing where each file in a wordpress theme falls in the heirarchy.
This is the kind of documentation that makes Wordpress a really great project. I’ve been wondering 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 working on a web project right now and wanted to make sure I had some good vertical rhythm in the typography.
I’m not nearly smart enough to do this myself so I started looking for some tools to help. And I found a couple really handy ones.
First, I found James Whittaker’s vertical rhythm calculator. I couldn’t get it to install on my Crunchbang [...]
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 downloaded off flickr? And finally decided you were going to use that one but then you realized 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 spreadsheet gets parsed by php and each row is turned into an array.
The problem is, Excel and OpenOffice make each row the length of the longest line, leaving a long string of commas at the end of shorter lines. I want my data strings to end when [...]
Remove Empty Cells from End of Lines in .csv Files
I use a .csv file to store some data online. The spreadsheet gets parsed by php and each row is turned into an array.
The problem is, Excel and OpenOffice make each row the length of the longest line, leaving a long string of commas at the end of shorter lines. I want my data strings to end when [...]
Make Suckerfish Menus Appear Above Positioned Elements