How to download music from Youtube with yt-dlp (CLI)

Downloading (yt-dlp) You use this command: yt-dlp -f "bestvideo[height=2160]+bestaudio" -x --audio-format flac "VIDEO_URL" In this command, I’m downloading from a 4K video (2160p), and I like my music to be in the .flac file. Feel free to change the quality and filetype into whatever you like. Update metadata (ffmpeg) Since the metadata won’t come with the file by default, you may like to add it manually. To do this, yt-dlp should also work. However, my preferred method is to use ffmpeg, instead: ...

December 19, 2025

How to see differences between files

In the case like this: warning: /etc/bluetooth/main.conf installed as /etc/bluetooth/main.conf.pacnew You may like to know what is the difference between these two, concisely. We use the command diff, a basic utility of Linux An example: diff /etc/bluetooth/main.conf /etc/bluetooth/main.conf.pacnew Output: 264a265,269 > # This enables the GATT client functionally, so it can be disabled in system > # which can only operate as a peripheral. > # Defaults to 'true'. > #Client = true > 311,315d315 < # This enables the GATT client functionally, so it can be disabled in system < # which can only operate as a peripheral. < # Defaults to 'true'. < #Client = true < 362c362 < #AutoEnable=false --- > #AutoEnable=true > indicate what appear in the latter file and < is pointing toward the former file. ...

December 18, 2025

How do you make a launcher for an AppImage?

Introduction For this purpose you actually have AppImageLauncher for the convenience, or the apps would actually self-generate this for you, but this doesn’t always happen. However, if you do mind the bloatness of said app (300 MB-ish), or the devs just don’t have the launcher ready, then you may consider making the launcher yourself, by hand. AppImage Launcher Template (AppName.desktop) This is my standard template for almost every AppImage: [Desktop Entry] Version=1.0 Type=Application Name=Application Name GenericName=App Type Categories=Utility; Comment=Brief description of the application Exec=/path/to/application.AppImage Icon=/path/to/icon.png Terminal=false StartupNotify=true Explanations (don’t copy this part to your file, please): ...

December 1, 2025

Setting up a stable Arch-based Penetration Testing environment

Intro This is actually my thought process of making this script https://github.com/Flock137/EOSxBlackArch, where I put the BlackArch repo on top of EndeavourOS for a quick Arch pentest environment, since BlackArch is a bit of a hassle for installing quickly. I hope it would help you in the case you wanna make an automation script yourself someday. First and foremost Install EndeavourOS. We will port our BlackArch repo into right after the former’s installation finish. ...

December 1, 2025

How did I repair an (Arch) Linux bootloader twice

Introduction: Updating BIOS, got Linux overwritten After I updated my BIOS, it happened to auto turn on secure boot, bitlocker again and overwrite the bootloader on my Linux partition on a separated disk. Not to mention, I no longer see my systemd bootloader screen. Disable bitlocker key To disable bitlocker key (not decrypt the whole drive), so the windows partition won’t ask you bitlocker password over and over again when you dual-boot: ...

September 11, 2025