Skip to content

Instantly share code, notes, and snippets.

View blatayue's full-sized avatar

shgiraffe blatayue

View GitHub Profile
@blatayue
blatayue / README.md
Last active June 8, 2024 13:23
Superbird DOOM - WAD Commander - For Spotify Car Thing

Superbird DOOM® - WAD Commander - For Spotify Car Thing

superbird-debian-kiosk set up to load WAD Commander offline in chromium with an improved button handler script for game input

How to Use:

  1. Download Release v1.8.0 of superbird-debian-kiosk
  2. Extract the partitions from the archive and replace the data partition (debian rootfs) with this prebaked data partition
  3. Follow Steps 1-3 of Setup in the superbird-debian-kiosk README.md to write the partitions to your device

IMPORTANT NOTE ABOUT PLAYING:

Once booted you will be presented with WAD Commander's Welcome message with links and an open file(s) button. IGNORE THIS, SWIPE UP/SCROLL DOWN. Tap doom1.wad to load the cached shareware doom wad

@blatayue
blatayue / README.md
Last active March 3, 2025 20:15
Superbird MIDI Gadget

Superbird MIDI Gadget

Modifications I made to the scripts in /scripts/in the superbird-kiosk-app (v1.8.0) to create a MIDI USB gadget, the RNDIS gadget is also still enabled

Replace corresponding scripts to have your Car Thing send MIDI NoteOn/NoteOff events on hardware button presses

@blatayue
blatayue / Async-Await Example.js
Last active September 9, 2017 19:21
Some practices I use often
import someApi from 'some-api'
async function query(queryString) {
let results = await someApi.query(queryString);
return results;
};
query('string').then(results => {
// do whatever here instead of in the function
// or use another async function that doesn't return a promise
});