Skip to content

Instantly share code, notes, and snippets.

View ArjArav98's full-sized avatar
🤓
Vim > Emacs.

Arjun Aravind ArjArav98

🤓
Vim > Emacs.
View GitHub Profile
@ArjArav98
ArjArav98 / organise_music_for_vlc.py
Last active September 6, 2023 21:54
A Python script which lets you organise your music collection in accordance with VLC media player.
# Objective - The idea is that you can maintain a music collection
# independent of the media player you are using. Keeping the configuration
# in Python lets us format our MP3 files however we want.
#
# This specific script adds tags to your MP3 files in accordance with
# VLC media player. We edit tags using `mutagen`. You can change the script,
# to set the tags, to your media player's preferences!
#
# Quickstart
# - Install the `mutagen` package using pip (`pip install mutagen`).
@ArjArav98
ArjArav98 / filesearch.js
Last active July 26, 2021 14:08
Searching Directories For Files (Recursive vs Iterative)
// Both of these implementations are pseudocodes.
// The objective of both of these implementations is to check
// if a file exists inside a directory or not. It does not have to be
// directly present inside the directory.
// In the ITERATIVE version, we have to define 2 functions and it's a lot less readable.
// The RECURSIVE version is much more readable and induces a lesser cognitive load
// (ease of understanding) on the person reading it.