Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am nooges on github.
  • I am nooges (https://keybase.io/nooges) on keybase.
  • I have a public key ASBq2-YFXE0ZghZfrkzOY9eLOQje4JkY6SjCu4x3TVOTago

To claim this, I am signing this object:

@nooges
nooges / VIA Porting Info.md
Last active November 17, 2022 15:57
Info on adding VIA Configurator support to a board using QMK

Making a board compatible with VIA Configurator

💥NOTE💥: Don't do this yet, all of this stuff is still 🚑💣BLEEDING EDGE💣🚑, and you will 🔪cut yourself🔪 badly if you choose to do it. Please wait for 🗿Wilba's QMK code to be refactored prior to pushing anything to QMK, as we don't want to end up with a bunch of different forks of the code.

So you've seen VIA Configurator in action, and you want to get this magic supported for your board?

There's two main steps:

  1. Add dynamic keymap support to keyboard in QMK
  2. Add layout to VIA
04f110ed93d9deed160c39e0d14f5fc890132879d245786595107f49d9671bf689e8b7a1f1a631a3ed57078ffc4174b19e5c19229d423f126c955a2af55fc4c233;wholroyd
@nooges
nooges / avrdude-flash.sh
Created October 11, 2017 03:33
Script for flashing .hex file onto Pro Micro with avrdude
#!/usr/bin/env bash
MCU=atmega32u4
if grep -q -s Microsoft /proc/version; then
echo 'ERROR: Pro Micros can not be flashed within the Windows Subsystem for Linux (WSL) currently. Instead, take the .hex file generated and flash it using AVRDUDE, AVRDUDESS, or XLoader.'
exit 1
fi
if [ "$#" -ne 1 ]; then
@nooges
nooges / flash.sh
Created September 15, 2016 20:31
Script to flash Pro Micro controller
#!/bin/sh
dfuport=$(ls -rt /dev/tty.usb* | tail -n1)
echo "Device tty: $dfuport"
if [ -z "$dfuport" ]; then
echo "Bootloader not detected"
else
avrdude -p atmega32u4 -P $dfuport -c avr109 -U flash:w:$1
fi
@nooges
nooges / Zen and the Art of IT Backup.md
Last active April 25, 2024 00:41
Zen and the Art of IT Backup

Zen and the Art of IT Backup

Principle 1 - Scope

Excited, the new apprentice jumped right into his Master’s training server.

The apprentice asked, “Master what files should I backup?”

The Master replied, “Does not the mother bird care for all her fledglings? Will not the shepherd watch over his entire flock? Therefore, one must backup all files in one’s care, no matter how small or insignificant we consider them to be. Each file has its importance and must not be overlooked.”