Notes on software development (Windows) and computer system administration.

2006-02-17

Campwood Software's SourceMonitor code metrics

Campwood Software's SourceMonitor is an excellent tool for estimating code complexity and monitoring it over time.

2006-02-15

Best spam subject ever

Subject: Mature women expose their inveterate slutness whoredom and reach down the pants of young boys.



in·vet·er·ate Pronunciation Key (n-vtr-t)
adj.
1. Firmly and long established; deep-rooted: inveterate preferences.
2. Persisting in an ingrained habit; habitual: an inveterate liar. See Synonyms at chronic.

2006-01-18

Auto-update Cygwin

This page explains the command line options to run Cygwin's Setup.exe without user intervention. Essentially:

setup.exe -R c:\cygwin -s ftp://your.mirror.com -n -q

2006-01-02

Menalto Gallery: Add a description next to each thumbnail in an album

I wanted to display my image description next to its thumbnail. I'm using the Classic theme.

Editing themes/classic/templates/album.tpl, I added an 'else' condition, changing this:

111 {if !empty($child.summary)}
112 <p class="giDescription">
113 {$child.summary|entitytruncate:256|markup}
114 </p>
115 {/if}

into this:

111 {if !empty($child.summary)}
112 <p class="giDescription">
113 {$child.summary|entitytruncate:256|markup}
114 </p>
115 {else if !empty($child.description)}
116 <p class="giDescription">
117 {$child.description|entitytruncate:512|markup}
118 </p>

119 {/if}