π²
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Created by SharpDevelop. | |
* User: Wesley | |
* Date: 2/21/2024 | |
* Time: 3:55 PM | |
* | |
* To change this template use Tools | Options | Coding | Edit Standard Headers. | |
*/ | |
using System; | |
using System.IO; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ ! "$(dirname "$0")" = "." ]; then | |
here=$(realpath "$0")/ | |
else | |
here=$(which "$0")/ | |
fi | |
here=$(dirname "$here") | |
TIMEFORMAT=%R | |
LPARAMS="--cbr -b 128 --resample 44100 -m j" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo Current time: $(date +"%F %H:%M:S") | |
echo Hit Ctrl+C to stop taping. | |
AUDIO_FORMAT=233 | |
STREAM_URL=MwtVkPKx3RA | |
M3U=$(ytdl -f $AUDIO_FORMAT -g "${STREAM_URL}") | |
SAMPRATE=16000 | |
#BITRATE=80000 -ab ${BITRATE} | |
ffmpeg -i "${M3U}" -ac 1 -ar ${SAMPRATE} -q 7 -loglevel warning -hide_banner DADABOTS_TAPE_$(date +%F_%H_%M_%S.%N).ogg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\[prc_((intro_(slow|fast|heavy|verse|chorus)|fade_(in|out)|(alt_|quiet_)verse)(_[a-d])?|(quiet|noise|drum|bass|vocal|gtr|violin|strings|orch|horn|harmonica|organ|piano|keyboard|dj)_intro(_[a-d])?|(pre|post)?((verse|chorus|main|gtr|bass|big(ger)?|heavy|fast|slow|swing|chunky|odd)_riff|verse|chorus|bridge|interlude|soundscape|(space_)?jam|vamp|(build|speed)_up|tension|release|crescendo|((lo|hi)_)?melody|(verse|chorus))(_[1-9]?[a-f]?)?|(intro|(pre|post)?verse|chorus(_break)?|(pre|post)?chorus|((breakdown|alt)_)chorus|bridge)(_[a-f])?|(drums_enter|(bass|gtr|rhy|band|syth|keyb|organ|piano)_enters)|((break(down)?)|((gtr|slide|drum|perc|bass|organ|piano|keyboard|synth|harmonica|sax|horn|flute|noise|dj|vocal)_)?(solo|break)|hook|drum_roll|gtr_(lead|fill|hook|melody|line|lick)|oohs|prayer|chant|spoken_word|outro(_(solo|chorus))?|ending)(_[1-9]?[a-s]?)?|((slow|fast|quiet|loud|heavy|spacey|trippy)_)?part(_[1-4]?[a-d]?)?|spacey|sctrach_break|ah|yeah|bre|intro_slow_1|kick_it|[a-k][1-9]?)\] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\*\shell\Inspect] | |
"SubCommands"="" | |
"MUIVerb"="Inspect data..." | |
[HKEY_CLASSES_ROOT\*\shell\Inspect\shell] | |
[HKEY_CLASSES_ROOT\*\shell\Inspect\shell\1a_FFProbe] | |
"MUIVerb"="Probe media..." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// checks if an object's data is symmetric with a struct with defining types | |
function typecheck(object, types, optional=null) { | |
// TODO: optional error print, showing | |
// where in the object did this function fail | |
// if that's even possible | |
// | |
// example: | |
// typecheck({ | |
// "thing": 1, | |
// "thing2": "2", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; jan 2023 | |
format PE console 3.1 | |
entry main | |
include 'win32a.inc' | |
section '' code data readable writeable executable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
echo why did i make this | |
offset=679074 | |
end=9382322 | |
srate=48000 | |
#resamp=40000 | |
offset=$(evl $offset.0/$srate) # to seconds | |
end=$(evl $end.0/$srate) # to seconds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://tasvideos.org/EmulatorResources/DTM | |
endian little | |
idstring "DTM\x1A" | |
getdstring game 6 | |
get wii byte | |
getbits ctrl 8 // bitfield | |
get state byte | |
get vic longlong | |
get ic longlong |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# CYGWIN REQUIRED!! (maybe) | |
# | |
# optimal compact | |
# by wesley | |
# BECAUSE SOMEHOW IT TAKES MORE SPACE | |
# sometimes | |
# | |
# might've just been created out of | |
# the false assumption that it does |