Skip to content

Instantly share code, notes, and snippets.

View uyjulian's full-sized avatar

Julian Uy uyjulian

View GitHub Profile
2015-04-03 09:18:48 -0500
./configure
--prefix=/usr/local/Cellar/wine/1.7.40
--without-mpg123
checking build system type... x86_64-apple-darwin14.1.0
checking host system type... x86_64-apple-darwin14.1.0
checking whether make sets $(MAKE)... yes
checking for gcc... clang

Check Lua code (scroll) for decoding/encoding code
I'm using content/fonts/head.mesh as a reference point. Offset 0x0 to 0x11 starts with:
version 2.00
then these bytes:
0A 0C 00 24 0C
Offsets 0x11 to 0x19 might be two little-endian unsigned 32-bit integers.
The first integer to calculate offset starting at 0x19:
x * 4 * 9
that is the length of the mesh data...

--Somewhat simple Lua crypto
--Give thanks to Nolicaiks/RPFeltz
--Nonfree license
function Decrypt(message, key)
local message_length = #message
local key_length = #key
local random_seed = 0
local g = 0
local message_index = 1
local message_bytes = {}

PS2 BIOS/ROM Contents

Here is an overview of what is contained in a PS2 ROM (including TOOL, DESR/PSX, ps2emu/ps2gxemu/ps2softemu (PS3), System 246 and System 256).
An updated version is available here: https://www.psdevwiki.com/ps2/index.php?title=Bios

Outdated information! ## Contributors SP193

Files

@uyjulian
uyjulian / README.md
Last active January 21, 2017 06:53
Random journals from some random notebook

Random journals from some random notebook

All files in this gist are released under CC0.
I used the HCSB 2nd edition as reference, however it isn't quoted here because HCSB is copyrighted.

--This script grabs shit from renweb
--You can run this script at an interval (example: 30 seconds) to log every 30 seconds
--After that you can pack the log directory with zpaq or other archiver
--example:
--while true; do moon printstatus.moon; zpaq a /mnt/torrents3/log.zpaq log; sleep 30; done
--i wrote this script hastily, so it looks ugly right now
--password form: https://xxxxxxx.client.renweb.com/pw/index.cfm
--form data: DistrictCode=xxxxxxx&username=redacted&password=redacted&UserType=PARENTSWEB-STUDENT&login=Login
init python:
import sys, os, subprocess
def launch(path):
# Find the python executable to run.
executable_path = os.path.dirname(sys.executable)
if renpy.renpy.windows:
extension = ".exe"
//originally from: http://textuploader.com/07bg/raw
new (function() {
var ext = this;
// Cleanup function when the extension is unloaded
ext._shutdown = function() {};
// Status reporting code
// Use this to report missing hardware, plugin or unsupported browser
ext._getStatus = function() {