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
{ | |
"Statement": [ | |
{ | |
"Action": [ | |
"route53:ChangeResourceRecordSets", | |
"route53:GetHostedZone", | |
"route53:ListResourceRecordSets" | |
], | |
"Effect": "Allow", | |
"Resource": [ |
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
#!/usr/bin/ruby | |
# chkconfig: 35 99 01 | |
# description: EC2 DNS registration | |
# processname: ec2hostname | |
require 'aws-sdk' | |
require 'net/http' | |
`touch /var/lock/subsys/ec2hostname` |
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
#!/usr/bin/ruby | |
# chkconfig: 35 99 01 | |
# description: EC2 DNS loadbalancing | |
# processname: ec2hostname | |
require 'aws-sdk' | |
require 'net/http' | |
`touch /var/lock/subsys/ec2hostname` |
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
--- Core JMX Metrics when running with Concurrent Mark and Sweep (CMS) GC | |
instances: | |
- host: "localhost" | |
port: 9999 | |
init_config: | |
conf: | |
- domain: "java.lang" | |
bean: "java.lang:type=GarbageCollector,name=ParNew" | |
attribute: | |
CollectionTime: |
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 makeD3Post(post_url, avatar_url, note_count){ | |
var D3Post = { | |
post: post_url, | |
avatar: avatar_url, | |
notes: note_count, | |
dimensions: { | |
'post': { | |
'width': 0, | |
'height': 0 | |
}, |
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
com.sadun.airflick | |
RequestType := show-photo | play-media | |
MediaLocation := url or file path | |
Rotation = 0 | 1 | 2 | 3 (0 ^, 1 <, 2 v, 3 >) | |
e.g. Photo | |
NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys: | |
@"show-photo", @"RequestType", | |
@"/Users/ericasadun/Pictures/Spring 2010/EPho 3.JPG", @"MediaLocation", | |
@"1", @"Rotation", |