robfelty.com


vimcolor plugin for wordpress

Posted in (x)html, css, wiki/cms

Quarter note = 12272006 robfelty
Treble clef 4/4 Time
I recently downloaded the vimcolor plugin for wordpress so my code samples could look nice and spiffy, with the syntax highlighting I am accustomed to seeing. There were of course a few problems. The most notable was some path problems. It was trying to use these values: < ?php $in_file = tempnam($GLOBALS['conf']['file_directory_temp'], 'pl'); $out_file = tempnam($GLOBALS['conf']['file_directory_temp'], 'htm'); > I never saw any of these set in any of the configuration files for wordpress, so I just hardcoded in some values […] (Read more)

Nifty Firefox extension – resizable textareas

Posted in (x)html, css

Quarter note = 11222006
Treble clef 4/4 Time
I just found a very nifty little Firefox extension that will make all textareas resizable. In case you don’t know, a textarea is a text box that is longer than one line. With this extension enabled, simply hover the mouse over the bottom right corner until the cursor changes, then click and drag until you reach the desired size. Very handy for those times when you want to write a long message, and the website only gives you are very […] (Read more)

web + print frustrations

Posted in (x)html, css, latex, perl

Quarter note = 11212006
Treble clef 4/4 Time
Sometimes one wants to write a document that can be viewed both in print form and on the web. From my experiences so far, there does not yet exist a good way to do this from one document. I have tried several different methods, each with its own set of complications. I have not given up hope yet. Perhaps someone else can suggest a better method. Firstly, why would someone want to do this? Well, I think there are a […] (Read more)