View fix-void-function.md

TL;DR: try recompiling everything. You can ask emacs to, or you can just force it to:

find ~/.emacs.d -name "*.elc" -delete

Then restart emacs.


The main culprits for this error are:

View unbrew.md

I recently had to uninstall/reinstall my brew casks and recipies because I had royally screwed something up. I have a script to re-install all the things I want so it was no drama except for the downloads and re-install, and some oversights when I uninstalled brew. So here is what I think I should have done:

1. uninstall any applications installed with brew cask

$ for APP in $(brew cask list); do
  brew cask uninstall $APP
done
View rsync.md

What to run:

rsync -HPva --delete <source>/ <dest>/

(tip for remembering: "Arr! Sync! Hey, Pretty view, eh? Do Eet")

why:

  • -H (--hard-links) sync any hard links as hard links, as distinct from files, at the destination
View whoops.sh
history -d $((${HISTCMD}-1));history -d $((${HISTCMD}-1))
View compositing.md

qdbus org.kde.KWin /Compositor org.kde.kwin.Compositing.active

Gives you true or false depending on whether it is currently enabled or not

You can enable compositing by calling

qdbus org.kde.KWin /Compositor org.kde.kwin.Compositing.resume

and disable by calling

View bach-wtc1-1.rb
#### Sonic Pi -*- mode:ruby -*-
# Bach Preludes & Fugues 1-12 Well Tempered Clavier
# Book 1, Prelude 1. Transcribed from
# https://www.youtube.com/watch?v=2oFjk0HynY4
define :bach do |n|
#play an array of notes twice, with the last 3 repeated each time
#this is the pattern used repeatedly in Prelude no.1
2.times do
View firefox-reverse-wheel.md

Open about:config and set mousewheel.default.delta_multiplier_y to negative, e.g. -100 if the current value is (the default) 100

This should only be necessary on platforms where Firefox isn't honouring the global setting. For instance on a Mac or Windows it's not necessary if you've set the scrolling direction to reverse globally, but on Linux, Firefox doesn't honour KDE's setting. I haven't tested GNOME ….

The default setting is fine for an actual mouse-wheel, but when using a touchpad to two-finger-scroll (or a trackball), it's more Natural for the page to scroll down when you swipe your fingers up: it seems more like how a paper page will shift.

View irish-cream.md

Irish Cream

Per batch (about 870ml)

  • 1 teaspoon unsweetened cocoa powder
  • 1 teaspoon instant coffee powder
  • 1 cup (235 ml) thickened/whipping cream
  • 1 (400 ml) can sweetened condensed milk
  • ½ teaspoon vanilla extract
View win-timezone-information.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"RealTimeIsUniversal"=dword:00000001