- 基于文件batch ingestion支持压缩文件.gz格式
- intervals 时间区间 x/y 前闭后开 x <= n < y
- granularity设为week时,按周一~周日汇总,符合中国标准
- 跳过中间无数据的时间点,两头没有数据的不会自动添加时间点
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
//jweixin-1.0.0.js | |
! function(g, initFunc) { | |
'function' == typeof define && (define.amd || define.cmd) ? define(function() { | |
return initFunc(g) | |
}) : initFunc(g, true) | |
}(this, | |
function(glob, setGlobal) { | |
function invokeCmd(cmd, param, callbackObj) { | |
glob.WeixinJSBridge ? WeixinJSBridge.invoke(cmd, normParameter(param), function(res) { | |
completeBridgeInteraction(cmd, res, callbackObj); |
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
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) |
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
#!/usr/bin/python | |
# usage python unwxapkg.py filename | |
import sys,os | |
import struct | |
class WxapkgFile: | |
nameLen = 0 | |
name = "" |
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
- (void)viewDidLoad | |
{ | |
[super viewDidLoad]; | |
// init VPN manager | |
self.vpnManager = [NEVPNManager sharedManager]; | |
// load config from perference | |
[_vpnManager loadFromPreferencesWithCompletionHandler:^(NSError *error) { |
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
#!/bin/sh | |
## | |
## Usage: ./ovpn-writer.sh SERVER CA_CERT CLIENT_CERT CLIENT_KEY SHARED_SECRET > client.ovpn | |
## | |
server=${1?"The server address is required"} | |
cacert=${2?"The path to the ca certificate file is required"} | |
client_cert=${3?"The path to the client certificate file is required"} | |
client_key=${4?"The path to the client private key file is required"} |
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
3103: | |
—– BEGIN LICENSE —– | |
Michael Barnes | |
Single User License | |
EA7E-821385 | |
8A353C41 872A0D5C DF9B2950 AFF6F667 | |
C458EA6D 8EA3C286 98D1D650 131A97AB | |
AA919AEC EF20E143 B361B1E7 4C8B7F04 | |
B085E65E 2F5F5360 8489D422 FB8FC1AA | |
93F6323C FD7F7544 3F39C318 D95E6480 |
A running example of the code from:
http://marcio.io/2015/07/handling-1-million-requests-per-minute-with-golang http://nesv.github.io/golang/2014/02/25/worker-queues-in-go.html
I made a few adjustments to the code:
Use non-exported private methods Remove global variables
A running example of the code from:
- http://marcio.io/2015/07/handling-1-million-requests-per-minute-with-golang
- http://nesv.github.io/golang/2014/02/25/worker-queues-in-go.html
Small refactorings made to original code:
-
iOS 中的 UI 自适应 https://realm.io/cn/news/gotocph-sam-davies-adaptive-ui-ios/
-
2016中国Swift开发者大会的所有源文件 https://github.com/atConf/atswift-2016-resources
-
分析iOS UI的利器Reveal安装破解教程 http://www.jianshu.com/p/0cc7089143a3
-
Android屏幕适配方案,直接填写设计图上的像素尺寸即可完成适配,最大限度解决适配问题。 https://github.com/hongyangAndroid/AndroidAutoLayout
-
Hybrid APP架构设计思路 chemdemo/chemdemo.github.io#12