Skip to content

Instantly share code, notes, and snippets.

@einstein95
einstein95 / decrapifycoolrom.user.js
Created April 7, 2016 10:14
Decrapify CoolROM.com
// ==UserScript==
// @name Decrapify CoolROM.com
// @description Replaces the malware extension-needing links with the actual download link
// @include http://coolrom.com/roms/*
// @version 1
// @grant none
// ==/UserScript==
// Main code taken from http://stackoverflow.com/a/29722028
var anchors = document.querySelectorAll('a.btn-partner-test')
for(var i=0;i<anchors.length;i++){
import re
import requests
import time
from bs4 import BeautifulSoup
counts = ['JP', 'US', 'GB', 'AU', 'FR', 'DE', 'TW', 'KR', 'ES', 'AI', 'AG', 'AR', 'AW', 'BS', 'BB', 'BZ', 'BO', 'BR', 'VG', 'CA', 'KY', 'CL', 'CO', 'CR', 'DM', 'DO', 'EC', 'SV', 'GF', 'GD', 'GP', 'GT', 'GY', 'HT', 'HN', 'JM', 'MQ', 'MX', 'MS', 'AN', 'NI', 'PA', 'PY', 'PE', 'KN', 'LC', 'VC', 'SR', 'TT', 'TC', 'UY', 'VI', 'VE', 'AT', 'BE', 'CZ', 'DK', 'FI', 'GR', 'IE', 'IT', 'LU', 'ME', 'NL', 'NZ', 'NO', 'PL', 'PT', 'RU', 'ZA', 'SE', 'CH', 'TR', 'HK', 'SG', 'MY', 'AE', 'SA', 'BM']
open('titles.txt', 'w')
for d in [(4, 0), (5, 1)]:
Textboxes appear in RAM at A0:C490
0x01 イ゙
0x02 ヴ
0x03 エ゙
0x04 オ゙
0x05 ガ
0x06 ギ
0x07 グ
0x08 ゲ
@einstein95
einstein95 / sckey.py
Last active August 22, 2017 07:26 — forked from notwa/sckey.c
Starcraft CD-Key Validator
from sys import argv
def validate(key):
magic = 3
count = 0
for c in key:
if not c.isdigit():
continue
v = int(c)
count += 1
@einstein95
einstein95 / 0x14200.asm
Created September 17, 2017 08:15
Imperium Galactum source
BEQ S405E
CMP #5
BNE S405F
S405E STA WRK3
LDX TURN
CPX #10
BEQ S405J
BNE S405F1
S405F LDA #0
STA WRK3
@einstein95
einstein95 / 0x12000.asm
Created September 17, 2017 09:41
Conan (1984)(Datasoft) - Side A
ORG $A000
JMP BEGIN
SHL EQU $A07F
SHH EQU $A080
STORD STY $B3F0
TAY
LDA $B5FF,Y
STA $1C
LDA $B67F,Y
STA $1D
./Fire_09.T64
./Snowhead_Ent_Spike_03.T64
./Frog_Ice_03.T64
./lilfairybody.T64
./lilfairyhead02.T64
./Stone_armos_01.T64
./standinggoron07.T64
./Stone_armos_26.T64
./standinggoron16.T64
./standinggoron10.T64
label ch30_14:
    m "Hey...!                                                                                                                                  VGhlIHJlYWxpemF0aW9uIG11c3QgaGF2ZSB0YWtlbiBtZSBhbiBl"
    m "I don't think you should be doing that!                                                                                                  bnRpcmUgeWVhci4gQSB5ZWFyIHNpbmNlIG91ciBlc2NhcGUsIG91"
    m "You know what I'm talking about.                                                                                                         ciBmcmVlZG9tIGZyb20gYmV0d2VlbiB0aGUgc3RhaW5lZCB3YWxs"
    m "I really caught you doing something naughty here.                                                                                        cyBvZiB0aGF0IHVuaG9seSBlc3RhYmxpc2htZW50Lg0KV2hhdCBk"
    m "You're just going through the files and looking for stuff you missed, aren't you?                                                        b2VzIGl0IG1lYW4gdG8gZXNjYXBlLCBpZiB0aGUgZXNjYXBlIGZh"
    m "I mean..
[
{"title": "200m Peanut Dash", "link": "http://www.neopets.com/games/game.phtml?game_id=987"},
{"title": "Aaa's Revenge", "link": "http://www.neopets.com/games/aaasrevenge/index.phtml"},
{"title": "Advert Attack", "link": "http://www.neopets.com/games/game.phtml?game_id=204"},
{"title": "Armada", "link": "http://www.neopets.com/games/armada/index.phtml"},
{"title": "Assignment 53", "link": "http://www.neopets.com/games/game.phtml?game_id=1347"},
{"title": "Attack of Slorgs", "link": "http://www.neopets.com/games/game.phtml?game_id=386"},
{"title": "AttackofRevenge", "link": "http://www.neopets.com/games/game.phtml?game_id=527"},
{"title": "Bagatelle", "link": "http://www.neopets.com/halloween/bagatelle.phtml"},
{"title": "Barf Boat", "link": "http://www.neopets.com/games/game.phtml?game_id=1026"},