Saturday, 30 November 2013

Got stunned (cheated?) by buying at Pamadi Jewellers

Bought a gold nose pin for Smitha at Pamadi Jewellers at a cost of Rs. 860.  And got stunned (cheated??) after I did my calculations after coming home.  The weight of nosepin was 140mg, and the gold rate today in Bangalore according to the shopkeeper is Rs. 2902 (though some websites show it to be Rs. 2860).  Which means, according to the shopkeeper, going my the weight of gold, the nose pin should have cost 0.140*2902 = Rs. 406.  And he has charged Rs. 860.  Now, when I enquire him on phone, he says nose pins are not rated as per gold weight, they are given a rate per piece. :O

Tuesday, 12 November 2013

How to pop a git stash that was not the last stashed

Doing

git stash pop

pops the last changes that were stashed.

However, if you want to pop a git stash that was not the last one stashed, you need to use

git stash pop stash@{n}

For example, when following are the stashes (given by git stash list):

stash@{0}: On master: Uncommitted changes before update operation at 04/09/13 9:02 AM
stash@{1}: On refactor: Checkout migration at 09/07/13 1:20 PM
stash@{2}: On refactor: Checkout migration at 09/07/13 8:54 AM
stash@{3}: On master: Checkout refactor at 08/07/13 11:00 PM
stash@{4}: On refactor: Checkout master at 08/07/13 10:59 PM
stash@{5}: On master: Checkout bug-456231 at 05/07/13 9:37 AM

stash@{6}: WIP on master: 154bb0f Merge branch 'refactor4'

the following command pops and applies stash@{3}:

git stash pop stash@{3}

Sunday, 3 November 2013

Lal Bagh visit during deepavali

We had been to Lal Bagh yesterday (Sunday, 3 Nov 2013) along with dad, mom, Smitha, and Amruth.  We had an adventurous experience since we got stuck in rain which in the middle of a walk around the lake.  Luckily, Amruth was in his pram during that time, and we had carried a blanket with us, which we used to shelter him from the rain.  Here are some snaps:




A panoramic view of the lake:


Birds in the lake:




The lotus pond:


Snaps with Amruth in his pram:



Flattr this blog