I hereby claim:
- I am ktr0731 on github.
- I am ktr0731 (https://keybase.io/ktr0731) on keybase.
- I have a public key whose fingerprint is BAD2 3C65 7616 CD91 B3F8 4F77 FCB6 AAF0 8A88 C8DA
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
syntax = "proto3"; | |
import "b.proto"; | |
package api; | |
message Foo { | |
Bar bar = 1; | |
} |
#!/usr/bin/env bash | |
set -e | |
if [ "$#" -ne 2 ]; then | |
echo "usage: ./script <dst> <duration (m)>" | |
exit 1 | |
fi | |
echo "start after 3 seconds" |
import sys | |
import requests | |
# default arg is the demo url | |
def req(url='https://bit.ly/1cY78RZ'): | |
res = requests.head(url) | |
if int(res.status_code / 100) != 3: | |
return res.url | |
else: |
git show :1:hoge.go > hoge.common.go | |
git show :2:hoge.go > hoge.ours.go | |
git show :3:hoge.go > hoge.theirs.go | |
git merge-file hoge.ours.go hoge.common.go hoge.theirs.go > hoge.go |
migrate -path . -database 'postgres://root@localhost:26257/bank?sslmode=disable' up |
curl <registry>/v2/_catalog |
history | awk '{ print $1 }' | sort | uniq -c | sort -nr | less |
:h index.txt |
[ -z "$PS1" ] && return | |
HISTCONTROL=ignoredups:ignorespace | |
shopt -s histappend | |
HISTSIZE=10000000 | |
HISTFILESIZE=2000000 | |
shopt -s checkwinsize |