サーバー Ruby の sinatra で、適当に GET するとバッテリ状況を保存するサーバー書いた https://gist.github.com/anekos/8255991 一瞬でかけました。 Android 端末 Tasker というアプリを使用。 HTTP Get のアクションを使って http://example.com/level/$devicename/$level を定期的に叩く (普段ネットに繋がないような端末は、WIFI On > Wait (%WIFI = On) > WIFI Off とかするといいっぽい。 ノート C# で適当にプログラム書いた。 こいつをタスクスケジューラで、定期的に実行してやる。 https://gist.github.com/anekos/8256104 割と苦戦したけど、内容は超簡単。 BatteryLifePercent が floa
Twitter authentication with OmniAuth¶ ↑ OmniAuth provides several strategies (released as gems) that provides authentication for a lot of systems, such as Facebook, Google, GitHub, and many more. Each strategy is a Rack middleware, so it's very easy to integrate with Sinatra. This recipe will show you how to add user authentication to your Sinatra application using Twitter as your authentication p
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く