xcode-select --install
- brewをインストールする
| #!/bin/bash | |
| _list=($(kubectl get --raw / |grep "^ \"/api"|sed 's/[",]//g')); | |
| for _api in ${_list[@]}; do | |
| _aruyo=$(kubectl get --raw ${_api} | jq .resources); | |
| if [ "x${_aruyo}" != "xnull" ]; then | |
| echo; | |
| echo "# ${_api}"; | |
| kubectl get --raw ${_api} | jq -r ".resources[].name"; | |
| fi; | |
| done |
| "use strict"; | |
| console.log("AWS Lambda SES Forwarder - domain forward // modified by @iseebi, Rev.2 // Original: @arithmetric, Version 2.3.0 "); | |
| // Configure the S3 bucket and key prefix for stored raw emails, and the | |
| // mapping of email addresses to forward from and to. | |
| // | |
| // Expected keys/values: | |
| // - fromEmail: Forwarded emails will come from this verified address | |
| // - emailBucket: S3 bucket name where SES stores emails. |
定番、および比較的最近の学習リソースを集めてみました (2015/2)。
| <事前準備> | |
| 事前にIaaSにてUbuntu14.04か14.10入りのサーバを作成(CoreOSでも可です。) | |
| 2つのベンダーでサーバを作りましょう。 | |
| FWやポートフォワードについてはSSHとHTTP用に外部からアクセスできるようにしておきます。 | |
| ポータビリティを確認するため、クラウドAからクラウドBへの接続に必要となる秘密鍵を事前にサーバに入れておきましょう | |
| apt-get updateとapt-get upgradeでOSを更新 | |
| apt-get install docker.io で稼働環境の準備はおしまいです。 | |
| <デモ手順> |
第8弾 週末ランサーズ「Infrastructure as Code」 ~ ハンズオン手順 ~
Jenkins を実行するには Java が必要となります。PATH も忘れずに通してください。インストーラはUSBメモリに入っています。
| #!/usr/bin/env ruby | |
| require 'aws-sdk' | |
| require 'optparse' | |
| require 'yaml' | |
| require 'json' | |
| begin | |
| require 'aws/profile_parser' | |
| rescue LoadError; end |
| #!/usr/bin/env ruby | |
| require 'aws-sdk' | |
| require 'optparse' | |
| begin | |
| require 'aws/profile_parser' | |
| rescue LoadError; end | |
| def conv_unit size |
By Saad Mousliki
御存知の通り、JavaScriptは数あるプログラミング言語のうちのひとつであり、モバイルのハイブリッドアプリ(PhoneGapやAppceleratorといった)や、サーバーサイド(NodeJSやWakanda)等の様々な所で実装されているWebの言語です。 また、Webブラウザにalertを出すところから、ロボットを動かす(nodebotやnodruinoを使って)ところまで様々なシーンで使われる言語となりました。 JavaScriptをマスターし、パフォーマンスの良いコードを生み出す開発者は市場で最も求められています。
| { | |
| "AWSTemplateFormatVersion": "2010-09-09", | |
| "Description": "VPC knowhow template", | |
| "Parameters": { | |
| "KeyName": { | |
| "Description": "Name of an existing EC2 KeyPair to enable SSH access to the instances", | |
| "Type": "String", | |
| "MinLength": "1", | |
| "MaxLength": "64", | |
| "AllowedPattern": "[-_ a-zA-Z0-9]*", |