Monday, December 31, 2012

7 Secrets to live - Deepak Chopra

7 Secrets to Grow Younger, Live Longer–By Deepak Chopra

Only a few decades ago, conventional medicine viewed the body as a machine whose parts would inevitably break down until it could no longer be repaired. As a medical student, I learned that random chemical reactions determined everything that happened in the body, the mind and body were separate and independent from each other, and genes largely determined our health and lifespan.

Today scientific research is arriving at a radically different understanding: While the body appears to be material, it is really a field of energy and intelligence that is inextricably connected to the mind. We now know that what used to be considered the “normal” experience of aging – a progressive descent into physical and mental incapacity – is in large part a conditioned response. The mind influences every cell in the body and therefore human aging is fluid and changeable. It can speed up, slow down, and even reverse itself.
There are many studies demonstrating the profound influence of the mind and beliefs on aging. For example, a landmark study by Harvard psychologist Ellen Langer, Ph.D., showed that the so-called irreversible signs of aging, including deterioration in hearing, vision, manual dexterity, muscle strength, and memory, could be reversed through psychological shifts in awareness and increases in physical and mental activity.
Even though we all have genetic predispositions, our health and aging aren’t predetermined. By making conscious choices in our behavior and where we focus our attention, we can transform our experience of our body to decrease our biological age.
The seven steps outlined below are practical ways to tap into your inner reservoir of unlimited energy, creativity, vitality, and love.
1. Change Your Perceptions of Your Body and Aging
Perception is a selective act of attention and interpretation. What you experience as “reality,” including your physical body and aging, is shaped by your habits of perception. While most people are conditioned to see the body as a static, biological machine, you can begin to view it as a field of energy, transformation, and intelligence that is constantly renewing itself.
Begin to notice both your internal dialogue and how you speak about your body and aging. If you find yourself saying things like, “I’m hitting the age where I’ll need reading glasses,” “I’m too old to try yoga (or some other activity),” “I inherited my dad’s bad back,” or other such statements, make a conscious choice to shift your perspective and what you tell yourself about your body and age.
Keep in mind that your cells are eavesdropping on what you say, so unless you want to have your father’s bad back or anything else that “runs in the family,” don’t nurture that seed of intention in your awareness.
A powerful affirmation you can use is Every day in every way, I am increasing my mental and physical capacity.

2. Stress Reduction and Meditation
Meditation is a simple yet powerful tool that takes us to a state of profound relaxation that dissolves fatigue and the accumulated stress that accelerates the aging process. During meditation, our breathing slows, our blood pressure and heart rate decrease, and stress hormone levels fall. By its very nature, meditation calms the mind, and when the mind is in a state of restful awareness, the body relaxes too.
Research shows that people who meditate regularly develop less hypertension, heart disease, anxiety, and other stress-related illnesses that speed up aging. Furthermore, new studies are finding that meditation literally restores the brain. A recent groundbreaking study conducted by Massachusetts General Hospital has made headlines by showing that as little as eight weeks of meditation not only helped people feel calmer but also produced changes in various areas of the brain, including growth in the areas associated with memory, empathy, sense of self, and stress regulation.
This study adds to the expanding body of research about the brain’s amazing plasticity and capacity to grow and change at any stage of life. We can nurture our brain’s power and maintain a youthful mind by developing a regular meditation practice.
Getting Started with Meditation
I usually recommend that people learn a traditional meditation practice from a qualified instructor. That way, you know exactly what to do at any point in meditation and with any experience that comes along. Often when people try to learn on their own or from a book, they learn incorrectly and soon give up in frustration because they aren’t experiencing the expected benefits. For those who are interested, the Chopra Center offers instruction in Primordial Sound Meditation, a natural, easy practice that dates back thousands of years to India’s Vedic tradition. You can look for a certified teacher in your area here. Another way to get started with meditation is by participating in the Center’s 21-Day Meditation Challenge.

3. Restful Sleep
Getting regular restful sleep is an essential key to staying healthy and vital, yet it is so often neglected or under emphasized. There is even a tendency for people to boast about how little sleep they can get by on. In reality, a lack of restful sleep disrupts the body’s innate balance, weakens our immune system, and speeds up the aging process.
Human beings generally need between six and eight hours of restful sleep each night. Restful sleep means that you’re not using pharmaceuticals or alcohol to get to sleep but that you’re drifting off easily once you turn off the light and are sleeping soundly through the night. If you feel energetic and vibrant when you wake up, you had a night of restful sleep. If you feel tired and unenthusiastic, you haven’t had restful sleep.
You can get the highest quality sleep by keeping your sleep cycles in tune with the rhythms of the universe, known as circadian rhythms. This means going to bed by about 10 p.m. and waking at 6 a.m.
Ideally, eat only a light meal in the evening, before 7:30 if possible, so that your sleep isn’t hampered by the digestive processes. You can go for a leisurely walk after dinner and then be in bed by 10 p.m.
It’s also very helpful to download your thoughts from the day in a journal before going to bed so that your mind doesn’t keep you awake.
4. Nurture Your Body with Healthy Food
There are “dead” foods that accelerate aging and entropy and others that renew and revitalize the body. Foods to eliminate or minimize include items that are canned, frozen, microwaved, or highly processed. Focus on eating a variety of fresh and freshly prepared food.
A simple way to make sure that you are getting a balanced diet is to include the six tastes (sweet, salty, sour, pungent, bitter, and astringent) in each meal. The typical American diet tends to be dominated by the sweet, sour, and salty tastes (the main flavors of a hamburger). We do need these tastes, but they can lower metabolism, especially if eaten in excess.
The pungent, bitter, and astringent tastes, on the other hand, are anti-inflammatory and increase metabolism. These tastes are found in food such as radishes, ginger, mustard, peppers, spinach, mushrooms, tea, lentils, lettuce, and so on.
Along with the six tastes, filling your plate with the colors of the rainbow   promotes a long and healthy life. We can literally ingest the information of the universe into our biology. Foods that are deep blue, purple, red, green, or orange are leaders in antioxidants and contain many nutrients that boost immunity and enhance health.
Examples of foods of the rainbow:
• Red: Red tomatoes (particularly cooked), red peppers, red/pink grapefruit, watermelon, red grapes, beets, red cabbage, apples, strawberries, cherries, raspberries,   cranberries
• Orange/yellow: Squash, carrots, sweet potatoes, yams, pumpkin, cantaloupe, mangoes, oranges, papaya, nectarines
• Green: Broccoli, kale, spinach, cabbage, peas, avocado, collard greens
• Deep blue/purple: Plums, blueberries, black raspberries, blackberries, purple grapes, eggplant (with skin)

5. Exercise
One of the most important ways to grow younger and live longer is regular exercise. Drs. William Evans and Irwin Rosenberg from Tufts University have documented the powerful effect of exercise on many of the biomarkers of aging, including muscle mass, strength, aerobic capacity, bone density, and cholesterol. Not only does exercise keep the body young, but it also keeps the mind vital and promotes emotional well-being. In his recent book Spark: The Revolutionary New Science of Exercise and the Brain, Harvard University professor John Ratey, M.D. describes research showing how “physical activity sparks biological changes that encourage brain cells to bind to one another.” This spark, as he calls it, increases the brain’s ability to learn, adapt, and perform other cognitive tasks.
A complete fitness program includes exercises to develop flexibility, cardiovascular conditioning, and strength training. Find an aerobic activity that you can do regularly – three to four sessions each week for twenty to thirty minutes is usually enough to give you substantial benefits. After your body is warmed up, spend five to ten minutes stretching. You will also want to include strength training in your program to systematically exercise the major muscle groups of your body.
The important thing is to start off slowly, find physical activities you enjoy, and do them regularly. If the most you can do right now is walk around the block, do that, and you will be surprised how quickly you increase your endurance and enthusiasm for moving and breathing.
6. Love and Friendship
Isolation and loneliness create the conditions for rapid aging. Heart attack and death rates are known to increase among the recently widowed and among men who have been suddenly terminated from their jobs without warning and against their will. The emotional value of social bonding is immense, yet in some countries, including the U.S., we have moved in the opposite direction for decades. With high divorce rates, single-parent families, and a population constantly on the move, social bonding keeps declining. The trend will be exacerbated as the fastest-growing population, those eighty and over, move into retirement homes. It’s becoming increasingly rare for older people to be cared for at home, and there is still a stigma about seniors being a burden to the young and a drag on society.
The key here is to stay connected and open to new relationships throughout your life. Resist the impulse to go quietly into semi-isolation because you assume that society expects that of you. Losing friends and spouses is an inevitable part of aging, and many people can’t find replacements or lack the motivation to. By “replacement,” I don't mean a new spouse and family (though that is certainly a possibility), but emotional bonds that mean something to you and offer continued meaning to your existence. No amount of reading and television substitutes for human contact that nourishes on the level of love and caring. One of the most effective steps is for older people to become involved with mentoring programs, education, and youth programs.

7. Maintain a Youthful Mind
An ancient Vedic aphorism says, “Infinite flexibility is the secret to immortality.” When we cultivate flexibility in or consciousness, we renew ourselves in every moment and reverse the aging process. Children offer the finest expressions of openness and flexibility. They play and laugh freely, and find wonder in the smallest things. They are infinitely creative because they haven’t yet built up the layers of conditioning that create limitations and restrictions.
To maintain a youthful mind, write down two or three things you can do that are totally childlike. Think of something that evokes childhood for you – eating an ice cream cone, going to a playground to swing, coloring a picture, jumping rope, building a sand castle. Find something that brings back the sense of fun you had as a child, even if you think you’ve outgrown it, and choose one of these activities to do today.
As you carry out your childlike activity, let yourself embody the archetypal carefree and innocent child. The feeling you’re aiming for isn’t a return to childhood, but something more profound, as expressed by the brilliant therapist A.H. Almaas: “When we look at a child, we see that the sense of fullness, of intrinsic aliveness, of joy in being, is not the result of something else. There is value in just being oneself; it is not because of something one does or doesn’t do. It is there in the beginning, when we were children but slowly it gets lost.” By re-experiencing our childlike nature, we not only cultivate a youthful mind, but we also connect to the part of us that is never born and never dies – our eternal spiritual essence.

Sunday, November 25, 2012

Why Windows is not ready for the desktop

An excellent blog on the Windows - Linux comparison : Check it out here - http://grep.be/blog/en/computer/ui/windows_desktop

As the author says in his followup blog - "First of all, I should note that the list which I posted was only semi-serious (with tongue in cheek); the fact that it refers to Windows as the operating system which "attempts to replace Linux as the major operating system" should have been a pretty big clue to that effect"

Do read the comments on the blog - quite fair rebuts in the comments. Check them out.

Also read the some-what 'against Linux Desktop' article at http://linuxfonts.narod.ru/why.linux.is.not.ready.for.the.desktop.current.html

Reproduced below from the blog (do read the followup too!!) :-  [NB: The blog has been reproduced below as some blogs tend to disappear sometimes. So this is for keeps!]

==========Extract from the BLOG================

Why Windows is not ready for general usage

There's this new Windows thing that people keep talking about, and which attempts to replace Linux as the major operating system. I've given it a look, but there's a wide range of problems with using it:
  • When you buy some hardware for your Windows machine, it hardly ever works out of the box: you first have to fiddle with some CD-ROM or manually (as opposed to through your software manager) download something from the Internet, or any number of other things (and in some cases even all of the above), before it'll even do anything useful. This is even true for keyboards and mice: the first time you plug in a USB keyboard to a Windows machine, it'll take about 30 seconds before they will work. It's much easier to have drivers for everything shipped with the operating system, so that things become really plug-and-play.
  • According to Microsoft, faulty hardware drivers are the main cause for Windows crashes. It would be better if Microsoft were to develop all (or almost all) hardware drivers for Windows themselves, like the Linux kernel people do; by doing this, the quality assurance for the drivers could be guaranteed as is the case for Linux drivers, and Windows users would have much a more stable system.
  • There is no public bug tracking system for Windows. What this means is that if you've got a problem with Windows that you'd like the developers to take a look at, you're out of luck.
  • Many Windows programs and drivers come with an "updater" which every so often checks online for newer versions of the software. While this is something Linux distributions also do, in Linux distributions this is done through a central updater; in contrast, Windows applications all have their own updater. The result is a situation where you have something like 5 to 10 updaters running in the background, eating memory and other resources, and slowing your system down.
  • Every major update of Windows since Windows 2000 has seen a complete overhaul of the user interface. As a result, everything you've learned goes out the door, and you have to relearn how to use the system all over again. This is about things like "where in the control panel is " or "what does my desktop look like"
  • Windows does not support focus-follows-mouse without manually calculating bit masks in a registry key.
  • Windows does not support virtual desktops without extra software.
  • If you don't like the Windows interface, it's almost impossible to swap it out entirely for something else, like you can switch from Gnome to KDE and back under Linux. Different people have different preferences, so should be able to swap the user interface for something that better suits them. This is child's play under Linux, and impossible under Windows.
  • While much of the Windows interface can be controlled without the use of a mouse, parts of it cannot be. If you're doing the same tasks every day, then using the mouse will slow you down; a keyboard is so much faster. Under Linux, it's perfectly possible to use the system without the use of a mouse, and without losing any functionality (except if you want to play games, but this list is about Desktop usage, not about game console stuff)
  • It is impossible to try out the new Windows without investing large amounts of money into a recent computer. In contrast, this blog post is being typed on a 7-year-old Macintosh PowerBook running a recent version of Linux.
  • It is very difficult to use a single Windows application (i.e., not an entire desktop) over the network. In Linux, you can just use SSH to log in to a server and start the GUI administration console there, but run your desktop environment (and whatever else) on your local machine. Windows doesn't have that, so you need to add large amounts of memory to Windows servers just so they can run a full (unneeded) desktop just so that you can maintain them.
  • Windows doesn't have mandatory access control subsystems like SELinux or AppArmor. What this means is that anyone who knows of a bug in a part of the system that runs with administrator or system privileges, has the ability to take over your entire system. With mandatory access control, this isn't possible. There is "Mandatory Integrity Control", but it uses a simplistic level-based system, and is only supported on the desktop; so on servers, where it would be most needed, this isn't available.
  • Windows cooperates very badly with other operating systems. If your company has a hybrid environment, you'll always need to special-case the Windows systems in the environment for one reason or another. What this means is that if you're the first user in your company to use this Windows, you'll probably not get much work done.
  • The new Windows only runs on the x86 processor family. If you have invested in, say, a mainframe, or in a rack full of PowerPC or MIPS processors, you're out of luck and had better stuck with Linux instead.
  • Windows has bad backwards compatibility. When I have this old Linux application that I still need to run for one reason or another and which doesn't run on a recent Linux installation (which is very rare in and of itself), I can install an older version of Linux in a chroot without having to run a full emulated machine, and the older application can then run in that chroot. Windows has a "compatibility mode" for older applications, but it doesn't work in all cases; when it doesn't, you would need to run a full virtual machine in which you run the older Windows just so you can run the older application. That's just a terrible waste of resources. It's also not possible to do this without installing extra sofware.
  • The standard Windows installation doesn't contain a lot of software. there is a basic word processor, but it doesn't have many features. There are almost no games, other than a few boring card games. There is a graphics editing program, but its feature set is fairly limited.
  • Unbelievably, you need to pay for most Windows software. This is just strange; you can do many useful things on a Linux system without ever having to pay anything for off-the-shelf software. While some of the tried and true Linux software that we all know is now also available for Windows, if you want to use, e.g., Microsoft's productivity suite, you'll have to pay for it.
  • Speaking of that productivity suite: there's a well-designed and widely accepted open standard, called ODF, describing the file formats that productivity suites should use. Yet, Microsoft chose to design their own; their description of this file format encompasses more than 5000 pages, and is in general fairly badly documented. What this means is that once you start using Microsoft's productivity suite, you'll have a very hard time moving away from it again. I recommend against ever starting to use it in the first place
  • And last but not least, Windows doesn't come with the source code. What this means is that you can't just look at the code and learn how things are done, or develop your own extensions, or audit the code for bugs, or any of a number of other things that you'd want to do with a regular operating system. Instead, you'll have to trust that Microsoft did the right thing, and beg, hope, and pray that they'll fix your bugs if you ever need to. I'm not sure what the hell they were thinking when they decided that.
In short, while this Windows thing has some promise, the above list shows that there's clearly still quite some work to be done before anyone can even think about starting to use it seriously. Hopefully the Windows developers will understand that and work on the above list of serious issues; otherwise, I'm afraid Windows will not be used by many people.
==========End of extract from the BLOG================

Sunday, November 04, 2012

Adopting Open Standards


This is something I have been crying hoarse for many many years.Now the Britishers (among many others!!) seems to have heard my voice ;-) Do read the full article from the BBC site article.  Read on here: http://www.bbc.co.uk/news/technology-20178175


Wish there were similar initiatives - if not in the Government, at least in our organisations. It confounds me why we can't put this in our RFCs and Procurement processes ?? Again - needs the right people at the right places who understand technology and its implications!!

Extract from the site :

Government IT projects: UK adopts open technology standards

"For too long, government IT has been too expensive, over-specified and run in contract structures that encourage complexity, duplication and fragmented user services," said Cabinet Office Minister Francis Maude in a speech announcing the strategy.
The standards the government wanted to adopt would favour smaller, innovative tech firms and would demand compliance with open data formats and protocols from every IT supplier, he said.
In the technology world, open standards stand in opposition to proprietary formats. As their name implies they let everyone that wants to look at how a program is built or data is formatted.
This openness helps to flush out bugs in software and makes it easier for data to travel and be re-used as programmers can easily see how it is structured.
Some more info on Open Standards
Open Standards on Wikipedia found here

A quick primer on the Open Standards principles from here :-

Availability
Open Standards are available for all to read and implement.

Maximize End-User Choice
Open Standards create a fair, competitive market for implementations of the standard. They do not lock the customer in to a particular vendor or group.

No Royalty
Open Standards are free for all to implement, with no royalty or fee. Certification of compliance by the standards organization may involve a fee.

No Discrimination
Open Standards and the organizations that administer them do not favor one implementor over another for any reason other than the technical standards compliance of a vendor's implementation. Certification organizations must provide a path for low and zero-cost implementations to be validated, but may also provide enhanced certification services.

Extension or Subset
Implementations of Open Standards may be extended, or offered in subset form. However, certification organizations may decline to certify subset implementations, and may place requirements upon extensions (see Predatory Practices).

Predatory Practices
Open Standards may employ license terms that protect against subversion of the standard by embrace-and-extend tactics. The licenses attached to the standard may require the publication of reference information for extensions, and a license for all others to create, distribute, and sell software that is compatible with the extensions. An Open Standard may not othewise prohibit extensions

Wednesday, October 24, 2012

Just some random thoughts on Windows 8


With the Microsoft Windows 8 launch just round the corner (26 Oct), just some random thoughts for our official organisations.....
(a) The User Interface is miles different than Win-7 and Win-XP. Will our official organisation resist using it for the re-learning involved?? Like the excuse they have been having for adapting Linux or other Open Source software?? The answer is obvious - a resounding NO

(b) Same goes for MS-Office 2013 - a totally different user interface. Lots re-learning involved!! But will they shift to free-open-source LibreOffice where some re-learning maybe involved? A resounding NO again
(c) Will we spend lots of $$$$ to send our personnel to train on these new platforms, while no effort (or money spent) is officially made to train personnel on Linux and LibreOffice??? A resounding YES

(d) Will home users who where not touching 'Linux' or 'LibreOffice' due to the re-learning involved jump on to Windows-8 and Office-2013 without a whimper or complaint on the long hours spent (and costs too or piracy!!) in learning these platforms????? A resounding YES


It sure beats me!!! :-)

Can you trust your Anti-Virus??

My belief has always been that the Anti-Virus makers are always a couple of steps behind and will always remain playing 'catch up'. The common users on Microsoft Windows platform are living under false assurances that once you have a patched up anti-virus, you are safe!! The saying in the Anti-Virus industry goes - Always run antivirus software and make sure the virus definitions are current.

Thats far from the truth and will show this briefly.

First, those using pirated copies of Windows OS and Windows MS-Office application suite - just know 'YOU ARE SITTING DUCKS' - and do not for a moment think that nothing is gonna happen!! Its just the 'ostrich-head-in-the-sand' attitude - until when the 'knock-out' punch arrives (though praying you do not face it!!) - in case you are using these pirated versions on the Internet for all you financial and personal (FB? Linkdin? Twitter? E-Mails? Banking?? Bill Pay? Online Purchase? etc..). DO GO AHEAD AND SPEND SOME $$$ ON GENUINE SOFTWARE - its worth the trouble! Or change over to the safe and secure Linux systems - Linux Mint or Ubuntu recommended - Go ahead and use it!! Assuring you, the Linux OS is now so user friendly that its setting it up can be done by a Primary class student!!

Coming to the main story - Every Software company keeps making 'security updates' to ensure any vulnerabilities that become known are patched up!! To patch up - you need to have genuine software (in Microsoft platform, you buy the software using precious $$$, in Linux - you download the OS and applications for free)

In the month of October 12, Microsoft released a major security patch to take care of some critica vulnerabilities. This can be assessed from the Microsoft Security Bulletin Site for Oct 12.

Among the Microsoft security alerts, the one that is very critical view the 'mango people' or aam-admi are effected is MS12-064. Visit the site to read more. The screen shot below shows it :-

To ensure you are protected from this exploit, you NEED to patch your MS-Office application suite. Other option - dump your pirated copy and start using the great office suite 'LibreOffice' available for free for Windows Platform from this site.

The reason for my this message is, lately I have been receiving targeted mails on my GMail accounts with attachments that seems too good to not open and see! Importantly, the mail subjects seems to a 'Targetted' attacks as they relate to some areas of my interest!!! Meaning, someone out there is sending mails knowing very well what type of documents/forwards (doc, PPT, XLS - MS-Office formats) one is interested in. And this comes from mail ids of known/trusted people (obviously their accounts has been hacked!!) Check out some of the 'interesting' mails I received last week. There has been some interesting PPTs and XLS files also falling into the same categories.

View my own interest and knowledge in security, and view using Linux + LibreOffice exclusively, I believe I am at very low risk - though I take necessary precautions of system scans nearly every other day! (when did you do your last system scan?? Did you leave it to your AV Software??)  Yess, I am a bit paranoid about my IT Security!!

The point I want to make, I had both the above document scanned using a number of reputed Anti-Virus software on fully patched up systems (facility available for free at Jotti Malware Scan site). The results were astounding and summarised as follows briefly:-
(A) The documents are using the latest Microsoft Vulnerabilities - namely the vulnerabilities that are being addressed in Microsoft Oct 12 bulletins - hoping that users are maybe using un-patched MS-Office (and they are right on target!!)
(B) More seriously - most of the so called reputed Anti-Virus Software failed to detect these malware. (Check out the 'Found Nothing' Remarks. This right away busts the myth that using a patched up anti-virus will protect the users.  I REST MY CASE 


Screen shots of the virus-scan on the documents received by mail attached below showing that many reputed Anti-virus software failed to detect that the documents contained malware!!   




Options for you:-
(A) Let go the assurances that if you have an updated Anti-Virus, you are safe!!
(B) Buy original software and ensure it is regularly patched/updated
(C) Move over to Linux (Linux Mint or Ubuntu or others) + LibreOffice in case you want rock solid performance and safe/secure software that remains patched automatically without you spending large $$$$$

BE SAFE in your Cyber Space!!!

Wednesday, October 10, 2012

Have a CryptoParty

Do you value Privacy and Anonymity online?? Do you want to be more secure online while using your PC or Smartphones??

Check out 'CryptoParty' documents and Wikis accessible from the site here

The CryptoParty document is a work in progress - but all the same it provides valuable security tips for all levels of users - very lucidly written and worth a read!!

You can download the 'CryptoParty' document PDF format (about 28 MB as on date) or can read it online here

What is CryptoParty?
Interested parties with computers, devices, and the willingness to learn how to use the most basic crypto programs and the fundamental concepts of their operation! CryptoParties are free to attend, public and commercially non-aligned.

CryptoParty is a decentralized, global initiative to introduce basic cryptography tools - such as the Tor anonymity network, public key encryption (PGP/GPG), and OTR (Off The Record messaging) - to the general public

Though each and every chapter are enlightening,  the chapters on 'Secure Calls', 'Email Encryption' and 'Safer Browsing' standout.  

Hope most of us become aware of issues like below:-
A GSM Interceptor (http://en.intercept.ws/catalog/2087.html) is an off the shelf device to record mobile phone conversations when in the vicinity of the call.
 Tor is a system intended to enable online anonymity, composed of client software and a network of servers which can hide information about users' locations and other factors which might identify them. Imagine a message being wrapped in several layers of protection: every server needs to take off one layer, thereby immediately deleting the sender information of the previous server
The only safe way of encrypting email inside of the browser window is to encypt it outside and then copy&paste the encrypted text into the browser window.

Have a CryptoParty if possible - and do send me an invite!!





Sunday, October 07, 2012

Linux Commands - Tree View

Came across a very useful file-structure-view script from this website for a tree view of the directory.

Just replicating here in case the site disappears :-)

#!/bin/sh
#######################################################
#  UNIX TREE                                          #
#  Version: 2.3                                       #
#  File: ~/apps/tree/tree.sh                          #
#                                                     #
#  Displays Structure of Directory Hierarchy          #
#  -------------------------------------------------  #
#  This tiny script uses "ls", "grep", and "sed"      #
#  in a single command to show the nesting of         #
#  sub-directories.  The setup command for PATH       #
#  works with the Bash shell (the Mac OS X default).  #
#                                                     #
#  Setup:                                             #
#     $ cd ~/apps/tree                                #
#     $ chmod u+x tree.sh                             #
#     $ ln -s ~/apps/tree/tree.sh ~/bin/tree          #
#     $ echo "PATH=~/bin:\${PATH}" >> ~/.profile      #
#                                                     #
#  Usage:                                             #
#     $ tree [directory]                              #
#                                                     #
#  Examples:                                          #
#     $ tree                                          #
#     $ tree /etc/opt                                 #
#     $ tree ..                                       #
#                                                     #
#  Public Domain Software -- Free to Use as You Like  #
#  http://www.centerkey.com/tree  -  By Dem Pilafian  #
#######################################################

echo
if [ "$1" != "" ]  #if parameter exists, use as base folder
   then cd "$1"
   fi
pwd
ls -R | grep ":$" |   \
   sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/   /' -e 's/-/|/'
# 1st sed: remove colons
# 2nd sed: replace higher level folder names with dashes
# 3rd sed: indent graph three spaces
# 4th sed: replace first dash with a vertical bar
if [ `ls -F -1 | grep "/" | wc -l` = 0 ]   # check if no folders
   then echo "   -> no sub-directories"
   fi
echo
exit

Sunday, September 16, 2012

7 habits of Highly Happy People

 From the website: http://www.marcandangel.com/2008/06/05/the-7-habits-of-highly-happy-people/

I hope that when you and I are 79 we will be able to look back at our life and smile, because we have used our time on this Earth wisely. And because we have lived a happy life. Not ambitious. Not influential. Just happy… It will be more than enough.

1. Happy people savor a joy of simple pleasures
Happiness does not come in shiny black cars, Rolex watches or the most exotic homes. It comes in small bursts of joy when we learn to savor the simple pleasures life offers us. You know, those times when you lifted your head to see the birds flying in the light blue sky and life felt so good?
Or when heard your favorite song on the radio and could not stop yourself from singing alone? Or when you cut yourself a slice of freshly baked apple pie and it tasked just like the one you had when you were little?
We all have these “happy” moments once in a while. But just think of how much more satisfying and happier your life would be if you took time to discover, recognize and savor the simple pleasures and blessings that surround you each day.
 
2. Happy people have complaint-free days
If your attention is focused of learning, recognizing everyday blessings and finding something positive in every person that you meet, you really don’t have time to notice negativity or dwell on problems. It is actually that simple.
Do a little experiment and try to go the whole day without complaining about anything or anyone. Because if you are not going to do something about the situation, then why would you bring it up?
 
3. Happy people expect no gratitude or appreciation
I know one lady, who volunteers for a retirement home. Twice a week she takes older people in a wheel chair for an hour long walk. She once told me that she enjoys doing it so much that she almost feels guilty about it.
If there is a wise way of being egoistic – this must be it.
When you help – help because it makes YOU feel good, not because you expect to benefit from it in some way or because you hope to receive gratitude and appreciation.
 
4. Happy people smile
I know this may sound simple, but it really works. And if you are one of those people, who always have a ready smile you will know what I am talking about. Smiling is one of the simplest gestures that create a deeper connection between people, giving them a reason to pass on the smile.
A sincere, heart-felt smile can instantly make you happier and, more importantly, it can brighten someone else’s day too.
 
5. Happy people believe in something bigger than themselves
You may call it God, the Universe, a higher or an invisible energy that connects humanity. But every happy person that I have met in my life believed in something greater than themselves. Maybe it is because having this helps us to let go of the illusion of being in control. Maybe because it makes us realize that we might not always know what is best for us. And maybe it gives us a feeling of being connected with other human beings.
But I know that without faith my life would be a whole lot more confusing and purposeless.
 
6. Happy people accept imperfection
None of the happy people I know are perfect. They all seem to know that.
Some of them are very health-conscious and some do not exercise or eat healthy on the daily basis. Some of them are organized and some of them embrace the art of clutter. Some take great care in always looking elegant, while other could not care less about their clothes or hair style.
And while all happy people I know are constantly working on improving something, they accept the weaknesses of others and their own shortcomings. I believe this is one of the reasons why it is always so easy and enjoyable to be around them. You can be yourself and feel great about it.
 
7. Happy people inspire and empower others
You can not inspire or motivate another person if you lack inner enthusiasm and positivity. On the other hand, as you empower and encourage others you will find yourself happier and more energetic. It is a circle – the more you give and strive to help others improve their life, the more your own life improves.

Live for today, for tomorrow is promised to no-one..

As read from an article on the net:

A friend of mine opened his wife's underwear drawer and picked up a silk paper-wrapped package: 'This, - he said - isn't any ordinary package.'

He unwrapped the box and stared at both the silk paper and the box.

'She got this the first time we went to New York , 8 or 9 years ago. She has never put it on , was saving it for a special occasion.

Well, I guess this is it.

He got near the bed and placed the gift box next to the other clothing he was taking to the funeral house, his wife had just died.

He turned to me and said: 'Never save something for a special occasion. Every day in your life is a special occasion'.

I still think those words changed my life.

Now I read more and clean less.


I sit on the porch without worrying about anything.


I spend more time with my family, and less at work.

I understood that life should be a source of experience to be lived up to, not survived through.

I no longer keep anything.

I use crystal glasses every day.

I'll wear new clothes to go to the supermarket, if I feel like it.


I don't save my special perfume for special occasions, I use it whenever I want to.

The words 'Someday....' and ' One Day...' are fading away from my dictionary.

 
If it's worth seeing, listening or doing, I want to see, listen or do it now....

I don't know what my friend's wife would have done if she knew she wouldn't be there the next morning, this nobody can tell.

I think she might have called her relatives and closest friends. She might call old friends to make peace over past quarrels.


I'd like to think she would go out for Chinese, her favourite food.


It's these small things that I would regret not doing, if I knew my time had come.


Each day, each hour, each minute, is special.


Live for today, for tomorrow is promised to no-one.........

Advices from a 90 year old

I have seen these words  of wisdom  earlier. But I didn't know it was written by this 90 year old lady !

Description:   part26.04020503.00010600@k8crm.comThis is something we should all read at least once a week!!!!! Make sure you read to the end!!!!!!

Written by Regina Brett, 90 years old, of the Plain Dealer, Cleveland , Ohio .

 
"To celebrate growing older, I once wrote the 45 lessons life taught me. It is the most requested column I've ever written.

My odometer rolled over to 90 in August, so here is the column once more:

 

1. Life isn't fair, but it's still good.

2. When in doubt, just take the next small step.

3. Life is too short – enjoy it..

4. Your job won't take care of you when you are sick. Your friends and family will.

5. Pay off your credit cards every month.

6. You don't have to win every argument. Stay true to yourself.

7. Cry with someone. It's more healing than crying alone.

8. It's OK to get angry with God. He can take it.

9. Save for retirement starting with your first paycheck.

10. When it comes to chocolate, resistance is futile.

11. Make peace with your past so it won't screw up the present.

12. It's OK to let your children see you cry.

13. Don't compare your life to others. You have no idea what their journey is all about.

14. If a relationship has to be a secret, you shouldn't be in it..

15. Everything can change in the blink of an eye But don't worry; God never blinks.

16. Take a deep breath. It calms the mind.

17. Get rid of anything that isn't useful. Clutter weighs you down in many ways.

18. Whatever doesn't kill you really does make you stronger.

19. It's never too late to be happy. But it’s all up to you and no one else.

20. When it comes to going after what you love in life, don't take no for an answer.

21. Burn the candles, use the nice sheets, wear the fancy lingerie. Don't save it for a special occasion. Today is special.

22. Over prepare, then go with the flow.

23. Be eccentric now. Don't wait for old age to wear purple.

24. The most important sex organ is the brain.

25. No one is in charge of your happiness but you.

26. Frame every so-called disaster with these words 'In five years, will this matter?'

27. Always choose life.

28. Forgive but don’t forget.

29. What other people think of you is none of your business.

30. Time heals almost everything. Give time time.

31. However good or bad a situation is, it will change.

32. Don't take yourself so seriously. No one else does..

33. Believe in miracles.

34. God loves you because of who God is, not because of anything you did or didn't do.

35. Don't audit life. Show up and make the most of it now.

36. Growing old beats the alternative -- dying young.

37. Your children get only one childhood.

38. All that truly matters in the end is that you loved.

39. Get outside every day. Miracles are waiting everywhere.

40. If we all threw our problems in a pile and saw everyone else's, we'd grab ours back.

41. Envy is a waste of time. Accept what you already have not what you want.

42. The best is yet to come...

43. No matter how you feel, get up, dress up and show up.

44. Yield.

45. Life isn't tied with a bow, but it's still a gift."

Uncommon Common

UNCOMMON COMMON

Common items found in any household.
Toothpaste, Rubber Bands, Nail Polish, Scotch Tape, Hair Dryer, Hand Lotion, Cornstarch, Petroleum Jelly, Salt, Vinegar or Paraffin paper. But apart from their original use, here are some other cool tasks you can employ them in. 

1.jpg
2.jpg
3.jpg
4.jpg
5.jpg
6.jpg
7.jpg
8.jpg1.jpg

Wednesday, June 13, 2012

Gadget to drool for - MintBox



Can think of innumerable usage for this lovely customised gadget - specially for security and encryption (why not use it as a BEU or Firewall or IDS or ...... - with Mint customised or own OS plonked in??)

Check this out at http://blog.linuxmint.com/?p=2055

Quoting from the website:
"The mintBox is amongst the toughest computers on the market. It features a die-cast solid-metal case which acts as a giant passive heatsink. Although the metal makes the mintBox heavier than other devices its size, it makes it feel really unique, robust and well engineered. More importantly, it cools down its components without needing any fans. Other than the noise coming from its internal 250GB hard-drive, the mintBox is completely silent."

The mintBox is available in two versions.
mintBox Basic ($476 + shipping, duty & VAT):
  • 250GB HDD
  • APU G-T40N (1.0 GHz dual core + Radeon HD 6290 – 9W)
  • 4GB RAM
  • Flat metal case
mintBox Pro ($549 + shipping, duty & VAT):
  • 250GB HDD
  • APU G-T56N (1.65 GHz dual core + Radeon HD 6320 – 18W)
  • 8GB RAM
  • Ribbed metal case