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
/************************ need js lib *********************************** | |
// https://raw.githubusercontent.com/SheetJS/js-xlsx/master/dist/xlsx.core.min.js | |
// https://raw.githubusercontent.com/SheetJS/js-xls/master/dist/xls.core.min.js | |
// https://raw.githubusercontent.com/gkindel/CSV-JS/master/csv.js | |
************************************************************************/ | |
//upload file | |
function handleKVFile(e) { | |
var files = e.target.files; | |
var i,f; |
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
#coding=utf8 | |
import uvent | |
uvent.install() | |
import gevent | |
from gevent import monkey | |
monkey.patch_all()# must patch first, then from gevent import sth else | |
from gevent.threadpool import ThreadPool | |
import time | |
import rethinkdb as r |
NewerOlder