AWS
EC2
インスタンスCentOS 6.5
Chef
はOmnibus Installer
にてインストール済みChef Handlers
→chef-handler-graphite
→Graphite
とかで結果を可視化している(Sensu Server
とはあまり関係無いw)
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
## インストール | |
$ git clone https://github.com/sstephenson/rbenv.git ~/.rbenv | |
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile | |
$ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile | |
$ git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
$ rbenv install 2.1.2 | |
$ gem install fluent | |
## 確認 |
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
package main | |
import ( | |
"fmt" | |
"log" | |
"os/exec" | |
"runtime" | |
) | |
type Worker struct { |
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
<?php | |
namespace MyApp\Migrations; | |
use Doctrine\DBAL\Migrations\AbstractMigration; | |
use Doctrine\DBAL\Schema\Schema; | |
use Symfony\Component\DependencyInjection\ContainerAwareInterface; | |
use Symfony\Component\DependencyInjection\ContainerInterface; | |
/** |
- source
- Vueはvue.jsのコアとなるコンストラクタ
- インスタンスが作られたときにデータバインディングが開始される
- オプションを取ることも出来て、DOMやデータやメソッドについて定義出来る
This is transolation written by me as Japanese about Vue.js
データバインディングについてVue.jsと Backbone.stickitを比較する - mizchi's blog http://mizchi.hatenablog.com/entry/2014/02/18/163721
My Engilish is not so good. So please teach me what to say is better.
This is resource to suite to use vue.js againt my compony so I blame Backbone.stickit :D
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
<?php | |
/* | |
* Monolog Slack Handler | |
* | |
* This adds the ability to post a message to your Chosen Slack channel easily with Monolog. | |
* | |
* Here is an example of using this handler: | |
* $logger->pushHandler(new SlackHandler("your-account-name", "your-token-code", "#your-channel-name", "name-to-post-message-as", "url-to-image-file", Logger::INFO, true)); | |
* |
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
require 'mail' |
- Fork from Docker cheat sheet
- 実際にコマンドを試したい場合は、すぐにDockerを試したい人のための基礎コマンドを参照
Why Should I Care (For Developers)
"Dockerが面白いのはシンプルな環境に隔離性と再現性をもたらしてくれることだ.ランタイムの環境を一度作れば、パッケージにして別のマシンでも再利用することできる.さらに,すべてはホスト内の隔離された環境で行われる(VMのように).最も素晴らしい点は,シンプルかつ高速であることだ."