Skip to main content

Posts

Nobody's Copyright

Let’s see what some wise people, spiritual teachers, say about copyright. U. G. Krishnamurti, the controversial teacher/non-teacher, expressed it this way. My teaching, if that is the word you want to use, has no copyright. You are free to reproduce, distribute, interpret, misinterpret, distort, garble, do what you like, even claim authorship, without my consent or the permission of anybody (U. G. Krishnamurti, The Mystique of Enlightenment, India. Dinesh Vaghela. Goa. 1982: http://www.well.com/user/jct/mystiq.htm ) clipped from www.indranet.org The debate about copyright is one of the most heated on the Internet. Record labels, movie distributors, publishers, news agencies, bloggers and users are involved in a discussion which at times gets aggressive. It seems that virtually everything on the Net is eventually copied, aggregated, cut, pasted and homogenized. There are various sites which aggregate articles by collecting everything being produced by blogs. Every intellectual pro...

Sending Data Other Process Signals

Sending Signals With payload. 1) we can send signal from one process to other along with data. 2) Data can be an int or pointer to some location. 3) For pointer both process should have access to that location, In case of integer, data is part of the signal. 4) There is no provision to include the payload in signal which is sent from kernel . Example: file: first.c #include #include void sighandler(int sig, siginfo_t *info, void *arg) { printf("In Handler value %d\n", info->si_value.sival_int); } main() { struct sigaction sa; int ret; sa.sa_sigaction = sighandler; sigemptyset(&sa.sa_mask); sa.sa_flags = SA_RESTART | SA_SIGINFO; if(( sigaction (SIGUSR1, &sa, NULL)) == -1) { printf("Can't register handler\n"); } for(;;) { ...

Short Sweet C Functions

One of the short and sweet function which i have written in C language is dotted_decimal_to_string(). This function takes individual fields as inputs returns dotted decimal string. This is used in taking dotted decimal values of network parameters like IP address, IP netmask, IP gateway address, DNS server IP address etc, from the webpage , where these network parameters are individual inputs from a form. Check out the function. char *dotted_decimal_to_string(char *pad1, char *pad2, char *pad3, char *pad4) { char temp[40],*ret_string; sprintf(temp,"%s.%s.%s.%s",pad1,pad2,pad3,pad4); ret_string = (char*)malloc(strlen(temp) + 1); strcpy(ret_string,temp); return ret_string; } The return string is a dotted decimal value for a network parameter and is used to store in configuration file or to use for setting and configuring the Network parameters. This function stuck to my mind while i was going to bed yesterday. That means, my back-office was working for me, ...

Booting ARM Linux By Russell King

Booting ARM Linux ================= Author: Russell King Date : 18 May 2002 The following documentation is relevant to 2.4.18-rmk6 and beyond. In order to boot ARM Linux, you require a boot loader, which is a small program that runs before the main kernel. The boot loader is expected to initialise various devices, and eventually call the Linux kernel, passing information to the kernel. Essentially, the boot loader should provide (as a minimum) the following: 1. Setup and initialise the RAM. 2. Initialise one serial port. 3. Detect the machine type. 4. Setup the kernel tagged list. 5. Call the kernel image. 1. Setup and initialise RAM --------------------------- Existing boot loaders: MANDATORY New boot loaders: MANDATORY The boot loader is expected to find and initialise all RAM that the kernel will use for volatile data storage in the system. It performs this in a machine dependent manner. (It may use internal algorithms to automatica...

Use Of Mount - Accessing Windows Files From Linux

This is pretty good use of SMB protocol aka CIFS . Windows system are default use SMB protocol to share files over network and with other systems. In linux one has to run SMB server, one SMB server is running on linux system, one can access the windows file from Linux system using mount . Use $mount -t cifs //192.168.2.102/bhagwat/firmware /mnt/prolent -o user=bhagwat Usages: 192.168.2.102 is windows machine IP address /bhagwat/firmware is the folder name on windows machine. /mnt/prolent is the local mount point in linux system. If local mount point is not created, create it using, $mkdir -p /mnt/prolent -p option for creating dir /mnt/ if it is not there. Then provide the usrename on for windows system ie user=bhagwat. press enter, this will ask for the password to enter to windows system. Enter the password and you are ready to use windows files or filesystem from linux. go to $ cd /mnt/prolent you could see windows files on linux machine.

MSBTE Summer 2008 Result at msbte.com

Maharashtra State Board of Technical Education Results 2008 नमष्कार मित्रानो आपला MSBTE चा नीकाल आनी अधिक माहिती एथे वाचा MSBTE Summer 2008 Results for Mumbai, Pune and Nagpur (Semester Pattern - C Scheme) Direct link; msbte.com/msbte2008rs/ MSBTE Summer Results for 2008 - The website has a MSBTE Results Search section where you can get your Summer results http:// www.msbte.com /site/index.php?option=com_wrapper&Itemid=52 Check out other source of information here previous update msbte , msbte results, msbte summer 2008 result, msbt, msbte .com, result, msbte , msbte summer 2008 results, msbte .com, msbte summer 2008 result, msbte result, msbte , msbte result,