Skip to content

Instantly share code, notes, and snippets.

@trevoreyre
trevoreyre / AutoHotkey.ahk
Last active September 8, 2021 17:03
macOS AutoHotkey script
/**
* Adapted from scripts by Chris Dhanaraj, Pavel Pevnitskiy, and Taran Van Hemert
*
* https://medium.com/@chrisdhanaraj/mapping-your-macos-keybinds-to-windows-b6009c50065b
* https://gist.github.com/fljot/58e46c92e99e7072ab56
* https://github.com/TaranVH/2nd-keyboard/blob/master/Taran's_Windows_Mods/Alt_menu_acceleration_DISABLER.ahk
*
* This script assumes some keys have been remapped in the Windows registry
* to behave closer to a macOS keyboard layout. This key remapping can be
* done using SharpKeys or a similar program.
@trevoreyre
trevoreyre / dotfiles-install.sh
Last active August 25, 2021 16:01
Installation script for dotfiles repo
#!/bin/sh
# To run locally:
# curl -Lks https://gist.githubusercontent.com/trevoreyre/c4170c6023e94f86cac1d8025aa3176d/raw | /bin/bash
git clone --bare https://github.com/trevoreyre/dotfiles.git $HOME/.dotfiles
function dotfiles {
git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME $@
}
dotfiles checkout
if [ $? = 0 ]; then
@trevoreyre
trevoreyre / cloudSettings
Last active December 15, 2020 20:07
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-12-15T20:07:39.773Z","extensionVersion":"v3.4.3"}