Skip to content

Instantly share code, notes, and snippets.

View wfjsw's full-sized avatar

Jianshu Wang wfjsw

View GitHub Profile
@wfjsw
wfjsw / gist:706431ba4c62d8f52ef9
Created February 21, 2015 13:56
not working script for bilibili 22 and 33.
if(typeof jQuery!='undefined') {
void(0);
} else {
var s=document.createElement('script');
s.setAttribute('src','http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js');
document.getElementsByTagName('head')[0].appendChild(s);
}
$(s).ready(function(){
$.ajaxSetup({async: false});
$.getScript("http://static.hdslb.com/js/page.arc.js");
@wfjsw
wfjsw / patch.diff
Created April 11, 2015 14:38
Chinese Support Patch for CachetHQ/Cachet
diff --git a/app/config/langs.php b/app/config/langs.php
index e6814ee..1ac453c 100644
--- a/app/config/langs.php
+++ b/app/config/langs.php
@@ -9,6 +9,7 @@ return [
'es' => 'Español',
'fr' => 'Français',
'pt-BR' => 'Portuguese, Brazilian',
- 'zh-Hant' => 'Chinese (Traditional)',
- 'zh-Hans' => 'Chinese (Simplified)',
alternatives --install /usr/bin/java java /usr/java/jdk1.8.0_45/bin/java 1000 --slave /usr/bin/appletviewer appletviewer /usr/java/jdk1.8.0_45/bin/appletviewer --slave /usr/bin/ControlPanel ControlPanel /usr/java/jdk1.8.0_45/bin/ControlPanel --slave /usr/bin/extcheck extcheck /usr/java/jdk1.8.0_45/bin/extcheck --slave /usr/bin/idlj idlj /usr/java/jdk1.8.0_45/bin/idlj --slave /usr/bin/jar jar /usr/java/jdk1.8.0_45/bin/jar --slave /usr/bin/jarsigner jarsigner /usr/java/jdk1.8.0_45/bin/jarsigner --slave /usr/bin/javac javac /usr/java/jdk1.8.0_45/bin/javac --slave /usr/bin/javadoc javadoc /usr/java/jdk1.8.0_45/bin/javadoc --slave /usr/bin/javafxpackager javafxpackager /usr/java/jdk1.8.0_45/bin/javafxpackager --slave /usr/bin/javah javah /usr/java/jdk1.8.0_45/bin/javah --slave /usr/bin/javap javap /usr/java/jdk1.8.0_45/bin/javap --slave /usr/bin/javapackager javapackager /usr/java/jdk1.8.0_45/bin/javapackager --slave /usr/bin/javaws javaws /usr/java/jdk1.8.0_45/bin/javaws --slave /usr/bin/jcmd jcmd /usr/java/jdk1.
@wfjsw
wfjsw / keybase.md
Last active August 29, 2015 14:26
Keybase Identity Proof

Keybase proof

I hereby claim:

  • I am wfjsw on github.
  • I am wfjsw (https://keybase.io/wfjsw) on keybase.
  • I have a public key whose fingerprint is D891 16B0 B8FC 458D 6468 22F5 B507 CB85 EAF4 0255

To claim this, I am signing this object:

叶神月vs.王启超 撕逼战全解

原文

####【Round 1】

叶神月:你南书记市长一锅端

典故1:原南京市委书记杨卫泽双规(政治)
典故2:原南京市长季建业被双规(政治)

@wfjsw
wfjsw / GUIDELINE.md
Last active August 30, 2015 00:33
开源软件匿名开发规范

开源软件匿名开发规范 - Revision 2

准备工作

  1. 一个与自己没有任何关联的国外邮箱,建议使用outlook或gmail。
  2. (如果需要)Bitbucket或GitLab.com账号一枚,或者内网开git,或者不用远端。

具体操作

  1. 有条件的情况下开设新的虚拟机,在虚拟机中开发,虚拟机建议*nix操作系统
/*(´・ω・`)情人节是什么,能吃吗?*/
/*
* b2233V.dialog(txt) 可以让2233娘说话哦 (´・ω・`)
* var fff = b2233V.create(); fff.init(type, pos) 可以继续召唤2233娘哦 (´・ω・`) // type:"22" || "33", pos:{top:y,left:x}
*/
(function(d, b) {
function e() {
this.gf = null;
this.characters = {
22: {
@wfjsw
wfjsw / openpgp.txt
Created November 6, 2015 15:59
OpenKeychain API Tests
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:d89116b0b8fc458d646822f5b507cb85eaf40255]
此API KEY为 Weico.Android 的API。复制后粘贴到BL的自定义API对话框的任意一个框框内即可(开头结尾不要带空格之类的,如果没反应,尝试将光标移到最后删除最后的不可见字符)
SSMjExMTYwNjc5OjoxZTZlMzNkYjA4ZjkxOTIzMDZjNGFmYTBhNjFhZDU2Yzo6aHR0cDovL29hdXRoLndlaWNvLmNjOjplbWFpbCxkaXJlY3RfbWVzc2FnZXNfcmVhZCxkaXJlY3RfbWVzc2FnZXNfd3JpdGUsZnJpZW5kc2hpcHNfZ3JvdXBzX3JlYWQsZnJpZW5kc2hpcHNfZ3JvdXBzX3dyaXRlLHN0YXR1c2VzX3RvX21lX3JlYWQsZm9sbG93X2FwcF9vZmZpY2lhbF9taWNyb2Jsb2csaW52aXRhdGlvbl93cml0ZTo6Y29tLmVpY28ud2VpY286OkVFEE
@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