Skip to content

Instantly share code, notes, and snippets.

View tough-griff's full-sized avatar
😎

Griffin Yourick tough-griff

😎
View GitHub Profile
@tough-griff
tough-griff / README.md
Last active February 3, 2024 18:27
WoW Autobackup

WoW Auto Addon Backup

Create a folder titled backup_script in your World of Warcraft\_retail_\ directory.

Within this folder, download and save the attached backup.bat (right click, save as) file. With a text editor like Notepad or Notepad++ open the backup.bat file and make the following changes:

  1. Change the backup_dir= line to the path where you'd like to save your backup.
@tough-griff
tough-griff / README.md
Last active January 31, 2019 16:25
Auto-update script for github repo

Instructions

  • Save the plist file to $HOME/Library/LaunchAgents/, renamed appropriately (e.g. username.UpdateSomeRepository.plist)
  • Copy update.sh to the repository you wish to sync. Change the message if you want.
  • Replace user/machine specific variables in the plist file
    • Replace gyourick in your with your username (whoami).
    • Update the <key>Program</key> value to the path of your update.sh.
    • Change the time the script runs under <key>StartCalendarInterval</key>. Hour is in 24-hour time and uses your machine's local time.
  • Run launchctl load -w $HOME/Library/LaunchAgents/username.UpdateSomeRepository.plist
@tough-griff
tough-griff / cert.cnf
Last active November 4, 2016 15:56
Creating a local cert file for lvh.me
[req]
distinguished_name = req_distinguished_name
x509_extensions = v3_req
prompt = no
[req_distinguished_name]
CN = lvh.me
[v3_req]
keyUsage = keyEncipherment, dataEncipherment
extendedKeyUsage = serverAuth
subjectAltName = @alt_names