原创 Bash Shell in Linux

原文http://blog.sina.com.cn/s/blog_8bb0a3bd010171cp.html 工作中經常在shell腳本中看到set的這兩個用法,但就像生活中的很多事情,習慣導致忽視,直到出現問題才引起關注。 1. set

原创 解決新建Support7Demos的sample時出現編譯錯誤和運行報錯出現的問題

原文請參考:http://wangcuijing.blog.51cto.com/7233352/1407248 右鍵New->Other->Android Sample Project->選擇Android 4.4.2->選擇Supp

原创 Android中如何使用 address2line

原文地址:http://stackoverflow.com/questions/5314036/how-to-use-addr2line-in-android   I was stuck with my app, as i am unab

原创 Android souce code downloading and building

Please refer to http://source.android.com/source/index.html 1. Installing required packages (Ubuntu 12.04 LTS 64bit)

原创 No resource identifier found for attribute 'paddingEnd' in Package 'android'

        最近學習創建Suppot Library,我創建的是android-support-v7-mediarouter。按照Android官方網站一步步做下來,卻發現瞭如下的錯誤:                  好久沒有

原创 Java常用排序算法/程序員必須掌握的8大排序算法

原文請參考: http://mp.weixin.qq.com/s?__biz=MjM5NDAxNTY4MA==&mid=207651630&idx=2&sn=3905126963900747fe76a

原创 How to Install and Configure a VNC Server on RedHat Enterprise Linux (RHEL) 6

http://www.dell.com/support/article/us/en/19/SLN283098/EN Article Summary: This article provides information on how to

原创 編譯64bit Linux Kernel 時報 genksyms 找不到

      好久沒有做Linux驅動開發的工作了,相關知識都丟到大海里去了。今天把2.6.32的內核下載下來,想編一下SCTP模塊,居然出現下面的問題             /bin/sh: scripts/genksyms/genks

原创 在RHEL6配置IPv6 DNS Server

Youtube上有一個視頻是關於IPv4 DNS Server配置的,鏈接爲https://www.youtube.com/watch?v=ZQkMYWTx28o。我在這裏照貓畫虎,配置一下IPv6的 以本人的機器爲例,網卡爲eth3,I

原创 socket編程之addrinfo結構體與getaddrinfo函數

原文參考:http://blog.chinaunix.net/uid-26583794-id-3167485.html addrinfo結構體的定義如下: struct addrinfo {     int ai_flags; /

原创 RHEL7: Systemd入門

介紹 Systemd現在代替了SysVinit,有必要熟悉它並學習新的命令。Systemd啓動很快因爲它幾乎沒有使用腳本並儘量並行運行更多的任務(Systemd把任務稱爲單元units). Systemd配置文件存放在 /etc/syst

原创 如何使用git send-email

How to Use git send-email 建議使用git send-email發送補丁(更多關於發送補丁的信息請參考Community ). 本文介紹如何使用git send-email. 安裝 send-email 你的git

原创 內核調試神器SystemTap — 簡介與使用

原文請參考:http://blog.csdn.net/zhangskd/article/details/25708441 A linux trace/probe tool. 官網:https://sourceware.org/syste

原创 How to install ipsec-tools on RHEL6

My Host Environment. [root@NUT ~]# uname -r 2.6.32-563.el6.x86_64 On RHEL6, the binary ipsec-tools rpm package may not

原创 建立Tahi IPv6測試環境

首先說一下TAHI測試的相關術語 Tester Node (TN)                測試平臺 A tester node for the conformance tests. Node Under Test (NUT)