Skip to content

Instantly share code, notes, and snippets.

View 123Daoxyz's full-sized avatar

Daoxyz 123Daoxyz

  • null
  • LA@USA
View GitHub Profile
@123Daoxyz
123Daoxyz / bench.sh
Created January 31, 2019 17:05 — forked from TimothyYe/bench.sh
Bench test script
#!/usr/bin/env bash
#
# Description: Auto test download & I/O speed script
#
# Copyright (C) 2015 - 2016 Teddysun <i@teddysun.com>
#
# Thanks: LookBack <admin@dwhd.org>
#
# URL: https://teddysun.com/444.html
#
@123Daoxyz
123Daoxyz / 0_reuse_code.js
Created February 4, 2017 02:26
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@123Daoxyz
123Daoxyz / futures_test.py
Created October 24, 2015 09:06 — forked from lbolla/futures_test.py
Tornado and concurrent.futures
from concurrent.futures import ThreadPoolExecutor
from functools import partial, wraps
import time
import tornado.ioloop
import tornado.web
EXECUTOR = ThreadPoolExecutor(max_workers=4)