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

6 posts under

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

Configure HAProxy in reverse proxy with HTTP authentication

I am using a lot of web services on a server, and was bored to remember all addresses and change my firewall rules each time. So I use HAProxy to redirect all incoming http traffic to the right server/port by checking the requested URL. Moreover, I configured it as an SSL endpoint, so...

Read More