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
docker stop $(docker ps -a -q) | |
docker rm $(docker ps -a -q) |
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
docker volume prune | |
docker-compose build --no-cache {service} | |
docker-compose up --force-recreate --no-deps services |
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
docker run -d --name db mongo | |
docker run -d -p 8000:8000 --name remotedev --link db:db jhen0409/remotedev-server | |
// in app | |
// const composeEnhancers = composeWithDevTools({ | |
// realtime: true, | |
// hostname: <docker-machine-ip>, | |
// port: 8000 | |
// }); |
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
[ | |
{"ID":1, "Date":"2015–09–01T00:00:00", "Title":"…", "Sponsor": "…"}, | |
{"ID":1, "Date":"2015–09–01T00:00:00", "Title":"…", "Sponsor": "…"} | |
] |
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
{"ID":1, "Date":"2015–09–01T00:00:00", "Title":"…", "Sponsor": "…"} | |
{"ID":1, "Date":"2015–09–01T00:00:00", "Title":"…", "Sponsor": "…"} | |
... |
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
#!/bin/bash | |
# | |
# A bash script for installing Python 3.7.2 on your Debian, Ubuntu or Mint server. | |
# (c) 2019 Valentin B. | |
# | |
# Open your terminal and enter the following command: | |
# wget https://gist.github.com/evgenys91/af10f4c860316afe06d55264719f3b21/raw/get-python.sh && chmod +x get-python.sh && ./get-python.sh | |
apt update -y | |
apt upgrade |