Skip to content

Instantly share code, notes, and snippets.

View foone's full-sized avatar

Foone Turing foone

View GitHub Profile
@foone
foone / chirp font urls.txt
Last active November 7, 2023 03:54
Filter for the new twitter font
https://abs.twimg.com/fonts/chirp-regular-web.woff
https://abs.twimg.com/fonts/chirp-bold-web.woff
https://abs.twimg.com/fonts/chirp-heavy-web.woff
https://abs.twimg.com/fonts/chirp-medium-web.woff
@foone
foone / licenses.txt
Last active July 28, 2022 07:51
Silverado Source Code Packages
######## 7zip-3.11 ########
######## HostAp_wpa_supplicant-hostapd-2.3-devel ########
######## Toms_Math_Library-0.10 ########
######## acl-2.2.52 ########
######## alsa-conf-base-1.0.27.2 ########
######## alsa-lib-1.0.27.2 ########
######## alsa-plugins-1.0.27 ########
######## alsa-states-0.2.0 ########
######## alsa-utils-1.0.27.2 ########
######## apple_lossless_audio_codec-oct_28_2011 ########
@foone
foone / sports.txt
Created May 13, 2021 20:48
A list of all sports
1ST PLACE
2020
2021
2ND PLACE
3RD PLACE
4H
5K
ACADEMIC
ACHIEVEMENT
AGRICULTURE
@foone
foone / dam.proto
Created March 1, 2021 17:14
The DAM 3D format of Matterport
// type i
message DAMFile {
repeated Chunk chunk = 1;
repeated QuantizedChunk quantized_chunk = 2;
}
// type "o"
message Chunk {
required Vertices vertices = 1;
required Faces faces = 2;
@foone
foone / tecmobowl.txt
Created December 2, 2020 16:12
The players of Tecmo Bowl
0 MATT BOUZA
1 PAT BEACH
2 ERIC DICKERSON
3 JACK TRUDEAU
4 BILL BROOKS
5 RON SOLT
6 RAY DONALDSON
7 BEN UTT
8 CHRIS HINTON
9 ALBERT BENTLEY
@foone
foone / fix-acronia-scores.py
Created November 17, 2020 00:56
A script to patch score values to Acronia 0.4
import array,os,struct
game_bin=array.array('B')
with open('ACRONIA.EXE','rb') as f:
f.seek(0,os.SEEK_END)
size=f.tell()
f.seek(0,os.SEEK_SET)
game_bin.fromfile(f,size)
OFFSETS=[
0x3aa3b,
@foone
foone / videonics.txt
Created October 24, 2020 03:29
IR remote codes (NEC protocol) for the Videonics remote control
POWER=812EB847
HELP=812E9867
1=812E807F
2=812EA05F
3=812E906F
4=812EB04F
5=812E8877
6=812E00FF
7=812E20DF
8=812E10EF
@foone
foone / rptimage.py
Created September 19, 2020 04:11
RPT decoder for Super Mario 64 RPT textures from Super Mario 3D All-Stars
# To use:
# 1. extract the NCAs from the NSP (I used NSCB)
# 2. extract the contents of 5977df9d4848858cbde157c6723dd1de.nca
# 3. inside 1 [romfs]\rom\Stardust_JP\Textures you'll find texture_pack.cpio. Extract it (I uzed 7zip)
# 4. run this python 2.7 script in the directory with all the .rpt files. It'll create a out folder containing all the PNGs
import struct,glob,os,zlib
from PIL import Image
OUTDIR='out'
@foone
foone / kiddyscancodes.txt
Last active September 10, 2020 02:04
Kiddie Keyboard scancodes
127 (nothing)
255 down
95 up
223 down up
119 right
63 down right
87 up right
215 down up right
63 left
191 down left
@foone
foone / gist:9b1ed60415afb2197315949ed1f888bc
Created July 19, 2020 01:59
Block twitter's trending sidebar
twitter.com##div[aria-label="Timeline: Trending now"]