- google/gvisor: Container Runtime Sandbox
- Google Cloud Platform Blog: Open-sourcing gVisor, a sandboxed container runtime
- virtualbox
- vagrant
use strict; | |
use warnings FATAL => 'all'; | |
use Getopt::Long; | |
my ( | |
$command, $ssh_user, $orig_master_host, $orig_master_ip, | |
$orig_master_port, $new_master_host, $new_master_ip, $new_master_port | |
); |
# facebootstrap: Rails3 template | |
app_h_name = app_name.gsub(/_/, '-') | |
app_c_name = app_name.classify | |
ruby_version = '1.9.3-p286' | |
repository_path = "git@codeplane.com:chsh/#{app_h_name}.git" | |
target_branch = 'develop' # or master etc... | |
deploy_server = '[YOUR DEPLOY SERVER]' | |
target_mode = 'edge' # or 'live' or 'develop' etc... | |
# additional_path = '/usr/pgsql-9.1/bin' |
# A sample Gemfile | |
source "https://rubygems.org" | |
gem 'github_api' | |
gem 'highline' | |
gem 'trollop' |
# | |
# AWS TOTAL Billing information | |
# | |
<source> | |
type cloudwatch | |
tag cloudwatch-billing.amount | |
cw_endpoint monitoring.us-east-1.amazonaws.com | |
namespace AWS/Billing | |
metric_name EstimatedCharges |
#!/bin/sh | |
echo $* | |
echo --- | |
echo $@ | |
echo --- |
#/bin/sh -x | |
# version | |
version="0.11.8" | |
# backup | |
cd /var/www/ghost | |
sudo tar cpf /tmp/ghost_snapshot_$(date +%Y%m%d%H%M).tar . | |
# download latest ghost |
#!/bin/bash | |
# | |
# consul Manage the consul agent | |
# | |
# chkconfig: 2345 95 95 | |
# description: Consul is a tool for service discovery and configuration | |
# processname: consul | |
# config: /etc/consul.conf | |
# pidfile: /var/run/consul.pid |
[Unit] | |
Description=Start Greengrass at Boot | |
[Service] | |
Type=forking | |
PIDFile=/var/run/greengrassd.pid | |
Restart=on-failure | |
ExecStart=/greengrass/ggc/core/greengrassd start | |
ExecReload=/greengrass/ggc/core/greengrassd restart | |
ExecStop=/greengrass/ggc/core/greengrassd stop |