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
sm: https://github.com/LumaTeam/Luma3DS/tree/master/sysmodules/sm | |
fs: NA | |
pm: https://github.com/LumaTeam/Luma3DS/tree/master/sysmodules/pm | |
loader: https://github.com/LumaTeam/Luma3DS/tree/master/sysmodules/loader | |
pxi: https://github.com/LumaTeam/Luma3DS/tree/master/sysmodules/pxi | |
am: https://github.com/ZeroSkill1/3ds_am | |
camera: NA | |
cfg: https://github.com/luigoalma/3ds_cfg | |
codec: NA | |
dsp: NA |
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/env python3 | |
import os | |
""" | |
Cursed Code. | |
This code literally patches your kernel memory, proceed at your own risk. | |
Tested on Ubuntu 17.10 and Arch, x86_64. Should work on other distros, maybe even other architectures! |
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
local ffi = require 'ffi' | |
local BOOT_MAGIC = [[ANDROID!]] | |
local BOOT_MAGIC_SIZE = 8 | |
local BOOT_NAME_SIZE = 16 | |
local BOOT_ARGS_SIZE = 512 | |
local BOOT_EXTRA_ARGS_SIZE = 1024 | |
local t_buf = ffi.new("unsigned char[8]") |
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
var parser = document.createElement('a'); | |
parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
parser.protocol; // => "http:" | |
parser.hostname; // => "example.com" | |
parser.port; // => "3000" | |
parser.pathname; // => "/pathname/" | |
parser.search; // => "?search=test" | |
parser.hash; // => "#hash" | |
parser.host; // => "example.com:3000" |