Skip to content

Instantly share code, notes, and snippets.

View YellowApple's full-sized avatar

Ryan S. Northrup (RyNo) YellowApple

View GitHub Profile
@YellowApple
YellowApple / id3-tag-inator
Created October 19, 2021 22:17
ID3-Tag-Inator: Automatically populates ID3 tags for all MP3 files in the Tri-State Area
#!/bin/sh
SELF=$(basename $0)
usage () {
echo "usage: $SELF [-dfhv] [basedir]"
}
help () {
echo "\
ID3-Tag-inator: Automatically populates ID3 tags for all MP3 files in the
@YellowApple
YellowApple / !umltapau.mmd
Last active November 13, 2020 07:50
UMLtapau
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@YellowApple
YellowApple / sqlite-test.c
Created September 28, 2019 02:16
Opening and closing a SQLite database in Zig
/* Ripped from https://www.tutorialspoint.com/sqlite/sqlite_c_cpp.htm */
#include <stdio.h>
#include <sqlite3.h>
int main(int argc, char* argv[]) {
sqlite3 *db;
char *zErrMsg = 0;
int rc;
rc = sqlite3_open(":memory:", &db);
@YellowApple
YellowApple / protonrun
Created July 9, 2019 08:55
protonrun [appid] [exe]
#!/bin/bash
# I don't *think* I'm the original author, but I can't recall who was.
# I think maybe from:
# https://steamcommunity.com/app/244160/discussions/0/2727382174641131600/
# But as y'all can surely see, this is very different, so ¯\_(ツ)_/¯
# -- RyNo
game_id="$1"; shift;
#!/bin/sh
width=$(window-size | awk '{print $3}')
height=$(window-size | awk '{print $4}')
server=$1; shift
xfreerdp /w:$width /h:$height /v:$server "$@"

Keybase proof

I hereby claim:

  • I am yellowapple on github.
  • I am yellowapple (https://keybase.io/yellowapple) on keybase.
  • I have a public key ASBPtlgmyVo2Vuv-AJi8t9J0hwwoXxGuIma1RyehwU0sjwo

To claim this, I am signing this object:

@YellowApple
YellowApple / openpgp.txt
Created May 5, 2016 07:30
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:2676074abeffb5cac5855c94ab1e5aee3563b6b1]
@YellowApple
YellowApple / openpgp.txt
Created May 5, 2016 07:30
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:2676074abeffb5cac5855c94ab1e5aee3563b6b1]
@YellowApple
YellowApple / .stumpwmrc
Created October 28, 2015 14:37
.stumpwmrc and friends
(in-package :stumpwm)
; fucking hackery
;; fucking swank
(require :swank)
(swank-loader:init)
(swank:create-server :port 4004
:style swank:*communication-style*
:dont-close t)