- アスファルト舗装作業 tarmaclaying
- 鋳掛け tinkering
- 椅子の底張り chair-bottoming
- 糸紡ぎ spinning
- 馬取引 horse-dealing
- 占い fortune-telling
- 煙突掃除 chimney-sweeps
- 楽士 musicians ヴェルブンコス
This file contains hidden or 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
#import <Foundation/Foundation.h> | |
int main(int argc, char *argv[]) { | |
@autoreleasepool { | |
NSArray *befores = @[ | |
@"100", // => 100, a number | |
@"10 0", // => 10, a number | |
@"00100", // => 100, a number | |
@"10blank", // => 10, not a number | |
@"blank10", // => 0, not a number |
This file contains hidden or 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
$ json-server --watch db.json | |
http://qiita.com/yhikishima/items/46860ffc48913182a3ee | |
# ルーティングのためのキーが必要になる。listというところを空にするとオチる | |
$ json-server --watch db.json # 起動 | |
$ http -v POST localhost:3000/list < ~/git/json_server/data.json # data.jsonをPOST | |
# POSTするとモックJSONサーバの内部状態が変化する | |
This file contains hidden or 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
gsearch_d () | |
{ | |
( if [ -p /dev/stdin ]; then | |
a=$(cat -); | |
else | |
a=$@; | |
fi; | |
argv=("$a"); | |
str="$(echo -n $argv | nkf -wMQ | sed 's/=$//g' | tr = % | tr -d "\n")"; | |
open https://www.google.co.jp/search?btnI'&'q="$str" & exit ) |
This file contains hidden or 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 sessions/backup.session | sed 1,4d | jq '.windows[0].tabs[].entries[0] |select(.url | startswith("http")) | .url' | xargs open |
rexdep の使いかたがわからなかったのでJavaで試した.
$ ./rexdep_java.sh | dot -Tpng -o test.png
or
$ ./rexdep_java.sh com.example | dot -Tpng -o test_pretty.png
This file contains hidden or 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
scraper_lib_shibuya |
This file contains hidden or 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
#!/usr/bin/env bash | |
set -ue | |
# cd app/src/main/res/drawable-hdpi/ にtimepicker_down_*.9.png, timepciker_up_*.9.png | |
# _down_なボタンは,_up_のボタンからいいところを切り取って重ね,マイナスからプラスに変える. | |
for i in $(ls timepicker_up_*.png); | |
do | |
convert $i -crop '5x12+57+20' "${i}_arrow_top.png"; |
This file contains hidden or 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
{ | |
"name": "node-trello-deleter", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"trello-deleter" : "./trello_deleter.coffee", | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"devDependencies": { |
This file contains hidden or 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
# usage: | |
# $ gsearch your query | |
# => Google '"your" "query"' | |
gsearch () | |
{ | |
( argv=("$@"); | |
# arr=$(for v in "${argv[@]}"; do echo "$v"; done); \ | |
arr=$(for v in "${argv[@]}"; do echo "\"$v\""; done); | |
str="$(IFS=" "; echo "${arr[*]}")"; | |
open https://www.google.co.jp/search?q="$str" ) |