Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
# Customize the chef node name and use your own Opscode platform organization | |
# with this Vagrantfile. Mind the validation key path setting and make sure your | |
# validation key is correct. | |
# | |
# If you're using your own Chef Server, substitute the proper URL and validation client | |
# and key names. | |
# | |
# Export the following shell environment variables before running vagrant up: | |
# | |
# export ORGNAME=your_platform_organization |
# This is the entire preseed config file used on an example Lucid system. See the preseed | |
# documentation for more information on the options here. This will use US English by default. | |
# | |
# https://help.ubuntu.com/10.04/installation-guide/amd64/preseed-contents.html | |
# | |
# This preseed will automatically install Ubuntu 10.04 with default options. Understand what | |
# it is doing before you use it. | |
# | |
# Boot Options line: | |
# |
#!/usr/bin/ruby | |
require 'twitter' | |
require 'marky_markov' | |
def tweets | |
block = Twitter.user_timeline("joedamato", count: 200) | |
text = block.map(&:text) | |
max = block.last.id | |
until block.empty? |
#!/bin/bash | |
# CentOS rbenv system wide installation script | |
# Forked from https://gist.github.com/1237417 | |
# Installs rbenv system wide on CentOS 5/6, also allows single user installs. | |
# Install pre-requirements | |
yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel \ | |
make bzip2 autoconf automake libtool bison iconv-devel git-core |
{ | |
"Statement": [ | |
{ | |
"Sid": "PackerSecurityGroupAccess", | |
"Action": [ | |
"ec2:CreateSecurityGroup", | |
"ec2:DeleteSecurityGroup", | |
"ec2:DescribeSecurityGroups", | |
"ec2:AuthorizeSecurityGroupIngress", | |
"ec2:RevokeSecurityGroupIngress" |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
JSON
#!/bin/sh | |
# Setup encrypted disk image | |
# For Ubuntu 14.04 LTS | |
CRYPTFS_ROOT=/cryptfs | |
apt-get update | |
apt-get -y upgrade | |
apt-get -y install cryptsetup |
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Description": "CoreOS on EC2: http://coreos.com/docs/running-coreos/cloud-providers/ec2/", | |
"Mappings" : { | |
"RegionMap" : { | |
"ap-northeast-1" : { | |
"AMI" : "ami-19fba518" | |
}, |