Last active
November 27, 2019 23:12
-
-
Save jtviegas/5da996f74d2db3d3b44e44a1deb62f75 to your computer and use it in GitHub Desktop.
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
# necessary git basic config - avoid unnecessary merges | |
git config pull.rebase true | |
# Check ports | |
# To list the TCP ports that are being listened on, and the name of each listener’s daemon and its PID, run the following command: | |
sudo netstat -plnt | |
# download a folder from a github project | |
svn export https://github.com/jtviegas/terraform-modules/trunk/admin admin | |
# get version from package.json | |
version=`grep -w "version" package.json| cut -d':' -f2` | |
version=`echo "${version//[\",]}"` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment