原创 linux /usr目錄
/usr /usr usually contains by far the largest share of data on a system. Hence,this is one of the most important direct
原创 Linux Kernel & Distributions
Linux的內核版本 Linux內核的版本號分爲主版本號、次版本號和擴展版本號等。 根據穩定版本、測試版本和開發版本定義不同版本序列。 穩定版本的主版本號用偶數表示,例如:2.2、2.4、2.6。每隔2~3年啓動一個Linux穩定主版本號
原创 ubuntu修改mac地址
暫時修改: ifconfig eth0 down ifconfig eth0 hw ether A4:BA:DB:ED:BD:1F(網卡的mac地址) ifconfig eth0 up 永久修改: vi /etc/init.d/
原创 [g++] undefined reference to (a constructor)
編譯的時候.C文件沒加?
原创 linux /etc目錄
/etc This is the nerve center of your system, it contains all system related configuration files in here or in its sub
原创 fedora安裝flash plugin
sudo rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i
原创 Recover Grub2 using a LiveCD(for Fedora 17)
$ su $ cd /media $ mkdir tmp # make a temporary direc
原创 Context(上下文)
In computer science, a task context (process, thread) is the minimal set of data used by this task that must be saved t
原创 [Unresolved Problems]
1. 遞歸實現單向鏈表翻轉 2. 加入一個mailing list 3. `ln -s /mnt/lfs/tools /' 和 `ln -s /mnt/lfs/tools/ /' 有什麼區別 4. printf()原理
原创 Latex Error: ! I can't write on file `xxx.log'.
xxx.tex不能保存在github之類的網絡共享文件夾內,需移到本地磁盤。
原创 ubuntu靜態網絡配置
//配置靜態IP,子網掩碼,網關 sudo vi /etc/network/interfaces auto lo iface lo inet loopback auto eth0 iface eth0 inet static addres
原创 linux /bin目錄
/bin The bin directory contains several useful commands that are of use to both the system administrator as well as no
原创 linux /boot目錄
/boot This directory contains everything required for the boot process except for configuration files not needed at bo
原创 #pragma pack()
適用情景: struct,union,class等複合(aggregate)數據類型 語法: #pragma pack(n) // n = 1, 2, 4, 8, 16 struct S {
原创 Nexus 7安裝Android系統
下載Android鏡像 https://dl.google.com/dl/android/aosp/mantaray-jdq39-factory-d79f489e.tgz 解鎖設備 1. 關機 2. 按住