Skip to content

Instantly share code, notes, and snippets.

View journey-ad's full-sized avatar
🍭
关注嘉然,顿顿解馋

Jad journey-ad

🍭
关注嘉然,顿顿解馋
View GitHub Profile
@journey-ad
journey-ad / SMBDIS.ASM
Created January 23, 2018 11:59 — forked from 1wErt3r/SMBDIS.ASM
A Comprehensive Super Mario Bros. Disassembly
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY
;by doppelganger (doppelheathen@gmail.com)
;This file is provided for your own use as-is. It will require the character rom data
;and an iNES file header to get it to work.
;There are so many people I have to thank for this, that taking all the credit for
;myself would be an unforgivable act of arrogance. Without their help this would
;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into
;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no
@journey-ad
journey-ad / ImageVector.cs
Created October 26, 2017 05:32 — forked from ksasao/ImageVector.cs
C#による高速画像一致検索クラス。フル版は https://github.com/ksasao/Gochiusearch にあります。
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
@journey-ad
journey-ad / bilibili_api.lua
Created June 15, 2017 11:34 — forked from mimosa/bilibili_api.lua
B站 api key 规则,每3小时轮换一个 :(
function string.fh(str)
return (str:gsub('..', function (cc)
return string.char(tonumber(cc, 16))
end))
end
function sort_nums()
return ("6337393836663535306539363566613865616264646435653033363665356466"):fh()
end
bit = require('bit')