I hereby claim:
- I am aisk on github.
- I am anlong (https://keybase.io/anlong) on keybase.
- I have a public key whose fingerprint is C4E2 173B B832 30C4 09DE 231B F255 FA74 1D8D 0FD6
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"fmt" | |
"strconv" | |
"unsafe" | |
) | |
const ( | |
typeInt = iota |
package main | |
import ( | |
"net/http" | |
"net/http/pprof" | |
"github.com/aisk/vox" | |
) | |
func main() { |
04db446f5fe1dfd66b4f17e2063484ed4b33e22c3a71c49dc667143e8d26766dfdee8531eef317599b56e5ff48a584b6d2dfdd7887fb3c2980b18b3206aa2f1c91 feisuzhu |
extern crate bytes; | |
extern crate futures; | |
extern crate tokio_io; | |
extern crate tokio_proto; | |
extern crate tokio_service; | |
use std::io; | |
use std::str; | |
use bytes::BytesMut; | |
use futures::{future, Future}; |
package main | |
import ( | |
"fmt" | |
"time" | |
"github.com/aisk/vox" | |
) | |
func timeit(ctx *vox.Context, next func()) { |
import sys | |
import time | |
import asyncio | |
import websockets | |
from datetime import datetime | |
last_connect_time = datetime.now() | |
@asyncio.coroutine |
#! /usr/bin/env python2.7 | |
import os | |
import subprocess | |
import sys | |
import tempfile | |
def is_skipped_folder(cpython_repo, path): | |
skipped_folders = [ |
AV.Cloud.define('loginWeApp', function(request, response) { | |
var WX_APP_ID = 'WX_APP_ID' | |
var WX_SECRET = 'WX_SECRET'; | |
var code = request.params.code; | |
var signature = request.params.signture; | |
var rawData = request.params.rawData; | |
var userInfo = JSON.parse(rawData); | |
var openid, user; |
var fs = require('fs'); | |
var router = require('express').Router(); | |
var heapdump = require('heapdump'); | |
var AV = require('leanengine'); | |
router.post('/snapshot', function(req, res, next) { | |
var name = 'dump_' + Date.now() + '.heapsnapshot'; | |
heapdump.writeSnapshot('/tmp/' + name, function(err, filename) { | |
if(err) { | |
return next(err); |