Skip to content

Instantly share code, notes, and snippets.

View wfjsw's full-sized avatar

Jianshu Wang wfjsw

View GitHub Profile
// ARTIFACT ///////////////////////////////////////////////////////
// added as part of the ingress #13magnus in november 2013, artifacts
// are additional game elements overlayed on the intel map
// currently there are only jarvis-related entities
// - shards: move between portals (along links) each hour. more than one can be at a portal
// - targets: specific portals - one per team
// the artifact data includes details for the specific portals, so can be useful
// 2014-02-06: intel site updates hint at new 'amar artifacts', likely following the same system as above
@wfjsw
wfjsw / dnspodsh.sh
Last active January 20, 2017 12:49 — forked from zrong/dnspodsh.sh
在bash中使用DNSPod的API接口实现DDNS客户端
#!/bin/bash
##############################
# dnspodsh v0.3
# 基于dnspod api构架的bash ddns客户端
# 作者:zrong(zengrong.net)
# 详细介绍:http://zengrong.net/post/1524.htm
# 创建日期:2012-02-13
# 更新日期:2012-03-11
##############################
@wfjsw
wfjsw / bypass_mk_ad.meta.js
Last active December 30, 2017 09:39
Bypass Mokee Download Advertisement
// ==UserScript==
// @name Bypass Mokee Ad
// @namespace http://jsw3286.eu.org/
// @version 0.2.1
// @updateURL https://gist.github.com/wfjsw/e277bf480f02fcde07c747491f5e1336/raw/bypass_mk_ad.meta.js
// @downloadURL https://gist.github.com/wfjsw/e277bf480f02fcde07c747491f5e1336/raw/bypass_mk_ad.user.js
// @description Bypass Mokee Advertisement
// @author Jabasukuriputo Wang
// @match https://download.mokeedev.com/download.php
// ==/UserScript==
@wfjsw
wfjsw / tracker-proxy.js
Created October 7, 2016 03:22
Simple Forward Proxy for BitTorrent Tracker.
'use strict';
const http = require('http');
const qs = require('querystring')
const url = require('url');
const util = require('util')
const request = require('request')
var ip;
@wfjsw
wfjsw / openpgp.txt
Created July 14, 2016 10:33
OpenKeychain 关联用户标识
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:ed6cd4003fd31924f498526a6103c0b5b30c2d56]
@wfjsw
wfjsw / openpgp.txt
Created July 14, 2016 10:33
OpenKeychain 关联用户标识
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:ed6cd4003fd31924f498526a6103c0b5b30c2d56]
@wfjsw
wfjsw / proxy.js
Last active October 21, 2017 04:54
Websocket to CONNECT middleware. Obsolete. Please check out https://github.com/wfjsw/madproxy
const http = require('http');
const net = require('net');
const url = require('url');
var proxy = http.createServer( (req, res) => {
res.writeHead(400, {'Content-Type': 'text/plain'});
res.end('400 Bad Request');
});
var processsocket = (req, cltSocket, head) => {
@wfjsw
wfjsw / flood.js
Last active June 12, 2016 14:52
Add random credentials to a forging apple site inc-apple-id.com
'use strict';
var http = require('http');
var util = require('util');
var querystring = require('querystring');
function generateEmail() {
@wfjsw
wfjsw / file
Last active February 9, 2017 15:15
freedom_public
{"0.5728397992344809":"-----BEGIN PGP PUBLIC KEY BLOCK-----\r\nCharset: UTF-8\r\n\r\nxv8AAABSBAAAAAATCCqGSM49AwEHAgME9RKnzBqRkad7zJIS7T7tqT6fDgV5EN8k\r\nrhrHQf8H8P5b/TnHgtPDQPdSJv7OhJGp7j0h94BDP6+YeGNTPMkWKs3/AAAACDxn\r\naXRodWI+wv8AAACNBBATCAA//wAAAAWCVv6SQ/8AAAACiwn/AAAACZBEMyQDOEpq\r\nbv8AAAAFlQgJCgv/AAAAA5YBAv8AAAACmwP/AAAAAp4BAADOXwEA0uYHlvKDeRNZ\r\n5z3+KYVkxKBEkHIcp6jNBCRjRgq6TVsBALw1+im3AVcSb8MDXP/lj3ml3YtXLvAG\r\nOEfR8YbvGC5xzv8AAABWBAAAAAASCCqGSM49AwEHAgMEiTIv2LH6aLXhAht71Xz4\r\n2508k8/kHKTBxEHQ/1qO7wo4wjA6wgLYkJCfGJlSVPf8R7MXWoR+aPkijwH0QoUS\r\nCwMBCAfC/wAAAG0EGBMIAB//AAAABYJW/pJD/wAAAAmQRDMkAzhKam7/AAAAApsM\r\nAACmrwD9GL4A53BADZF23HV2xJfPYJt3tgtTjP0BPcz9a0o/RwYBAP9QWRe2dtHR\r\ncKDp6ZfqY/fKoQbcC8riV48TcubtoLdi\r\n=04ee\r\n-----END PGP PUBLIC KEY BLOCK-----\r\n","0.5973527891829564":"-----BEGIN PGP PUBLIC KEY BLOCK-----\r\nCharset: UTF-8\r\n\r\nxv8AAABSBAAAAAATCCqGSM49AwEHAgME9RKnzBqRkad7zJIS7T7tqT6fDgV5EN8k\r\nrhrHQf8H8P5b/TnHgtPDQPdSJv7OhJGp7j0h94BDP6+YeGNTPMkWKs3/AAAACDxn\r\naXRodWI+wv8AAACNBBATCA
此API KEY为 Weico.Android 的API。复制后粘贴到BL的自定义API对话框的任意一个框框内即可(开头结尾不要带空格之类的,如果没反应,尝试将光标移到最后删除最后的不可见字符)
SSMjExMTYwNjc5OjoxZTZlMzNkYjA4ZjkxOTIzMDZjNGFmYTBhNjFhZDU2Yzo6aHR0cDovL29hdXRoLndlaWNvLmNjOjplbWFpbCxkaXJlY3RfbWVzc2FnZXNfcmVhZCxkaXJlY3RfbWVzc2FnZXNfd3JpdGUsZnJpZW5kc2hpcHNfZ3JvdXBzX3JlYWQsZnJpZW5kc2hpcHNfZ3JvdXBzX3dyaXRlLHN0YXR1c2VzX3RvX21lX3JlYWQsZm9sbG93X2FwcF9vZmZpY2lhbF9taWNyb2Jsb2csaW52aXRhdGlvbl93cml0ZTo6Y29tLmVpY28ud2VpY286OkVFEE