Tag 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.

LG_P690

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.

Hungry Saturday – I


I am starting the new series as “Hungry Saturday”.
On saturday ( not every ). I will publish all my learning to this post. By this way I want to make sure the continuity and learning.

Happy Learnging. Happy Hunger.

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
  User=ganu
  Hostname=some.server.com
Host host2
  User=user2
  Hostname=some.host.server.com

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.

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.

Drupal
Node
Content
Content Type
CCK
users
annonomouse user
logged in user
Roles and Permissions
role based permission
Single Sign on
blocks
modules
drupal plugin software
hook system
extensible
event driven system.
Drupal core
Drupal contributed
menus
menu paths
Drupal pages
Drupal index.php
clean urls
themes
site configutaiion..
error reporting…
status report
cron
performance
caching

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.

Nokia E72 – Message Icon Flashing/Blinking Continuously


I got my new E-72. And from day one a message icon keen on flashing/blinking.
I got the following solution hope this will be helpful to you too.

This is basically happens because your SIM is card is old and you have some old message in your SIM card.
You need to copy these message to your new phone.

Steps to follow –
1. Go to Menu
2. Go to Messaging
3. Go to Options
4. Go to SIM Messages
5. Copy your messages to Inbox or My Folder.
6. Delete your SIM messages.

Mission Successful.

Happy SMS’ing.

Quick Nokia E72 Tips and Shortcut Keys


After Google I got some quick tips. all together.

Keylock:
[Left softkey] + [Right softkey]= Keylock

Longpress on the homescreen:
[ctrl]= Switch Profile To Silent/General
[0]= Opens The Browser
[sym]= Switching Bluetooth On/Off
[*]= Activate Voice Control For Music (Artist/Song Name)
[Space bar]= Torch On/Off
[Homekey]= Show All Open Applications
[Left Selection Key]= PlayUnread Messages
[Right Selection Key]= Activate Voice Control For Applications & Contacts
[end key]= Deactivate Data Connection (if applicable)

Messaging:
[Shift]= Caps Lock On/Off
[Shift]+[Return]= Selecting Notes/Messages
[Shift]+[up/down on the d-pad]= Selecting Several Notes/Messages
[Shift]+[left/right on the d-pad]= Highlighting Text
[Shift]+[C]= Copy
[Shift]+[V]= Paste
[Shift]+[A]= Select All
[FN]= Num Lock On/Off
[FN]+[Space]= Text Input Options & Symbols
[sym]= Select Symbols

Browser
[0]= Go To Homepage
[1]= Show Toolbar
[2]= Search
[3]= Previous Page
[4]= Save As Bookmark
[5]= Keypad Shortcuts
[6]= Reload
[7]= Full Screen
[8]= Page Overview
[9]= Go To Web Address
[*]= Zoom In
[#]= Zoom Out
[enter]= Select

Real Player
[*/2]= Fullscreen/Normal Screen
[#]= Sound On/Off
[D-pad/Scroll up/down]= Volume Up/Down
[D-pad left/right] = Fast Forward/Rewind
[enter] = Play/Pause

Gallery
[send key]= Send Image
[enter]= Select
[backspace]= Delete

Ovi Maps:
[0]= Go To My Position
[1]= Map Mode
[2]= Tilt Map Down
[3]= 2D/3D Map Switch
[4]= Rotate Map Anti-Clockwise
[5]= Align Map North
[6]= Rotate Map Clockwise
[8]= Tilt Map Up
[*]= Zooming in
[#]= Zooming out

Press – Press and Release
Press and Hold – Press for 1-2 seconds and then release
Keyboard lock and release – Right softkey and then Left softkey
Display time, date, missing call and profile name when the E72 in screen save mode (Black) – Press and hold the middle navigation key.

Calls
Call voice mail – Press and hold 1
Call contact – Start typing the name of contact person
Fast dialing to contact – Press and Hold 2-9
Open call log – Press and hold call key
Contacts – Press Contacts key
Create new contact – Press and hole contacts key

Data
Start web browser – Press and Hold 0 key
Hangup data connection – Press and hold end call key

Accessories
Activate General profile and back to Silent profile – Press and Hold Control Key
Turn front flashlight on – Press and hold space key (with flashlight symbol)
Turn on/off bluetooth – Press and hold Symbol key

Voice commands
Messages reader – Press and Hold left softkey
Voice commands – Press and hold right softkey
Start music voice search – Press and hold * (Star key)

Applications
Application screen and back to home screen – Press Home key
Calendar – Press Calendar key
Create Meeting – Press and Hold calendar key
Email – Press Email key
Create new email – Press and Hold email key

Quick Other Tips
*#06# displays the IMEI – the serial number – of your phone. On the box of your device there should be the same number on the little sticker on one side of the box.
*#0000# displays the firmware and its date. Additionally there is the type (e.g. RM-159) and the name of your phone. This menu also gives you, if you own a N96, 5800, N85 and some other devices, the chance to update your firmware over the air.
*#92702689# (*#war_anty) displays the “warranty-menu” of your phone. Actually, in S60 it shows the time you spent on calls already.
*#2820# (*#bta_#) displays the bluetooth-address of your device. Every device has another bluetooth-address (works just if it has Bluetooth!).
*#62209526# (*#mac_wlan#) displays the MAC-address of your phone (works just if it has Wireless Lan!).
By pressing 0 (zero) for three seconds on the home-screen you easily can open the web browser.
By pressing the Menu/Home key for three seconds you open the task manager, which shows all opened applications.
Holding # for three seconds on the home screen you change the active profile to silent or back.
In the File manager, Photos application or Gallery you can sent your files really easily by pressing the green-answer key. Once you done that a lists pops up and you can decide whether you want to sent the file via e-mail, Bluetooth, upload it to a service or sent it as a message .
NOTE: The following codes can RESET your phone to the factory settings, all data on it will be deleted!
*#7780# (*#rst_#) does a soft-reset to your phone.
*#7370# (*#res_#) does a hard-reset to your phone.

Happy Calling.

Quick Tutorial – How to zip and unzip files under unix environment


Linux support zip and unzip facility.
All you need to install zip and unzip via apt-get in your debian/ubuntu linux.
The same is available via yum or zypper.

Some examples for zip and unzip.

1. Creates the zip archive and put all the files of the current directory in the compressed form.

ankur@ankur:~> cd test/
ankur@ankur:~/test> ll
total 0
-rw-r--r-- 1 ankur users 0 2010-10-20 10:03 1.txt
-rw-r--r-- 1 ankur users 0 2010-10-20 10:03 2.txt
-rw-r--r-- 1 ankur users 0 2010-10-20 10:03 3.txt
ankur@ankur:~/test> zip zipthis *
 adding: 1.txt (stored 0%)
 adding: 2.txt (stored 0%)
 adding: 3.txt (stored 0%)
ankur@ankur:~/test> ll
total 4
-rw-r--r-- 1 ankur users   0 2010-10-20 10:03 1.txt
-rw-r--r-- 1 ankur users   0 2010-10-20 10:03 2.txt
-rw-r--r-- 1 ankur users   0 2010-10-20 10:03 3.txt
-rw-r--r-- 1 ankur users 382 2010-10-20 10:05 zipthis.zip
ankur@ankur:~/test>

This command will automatically put the zip extension when the process will done.

2. Now try for zipping the subdirectory also..
Here I have created the subdirector as “subtest”.

ankur@ankur:~/test> ll
total 8
-rw-r--r-- 1 ankur users    0 2010-10-20 10:03 1.txt
-rw-r--r-- 1 ankur users    0 2010-10-20 10:03 2.txt
-rw-r--r-- 1 ankur users    0 2010-10-20 10:03 3.txt
drwxr-xr-x 2 ankur users 4096 2010-10-20 10:14 subtest
-rw-r--r-- 1 ankur users  382 2010-10-20 10:05 zipthis.zip
ankur@ankur:~/test> zip -r subzipthis *
 adding: 1.txt (stored 0%)
 adding: 2.txt (stored 0%)
 adding: 3.txt (stored 0%)
 adding: subtest/ (stored 0%)
 adding: subtest/sub1.txt (stored 0%)
 adding: subtest/sub2.txt (stored 0%)
 adding: zipthis.zip (stored 0%)
ankur@ankur:~/test> ll
total 12
-rw-r--r-- 1 ankur users    0 2010-10-20 10:03 1.txt
-rw-r--r-- 1 ankur users    0 2010-10-20 10:03 2.txt
-rw-r--r-- 1 ankur users    0 2010-10-20 10:03 3.txt
drwxr-xr-x 2 ankur users 4096 2010-10-20 10:14 subtest
-rw-r--r-- 1 ankur users 1306 2010-10-20 10:15 subzipthis.zip
-rw-r--r-- 1 ankur users  382 2010-10-20 10:05 zipthis.zip
ankur@ankur:~/test>

To use unzip to extract all files of the archive pics.zip into the current directory & subdirectories:

3. Listing of your files from a zip folder.

ankur@ankur:~/test> ll
total 8
-rw-r--r-- 1 ankur users 1306 2010-10-20 10:15 subzipthis.zip
-rw-r--r-- 1 ankur users  382 2010-10-20 10:05 zipthis.zip
ankur@ankur:~/test> unzip -l subzipthis.zip
Archive:  subzipthis.zip
 Length     Date   Time    Name
 --------    ----   ----    ----
 0  10-20-10 10:03   1.txt
 0  10-20-10 10:03   2.txt
 0  10-20-10 10:03   3.txt
 0  10-20-10 10:14   subtest/
 0  10-20-10 10:14   subtest/sub1.txt
 0  10-20-10 10:14   subtest/sub2.txt
 382  10-20-10 10:05   zipthis.zip
 --------                   -------
 382                   7 files
ankur@ankur:~/test>

4. To test about your zip archive that archive is OK or not:

ankur@ankur:~/test> unzip -tq subzipthis.zip
No errors detected in compressed data of subzipthis.zip.
ankur@ankur:~/test> unzip -tq zipthis.zip
No errors detected in compressed data of zipthis.zip.

5. Unzip your data

ankur@ankur:~/test> unzip zipthis.zip
Archive:  zipthis.zip
 extracting: 1.txt
 extracting: 2.txt
 extracting: 3.txt
ankur@ankur:~/test> ll
total 8
-rw-r--r-- 1 ankur users    0 2010-10-20 10:03 1.txt
-rw-r--r-- 1 ankur users    0 2010-10-20 10:03 2.txt
-rw-r--r-- 1 ankur users    0 2010-10-20 10:03 3.txt
-rw-r--r-- 1 ankur users 1306 2010-10-20 10:15 subzipthis.zip
-rw-r--r-- 1 ankur users  382 2010-10-20 10:05 zipthis.zip

6. Now you want to extract only the specific files from your zip folder. You can use like this…

ankur@ankur:~/test> unzip zipthis.zip 1.txt
Archive:  zipthis.zip
 extracting: 1.txt
ankur@ankur:~/test> ll
total 8
-rw-r--r-- 1 ankur users    0 2010-10-20 10:03 1.txt
-rw-r--r-- 1 ankur users 1306 2010-10-20 10:15 subzipthis.zip
-rw-r--r-- 1 ankur users  382 2010-10-20 10:05 zipthis.zip

7. To extract all files to some specified directory.

ankur@ankur:~/test> unzip zipthis.zip -d /home/ankur/test/
Archive:  zipthis.zip
 extracting: /home/ankur/test/1.txt
 extracting: /home/ankur/test/2.txt
 extracting: /home/ankur/test/3.txt
ankur@ankur:~/test> ll
total 8
-rw-r--r-- 1 ankur users    0 2010-10-20 10:03 1.txt
-rw-r--r-- 1 ankur users    0 2010-10-20 10:03 2.txt
-rw-r--r-- 1 ankur users    0 2010-10-20 10:03 3.txt
-rw-r--r-- 1 ankur users 1306 2010-10-20 10:15 subzipthis.zip
-rw-r--r-- 1 ankur users  382 2010-10-20 10:05 zipthis.zip

8. Unzip files one by one with confirmation.

ankur@ankur:~/test> unzip -q subzipthis.zip
replace 1.txt? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
replace 2.txt? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
replace 3.txt? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
replace zipthis.zip? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
ankur@ankur:~/test> ll
total 12
-rw-r--r-- 1 ankur users    0 2010-10-20 10:03 1.txt
-rw-r--r-- 1 ankur users    0 2010-10-20 10:03 2.txt
-rw-r--r-- 1 ankur users    0 2010-10-20 10:03 3.txt
drwxr-xr-x 2 ankur users 4096 2010-10-20 10:14 subtest
-rw-r--r-- 1 ankur users 1306 2010-10-20 10:15 subzipthis.zip
-rw-r--r-- 1 ankur users  382 2010-10-20 10:05 zipthis.zip

9. Zip and Unzip version and liceance.

zip -v
zip -L
unzip -v

10. Help from zip and unzip

zip -h
unzip -h

install tweetdeck on ubuntu 10.04


I usually use twitter and facebook from web only. Today i thought to use some client. I found TweetDeck. I thought it must be awesome. So I installed it.

Its very easy to install on Ubuntu 10.4 thanks to TweekDeck and Ubuntu Team.

TweetDeck – http://www.tweetdeck.com/desktop/

It goes like this

  • Download Adobe AIR from http://labs.adobe.com/downloads/air_linux.html
  • Get the .deb file from above page.
  • Use dpkg -i .deb file and this will automatically install Adobe AIR in your computer.
    ganu@ganu:~$ sudo dpkg -i /tmp/adobeair.deb
    Selecting previously deselected package adobeair.
    (Reading database ... 219838 files and directories currently installed.)
    Unpacking adobeair (from /tmp/adobeair.deb) ...
    Setting up adobeair (2.0.3.13070) ...
    
  • Download TweetDeck AIR from from there website or from direct link at http://www.tweetdeck.com/beta/TweetDeck_0_35.1.air
  • You can also directly download the latest air file from TweetDeck website page. It will download the latest version.
  • Run the air file, double click it and follow the instructions.
  • Yea its done.

Attached are some photos.



Happy Social Networking. 😛

gnome lost bottom taskbar: Ubuntu 10.04


Hey,

I know its very simple solution, but first time when I got this issue I was surprised and I got no solution.

Mistake : I was about to remove some extra panel from my task bar. But I deleted the panel.

Outcome : I lost my bottom taskbar, whatever window I open I can not see I always need to go Alt+Tab for that.

Solution :
In top panel right click on your panel and left click on “New Panel” Make sure new panel is at bottom – if not click and drag it to the bottom.

Once your panel is at the bottom – right click on the panel and say “add to panel”. A menu will open and from the menu select “Window List”. Left click on the “add button”.

Now when you minimize the window it will appear at the bottom panel.

Hope this will help.

Happy Opensource.

install Picasa 3.0 on Ubuntu 10.4


Quick Update.

I am a flickr Guy but I use Picasa also for my personal fotos.
Now i have upgreaded to Ubuntu 10.4 So I installed Picasa 3.0 to my Ubuntu. Its very easy.

Get the approprate .deb file for that.
Download the deb file from http://picasa.google.com/linux/download.html#picasa30

I downloaded picasa_3.0-current_i386.deb

Once this is copied
use

dpkg -e picasa_3.0-current_i386.deb

Here you go. Picasa is up and ready to use.

Happy Photography.

WWW-Web Site Essentials


I was reading a book couple of months back.

That book contains what are the fields you require for a good website. I noted down the points.

  • Testimonials
  • Promotions/offers
  • Photo Gallery
  • Blog
  • A good domain name
  • A good hosting company
  • CMS
  • Content update facility
  • Social media integration
  • RSS
  • Newsletter
  • Sitemap
  • About Us Page
  • Contact Us Page
  • Location Page
  • Client List / Affiliate List
  • Site Backup Facility
  • Site Analytics
  • Email Processes
  • Press Releases
  • Download
  • Search site
  • Notifications.
  • Security

Huff!! That contain so many things. This is not all.

If a site has all these things then this is complete site for ready for users.
Then it depends that what are the target users and who will use the site.
Based on that dynamic content can be added into the site.

Happy Web.

%d bloggers like this: