Skip to content

Instantly share code, notes, and snippets.

@nicolamontecchio
Last active December 28, 2015 00:49
Show Gist options
  • Select an option

  • Save nicolamontecchio/7416413 to your computer and use it in GitHub Desktop.

Select an option

Save nicolamontecchio/7416413 to your computer and use it in GitHub Desktop.
general wisdom
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