Skip to content

Instantly share code, notes, and snippets.

View tcdw's full-sized avatar
😵
啊啊啊啊啊啊啊啊(

tcdw tcdw

😵
啊啊啊啊啊啊啊啊(
View GitHub Profile
@tcdw
tcdw / bloodmoon.md
Created March 24, 2017 08:57
喵窝血月 by Matcles

by Matcles

风暴的精华,暴风雪之心,凤凰的灵魂,Invoker - 加奈子将他支配的元素跨入了血月之中,她将元素熔合成为致命的咒语,在狂怒中撕裂天空,她的奥法无穷无尽,整个世界都将因为她而颤抖。

笑容背后隐藏着无尽的悲伤,自二零一七年二月十九日那天以来。整个喵窝都陷入了一种迷信召唤黑化的风俗,而最强的……呼风唤雨无所不能。

Tree 也不例外,坚信着奥法可以帮助自己走出非洲。在他们的眼里,有一个永远的屹立在了血月的那么一个身影,供后世的玩家所敬仰。

自此,这个剑与魔法和 bug 的世界就要掀起一番巨大的风波,无数的强者要在血月中得到满足。

@tcdw
tcdw / snes9x_split700_fix.js
Created February 3, 2017 06:48
Fix SPCs dumped via Snes9x for split700
#!/usr/bin/env nodejs
/*
Fix SPCs dumped via Snes9x for split700
This script will let you avoid split700's bug and dump BRRs properly.
Just put the script into your SPC folder, this scrpit will scan and fix all SPCs in the folder.
(Node.js is required)
This script is in the public domain.
#!/usr/bin/env nodejs
// DelogX (github.com/deluxghost/DelogX) Auto Upgrader
// By tcdw (github.com/tcdw)
// Released under The 3-Clause BSD License
var fs = require("fs");
var path = require('path');
var branch = 'master';
var dlxpath = path.resolve('/opt/delogx');
@tcdw
tcdw / jiancha.js
Last active July 7, 2016 00:39
Illegal Alphabet Checker
#!/usr/bin/env node
var content = process.argv[process.argv.length - 1];
if (content == process.title) {
console.log("Usage: " + process.title + " <content>");
process.exit();
} else {
var illegalAlphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".split("");
illegalAlphabet.forEach(function(alphabet) {
@tcdw
tcdw / Lingoys-zao.html
Created April 29, 2016 02:30
Lingoys 早!
<!--
Lingoys!Art 问候语
by tcdw (吐槽大王)
WTFPL
-->
<div id="info" style="background-color: #000"></div>
<script>
var hello = "Lingoys 早!".split("");
var output = "";
for (var i in hello) {
@tcdw
tcdw / nintspc_opt.js
Last active April 9, 2016 13:36
NintSPC TXT Optimizer
// NintSPC TXT Optimizer by tcdw
// FreeBSD License
var fs = require('fs');
var fileName = "card-33.txt";
var panfix = false; // Fix Pannings for Kirby series SPC?
var smw = false; // Fix Drums calling for SMW SPC?
var scanInst = true; // Scan used instruments and drums and remove unused things?
var delAllComments = true; // Delete all comments?