Last active
December 28, 2015 00:49
-
-
Save nicolamontecchio/7416413 to your computer and use it in GitHub Desktop.
general wisdom
This file contains hidden or 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
| Force git to overwrite local files on pull (fixed homebrew w/ this) | |
| git fetch --all | |
| git reset --hard origin/master | |
| find ip address from cmdline | |
| wget -qO- http://ipecho.net/plain ; echo | |
| check a port is open on a machine | |
| nc -zv hostname port |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment