Skip to content

Instantly share code, notes, and snippets.

View jhofker's full-sized avatar
:shipit:
Wait, how many changes in that PR?

Jordan Hofker jhofker

:shipit:
Wait, how many changes in that PR?
View GitHub Profile
@jhofker
jhofker / proxmox_nvidia.md
Created June 14, 2023 21:07 — forked from egg82/proxmox_nvidia.md
NVidia Proxmox + LXC

Proxmox

Find the proper driver at the NVidia website.

Note: Make sure to select "Linux 64-bit" as your OS

Hit the "Search" button.

@jhofker
jhofker / install_wled.bat
Created January 30, 2023 22:46
Install WLED with esptool from the command line
# Download esptool: https://github.com/espressif/esptool/releases/download/v4.2.1/esptool-v4.2.1-win64.zip
# Download bootloader: https://github.com/Aircoookie/WLED/releases/download/v0.13.3/esp32_bootloader_v4.bin
# Download WLED: https://github.com/Aircoookie/WLED/releases
# Hold down the BOOT or non- "EN" button on your ESP32 at each step until you see "Detecting chip type ... ESP32"
.\esptool.exe -p COM5 erase_flash
.\esptool.exe -p COM5 write_flash 0x0 .\esp32_bootloader_v4.bin
.\esptool.exe -p COM5 write_flash 0x010000 .\WLED_0.14.0-b1_ESP32.bin
@jhofker
jhofker / Introspection Query.json
Created May 27, 2016 15:41
GraphQL Introspection query
query IntrospectionQuery {
__schema {
queryType { name }
mutationType { name }
subscriptionType { name }
types {
...FullType
}
directives {
name
@jhofker
jhofker / post-receive
Last active August 29, 2015 14:15
post-receive hook to pull another repo on the server
#!/bin/sh
PUBLIC_WWW=/home/public
GIT_DIR=$PUBLIC_WWW/.git
# Pull the latest from the repo to the public dir.
cd $PUBLIC_WWW
echo Pulling.
git reset HEAD --hard
git pull

Keybase proof

I hereby claim:

  • I am jhofker on github.
  • I am jhofker (https://keybase.io/jhofker) on keybase.
  • I have a public key whose fingerprint is 5AAB 267F 3E25 D425 D185 A000 9B7F E352 3A0F 8B60

To claim this, I am signing this object: