Saturday July 31, 2010 @ 04:18:10 GMT+10    ( Weather:  18°C / 64°F  -  Partly Cloudy )
Home » Weblog Archives

Powered byD's Bloggie
Weblog Archive browse by category ...
 → Category :
Display order:
Page 1 of 3   ( 23 entries , showing 1 - 10 )
    1 2 3 Next  >>

DRM related links - 10:19 pm
Guides , Software  -  poster 

Deposit some DRM related links - just for my convenience when visiting back this in future:

Windows security component upgrade (use IE):
http://services.wmdrm.windowsmedia.com/indivSite/en/indivit.asp

Fiesta Online - useful links - 11:13 pm
Gaming , Guides  -  poster 

Recently I'm playing Fiesta Online, just collecting and depositing useful links in here for my own convenience (apparently I dont use the browser's bookmark very often)

Improve VMware performance - 9:26 pm
Gaming , Guides  -  poster 

I've been using virtual machines for quit a while but recently I needed to squeeze more juice out of what it can do when it comes to multiple sessions, more precisely, multiple gaming sessions running in parallel.

If you're using VMware, you can add the following lines to the .vmx file to help to improve some performances:

monitor_control.restrict_backdoor = "TRUE"
MemTrimRate=0
sched.mem.pshare.enable = "FALSE"
mainMem.useNamedFile = "FALSE"
prefvmx.minVmMemPct = "100"


  • The VMware tools won't function but it may stop the software detecting the fact that it is running in a VM
  • By disabling MemTrimRate, memory allocation inside the guest is faster because it doesn't take and give memory to the host os upon all requests.
  • By disabling memory sharing (sched.mem.pshare.enable) your guests will not share common memory blocks. Your VMware product will also stop comparing memory blocks.
  • When allocating memory you VMware will store parts of the memory in a file. This file will be equally large as the memory allocated to the guest VM. This file exists because the ram allocation method used is mmap. By changing the setting for mainMem.useNamedFile, it will move this file from the VM's default location to /tmp on linux or into the swap file on windows. This will help a bit, especially if this is on a different disk than the VM. In linux it will help if you use the tmpfs file system for /tmp (or ramfs if you can afford it) (details here)


Links

IT8212 Windows 7 Raid Controller Driver - 11:50 am
Guides  -  poster 

Windows 7 Raid Controller Driver for IT8212, download the version 1.7.2.9 from here and it should work if Windows 7 can't detect it.

The IT8212 is a IDE RAID Controller (ATA133 IDE RAID). I have one running on PCI slot to summon my arrays of IDE HDDs back for storage purpose.

Tip: Windows 7 - Disable Auto Restart in Windows Update - 8:08 pm
Guides  -  poster 

Windows 7 automatically reboots my machine twice in a week after it finished the windows update. This might be alright for some people but I found it very annoying, so here comes the remedy:
  1. Run gpedit.msc
  2. Click Administrative Templates under Computer Configuration
  3. Click to expand Windows Components
  4. Go to Windows Update and enable No auto-restart with logged on users for scheduled automatic update installations


See also: Disable Windows XP from auto restarting after windows update.

Opera custom mouse gesture - 9:59 pm
Guides  -  poster 

Some of my custom mouse gesture setup before I lost them again...

GestureLeft Switch to previous page
GestureRight Switch to next page

Enable and Disable Picture and Video Thumbnail in WinXP - 10:59 pm
Guides  -  poster 

Media and Video Thumbnail Preview in Windows XP

Windows XP automatically generate thumbnail preview for images, pictures, photos, videos, HTML pages and other media clips with format supported by the operating system. The image or media preview is shown in the Details pane on the left of Windows Explorer, or when the files are viewed in Thumbnails view.

However, some users may not want or prefer the automatic preview and thumbnail generation when browsing files list. The preview hide the icon of the files, and doesn't allow users to instant know the format or extension of the files, such as whether a video is of .avi, .wmv or .mpg format. Beside, the process to show the thumbnail preview may slow down the file listing process when opening folder with video files. Beside, the preview on no codec or corrupted movie or video clip (i.e. no index from a partial download) may cause system problems such as Windows XP stops responding or freezing with 100% CPU utilization, and prevent users from deleting, renaming or moving the file until the file is completely loaded. The error happens because Windows needs a proper codec in order to correctly and validly create a thumbnail for video media. Without codec, or codec is broken or buggy will have problem.

To turn off, remove or disable video and media thumbnail preview in Windows XP, and fix above issues relating to video (AVI) problems, simply issue the following command in a Command Prompt window. To open Command Prompt window, type "Cmd" in Start -> Run box.

regsvr32 /u shmedia.dll

It's important to note that once the command above is run, the thumbnail preview will be disabled and will not be shown or displayed for all video, movie and other media files. And, users also lose the ability to see the summary properties in the tooltip and file properties dialog for AVI, WMA, WMV, ASF and WAV files.

To re-enable, or turn off the media preview again, use the following command:

regsvr32 shmedia.dll



Image Preview Thumbnail and Disable Windows Picture and Fax Viewer in Windows XP

Windows XP displays thumbnail style of preview for images, pictures and photos in Windows Explorer's Details section on left pane when users select a pic. The preview will also automatically created and displayed when users browse and view a folder in Thumbnail view. Beside, when open or double click on a format associated with popular graphic formats, the photos or pictures will open in Windows Picture and Fax Viewer instead of user preferred or favorite image viewer or editor, due to the fact that the default action on image file is to preview it using Windows Picture and Fax Viewer.

In order to turn off and disable thumbnail preview feature of images, photos, graphics, and pictures in Windows XP, and to disable the Windows Picture and Fax Viewer and remove graphic files format associations with the default viewer comes with XP, open Command Prompt window (type Cmd in Run command box) and type the following command, follow by 'Enter':

regsvr32 /u shimgvw.dll

shimgvw.dll known is Windows Picture and Fax Viewer Library shimgvw. After running above command, all photos and images will be displayed as just icons, and double click to open a graphic will launch your personal favorite default image viewer instead.

To re-enable image preview and turn off Windows Picture and Fax Viewer, run the following command and hit 'Enter' key:

regsvr32 shimgvw.dll


If the above trick doesn't work, it's also possible to achieve the same result to disable image preview and Windows Picture and Fax viewer via system registry. To do so, run Registry Editor by typing "regedit" in Run command box from Start Menu, and then navigate to the following registry key:

HKEY_CLASSES_ROOT\SystemFileAssociations\image\
ShellEx\ContextMenuHandlers\ShellImagePreview

Note: Wrap to 2 lines for readability.

Before performing the next step, it's wise to backup by exporting the registry key. To do so, simply right click on ShellImagePreview and choose Export, and save it to a file. Then in the right pane, double click on (Default) registry value name, and clear the value of the "(Default)" so that the new value data is blank (empty space). Original value is defaulted to "{e84fda7c-1d6a-45f6-b725-cb260c236066}".



Source: from My Digital Life here and here.

Windows Run As... - 8:47 pm
via command
Guides  -  poster 

Below is an example how to run an executable using a different user account in Windows via command. This is similar to the right click -> Run as..

C:\WINDOWS\system32\runas.exe /savecred /user:Dexter "C:\executable.exe"


Make this as a shortcut, it will be handy if you regularly needed to run applications on different user accounts for some reasons.

WinRAR - 快速解压 N 个需要相同密码的文件 - 9:46 pm
Guides , Software  -  poster 

话说上个星期下载完 300 多集的 《海贼王》 动画 (爽啊~) 下是下到手软了,不仅如此,档案都是 rar 文件,发片人还设了密码……tnnd sweat2 每解压一个文件 WinRAR 都还是会跟你要密码,如下:

密码


想一想每解压一个文件就会停下来,弹出窗口要密码。 一两个文件还好,不过当你有上百个的文件要解压时,你肯定会砍人了。 还好我发现了一个好办法,现在就跟大家分享一下如何在 WinRAR 免手动输入密码来解压 N 多个压缩文件 (每个文件都需要同一个组密码来解压)。
  1. 首先打开 WinRAR 程式。
  2. File -> Set default password。

    密码

  3. 输入解压的密码, 然后OK 。

    密码

  4. 在 WinRAR 里游览到你存放你的 rar 文件的文件夹,然后选择你要解压的文件全选。
  5. 接下来的步骤就如平常一样,选择路经然后就开始解压。
  6. 如果密码设对的话 WinRAR 不会跟你要密码。
  7. 这时候你可以去睡觉或做其它事情了。怎么样?不错吧?

How to enable Gzip compression on output buffer - 12:59 pm
Browser , Coding , Guides , PHP  -  poster 

I've been updating this site since last month. One of the things I added is able to serve gzip-encoded page. On top of that, my site is also able to serve gzip-encoded CSS and JS file heh Just scroll to the bottom of every page and you'll notice a line that says something like "Gzip enabled , CSS compressed , JS compressed". This will give an indication whether they are enabled or not. In other words, this will make pages load faster as well as saving some tiny bandwidth.

I've written a how-to thing that gives you an idea how to achieve that with PHP using ob_gzhandler(). For this to work you'll need the appropriate version of PHP, zlib extension and web browser that supports compressed web page.

Link: [PHP] How to enable Gzip compression on output buffer

Next topic will be on how to shrink, compress and cache CSS/JS files. Those who're using heavy AJAX and CSS styling will benefit from this.
Page 1 of 3   ( 23 entries , showing 1 - 10 )
    1 2 3 Next  >>
$ view_blog.php 2009.09.17 18:16:41 $
Lost? | XML/HTML sitemap | Contact
38.107.191.89 , 21 queries , 0.0692s
Gzip enabled , CSS compressed , JS compressed
Copyright © 2005-2009 Darren's Outpost