tell application "Tunnelblick"
connect "Your_existing_Tunneblick_vpn_name"
get state of first configuration where name = "Your_existing_Tunneblick_vpn_name"
repeat until result = "CONNECTED"
delay 1
get state of first configuration where name = "Your_existing_Tunneblick_vpn_name"
end repeat
To 'clone' a container, you'll have to make an image of that container first, you can do so by "committing" the container. Docker will (by default) pause all processes running in the container during commit to preserve data-consistency.
For example;
docker commit --message="Snapshot of my container" my_container my_container_snapshot:yymmdd
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
#!/usr/bin/env bash | |
# Setup a ubuntu 12.04 LTS machine with nginx, unicorn, ruby 1.9.3 | |
# RUN: curl -L http://goo.gl/M8SXl | bash | |
mkdir ~/server ; cd ~/server | |
wget https://github.com/gabrielengel/chef-ubuntu/tarball/master | |
tar -zxf master | |
cd gab* | |
mv dna.aws-sample.json dna.json |
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
$OS_DEBUG=1 TF_LOG=DEBUG terraform apply | |
2018/02/11 21:56:19 [INFO] Terraform version: 0.11.3 3802b14260603f90c7a1faf55994dcc8933e2069 | |
2018/02/11 21:56:19 [INFO] Go runtime version: go1.9.1 | |
2018/02/11 21:56:19 [INFO] CLI args: []string{"/usr/local/bin/terraform", "apply"} | |
2018/02/11 21:56:19 [DEBUG] Attempting to open CLI config file: /.terraformrc | |
2018/02/11 21:56:19 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2018/02/11 21:56:19 [INFO] CLI command args: []string{"apply"} | |
2018/02/11 21:56:19 [INFO] command: empty terraform config, returning nil | |
2018/02/11 21:56:19 [DEBUG] command: no data state file found for backend config | |
2018/02/11 21:56:19 [DEBUG] New state was assigned lineage "ef533f2b-3885-4a0a-84a2-da67eebccede" |
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
#!/usr/bin/env zsh | |
#local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})" | |
setopt promptsubst | |
autoload -U add-zsh-hook | |
PROMPT_SUCCESS_COLOR=$FG[117] | |
PROMPT_FAILURE_COLOR=$FG[124] | |
PROMPT_VCS_INFO_COLOR=$FG[242] |