This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<powershell> | |
winrm quickconfig -q | |
winrm set winrm/config/winrs '@{MaxMemoryPerShellMB="300"}' | |
winrm set winrm/config '@{MaxTimeoutms="1800000"}' | |
winrm set winrm/config/service '@{AllowUnencrypted="true"}' | |
winrm set winrm/config/service/auth '@{Basic="true"}' | |
netsh advfirewall firewall add rule name="WinRM 5985" protocol=TCP dir=in localport=5985 action=allow | |
netsh advfirewall firewall add rule name="WinRM 5986" protocol=TCP dir=in localport=5986 action=allow |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use_inline_resources | |
action :create do | |
# Set the document root | |
document_root = "/srv/apache/#{new_resource.site_name}" | |
# Add a template for Apache virtual host configuration | |
template "/etc/httpd/conf.d/#{new_resource.site_name}.conf" do | |
source "custom.erb" | |
mode "0644" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################## | |
chef-sa-group AWS EC2 Instance Report | |
########################## | |
If you have instances listed below and would like to remove them from this | |
report, add an AWS tag named Persist to your instances and set it to true. | |
Any instances flagged with Persist=true tags will be ignored by this report. | |
cdsge-provisioner|i-0054ffc4|us-west-2a|infra-node-praesidio-httpdbaas-acceptance-1|4 days 2 hours 48 minutes and 55 seconds | |
cdsge-provisioner|i-092ff6cd|us-west-2a|infra-node-ae-sge-sitedbaas-rehearsal-1|10 days 5 hours 58 minutes and 41 seconds |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "Stmt1431095274000", | |
"Effect": "Allow", | |
"Action": [ | |
"ec2:AllocateAddress", | |
"ec2:AssignPrivateIpAddresses", | |
"ec2:AssociateAddress", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function set_iterm_title { | |
echo -ne "\e]1;$1\a" | |
} | |
function git_branch { | |
BRANCH_REFS=$(git symbolic-ref HEAD 2>/dev/null) || return | |
GIT_BRANCH="${BRANCH_REFS#refs/heads/}" | |
[ -n "$GIT_BRANCH" ] && echo "$GIT_BRANCH " | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default['web']['width'] = '1280' | |
default['web']['height'] = '768' | |
default['web']['base'] = 'http://external.kongregate-games.com/gamez/0021/4044/live/' | |
default['web']['src'] = 'http://external.kongregate-games.com/gamez/0021/4044/live/embeddable_214044.swf' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Recipe: delivery-cluster::_settings | |
* link[C:/Users/Administrator/delivery-cluster/.chef/../.chef/delivery-cluster-data] action create | |
================================================================================ | |
Error executing action `create` on resource 'link[C:/Users/Administrator/delivery-cluster/.chef/../.chef/delivery-cluster-data]' | |
================================================================================ | |
Chef::Exceptions::Win32APIError | |
------------------------------- | |
The filename, directory name, or volume label syntax is incorrect. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variable "region" { } | |
provider "aws" { | |
region = "${var.region}" | |
} | |
resource "aws_instance" "example" { | |
ami = "ami-d05e75b8" | |
instance_type = "t2.micro" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.pins = { | |
blinkm: { type: "I2C", address: 0x09, sda: 53, clock: 54 } | |
}; | |
exports.configure = function () { | |
this.blinkm.init(); | |
} | |
exports.close = function () { | |
this.blinkm.close(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.pins = { | |
blinkm: {type: "I2C", address: 0x00, sda: 53, clock: 54} | |
}; | |
exports.configure = function() { | |
this.blinkm.init(); | |
} | |
exports.close = function() { | |
this.blinkm.init(); |