2011-04-26

杂记 | Misc Notes

1. tidy, csstidy,两个小工具,可以优化html和css
2. perl安装模块: perl -MCPAN -e shell
3. python安装模块: easy_install 或 pip
4. gcc 查看本机CPU类型 gcc -v -mtune=native
5. bash 里面二重替换变量: eval B="$"$A, 举例来说如果A=X,X=100,那么这个语句之后B=100
6. Linux From Scratch: 详解从无到有编译一套Linux,值得一看



1. tidy & csstidy: 2 small tools for optimizing html and css files
2. to install perl modules: perl -MCPAN -e shell
3. to install python modules: use easy_install or pip
4. to view how gcc detects local cpu: gcc -v -mutune=native
5. to recursively substitute variables in bash: eval B="$"$A, for example when A=X and X=100, then the previous statement results in B=100
6. Linux From Scratch: describing how to build a complete Linux from nothing, worth reading.

No comments: