top-1m.csv can be get it from alexa's website:
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
/** | |
* Bind generator with context preserved. | |
* @param {Generator} fn The generator | |
* @return {Generator} Generator with arguments bind. | |
*/ | |
var _bind = function (fn) { | |
var args = [].slice.call(arguments, 1); | |
return function * () { | |
var ir = fn.apply (this, args.concat.apply(args, arguments)); | |
var n; |
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
(function (window, document) { | |
if (!window.ga) window.ga = function () {}; | |
function getContent (url, cbSuccess, cbFail) { | |
var req = new XMLHttpRequest(); | |
req.open ('GET', url); | |
req.onload = cbSuccess && cbSuccess.bind(req); | |
req.onerror = cbFail && cbFail .bind(req); | |
req.send (); | |
}; |
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
// FakeLib.cpp : Defines the exported functions for the DLL application. | |
// | |
#include <windows.h> | |
#include "FakeLib.h" | |
int __stdcall _NT3DESCBCDecrypt(char* vi, char* pDataBuffer, int length) | |
{ | |
return 0; | |
} |
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
format PE GUI 4.0 DLL | |
entry DllMain | |
include 'win32ax.inc' | |
section '.text' code readable executable | |
; 入口函数 | |
proc DllMain hinstDLL,fdwReason,lpvReserved | |
mov al, 1 | |
ret |
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
/*! MIT License: (C)opyright Jixun<http://jixun.org/> */ | |
// Usage: | |
// gist:JixunMoe/cd168a63b7c5a1cc3d93 | |
(function (window, document) { | |
addEventListener('DOMContentLoaded', main, false); | |
function createGistLink (gist) { | |
return create('a', { | |
href: 'https://gist.github.com/' + gist, |
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
// 简易 Ajax 函数 | |
// MIT License, Jixun.Moe | |
(function (global) { | |
var _export = { | |
ajax: $ajax, | |
post: $post, | |
get: $get | |
}; |
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
import socket | |
import random | |
import sys | |
import re | |
server = "irc.freenode.net" # Server | |
channel = "#cs-york-dev2" # Channel | |
botnick = "game_1A2B" # Your bots nick | |
# Convert string to bytes |
合并 NTR CFW 在 3DS 截图产生的 top_xxxx.bmp
与 bot_xxxx.bmp
至一个文件。
详细阅读:Jixun.Moe
控制台/终端 执行 convert -version
能输出 ImageMagick 的信息。
如果没有,请:
- Windows 用户请执行
SET "PATH=DIR_TO_IMAGEMAGICK;%PATH%"
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
; ROM 位置: 012B78 (04:AB68) | |
; 原始函数: LoadNextChar | |
; LoadNextChar (01180D / 04:97FD): JMP AB68 | |
.org $AB68 | |
; LoadNextChar | |
; 04,AB68 | |
; byte[0043] 等待帧数, 如果不是 0 则跳出 |