摘要: 安裝 Android Development Environment 1. http://www.cnblogs.com/youchihwang/p/6645880.html 除了上述還得安裝, 2. modify bash shell answer : no 3. Installing Repo 阅读全文
posted @ 2017-04-05 16:51 wangchangruei 阅读(2028) 评论(0) 推荐(0)
摘要: open a new terminal (ctrl + alt + t) 阅读全文
posted @ 2017-04-05 10:01 wangchangruei 阅读(286) 评论(0) 推荐(0)
摘要: https://source.android.com/source/initializing.html 阅读全文
posted @ 2017-03-30 19:18 wangchangruei 阅读(419) 评论(0) 推荐(0)
摘要: declaration : 告訴 compiler 如何解讀 identifier, 及接受這個 reference of identifier, 也就是類似 extern int a; translation unit 沒有定義 a, 所以先接受有 a,先 compile, link 階段再連結。 阅读全文
posted @ 2017-03-26 19:04 wangchangruei 阅读(237) 评论(0) 推荐(0)
摘要: static struct abc : declaration specifier \ b : declarator struct abc : type specifier 阅读全文
posted @ 2017-03-26 18:47 wangchangruei 阅读(368) 评论(0) 推荐(0)
摘要: n do not output the trailing newline 阅读全文
posted @ 2017-03-22 22:06 wangchangruei 阅读(164) 评论(0) 推荐(0)
摘要: i sed i '$a modified part' test_file i : edit file $ : the last line a : append 在 test_file 的最後一行加上字串 modified part sed i '/source setenv.sh/s/^/ /' $ 阅读全文
posted @ 2017-03-22 22:01 wangchangruei 阅读(156) 评论(0) 推荐(0)
摘要: 為什麼 電路板上要放 0Ω, debug 用的。 假設沒有 0Ω的電路 需要 debug ic, 怎麼 debug 呢? 將 走線 切斷,太麻煩了。 如下圖 裝了 0Ω的電路, 假若需要 debug ic, 只需將 0Ω 缷掉, 將外部訊號接到 hardware 即可 阅读全文
posted @ 2017-03-21 11:46 wangchangruei 阅读(320) 评论(0) 推荐(0)
摘要: struct tag { member list }; union tag { member list }; enum tag { member list }; test1 是 union tag. 阅读全文
posted @ 2017-03-19 19:25 wangchangruei 阅读(283) 评论(0) 推荐(0)
摘要: 在 bbb.txt 尋找 aaa 字串。 A NUM : Print NUM lines of trailing context after matching lines. B NUM : Print NUM lines of leading context before matching line 阅读全文
posted @ 2017-03-13 16:18 wangchangruei 阅读(140) 评论(0) 推荐(0)