Skip to content

Instantly share code, notes, and snippets.

Avatar
🏳️‍🌈
powerful and gay

Melody Horn boringcactus

🏳️‍🌈
powerful and gay
View GitHub Profile
@boringcactus
boringcactus / lib.rs
Created Apr 6, 2021
rustc infinite loop
View lib.rs
use nom::{
branch::alt,
bytes::complete::tag,
combinator::{map, opt},
multi::{fold_many1, many1},
sequence::{delimited, pair, preceded},
IResult,
};
#[derive(PartialEq, Eq, Clone, Debug)]
View SayonaraWildHearts.asl
//made by boringcactus
//derived from https://github.com/Coltaho/Autosplitters/blob/master/MegaManZero3/MMZ3autosplit.asl
state("Sayonara Wild Hearts"){}
startup {
settings.Add("anypct", true, "Any% (split when level changes; only works in Album Arcade)");
settings.Add("allriddles", false, "All Riddles (split when riddle status changes)");
settings.Add("riddle0", true, "Aries A", "allriddles");
settings.Add("riddle1", true, "Taurus A", "allriddles");
View transflag.sh
#!/usr/bin/env bash
BLUE=`printf '\e[48;5;74m\e[48;2;70;194;228m'`
PINK=`printf '\e[48;5;175m\e[48;2;229;150;182m'`
WHITE=`printf '\e[48;5;255m\e[48;2;255;255;255m'`
ROW=$(printf %$(tput cols)s)
CLEAR=`tput sgr0`
echo "$BLUE$ROW"
echo "$PINK$ROW"
@boringcactus
boringcactus / README.md
Last active Jan 27, 2019
wifi defucker for windows
View README.md

wifi defucker

my wifi is fucked. this helps me defuck it.

λ python defuck.py <my wifi>
  Up....for 4 seconds
Down.........for 10 seconds!
Disconnecting... Disconnection request was completed successfully for interface "Wi-Fi".
Connecting... Connection request was completed successfully.