Skip to content

Instantly share code, notes, and snippets.

View RageCage64's full-sized avatar
😎
always chillin

Braydon Kains RageCage64

😎
always chillin
View GitHub Profile
@RageCage64
RageCage64 / dmc_wiki_setup.md
Last active December 18, 2023 22:30
DMC Wiki Setup

DMC Wiki Setup

This guide is to set up the DMC Wiki on a new machine.

Set up SSH

On your computer, run the following command:

ssh-keygen -t rsa -b 4096 -C <insert your email here>
@RageCage64
RageCage64 / download_audio.sh
Last active August 4, 2023 12:44
Downloading a list of youtube links as audio with yt-dlp
#!/usr/bin/env bash
set -e
set -u
set -o pipefail
set -x
LINK_FILE=$1
LINKS=$(cat $LINK_FILE | tr '\n' ' ')
@RageCage64
RageCage64 / index.test.ts
Created August 11, 2021 20:50
mockStaticClass potential bug reproduction
import {
ImportMock,
StaticMockManager
} from "ts-mock-imports";
import * as DynamoDBLibModule from "@aws-sdk/lib-dynamodb";
let documentClientImportMock: StaticMockManager<DynamoDBLibModule.DynamoDBDocumentClient>;
describe("example", function() {
@RageCage64
RageCage64 / debug_output.txt
Created June 3, 2021 20:35
aws_iot_topic_rule create with `@` in tag debug output
Interrupt received.
Please wait for Terraform to exit or data loss may occur.
Gracefully shutting down...
provider.aws.region
The region where AWS operations will take place. Examples
are us-east-1, us-west-2, etc.
Enter a value: 
@RageCage64
RageCage64 / loader.js
Created April 11, 2021 21:32
loadAsync example
const gameboyCart = await loader.loadAsync("./path to gameboy file I forget")
scene.add(gameboyCart)
@RageCage64
RageCage64 / apply_dependabot.sh
Last active February 22, 2021 22:02
Apply all dependabot PRs in a single branch
tmp_dir_name="dbot_patches"
mkdir -p $tmp_dir_name
base_branch=$1
if [ -z "$base_branch" ] ; then
base_branch="master"
fi
dependabot_branches=( `git branch -r | grep origin/dependabot/` )