2008年12月27日

useless search result in eMule

Since there are dummy servers sending fake items to obfuscate user,
you should block those servers by using ipfilter
you can update the filter list by the following website
eMule MoDs - IPFilter v131 Download

VirtualBox NAT Port forwarding / mapping

run under terminal:
VBoxManage setextradata "Guest_Name” “VBoxInternal/Devices/pcnet/0/LUN#0/Config/Rule_Name/UDP” 0
VBoxManage setextradata “Guest_Name” “VBoxInternal/Devices/pcnet/0/LUN#0/Config/Rule_Name/GuestPort” 80
VBoxManage setextradata “Guest_Name” “VBoxInternal/Devices/pcnet/0/LUN#0/Config/Rule_Name/HostPort” 8880

where
Guest_Name is the name of the Guest OS
Rule_Name is any name you like
8880 is the external port which will open on the host
80 is the port of the Guest OS that will forward to
pcnet is the NIC device selected in VM, not neccessary to be pcnet

有事就記: VirtualBox NAT port forwarding
VirtualBox - Configuring port forwarding with NAT - Aviran’s Place

2008年12月26日

Auto Big5 detection in gedit

using gconf-editor
modify the key: /apps/gedit-2/preferences/encodings/auto_detected
add BIG5-HKSCS before ISO-8859-15

2008年12月19日

System Hidden Folder

Making a Folder System Hidden
Making a Folder System Hidden
Now, we get to make a folder system hidden. We will continue from Step 1.

Open Command Prompt by going to Start, Run and typing "cmd". This will open Command Prompt.

In Command Prompt, type the following:

cd\
Press ENTER.
Then, type this:

attrib x +s +h
Press ENTER again.
If you named the folder something other than x, then adjust it as necesary.

Congratulations! You just made a system hidden folder. It will be hidden from prying eyes, unless they know how to view it, which I will show you next.

numpad doesn't work randomly under VNC

Bug #192508 in X.Org X server: “mouse keys turns on randomly”
In keyboard preferences > layouts > kb layout options > caps lock key
behaviour
I had caps lock behavior set to "caps lock toggles Shift so all keys are
affected".
This is not the default setting (although I can't remember changing it).
As a result pressing the numlock key while caps lock was enabled in effect
triggers a shift+numlock which enables mousekeys.
Setting the caps lock key behaviour back to default ensures that numlock
only enables/disables numlock even with capslock enabled (as you'd expect).
This almost certainly solved it for me.