Posts

my new theme on Fedora 8 , : awesome !!

Image
here is a screenshot of my Fedora 8 desktop with the new theme , it is just great ...... i am lovin it !!

worries with the main logic of endswith !

reference : http://satisheerpini.blogspot.com/2008/04/endswith-function-in-c.html i have been having enough problems getting the main logic of the endswith function right, .... the code for the main loop in the program which does the string matching is as follows : ____________________________________________________________________________________ for(i=0;i dir_recd_len;i++){ if(i continue ; else{ /* * the first error lay here , i forgot to give the * brackets at (85,19) and (85,45), that gave negative values * during iterations , which was disastrous */ if(argv[2][i-(dir_recd_len-comp_str_len)]==dir_recd->d_name[i]){ flag=1; } else{ flag=0; /* * could not use exit(0) or bre...

exams time again !!

to say the least , the next two weeks is going to be the most boring time of my life, ... it is sem end exams coming up , so have to do some serious studying !!! miss u guys !! :-( .........

2.6.25 up and running !!!

well i have compiled the latest kernel (2.6.25) , without any problems on Fedora 8. ... it appears to e a notch faster than the previous stable release, ....... but i have realized one thing, on Fedora, just compiling and installing the kernel image also automatically generates the 'initrd image, . While it does not on other distros, most of which i have used !!!

endsWith() function in C

well this function already exists in Java , so i just wanted to write a similar thing in C , it was pretty simple work , the source code can be downloaded from , http://filekeeper.org/download/eerpini/endswith-1.0.tar.gz and a lot of things are yet to be added , which can be found in the TO-DO file .

ubuntu root login

by default ubuntu does not come with the privileges to login as root in GDM , ... here is what can be done , there are two steps , first to enable root login and the second to know the root password : 1) go to the following in the panel menu: System--> Administration--> Login Window There in the Security tab , check the option , Allow local System Administratotr Login . 2) go to the following in the panel menu : System--> Administration--> User and Groups then select root, and click on Properties , then select Generate Random Password and note down the password displayed in the Password set to field. This is the required root password , change it if u want to from the terminal . Now logout and login back as the root user . Logging in as the root user provides a lot of functionality, but it may get very messy at t...

Helper Functions Library in C

A small project has been planned at the LUG@VITU , it consists of coding a simple C library having helper functions which are not available in the standard C library .More details about the project and how to contribute to it can be found here : http://220.225.214.101/node/115