Latest posts
98 articles
Merge two versions of a file with git-checkout
I have slightly different i3 configuration files between my desktop and laptop computers. In this case, the laptop keyboard is missing a Play/Pause multimedia key. This is where the two files differ: the laptop has a different key binding for running the music player. Having recently added new…
Nuke (remove all traces) of a file in Git history
First note: if you are not alone on the project, consult with your colleagues before doing this. Because we are about to rewrite history and other contributors will be forced to manually rewrite their history too. Second note: if what you want to remove is sensitive material (e.g. passwords),…
GNU/Linux: read-only file system error when accessing FAT/FAT32 drive
Sometimes and for no obvious reason, I suddenly cannot write or delete a file located on a removable USB drive using a FAT file system. Having no knowledge about all the magic going on under file system operations, I can just observe that some actions previously done successfully on some drives are…
A massive surveillance program targeting 27 countries and involving the intelligence agencies of the United States, Canada, United Kingdom, Australia and New Zealand has been unveiled by GNU hackers.
Install PHP CodeSniffer with PEAR
This article should be useful for other tools than CodeSniffer. To put some context, I installed PEAR some time ago for PHPUnit, before I read that PHPUnit had moved away from PEAR and can now be installed using Composer or a simple PHAR (PHp ARchive) file. I had troubles with the default PEAR…