Skip to content

Instantly share code, notes, and snippets.

View theodric's full-sized avatar
🎯
Shoobydoowop

theodric theodric

🎯
Shoobydoowop
View GitHub Profile

Keybase proof

I hereby claim:

  • I am theodric on github.
  • I am theodric (https://keybase.io/theodric) on keybase.
  • I have a public key ASDvLex_Rq7RcVNnyGMzJ2H8_Y0ekAvH5PDResyiTwVNbwo

To claim this, I am signing this object:

@theodric
theodric / VW NB 1.8t timing belt notes
Created April 27, 2017 15:33
VW NB 1.8t timing belt notes
* A jack with a load spreader on the oilpan is very handy, as opposed to a topside engine support, since you need to raise and lower the engine so often between operations.
* If you put a dot of paint on the outside edge of every tooth of the old timing belt that is between your alignment marks, and then transfer all of that to the new belt, you can be certain that the new belt is properly aligned and has not slipped during installation.
* Install the timing belt before installing the hydraulic tensioner, because it allows you to have the lever controlling the eccentric of the tensioner pulley all the way down, giving you enough slack to easily get the belt on. Don't get confused by looking at DIYs for Audi 1.8t and VW 2.0 engines-- they use a different sort of tensioner pulley that has to be rotated into tension with a pin tool.
Once you get the belt on, rotate the lever controlling the eccentric of the tensioner pulley as far upward as you can get it by hand (within reason, Mister Hulk), then tie a piece o
@theodric
theodric / vmware fusion 8 debian
Created March 4, 2018 12:08
stuff to do on new GUI Debian VMs in VMware environments
# install tools
apt install open-vm-tools open-vm-tools-desktop
# add xrandr modes for interesting resolutions
\xrandr --newmode "1920x1080" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --addmode Virtual1 1920x1080
xrandr --newmode "2560x1080" 230.00 2560 2720 2992 3424 1080 1083 1093 1120 -hsync +vsync
xrandr --addmode Virtual1 2560x1080
xrandr --newmode "3440x1440" 419.50 3440 3696 4064 4688 1440 1443 1453 1493 -hsync +vsync
xrandr --addmode Virtual1 3440x1440
find . -iname \*bettersnap\* -print0 | tee | tar -cf snap.tar --null -T -
@theodric
theodric / newdebianclient.sh
Created September 23, 2018 09:47
New Debian client setup
apt install git ghostscript htop tmux telnet watch mosh nmap unar bash youtube-dl ffmpeg mplayer autoconf automake python2 python3 wget nano xz-utils sshuttle p7zip lolcat cowsay wakeonlan lynx links aview automake geeqie
#!/bin/bash
#xinput --set-prop 15 "libinput Natural Scrolling Enabled" 0
xinput --set-prop `xinput list|grep -m1 "Swiftpoint Limited GesturePoint Mouse Dongle"|grep id=|cut -f 2|cut -b4,5` "libinput Natural Scrolling Enabled" 0
https://github.com/historicalsource/7kaa.git
https://github.com/historicalsource/abuse.git
https://github.com/historicalsource/abyss.git
https://github.com/historicalsource/alienbashii.git
https://github.com/historicalsource/alienbreed3dii.git
https://github.com/historicalsource/allegiance.git
https://github.com/historicalsource/amfv.git
https://github.com/historicalsource/arthur.git
https://github.com/historicalsource/arxfatalis.git
https://github.com/historicalsource/asteroids-7800.git
@theodric
theodric / C64 pokes and sys'es
Created June 30, 2019 18:42
Reference for C64 commands
Change border color
Yellow:
POKE 53280,7
Change background color
Purple:
POKE 53281,4
DEBIAN
#get latest tarball and unpack
http://vice-emu.sourceforge.net/index.html#download
#install depends
apt install libsdl1.2-dev
#build with SDL UI enabled
./configure --enable-ethernet --enable-sdlui --with-png --enable-rs232 [ --without-x ]
make
sudo make install
@theodric
theodric / fuck-catalina.sh
Created December 28, 2019 18:36
Block macOS Catalina "upgrade" reminders
#!/bin/sh
sudo softwareupdate --ignore "macOS Catalina"
defaults write com.apple.systempreferences AttentionPrefBundleIDs 0
killall Dock