I have recently booked an airplane ticket on AirFrance.fr. Normal online booking procedure, nothing exciting as usual, but then, in the end of the process I am forced to check my identity using a code that I would receive on a mobile phone, in order to complete the transaction. This […]
Yearly archives: 2012
This was an annoying bug on one of my wordpress + buddypress for a while and the fix is amazingly simple : Edit your wp-includes/query.php around line 2762 // Always sanitize foreach ( $this->posts as $i => $post ) { $this->posts[$i] = sanitize_post( $post, 'raw' ); } and replace by : // […]
Warning: Invalid argument supplied for foreach() wp-includes/query.php on line 2762
Recently on wordpress.com for another project, I had this problem with uploading gif image : there is a f*** auto resize embed in my theme that transforms my image tag <img title="bugs" alt="bugs" src="https://blabla.files.wordpress.com/2012/bugs.gif"> in <img title="bugs" alt="bugs" src="https://blabla.files.wordpress.com/2012/bugs.gif?w=479"> and therefore resize the gif on the fly with the ?w=479 […]
Annoying wordpress.com gif auto resize

Date: 2012-04 -> 2012-06 Technologies: Twitter Boostrap, Google Ads, some PHP & Javascript. Details: When I was working on map coordinates in apps some years ago for a famous french company, I always wanted a tool to quickly check how wrong I was while computing, but never found one with […]
Online Map Coordinates Converter
Just finished another project in my 2012 projects marathon. It’s an online map coordinates converter and you can find it there http://www.blackspotradish.com/onlinemapcoordinatesconvertor/www/ When I was working on map coordinates in apps some years ago for a famous french company, I always wanted a tool to quickly check how wrong I was […]
Awesome Online map coordinates Converter
I have been working on this Google Maps Radar project for more than two years. I consider I have finished it only tonight… If you take a look at it, it doesn’t seem very complicated. It’s not. But why did it take more than two years? Lessons learned: Do not start […]
About Google Maps Radar finished

So here we are. After two years with adding four lines per week end and removing three the next one, my mighty Google Maps Radar. The pitch: this Javascript library adds a Radar screen, like in the movie with submarines or boats, or with whatever evil machines that are quite […]
Google Maps Radar
On Unix, in one command line ? # Here the search is in PHP files, but # replace by whatever your file extension is. find . -name "*.php" -print | xargs sed -i 's/<search>/<replace>/g' # and that's all.