Ma version la plus avancée :
youtube-dl -x --audio-format mp3 -o '%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' --yes-playlist <playlist_url>
Cela télécharge toute une playlist, convertit les éléments au format MP3 (après n'avoir extrait que l'audio, forcément) et structure la sortie selon "<titre de la playlist> / <index> - <titre>.<extension>".
Par exemple:
youtube-dl -x --audio-format mp3 -o '%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' --yes-playlist https://music.youtube.com/playlist?list=OLAK5uy_k8ARotdTcPd8k49xPX3msjL1U_Woah4bA
You can now right-click on an image file and set it as the wallpaper — I know, revolutionary! 😆
… bon, sans dec’: la 5.24 de KDE a l’air vraiment bien (mais KDE EST vraiment bien depuis au moins la 5.18, non?)
Django Ninja - Django REST framework with high performance, easy to learn, fast to code.
L’orgie 🍿
Google, Microsoft, Alibaba, ou le “technoféodalisme” à la belge - https://www.lalibre.be/debats/opinions/google-microsoft-alibaba-ou-le-technofeodalisme-a-la-belge-61a9fcbe9978e25398468a6e
Quand ça casse un peu (plus) de sucre sur Microsoft 🙃
❤️
You can run a command after the previous one has finished running, depending on the previous command's exit status or regardless of this. (Différences entre ||, ; et &&)
Ouh que ça a l’air bien! Ça ressemble à du Gnome Shell, mais sous QT.
😅
A calculer, mais mon VPS me coûte 5.55€/mois, donc ~70€ / an.
Ce genre de petite machine ne coûte "que" 200€, et ne consomme pratiquement rien.
En 3 ans, le VPS est rentabilisé (sachant que la même version me coûterait à présent pratiquement 7,50€ / mois - donc rentabilisé en deux ans).
Intéressant! Mais « tout est un bloc »…
Roh mais trop bien! Un langage de mise en forme pour les recettes de cuisine 🧑🍳
TL:DR Pyinstrument is a call stack sampling profiler with low overhead to find out time spent in your Django application. QueryCount is a simplistic ORM query count middleware that counts the number of ORM queries, finds duplicate queries, and prints them in the terminal. Django Silk is an extensive Django profiler that records the entire execution, SQL queries, source of origin, and persists the recordings. The complete Django profiler. 🔬 What’s Profiling?