Skip to content

Instantly share code, notes, and snippets.

View michilu's full-sized avatar

ENDOH takanao michilu

  • JAPAN
View GitHub Profile
@michilu
michilu / amazon-calc.js
Created February 22, 2016 23:30 — forked from koyopro/amazon-calc.js
Amazonで一年間に使った金額と、注文履歴のTSVを出力するブックマークレット【2015年版】
// Amazonの注文履歴をTSV形式で出力するスクリプト
//
// 2015-01-01 時点での DOM 構造に対応, GoogleCrome, Opera でテスト済。
// formatEntry関数を書き換えれば自由な書式で出力できます。
//
// 参考:
// - Amazonの注文履歴をCSV形式にして出力するスクリプト
// https://gist.github.com/arcatdmz/8500521
// - Amazon で使った金額の合計を出す奴 (2014 年バージョン)
// https://gist.github.com/polamjag/866a8af775c44b3c1a6d
@michilu
michilu / functools_timeit.py
Created October 12, 2012 00:04 — forked from kumagi/lru.py
python lru benchmarks
#!/usr/bin/env python
from functools32 import lru_cache
from time import time
import random
import sys
def benchtime(fn):
oldtime = time()
fn()
return time() - oldtime
sudo mkdir /Users/Shared/Jenkins/Home
sudo chown daemon:daemon /Users/Shared/Jenkins
sudo chown daemon:daemon /Users/Shared/Jenkins/Home
sudo chmod g+w /Users/Shared/Jenkins
sudo chmod g+w /Users/Shared/Jenkins/Home