2009年11月25日

Removing accelerator in Vista-aero theme of Firefox

in $ApplicationSetting$\Mozilla\Firefox\Profiles\xxxxxxx.default\extensions\{07b2a769-ed19-4483-87ce-c643914c81bb}\chrome\tmp.xpi
zipfile:
global/myFirefoxTab/myLoadJs.xul
comment ...
Also the mySelectPopup.js include line

2009年11月14日

Firefox performance hack for DNS cache

about:config
network.dnsCacheExpiration : 3600 (int.)
network.dnsCacheEntries : 1000 (int.)

Usershares used in Ubuntu built-in Sambe share

The default setting is that all file are read-only, even the file owner
you may change it yourselves in /var/lib/samba/usershare/share_name

path=/path/to/shared/folder
comment=
usershare_acl=SID:R
guest_ok=y

The red letter means
  • R - read-only
  • F - full access
  • D - deny access
just change from R to F for your write access

Ref:
Integrating Ubuntu Hardy Heron 8.04 with Active Directory
HowTo Configure Shares on a Linux File Server in a SOHO LAN

2009年11月10日

Convert TRP video (produced by set-top box) to MP4

Viewing .TRP files on Linux
ffmpeg -i input.trp -vcodec copy -acodec copy -f mp4 output.mp4

Windows 7 ISO download

Windows 7 ISO x86 and x64 Official Direct Download Links (Ultimate, Professional and Home Premium) » My Digital Life
Windows 7 ISO Direct Download Links
~~~~~~~~~~~~~~~~~~~~~~~
32-bit Windows 7 Ultimate x86 ISO
Amazon.com: http://174.129.85.117/data/Windows7Ultimate32bit.iso
64-bit Windows 7 Ultimate x64 ISO
Amazon.com: http://174.129.85.117/data/Windows7Ultimate64bit.iso
32-bit Windows 7 Home Premium x86 ISO
Digital River: http://msft-dnl.digitalrivercontent.net/msvista/pub/X15-65732/X15-65732.iso
64-bit Windows 7 Home Premium x64 ISO
Digital River: http://msft-dnl.digitalrivercontent.net/msvista/pub/X15-65733/X15-65733.iso
32-bit Windows 7 Professional x86 ISO
Digital River: http://msft-dnl.digitalrivercontent.net/msvista/pub/X15-65804/X15-65804.iso
64-bit Windows 7 Professional x64 ISO
Digital River: http://msft-dnl.digitalrivercontent.net/msvista/pub/X15-65805/X15-65805.iso


How to Create and Make Bootable Windows 7 ISO from EXE Plus Setup1.Box and Setup2.Box Files » My Digital Life
# Run the .exe executable as administrator. It starts to unload the box (extract and unpack the installation content), and will create a new folder called expandedSetup, and will populate the folder with all necessary Windows 7 setup files, as shown in figure below.

Content in ExpandedSetup Folder
# Exit from Install Windows wizard dialog.
# Download Oscdimg CD/DVD Premastering Utility: oscdimg.exe

Put the downloaded oscdimg.exe into %SystemDrive%\Windows\System32 folder.

Note: oscdimg is included in Windows Automated Installation Kit (AIK) as part of WinPE. So if you have that installed, there is no need to download the file again.
# Open an elevated command prompt as administrator, and run the following command:

oscdimg.exe –bC:\expandedSetup\boot\etfsboot.com –u2 –h -m -lWIN_EN_DVD C:\expandedSetup\ C:\Win7.iso


How to Select Any Edition or Version (SKU) of Windows 7 to Install From Single Edition DVD Disc Media or ISO » My Digital Life
Browse to /sources/ folder.
Locate ei.cfg file.
Depending on preference, it’s possible to modify/edit or simply delete ei.cfg file, as explained below.

When ei.cfg is deleted, Windows 7 setup wizard will give user an option to select and choose which version (SKU) of operating system user wants to install during installation.

Linking duplicate files with hardlinks with dupmerge

dupmerge example usage:
find ./ -type f -print0 | dupmerge 2>&1 | tee /tmp/user0/dupmerge.out

Ref:
Easily Manage Duplicate Files and Save Storage Space | Ubuntu Linux Help

UPNP gateway management under Linux

1. Install Perl UPNP library by:
sudo apt-get install -y libnet-upnp-perl

2. Download igdctl.pl or router.pl (depend the source)
and make it executable with:
chmod +x xxx.pl

3.) Just make a port forwarding now :)
./igdctl.pl -a -e 4332 -i 4332 -I 192.168.0.5 -P TCP

Ref:
A smart router administration tool
myDEBlog » Administrating your gateway device via UPnP