Notepad of a tinker, maker, hacker or whatever you call it :)

9 posts under

Thinkpad T440p & fingerprint sensor under Linux

There is lot of pages stating that the Thinkpad T440p fingerprint sensor is not working well under Linux, but those are old and outdated. For me it worked out of the box once I figured out which packets to install: apt-get install libfprint fprintd libfprintd The package fprint-demo can also be installed to play...

Read More

Setup Pi-Hole & WireGuard VPN on smartphone

WireGuard is a new VPN software, which is described as It aims to be faster, simpler, leaner, and more useful than IPSec, while avoiding the massive headache and using state-of-the-art cryptography. Pi-hole is a black hole for Internet advertisements, ie a server blocking advertisements at DNS level. I have Pi-hole on my home network,...

Read More

Linux - Gnome - Associate an application with a filetype

I spend a bit of time figuring out how to associate ".stl" extensions with Slic3r. Gnome wrote a good documentation but it is not obvious to find. I do not use the package manager for that because I use up to date AppImage. The resume is: Create /usr/share/mime/packages/slic3r....

Read More

HAProxy - How to use Let's encrypt certificate

Thanks to Let's Encrypt program, we can now generate free SSL certificate. I used the beta program with success, but now I tried on another server running through HAProxy. This is a trick to combine certificate, chain and private key in order to be loaded by HAProxy :) cat cert.pem chain.pem privkey.pem...

Read More

Flask-Security - How to extend a form and the validator

I am currently building a Python application, which let me use: Flask - a simple and very well documented web Framework Flask-Security - an extension dedicated to user management. While it is a really great extension, there is some documentation missing or quite hard to find on search engines or StackOverflow. How to add...

Read More

rss2mail - Configuration file

I have lost few couples of minutes trying to figuring where and how rss2mail is storing its configuration files, as it seems not be written in the documentation. It is a small couples of Python scripts which parse an RSS feed and send it to an email address, but configuring it to have HTML...

Read More

FTDI troubles and Mac OS X

I recently bought an SSD for my old Apple computer. I updated the system from Snow Leopard to Yosemite as some applications requires a newer system. Two weeks after I found that my FTDI chip (serial to USB converter) was faulty. Use another, same problem. After a quick loop with an oscilloscope, the reset...

Read More

How to setup a PXE boot server with Mac OS

I just picked up a mini PC (Fujitsu Q5030) and tried to install Linux on it but the CD reader seems not to be reliable. So I used the boot over ethernet function. As my DHCP server is on the modem of my internet provider, I had to plug directly the computer to my...

Read More