タグ

2012年11月26日のブックマーク (3件)

  • Git のマージについて、自分的まとめ - Make You Feel Better

    チーム開発で Git を使ってから半年ちょい位経ちました。 Git 玄人な人たちに囲まれて開発していたおかげで、そこそこ Git 力がついてきました。 そんな中で、ブランチの統合(マージ)についての考え方が大分固まって来たのでまとめます。 まずは結論から。 統合するブランチ → 統合されるブランチ : 統合の為に使うコマンド ローカル(自分用) → ローカル(自分用) : 適当に ローカル(自分用) → ローカル(リモート用) : merge --squash リモート → ローカル(リモート用) : pull --rebase ローカル(リモート用) → ローカル(自分用) : rebase ローカル(リモート用) → ローカル(リモート用) : merge --no-ff ローカル(リモート用)は、リモートドラッキングブランチからチェックアウトしたブランチを指してます。 要は、git

  • Handlebars

    Semantic templates Handlebars provides the power necessary to let you build semantic templates effectively with no frustration. Mustache-compatible Handlebars is largely compatible with Mustache templates. In most cases it is possible to swap out Mustache with Handlebars and continue using your current templates. Fast execution Handlebars compiles templates into JavaScript functions. This makes th

    nishikawasasaki
    nishikawasasaki 2012/11/26
    試してみてた。楽しい。 Handlebars.js: Minimal Templating on Steroids -
  • 順序のはなし・その2 - cocoatomo衝動日記〈移行後版〉

    さて今日は「半順序」の話をします. 昨日の全順序 (total order) に比べやや足りないところがあるので,「半順序」(partial order) と言います. どこが足りないかをこれから見ていきましょう. 半順序の定義 さて, まずは定義から行きましょう. 全順序のときと同じように記号「≦」が満たすルールを並べて定義します. どんな a でも a ≦ a a ≦ b かつ b ≦ a ならば a = b a ≦ b かつ b ≦ c ならば a ≦ c 昨日の全順序と比べてどこが違うでしょうか? そうです, 1つ目のルール以外は全く一緒です. そして, 全順序の1つ目のルール「a ≦ b または b ≦ a が成立する」から b が a だった場合を考えると,「a ≦ a」が出てきます. 今何を示したかというと, 全順序の1つ目のルールから半順序の1つ目のルールが導き出せることを

    順序のはなし・その2 - cocoatomo衝動日記〈移行後版〉
    nishikawasasaki
    nishikawasasaki 2012/11/26
    半順序について