サイズがあまりに大きくなってしまったので、gist ではなくて github 上で管理するようにしました。
https://github.com/Shinpeim/process-book
URL 変わっちゃうの申し訳ないんだけど、一覧性が高くなるのと pull req が受け取れるメリットのほうを取ります。せっかく読みにきてくれたのにひと手間かかっちゃってすみません。
サイズがあまりに大きくなってしまったので、gist ではなくて github 上で管理するようにしました。
https://github.com/Shinpeim/process-book
URL 変わっちゃうの申し訳ないんだけど、一覧性が高くなるのと pull req が受け取れるメリットのほうを取ります。せっかく読みにきてくれたのにひと手間かかっちゃってすみません。
# Since CoffeeScript wraps everything in a closure by default, the module | |
# definition function pattern that Marionette normally uses is unnecessary. | |
# (And cumbersome with having to indent everything.) Instead, creating the | |
# module at the very begining makes it available to everything in the file, and | |
# the initializers and exported classes can be added at the end of the file. | |
# (This relies on things like the App and Backbone being on window, but they | |
# already have to be for CoffeeScript-based code to work.) | |
# Create the module. | |
Foo = App.module 'Foo' |
原題:BASE: An Acid Alternative 著者:Dan Pritchett, eBay 原文: BASE: AN ACID ALTERNATIVE - ACM Queue (PDF Version)
This article is translated by @ono_matope. Please contact me if any problem.
原文: The Twitter Engineering Blog: Introducing Gizzard, a framework for creating distributed datastores
This article is translated by @ono_matope. Please contact me if any problem.
/* vim: set tabstop=2 shiftwidth=2 softtabstop=2: */ | |
define([ | |
'backbone', | |
'backbone-forms' | |
], | |
function(Backbone) { | |
var Form = Backbone.Form, |
com.mysema.query.sql.ant.AntMetaDataExporter
を用いると、データベーススキーマから Java Beanとメタクラスを生成してくれる。今回は下記のようなリレーションをもつBeanを生成した前提の例である。# stage の操作 | |
git add . # stage に加える | |
git add -p # stage にインタラクティブに加える | |
git add -N . # stage にファイルだけ加える | |
git rm hoge/hoge.rb # stage から消す | |
git rm -f hoge/hoge.rb # stage から無理矢理消す、先にファイルを消してしまった場合 | |
git mv hoge/hoge.rb hoge/hoge2.rb # ファイル名変える | |
# 差とか状態を確認する系 | |
git diff # HEADとunstagedの差分を確認する |