The personal site of Raphaël Mazoyer (hello!), freelance digital strategist and occasional troublemaker. Into: branding, e-commerce, and designing services that actually work.
Category Archives: Code
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
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
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
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
This timestamp to date bookmarklet converts a Unix-style timestamp (seconds elapsed since Jan 1, 1970) into a human-readable date.
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
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