This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
first step: git merge <branch> | |
second step: solve conflicts | |
third step: git commit | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget -r --no-parent http://site.com/songs/ | |
URL: http://www.howtogeek.com/171948/how-can-i-download-an-entire-web-site/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo env "PATH=$PATH" cmd | |
URL: http://superuser.com/questions/709515/command-not-found-when-using-sudo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git push -u origin <branch-name> | |
URL: http://stackoverflow.com/questions/2765421/push-a-new-local-branch-to-a-remote-git-repo-and-track-it-too |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Just use for version 1.x and 2.x: | |
Robolectric.application; | |
And for version 3.x: | |
RuntimeEnvironment.application; | |
Link: http://stackoverflow.com/questions/13684094/how-can-we-access-context-of-an-application-in-robolectric |
NewerOlder