On Linux, the default behavior of "ls" command will enable the option "--color=tty". However, because directories are shown in blue color, it is difficult to see them clearly.
You may certainly unalias "ls", but you may also change the color scheme by modifying the LS_COLORS environment variable:
The original value of "di" (directory) is 00;34, which makes it obscure. Changing the background to yellow make it more visible.
LS_COLORS='no=00:fi=00:di=43;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:'
2010年8月22日 星期日
2010年5月2日 星期日
2010年4月10日 星期六
Virtual Hosting in IIS
http://www.simpledns.com/kb.aspx?kbid=1149
"Virtual hosting" means hosting multiple web-sites with different domain names on the same IP address.
This procedure is also described in Microsoft KB article Q190008
- If you are creating a new virtual host:
- Type the virtual host domain name in the "Host Header Name" field.
- If you are modify an existing website:
- From the "Internet Information Services (IIS) Manager" window, right click on a web-site, and select "Properties"
- In the web-site Properties dialog, click the "Advanced..." button
- In the "Advanced Web Site Identification" dialog, select the first "identity", and click the "Edit" button
- Enter the virtual host web-site domain name in the "Host Header Name" field
2010年4月5日 星期一
Add KMPlayer to WinXP Autoplay List
Q: When I inserted a DVD, the popup window for autoplay only list Microsoft Media Player. How can I add KMPlayer?
A: In KMPlayer,
Right Click - Option - Preference - 檔案關聯 - 檔案關聯tab - 新增 KMP 到檔關聯選單中.
Note that you must be an administrator to make this effective.
A: In KMPlayer,
Right Click - Option - Preference - 檔案關聯 - 檔案關聯tab - 新增 KMP 到檔關聯選單中.
Note that you must be an administrator to make this effective.
訂閱:
文章 (Atom)