tmp
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
cat notebook.ipynb | jq -r '.cells[] | select(.cell_type == "code") | select(.source != "") | .source + "\n"' | sed -e 's/\( *\)%.* /\1/' |
install:
$ go get github.com/google/codesearch/cmd/...
generate indexes:
$ cindex /usr/include /usr/local/include $HOME/_go/src $HOME/_dev
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
$ sudo defaults write com.apple.loginwindow LoginHook /path/to/script |
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
select timestamp 'epoch' + CAST(ts AS BIGINT)/1000 * interval '1 second' from (select 1498783941705 AS ts); |
多分 `` に fill
や `style="fill:` の指定が動かない
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
{ | |
"libs": [ | |
"browser" | |
], | |
"plugins": { | |
"node": {}, | |
"es_modules": {}, | |
"node_resolve": {} | |
} | |
} |
I hereby claim:
- I am ToQoz on github.
- I am toqoz (https://keybase.io/toqoz) on keybase.
- I have a public key whose fingerprint is 10A4 F7B1 87B6 2716 30FD 8E94 F9A6 2FE5 FA5D B7B5
To claim this, I am signing this object:
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
#!/bin/sh | |
if [ -z "$1" ]; then | |
echo "usage: preview <swagger.yml path>" | |
exit 1 | |
fi | |
tmpdir=$(mktemp -d /tmp/swagger-mode-tmp.XXXXXXXXXX) | |
swagger-codegen generate -i $1 -l html2 -o $tmpdir | |
open $tmpdir/index.html |
NewerOlder