Articles

WordPress commands

To activate the debug mode of WordPress, add the following PHP code in wp-config.php : define('WP_DEBUG', true); This SQL query remove all revisions of posts having the topic , reply and attachment type (tested on WordPress 3.1.x): DELETE child.* FROM wp_posts AS child LEFT JOIN wp_posts AS parent …
➟ Read more


Nichrome Preview (and Behind the Scene) video

Two months ago (October 8th) I shot a video for Cool Cavemen . I haven’t talked about it on this blog yet, let’s fix this right now: https://www.youtube.com/watch?v=P1B-DUgKS9M The song is Nichrome , which is a brand new song that will be available …
➟ Read more

GPG & OpenSSL commands

Generate a random password: 1$ openssl rand -base64 18 Examine ASN.1 structure of a CSR  : 1$ openssl asn1parse -i -in ./0000_csr-certbot.pem Generate a key (interactive mode): 1$ gpg --gen-key You can use the key generator in an unattended mode. Values in the example below are the same as …
➟ Read more

Bazaar commands

Check-out in the local openerp-server folder the 6.0 branch of the OpenERP server project from Launchpad: 1$ bzr branch lp:openobject-server/6.0 openerp-server Same command as above, but fetch a particular revision: 1$ bzr branch lp:openobject-server/6.0 -r 3425 openerp-server Check-out the current head of a …
➟ Read more