Skip to content

Instantly share code, notes, and snippets.

View amazon_ecs.cat.rb
name 'Amazon ECS Cluster'
rs_ca_ver 20160622
short_description "![logo](https://dl.dropboxusercontent.com/u/2202802/ecs-logo.png)
Creates an Amazon ECS cluster"
long_description "### Description
#### Amazon ECS
View fig.yml
web:
image: tutum/hello-world:latest
ports:
- "80:80"
View keybase.md

Keybase proof

I hereby claim:

  • I am adamalex on github.
  • I am adamalex (https://keybase.io/adamalex) on keybase.
  • I have a public key whose fingerprint is AA1C 23AB BEE8 36B5 9EF6 0002 D6A4 3CFA 39C0 4BA8

To claim this, I am signing this object:

@adamalex
adamalex / cloud_config.yml
Created Aug 4, 2014
Secure CoreOS config for Rackspace
View cloud_config.yml
#cloud-config
coreos:
etcd:
# generate a new token for each unique cluster from https://discovery.etcd.io/new
discovery: https://discovery.etcd.io/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
update:
# disable this for now until it is supported when using private ip config
reboot-strategy: off
units:
View fleetpanic.txt
-- Logs begin at Wed 2014-07-02 01:34:27 UTC, end at Wed 2014-07-02 01:51:41 UTC. --
Jul 02 01:34:42 corecluster systemd[1]: Starting fleet...
Jul 02 01:34:42 corecluster systemd[1]: Started fleet.
Jul 02 01:34:42 corecluster fleet[3542]: I0702 01:34:42.099837 03542 fleet.go:143] No provided or default config file found - proceeding without
Jul 02 01:34:42 corecluster fleet[3542]: I0702 01:34:42.107270 03542 agent.go:80] Initializing Agent
Jul 02 01:36:17 corecluster fleet[3542]: fatal error: runtime: cannot allocate memory
Jul 02 01:36:17 corecluster fleet[3542]: goroutine 1 [running]:
Jul 02 01:36:17 corecluster fleet[3542]: runtime.throw(0xb2f347)
Jul 02 01:36:17 corecluster fleet[3542]: /usr/lib/go/src/pkg/runtime/panic.c:464 +0x69 fp=0x7fcfb6479030
Jul 02 01:36:17 corecluster fleet[3542]: runtime.persistentalloc(0x4000, 0x8, 0xb3d938)
@adamalex
adamalex / CoreOScron.md
Last active Aug 29, 2015
CoreOS units for cron-like behavior
View CoreOScron.md
  1. fleetctl load *
  2. fleetctl start *.timer
@adamalex
adamalex / index.html
Created Mar 19, 2014
Simple Map Location
View index.html
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>
</head>
<body>
<div id="content" style="height: 450px"></div>
<script type="text/javascript">
@adamalex
adamalex / .ebextensions--eb.config
Created Oct 28, 2013
Config and CI script for automated Node.js 0.10.10 project deployment—including grunt—to Elastic Beanstalk
View .ebextensions--eb.config
packages:
yum:
git: []
gcc: []
make: []
openssl-devel: []
commands:
00-add-home-variable:
command: sed -i 's/function error_exit/export HOME=\/root\n\nfunction error_exit/' /opt/elasticbeanstalk/hooks/appdeploy/pre/50npm.sh
container_commands:
@adamalex
adamalex / crash.log
Last active Dec 24, 2015
Packer crash output
View crash.log
2013/09/29 20:36:49 Packer Version: 0.3.8
2013/09/29 20:36:49 Packer Target OS/Arch: darwin amd64
2013/09/29 20:36:49 Detected home directory from env var: /Users/adam
2013/09/29 20:36:49 Attempting to open config file: /Users/adam/.packerconfig
2013/09/29 20:36:49 File doesn't exist, but doesn't need to. Ignoring.
2013/09/29 20:36:49 Packer config: &{PluginMinPort:0 PluginMaxPort:0 Builders:map[amazon-ebs:packer-builder-amazon-ebs amazon-chroot:packer-builder-amazon-chroot amazon-instance:packer-builder-amazon-instance digitalocean:packer-builder-digitalocean openstack:packer-builder-openstack virtualbox:packer-builder-virtualbox vmware:packer-builder-vmware] Commands:map[build:packer-command-build fix:packer-command-fix inspect:packer-command-inspect validate:packer-command-validate] PostProcessors:map[vagrant:packer-post-processor-vagrant] Provisioners:map[chef-solo:packer-provisioner-chef-solo file:packer-provisioner-file puppet-masterless:packer-provisioner-puppet-masterless shell:packer-provisioner-sh
@adamalex
adamalex / Procfile
Created Jul 29, 2013
Deploying to Stackato using Heroku's Node buildpack
View Procfile
web: node app.js