Skip to content

Instantly share code, notes, and snippets.

@yesaulov
yesaulov / pulti repo
Created January 22, 2015 08:56
push to more than one repo at one push
# 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
@yesaulov
yesaulov / gist:701aab2c49f07326ab97
Created February 11, 2015 09:14
Simple rsync command
rsync -azvu --append <from> <>to
#!/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