AWS_ACCESS_KEY_ID=AKIAIFNBUFP72FDTYCIQ AWS_SECRET_ACCESS_KEY=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 aws --region=us-east-1 s3 cp s3://circleci-build-assets/docker-machine-remote.tar .
tar -xvf docker-machine-remote.tar
mkdir -p ~/.docker/machine ~/.docker/machine/machines
cp -rf ./remote ~/.docker/machine/machines/
cp -rf ./remote-certs ~/.docker/machine/
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
import base64 | |
import hashlib | |
import hmac | |
def calculate_mandrill_signature(key, url, data): | |
"""Calculate the Mandrill signature of a POST request. | |
Args: | |
key: the Mandrill key for your webhook | |
url: the POST URL configured in Mandrill, e.g. https://your-webhook-handling-api.your-domain.com/path/to/endpoint | |
data: dictionary containing the POST data |
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 | |
# | |
# Run me like this: "sudo bash sync-time.sh" | |
# | |
PID=/var/run/sync-time.pid | |
GREP=$(ps aux | grep $PID) | |
GREP_RC=$? | |
if [[ -f $PID && $GREP_RC == 0 ]]; then | |
echo "Process already running" | |
exit 0 |
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
{ | |
"defer": { | |
"promise": { | |
"source": {} | |
} | |
}, | |
"promise": { | |
"source": {} | |
}, | |
"lastPromise": {}, |
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
{ | |
"title": "Should allow me to log out", | |
"async": 0, | |
"sync": true, | |
"timedOut": false, | |
"pending": false, | |
"type": "test", | |
"file": "/home/yannis/git/lystable-frontend/e2e-test/team/auth-test.js", | |
"parent": "#<Suite>", | |
"ctx": "#<Context>", |
You'll need:
- VPN server IP
- VPN pre-shared key
- VPN username
- VPN password
The following instructions are mostly derived from the corresponding ones for ArchLinux in this wiki.