Notes by woolf

Displaying keyword search results 1 - 8
Created by woolf on December 29, 2011 11:47:37    Last update: December 29, 2011 11:48:11
My Dell laptop wasn't able to use an external monitor after a week's vacation. The symptoms were: No response when pressing Fn+F8 to swtich displays. "No signal" on external monitor. Bring up "Screen Resolution" dialog, only one monitor is avaiable. Click "Advanced settings" in "Screen Resolution" dialog, Adapter Type displays "VgaSave". There's no "Display adapters" section in Device Manager . Solution: re-install the video display driver. My laptop came with Nvidia GPU so I reinstalled the Nvidia driver. Download the driver pack from Dell. The Windows 7 CAB file is about 1GB, which indludes all kinds of drivers.
Created by woolf on December 29, 2011 10:12:53    Last update: December 29, 2011 10:14:17
To identify the display driver info with the DirectX Diagnostic Tool included in Widnows 7 and Vista: Bring up the "Run" dialog with the Win button Type dxdiag and press Enter. Click the Diaplay tab.
Created by woolf on September 08, 2011 11:19:52    Last update: September 08, 2011 11:19:52
To check a command exists on PATH: Use the return code of which : which some_command &>/dev/null [ $? -eq 0 ] || ... For bash, use type -P : type -P some_command &>/dev/null && echo "ome_comm... or check_path() { if ! type -P $1 &> /dev/...
Created by woolf on April 12, 2011 09:20:08    Last update: April 12, 2011 09:20:08
First try (this lists files by directory, including directories themselves): ls -R -lrt Second try: find . -type f | xargs ls -lrt
Created by woolf on February 10, 2011 12:51:14    Last update: February 10, 2011 13:06:11
Windows command line shell does not come with a sleep command. One trick is to emulate sleep using the ping command: C:\>ping /? Usage: ping [-t] [-a] [-n count... To sleep for about 5 seconds: @rem make sure to ping a non-existing IP, otherwis... If you have the Windows Resource Kit installed, it does provide a sleep command: C:\>sleep Usage: sleep time-to-sleep-in-s...
Created by woolf on February 03, 2010 04:02:07    Last update: February 03, 2010 04:03:18
Redirect without delay: <html> <body> <script type="text/javascript... Redirect with delay: <html> <body> <script type="text/javascript...
Created by woolf on May 03, 2009 22:45:42    Last update: January 01, 2010 03:58:16
F:\temp>mencoder G:\movies\PandaKing.mkv -o PandaK...
Created by woolf on February 02, 2009 02:53:34    Last update: February 02, 2009 02:53:34
From the "Start" button, select "Run", then type in "services.msc", hit return.