Category Archives: Code

LG U+ Payment Gateway compatibility with Facebook iOS in-app browser

We’ve struggled for years with our implementation of the LG U+ payment gateway on the Évasion mobile site. It relied on a popup window to process credit cards. The Facebook iOS in-app browser does support them, unlike some other apps … Continue reading

Posted in Code, Korea | Comments Off on LG U+ Payment Gateway compatibility with Facebook iOS in-app browser

Installing Hybris

At ASICS, we’re now running the Hybris e-commerce platform (recently purchased by SAP) on asicsamerica.com and soon on other country sites across the world. In order to get the most out of the platform, I’m learning all I can about … Continue reading

Posted in hybris | 2 Comments

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 on PHP 5, MySQL 5 install problems

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 on Wget options for regular site updates

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 on Arno