Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am usmcfiredog on github.
  • I am usmcfiredog (https://keybase.io/usmcfiredog) on keybase.
  • I have a public key whose fingerprint is 9C3E 813A 6DCD 357E C38A 2B20 DB5A 11CB 1231 ABB0

To claim this, I am signing this object:

@usmcfiredog
usmcfiredog / vscode_shortcuts.md
Created January 8, 2020 23:38 — forked from bradtraversy/vscode_shortcuts.md
Helpful shortcuts for VSCode

VSCode Shortcuts

List of helpful shortcuts for faster coding

If you have any other helpful shortcuts, feel free to add in the comments of this gist :)

Official List of all commands

sudo -i
apt update
apt install broadcom-sta-dkms
modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
modprobe wl
Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Enum\HID\*\*\Device` Parameters FlipFlopWheel -EA 0 | ForEach-Object { Set-ItemProperty $_.PSPath FlipFlopWheel 1 }
@usmcfiredog
usmcfiredog / ulagen.py
Created March 20, 2021 05:34
IPv6 ULA Generation for VPN server
#!/usr/bin/env python3
import hashlib
import time
import uuid
def get_eui64():
mac = uuid.getnode()
eui64 = mac >> 24 << 48 | 0xfffe000000 | mac & 0xffffff
eui64_canon = "-".join([format(eui64, "02X")[i:i+2] for i in range(0, 18, 2)])

Triple Boot 2014 MacBook Pro - macOS Windows Linux

Steps to create a triple boot Mac without extra software

macOS Partition

Start with a MacBook Pro with only macOS installed

Windows Partition