Yearly Archives: 2014

Liste xml des régions et départements

Les listes des régions et des départements sont souvent utiles pour les projets web. Je souhaitez toutefois avoir une correspondance entre les départements et les régions, j’ai donc dû compiler mes propres données. Les voici pour vous. Si vous souhaitez

Posted in Sql Tagged with:

How to update flexget config file

flexget is a program aimed to automate downloading or processing content (torrents, podcasts, etc.) from different sources like RSS-feeds, html-pages, various sites and more. To update the config.yml file: flexget daemon reload source: Command line for the Daemon

Posted in Quantify self, Software Tagged with: ,

Goodreads Plugin for Calibre   Add empty books: file:///home/sylvain/.config/calibre/plugins/Goodreads%20Sync%20Help.htm#_Toc326445885

Posted in Quantify self, Software Tagged with: , ,

WordPress theme customisation


Create a child theme (see How to create a child theme) Create a new category-“nameofthecategory” template file from an existing similar file (category.php for exemple) (see for details and template priority) and customize it the way you want  

Posted in Wordpress Tagged with: , ,

How to add Post Formats support to your theme


What is Post Format? According to codex: Post Formats is a theme feature introduced with Version 3.1. A Post Format is a piece of meta information that can be used by a theme to customize its presentation of a post.

Posted in Wordpress Tagged with: , ,

bypass sanitize_post from wp_insert_post


sources: The problem: wp_insert_post() is an awesome function, but, it seems to filter HTML to unauthenticated users by calling sanitize_post().  So, if you’re logged in as an admin / editor – the function seems to operate fine. However,

Posted in Wordpress Tagged with: ,

How to upload your plugin with svn


The fastest, easiest and best way to get your plugin out there is to upload your plugin to the WordPress Plugin Directory. Having it there will let you easily push out automatic upgrades to all your users when you find

Posted in Wordpress Tagged with: , ,

New WordPress pugin: special-category-analyzer

This Special Category Analyzer plugin for wordpress analyses the categories set for a post, detect the categories begining with a special character and modify the post parameters approprietly (remove special characters, set format, set category, set tags). This plugin can

Posted in special-category-analyzer Tagged with: , , , , , ,

How to calculate the real width of objects

In inkscape, it can be particullary hard to evaluate the real width of objects, such as square, rectangle or right triangle, when a stroke width is applied. The parameters Let’s try to make it a little more clear: is the

Posted in Software Tagged with: , , , , , ,

How to add mathematical formula to your blog posts


To add mathematica formulas to blog posts, users can use the following tags: “” As explained in the support page, it allows people to display their latex formulas. For self hosted wordpress site, you can install the jetpack plugin

Posted in Wordpress Tagged with: