$ git reflog
$ git difftool branch1:file1 branch2:file2
- Picking a commit from one to another branch
$ git cherry-pick -x
- Selectively adding changes from file
$ git add -p
- Finding un-pushed commits on local branch
$ git cherry -v
- Saving/recovering temporary local changes
$ git stash save
$ git stash pop
$ git stash list
- Display current working branch in repo
$ export PS1='[u@h W$(declare -F __git_ps1 &>/dev/null && __git_ps1 " (%s)")]$ '
Completed Hardware Software Interface Course on Coursera. My first online learning course, completed with distinction.
- Great experience
- Free knowledge sharing
- Communitiy interaction
- Platform for aspiring learners
- Stuctured approach for course organization
Peter Norvig says this on his very-well written blog (and 10000 hours practice rule from Outliers as well),
When things go wrong, as they sometimes will,
When the road you’re trudging seems all uphill,
When funds are low and the debts are high,
And you want to smile but you have to sigh,
When care is pressing you down a bit,
Rest if you must, but don’t you quit.
Life is queer with its twists and turns,
As every one of us sometimes learns,
And many a failure turns about,
When he might have won if he’d stuck it out.
Don’t give up, though the pace seems slow –
You may succeed with another blow.
Often the goal is nearer than
It seems to a faint and faltering man;
Often the struggler has given up
When he might have captured the victor’s cup,
And he learned too late, when the night slipped down,
How close he was to the golden crown.
Success is failure turned inside out –
The silver tint of the clouds of doubt,
And you never can tell how close you are –
It may be near when it seems afar;
So stick to the fight when you’re hardest hit –
It’s when things seem worst that you mustn’t quit.
Posted in Inspiration
Good Read (with some good references included):
View story at Medium.com