タグ

moduleに関するsyqueのブックマーク (4)

  • PHP WEBアクセス Class - TatenoSystem Wiki

    Methods † WebRequest fileWrite fileWriteAdd getCode getCookies getResponseCookies getErrorMessage getHeaders getUrl getVersion sendGet sendPost set setConnectRedirect ※廃止(~2010.10.28) setConnectTimeout setCookie setHeader setReadTimeout setRedirectCount setReferer sets setUrl setUserAgent ↑ サンプル1 † YahooトップページHTML取得 <?php require_once 'WebRequest.class.php'; $test = new WebRequest('http://www.yaho

  • PEAR - PHP Extension and Application Repository

    » What is it? PEAR is a framework and distribution system for reusable PHP components. Sounds good? Perhaps you might want to know about installing PEAR on your system or installing pear packages. You can find help using PEAR packages in the online manual and the FAQ. If you have been told by other PEAR developers to sign up for a PEAR website account, you can use this interface. » Hot off the Pre

  • xinputを使ってタッチパッドをオフにする - 射撃しつつ前転 改

    自宅では4年前に買ったmacbookにubuntuを入れて後生大事に使っているのだが、最近タッチパッドが暴走して、左ボタンがずっと押されっぱなしになるという事態が増えてきた。 gpointing-device-settingsでタッチパッドをオフにしてみたのだが、勝手にタッチパッドが復活して暴走するという問題が何度か起きた。さすがにハードウェアの暴走だけあって、何が起こるかわからない。 xorg.confの方でオフにすることで勝手に復活という最悪の事態をなくせるのではないかと思って試してみたのだが、設定がよくわからない。昔はHALでなんかXMLをいじればオフにできたような気がするのだが、もうHALはどこかへ行ってしまったしね…。 xinputコマンドを使うことでうまいことタッチパッドをオフにできたみたいなので、メモしておく。 まず、xinput listでデバイスを見つける。今回はmacb

    xinputを使ってタッチパッドをオフにする - 射撃しつつ前転 改
    syque
    syque 2011/06/22
    xinputを使ってタッチパッドをオフにする  自宅では4年前に買ったmacbookにubuntuを入れて後生大事に使っているのだが、最近タッチパッドが暴走して、左ボタンがずっと押されっぱなしになるという事態が増えてきた。  gpoin
  • Test::Mock::Recorder - Kato Kazuyoshi

    In xUnit Test Patterns, Gerard Meszaros introduce the term "Test Double" and he lists various kinds of double: dummy object, fake object, stub, spy, and mock. You can read the summary at Martin Folwer's Bliki. Last year I wrote own mock library for Perl. We can use Test::MockObject as (Gerard's definition of) mock. But it's hard. So my library provides "record-and-verify" style interface like Mox

    syque
    syque 2011/03/10
    perl 製のテストモジュール。memcached をテストするサンプルあり。
  • 1