Linux & tools
Trust the mkcert CA in Flatpak Chromium
Flatpak Chromium keeps its own NSS database, so mkcert CA trust set up on the host never reaches it. Import the CA there and local HTTPS stops failing.
Command line, Git, Bash, system administration and small everyday tools, from Mac OS X back then to Fedora today. Short recipes to copy and paste, including the notebook’s latest TILs (11 posts).
3 posts
Linux & tools
Flatpak Chromium keeps its own NSS database, so mkcert CA trust set up on the host never reaches it. Import the CA there and local HTTPS stops failing.
Linux & toolsAvailable in French and English
dnf5 can stage a transaction while Fedora runs, then apply it at reboot. Kernel and systemd updates stop fighting running processes for files.
Linux & toolsAvailable in French and English
Ubuntu swaps into a single file, so doubling it takes five minutes: no repartitioning, no reboot, and a swappiness tweak keeps the kernel from using it too eagerly.
1 post
Linux & toolsAvailable in French
Plus aucune notification sonore sur mon OnePlus One, sauf la sonnerie ? Une astuce avec la tuile Heures silencieuses et un redémarrage a redonné de la voix au téléphone.
3 posts
Linux & toolsAvailable in French and English
Bash can’t convert a float to an integer, but printf handles it just fine: here is a small shell function that does the job.
Linux & tools2 commentsAvailable in French
Un .gitignore prêt à l’emploi pour projet Flex Builder : dossiers de build, fichiers de l’IDE et .DS_Store restent hors du dépôt.
Linux & toolsAvailable in French
Une seule ligne dans CustomLog suffit pour faire tourner vos logs Apache chaque semaine avec rotatelogs, sans cron ni script à maintenir.
4 posts
Linux & tools11 commentsAvailable in French
Quelques alias Git qui m’évitent de retaper les mêmes commandes à longueur de journée, prêts à coller dans votre .gitconfig.
Linux & tools5 commentsAvailable in French
Dix commandes Git que je tape sans y penser : retoucher un commit, supprimer une branche ou un tag distant, antidater un commit, exporter une archive.
Linux & tools2 commentsAvailable in French
Pas besoin d’appli graphique : la commande sips de Mac OS X convertit une icône .icns en PNG aux dimensions voulues, en une seule ligne.
Linux & tools3 commentsAvailable in French
Avec Leopard, niutil n’est plus là pour lire le nom réel d’un utilisateur. Voici la commande dscl qui le remplace, à glisser dans vos scripts shell.