タグ

2012年8月8日のブックマーク (4件)

  • ペットボトルの口に入る「細長い氷」が作れるアイストレー【Ice Sticks Flexible Ice Trays】

    『Ice Sticks Flexible Ice Trays』は、かゆいところに手が届く便利なアイテムです。 細長い棒状の氷が作れるこちらの製氷器(アイストレー)。ペットボトルの小さい口にも入るので、ぬるくなった飲み物をボトルに入れたまま冷やすことが出来るというわけです。 お近くにIKEAがある方は、こちらが安くておすすめかも?(via ThisIsWhyImBroke)

    ペットボトルの口に入る「細長い氷」が作れるアイストレー【Ice Sticks Flexible Ice Trays】
    orangeclover
    orangeclover 2012/08/08
    なるほど。でも、水以外の飲み物の場合は? 『ペットボトルの口に入る「細長い氷」が作れるアイストレー【Ice Sticks Flexible Ice Trays】』
  • GradleでEnclosedテストが2回実行されることの対策 - やさしいデスマーチ

    @irofさんのエントリーで、GradleでEnclosedのテストが二回実行されるんだ。 「あとではまる」とブックマークしたらば、3ヶ月後にちゃんとはまりましたw で、原因ですが、Groovyでコンパイルされた後のネストクラスが、トップレベルのクラスとして認識されるため、Eclosedで実行され、かつ通常のJUnitテストとして実行されるのが、おそらくは原因。 回避策は2つ。 1つはEnclosedテストランナーを利用しないw というか、@RunWithの部分をコメントアウトすればOK。 もう一つは、テストの実行時に除外クラスを指定すること。つまり、build.gradle に次のように設定する。 test { exclude '**/*$*' } ネストクラスやインナークラスは、「アウタークラス$インナークラス」となるため、$で判断してます。 exclude '**/*Test$*'

    GradleでEnclosedテストが2回実行されることの対策 - やさしいデスマーチ
    orangeclover
    orangeclover 2012/08/08
    あとではまる 『GradleでEnclosedテストが2回実行されることの対策』
  • Mscgen: A Message Sequence Chart Renderer

    What is it? Mscgen is a small program that parses Message Sequence Chart descriptions and produces PNG, SVG, EPS or server side image maps (ismaps) as the output. Message Sequence Charts (MSCs) are a way of representing entities and interactions over some time period and are often used in combination with SDL. MSCs are popular in Telecoms to specify how protocols operate although MSCs need not be

    orangeclover
    orangeclover 2012/08/08
    こんあんのもあるのか。『Mscgen』
  • .gitconfigにinclude書くと捗る - 時計を壊せ

    2012-08-20一部訂正 githubにdotfile上げてる人は結構多いですが、 github.tokenなど、一部の設定は公開されると困りますね。 そんなときはincludeディレクティブを使うとローカル用の設定を別ファイルに出来るので捗ります。 [include] path = .gitconfig.local [core] editor = emacs pager = lv whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol excludesfile = .gitignore こんな感じでやると.gitconfig.localを読み込んでくれるので、 github.tokenなどは.gitconfig.localに書いておくといい感じになって捗ります。 参考: http://stackoverflow.com

    .gitconfigにinclude書くと捗る - 時計を壊せ
    orangeclover
    orangeclover 2012/08/08
    これを使えばいいのか。『.gitconfigにinclude書くと捗る』