Last active
August 29, 2015 14:16
-
-
Save kamrankhan54/5876ad1f5ddb11345fa9 to your computer and use it in GitHub Desktop.
Snippets for Dev'ing
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
| This will reload any changes you make in the service that you watch - | |
| bosco cdn -t summary -w the-thing-you-want-to-watch | |
| This will let you stop a service - | |
| pm2 stop service-name | |
| This will list all the services which are currently running/stopped - | |
| pm2 list | |
| This will restart a service - | |
| pm2 restart service-name | |
| List used ports - | |
| lsof -i -P | grep -i “listen" | |
| Revert to a commit on working directory - | |
| http://stackoverflow.com/questions/20324638/reverting-specific-commits-from-git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment