Skip to content

Instantly share code, notes, and snippets.

in life

kurehajime kurehajime

in life
Block or report user

Report or block kurehajime

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
kurehajime / makefile
Last active Dec 19, 2016
make file for Go
View makefile
go get
go test
rm -rf ./_obj
gox -output "_obj/{{.OS}}_{{.Arch}}/{{.Dir}}" ./...
mv ./_obj/darwin_386 ./_obj/macos_386
mv ./_obj/darwin_amd64 ./_obj/macos_amd64
-find ./_obj \! -name "*.zip" -type d -exec zip -r -j {}.zip {} \; -exec rm -R -d {} \;
kurehajime /
Last active Sep 3, 2015
ディレクトリは以下を個別に圧縮 //
find . \! -name "*.zip" -type d -exec zip -r -j {}.zip {} \; -exec rm -R -d {} \;
View gist:ba2cacb30b5c446cac65
gox -output "bin/{{.OS}}_{{.Arch}}/{{.Dir}}"
kurehajime / abface.html
Created Dec 19, 2013
ABテストで顔をモンタージュしてみる ref:
View abface.html
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="//"></script>
#canv1,#canv2 {
border: solid 3px #000;
border-radius: 25px 25px 25px 25px / 25px 25px 25px 25px;
kurehajime / vschart.html
Created Dec 15, 2013
犬派と猫派の勢力図をGoogleChartAPIでグラフ化して決着をつける ref:
View vschart.html
<body style="">
<meta charset="UTF-8"></meta>
<link rel="stylesheet" href="" />
<script type="text/javascript" src=""></script>
kurehajime / markov.html
Created Dec 14, 2013
はてブのホッテントリのタイトルを要約してWebの今を見つめる ref:
View markov.html
<body style="">
<meta charset="UTF-8">
<link rel="stylesheet" href="" />
View file0.txt
1,000 円札:1枚
100  円玉:3枚
10   円玉:1枚
1   円玉:1枚
kurehajime / file2.txt
Created Dec 10, 2013
秒速でねこ画像を集めてネコヒルズ族を目指す ref:
View file2.txt
$ sudo pip install httplib2
kurehajime / file0.txt
Created Dec 8, 2013
feedparserで自動的にねこ画像を拾ってくる ref:
View file0.txt
$ sudo pip install feedparser
You can’t perform that action at this time.