Travel

Categories

Thunderbird 6 folder and message list large line spacing under Windows 7 with large dpi

Use the below code in userChrome.css to revert to Thunderbird 5 style.

listitem, treechildren::-moz-tree-row { min-height: 20px !important; }

http://kb.mozillazine.org/Thunderbird_6.0%2C_etc.#Folder_and_message_list_spacing

Add a domain user or group to the local administrators group of a client vi GPO

http://www.frickelsoft.net/blog/?p=13

Wildcard search in ADUC

Format a custom ldap query as below :

Install MPlayer Multimedia codecs and Hardware HD decode under Ubuntu

http://www.ubuntugeek.com/install-mplayer-and-multimedia-codecs-libdvdcss2w32codecsw64codecs-on-ubuntu-11-04-natty.html#more-1176

http://www.ubuntugeek.com/install-mplayer-and-multimedia-codecs-libdvdcss2w32codecsw64codecs-on-ubuntu-12-04-precise.html

Video Playback with hardware acceleration with libvdpau1 and nvidia binary video driver

http://www.webupd8.org/2010/10/use-mplayer-with-vaapi-support-hardware.html

ASUS EeePC 1215b

Bought a New netbook Asus EeePC 1215b (4GB RAM) $3400 during the Sham Shui Po Computer festival. The netbook is finally usable after several years. The machine is speedy and can play with full 1080p video without problem. Although the market is heat up with tablet but these powerful and cheap netbook still have their […]

Run Windows PowerShell script

1. Name the script as .ps1

2. Under Powershell, remember to set Set-ExecutionPolicy RemoteSigned or Set-ExecutionPolicy Unrestricted

3. To run the powershell script outside powershell :

powershell.exe -noexit c:\scripts\test.ps1 powershell.exe -noexit get-childitem c:\scripts

Call from vbscript Set objShell = CreateObject(“Wscript.Shell”) objShell.Run(“powershell.exe -noexit c:\scripts\test.ps1”)

print pdf in command line under Windows

Assume you have installed Adobe Reader

Under Powershell :

Dir D:\test\S10010025.pdf | Foreach-Object { Start-Process -FilePath $_.FullName –Verb Print }

Or for batch printing

Dir D:\test\*.pdf | Foreach-Object { Start-Process -FilePath $_.FullName –Verb Print }

Or

AcroRd32.exe /s /o /h /t “FULL_PATH_TO_PDF” “PRINTER NAME” “PRINTER DRIVER NAME” “PORT”

AcroRd32.exe /s /o /h /p “FULL_PATH_TO_PDF” for […]

Locate obsolete computer records in AD

http://dmitrysotnikov.wordpress.com/2007/09/07/locate-obsolete-computer-records-in-ad/

Exchange Server 2010 Technet

http://technet.microsoft.com/en-us/library/bb124558.aspx

Setting exchange message size limit

http://technet.microsoft.com/en-us/library/bb124345.aspx

Change Active Directory Strong Password Policies

open gpmc.msc, change the account password policy of the default domain policy and default domain controller policy

open rsop.msc, to change the result set of policy