2013年10月8日

無法開啟 .CHM 檔, 錯誤訊息: 無法開啟檔案: mk:@MSITStore:[File_Path] file.chm

困擾很久的問題: 無法開啟 .CHM 檔,

錯誤訊息: 無法開啟檔案: mk:@MSITStore:[File_Path] file.chm 

  1.  確認 Locale 設定 (地區及語言選項) 是否與CHM 檔設定相同.
     - (Windows XP) Windows 控制台 - 地區及語言選項
    - * 選擇一個項目來符合它的喜好設定
    原先設為 英文(美國), 改成 中文(台灣)就能正常開啟了
  2. 另外一種方法是把 CHM 文檔包成壓縮檔, 再開啟壓縮檔,直接檢視這個CHM 檔.
    (但不是每個CHM檔都能開成功)

2013年1月3日

Linux Delete files before 15days


Delete files before 15 days
   find . -mtime +15 -exec rm {} \;  

2013年1月2日

Linux kernel.tainted


kernel.tainted:

Non-zero if the kernel has been tainted.  Numeric values, which can be ORed together:

   1 - A module with a non-GPL license has been loaded, this includes modules with no license.
       Set by modutils >= 2.4.9 and module-init-tools.
   2 - A module was force loaded by insmod -f.
       Set by modutils >= 2.4.9 and module-init-tools.
   4 - Unsafe SMP processors: SMP with CPUs not designed for SMP.
   8 - A module was forcibly unloaded from the system by rmmod -f.
  16 - A hardware machine check error occurred on the system.   (mcelog)
  32 - A bad page was discovered on the system.
  64 - The user has asked that the system be marked "tainted".  This could be because they are running software that directly modifies the hardware, or for other reasons.
 128 - The system has died.
 256 - The ACPI DSDT has been overridden with one supplied by the user instead of using the one provided by the hardware.
 512 - A kernel warning has occurred.
1024 - A module from drivers/staging was loaded.
2048 - The system is working around a severe firmware bug.
4096 - An out-of-tree module has been loaded.