2011年5月27日のブックマーク (6件)

  • newを封印して、JavaScriptでオブジェクト指向する(1)

    以下はプロトタイプ的継承だけで一通りの機能を実現できる、という一つの例です。もちろん他にも書き方はありますし、newを使うのがよくないと主張しているわけではないです。 (誤解を生みそうな文体が混じっているようなので追記: 2011/5/14) 春ですし、少し初心者向けの記事を書きます。タイトル通り、JavaScriptのオブジェクト指向について。ちょっと長くなるので目次です。 クラス(に相当するオブジェクト)を作る オブジェクトからオブジェクトを作る(インスタンス化) 単一継承 多重継承 privateは諦めましょう 親のメソッドを呼ぶ コンストラクタ instanceofに対応する ダックタイピングのススメ JavaScript標準のオブジェクト指向といえばnewやらprototypeやらを書く必要がありますが、これらは書くのが面倒臭い上に気をつけないといけない点がたくさんあります。Ja

    newを封印して、JavaScriptでオブジェクト指向する(1)
    faw
    faw 2011/05/27
    new Object オブジェクト
  • HisteditExtension - Mercurial

    Histedit Extension This extension is distributed with Mercurial 2.3 and later. Author: Augie Fackler In core since version 2.3 1. Overview History editing plugin for Mercurial, heavily inspired by git rebase --interactive. It allows selecting (pick), combining (fold or roll), rejecting (drop), modifying (edit) or updating the commit message (mess) of already commited changesets. 2. Configuration I

    faw
    faw 2011/05/27
    mercurial history commit コミット履歴 編集
  • 【翻訳】Gitをボトムアップから理解する

    John Wiegleyさんの "Git from the bottom up" を翻訳しました。 元PDFはこちらからダウンロードできます: http://newartisans.com/2008/04/git-from-the-bottom-up/ 元記事のライセンスがクリエイティブコモンズのBY-SAであったため、この翻訳もBY-SAとなります。 ライセンスを守って自由にご利用ください。(詳しくは記事内の最初にも書いてあります) 翻訳ミスの指摘や改善の提案等があればブログコメントやTwitter(@oshow)などで遠慮なくどうぞ。 Git をボトムアップから理解する Wed, 2 Dec 2009 by John Wiegley 私が Git を理解しようと調査した時、高級なコマンドの視点から眺めるよりボトムアップ式に理解することが役立った。そしてボトムアップ視点で見る Git

    【翻訳】Gitをボトムアップから理解する
    faw
    faw 2011/05/27
    git
  • Apache Libcloud is a standard Python library that abstracts away differences among multiple cloud provider APIs | Apache Libcloud

    One Interface To Rule Them All Python library for interacting with many of the popular cloud service providers using a unified API. Supports more than 50 providers such as Installation Latest stable version (Python 3.7+ only): 3.8.0 (August 10th, 2023) pip install apache-libcloud Or download it from our servers and install it manually. Features Avoid vendor lock-in Use the same API to talk to many

    Apache Libcloud is a standard Python library that abstracts away differences among multiple cloud provider APIs | Apache Libcloud
    faw
    faw 2011/05/27
    EC2 Amazon Eucalyptus cloud クラウド
  • Web製作者やブロガーならブックマーク必須な個人商用フリーな5つの画像サービス * 男子ハック

    テキストだけじゃ見にくいので適度に画像を使ってアクセントテキストばかりの記事だと読みにくい。(逆にテキストだけのほうがいいって場合もあるかもしれませんが)。見に来てくれた人が「読みやすい」と感じてもらうためのふ画像も適度に使ったほうがいいだろうし、場合によってはスクリーンキャプチャを使うこともあるでしょう。 僕の場合はテキストだけで記事を書くことができていしまう場合でも、適度に画像を使ったり、上記のように見たらすぐわかる説明のような画像を作ることもしばしば。 基的にはキャプチャを撮ったり、画像を作ったりしていますが、それ以外にアクセントというかイメージとして画像を使いたい時には画像サービスから探すといいかもしれません。 以下に紹介するサービスの利用に関しては各サイトをご確認ください。 フリー写真素材::Free.Stocker国内外の建物や風景写真が多くある画像サービスです。

    Web製作者やブロガーならブックマーク必須な個人商用フリーな5つの画像サービス * 男子ハック
    faw
    faw 2011/05/27
    free picture 画像 写真
  • RGraph: Beautiful JavaScript charts for websites

    RGraph is a JavaScript charts library based on HTML5 SVG and canvas. RGraph is mature (over 15 years old) and has a wealth of features making it an ideal choice to show charts on your website. More » RGraph can be used for free under the GPL or if that doesn't suit your situation there's an inexpensive (£99) commercial license available. More » Get the latest version of RGraph (version 6.16) from

    RGraph: Beautiful JavaScript charts for websites
    faw
    faw 2011/05/27
    Graph グラフ Canvas HTML5