Skip to content

Instantly share code, notes, and snippets.

View DevER-M's full-sized avatar
💤
learning

Mithun DevER-M

💤
learning
View GitHub Profile
@DevER-M
DevER-M / BeetsGuide.md
Created January 16, 2026 06:56
A guide on how to use beets, a media library manager

Basic configuration

  • Discogs for metadata is recommended so get an api key for it
  • Discogs adds a cover_art_url column in the db which fetchart can use instead of doing another new request from cover art archive/any other
  • When importing using beets do beet import -t YOURALBUM this will always ask on whether if the metadata is ok
image image image
  • Use Foobar2000 or harmonoid for synced lyrics
@DevER-M
DevER-M / flactoaac.sh
Created May 31, 2025 14:13
flac to aac batch transcoder
#!/bin/bash
set -e
newdir="${PWD##*/}"
mkdir -p "$newdir"
process_file() {
local i="$1"
@DevER-M
DevER-M / bashrc-PS1.md
Last active March 30, 2022 15:17
PS1 and prompt for bash and zsh

Kali linux PS1

PS1='\[\e]0;\u@\h: \w\a\]\[\e[0;94m\]┌──\[\e[0;94m\](\[\e[0;91m\]\u\[\e[0;94m\]@\[\e[0;91m\]\h\[\e[0;94m\])\[\e[0;94m\]-\[\e[0;94m\][\[\e[0;1;92m\]\w\[\e[0;94m\]]\n\[\e[0;94m\]└─\[\e[0;91m\]# \[\e[0m\]'

image

Custom PS1 - 1

PS1='\[\e[0;91m\][\[\e[0;38;5;202m\]\u\[\e[0m\]@\[\e[0;96m\]\h \[\e[0;1m\]\w\[\e[0;91m\]]\[\e[0;91m\]# \[\e[0m\]'