This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package AnyEvent::TumblrDashboard; | |
use base qw/AnyEvent::Twitter/; | |
sub receive_statuses_home { | |
my ($self, $weight) = @_; | |
weaken $self; | |
$self->{schedule}->{statuses_home} = { | |
wait => 0, | |
weight => $weight || 1, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use WebService::Simple; | |
use Encode; | |
my $text = join " ", @ARGV; | |
my $googletrans = WebService::Simple->new( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name TogetterFilter | |
// @namespace TogetterFilter | |
// @description Togetterを任意のユーザー名を用いてフィルタリング | |
// @include http://togetter.com/* | |
// @require https://gist.github.com/434406.txt | |
// ==/UserScript== | |
// Based on http://d.hatena.ne.jp/mEGGrim/20101019/1287684499 | |
// ここにフィルタリングしたいユーザーのIDを''で囲い、,で区切って記述して下さい |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Togetter List Owner Post Counter | |
// @namespace http://d.hatena.ne.jp/Pasta-K | |
// @include http://togetter.com/li/* | |
// ==/UserScript== | |
var mastername = document.querySelector('.icon_author').innerHTML; | |
var list = document.querySelectorAll('.list_body'); | |
var i,c,postuser; | |
var all = list.length; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.healthplanet.jp/apis/api.html | |
タニタの体組成計のSDカードからデーターを投稿するアプリがWindowsにしか対応していないけど、このAPIみたらOauth2.0でXMLかJSON投げりゃ投稿できるっぽいな。 | |
SDカードの中をみたらTANITA/DATA1.CSVに計測ごとに1行追記してるだけだし。 | |
urn:ietf:wg:oauth:2.0:oob でコマンドラインスクリプト走らせりゃ済みそう。 | |
--- | |
アプリ登録して | |
https://www.healthplanet.jp/oauth/auth?client_id=[CLIENTID]&redirect_uri=https://www.healthplanet.jp/success.html&scope=innerscan&response_type=code | |
で認証してaccess_code貰って |
OlderNewer