Skip to content

Instantly share code, notes, and snippets.

View matthamil's full-sized avatar
๐Ÿˆ

Matt Hamil matthamil

๐Ÿˆ
View GitHub Profile
@matthamil
matthamil / sync_wow_addons.md
Last active December 10, 2022 21:41
Syncing WoW Addons across multiple computers

If you play WoW on multiple computers and have addons installed on one of them, you probably wish you could have the same addons installed on all of your machines. This is a guide to sync addons across multiple machines (and preserve their settings, too!).

Prerequisites

You will need the following:

  1. Google Account
  2. Google Drive storage space equal or greater than the size of your World of Warcraft\_classic_\Interface\AddOns directory.
  3. Addons you have already downloaded in your World of Warcraft\_classic_\Interface\AddOns directory.
@matthamil
matthamil / unfucktime.sh
Created September 12, 2022 15:35
Resync android emulator time with current time
#!/usr/bin/env bash
adb -e shell su root date `date +"%m%d%H%M%y"`
# or if you want an alias for your .zshrc or .bashrc
# unfucktime() {
# adb -e shell su root date `date +"%m%d%H%M%y"`
# }
MOBILE_PROJECT_DIR=~/path/to/project/dir
function adbreverse {
adb reverse tcp:8081 tcp:8081
}
# android only
function darkmodeoff {
adb shell "cmd uimode night no"
}