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/sh | |
docker run -d -v $(pwd)/data:/data -p 127.0.0.1:9042:9042 -p 127.0.0.1:9160:9160 -h some-cassa spotify/cassandra:latest |
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
rsync -azvu --append <from> <>to |
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
# add url to origin repo | |
git remote set-url --add --push origin git://another/repo.git | |
# urls list | |
git remote -v | |
# add one more url | |
git remote set-url --add --push origin git://one_more/repo.git |