diff -r --exclude=.git --exclude=.nuxt --exclude=node_modules directory_one directory_two
So That I Remember...
... bits and pieces of everyday stuff
28 April 2026
Compare 2 directories
Compare the contets of 2 directories, while excluding some sub directories in those directories.
27 April 2026
MP3 Tagger
Use Picard - a cross-platform music tagger powered by the MusicBrainz database, to set MP3 metadata
https://picard.musicbrainz.org/
24 February 2026
Compress ISO/CSO to CHD
chdman.exe createcd -i "Input.iso" -o "Output.chd"Find
chdman.exe from MAME Windows Binary - https://www.mamedev.org/release.php
23 February 2026
Options to use with yt-dlp
Options to use with
yt-dlp to download MP3 from playlist.
yt-dlp --extract-audio --audio-format mp3 \
--embed-metadata --embed-thumbnail \
--parse-metadata "title:%(title)s" \
--parse-metadata "artist:%(channel)s" \
-o "%(title)s.%(ext)s" playlist
11 December 2024
Exclude Windows PATHs in WSL PATH
In WSL, add the below to
/etc/wsl.conf
[interop]You'll need to restart WSL after updating the above. From
appendWindowsPath = false
cmd, run wsl --shutdown
02 December 2024
Linus Alias or Shortcut using Bash Function
Open
~/.bashrc and add the below function.
artisan() {Reload the shell configuration.
docker-compose exec php artisan "$@"
}
source ~/.bashrcUse the alias or shortcut.
artisan make
29 July 2024
Get Code Snapshot from Specific Commit in Git
Here's how you can get code snapshot from a specific commit in Git.
Let's go through the steps.
git fetchUpdate the branch
git pullFind the commit hash, eg. commit-hash
git logCheckout the branch while creating it.
git checkout -b branch_name commit-hash
Subscribe to:
Posts (Atom)