- 博客(4)
- 资源 (2)
- 收藏
- 关注
转载 data race check with valgrind
http://valgrind.org/docs/manual/hg-manual.html /* * gcc t.c -o t -g -lpthread * valgrind --tool=helgrind ./t */ #include int var = 0; void* child_fn ( void* arg ) { var++; /* Unprotected re
2015-11-25 22:27:30 515
转载 DOS pause-like command in Bash
http://stackoverflow.com/questions/92802/what-is-the-linux-equivalent-to-dos-pause read does this: user@host:~$ read -n1 -r -p "Press any key to continue..." key [...] user@host:~$ The -n1 spe
2015-11-04 18:12:16 542
转载 [git]git export like command
Probably the simplest way to achieve this is with git archive. If you really need just the expanded tree you can do something like this. git archive master | tar -x -C /somewhere/else Most of the t
2015-11-02 21:38:57 1222
转载 [git].gitconfig文件
[user] name = adream307 email = adream307@163.com [alias] co = checkout ci = commit st = status br = branch hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=
2015-11-02 21:30:36 674
lq51--自己写的基于51单片机的嵌入式实时操作系统
2009-04-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人