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
#元データ | |
#https://sites.google.com/site/ayakomuro/infra-app/debian | |
# | |
#まずCanonical社が出しているUbuntuのイメージを選択し、起動させます。 | |
#こちらにAMI番号が記載されています。http://www.ubuntu.com/cloud | |
# | |
#起動後X509証明の設定等を行ないます。 | |
#予めX509証明書を/tmp配下に移動させます。ここでではx509という名前にします。 | |
#もし可能ならばTriple DESを使うとよいかもしれません。 |
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
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>日本の現状::2013年1月時点</title> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script> | |
<script type="text/javascript" src="https://www.google.com/jsapi"></script> | |
<script type="text/javascript" src="population.js"></script> | |
</head> | |
<body> |
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
google.load("visualization", "1", {packages:["corechart"]}); | |
google.setOnLoadCallback(drawChart); | |
function drawChart() { | |
var data = google.visualization.arrayToDataTable([ | |
['Age Groups','男性', '女性'], | |
['0-4歳',270,257], | |
['5-9',277,264], | |
['10-14',300 ,286], | |
['15-19',310,295], | |
['20-24',321, 306], |
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 'xmlrpc/client' | |
host = '自分のBacklogのサブドメイン.backlog.jp' | |
path = '/XML-RPC' | |
port = '443' | |
proxy_host = nil | |
proxy_port = nil | |
user = 'ユーザー名' | |
password = 'パスワード' | |
use_ssl = true |
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
# ★既存EC2にアクセスします。 | |
aya:~ komuro$ ssh -i ~/keypair/komuro.pem [email protected] | |
___ _ __ __ ____ __ | |
/ _ \ (_)___ _ / / / /_ / __/____ ___ _ / /___ | |
/ , _// // _ `// _ \/ __/_\ \ / __// _ `// // -_) | |
/_/|_|/_/ \_, //_//_/\__//___/ \__/ \_,_//_/ \__/ | |
/___/ | |
Welcome to a virtual machine image brought to you by RightScale! |
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
[root@ip-10-132-67-52 html]# mkfs -t ext3 /dev/xvdf | |
mke2fs 1.39 (29-May-2006) | |
Filesystem label= | |
OS type: Linux | |
Block size=4096 (log=2) | |
Fragment size=4096 (log=2) | |
1310720 inodes, 2621440 blocks | |
131072 blocks (5.00%) reserved for the super user | |
First data block=0 | |
Maximum filesystem blocks=2684354560 |
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 'rubygems' | |
require 'yaml' | |
require 'aws-sdk' | |
AWS.config({ | |
:access_key_id => 'XXXXXXXXXXXXXXXXX', | |
:secret_access_key => 'XXXXXXXXXXXXXXXXX', | |
:ec2_endpoint => 'ec2.ap-northeast-1.amazonaws.com' | |
}) |
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 'rubygems' | |
require 'yaml' | |
require 'aws-sdk' | |
AWS.config({ | |
:access_key_id => 'XXXXXXXXXXXXXXXXXXXXXXX', | |
:secret_access_key => 'XXXXXXXXXXXXXXXXXXXXXXX', | |
:ec2_endpoint => 'ec2.ap-northeast-1.amazonaws.com' | |
}) |
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 'rubygems' | |
require 'yaml' | |
require 'aws-sdk' | |
AWS.config({ | |
:access_key_id => 'XXXXXXXXXXXXXXXXXXXXXXX', | |
:secret_access_key => 'XXXXXXXXXXXXXXXXXXXXXXX', | |
:ec2_endpoint => 'ec2.ap-northeast-1.amazonaws.com' | |
}) |
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 'rubygems' | |
require 'yaml' | |
require 'aws-sdk' | |
AWS.config({ | |
:access_key_id => 'XXXXXXXXXXXXXXXXXXXXXXX', | |
:secret_access_key => 'XXXXXXXXXXXXXXXXXXXXXXX', | |
:ec2_endpoint => 'ec2.ap-northeast-1.amazonaws.com' | |
}) |
OlderNewer