Notes by woolf

Displaying keyword search results 1 - 6
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 October 22, 2010 03:24:32    Last update: October 22, 2010 03:25:14
ProductivityPortfolio has an excellent explanation about Hibernate and Standby . To restate the key points: Standby Enters low power mode by cutting off items such as hard drive and monitor Computer is still running Data is stored in RAM for quick recovery You may lose data when power runs out Hibernate Computer is shutdown and is no longer consuming power Data is saved to hard disk Wake up is not as fast as from Standby, but may be faster than Power On. Additional Notes: Check the Power Options applet in the control panel to see if you can turn on Hibernate (in the following screenshot, Hibernate cannot be enabled since there's not enough disk space). To bring up the Hibernate option when shutting down, hold...
Created by woolf on May 05, 2009 04:05:08    Last update: January 15, 2010 02:50:49
Remove the sound track. The default output format is avi, even though the input file is mpeg. mencoder -ovc copy -nosound PandaKing.mpg -o PK-no... Add a sound track: mencoder -ovc copy -audiofile PandaKing.ac3 -oac c... Replace the sound track and encode to mpeg: mencoder -ovc copy -audiofile PandaKing.zh.ac3 -oa... Looks like mencoder does not support multiple audio tracks . Check avimux from transcode project, or avidemux2.
Created by woolf on March 27, 2009 23:42:40    Last update: April 01, 2009 20:29:16
It's so frustrating. When you print out an outlook message with pictures in it, the images come out blank. I found a check box in the print dialog, checked it and it worked. Additional note : This is the Print dialog you bring up from the main window File menu. If you double click and open the message, open the Print dialog from the message window, it's a different dialog! My outlook version is 2003 SP3. Additional note 2 : And this works only when you double click to open the message first. It doesn't work when printing out of the main window.
Created by woolf on March 14, 2009 23:25:18    Last update: March 15, 2009 01:18:03
One of the first things you notice about Windows Vista is the annoying User Account Control (UAC) popup. It keeps nagging you to click a confirmation button whenever you try to install or reconfigure something. With UAC, you are working with normal user privileges even though you may be logged in with an administrator account. When the application requires administrator privileges, the UAC prompt pops up to ask for your confirmation. UAC compatible applications are packed with an application manifest to tell Vista that they need elevated privileges . For legacy applications needing elevated privileges , you can check " Run this program as an administrator " on the Compatibility tab of file properties dialog. Application manifest itself is not new to Windows Vista. In...
Created by woolf on January 15, 2009 05:05:19    Last update: January 19, 2009 05:07:49
MinGW is "Minimalist GNU for Windows" - a collection of freely available and freely distributable Windows specific header files and import libraries that allows you to build Windows native executables with GCC. MSYS is a minimal system that provides a POSIX compatible shell and utilities so that you can run the normal set of GNU build tools (such as configure, make). You can download MinGW and MSYS from sourceforge.net: http://sourceforge.net/project/showfiles.php?group_id=2435 . The set of files is overwhelming and installation is confusing sometimes. But here's what I did in order to build ffmpeg on Windows XP: Download "Automated MinGW Installer" (MinGW 5.1.4) Install MinGW 5.1.4. Select "Candidate". Check g++, but leave other options unchecked Finish installation of MinGW Install MSYS DTK 1.0 in C:\msys\1.0. Download "MSYS...