Yann "Bug" Dubois

Développeur WordPress freelance à Paris
Flux RSS

Configure exim4 to bypass local delivery on web server

17 April 2014 - 11h41 Par : Yann Dubois Catégorie : English, tech

If you need to configure exim4 on a web-server to route outgoing mail but do not want the web server to perform local delivery of e-mail addressed to your own domain name, the simplest way is to configure a “hubbed host” for your local domain. This will route all e-mails to your local domain through an external mail exchanger, and disable local delivery of e-mail to your own domain. And avoids the dreadful “Unrouteable address” error message.

Lire la suite »

WP Frontpage News officially replaces YD Recent Posts Widget

23 October 2013 - 00h58 Par : Yann Dubois Catégorie : English, tech, WordPress

Great news for all users of the very popular (70,000 downloads) legacy plugin for WordPress “YD Recent Posts Widgets with Thumbnails” that I developped in 2009 and maintained up to ca. 2011. This plugin now has an official, brand new successor known as “WP Frontpage News“.

Lire la suite »

Use Xvfb, Selenium and Chrome to drive a web browser in PHP

23 August 2012 - 19h57 Par : Yann Dubois Catégorie : English, tech

The PHP language can be used to remote-control an actual web-browser on a server, to allow server-side scripting of complex web interactions involving for example Javascript of Flash-enabled content. This is a very powerful context, but it is tricky to setup. In addition, a proxy such as Squid can be used to log all http interactions, and can be used as an in-depth traffic analysis or debugging tool. This environment can be used for automated web debugging, continuous integration, unit-testing based web development, non-regression testing, load tests, automated screenshots, etc. Here is a quick setup memo for a running environment under Debian Linux (headless server).

Lire la suite »

Adding a dynamic administrable menu to an existing WordPress theme

20 July 2011 - 11h52 Par : Yann Dubois Catégorie : WordPress

Ever since WordPress 3.0 was released, the TwentyTen theme bundled with the distribution has included a feature do dynamically manage the content and organization of menu items from inside the WordPress administration interface. Here’s a step-by-step guide to integrate that feature to any existing WP theme.

Lire la suite »

How to make sure that WordPress automatic install and upgrade work

18 July 2011 - 18h10 Par : Yann Dubois Catégorie : WordPress

When file permissions are not setup the way it expects, WordPress cannot use the automatic upgrade feature and prompts you for FTP or SFTP credentials to perform any upgrade on a theme, plugin or the core WP files. This happens even when WordPress does have actual write permissions on the files that need to be upgraded.

Lire la suite »

LM555-based oscillator circuit on-line calculator

4 November 2010 - 19h14 Par : Yann Dubois Catégorie : English, tech

The LM 555 IC timer chipHere is a quick and very simple way to calculate all linear component specifications of a LM 555 type timer IC chip based astable oscillator electronic circuit. This will give you resulting frequencies and pulse width for different resistor and capacitor values arranged in the provided classic circuit diagram.

Lire la suite »

What’s inside a Canon Powershot G10

30 September 2010 - 16h02 Par : Yann Dubois Catégorie : English, tech

Wear and tear have finally overcome. This Canon Powershot G10 has a stuck lens, and the warranty has long expired. I decided to take it apart to see if there is something to be done about it. I took some photographs of the tear-down process, and here is a detailed inside view of the camera.

Lire la suite »