Why so serious about life? Why earn so much? Why make a name for yourself? – Part 1

What if we fast forward 100 years from today? Can anyone in the world remember your name or what you are doing right now? May be you might have done some good so lets say you may be remembered for 200 years or lets say another 1000 years if you had made some history. Let’s visualize the time frame of 1000 years.

According to the Hindu Vedas (other scriptures), it is said that the Brahma who created us actually lives for 311,040,000,000,000 years (That’s 311 trillion 40 billion years!!!). He himself dies after this period and the next creation starts after another 311 trillion years of no-creation and the same process repeats itself without an end! If you follow Hinduism, you know we are in Kali Yuga but did anyone said that Kali Yuga lasts for 432,000 years!! and the previous Dvapara Yuga lasted for 864,000 years and preceding it were Treta yuga – 1,296,000 years & Satya Yuga 1,720,000 years!!! Together they form one MahaYuga and it lasts for 4,320,000 years!! For Brahma, he needs 1000 such MahaYugas to just end his day and he simply rests the same time as his night!! Just imagine these time spans were perceived and written at least 5000 years back in Srimad Bhagavatam! Let’s leave old science and see ourselves in the current situation.

Based on our science, our earth and sun which are believed to be formed around 4,500,000,000 years (4.5 billion years) and will supposedly end in another 7,500,000,000 years (7.5 billion years) have a life span of about 10 billion years. Based on our vision on how far we can see using our dear instruments, science has predicted that the big bang might have occurred 14 billion years ago and may last another 1-100 trillion years. This keep changing every decade based on how far we can perceive with our human senses and how wild we can imagine the death of the universe 🙂

Fame, even if it lasts for 1000 years, just lasts for 1/100,000,000,000 portion of the entire existence, and 1/10,000,000 of the earth’s or sun’s existence and 1/432 portion of this Kali Yuga. What if this portion is just a split second in another existence? What are we fighting for? Why are we so serious about earning fame, earning money, earning glory? Why are we running after our names, our bodies, our desires? Who remembers what you did right now, in the past or in the future? What is your purpose here? Why do you even exist?

All the money you hold, all the sorrow you experience, all the happiness you long for just disappears if you just close your eyes and see yourself after 100 years. Because you don’t exist, your money wont and your sorrows vanished in time.

Time is eternal, time is ever lasting and everything creates with it and ends with it. Stop fighting for your lives, stop being greedy,  stopping attaching yourselves with the things as what you are doing is just trying to fight with the time. Because nothing exists as you feel it should in the next 100 years and nothing exists as you imagine it should be in the next thousand years and nothing as such after 10 billions years!!! which is still a small time in terms of the TIME!

What about space!!! Can we see the end of the Universe and why can’t we see?

Autostart MySQL Server on start-up – Mac OS X 10.10 Yosemite

After installing Yosemite, MySQL Server will no longer autostart on start-up.  If you are facing this problem of manually starting up MySQL Server every time you restart Mac OS X Yosemite, here is the solution.

Autostart MySQL Server on startup – Mac OS X Yosemite

USING TERMINAL & VIM:
1. Open Terminal
2. Create a new file “com.mysql.mysql.plist” at /Library/LauchDaemons/
cd /Library/LauchDaemons/
sudo vi com.mysql.mysql.plist
3. Copy and paste the following contents in the file. Using “vi” you need to press “i” to starting inserting and CMD+v to paste the contents.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>KeepAlive</key>
    <true/>
    <key>Label</key>
    <string>com.mysql.mysqld</string>
    <key>ProgramArguments</key>
    <array>
    <string>/usr/local/mysql/bin/mysqld_safe</string>
    <string>--user=mysql</string>
    </array>
  </dict>
</plist>

4. Save the file. Using “vi” you need to press “esc” and then type “:wq” & press “enter” to save the file.
5. Change the permissions of the file using the following commands.
sudo chown root /Library/LaunchDaemons/com.mysql.mysql.plist
sudo chgrp wheel /Library/LaunchDaemons/com.mysql.mysql.plist
sudo chmod 644 /Library/LaunchDaemons/com.mysql.mysql.plist

6. Run the Launch script using the following commands
sudo launchctl load -w /Library/LaunchDaemons/com.mysql.mysql.plist

USING TEXTEDIT:
1. Open textedit app.
2. Click “New Document” on the left bottom or type Cmd + n
3. Enter the following contents

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>KeepAlive</key>
    <true/>
    <key>Label</key>
    <string>com.mysql.mysqld</string>
    <key>ProgramArguments</key>
    <array>
    <string>/usr/local/mysql/bin/mysqld_safe</string>
    <string>--user=mysql</string>
    </array>
  </dict>
</plist>

4. File -> Save… as “com.mysql.mysql.plist” on desktop.
5. Open “Macintosh HD” folder and select Library -> LaunchDaemons folders
6. Drag the “com.mysql.mysql.plist” to this LauchDaemons folder.
7. Authenticate to move it.
8. Open Terminal and type the copy and paste the following commands
sudo chown root /Library/LaunchDaemons/com.mysql.mysql.plist
sudo chgrp wheel /Library/LaunchDaemons/com.mysql.mysql.plist
sudo chmod 644 /Library/LaunchDaemons/com.mysql.mysql.plist
sudo launchctl load -w /Library/LaunchDaemons/com.mysql.mysql.plist

Restart Yosemite to see your MySQL server auto-start on restart. You can check MySQL status in System Preferences if you have installed MySQLStartItem.pkg and MySQL.prefPane from the MySQL dmg. Read more about it at http://dev.mysql.com/doc/refman/5.1/en/macosx-installation-startupitem.html

Enjoy! and let me know in the comments if you have any problem.

Clear or Remove “Top Hits” from Safari – Mac OS X

Recently, faced a problem when I wanted to remove a specific url from the “top hits” of my Safari 7 address bar in Mac OS X but found that it is nearly impossible to do so from Safari. There is no direct solution for this problem as even deleting it from history won’t remove it from the “Top hits”. After going through some files and some testing found the solution. Follow the below steps to remove any specific top hits from your Safari address/search bar.

1. Quit Safari
2. Go to ~/Library/Safari/ in finder. (Library folder in current user home)
3. Find “History.plist” file and edit it using textedit or text wrangler. (you may want to backup this file in case you messed it up)
4. Search in the file for the URL (for e.g. yoursearch.com) or the text (for e.g. yoursearch) that you are wanted delete from your “top hits”.
5. Identify the parent “ …. http://yoursearch ….. ” and delete it from the file.
6. Find any other instances of the same and delete the entire “” tags.
6. Open Safari and Enjoy. “yoursearch.com” will no longer be there.

Hope this will help a few facing this problem as Safari doesn’t give any way of removing individual “Top hits” URLs.