http://digitalpbk.blogspot.com/2006/11/openingclosing-of-cd-drive-from-vb.html
case I would
use:eject /media/cdromandeject -t /media/cdrom ...
Published 5 years, 5 months ago
http://digitalpbk.com/drupal/remove-flash-tracking-addthis-module-drupal-5
Remove Flash Tracking on AddThis module on Drupal 5
If you
use AddThis module on drupal, you might have noticed that a 1px by 1px flash object is created which sets tracking cookies on your pages. This is transparent to the user most time and you will see it only under generated source view. The flash button is added dynamically by the addThis module on the top of the page. This sometimes can be annoying since a white bar can appear at the top of the page due to this.
In drupal 6, the flash ...
Published 2 years, 6 months ago
http://digitalpbk.blogspot.com/2009/05/compaq-presario-v3000-wifi-problem.html
% loss),Approximate round trip times in milli-seconds: Minimum = 2ms, Maximum = 4236ms, Average = 801msApparently the connection was too poor in Compaq, I had to
use a pen drive to copy the statistics and post it here. Do you have a Compaq Presario??Do let me know ... ...
Published 3 years ago
http://digitalpbk.blogspot.com/2007/10/unix-networking-sockets-udp-transmitter.html
Reads messages from input and sends it to localhost:34000.To Setup a transmitter following must be done:1. Setup a port address and open a socket and bind to it.2. Send message to specified port and IP addresses.#include types.h>>#include socket.h>>#include in.h>>#include inet.h>>#include #include #include #include #include #include #include time.h>>#include /*Some are unused, But I read these are general headers
used in a network program:)*/int main(void){ struct sockaddr ...
Published 4 years, 6 months ago
http://digitalpbk.blogspot.com/2008/11/masm-assembly-factorial-program-big.html
34020262992581378423147276636643647155396305352541105541439434840109915068285430675068591638581980604162940383356586739198268782104924614076605793562865241982176207428620969776803149467431386807972438247689158656000000000000000000000000000000000000000000000000000000000000000for the Faint HeartedThe program calculates and computes big numbers by simulating the traditional way of multiplication and division of numbers. Hence it can do this upto any number of digits as much as the memory can hold. In this example, I have
used 512 digited numbers, which is more than enough for holding 255!.The key parts of the following program is bignum_mul and bignum_add macro which simulates the traditional method of multiplying and adding numbers (not
using any ...
Published 3 years, 6 months ago
http://digitalpbk.blogspot.com/2007/11/unix-networking-sockets-tcp-transmitter.html
address and open a socket and bind to it.2. Connect to server 3. Send messages4. Close connection when done#include types.h>>#include socket.h>>#include in.h>>#include inet.h>>#include #include #include #include #include #include #include time.h>>#include /*Some are unused, But I read these are general headers
used in a network program:)*/int main(void){ struct sockaddr_in sin; int s; s = socket(AF_INET, SOCK_STREAM, 0); if(!s) { perror("socket()"); return 1 ...
Published 4 years, 6 months ago
http://digitalpbk.blogspot.com/2007/10/xpm-file-format.html
,Height,Number of colors, Characters Per Pixel, optional X & Y Hotspots, optional XPM Extension.The array indexes 1-> number of colors indicates the color section.The strings in these section take the following format : %s %s %sThe first contains the characters that represent the pixels. The number of characters
used to represent a pixel is given by Characters Per Pixel field in array[0].The second string represents control characters that defines what the following field is about.switch(control character ...
Published 4 years, 7 months ago