Skip to content

Instantly share code, notes, and snippets.

View thejsa's full-sized avatar
Up to shenanigans

Eva Lauren Kelly thejsa

Up to shenanigans
View GitHub Profile
/*----------------------------------------------------------------------------*/
/*-- blz.c - Bottom LZ coding for Nintendo GBA/DS --*/
/*-- Copyright (C) 2011 CUE --*/
/*-- --*/
/*-- This program is free software: you can redistribute it and/or modify --*/
/*-- it under the terms of the GNU General Public License as published by --*/
/*-- the Free Software Foundation, either version 3 of the License, or --*/
/*-- (at your option) any later version. --*/
/*-- --*/
/*-- This program is distributed in the hope that it will be useful, --*/
"use strict";
var fartscroll = (function () {
var mp3 = {
prefix: "data:audio/mp3;base64,",
sound: [
"SUQzAwAAAAALClRJVDIAAABkAAAAAAAAAGQgRWZmZWN0cyAtIENvbWVkeS9DYXJ0b29uIEZBUlQgV0lUSCBHT09EIEVORElORzogU3RhcnRzIGJpZyBhbmQgbG91ZCwgZW5kcyB3aXRoIGEgYmFzaWMgJ3BycnQnVFBFMQAAADQAAABEb3dubG9hZCBTb3VuZCBFZmZlY3RzIC0gU291bmREb2dzIC0gQmpvcm4gTHlubmUgRlhUQUxCAAAAGQAAAGh0dHA6Ly93d3cuU291bmRkb2dzLmNvbVRSQ0sAAAACAAAAMFRZRVIAAAAFAAAAMjAwN1RDT04AAAAcAAAAU0ZYIC0gQ2FydG9vbnM7IEh1bWFucyBGYXJ0Q09NTQAAAC8AAABlbmcAUm95YWx0eSBGcmVlIFNvdW5kIEVmZmVjdHMgLSBTb3VuZGRvZ3MuY29tVENPTQAAAAEAAABXWFhYAAAAGgAAAABodHRwOi8vd3d3LlNvdW5kZG9ncy5jb21URU5DAAAAAQAAAFRDT1AAAAAsAAAAKGMpIDIwMTAgU291bmRkb2dzLmNvbSwgQWxsIFJpZ2h0cyBSZXNlcnZlZFRPUEUAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
http://www.speedtest.net/result/5703517213.png
<a href="http://www.speedtest.net/my-result/5703517213"><img src="http://www.speedtest.net/result/5703517213.png" /></a>
[URL=http://www.speedtest.net/my-result/5703517213][IMG]http://www.speedtest.net/result/5703517213.png[/IMG][/URL]
http://www.speedtest.net/my-result/5703517213

Keybase proof

I hereby claim:

  • I am thejsa on github.
  • I am jskelly (https://keybase.io/jskelly) on keybase.
  • I have a public key whose fingerprint is BD29 6A8D 5936 6C9D CAEC 5948 C8D1 75FE EA77 2DB8

To claim this, I am signing this object:

@thejsa
thejsa / ERR_INTERNET_DISCONNECTED.html
Created October 28, 2016 17:17
Chrome's ERR_INTERNET_DISCONNECTED page (aka the T-rex game)
<html i18n-values="dir:textdirection;lang:language" dir="ltr" lang="en" i18n-processed=""><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0,
maximum-scale=1.0, user-scalable=no">
<title i18n-content="title">chrome://network-error/-106</title>
<style>/* Copyright 2014 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. */
a {
@thejsa
thejsa / gist:795e93328c6c039541a3b8510748de9c
Created October 28, 2016 22:27
Full output of exception_dump_parser.py on my crash dump trying to load my version of the N3DS Internet Browser with modified RomFS.
Processor: ARM11 (core 1)
Exception type: prefetch abort (svcBreak: assertion failed)
Current process: loader (0000000000000000)
Register dump:
r0 00000001 r1 fff8f0dc
r2 fff8ee30 r3 fff9b4e8
r4 00000001 r5 e0c046f8
r6 00000000 r7 1ff83000
@thejsa
thejsa / wifi-extender-lighttpd.conf
Created November 23, 2016 21:37
lighttpd.conf from my SilverCrest (Lidl) WiFi Range Extender
# lighttpd configuration file
#
# use it as a base for lighttpd 1.0.0 and above
#
# $Id: lighttpd.conf,v 1.7 2004/11/03 22:26:05 weigon Exp $
############ Options you really have to take care of ####################
## modules to load
# at least mod_access and mod_accesslog should be loaded
thejsa#7237 is me.
/*
* binaryadd.cpp (C++11)
* Adds two numbers and returns the results in hexadecimal
* Usage: binaryadd <0xHEX|0octal|decimal> <0xHEX|0octal|decimal>
*
* Copyright © 2017 thejsa <https://github.com/thejsa>
*
* This program is free software. It comes without any warranty, to
* the extent permitted by applicable law. You can redistribute it
* and/or modify it under the terms of the Do What The Fuck You Want
<?php
/* Xbox 360 Xval Decryption
* Ported to PHP (from C#) by Brandon Wilson
* Ported to C# (from...something) by CLK
* Original code by Redline99: http://www.xboxhacker.org/index.php?topic=16401.msg125000#msg125000
*/
function decryptXValue($serial, $xval)
{
$deskey = @substr(@hash_hmac("sha1", "XBOX360SSB", $serial."\0", TRUE), 0, 8);