Category Archives: Code

Custom Sympa web templates

The RINO is soon going to start using its Sympa install. Today, I’ve been trying to play a bit with templates. Part of the information here is going to be useless to most people (notes about my specific install), but … Continue reading

Posted in Code | 2 Comments

Complex interaction and accessibility

We’ve completed a new version of the course page of the RINO site, with several dates blocks. To improve legibility, they are not all displayed (when you have both CSS and JavaScript installed). However, in order to maintain a high … Continue reading

Posted in Code | 1 Comment

PHP 5, MySQL 5 install problems

Once again installed PHP 5, MySQL 5 and Apache 2 on my laptop (running Windows XP), and once again I had problems, MySQL was not available in PHP. I’d solved the problem before, but could not remember how. The problem … Continue reading

Posted in Code | Comments Off

Bookmarklet timestamp to date

This timestamp to date bookmarklet converts a Unix-style timestamp (seconds elapsed since Jan 1, 1970) into a human-readable date.

Posted in Code | 1 Comment

Wget options for regular site updates

Warning: this is an utterly uninteresting post. However, I need to have that information available somewhere handy. Sorry for the noise! The RINO Noord-Holland web site gets its course information updated from the RINO’s office system 4 times a day, … Continue reading

Posted in Code | Comments Off

Arno

http://www.arno-fr.com/ Random color stripes. Wonderful random color stripes (in PHP). <?php $numBoxes = 7; $totalHeight = 390; $top=0; $colors = array( ‘#ccff33′, ‘#cc6600′, ‘#009933′, ‘#6699cc’, ‘#ff3399′, ‘#66cc33′, ‘#ffcc00′, ‘#996600′, ‘#6600cc’ ); srand(time()); mt_srand(time()); $randColor = array_rand($colors, $numBoxes); foreach ($randColor as … Continue reading

Posted in Code, Sites | Comments Off