To work consistently, I have always had todo lists – on paper, in files, on walls. However, the best tool for me as a person working with a computer most of the time, has always been a simple text file. … Continue reading
Category Archives: Tools
Accessible and nice inputs with jQuery
I like to have accessible code while enhancing user experience with jQuery. Suppose the following markup: <label for= »password » class= »label »>Type your password</label> <input type= »text » id= »password » name= »password » /> I would like to gain space by writing « Type your password » into the text … Continue reading
Vertically center align content with jQuery
Quick’n’dirty. Vertical center align the #content element using another -parent- element (body, in this example) as a reference with jQuery. <script type= »text/javascript »> jQuery(document).ready(function() { centerElm(‘#content’, ‘body’); }) function centerElm(elm, elmParent) { var elmHeight = $(elmParent).height(); var elmHeightInner = $(elm).innerHeight(); var … Continue reading
E-mail spam protection with jQuery
To protect e-mails from spam robots I recommend using this technique, which will only reveal the e-mail adress for users with Javascript enabled, which is typically not the case of robots searching for e-mail adresses. <script type= »text/javascript »> jQuery(document).ready(function() { $(‘a.mail’).each(function() … Continue reading
Alert users to update their browser via jQuery
Sometimes I am too lazy, too busy, not well paid enough or just not willing to make a website work in old and deprecated browsers like IE6. However, I’d like the users to know that they could have a better … Continue reading
Adding Vimeo videos to WordPress via extra fields
I wanted an easy solution for people to add videos from Vimeo to their WordPress articles (without having to add them to the editor for several reasons) and I came up with the following: a function to be added to … Continue reading
Automatically generate a RSS feed from static pages with PHP
This may sound a stupid thing to do, however, there are websites out there in plain and badly formatted HTML out there that need RSS feeds. See the script in action here : http://airdeparis.com/rss.php Here I am considering that we … Continue reading
@font-face – doing it right
Tous les graphistes avec lesquels j’ai travaillé sur des sites web durant ces dernières années ont insisté pour utiliser des polices de caractères spécifiques. Des polices autres que Arial, Helvetica, Verdana, Times New Roman etc. qui sont les polices installées … Continue reading
Protéger une install WordPress par mot de passe tout en ayant une page de garde accessible
Avoir une page de garde accessible pour le monde entier pendant qu’on travaille encore sur un site WordPress installé au même endroit c’est possible : ajouter un fichier index.html à la racine du site (la page de garde) ajouter un … Continue reading
Extensions utiles pour WordPress
Voici, pour mémoire, une liste non exhaustive d’extensions utiles pour WordPress. Performance WP minify compresse les feuilles de style et les scripts WP Super Cache sert des fichiers statiques au format html au lieu de recalculer toutes les pages à … Continue reading
simple wp-admin – a plugin to simplify WP’s post editor
This plugin does not do much. It basically just hides most of the detailed options from the editing pages in the wp-admin interface, like post revisions, custom fields and comments. It leaves intact : Title, editor, publication options, tags, categories, … Continue reading
Cauchemar graphique : le rendu des polices sur Mac diffère de celui d’autres systèmes
J’ai mis quelques années à me rendre compte que le rendu des polices de caractère dans les navigateurs sous Mac OS différait à ce point du rendu des navigateurs sur Windows et sous GNU/Linux – parce que je n’ai pas … Continue reading
Less options in WordPress’ post editor
I have been asked several times by clients or collaborators to simplify the admin interface of WordPress. Which is a problem, as I do not want my modifications to magically disappear at each WordPress update. So, one solution could be … Continue reading
WordPress chez 1and1
Chez 1and1.fr WordPress fonctionne à merveille – il suffit de dire qu’on veut utiliser PHP5, et non PHP4, qui est la version de PHP utilisée par défaut sur leurs serveurs. Sans cela, la mise à jour automatique, l’installation via l’interface … Continue reading
Suitable font replacements for standard non free fonts on free operating systems
When writing and testing stylesheets while working on a free operating system like GNU/Linux, you will most likely have to install the msttcorefonts package, as typical typefaces like Arial, Verdana, Times New Roman etc. are not included with the distribution … Continue reading
Custom horizontal and vertical scrollbars at a time with jQuery
Update 11/2011: This article is somewhat deprecated. There is now a new version of Kelvin Luck’s jScollPane that works better with WordPress and integrates vertical and horizontal scrollbars. No more CSS tweaks are needed. A client of mine wanted to … Continue reading
WordPress Galleria plugin autoplay
For a client I was looking for a slideshow which could be easily integrated with WordPress and galleria-wp has been my choice. It just does not start the slideshow automatically… In order to do this I added the following lines … Continue reading
Bash script for converting PNG24 to PNG8 RGBA
This script will decrease PNG file sizes and add an alpha layer to your PNG. By adding an alpha layer to transparent PNGs they will appear transparent in Internet Explorer 6 without having to add extra CSS hacks or replacement … Continue reading
Design Mailboy – a web interface for Postfix and Amavis
I made a nice and sober theme for Mailboy, a webinterface for Postfix and Amavis written by Emmanuel Revah. Mailboy is available as a beta-version for the moment but will be published soon under the GPL-License. As you can see, … Continue reading
php-indexes – a file tree generator
php-indexes generates an index of files in a defined folder, similar to the Apache file listing. Files may be ordered by name or date. It also generates an RSS feed. It does not require a database and is configurable via … Continue reading
Des effets pour GIMP
La Gimp FX Foundry propose divers scripts qui permettent d’ajouter divers effets à vos images : il y a même un effet photo LOMO :) Il suffit de télécharger les scripts, et de les copier dans ~/.gimp-2.4/scripts (si vous utilisez … Continue reading