|
|
@ -19,8 +19,8 @@ alias u='python ~/t/sh/t/t.py --task-dir ~/.tasks --list uni'
|
|
19
|
19
|
alias p='python ~/t/sh/t/t.py --task-dir $PWD/.tasks --list task'
|
|
20
|
20
|
|
|
21
|
21
|
# http://blog.jerodsanto.net/2010/12/minimally-awesome-todos/
|
|
22
|
|
todo() { if [ $# = 0 ]; then cat $TODO; else echo " * $@" >> $TODO; fi }
|
|
23
|
|
todone() { sed -n "/$*/p" $TODO >> $TODO.done; sed -i "/$*/d" $TODO; }
|
|
|
22
|
todo() { if [ $# = 0 ]; then cat $TODO; else echo " * $@ `date --rfc-3339=seconds`," >> $TODO; fi }
|
|
|
23
|
todone() { sed -n "/$*/s|$| `date --rfc-3339=seconds`|p" $TODO >> $TODO.done; sed -i "/$*/d" $TODO; }
|
|
24
|
24
|
|
|
25
|
25
|
infoq() {
|
|
26
|
26
|
ipadUA='Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10'
|