タグ

JavaScriptとapiに関するginpeiのブックマーク (6)

  • ResizeObserver - Web APIs | MDN

    In the resize-observer-text.html (see source) example, we use the resize observer to change the font-size of a header and paragraph as a slider's value is changed causing the containing <div> to change width. This shows that you can respond to changes in an element's size, even if they have nothing to do with the viewport. We also provide a checkbox to turn the observer off and on. If it is turned

    ResizeObserver - Web APIs | MDN
    ginpei
    ginpei 2020/05/14
    DOM要素の大きさ変更を監視するAPI。まだ草案。Firefox for Android以外で実装済み。
  • JavaScript API Hall of Shame

    In this day and age it is pretty common to design a large-scale web application as a collection of modular and reusable components. These components need to have a reasonable set of APIs (application programming interfaces) which deliver against the stipulated engineering criteria. In addition this API set needs to retain ease of use. The success of a module is thus reflected in the way it is bein

    JavaScript API Hall of Shame
    ginpei
    ginpei 2014/05/01
    文書は読まれないので、すぐ分かるAPI設計をしようという話。「真偽値は引数に直接使わない」「I/F共通化」「状態を適切に表現する命名」
  • JSON Online Validator and Formatter - JSON Lint

    To format and validate your JSON, just copy + paste it below: About the JSONLint EditorJSONLint is a validator and reformatter for JSON, a lightweight data-interchange format. Copy and paste, directly type, or input a URL in the editor above and let JSONLint tidy and validate your messy JSON code. What Is JSON?JSON (pronounced as Jason), stands for "JavaScript Object Notation," is a human-readable

    ginpei
    ginpei 2012/03/06
    JSONのLint、書式を検証してくれるサービス。
  • Google Spreadsheets を簡易 SQL DB に!「Google Visualization API」 - WebOS Goodies

    WebOS Goodies へようこそ! WebOS はインターネットの未来形。あらゆる Web サイトが繋がり、共有し、協力して創り上げる、ひとつの巨大な情報システムです。そこでは、あらゆる情報がネットワーク上に蓄積され、我々はいつでも、どこからでも、多彩なデバイスを使ってそれらにアクセスできます。 WebOS Goodies は、さまざまな情報提供やツール開発を通して、そんな世界の実現に少しでも貢献するべく活動していきます。 皆さん、 Google Docs のガジェット機能はもう使ってみましたでしょうか。データをさまざまな方法で可視化するガジェットをシート上に配置できるというもので、このガジェットは自作することもできます(iGoogle ガジェットベース)。その際にスプレッドシートの情報を取得するために使われるのが、日ご紹介する Google Visualization API

    ginpei
    ginpei 2011/11/07
    Spreadsheetsのデータを非同期通信で取得するAPIの解説。何かと便利そうだなあ。
  • Daftar Serta Masuk Saat ini Di Situs Slots Online Terpilih Ojekslot

    Daftar Serta Masuk Saat ini Di Situs Slots Online Terpilih Ojekslot Seperti yang kita pahami waktu ini ada sangat banyak permainan slot online paling sederhana yang dapat dimainkan dalam sekejap hanya cukup masuk di sana saja ojekslot terunggul. Di sini dapat ada sangat banyak bermacam permainan luar biasa yang pastinya dapat anda temukan dengan ringan. Beraneka permainan terbaik di sini dapat and

    ginpei
    ginpei 2011/08/29
    気になる。
  • 日本標準時プロジェクト 公開NTP

    標準時 に直結した時刻サーバ NICT公開NTPサービスではインターネットを利用して、日標準時を時刻配信しています。 NTPサーバ名: ntp.nict.jp ・設定方法 ・Q&A ・関連文書(公開文書 / 日標準時 / ネットワーク時刻同期) ・統計(利用数, トラフィック, ドメイン別) ・クライアントリスト ・関連リンク集 ・問合せ窓口 お知らせ ■運用情報(過去の情報はこちら) 2008/09/22 16:00頃-09/24 13:00頃 サーバ接続障害により、ntp-a2およびntp-a3との通信ができませんでした。 現在、全てのサーバが順調に稼動しています。 ■お知らせ(過去のお知らせはこちら) 2008/01/30 SSLを使ったセキュアな時刻配信を始めました。https://ntp-a1.nict.go.jp/cgi-bin/ntp をご利

    ginpei
    ginpei 2010/08/25
    日本標準時をJSONで返すAPIなど。クライアントマシンの設定時刻に左右されたくない場合に利用できそう。
  • 1