Skip to content
View son_lint.rb
require 'json'
Dir["**/*.json"].each do |json_file|
JSON.parse(File.read(json_file))
end
View gist:488e950f5a3a7645b227
---
driver:
name: vagrant
provisioner:
name: chef_zero
platforms:
- name: centos-6.5
View .zshrc
read () {
open "http://franklinwebber.com"
}
article () {
# change in to the directory where I keep my journal project
cd ~/journal
echo "Creating article '$@'"
View winrm.ps1
# Get the ID and security principal of the current user account
$myWindowsID=[System.Security.Principal.WindowsIdentity]::GetCurrent()
$myWindowsPrincipal=new-object System.Security.Principal.WindowsPrincipal($myWindowsID)
# Get the security principal for the Administrator role
$adminRole=[System.Security.Principal.WindowsBuiltInRole]::Administrator
# Check to see if we are currently running "as Administrator"
if ($myWindowsPrincipal.IsInRole($adminRole))
{
View 00_attendees.md
Name Workstation
Rebekah ec2-52-3-218-73.compute-1.amazonaws.com
Frank ec2-52-0-134-92.compute-1.amazonaws.com
View httpd_cookbook_centos6.rb
#
# Cookbook Name:: apache
# Recipe:: default
#
# Copyright 2013, YOUR_COMPANY_NAME
#
# All rights reserved - Do Not Redistribute
#
package "httpd" do
View attributes_default.rb
default['email_handler']['from_address'] = "chef@localhost"
default['email_handler']['to_address'] = "chef@localhost"
View gist:6968b54752a1401207b8
Jon - ec2-52-3-74-78.compute-1.amazonaws.com
John - ec2-52-3-75-5.compute-1.amazonaws.com
Matt - ec2-52-3-74-94.compute-1.amazonaws.com
Ernest - ec2-52-3-74-83.compute-1.amazonaws.com
Michael - ec2-52-3-74-207.compute-1.amazonaws.com
Amit - ec2-52-3-75-3.compute-1.amazonaws.com
Leo - ec2-52-3-75-47.compute-1.amazonaws.com
Slava - ec2-52-3-75-126.compute-1.amazonaws.com
William - ec2-52-3-74-206.compute-1.amazonaws.com
Frank - ec2-52-3-24-155.compute-1.amazonaws.com
View attributes--default.rb
# attributes file
default["apache"]["sites"]["clowns"] = { "port" => 80, "nose" => "red" }
default["apache"]["sites"]["bears"] = { "port" => 81, "nose" => "black" }
Something went wrong with that request. Please try again.