Skip to main content

Posts

Showing posts from 2008

Disabling User module in drupal:stucked outside!

It is dump situation where I disable User login module and log out as admin. N permission restricts me to bring back login as admin as no login form is there, On that day I spent couple of minutes trying to access site, N As I fed up that day, had given access permission to anonymous user through database access (I know it is very stupid way to get out of situation) THen on next M'ning I found the solution for that from drupal forum that I can access login page by www.site-name.com?q=user

Working with drupal:Installation

1. Download Drupal 6.x form http://drupal.org/. 2. tar -zxvpf drupal-x.x.tar.gz 3. put this folder into /var/www/ 4. mv drupal-x.x/* drupal-x.x/.htaccess /var/www/html 5. Change the permission for setting.php chmod a+w sites/default/settings.php or chmod 777 sites/default/settings.php 6. Create the database using Mysql * apt-get install mysql * mysqladmin -u username -p create databasename (where username and password can get from /etc/mysql/debian.cnf) * GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON databasename.* TO 'username'@'localhost' IDENTIFIED BY 'password'; where 'databasename' is the name of your database 'username@localhost' is the username of your MySQL account 'password' is the password required for that username 7. Then run the script using : http://localhost/drupal-6.6/ 8. And you get the welcome page of drupal 9. Then do all settings and congiguration like (site name,logo,feature,database

Installation of Cygwin in Windows Machine

1. Install either from DVD or from site www.cygwin.com 2. Run setup.exe any time you want to update or install a Cygwin package. 3. Only the minimal base packages from the Cygwin distribution are installed by default. Clicking on categories and packages in the setup.exe package installation screen will provide you with the ability to control what is installed or updated. Clicking on the "Default" field next to the "All" category will provide you with the opportunity to install every Cygwin package 4. Remove the symlink or symblic link from c:/cygwin/bin -$ls -l(view symlink) list: target_filename symlink_filename -copy the content of target_filename into symlink_filename $cp targetfile symlink_filename -and remove symlink by: $unlink symlink_filename Now you can use Linux-like environment for Windows. It consists of two parts: A DLL (cygwin1.dll) which acts as a Linux API emulation layer providing substantial Linux API functionality. A collectio

Tuver Dal -One more Expirement in cooking

Last night it is my turns to prepare dinner for my rummies,so tried for Dal N It was gr8 simple steps to do first boil d dal with Fenugreek seeds and after it that mixup that and add Turmeric Powder, Coriander Powder, then Tadka with Mustard seeds,heeng ,kadhi patta ....... And that was amazing and testfull ;) I am saying that from my rummies complement :)

Build the binary module package yourself-Madwifi

When I am working on Debian Live project I found a problem : I am customizing Debian Live using Live-helper Kernal using :Linux 2.6.26-1-686 The wifi-connection is not being detected, I have packed madwifi-tools, madwifi-source,wireless-tools,gnome-network-admin,network-manager packages any other packages are required for that wife-connection. I am using linux 2.6.26-1-686 kernal and I didn't find madwifi-modules-2.6.26-1-686.so how can I able to add that ? Here is the solution ........... madwifi modules are not prebuilt in the archive because the maintainer of madwifi didn't wanted us to do that (on behalf of linux-modules-nonfree-2.6). however, you need to build the binary module package yourself (m-a build madwifi) and put it into your config/chroot_local-packages. And now your madwifi package support in your customized Debian Live

“User’s $HOME/.dmrc” file is being ignored.

When your linux machine gives .dmrc problem "“User’s $HOME/.dmrc” file is being ignored. This prevents the default session and language from being saved. File should be owned by user and have 644 permission. User $HOME directory must be owned by user and not writable by other users Do this.... sudo chmod 644 ~/.dmrc sudo chown your_username ~/.dmrc sudo chmod 755 /home/your_username sudo chown your_username /home/your_username

Are you afraid of the dark!!! -Sidney Sheldon

I have just finished reading this book ............... The book starts with the cops who find the dead bodies of various scientists. It tells us briefly about the lives of the two widows when they were married rather happily married. One widow being a high profile model the other being a girl next door kind of a person. This book is a story of the wives of two good scientist who escape death several times. The two lose their husband as they were murdered for being involved in a very high profile undercover project. The book describes how the two widows decide to find out the person involved in murdering their husband and in the process how do they escape death several times and finally whether did they die or not ? is a question which will be answered only after reading the book. ARE YOU AFRAID OF THE DARK? is a pleasant and easy read. While the story has its flaws, it certainly held my interest and kept me reading to the very end.

Create Debian Live Installer Using Live-helper

Here is the simple way to Install your cusomize Debian Live into your machine 1.Set the two parameter in config/binary with by a.LH_DEBIAN_INSTALLER="live" b.LH_DEBIAN_INSTALLER_DISTRIBUTION="daily" 2.Give the access to /tmp folder in chroot chmod 777 /tmp 3.clean binary by lh_clean --binary 4.Rebuild ISO And now you can install your customized live CD in your machine ,which works fine .......

Solutions....

The Difference between Focusing on Problems and Focusing on Solutions Case 1 When NASA began the launch of astronauts into space, they found out that the pens wouldn't work at zero gravity (ink won't flow down to the writing surface). To solve this problem, it took them one decade and $12 million. They developed a pen that worked at zero gravity, upside down, underwater, in practically any surface including crystal and in a temperature range from below freezing to over 300 degrees C. And what did the Russians do...?? They used a pencil. Case 2 One of the most memorable case studies on Japanese management was the case of the empty soap box, which happened in one of Japan's biggest cosmetics companies. The company received a complaint that a consumer had bought a soap box that was empty. Immediately the authorities isolated the problem to the assembly line, which transported all the package! d boxes of soap to the delivery department. For some reason, one soap box went throug

Customization using live-helper

Linux live cd are very useful installation disks and rescue disks are the main application of the technologies used to make a live cd i am going to talk about how to make a debian linux live cd in this how-to i will  cover how to use the application called live-helper first thing you need is a installation of debian it is best to use a debian sid host system to build the iso with live-helper using debian sid ensures that you have all the newest tools and the latest features fixes of live-helper to simplify this write-up i will assume you are using debian sid if you wish to use debian etch or lenny then you can set up apt pinning it will allow you to grab the newest packages for live-helper and all the dependencies so you can keep your precious stable system and still have the latest version of live-helper start off by updating the apt aptitude database and then upgrade any packages on your sid system to the newest possible version. I have used Qemu for running live CD su apt-get upda

Customization Splash image

Steps Customization Splash image in Debian Live Create your image, and transform it into a XPM file, 640x480, with 14 colors: $ convert my-nice-image.jpg -colors 14 -geometry 640x480! my-nice-image.xpm gzip it: $ gzip my-nice-image.xpm Put that image into $ cp my-nice-image.xpm livebuild/config/binary_local-grub/ Modify config/binary file in to LH_GRUBSPLASHIMAGE =./config/binary_local-grub/my-nice-image.xpm

આ જુઓ એક સોફ્ટવેઅર એન્જીનિયર જઇ રહીયો છે…

પોતાના 'પ્રોજેક્ટ'ના બોજ હેઠળ દબાઇ જઇ રહીયો છે, આ જુઓ એક સોફ્ટવેઅર એન્જીનિયર જઇ રહીયો છે… જીંદગીથી હરેલો છે, પણ 'બગ'થી હાર નથી માનતો, પોતાની 'એપ્લીકેશન'ની એક એક લીટી યાદ છે, પણ આજે પગમાં ક્યા રંગના મોજા છે તે યાદ નથી, દિવસ પર દિવસ એક 'એક્સેલ' ફાઇલ બનાવી રહીયો છે, આ જુઓ એક સોફ્ટવેઅર એન્જીનિયર જઇ રહીયો છે… દસ હજાર લીટીનાં 'કોડ'માં 'એરર' શોધી લે છે પણ, મજબૂર મીત્રોની આંખમાં આંસુ દેખાતા નથી, 'કોમ્પ્યુટર'માં હજારો 'વિન્ડો' છે, પણ દિલની બારી પર કોઇ દસ્તક સંભળાતી નથી, શનિ-રવિ નહાતો નથી ને આખુ અઠવાડિયું નહાતો રહીયો છે, આ જુઓ એક સોફ્ટવેઅર એન્જીનિયર જઇ રહીયો છે… 'કૉડીંગ' કરતા કરતા ખબર જ ના રહી, 'બગ'ની 'પ્રાયોરીટી' ક્યારે માતા-પિતા કરતા વધી ગઇ, પુસ્તકોમાં ગુલાબ રાખવાવાળો 'સિગારેટ'ના ધુમાડામાં ખોવાઇ ગયો, દિલની જમીન પરથી ઇછ્છાઓની વિદાઇ થઇ ગઇ, શનિ-રવિ પર દારુ પીયને મજા કરી રહીયો છે, આ જુઓ એક સોફ્ટવેઅર એન્જીનિયર જઇ રહીયો છે… મજા લેવી જ હોઇ જો એની તો પૂછી લો, પગાર વધારાની 'પાર્ટી' ક્યારે આપે છે? ને

Touching One .......................

Little girl and her father were crossing a bridge. The father was kind of scared so he asked his little daughter, "Sweetheart, please hold my hand so that you don't fall into the river. " The little girl said, "No, Dad. You hold my hand. " "What's the difference?" Asked the puzzled father. "There's a big difference, " replied the little girl. "If I hold your hand and something happens to me,chances are that I may let your hand go. But if you hold my hand, I know for sure that no matter what happens, you will never let my hand go. " In any relationship, the essence of trust is not in its bind, but in its bond. "So hold the hand of the person whom you love rather than expecting them to hold urs... this story tells many things... u just need to understand the meaning rest depends on u "

No Limits ............

While a man was polishing his new car, his 4 yr old son picked stone & scratched lines on the side of the car. In anger, the man took the child's hand & hit it many times, not realizing he was using a wrench. At the hospital, the child lost all his fingers due to multiple fractures. When the child say his father.... with painful eyes he asked "Dad when will my fingers grow back?" Man was so hurt and speechless. He went back to car and kicked it a lot of times. Devastated by his own actions...... sitting in front of that car he looked at the scratches, child had written "LOVE YOU DAD". The next day that man committed suicide. . . Anger and Love has no limits, so let the river of life flow in Limits so that this fresh water stream is never scattered.

Netbeans Missing New Project Categories

I started it and wanted to start a new project. What a surprise I have seen I could not. There were no menu items besides import existing ant project what I could reach. Holy s.... something! What is this? I was asking. Tried to purge package and reinstall but no luck. So finally I concluded that the problem is around Netbeans 5.5. What can people do than? I have taken the lattes version Netbeans 6.0 and tried. Much more surprise I had the same situation. No menu to create new project. I started to think about some kind of global conspiracy and decided to unveil it so the day just turned darker. Solution: $ rm -rf ~/.netbeans/6.0/config/Modules Simple right? If you are missing New Project Templates in Netbeans and you have started netbeans ever with IcedTea Java 7 - or any other "unsupported one" - first use only SUN Java as long as this error is not corrected to run netbeans. I do not know if this is an error in Iced Tea Java or in Netbeans and do not care too much anymore.