I hereby claim:
- I am jlrigau on github.
- I am jlrigau (https://keybase.io/jlrigau) on keybase.
- I have a public key ASAbbRXkuE3GOaXyuSx6J6Y4GIINuGrrdZFXWHcXCLN7fgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
ssh -Nf user@hostanme -L 8080:localhost:8080 |
brew install --with-default-names gnu-sed |
sudo rm -f /tmp/mesos/meta/slaves/latest | |
sudo systemctl restart mesos-slave.service |
MARATHON_BASE_URL=http://[REPLACE_IT]:8080 | |
VERSION=$(curl -X PUT -H "Content-Type: application/json" $MARATHON_BASE_URL/v2/apps/dashboard?force=true -d@dashboard.json | jq '.version' | tr -d '"') | |
if [ $(curl -sL -w "%{http_code}" $MARATHON_BASE_URL/v2/apps/dashboard/versions/$VERSION -o /dev/null) != 200 ]; then | |
curl -X POST $MARATHON_BASE_URL/v2/apps/dashboard/restart?force=true | |
fi |
rsync -avz --delete -e 'ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ProxyCommand="ssh -W %h:%p USER@PROXY -p 2222"' --progress /data USER@DESTINATION:/backup |
du -sh ./* |
sudo find / -name ".DS_Store" -depth -exec rm {} \; |
docker rmi $(docker images | grep "^<none>" | awk "{print $3}") |
curl -s -o slave.jar http://${JENKINS_HOST}:${JENKINS_PORT}/jnlpJars/slave.jar && \ | |
java -jar slave.jar -jnlpUrl http://${JENKINS_HOST}:${JENKINS_PORT}/computer/test/slave-agent.jnlp |