Skip to content

Instantly share code, notes, and snippets.

@bhankas
bhankas / README.md
Last active September 19, 2022 10:24
eglot2emacs

This code merges eglot.el from joaotavora/eglot to upstream emacs.git master branch. It does below:

  • Move eglot.el to lisp/progmodes/eglot.el
  • Preserve complete history from original repo for the file
  • Edit commit messages to append URLs for all mentioned issues and PRs to individual commit message

Dependencies required

@bhankas
bhankas / quick.sh
Last active April 18, 2021 15:53
Quick and dirty shell scripts and aliases
# recursively find all unique file extension with count
fd --no-ignore | rg "\.[^./]*\$" -o | sort -h | uniq -c | sort -k1 -h
# Split FLACs with accompanying cue file and cuetools
# nix-shell ---> nix-shell -p cuetools shntool
cuebreakpoints file.cue | shnsplit -o flac song.flac