タグ

2011年6月15日のブックマーク (12件)

  • Foreach文 - Wikipedia

    foreach文またはfor-each文(フォーイーチぶん)とは、プログラミング言語においてリストや連想配列などの「コレクション」と呼ばれるデータ構造の各要素に対して与えられた文の実行を繰り返すループ文である。foreach文はしばしばfor文の一部という位置付けにあるが、for文と異なり要素の参照順序が定義されないことがある。 処理の流れ[編集] Perlでの構文は以下のようになる。 このループはだいたい次のような手順で実行される。 変数にリストの中のある要素への参照を代入する。 文を実行する。 全要素を参照し終わっていない場合は、変数に「次の要素」を代入して文の実行へ戻る。 ここで、線形リストや配列など要素の順序が決まっているものは、通常その順序でループが実行されるので、この場合以下とほぼ同様である。

    pho
    pho 2011/06/15
    for inだったりfor eachだったり。「リストやハッシュテーブルなどのデータ構造の各要素に対して与えられた文の実行を繰り返すというループを記述するための文」ただのfor文との違いがわかった。
  • Built-in template tags and filters | Django documentation

    Built-in template tags and filters¶ This document describes Django’s built-in template tags and filters. It is recommended that you use the automatic documentation, if available, as this will also include documentation for any custom tags or filters installed. autoescape¶ Controls the current auto-escaping behavior. This tag takes either on or off as an argument and that determines whether auto-es

    Built-in template tags and filters | Django documentation
    pho
    pho 2011/06/15
    Djangoのtemplateはかなり強力そう
  • 新ENEOS

    家庭用電力および家庭用都市ガスについては、ENEOS Power株式会社のウェブサイトをご覧ください。 ENEOS Power ホームページ

    新ENEOS
    pho
    pho 2011/06/15
    ENEOS NICOSカードが年会費無料じゃなくなってて、海外旅行保険も無効になってた。
  • Creative Kitchen Gadget and Tools (33 pics)

    We care about our visitors and respect personal information which you share with us. It is important to us that you are aware of data we are collecting about you and how we are doing it. Due to this we are updating our Privacy Policy and Cookie Policy. These updates will come into effect starting from May 25, 2018. By using the site izismile.com after May 25, 2018 you are acknowledging that you ag

    Creative Kitchen Gadget and Tools (33 pics)
    pho
    pho 2011/06/15
    キッチン用品いろいろ。これは面白い。
  • QuerySet API リファレンス — Django v1.0 documentation

    このドキュメントでは、 クエリセット(QuerySet) API について詳しく解説し ます。このドキュメントは、 モデル と データベースクエリ に基づいて書かれているので、 あらかじめ読んでおくよう勧めます。 このリファレンスを通じて、例題には データベースクエリガイド で取り上げた ブログのモデル例 を使います。 クエリセットはいつ評価されるのか¶ 内部的には、クエリセットの生成、フィルタ操作、スライス、コード間の受渡しは、 データベースを操作することなく行えます。クエリセットを何らかの形で評価しな い限り、データベースの操作は実際には起こらないのです。 以下の方法を使うと、クエリセットを評価できます: イテレーション。 クエリセットはイテレーション可能オブジェクトであ り、オブジェクトに対して最初にイテレーション操作を行ったときにデータ ベースクエリを実行します。例えば、以下の例は

    pho
    pho 2011/06/15
    select_related()ってややこしいな。
  • TechCrunch | Startup and Technology News

    China has closed a third state-backed investment fund to bolster its semiconductor industry and reduce reliance on other nations, both for using and for manufacturing wafers — prioritizing what is…

    TechCrunch | Startup and Technology News
    pho
    pho 2011/06/15
    APIにも期待。これはよさげ。
  • http://www.nus.edu.sg/osa/housing/undergraduate/Offer.html

    pho
    pho 2011/06/15
    "Please submit your early check in request to your respective halls or residences at least one week in advance to check on availability."要事前連絡。
  • http://uci.nus.edu.sg/ohs

    pho
    pho 2011/06/15
    鍵の受け取り方
  • 講談社、五木寛之氏の個人全集をiPhoneアプリや電子書籍で配信 

    pho
    pho 2011/06/15
    けっこう前向きになってきたな。
  • GitHub - snakajima/SNBinder: Client-side HTML Template Engine

    SNBinder is a client-side template engine implemented in JavaScript. Just like server-side template engines, it binds a view (HTML template) to a data (JavaScript object) and generate an HTML text. 0. Design Principle and Sample Application I developed SNBinder with a belief that the client-side data-binding gives a great flexibility to developers who want to offer a "desktop-application-like" use

    GitHub - snakajima/SNBinder: Client-side HTML Template Engine
    pho
    pho 2011/06/15
    クライアントサイドのテンプレートエンジン
  • one-north - Wikipedia

    pho
    pho 2011/06/15
    沸騰都市で宣伝してたone-north. 外から見ると魅力的なプランでも、中から見るとまだまだ工事中。
  • 北緯一度のロチェスターパークへ行こう|シンガポール生活情報|AsiaX Life

    近頃グルメの間で話題のロチェスターパークへ既に足を運んだことがあるという読者は、アンテナの高い情報通だ。MRTブオナビスタ駅から更にタクシーで5、6分というアクセスなので、ご存知でも行きそびれている読者もいるだろう。ロチェスターパークには、いま話題のデザイナーやレストラン経営者達の手によって生まれ変わったブラック&ホワイトハウスのお洒落なレストランやバーが五件ほど並ぶ。それぞれが2階建てで、大体300平方メートル前後の床面積があり、熱帯植物に囲まれた1,200平方メートルはあるという庭も、アルフレスコダイニングのスペースとして生かされている。 ワインバー、イタリアン、中華料理などそれぞれが個性を競い合う。夕暮れ時、誰かの邸宅を訪れるような気分で小道を辿り、熱帯樹のキャノピーの下でここでしか味わえない最上のひとときを過ごそう。 min jiang ロチェスターパーク内で唯一のチャイニーズレ

    pho
    pho 2011/06/15
    「シンガポールに新しい街が生まれるプロジェクト、全体が完成するとされる2020年が楽しみだ。」one-north近辺。