Aller au contenu

Informatique

Clean references for slides from DOI

Tired of manually formatting citations for presentations? Learn how to build a Python script that automatically fetches article metadata from DOI numbers and generates clean, homogenized references. We’ll use the CrossRef API to retrieve publication… 

Simple Python FTP server

If you want to serve a local folder easily, below is a short FTP server based on Python and the pyftpdlib package. This lightweight setup allows you to quickly expose any directory on your machine… 

Nginx – webp

This is how you can easily make Nginx serving webp images if disponible & if browser support it.

ALL M4A TO MP3

This is how you can simply convert each m4a inside a folder to mp3. (avconv needed)

Create RamDisk & sync it

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about… 

Fail2ban

Fail2ban est un programme de prévention d’intrusion réseau écrit un python. Il est très utilisé sur Linux, et vraiment efficace. Voici un résumé pour l’installer, afficher les IPs bannies mais aussi débannir une IP. J’explique…