π²
This file contains hidden or 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
| --- | |
| missing_sprites: [ 2596, 5086, 5087 ] | |
| # apparently level viewer throws a divide by zero error at some point | |
| # when skimming through the sprites of each room | |
| # sprites are extracted independent of this specific feature though | |
| sprites: | |
| 1: # index won't matter here, just a signifier to easily point to in the raw list | |
| nick: stars | |
| 2: | |
| nick: more stars |
This file contains hidden or 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 | |
| # I'M ACTIVELY FORGETTING HOW MY OWN SCRIPT WORKS!!!!!!!!!!!!!! | |
| (( # < 2 )) && [[ ! "$1" == *[\*\?]* ]] && { | |
| (( # == 1 )) && echo 'you must specify more than one file to be deduped' && echo | |
| echo 'dedupe [input files]' | |
| echo '- replace multiple unchanging copies of' | |
| echo ' the same files with hardlinks to save space' | |
| echo '- as of now, it is recommended to execute this' | |
| echo ' only on files that exist on a singular device' | |
| exit 1 |
This file contains hidden or 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
| #include <stdlib.h> | |
| #include <fcntl.h> | |
| #include <Windows.h> | |
| #include <commdlg.h> | |
| #include <wchar.h> | |
| // i hate c now | |
| #define PARAM_TITLE 0 | |
| #define PARAM_FILT 1 | |
| #define PARAM_MODE 2 |
This file contains hidden or 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 | |
| #set -e # exits early without pressing anything, POS | |
| (($# == 0)) && { # LOL # $((?)) also works, amazing # NOT IN NORMAL SHELL | |
| echo "No files entered"; exit 1 | |
| } | |
| function timefmt() { | |
| local h m s ms time="$(($1))" | |
| (( h = ((m = (s = (ms = ${time#-})) / 60) / 60) % 60, m %= 60, s %= 60, ms %= 1000, time < 0 )) && sign=- | |
| # wish i could cram this in one statement | |
| printf '%s%s%02d:%02d:%02d.%03d' "$2" "$sign" $h $m $s $ms |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
| static main() | |
| { | |
| auto i = 0; | |
| auto func_names1a = object(); | |
| auto func_names1b = object(); | |
| i = 0; func_names1a[i] = 0x00401010; func_names1b[i] = "??3@YAXPAX@Z"; | |
| i = 1; func_names1a[i] = 0x00401010; func_names1b[i] = "??_V@YAXPAX@Z"; | |
| i = 2; func_names1a[i] = 0x00401020; func_names1b[i] = "??_H@YGXPAXIHP6EPAX0@Z@Z"; | |
| i = 3; func_names1a[i] = 0x00401060; func_names1b[i] = "?sCreateHeaps@GSHeaps@Mem@@SAXXZ"; | |
| i = 4; func_names1a[i] = 0x004014a0; func_names1b[i] = "?sDeleteHeaps@GSHeaps@Mem@@SAXXZ"; |
This file contains hidden or 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
| ; done in michal kowalski's 6502 macroassembler & simulator | |
| putc = $e001 | |
| puth = $e003 | |
| *=$100 | |
| lda #$10 | |
| ldx #8 | |
| jsr pmul | |
| lda #3 | |
| ldx #3 | |
| jsr pmul |
This file contains hidden or 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/bash | |
| TZ="${TZ/_/ }" # why | |
| NOW="$(date +"%F %H:%M:%S")" | |
| echo "Current time: $NOW" | |
| echo "Hit Ctrl+C to stop taping." | |
| AUDIO_FORMAT='251/233/94' # WHY ARE FORMATS DISAPPEARING, YOUTUBE SHOULD JUST BE LIQUIDATED BY NOW!!!!!!!!!!!!!!!!!!!!!!! | |
| STREAM_URL=JF2p0Hlg_5U | |
| BDCASTNO=3 # Nth 24/7 broadcast! | |
| SAMPRATE=16000 | |
| CHCOUNT=1 |
This file contains hidden or 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 | |
| # windows is cool and linux is cringe | |
| [ $# -lt 1 ] && { | |
| expand -t 4 <<use | |
| No arguments supplied. Usage: | |
| ${0:t} [utility name (without aubio prefixed)] [input] [utility parameters (no --input)] | |
| or | |
| ${0:t} [utility name (without aubio prefixed)] --help | |
| to get the usage information of one of the following utilities: | |
| - onset: outputs the time stamp of detected note onsets |
This file contains hidden or 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 | |
| [ $# -lt 1 -a $# -gt 2 ] && { | |
| echo "Inadequate amount of arguments" 1>&2 | |
| exit 1 | |
| } | |
| [ ! -f "$1" ] && { | |
| echo "File does not exist" 1>&2 | |
| exit 1 | |
| } |
This file contains hidden or 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
| @echo off | |
| chcp 65001 | |
| :: %1 == id, %2 == start, %3 == end, %4 %5 %6 %7 %8 %9 additional arguments | |
| if [%3]==[] exit /b 1 | |
| set "URL=%~1" & set "START=%~2" & set "END=%~3" | |
| shift & shift & shift | |
| python -m yt_dlp --download-sections "*%START%-%END%" -o "%%(title)s {%START::=οΌ%β%END::=οΌ%} [%%(id)s].%%(ext)s" %1 %2 %3 %4 %5 %6 %7 %8 %9 -- "%URL%" |
NewerOlder