Monthly Archives: January 2018
How To Discard All Changes in Git
$ git stash -u
Can’t Login to WordPress wp-admin after Change of URL
Steps to change site URL without visual login panel:
“Find Your Passion”
Don’t try to find your passion. Instead master some skill, interest, or knowledge that others find valuable. It almost doesn’t matter what it is at the start. You don’t have to love it, you just have to be the best at it. Once you master it, you’ll be rewarded with new opportunities that will allow you to move away from tasks you dislike and toward those that you enjoy. If you continue to optimise your mastery, you’ll eventually arrive at your passion.
It’s easy to love something when you’re good at it.
Reference: How to Git Stash
To save the uncommitted changes:
# Either without a name $ git stash # Or with a stash name: $ git stash save funny-stash
When we have
$ctrl created by
$componentController, how to mock static members of a class?
let $ctrl = $componentController("funny-component", null);