Skip to content

Instantly share code, notes, and snippets.

View kennonkwok's full-sized avatar

Kennon Kwok kennonkwok

View GitHub Profile
@kennonkwok
kennonkwok / .kitchen.yml
Created November 7, 2014 19:25
kitchen ec2 example
---
driver:
name: ec2
aws_access_key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
aws_secret_access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>
aws_ssh_key_id: xyz-training
platforms:
- name: centos
driver:
<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
@kennonkwok
kennonkwok / .gitconfig
Last active October 3, 2015 01:27
my gitconfig
[user]
name = Kennon Kwok
email = kennon@bitcasa.com
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]