Skip to content

Instantly share code, notes, and snippets.

View burtlo's full-sized avatar

Lynn Frank burtlo

View GitHub Profile
@burtlo
burtlo / 00_attendees.md
Last active August 26, 2015 16:28
Chef Fundamentals
Name Workstation
Rebekah ec2-52-3-218-73.compute-1.amazonaws.com
Frank ec2-52-0-134-92.compute-1.amazonaws.com
@burtlo
burtlo / language_mentoring.md
Last active August 29, 2015 14:05
Language Mentoring

Language Mentoring

Format

I will write a small passage about a subject written in my language. I will share it with you. We will both translate the passage into your language.

We will share our translated passages. We will talk about corrections, make clarifications, and discuss language concepts.

I will create and share an audio recording of the passage I wrote. You will create and share an audio recording of the translated passage.

describe String do
it "responds to #to_s" do
expect("").to respond_to(:to_s)
end
it "responds to the correct methods" do
[ :to_s, :to_i, :to_f ].each do |method|
expect("").to respond_to(method)
end
@burtlo
burtlo / custom.erb
Last active August 29, 2015 14:24
Apache Cookbook Updated
<% if @port != 80 -%>
Listen <%= @port %>
<% end -%>
<VirtualHost *:<%= @port %>>
ServerAdmin webmaster@localhost
DocumentRoot <%= @document_root %>
<Directory />
Options FollowSymLinks
@burtlo
burtlo / default.rb
Last active August 29, 2015 14:24
Refactored IIS
powershell_script "Install IIS" do
code "add-windowsfeature Web-Server"
action :run
end
service "w3svc" do
action [ :enable, :start ]
end
powershell_script "disable default site" do
@burtlo
burtlo / custom.erb
Last active August 29, 2015 14:24 — forked from elon01/custom.erb
<% if @port != 80 -%>
Listen <%= @port %>
<% end -%>
<VirtualHost *:<%= @port %>>
ServerAdmin webmaster@localhost
DocumentRoot <%= @document_root %>
<Directory />
Options FollowSymLinks
@burtlo
burtlo / attributes--default.rb
Last active August 29, 2015 14:24
SuSE Apache Cookbook Redux
# attributes file
default["apache"]["sites"]["clowns"] = { "port" => 80, "nose" => "red" }
default["apache"]["sites"]["bears"] = { "port" => 81, "nose" => "black" }
@burtlo
burtlo / gist:6968b54752a1401207b8
Last active August 29, 2015 14:24
Boston Intermediate Addresses
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
default['email_handler']['from_address'] = "chef@localhost"
default['email_handler']['to_address'] = "chef@localhost"
#
# Cookbook Name:: apache
# Recipe:: default
#
# Copyright 2013, YOUR_COMPANY_NAME
#
# All rights reserved - Do Not Redistribute
#
package "httpd" do