随笔分类 -  Key Points

GNU make: Learning notes
摘要:before talking about Makefiles, compilers are important pre-knowledge. first compile a executable ELF file, by: if we are going to compile one/several 阅读全文

posted @ 2017-04-12 15:22 三叁 阅读(180) 评论(0) 推荐(0)

Maven: Usage
摘要:Maven, is actually a java project manager.. Installing maven in windows need to set system environment vars like JAVA_HOME and PATH.. And it is rather 阅读全文

posted @ 2017-03-19 21:07 三叁 阅读(300) 评论(0) 推荐(0)

DNS: Intro & Basics
摘要:Find the authoritative server of a domain, by: find actual IP of a sub-domain, by: What is authoritative server of dns? [Quote]An authoritative name s 阅读全文

posted @ 2017-02-09 16:52 三叁 阅读(197) 评论(0) 推荐(0)

OvS: ovs-ofctl adding parameters analysis
摘要:if using dpdk, then OvS' datapath folder is ignored. Only OvS' userspace code are in use. According to manpages of ovs-vsctl/ovs-dpctl, it says that t 阅读全文

posted @ 2017-01-04 15:45 三叁 阅读(484) 评论(0) 推荐(0)

Digi. Certificates: Key pairs usages
摘要:In short, we have some sort of algorithms to gen pair of private and public keys. The public key is stored in a certificate and the private key is usu 阅读全文

posted @ 2016-12-19 17:39 三叁 阅读(446) 评论(0) 推荐(0)

WI-FI: connection through CLI
摘要:First, ensure that the computer/sbc has WI-FI parts. install wpa_supplicant, edit /etc/wpa_supplicant/wpa_supplicant.conf, with ssid & psk. Then run w 阅读全文

posted @ 2016-11-27 19:11 三叁 阅读(161) 评论(0) 推荐(0)

ramfs/tmpfs: Linux RAM filesystems
摘要:Previously in windows, I uses ramdisk, to accelerate chrome browsing. However, in linux, this is made possible by tmpfs/ramfs already by default. Also 阅读全文

posted @ 2016-11-19 17:02 三叁 阅读(299) 评论(0) 推荐(0)

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 三叁 阅读(367) 评论(0) 推荐(0)

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 三叁 阅读(287) 评论(0) 推荐(0)

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 三叁 阅读(264) 评论(0) 推荐(0)

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 三叁 阅读(397) 评论(0) 推荐(0)

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 三叁 阅读(755) 评论(0) 推荐(0)

Compile Time Assertion..
摘要:The most seen assertion are during runtime, but this one is at compile time, to give the error more quickly.. I do not quite understand why need this 阅读全文

posted @ 2016-08-30 14:53 三叁 阅读(444) 评论(0) 推荐(0)

GRPC: set up..
摘要:get the grpc source file.. compile the helloworld example.. is easy.. the most important is to write the server/client side .go files and one message/ 阅读全文

posted @ 2016-08-14 22:17 三叁 阅读(295) 评论(0) 推荐(0)

FTP: Configuring server users..
摘要:4 points to create a user to uploade to ftproot.. this user must be an administrator, and be able to login into the Server as the user with privilidge 阅读全文

posted @ 2016-08-13 18:02 三叁 阅读(174) 评论(0) 推荐(0)

THOUGHTS: programming in linux... with third_party open sources... methods
摘要:Actually I do not have experiences in programming with open sources/third party libs.. in linux.. I think this took me almost 3 days to figure out how 阅读全文

posted @ 2016-08-11 14:47 三叁 阅读(164) 评论(0) 推荐(0)

GCC: compilation process..
摘要:gcc -I -L -l -D -g -O -o -Wall about the -0 option.. ref to the following table.. Set the compiler's optimization level. +increase ++increase more +++ 阅读全文

posted @ 2016-08-04 20:07 三叁 阅读(315) 评论(0) 推荐(0)

cURL: Learning..
摘要:CURL usage.. -v, -m, -H, -I, -s, --connect-timeout, -x, -X GET|POST, -d, -T, -o. --retry, -u curl [options] [uri] 阅读全文

posted @ 2016-08-01 14:24 三叁 阅读(134) 评论(0) 推荐(0)

pkgmgmt: Comparison between different Linux Systems..
摘要:found this page.. already done by precedents.. installation: searching.. update db & upgrade.. install dependencies.. getting source code: remove sing 阅读全文

posted @ 2016-07-31 11:18 三叁 阅读(285) 评论(0) 推荐(0)

keepalived: Compile & startup
摘要:first get keepalived source from git: git clone https://github.com/acassen/keepalived then unzip and compile: ./configure make && make install install 阅读全文

posted @ 2016-07-28 21:51 三叁 阅读(269) 评论(0) 推荐(0)

导航