Fri 25 September 2020
A deep dive into the topic of "system sleep inhibition", or how to prevent the computer from suspending while your application is running. This is a post for developers who write GTK applications for GNU/Linux. In here I'll try to cover pretty much everything there is to know on the topic. Or at least, everything I know.
Continue reading »
Mon 24 August 2020
In this tutorial, we'll configure everything needed to send emails from the terminal. We'll use msmtp, a lightweight SMTP client. For the sake of the example, we'll use a GMail account, but any other email provider can do. Your OS is expected to be Debian, as usual on this blog, although it doesn't really matter. We will also see how to store the credentials for the email account in the system keyring. And finally, we'll go the extra mile, and see how to configure various command-line utilities so that they automatically use msmtp to send emails. Even better, we'll make msmtp the default email sender, to actually avoid configuring these utilities one by one.
Continue reading »
Mon 17 August 2020
In this short how-to, we'll see how to make small modifications to a Vim syntax file, in order to change how a particular file format is highlighted. We'll go for a simple use-case: modify the Markdown syntax file, so that H1 and H2 headings (titles and subtitles, if you prefer) are displayed in bold. Of course, this won't be exactly as easy as expected, but no worries, we'll succeed in the end.
Continue reading »
Mon 10 August 2020
GoAccess v1.4 was just released a few weeks ago! Let's take this chance to write a loooong tutorial. We'll go over every steps to install and operate GoAccess. This is a tutorial aimed at those who don't play sysadmin every day, and that's why it's so long, I did my best to provide thorough explanations all along, so that it's more than just a "copy-and-paste" kind of tutorial. And for those who do play sysadmin everyday: please try not to fall asleep while reading, and don't hesitate to drop me an e-mail if you spot anything inaccurate in here. Thanks!
Continue reading »
Thu 30 May 2019
Do you have a wide screen? Are you annoyed by these sites that don't set any max-width property on their page, hence you have to read ultra-long lines that span all over the screen? If you're in this case, read on, you can hack your way through!
Continue reading »
Sat 16 March 2019
Lately I moved my blog to Pelican. I really like how simple and flexible it is. So in this post I'd like to highlight one particular aspect of my Pelican's workflow: how to setup a Debian-based environment to build your Pelican's website, and how to leverage Pelican's Makefile to transparently use this build environment. Overall, this post has more to do with the Debian tooling, and little with Pelican.
Continue reading »
Wed 04 July 2018
Last week, a new version of docker.io, the Docker package provided by Debian, was uploaded to Debian Unstable. Quickly afterward, the package moved to Debian Testing. And this is good news for Debian users, as before that the package was more or less abandoned in "unstable", and the future …
Continue reading »
Mon 26 March 2018
Yet another GRUB recovery article... Yep, I can't deny, that's what it's about!
Continue reading »
Tue 04 July 2017
If you're a Debian user like me, chances are that, at some point, you will need to send emails from the command-line. It could be on a Debian server, where you want to send notifications (login, logout, boot, daily report, ...). Or it could be on your own machine, where you use some tools like reportbug or git send-email.
Continue reading »
Thu 26 January 2017
Getting started with VirtualBox in a few words...
Continue reading »
Fri 13 January 2017
Here's my situation in a glimpse: I've been writing an application in C I target the GNU/Linux OS I want to ensure it builds on every major distros I want an automated solution A very normal situation for a developer, isn't it?
Continue reading »
Mon 28 November 2016
I worked on a C/GObject project for a while now, and had to learn GObject from scratch. Learning GObject is definitely not the easiest thing to do, it's much more than just learning to use a new library. Hence this "bookmark article", that list the best links I found so far. Hope this helps other learners like me.
Continue reading »
Sat 01 October 2016
Here are the steps to follow to publish a Debian package, so that it becomes part of the official Debian repositories.
Continue reading »
Fri 16 September 2016
On a Debian machine serving websites with the Apache server, we install and configure GoAccess to monitor the websites activity.
Continue reading »
Mon 05 September 2016
A nice script that does everything you want when you plug a monitor to your HDMI plug: enable the monitor with xrandr, and redirect the sound to the HDMI output.
Continue reading »
Thu 21 July 2016
When I have stuff to write, I like to keep it simple. It means plain text, editable with simple, dumb editors. As long as I can stay away from word processors, I do.
Continue reading »
Fri 10 June 2016
Sony Xperia M4 Aqua (E2353). A promising mobile phone, mid range, not too expensive, dustproof and waterproof. The only problem is the storage. Some comes with 16GB (lucky you), but mine has only 8GB. And this is not enough!
Continue reading »
Wed 27 April 2016
Here is a very quick howto that walks you through the few steps needed to compile the Rockbox firmware from source.
Continue reading »
Thu 14 January 2016
In this post we learn how to create our first Debian package. We get lost in the maze of Debian documentation available out there. We try not to fall asleep reading these endless pages. And finally we succeed creating a simple yet beautiful Debian package.
Continue reading »
Fri 11 December 2015
How to setup wake-on-WAN, using a machine on the LAN to broadcast the magic packet.
Continue reading »
Thu 10 December 2015
My homemade script to backup my ghost blog, smartly named ghost-backup.
Continue reading »
Wed 09 December 2015
How to get and install themes for your Ghost blog. Then comes an example of Github-based workflow to customize your theme.
Continue reading »
Tue 08 December 2015
How to install Ghost from upstream, setup Apache as a frontend for Ghost, and create a systemd service to start Ghost automatically.
Continue reading »
Mon 07 December 2015
How to setup a dynamic SSH tunnel (also called SOCKS proxy server) and use it daily with Firefox and Thunderbird.
Continue reading »
Sun 06 December 2015
Some smart bash lines that provide powerful logging for your scripts, especially useful when run by Cron.
Continue reading »
Sat 05 December 2015
How to setup a wifi software access-point, using wpasupplicant and hostapd.
Continue reading »
Fri 04 December 2015
How to install Debian Jessie on a Raspberry Pi 2 (aka RPi2), using the Debian image provided by Collabora.
Continue reading »
Thu 03 December 2015
Here comes the post-receive git hook I used along with Octopress, to finish deploying the static blog server-side.
Continue reading »
Wed 02 December 2015
A quick introduction to Apache for the noobs.
Continue reading »
Tue 01 December 2015
How to install and setup Gitolite on a remote server, using the upstream source.
Continue reading »
Mon 30 November 2015
My personal Jekyll workflow, involving Git, Rsync, and my own homebrewed script, the almighty Jekyllkenny...
Continue reading »
Sun 29 November 2015
Here's a brief guide to install Jekyll using the Gem package manager, and some basic configuration.
Continue reading »