Category Archives: tips

Something Spiritual.

I went for one client meeting and I have seen a diagram. I was not able to take any picture but I have managed to write all the points which was available in picture.

This picture was related to spirituality.

The inner circle is growth and it has 2 section.
The left section has few points as –

  • Culture
  • Value
  • People
  • Ownership
  • Seamless Ness
  • Relationship
  • Dream
  • Desire
  • Ambition
  • Emotion

The right section has few points as –

  • Process
  • Policies
  • System
  • Design
  • Profitability
  • Consequences
  • Opportunity
  • Death
  • Fate
  • Accounts
  • Measurement

If I see these points are very imp in normal life for both Professional and Personal area.

Happy Karma.
Happy Yama.

How to hard reset Android LG P690, when touch is failed.

I am using LG-P690.

Today suddenly touch stopped working.  I am not able to do anything. Anything means anything. All my account are active and I am clueless what to do.

Before giving this phone to support I want to reset everything.

Objective : How to hard reset if your LG P690 touch is not working.


When the phone is fully off mode, press and hold the Home key + Volume down key + Power key. After some time say 5-10 seconds. You will get LG logo that time release the power key.

And when it will show the hard reset screen then release all the other keys.

And then take a deep breath and wait and finally your phone will be in same state when you have bought the same.


Happy Android.

“A” to “Z” of Stress Management

Note : Its not written by me. I just got it from my old archives. Liked to share the same.

  • Always take time for yourself, at least 30 minutes per day.
  • Be aware of your own stress meter, know when to step back and cool down.
  • Concentrate on controlling your own situation, without controlling everybody else.
  • Daily exercise will burn off the stress chemicals.
  • Eat lots of fresh fruit, veggies, bread and water, give your body the best for it to perform at its best.
  • Forgive others, don’t hold grudges and be tolerant not everyone is as capable as you.
  • Gain perspective on things, how important is the issue.
  • Hugs, kisses and laughter. Have fun and don’t be afraid to share your feelings with others.
  • Identify stressors and plan to deal with them better next time.
  • Judge your own performance realistically, don’t set goals out of your own reach.
  • Keep a positive attitude, your outlook will influence outcomes and the way others treat you.
  • Limit alcohol, drugs and other stimulants. They affect your perception and behaviour.
  • Manage money well, seek advice and save at least 10 per cent of what you earn.
  • No is a word you need to learn to use without feeling guilty.
  • Outdoor activities by yourself or with friends and family can be a great way to relax.
  • Play your favourite music rather than watching television.
  • Quit smoking. It is stressing your body daily, not to mention killing you too.
  • Relationships. Nurture and enjoy them, learn to listen more and talk less.
  • Sleep well. With a firm mattress and a supportive pillow, don’t overheat yourself and allow plenty of ventilation.
  • Treat yourself once a week with a massage, dinner out, the movies. Moderation is the key.
  • Understand things from person’s point of view.
  • Verify information before exploding, from the source.
  • Worry less. It really does not get things completed better or quicker.
  • Xpress. Make a regular retreat to your favourite space, make holidays part of your yearly plan and budget.
  • Yearly goal setting. Plan what you want to achieve based on your priorities in your career, relationships, etc.
  • Zest for life. Each day is a gift, smile and be thankful that you are a part of the bigger picture.

Happy Stress Free Life.

10 Letter Word

Today I got this. Most 10 IMP letter words.

I liked it.

  1. The most selfish one letter word is – “I”Avoid It.
  2. The most satisfying two letter word is – “WE”:, Use It.
  3. The most poisonous three letter word is – “EGO”, Kill It.
  4. The most used four letter word is – “LOVE”, Value It.
  5. The most pleasing five letter word is – “SMILE”, Keep It.
  6. The fastest spreading six letter word is – “REMOUR”, Ignore It.
  7. The hardesh working seven letter word is – “SUCCESS”, Achieve It.
  8. The most enviable eight letter word is – “JEALOUSY”, Distance It.
  9. The most powerful nine letter word is – “KNOWLEDGE”, Acquire It.
  10. The most essential ten letter word is – “CONFIDENCE”, Trust It.

Note : I have not written these. Its Ctrl+C and Ctrl+V with beautification.

Happy Words.

Setup SSH alias

This is easy tip. But I never knew in so many years.

Tip : How to open remote shell without typing the full server and user detail. Its like SSH alias.

Open the ssh folder.

cd /home/ganu/.ssh/
touch config
vi config

Then add the following lines in the config file

Host host1
Host host2

Then save this file and just type

ssh host1

It will ask for password. And you are done.

Happy Bash.

Board Room – Code of Conduct

Few days back I went for one meeting and was sitting at client meeting room.

Got these “Ground Rules” and liked very much.

  • Be Prompt.
  • Come Prepared
  • State Purpose and Review Agenda
  • Everyone should Contribute Constructively
  • Pay Attention and Be Courteous.
  • Be Focused on Topic.
  • Summarize Issues and Decisions.
  • Assign Action.

Happy Meeting.

Quick Perl Interview Points

Some years ago when I was planning for job change one of my close friend Deepak told me if you want to crack Perl interview just revise these points. I called these as bullet points.

Just revising these points for my reference and for your help.

This is no particular order and written as mentioned by him over the phone 🙂

  • Referencing – de-referencing of data types – scaler, hash, array
  • pack – unpack
  • string – split. while,
  • pop,push,shift,unshift
  • array – add variable..
  • hash print
  • data read from hash.
  • sorting – numeric or normal
  • file handing
  • DB connection.
  • path module.
  • use warning, use strict, dbi, cgi, dump
  • perl mysql connection
  • regular expression – all small example
  • adding module how to..
  • use
  • require
  • my or local diff.
  • package
  • why we use 1 in package.
  • little oops in perl
  • @ISA
  • command line in perl
  • /usr/bin/perl
  • CGI T
  • use dignostic
  • how to debug
  • perl -d
  • cpan to cgi.
  • pass by value , pass by reference
  • environment variable
  • data type of return value.
  • how to know that array has unique value
  • how to run system command from perl, how many ways. 4-5 ways. diff between each
  • spacial variable
  • comments in regular expression
  • what are the default error
  • what is slurp mode
  • file hander, opearion, third argument
  • how to escape
  • apache
  • sorting – numeric or normal
  • regular expression – all small example
  • adding module how to..

I will keep adding new point as and when I will get.
Comment your points.

Happy Perl.

Drupal Bullet Points

I have used Drupal in 2008-2010 and worked on Drupal5 and Drupal6.

I am just collecting some keywords during my learning.

Content Type
annonomouse user
logged in user
Roles and Permissions
role based permission
Single Sign on
drupal plugin software
hook system
event driven system.
Drupal core
Drupal contributed
menu paths
Drupal pages
Drupal index.php
clean urls
site configutaiion..
error reporting…
status report

Now I am not using Drupal, but which my work. This framework was awesome for CMS structure.

Happy Drupal.

How to enable Apache mod_rewrite in openSUSE

I got a situation where my Apache mod_rewrite module was not enabled for my openSUSE machine.
Here is the simple way to do it.

First check which apache modules are enabled in your machine.

ankur@ankur:/srv/www/htdocs> grep "^APACHE_MODULES" /etc/sysconfig/apache2
APACHE_MODULES="actions alias auth_basic authn_file authz_host authz_groupfile authz_default authz_user autoindex cgi dir env expires include log_config mime negotiation setenvif ssl userdir php5"

Second Change the apache2 config for modules and restart your apache.

ankur@ankur:/srv/www/htdocs> sudo vi /etc/sysconfig/apache2
ankur@ankur:/srv/www/htdocs> sudo /etc/init.d/apache2 restart
Syntax OK
Shutting down httpd2 (waiting for all children to terminate) done
Starting httpd2 (prefork) done

Finally, chech you module is installed.

ankur@ankur:/srv/www/htdocs> grep "^APACHE_MODULES" /etc/sysconfig/apache2
APACHE_MODULES="actions alias auth_basic authn_file authz_host authz_groupfile authz_default authz_user autoindex cgi dir env expires include log_config mime negotiation setenvif ssl userdir php5 rewrite"

huh!! Its working.

Happy Apache.

Achyutam Keshavam (अच्युतम केशवं ) Hindi Lyrics

अच्युतम केशवं कृष्ण दामोदरं, राम नारायणं जानकी वल्लभं || -2

कौन कहता है भगवान आते नहीं, तुम मीरा के जैसे बुलाते नहीं |
अच्युतम केशवं कृष्ण दामोदरं, राम नारायणं जानकी वल्लभं ||

कौन कहता है भगवान खाते नहीं, बेर शबरी के जैसे खिलते नहीं |
अच्युतम केशवं कृष्ण दामोदरं, राम नारायणं जानकी वल्लभं ||

कौन कहता है भगवान सोते नहीं, माँ यशोदा के जैसे सुलाते नहीं |
अच्युतम केशवं कृष्ण दामोदरं, राम नारायणं जानकी वल्लभं ||

कौन कहता है भगवान नाचते नहीं, तुम गोपी के जैसे नचाते नहीं |
अच्युतम केशवं कृष्ण दामोदरं, राम नारायणं जानकी वल्लभं ||

कौन कहता है भगवान नचाते नहीं, गोपियों की तरह तुम नाचते नहीं |
अच्युतम केशवं कृष्ण दामोदरं, राम नारायणं जानकी वल्लभं ||

अच्युतम केशवं कृष्ण दामोदरं, राम नारायणं जानकी वल्लभं ||

Neral – Matheran Mountain Railway

I like rail-fanning though I am not giving too much time on my this hidden activity. But one day I will be active rail-fanning guy.
Want to know all about train and trains. Even though today also its like daily adventure traveling via train in mumbai.

So we have decided to visit Matheran via Neral-Matheran Mountain Railways.
The train timings are very convenient. There are very few routes in India where toy trains are running. You can see like for more detail.

In season time and on weekends the trains are running full, so you make sure you book train tickets well in time. You can book tickets via IRCTC website. So we did the same we have already booked the tickets. 🙂

Nerail is situated in Mumbai – Pune rail road. From Neral we can catch Matheran Train which takes 90 minutes average.

Neral-Matheran Train Time Table.

Neral - Matheran Train Time Table

Neral Railway Station

Nerail Junction, Maharashtra

Matheran Railway Station

Neral-Matheran Railway Engine

Matheran Railway Station

Matheran Railway Station

Matheran Railway Station

A View of narrow gauge, it looks very less space between two tracks and put us into confusion that how a train run on such a narrow space.
At Matheran Railway Station

Neral – Matheran Train traveling is all about fun, curves, hight, slow speed, toy train, stops, views and panoramas.

I clicked some of the train engines.
Neral-Matheran Railway Engine

Neral-Matheran Railway Engine

Neral - Matheran Railway Engine

Neral - Matheran Railway Engine

Neral - Matheran Railway Engine

Neral-Matheran Train Engine

One by one every single engine is looking great and perfect. These trains are also used as passing goods to matheran city.
I clicked the insides engines photos also.. every other engines has its own gears and views…

Neral – Matheran Rail Engine Inside Views

Neral-Matheran Railway Engine

Neral - Matheran Railway Engine - Inside

The full track is covered as curves. Multiple curves in the routes.

Curves at Neral – Matheran route

Matheran Railway Track

Matheran Railway Track

And how about passing from tunnel – A fantastic view.
Neral-Matheran Railway Engine in Tunnel

It feels good when toy train stops at between station and you enjoy a sip of tea.
Matheran Mountain Toy Train

Matheran Mountain Toy Train

Train also passes the road multiple times, all the time human barriers are available for others.
Matheran Mountain Toy Train

It again feel fantastic when train give full throttle and full whistle and it gives WOW experience.

Matheran Mountain Toy Train

Matheran Mountain Toy Train

It was really memorable journey. It begins here.
Matheran Railway Station

Old Style Railway Signal on the way to Matheran-Neral

Happy Traveling.

Sau rupaye ka Dum jo lun, Do sau gum ho udan Chhu

Hindi Lycisc from Dum Maro Dum

फिर देख रहा है
आज आँख सेक रहा है, कल हाथ सेकेगा
आज ढील छोड़ रहा है, कल खुद ही तोड़ेगा
आज मेरे लिए Chair खींच रहा है, कल मेरी स्किर्ट खींचेगा
खीचेगा की नहीं ? हम्म…?

अक्कड़ बक्कड़ बम्बे बो, अस्सी नब्बे पूरे सौ
सौ रुपये का दम जो लूँ, दो सौ गम हो उड़न छू

फिर क्यूँ मैं तू, कर रहे टे टू….

Aish Karo Yaara…
Happy Dum.

Answers from Sri Sri Ravishankar of Art of Living on Lord Krishna’s Gita Question.

Today I got mail from Rajendran Ganesan ( I am very fond of his blog. One of my favorite blog.

He sent this mail… I just liked it… I am printing as it is.

An answer from Sri Sri Ravishankar of Art of Living, for a question which is grossly misunderstood by many of us, I believe.
Q: Lord Krishna has said in the ‘Gita’ to sacrifice the fruits of action. Is

it possible to do that in real life?

Sri Sri: No, Krishna never asked you to sacrifice the fruits of action. He
says, in any case you have no control over the fruits of your actions.
Therefore put your attention on the performance of action. While running a
race, have the attention on yourself and not on the other tracks. His advice
is utterly practical.

Q: Then, don’t we have to look at the competition?

Sri Sri: Life is complex. Take this and that together. If you are not aware
of what is happening around you, you will miss out. Improve your intuitive


My हिंदी Translation for easy understanding.

Q. भगवान कृष्ण ने ‘गीता’ में कहा है कि कार्रवाई के फल का त्याग करो, क्या यह वास्तविक जीवन में करना संभव है?
A. भगवान कृष्ण नें कभी नहीं कहा है की तुम कर्म के फलो का त्याग करो. बल्कि उनका तो ये मानना है की किसी भी मामले मैं मनुष्य का कर्म के फलो पर कोई नियंत्रण नहीं है.
इसलिए कार्रवाई के प्रदर्शन पर अपना ध्यान रख. जैसे की एक प्रतियोगिता की दौड़ मैं दौड़ते वक़्त मनुष्य को अपनी दौड़ मैं ध्यान केन्द्रित करना चाहिए ना की दुसरे की दौड़ पर.
उनकी सलाह पूरी तरह से व्यावहारिक है.

Q. तो क्या हम वास्तविक जीवन की प्रतियोगिता मैं भाग ना लेवे. ?
A. जीवन जटिल है सब कुछ एक साथ ले कर चलो.
यदि आप नहीं जानते हैं की तुम्हारे चारो तरफ क्या हो रहा है तो तुम गुम जाओगे. अंतर्ज्ञानी बनो.

So कर्म करता जा फल की इच्छा मत कर.

Happy Worship. Happy Hard Work. Happy Success.

Drupal Interview Questions

So while working with Drupal Projects in my previous company. Me and my team prepared some Drupal Interview Question. This does not have everything but this will be for 1st round for sure. If you know these many question then I think you know Drupal For Sure.

Here is the list which is basic Drupal Questions.

  • Drupal Basics – Node, Module, Teaser, theme, Path, taxonomy, Patch, Region, Block, Menu
  • Installation of Drupal, steps and how to upload it on the live site from the local Machine.
  • Core Module in Drupal, their Names and their Functionalities.
  • Hook, Node Concepts
  • Functions and their Functionalities for – t() Function, l() function, Watchdog functions etc
  • Theme System in Drupal.
  • Themes and Theme Templates.
  • Theme Engines (Interface between the Drupal Core and the theme template).
  • Theme Hooks (Provide a way of interaction between the Modules and theme)
  • Theme Template structure and different sections as Page.tpl.php, node.tpl.php, block.tpl.php, box.tpl.php, etc
  • Derivative themes or Sub themes or Theme inheritance concepts that came into existence in Drupal 6, about it and its functionalities.
  • Steps to create a derivative theme and how to move for creating the theme from Derivative themes to a new theme right from scratch.
  • Theme function.
  • Where the Drupal theme functions are defined?
  • How the Drupal Theme functions can be overridden.
  • How to Implement the AJAX Effects on the Block modules in Drupal 6
  • Theme registration and the concepts in Drupal 6.
  • CCK modules and its importance with major functionalities.
  • How to create a Module.
  • How to insert the database table schema from the Modules when they are installed and remove the table scheme when they are un-installed (modules.)
  • User, Permission, Role in Drupal
  • How the Drupal database works?

Please give comments for more Drupal Questions.

Long back I have shard my PHP Interview Questions also.

Happy Programming.

how to delete space between characters or number in a openoffice cell

How to delete space between characters or number in a openoffice cell.
Searched a lot and finally got the answer like this ..

Suppose you have these kind of requirement then

  • A1 cell 111 222 333 will be 111222333
  • A1 cell Hey whats up will be Heywhatsup

For TEXT Use :
=SUBSTITUTE(A9," ","")

=–SUBSTITUTE(A9," ","")

Happy Calc.

%d bloggers like this: