2012年12月4日

Proxy setting in Linux

http://wiki.archlinux.org/index.php/Proxy_settings#Proxy_settings_on_GNOME3

gsettings set org.gnome.system.proxy mode 'manual'
gsettings set org.gnome.system.proxy.http host 'proxy.localdomain.com'
gsettings set org.gnome.system.proxy.http port 8080
gsettings set org.gnome.system.proxy.ftp host 'proxy.localdomain.com'
gsettings set org.gnome.system.proxy.ftp port 8080
gsettings set org.gnome.system.proxy.https host 'proxy.localdomain.com'
gsettings set org.gnome.system.proxy.https port 8080
gsettings set org.gnome.system.proxy ignore-hosts "['localhost', '127.0.0.0/8', '10.0.0.0/8', '192.168.0.0/16', '172.16.0.0/12' , '*.localdomain.com' ]"
http://askubuntu.com/questions/11274/setting-up-proxy-to-ignore-all-local-addresses

2012年7月4日

libtiff3.dll was not found, GIMP, Separate+

Separate+ in GIMP-Win 2.7.3 (dev):
separate_import.exe - Unable to Locate Component This application has failed to start because libtiff3.dll was not found. Re-installing the application may fix this problem.

http://en.sourceforge.jp/ticket/browse.php?group_id=4063&tid=26293

2012年6月8日

2012年5月30日

PDF export in Office 2007 (在Office 2007匯出PDF)

You may check step 2 first, if you found the PDF option, you may skip step 1
你可以先看第二步, 如果你在"另存檔案"下發現"PDF 或 XPS", 你可以忽略第一步

1. First download and install one of the following update 先下載以下其中一個更新
2007 Microsoft Office 增益集:Microsoft 另存 PDF 或 XPS 檔 (smaller one, recommended)
2007 Microsoft Office 套件 Service Pack 3 (SP3) (not recommended unless you know what does that mean)

2. To save PDF files, click the Office icon and select "Save as" -> "PDF or XPS"
點選左上的圓圓Office icon,在另存檔案中選擇 "PDF 或 XPS"


3. Select PDF in "Save as type" 在存檔類型中選擇 PDF

4. Done 完成

注意: 以上方法只能在Office (Word, Powerpoint, etc)中匯出PDF

2012年5月27日

Install a self-signed certificate in Windows

Installing a Self-Signed Certificate as a Trusted Root CA in Windows Vista
1. Connect to your OWA site by going to https://host.domainname.com/exchange
2. Choose "Continue to this website (not recommended)".
3. Click on “Certificate Error” beside the address bar and select view certificates.
4. Once you have the install certificate button available, select "Install Certificate".
5. This will launch the Certificate Import Wizard. Make sure to Choose the option “Place all certificates in the following store” and select browse.
6. Select Trusted Root Certification Authorities and click Ok.
* In some cases you have to check show physical stores, then select “Local Computer” under Trusted Root Certification Authorities.
7. Click Finish on Completing the Certificate Import Wizard

2012年4月1日

Windows and Office installation download resource

Office 2007 Enterprise serial no:
KGFVY7733B8WCK9KTG64BC7D8
Download Office 2007 Enterprise Chinese, traditional (Taiwan) from Microsoft


Windows/Office online download:
http://www.heidoc.net/joomla/technology-science/microsoft
http://officeandoutlook.blogspot.com/2011/05/download-links-for-microsoft-office.html
http://itellyou.cn/
SHA1SUM reference:
http://msdn.microsoft.com/en-us/subscriptions/downloads/

2012年3月12日

Bootable Linux USB for recovery

1. Download files from
http://www.pendrivelinux.com/downloads/Universal-USB-Installer/Universal-USB-Installer-1.8.8.8.exe
http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/11.10/ubuntu-11.10-desktop-i386.iso

2. Plug in your USB drive with >700MB free space

3. Double click "Universal-USB-Installer-1.8.8.8.exe"

4. Click in "I Agree"

5. Select "Ubuntu 11.10 Desktop" in Step 1

6. Select the downloaded ubuntu-11.10-desktop-i386.iso in Step 2

7. Select the drive letter of your USB drive in Step 3
   Do NOT select "Format ?:\ Drive"

8. Set size to 0 in Step 4

9. Click "Create" to proceed

10. Check the alertbox shows 3 actions (instead of 5 actions) and then click "YES"

11. Wait for completion

12. You have your USB drive bootable.

13. Reboot with the USB drive plugged-in.
    press F12 or F9 at startup to get a menu and select your USB drive as bootup device.
    ref: http://www.tomshardware.com/reviews/windows-pocket,1113-3.html
    Then wait for the startup process (or Select "Run Ubuntu from USB" yourself).

14. You should get a desktop, click on the 3rd icon on the left and you can get a file manager.
    Plug your portable harddisk and copy your files to it

15. For harddisk checking, click on the 1rd icon on the left desktop,
    type the "Disk Utility" and click the icon with "Disk Utility".
    In popup window, select the harddisk you have and check SMART Data.
    There will be fields called "Bad sector" (which show number of dead region in harddisk)
    and "Overall Assessment"

16. For memory checking, select "Test memory" instead of "Run Ubuntu from USB" at startup time.
    Then a blue screen shows and the memoey are being tested. It takes about half an hour.

17. For remote desktop access, click on the 1rd icon on the left desktop,
    type the "Desktop sharing" and click the icon with "Desktop sharing".
    In popup window, click on "Allow other users to view your desktop", "Allow other users to control your desktop" and "Auto config UPnP router...."
    Then use Firefox and go to http://checkip.dyndns.org. Tell the address.
    Then there will be a yellow-backgrounded text say you can access the desktop with an address, please tell the address. Also tell the reach-ability.

2012年2月24日

Java Cryptography Extension (JCE) Unlimited Strength

To use AES-256 in Java, you need to install extra policy file. As
If you exported your PKCS#12 file from your browser and used a password that is greater than 7 characters, you may need to download and install the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files so that Java applications such as the GSI-SSHTerm can read this file. This is a matter of U.S. policy and U.S. export controls (not due to technical reasons).
It seems there are no such restriction in OpenJDK.

http://www.ngs.ac.uk/tools/jcepolicyfiles
http://blogs.adobe.com/ADEP/2011/10/configuring-the-jdk-for-rights-management-encryption-using-aes-256-bit-keys.html

2012年2月19日

[FIXED] bug in MikTeX -- ps2pdf: No alternate file name found

getting this error when I try to launch ps2pdf:
ps2pdf: No alternate file name found
ps2pdf: Data: C:\Program Files\MikTeX 2.9
The problem is due to installation path. Try to install with C:\MikTeX make no problem.

ref: [Sourceforge] ps2pdf not working in MikTeX 2.9

ps. fixed in current version of MikTeX

2012年1月9日

Windows 7 Aero auto disable at Monday 1am reason: WinSAT

導致 Win 7 Aero 凌晨1點 失效的兇手 WinSAT
開始/執行/輸入 "taskschd.msc"

會出現如下視窗 (可放大) 圖示語系不同但位置相同

於左列找到 Maintenance 資料夾並點選使之反白

接著於視窗右邊選擇 無效化(停用) 即可