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
# kill running containers | |
docker-compose down | |
# delete all containers | |
docker rm -f $(docker ps -a -q) | |
# Remove all the volumes | |
docker volume rm $(docker volume ls -q) | |
# up again |
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
mongod --port <desired-port> --fork --auth --bind_ip_all --dbpath ~/mongodb/qa/db/ --logpath ~/mongodb/mongod.log >> ~/mongodb/log & | |
## You can check the process using following command: | |
# => ps -edaf | grep mongo | grep -v grep |
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
{ | |
"__inputs": [ | |
{ | |
"name": "DS_PROMETHEUS", | |
"label": "prometheus", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" | |
} |
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
#Windows | |
#wget https://az764295.vo.msecnd.net/stable/7c7da59c2333a1306c41e6e7b68d7f0caa7b3d45/VSCodeSetup-x64-1.23.0.exe | |
wget https://az764295.vo.msecnd.net/stable/{latest-commit-in-version}/VSCodeSetup-{arch}-{version}.exe | |
#Mac | |
#wget https://az764295.vo.msecnd.net/stable/d0182c3417d225529c6d5ad24b7572815d0de9ac/VSCode-darwin-stable.zip | |
wget https://az764295.vo.msecnd.net/stable/{latest-commit-in-version}/VSCode-darwin-stable.zip |
NewerOlder