Skip to content

Instantly share code, notes, and snippets.

@milnak
milnak / vidiot-keyboard-shortcuts.md
Created June 14, 2026 19:15
Vidiot Keyboard Shortcuts

Vidiot Keyboard Shortcuts

Adapted from Vidiot source code.

  • Space: Play/Pause
  • Ctrl-Space: Play/Pause with buffering before playback
  • Del: Delete clips
  • Shift-Del: Delete clips and shift
  • A: Split selected clips at cursor
  • Ctrl-A: Select all clips
@milnak
milnak / # MuseScore Keyboard Shortcuts.md
Created June 13, 2026 21:58
MuseScore Keyboard Shortcuts

MuseScore Keyboard Shortcuts

Navigation

  • Beginning of score: Home
  • Last page of score: End
  • Zoom in: **Ctrl +*- or Ctrl scroll (mouse wheel)
  • Zoom out: **Ctrl -*- or Ctrl scroll (mouse wheel)
  • Next page: PgDn
  • Previous page: PgUp
@milnak
milnak / install-vs-build-tools.ps1
Created June 13, 2026 05:47
Install Visual Studio Build Tools
Set-StrictMode -Version Latest
$ErrorActionPreference = 'Stop'
# https://community.chocolatey.org/packages/visualstudio2017buildtools
$vsProduct = @{
PackageName = 'visualstudio2017buildtools'
ApplicationName = 'Microsoft Visual Studio Build Tools 2017'
Url = 'https://download.visualstudio.microsoft.com/download/pr/85966aef-8515-43ec-a8d5-8d95fd7c9998/16c64a1f7d15fd92c001dde4d16eb1b7e07daee0cad17425adbe3f476d5bc656/vs_BuildTools.exe'
Checksum = '16C64A1F7D15FD92C001DDE4D16EB1B7E07DAEE0CAD17425ADBE3F476D5BC656'
ChecksumType = 'SHA256'
@milnak
milnak / TOP MAME ARCADE GAMES.ini
Last active June 12, 2026 00:38
TOP MAME ARCADE GAMES - put in MAME\folders
;; TOP MAME ARCADE GAMES
;;
;; COMPILATION FROM:
;; 100 Arcade Games That Deserve More Love - https://www.youtube.com/watch?v=AactNVgBsu0
;; 111 Games That Defined The Arcade Era - https://www.youtube.com/watch?v=F43y_prV_Zg
;; Complete Golden Age Arcade Journey - https://www.youtube.com/watch?v=LLQfJoSa2aI
;; Top 25 Arcade Games of All-Time - https://www.youtube.com/watch?v=eoU7kouHx9I
;; Top 250 Greatest Arcade Games of All Time - https://www.youtube.com/watch?v=kgfswa5eLLw
;; CONTENTS:
@milnak
milnak / ChordPro-Directives.md
Last active May 20, 2026 03:51
ChordPro Directives

ChordPro Directives

ChordPro files are text based files that contain directives for the program loading them. This allows the program to customize how the text is displayed such as making a title larger, or by placing chords above the lyrics instead of in line with them. This makes them much more powerful than standard text files. MobileSheets tries to support some of the same features with text files (such placing chords above lyrics), but many features are ChordPro specific. That is why ChordPro files are the preferred format in MobileSheets for combining lyrics with chords. The ChordPro specification. Specifically, see ChordPro directives.

Meta-data directives

Directive Description
{title: text} Defines the title of the song.
{sorttitle: text} Defines the sorting title of the song.
@milnak
milnak / pdf-add-csv-bookmarks.py
Created April 8, 2026 05:06
Adds bookmarks to a PDF file from a CSV list of titles and page numbers.
#!/usr/bin/env python3
"""Add bookmarks to a PDF from a CSV file.
CSV format: <title>,<filename>,<page>
Usage: python pdf-add-csv-bookmarks.py <csv_file> <pdf_file>
python -m venv venv
.\venv\Scripts\pip install pypdf # Windows
source venv/bin/activate && pip install pypdf # macOS/Linux
"""
@milnak
milnak / settings.json
Last active February 15, 2026 18:31
micro editor settings.json
{
"$comment": "https://github.com/micro-editor/micro",
"$schema": "https://raw.githubusercontent.com/micro-editor/micro/refs/heads/master/data/micro.json",
"*.js": {
"tabsize": 2
},
"*.py": {
"tabsize": 4
},
"*.ts": {
@milnak
milnak / Create-TableDatFile.ps1
Last active January 2, 2026 15:19
Create a ClrMAME .dat file for Visual Pinball VPX tables using data from puplookup.csv.
<#
.DESCRIPTION
Create a ClrMAME .dat file for Visual Pinball VPX tables using data from puplookup.csv.
.NOTES
Table folder structure MUST be in format:
Tables
├───Whoa Nellie! Big Juicy Melons (Stern 2015)
│ Whoa Nellie! Big Juicy Melons (Stern 2015) UncleWilly 2.1.4 MOD VR.vpx
@milnak
milnak / gitdown.ps1
Created September 24, 2025 23:25
Recursive github repo downloader
# Create a new API token by going to
# https://github.com/settings/tokens/new (provide a description and check "repo" scope")
param (
# github repo path to download, e.g.
# 'https://github.com/microsoft/CsWinRT/tree/master/src/Samples/NetProjectionSample'
[Uri]$RepoPath = 'https://github.com/microsoft/CsWinRT/tree/master/src/Samples/NetProjectionSample',
# Folder to download to.
[Parameter(Mandatory)][string]$Path,
@milnak
milnak / reddit-personal-finance-flowchart-us.md
Created September 22, 2025 00:52
Reddit Personal Finance Flowchart

Reddit /r/personalfinance Flow Chart (US Version)

Originally found here. Last updated by u/antoniosrevenge Feb 22, 2024.

One of the most frequent questions in /r/personalfinance goes something like:

  • "I have $X, what should I do with it?" or
  • "How should I handle my debt/finances/money?"

This incorporates general guidance found in the PF Wiki and that is given often by /r/personalfinance regulars. If you have suggestions about this article, please message the moderators.