Name | Description |
---|---|
Alberti bass | root high middle high |
Alberti bass variation, middle an octave higher | root high middle(+oct) high |
Alberti bass variation, alternating high | root high root high middle high root high |
Ascending broken chords | root middle high |
Descending broken chords | high middle root |
Waltz accompaniment | root chord chord dexterity (oom pah pah) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- zsh (default) | |
- homebrew (https://brew.sh/) | |
- oh-my-zsh (https://github.com/ohmyzsh/ohmyzsh/) | |
- oh-my-zsh themes: dieter (https://github.com/ohmyzsh/ohmyzsh/wiki/Themes) | |
# NOTE: the empty -i '' on macos for compatibility with GNU sed | |
``` | |
sed -i '' 's/\(ZSH_THEME="robbyrussell"\)/#\1\ | |
ZSH_THEME="dieter"/' ~/.zshrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NOTE(victor): Python for Code Golf. | |
import runpy | |
import sys | |
import importlib | |
builtins = sys.modules['builtins'] | |
builtins.only = filter | |
builtins.seq = range | |
builtins.out = print |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Adding a new line in the command line prompt proved more difficult than needed | |
nl() { | |
printf "\n$ " | |
} | |
PROMPT='.... $(nl)' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- zsh | |
- homebrew (https://brew.sh/) | |
- oh-my-zsh (https://github.com/ohmyzsh/ohmyzsh/) | |
- oh-my-zsh theme dieter (https://github.com/ohmyzsh/ohmyzsh/wiki/Themes) | |
- zsh-autosuggestions (https://github.com/zsh-users/zsh-autosuggestions) | |
- cascadia mono pl size 18 (https://github.com/microsoft/cascadia-code) | |
- terminal theme The Hulk (https://github.com/lysyi3m/macos-terminal-themes) | |
- terminal window size 80 x 24 | |
- atuin (https://github.com/atuinsh/atuin) | |
- vitals (https://github.com/hmarr/vitals) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const mastHeadHeight = document.querySelector("ytd-masthead").clientHeight; | |
let nextYtdRichGridRow = null; | |
function scrollToNextYtdRichGridRow() { | |
if (nextYtdRichGridRow === null) { | |
nextYtdRichGridRow = document.querySelector('ytd-rich-grid-row'); | |
} else { | |
nextYtdRichGridRow = document.evaluate('following-sibling::ytd-rich-grid-row', nextYtdRichGridRow, null, XPathResult.FIRST_ORDERED_NODE_TYPE).singleNodeValue; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Debian-based distros | |
# disable pgup | |
xmodmap -e "keycode 112=" | |
# disable pgdn | |
xmodmap -e "keycode 117=" |
MIDI velocity values to dynamics markings
Velocity | Dynamics marking | Explanation |
---|---|---|
0-15 | pianississimo | extremely soft |
16-31 | pianissimo | very soft |
32-47 | piano | soft |
48-63 | mezzo-piano | medium soft |
64-79 | mezzo-forte | medium loud |
80-95 | forte | loud |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# macos | |
# brew install librsvg | |
rsvg-convert file.svg file.png | |
# With imagemagick | |
convert file.svg file.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xcode-select --install |
NewerOlder