The 5 element of effective thinking

  1. Grounding your thinking: understand deeply
    • Understand simple things deeply
    • Clear the clutter — seek the essential
    • See what’s there
    • See what’s missing
  2. Igniting insights through mistakes: Fail to succeed
    • Welcome accidental missteps — let your errors be your guide
    • Finding the right question to the wrong answer
    • Failing by intent
  3. Creating questions out of thin air: be your own Socrates
    • How answers can lead to questions
    • Creating questions enlivens your curiosity
    • What’s the real question?
  4. Seeing the flow of ideas: look back, look forward
    • Understanding current idea through the flow of ideas
    • Creating new idea from old ones
  5. Engaging change: Transform yourself

The Five Lessons a Millionaire Taught Me

By – Richard Paul Evans


  1. Decide to be wealthy
  2. Take responsibility (Management)
    1. Money is a good servant, but a terrible master.
    2. Know where the money is from and know how it goes
  3. It’s not what you earn; it’s what you keep that makes you rich
  4. Win in the margins
    1. Is it the best you can offer?
    2. Would you like a refrigerator to go with that house? → Appliance is then added to the house mortgage. 😦
  5. Give back: be appreciate of what you have and what you can give in the given lifetime.


Note on Air Travel tip:

  • Fly on Sundays rather than Saturdays
  • Book flights early (at least 2 weeks in advance)
  • Buy tickets during workdays (weekend price is higher)


Hide directory tree in Apache server

Take me hours to figure this crap out. Anyways, here’s the short story:


Open apache configuration file:

sudo nano /etc/apache2/apache2.conf


Scroll down to the <Directory /var/www/>. Add Options -Index and comment Option Indexes FollowSymLinks like so:

<Directory /var/www/>
    Options -Indexes
#    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted


That’s all you have to do to hide the directory list. Happy Programming! DX

Server Setup on Instances

Install Apache

sudo apt-get install apache2-mpm-prefork
sudo a2enmod userdir
sudo a2enmod expires

Restart Apache

sudo /etc/init.d/apache2 restart 
sudo service apache2 restart

Install MySQL

sudo apt-get install mysql-server mysql-client

Create DB user in MySQL

CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';
GRANT ALL ON db_name.* TO 'username'@'localhost';

Install PHP

sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt
sudo apt-get install libapache2-mod-php5