Work

Projects relating to my full time employment with Brazos County.

Developing in Drupal on a Mac - my journey from 0 to 60

Drupal Development Environment on Mac
Thought I would catalog my journey of setting of new MacBook for development of Drupal. For this, I imagine I will need a LAMP stack (I've read that it's better not to use the one that comes with Mac for some reason?) and decent code editor.

I am coming from Windows/Linux

Does or will Microsoft.MSXML support XSLT 2.0? No. Check out the System.xml framework

This straight from MSDN:

Will MSXML support XSLT 2.0?

No. MSXML versions 4.0 and later fully implement and support XSL Transformations (XSLT) Version 1.0 (W3C Recommendation 16 November 1999). If your XML application requires a later version of XSLT, Microsoft strongly recommends moving to the newer System.Xml framework classes, because all future XML development efforts will be focused there.

MSXML here refers to all versions of MSXML in IE as the latest version when invoked with something like:

Web PrintSmart 2.0 - printing entire or only snippets in one print spool / queue / job

I was stuck with the dilemma of printing out an entire website for complete overview review, but I didn't want to waste a Lot of paper (only a little). A coworker found a helpful blogpost to get me part of the way, and a comment within gave me the real answer: Web PrintSmart 2.0: HP IE plugin to print an entire or select snippets of an entire website (or web browsing session) in a single print job. In effect, it allows you to queue up small screen shot clips and then print only the ones you choose all from one convenient interface!

No rhtml, rxml, rjs or delegate template found for fleet/app/views

Fyi, rthml not rhtml is.  Because I burned a day troubleshooting and researching, among other things, my version numbers, mod_proxy_html, and relative_path plugin in rails to see why I am getting the message:

No rhtml, rxml, rjs or delegate template found for fleet/app/views 

, I thought it would be appropriate to share the solution.  My render method (render_to_string, actually) is using a :partial call "fleet_import_format" which does properly translate to /app/views/fleet/_fleet_import_format.rhtml, however, my fingers called the file by the wrong extension: _fleet_import_format.rthml.  I accidentally swapped the t and the h, and it made all the world of a difference.  :(

mod_proxy_html.so binary for SuSE 10.1 for download

I had a tough time finding a compiled binary for mod_proxy_html (mod_proxy_html.so) and thought I should share now that I've found it. First, some obligatory keyword stuffing: mod_proxy_html.so is a compiled binary third party contributed module for apache SuSE 10.1. I couldn't find it on rpmfind. To learn to use it, check this tutorial on setting up a reverse html proxy, but then, you probably just came from there!

In SuSE, this file lives in:
/usr/lib/apache2

Photoshop CS2 - Avoiding Shape Tool Anti-Aliasing

Today I struggled with Adobe Photoshop CS2's Shape Tool. When I first mocked up a website layout for later slicing, I had nice, crisp, rounded rectangle background shapes as expected. However, after receiving some super tips from a talented graphic designer, I decided to revisit my original site layout and remove the rounded corners. I was disappointed to discover that my shape tool (rectangle in this case, but lines, circles, etc), when in the fill layer setting, was automatically anti-aliasing all my edges (not just the rounded corners as expected). I called a fellow web developer, and he saw the same results. Crisp in Fill Pixels (with option to antialias), but fill layers refused to draw crisply. Another bright designer we consulted suggested importing Illustrator ai's as smart objects...

Courthouse Docket Scroller

We had a nice media event at the County Courthouse to show off some of our recent achievements in IT. The bulk of the presentation was for the public wireless access blanketing the courthouse and online legal library access offerings, but the wiz-bang that shone for the media was my docket scroller*. Cool stuff-- incidentally, my big mug takes up half the screen in this KBTX video clip:

See the article at KBTX.com

See the video clip directly (media player)