2016年11月18日

Samba: Server setup..

摘要: To make samba shard folder permission clear, there are 3 kind of permission need to be paid attention: 1. permission written in /etc/samba/smb.conf of 阅读全文

posted @ 2016-11-18 17:58 三叁 阅读(359) 评论(0) 推荐(0) 编辑

2016年11月14日

Network: Problems and Important notes.

摘要: when ping, specifying the length of the packet by: Actually default is -l 32, so if we omit the last option, the sent packets are the same. This packe 阅读全文

posted @ 2016-11-14 11:07 三叁 阅读(270) 评论(0) 推荐(0) 编辑

2016年10月28日

C89, C99, C11: All the specifics that I know

摘要: before anything.. sizeof is an operand! sizeof is an operand! sizeof is an operand! 重要なことは三回にしませんね! int *ptr; sizeof *ptr; = sizeof (int); the followi 阅读全文

posted @ 2016-10-28 11:53 三叁 阅读(242) 评论(0) 推荐(0) 编辑

2016年10月27日

Docker: Usage instruction

摘要: Install docker from official site, in windows. or install docker from repo as official site told, in linux.. after installation, we run by: (windows s 阅读全文

posted @ 2016-10-27 18:01 三叁 阅读(362) 评论(0) 推荐(0) 编辑

2016年10月24日

Jekyll: .md to .html with self defined themes..

摘要: theme is from here Note: writing jekyll blogs should not contain any chars other than ascii, otherwise github.io will not compile. 阅读全文

posted @ 2016-10-24 16:48 三叁 阅读(216) 评论(0) 推荐(0) 编辑

2016年10月21日

RVM: instsallation

摘要: login as user, do the following: update rvm, install new ruby.. if need to specify some version of ruby to be default chosen when opening new terms, r 阅读全文

posted @ 2016-10-21 16:12 三叁 阅读(156) 评论(0) 推荐(0) 编辑

2016年10月20日

Valgrind: memcheck of memleak/mem-uninitialization; massif usage

摘要: first install valgrind, its newest ver is 3.11, and stops updating since 2015/12. in centos, yum installs 3.10 ver. using valgrind ./buggy.out to exec 阅读全文

posted @ 2016-10-20 16:23 三叁 阅读(243) 评论(0) 推荐(0) 编辑

2016年9月9日

Learning BSD.sys/queue.h

摘要: This file includes 4 data-structures.. Insteresting because they are written in 1994.. to make it easier using the structures.. LIST: the common usage 阅读全文

posted @ 2016-09-09 17:29 三叁 阅读(958) 评论(0) 推荐(0) 编辑

2016年9月6日

GDB: advanced usages

摘要: Sometimes running program in Unix will fail without any debugging info or warnings because of the laziness of programmer.. So if need to find the righ 阅读全文

posted @ 2016-09-06 18:41 三叁 阅读(714) 评论(0) 推荐(0) 编辑

2016年9月3日

C: strcpy & memcpy & scanf/printf format specifier.. escape characters..

摘要: well, strcpy differs from memcpy in that it stops copy at \0 the format specifier is a string.. which can be assigned to a char*.. like.. strcpy(a,"%d 阅读全文

posted @ 2016-09-03 22:10 三叁 阅读(252) 评论(0) 推荐(0) 编辑

导航