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
<#@template language="C#" hostspecific="true"#> | |
<#@output extension=".cs"#> | |
<#@import namespace="System.IO"#> | |
<#@import namespace="System.Text"#> | |
<#@import namespace="System.Text.RegularExpressions"#> | |
<#@import namespace="System.Collections.Generic"#> | |
<# | |
Encoding A = Encoding.ASCII, U = Encoding.Unicode, UTF8 = Encoding.UTF8; | |
const byte | |
textfile = 0, |
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
#!/usr/bin/printf %.0s%.0s%.0s%.0s%.0s%.0sThis is a utility which cannot be used standalone.\nUsage: source dotload [appname]\n | |
# dash compatible barebones conf loader | |
# | |
# making this separate for the sake of not copy pasting this across | |
# utilities i will make that allow configuration (usually not (lol)) | |
[ -z "$1" ] && { | |
echo 'dotload: No configuration name provided.' | |
return 1 | |
} | |
local conf="$1" |
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
; BASIC TEST | |
mov r0, #123 ; multicand | |
mov r1, #0xFF00 ; multiplier | |
bl mul ; unsigned | |
; CYCLE TEST (add vs lsl) | |
mov r0, #0xA900 | |
mov r1, #39 | |
bl mul |
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 (@CodeSection == @Batch) @then | |
@echo off | |
where /q curl || goto fail | |
where /q grep || goto fail | |
set ESC=[ | |
for %%H in ( | |
https://bmrf.org/repos/tron | |
https://mirror.meamod.com/tron | |
https://bodkov.com | |
) do ( call :try "%%H" && exit /b ) |
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
Outtaken voice lines heard in the audio commentary | |
--- a/south_park_unaired_pilot.txt | |
+++ b/south_park_unaired_pilot.txt | |
@@ 1:43 @@ Kick the baby. | |
Wahh! | |
-<silver shatter sound effect> | |
+<metal clonking sound effect> | |
@@ 5:56 @@ What am I supposed to do, Barbrady? | |
Just stand here and watch my | |
cattle get mutilated one by one? |
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
format PE64 console 3.1 | |
entry @f | |
include 'win64a.inc' | |
MAX_ITERATIONS = 100000000 | |
section '' import code data \ |
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 | |
# I'M ACTIVELY FORGETTING HOW MY OWN SCRIPT WORKS!!!!!!!!!!!!!! | |
[ $# -lt 2 ] && [[ ! "$1" == *[\*\?]* ]] && { | |
[ $# -eq 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' |
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
format PE64 console 3.1 | |
entry @f | |
include 'win64a.inc' | |
MAX_ITERATIONS = 100000000 | |
; 1kb EXE 1337 |
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
; wesley's prime number check in ARM | |
mov r0, #5 ; i | |
loop mov r1, #3 ; j | |
check mov r2, r0 ; modulo (cheap) | |
modl sub r2, r2, r1 | |
cmp r2, r1 | |
bhs modl ; r2 > r1 | |
cmp r2, #0 ; == 0 | |
beq fail ; then not prime | |
; continue |
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; |
NewerOlder