This file contains 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
############################################# | |
## | |
## Session Prototype Manager Service | |
## | |
############################################# | |
<IfModule !headers_module> | |
LoadModule headers_module modules/mod_headers.so | |
</IfModule> |
This file contains 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/env ruby | |
require 'aws-sdk' | |
@cw_client = AWS::CloudWatch.new( | |
:access_key_id => "YOUR_ACCESS_KEY" | |
:secret_access_key => "YOUR_SECRET_KEY", | |
:cloud_watch_endpoint => 'monitoring.us-east-1.amazonaws.com', | |
).client | |
def get_billing(dimentions) |
This file contains 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
AssetSync.configure do |config| | |
config.fog_provider = 'AWS' | |
config.aws_access_key_id = ENV['AWS_ACCESS_KEY_ID'] | |
config.aws_secret_access_key = ENV['AWS_SECRET_ACCESS_KEY'] | |
config.fog_directory = ENV['FOG_DIRECTORY'] # S3 Bucket name | |
config.fog_region = ENV["AWS_DEFAULT_REGION"] || 'ap-northeast-1' | |
config.enabled = true | |
# config.aws_access_key_id = ENV['AWS_ACCESS_KEY_ID'] | |
# config.aws_secret_access_key = ENV['AWS_SECRET_ACCESS_KEY'] |
This file contains 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
require "bundler/capistrano" | |
require "capistrano_colors" | |
require "aws-sdk" | |
set :ssh_options, {:keys => ["YOUR_SSH_KEY"], :auth_methods => ["publickey"]} | |
default_run_options[:pty] = true | |
set :application, "YOUR_APPLICATION" | |
set :repository, "YOUR_REPOSITORY" |
This file contains 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
# -*- encoding: utf-8 -*- | |
require 'rubygems' | |
require 'aws-sdk' | |
require 'nkf' | |
ses = AWS::SimpleEmailService.new( | |
:access_key_id => ENV['AWS_ACCESS_KEY_ID'], | |
:secret_access_key => ENV['AWS_SECRET_ACCESS_KEY']) | |
#ISO-2022-jp |
This file contains 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
#!/bin/sh | |
# | |
# jenkins-slave: Launch a Jenkins BuildSlave instance on this node | |
# | |
# chkconfig: - 99 01 | |
# description: Enable this node to fulfill build jobs | |
# | |
# Source function library. | |
. /etc/rc.d/init.d/functions |