use yt-dlp YOUTUBE_URL to download the video use ffmpeg -ss HH:MM:SS.xxx -i INPUT.mp4 -t HH:MM:SS.xxx -c copy OUT.mp4 to extract duration (-t) from start timestamp -ss upload on ezgif to crop, add text captions and optimize
Rule 1: Don‘t take unnecessary pawns. Rule 2: Don‘t put your king in the checking zone of your opponents passing pawns. Rule 3: Simultaneous queen promotion doesn’t always imply a draw. Rule 4: Use your king to force the other king into the checking zone of your passing pawns or to prevent the other king from stopping your pawn. Rule 5: Prepare for a pawn race by pushing the prospective passer…
Last year I decided to make my blog private, it enables me to have private sections accessible only to those who have the url. Yet, I missed some of the transparency history provided by public repositories and opted for an in-between solution : for each commit of type feat or fix a line is added on the Changelog page some filepaths can be kept secret by not reporting related commits although…
“Sometimes I wake up and find I’m gone…“ I picked Sinnerman just for its chorus :) Sabir brings the oriental touch I like to have in the recent playlists. Then Amnesia guitar riff operates a reset to switch to a mini-story with the last 5 songs. Story of a sinnerman lost in the middle of nowhere in a motel, and dreaming vividly of a past love.
I’m still mining this album Up and Away for my playlists (third track extracted). Rachid Taha takes us into a mediterranean soundscape for two songs. Love$ick brings some welcome energy, from the band I discovered in Anatomy of a Fall movie. We wrap up with two intricate tracks, particularly Carmensita which closes the playlist in a joyful, messy tumult.
Since I began to document my travels on my blog, I was interested in switching excommito repository to private mode. Unfortunately Github requires to move to Team plan to serve private repositories.
A common advice when reading a chess book is to reproduce the exercices OTB. Yet, for casual players that play exclusively online, setting up a chessboard can be a burden. Without it, visualizing the exercice becomes a tedious task, and make the overall experience less enjoyable.
It’s not rare to detach an EC2 instance to have access to a server in a production-like environment or to test how the autoscaler reacts after the sudden loss of an instance, etc. It’s not rare neither that once you have done your job with the instance, you forget to stop it. And it runs for days costing you money for nothing.
Coding an ORM based software having multiple development git branches ain’t trivial. By definition, your database scheme evolves with your model code and you quickly end up with errors when you apply a database migration in one branch then checkout another one : database and code get unsynchronized and … you’re doomed :scream: You can go back to normal by applying reverse migrations but you don’t…
This post is in the same vein than the previous one but applies to cron jobs instead of celery tasks. I used to redirect stderr to a log file for my cron jobs but it took me weeks to figure the jobs were crashing in the first place. So now I want my jobs to crash loudly, for that purpose I use slacktee util that posts stdin to slack.
I use git stashes parsimoniously and generally prefer to do a WIP commit when I must leave a branch. Yet, sometimes, when I struggle to find a good implementation, I cannot resolve myself to commit the code -even as a WIP- and prefer to stash it away. So git stashes are places where I put my half-baked attempts for an hypothetic later use.
I tracked a bug today using git blame and had a vague idea when the bug appeared, so I was mostly interested by changes introduced during the last 30 days. Perusing git blame output to filter out too old lines was tedious, and so tonight I searched for a way to improve the output by highlighting lines in the desired period of time. Here is an example, highlighting changes that happened from 2017…
As for every details of Ex commito theme, I wanted the favicon to convey the maximum of information. Basing your favicon on a thumbnail of your homepage sounds like a pretty dumb idea at first. Obviously abstracting parts of the page details is essential to make the 128x128 square legible : I kept just the vertical split with artsy colourful sidebar and creamy right side.
This post is the first of a serie focused on some cool things stored in my dotfiles. The topical organization of my dotfiles is such that each blog post will be dedicated to a given package. Today we will start with the basics, setup of the shell with the zsh package.
killall and pkill -f are the two most popular tools to send SIGTERM to all processes running a specified command. With ezkill I want to provide more flexibility in the choice of processes to terminate while honoring the terse efficiency of aforementioned commands.
Since magnets have been introduced in early 2012, I needed a way to convert a magnet URI to torrent and found this tutorial. It describes an elegant solution relying solely on a browser bookmark, that gets you a torrent file named after the hash of its content. But having a bunch of torrents files with hexadecimal hashnames sitting in a folder isn’t super user friendly : would it be hard to have…
Unlike most tags, ‘genre’ accept some latitude and is open to interpretation. In others words: a music management nightmare. The hundreds variations of genres in the nature are too numerous to be exploited for classification purposes. You gotta restrict yourself!
An mp3 file is made up of a metadata header prepended to the audio data blocks. While the id3 header can be edited to enrich the file description, the audio data is a result of a lossy compression and cannot be enhanced a posteriori. So, to upgrade the audio quality of a mp3 file, you have to acquire a new – better – copy of it.
iTunes DJ is like my personal radio. I use a unique smart playlist as source, delivering a first-class digest of my library. This way I can achieve a selection of homogeneous quality that spans a wide spectrum of genres.
Forget for a moment the narrowed technical concepts usually dealt with on this blog, to focus on the most fundamental interaction one has with their music on a daily basis … playing. How can this be impacted by software?
I realized yesterday morning that some of the best tracks of my library had disappeared. It concerned artists of the ’S-U' section : the classic Shakira’s Laundry Service was amputated from its masterpiece Whenever, Wherever, Master Blaster Jammin was missing from Stevie’s Greatest Hits, and so on.
With properly tagged files, it’s easy to organize your music in playlists based on genre, date or both. But most of the time you don’t care much about these attributes and just want to listen good music. Managing a ‘best of’ playlist works ok when you’re dealing with as few as hundreds of items, but for bigger collections you’ve got to come with something more…
Thanks to smart playlists in iTunes, you can build a playlist gathering the best songs of your library in few seconds. I recently had to copy a such best of selection to an external hard drive. A simple drag & drop from iTunes to the Finder can do the trick, yet resulting in a mess of unrelated files now all located in the same directory. So, what is the easiest way to copy a playlist content to a…