Water rafting for the first time

tree house!
Last weekend I am fortunate to visit Coorg, a hill station near Bangalore. I must say, it was a beautiful experience. A must visit for anyone who loves nature. There is a beautiful waterfall, a place you should not miss. Just sheer nature and its love, one can only feel.
waterfall

There are natural cottages made for staying back. And the good thing is electric power is only available for 2 hours in night. Thats pretty awesome. As it was cold outside and almost all the time raining, one does not need electricity at all. There are these little candle lights and the night just seemed more enjoyable.

Well, this place seemed part of a wildlife sanctuary, so on our way we happened to see some wild animals as bear and deer.
We did a small trekking around the hill and must say it was an exciting experience as there were leeches on the path, the whole path was filled with leeches. And one is bound to get the leeches, so the best part is how to deal with problem when we have to go with it. That was the learning of the life time. And you know what? Leeches are not dangerous at all, people in that area are habituated with it. So the advice we got is, take a lemon with you all the time. Once you get a leech on your body, put the lemon juice into it. Do not panic and scratch the leech, as one can not get that thing out with hand. Well the most interesting part is when leeches suck your blood, you do not feel any pain!! They will come to your body, suck your blood up and go away as soon as they are full, and sometimes they burst also after drinking too much of blood, LOL :) .
trekking with Leeches
The most important part is, one is bound to get the leeches on one’s body, so the choice is whether to go on the trek or not? That is the lesson to learn. Fun and excitement comes and brings some sort of frightening moment but if you do not panic, just enjoy the moment and go with the flow without trying to control it, you will feel the full potential of nature and as such life also :) All of us got some leeches on our body too :) I got frightened once I saw one leech was just getting into my shoes!! It felt very frightening to me for once, tried removing it from outside, but as I said you can not remove it with your hand. Do not panic, remove your shoes, put some lemon juice and there you go. And one more thing, if at all you find one leech on your body, the damage is already done to you, the amount of blood it needs is already sucked!! So no point panic. I was carrying 3 more leeches with me, until I reach the base camp, where I found they are still with me travelled all the distance from the mountain.
water rafting
Then came the first time in my life, water rafting. It was just as awesome as the wind, rain and wild water in this high force mountain river.
water rafting
Must say, I got a fantastic team with with. All of us were almost for the first time but almost all of us were ready to make it. The most interesting part is all most all of us are either do not know swimming or just do swimming pool swim. Looking at the river, the flowing water and its speed make us all nervous but then we had already decided to make it. Thanks to the wonderful guide in our boat, he was encouraging us all the time. Once we got stuck in the bushes somehow, it seemed a tough job to get back to the flowing water. For it was very tough to push the boat inside water, against water. We kept our cool and enjoyed the beauty of nature. That experience was just mind blowing. Two other guides came to rescue and we were back on the flowing water. Rest was just enjoying the flow and speed of water, the turbulence and water hitting all our faces, water coming inside boat and we kept moving with the constant instructions of the guide. Finally all of us reached safe and made an amazing experience.
its me
I would say, must try, yaaaaaaaahhoooo.

Removing the tracking of files, already tracked by Git

If you work on Git then you must be knowing once we fork(or initialise a repository) a repository, all the files inside that folder get tracked automatically by Git. Well, thats not a problem if we really want all of them to be tracked all the time. But the problem starts when there are some files we need not track. And the worse happens when all of the files are being tracked and now we decide to remove some files from being tracked. The handy command is

$ git rm --cached readme.txt

And for folders

$ git rm --cached docs/

There is an option to set a rule for Git to ignore all the files, one need Git to ignore from tracking. This rule is set in a file named .gitignore. Remember there is a dot (.) before gitignore word name. All those files which need to be ignored must be mentioned in this .gitignore file. The tricky part is .gitignore will not remove files from tracking by Git if those files are already being tracked by Git. In those case the above “git rm –cached” trick will help.
The way I do it regularly is add the .gitignore file in the beginning inside the folder I am going to initialise Git repository. That only works if I know which files I need to ignore in the beginning only.
There is a set of .gitignore templates for different languages at Github, That is a great help in the beginning of configuring the .gitignore for different languages.

OpenPlug released for FlashBuilder 4.5

If you are a flash developer, then the easiest way to create a cross device application is to use OpenPlug Studio. The feature list of the tool can be read here in detail. While the standalone version of this free tool is in its alpha version, the FlashBuilder version was out for sometime.
The best part of the new release is, it now supports FlashBuilder 4.5.

Let go. It always works.

I generally tend to hold it for a long long time. And finally when I let it go, the solution is right in front. Yes, I always got to the solution but not with holding things, but with let go!
It is generally said that, do not get too serious with life else you will not get out of it. It took a long time for me to realise that. First of all its people arround. Those who themselves are not happy, want you to stay worried and they will do all possible logic calculating how to make you that. So be aware not to fall in trap. It will not help. Believe in your own self and make a choice to be happy. Leave everything behind and just be happy now. Once you do that, things will unfold.
Once you let go, the situaion itself knows that you are not trying to fight it with logic but intuition and that’s powerful. Once you do that you will find solution in front , will come from somewhere you have never ever imagined. That works for me and may be you try that.
Belive in self and let go things will do wonders, while logic can solve mechanic problems, life is not mechanical at all. Happy living.

Posted from WordPress for Android through my “HTC Wildfire”.

Git Svn

While the dialogue can go on as to what to use for version control system, central or distributed, the truth is the whole developer community is inclined towards Git.

If you are a Git user, chances are you come across teams, who still uses Svn. Never to worry though, since Git has native support for Svn. So basically, while all of the team will be using Svn, you can still use Git and work on the same repository as the team, with the added power of Git.

My often used commands to work with Svn through Git are below,

git svn init https://svn.repo.org/dev/trunk/
git svn rebase (or git svn fetch)
git svn dcommit

Basically, once you have your repository locally, everything else is plain Git.

git branch myLocalDev
git checkout myLocalDev
git add .
git commit -m 'my comment'
git checkout master
git merge myLocalDev
git svn dcommit

Below is a description taken from here, which makes it clear as to what to do when Svn is updated and you need to update the local repository before pushing your update to the central repository.

Solve git-svn rebase problems

Put aside your changes using the command :

 git-stash 

Update your working copy using :

git svn rebase 

Take back your changes typing :

git-stash apply 

Clear “the stash” typing :

git-stash clear 

Hope that helps someone out there.

Posted from WordPress for Android through my “HTC Wildfire”.