Tips &Tricks Blog

0

How to apply or restore stashed changes ?

If you want to apply your last changes you can do the following : git stash apply OR git stash pop If you put too many things in the stash and don’t remember the...

0

How to change password in windows

Changing an account password in any windows version is a breeze. Press CTRL + ALT + DEL Select Change password And follow the instructions.

0

How to test a private method in rspec

Since you cannot access a private method directly, in order to test a private method, you can make use of the ‘send’ method that is available on all objects. @obj = MyClass.new result =...