Skip to content

Instantly share code, notes, and snippets.

View DinoZhang's full-sized avatar

DinoZhang DinoZhang

  • hangzhou
View GitHub Profile
@DinoZhang
DinoZhang / fu**-doc
Last active September 8, 2018 13:31
$(".aside").remove();
$("#doc #hd").remove();
$(".crubms-wrap").remove();
$(".user-bar").remove();
$("#doc-header").remove();
127.0.0.1 localhost
127.0.0.1 XiaoQiang
127.0.0.1 de.pandora.xiaomi.com
127.0.0.1 mishop.pandora.xiaomi.com
127.0.0.1 auth.api.gitv.tv
127.0.0.1 misc.pandora.xiaomi.com
127.0.0.1 tvapi.kuyun.com
127.0.0.1 data.mistat.xiaomi.com
127.0.0.1 tv.aiseet.atianqi.com
127.0.0.1 vv.play.aiseet.atianqi.com
var CryptoJS = require('crypto-js')
var request = require('request-promise')
/*
* npm install crypto-js request-promise
* node wx_t1t_hack.js
*/
// export function testEncription(msg, fullKey) {
// var fullKey = fullKey.slice(0, 16)
@SuppressWarnings("unchecked")
public static void main(String[] args) throws ExecutionException, InterruptedException, TimeoutException {
final ThreadLocal<String> test = new ThreadLocal<>();
int i =1;
//ExecutorService executorService = Executors.newSingleThreadExecutor();
// ExecutorService executorService = Executors.newCachedThreadPool();
//ExecutorService executorService = Executors.newFixedThreadPool(10);
ExecutorService executorService = Executors.newScheduledThreadPool(10);
// while (i <= 100) {
// Future future = executorService.submit(new Runnable() {