Skip to content

Instantly share code, notes, and snippets.

@justinnichols
justinnichols / card_example.json
Created July 26, 2023 19:44
Restructuring SWU JSON
{
"set": "SOR",
"cardNumber": "1",
"name": "Director Krennic",
"title": "Aspiring to Authority",
"type": "Leader",
"rarity": "C",
"arena": "Ground",
"unique": true,
"cost": 5,
@justinnichols
justinnichols / gist:2eb8fc4864d71661a9afcdc237dbb4d7
Created May 24, 2020 02:59
World of Warcraft - Allow MacOS Modifier Keys with Mouse Buttons
1. Stop WoW and Battle.net
2. Open a terminal and run:
$> defaults write com.blizzard.worldofwarcraft disable-expose-fix -bool YES
3. Restart Battle.net and WoW
It's also useful to make sure that WoW has Accessibility permissions allowed in the Security Preferences.
@justinnichols
justinnichols / pci-passthrough.md
Last active October 16, 2019 21:47
PCI-Passthrough Rig, OS, and Setup

Introduction

This is my guide for a successful PCI-Passthrough from Linux (Arch Linux) to QEMU/KVM via virt-manager and libvirtd into a Windows 10 Home guest.

NOTE: This is a guide for Intel only. I do not own an AMD machine, and will not add AMD information this guide until such time that I do, which could be never.

Hardware

Device Type Device
CPU Intel Core i7 7700K Quad-Core, Hyperthreading
Motherboard Gigabyte Z270X-Gaming 5
@justinnichols
justinnichols / arch_mysql_install.txt
Created February 16, 2018 19:32
Arch Linux - Install MySQL and MySQL Workbench (without compilation or MariaDB)
1. sudo vi /etc/pacman.conf
Add to the bottom and then save the file:
[muflone-mysql]
SigLevel = Required
Server = https://www.muflone.com/repositories/archlinux/$repo/$arch
2. sudo pacman -Syyu
1. Install zsh
a. Ubuntu/Debian: sudo apt-get install zsh
b. Arch: sudo pacman -S zsh
c. Fedora: yum install zsh
2. Change shell to zsh
a. chsh -s /usr/bin/zsh (or: chsh -s `which zsh`)
3. Install oh-my-zsh
a. https://github.com/robbyrussell/oh-my-zsh
4. Clone and install Powerline fonts
a. https://github.com/powerline/fonts