Notes by woolf

Displaying keyword search results 1 - 5
Created by woolf on December 11, 2011 13:38:58    Last update: December 11, 2011 13:38:58
Install usb.essentials . Package usbutils is optional. # opkg update # opkg install kmod-usb2 # opk... Install usb printer support: # opkg install kmod-usb-printer Install p910nd print server: # opkg install p910nd Edit /etc/config/p910nd : config p910nd option device /dev... Configure firewall to allow port 9100 ( /etc/config/firewall ): # Allow printer con... If clients are connecting from wan then the first line should be: option src wan Enable automatic start of print server when router boots: #/etc/init.d/p910nd enable Restart router: # reboot
Created by woolf on June 30, 2011 15:15:50    Last update: June 30, 2011 15:15:50
You have to add the l flag to printf , otherwise it prints the truncated int: #include <stdio.h> int main() { long... Prints: Truncated value of i: 1701209960 Truncated valu...
Created by woolf on May 15, 2011 15:11:42    Last update: May 15, 2011 15:11:57
On windows, display IPv4 routing table: route -4 print On Linux: $ route Kernel IP routing table Destination ... This works for both Linux and Windows (" -r ": display routing table, " -n ": display address and port numbers in numerical form): netstat -rn
Created by woolf on January 15, 2010 05:00:14    Last update: January 15, 2010 05:03:49
Video taken with the Canon SD1200 camera comes in the AVI format, where the video is MJPEG and the audio is PCM. For some weird reason it doesn't play on my Windows XP box! The video is sluggish and the audio is often interrupted. But it works fine on my old Windows 2000 box. Since it's taking too much space anyway, I used mencoder to compress the video with XVID encoding and audio with MP3. This is the script. #!/usr/bin/perl $destdir = "C:/Documents and Se... Tools used: Mencoder: http://www.mplayerhq.hu/ Mediainfo: http://mediainfo.sourceforge.net
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.