- 2013 年にモダンな方法で一通り Web アプリケーションを自分一人で作れるようになってもらう
- 作る過程で Web 開発で必要とされるアプリケーションレイヤのスキルセットを身につけてもらう
| if (-f $document_root/system/maintenance.html) { | |
| return 503; | |
| } | |
| error_page 503 @maintenance; | |
| location @maintenance { | |
| internal; | |
| if ($http_accept ~ json) { | |
| return 503 "{}"; | |
| } |
| # Schedule script for using Whenever toghether with rbenv | |
| # | |
| # Whenever: https://github.com/javan/whenever | |
| # rbenv: https://github.com/sstephenson/rbenv | |
| set :env_path, '"$HOME/.rbenv/shims":"$HOME/.rbenv/bin"' | |
| # doesn't need modifications | |
| # job_type :command, ":task :output" |
| 更新: | 2013-07-30 |
|---|---|
| バージョン: | 0.1.1 |
| 作者: | @voluntas |
| URL: | http://voluntas.github.io/ |
概要
##Connection Timeout または No route to host
###ヘルスチェックステータス1/2
OSレベルでの問題が起きています。
→ インスタンスをRebootしてみましょう。
###ヘルスチェックステータスが0/2
物理ホスト障害の可能性があります。
→ インスタンスをStop/Startしてみましょう(別の物理ホストに移動させる事ができます)
※ Stoppingの状態で停止しない場合には、force stopを行います(Management Consoleから2回目のstop/ec2-stop-instances --force i-xxxxxxxx)
| // Taken from the commercial iOS PDF framework http://pspdfkit.com. | |
| // Copyright (c) 2014 Peter Steinberger, PSPDFKit GmbH. All rights reserved. | |
| // Licensed under MIT (http://opensource.org/licenses/MIT) | |
| // | |
| // You should only use this in debug builds. It doesn't use private API, but I wouldn't ship it. | |
| // PLEASE DUPE rdar://27192338 (https://openradar.appspot.com/27192338) if you would like to see this in UIKit. | |
| #import <objc/runtime.h> | |
| #import <objc/message.h> |
GitHub's compare view is available at:
https://github.com/$USER/$REPO/compare/$REV_A...$REV_B
Naturally, $USER and $REPO are the owner (user/organization) and repository names, respectively.
$REV{A,B} are the two sides of the compare view; they can either be a ref in $USER's repository, i.e. the name of a branch, tag or a commit SHA, or it can be a ref in $OWNER's fork of the repository by using the format $OWNER:$REF.
You can get a diff or patch for the result of the compare view by appending .diff or .patch to the URL, respectively.
| /** | |
| Usage: Just include this script after Marionette and Handlebars loading | |
| IF you use require.js add script to shim and describe it in the requirements | |
| */ | |
| (function(Handlebars, Marionette) { | |
| Marionette.Handlebars = { | |
| path: 'templates/', | |
| extension: '.handlebars' | |
| }; |