Archive for the ‘ Uncategorized ’ Category

Solution to Acrobat Reader MDI Problem

Acrobat reader 9 removes the multi-window functionality, so if you open a lot of documents it will clutter the taskbar. To address this issue the quickest solution that I have found and that I feel quite satisfied is using the TrayIt application.

The result to be expected:

  • Adobe Reader buttons are gone from your taskbar
  • You get an icon in the taskbar which when you click on it, you’ll get a menu of currently open Adobe Reader windows.

The steps to do it:

  1. Run TrayIt
  2. Run Adobe Reader
  3. Press Shift and click the minimize button, Adobe Reader will be minimized to the tray area
  4. On the tray icon, right click and choose Place in System Tray
  5. Then right click again and choose Edit Profile
  6. In “Basic” tab, check “match pattern below with window title when creating tray icon” and fill the input box with “* – Adobe Reader” (without the quotes)
  7. In “Basic” tab, check “Handle SDI type applications like Excel, PowerPoint, or MS Project
  8. In “More” tab, check “Hide application from the Taskbar all the time, keep tray icon only”
  9. Then open several documents and you can see the menu when you click the tray icon.

Silk toolbar icons for GVim




It is a 8bpp PNG image. To use it as your toolbar icons, you’ll need an image editor and a resource editor. First open the image in your image editor, create a new layer below it, and fill the layer with the background color of your toolbar, then save the image in BMP format. After that, open gvim.exe in a resource editor (for example ResHacker), choose BITMAP in the tree, then choose 101, right click on it and then choose replace resource. Choose the previously saved tools.bmp, then choose File -> Save and you are done :D

Silk icons at

PHP Manual

PHP manual in CHM format


The manual in site hasn’t been updated since Dec 07, so here’s the latest php manual in chm.


php_manual_en-080831.chm (4 MB)

CakePHP Documentation

CakePHP documentation in CHM

  • CakePHP 1.2 Manual
  • CakePHP 1.1 Manual
  • CakePHP 1.2 API
  • CakePHP 1.1 API
  • Articles from

(*) All sources are based on information available on Aug 17, 2008

Download (3 MB)

jQuery Documentation

jQuery Documentation

  • jquery-20080331.chm (150 KB)
    Chm version of jQuery API browser
    Basically the same as below (plus the documentation for validation and treeview plugin), but does not contains and embedded sample and therefore is much lighter.
    Python script to generate the chm (9 KB).
  • jQuery and jQuery UI Reference 1.2.chm (639 KB)
    This is jQuery documentation wiki packaged as a chm file.
    Note: datepicker does not work in IE and the ajax examples often emit “Access Denied” error (tested with IE7). If you get “Access Denied” error, try to click several times on the tree node.

Creating portable Internet Explorer 6 + Developer Toolbar

Note that what I mean with Developer Toolbar here is not a portable developer toolbar buat a portable IE6 that works with Developer Toolbar. Other types of portable IE 6 I have tried does not work well with Developer Toolbar.

1. Install 7-zip
2. Extract XP SP2 installation package into some directory (open the .exe file with 7-zip)
3. For each one of these files:

browselc.dll dxtmsft.dll mshtml.dll urlmon.dll xpsp2res.dll
browseui.dll dxtrans.dll shdoclc.dll vbscript.dll iexplore.exe
jscript.dll shdocvw.dll wininet.dll mshtml.tlb

Find the corresponding files, i.e., browselc.dll corresponds with browselc.dl_

4. Open the corresponding file (i.e. browselc.dl_ for browselc.dll) with 7-zip
5. Create an empty directory for your portable IE
6. Extract the file in no.4 the the directory in no.5
7. Create an empty file named iexplore.exe.local
8. Copy dispex.dll to the directory in no.5. It’s not in the SP2 package, so you’ll have to copy it from another source. I copy it from C:\WINDOWS\system32. My dispex.dll version is
8. You can test your portable IE version using

Manual installation of postgresql under administrator user in windows

Since version 8.2.7, postgresql on windows can run under administrative user account. Here’s how to do it with postgresql 8.3.3

1) Download Here we’ll use c:\postgresql as the target directory, so extract the archive to that directory.
2) Create a folder named data in c:\postgresql (or wherever you want it to be). Then we’ll need to initialize the data folder. Run this command:
c:\postgresql\bin\initdb -D c:\postgresql\data
3) Run the server
pg_ctl.exe start -D c:\postgresql\data

1) the fix to run postgresql under administrator is in pg_ctl.exe so don’t run postgres.exe directly or it will fail.
2) this setup is for testing purpose, don’t use it for production use.