元の記事はどこかと探したんですが、どうやらこれっぽい。
まぁ、元記事のタイトルが煽りすぎってのはあるな。まぁ、読み比べるとジワッときます。
"03 APR 09" あたりからバケバケなのです。
dann2009/04/18 20:48どうも、fixしましたー。
17:57 axx: suddenly i just got tired again. 17:57 txxxxxxxxxxx: me2 17:57 jxxxxx: splash some water on yr faces 17:58 txxxxxxxxxxx: language 17:58 axx: yeah srs 17:58 jxxxxx: i said faces 17:58 jxxxxx: not feces 17:58 jxxxxx: :P
feces という語を知らなかった。Google Image 検索するとよくわかります。http://www.google.com/images?q=feces (NSFW)
Perl Artistic な MovableType Action Streams Plugin http://plugins.movabletype.org/action-streams/ のコードには services.yaml というのがありまして。
http://code.sixapart.com/svn/mtplugins/trunk/ActionStreams/plugins/ActionStreams/services.yaml
コピれ。
や、pandora とか意味ないから、そのままはダメだぞ。こんな感じで管理するといいですよという話です。
XFN のやつは rel="me" をテンプレ書くだけなので、「いちごましまろ」を書くよりは短時間で修正できる。
なんか、下の奴★がついてるヨ! id:antipop id:secondlife
http://hatena.g.hatena.ne.jp/hatenamagazine/20090305/1236258974
ローンチおめでとうございます。はてなブックマークがリニューアルされてから、「お気に入り」を気持ちよく使っていたのでこのソーシャルな流れ期待しています。
けど、技術的な点で疑問が。
1.「アカウント・アドレス設定」があまりにもおざなり
それぞれのサービスの URL を自分で書かなきゃいけないの?ニコニコ動画はサービス一覧にすら載って無いし。
2. ソーシャルグラフを無視
FOAF http://www.foaf-project.org/ も XFN http://gmpg.org/xfn/and/ も全くなし。
http://socialgraph-resources.googlecode.com/svn/trunk/samples/findcontacts.html
ここに行って、プロフィールの URL を入力すると何も出ない。悲しいね。
http://d.hatena.ne.jp/antipop/20070819/1187527599 とか読むと、中の人が知らない訳はないと思うんだけどな。忙しかったんだなきっと。これからもがんばってください。
14:33 <#somewhere> d***: hi 14:33 <#somewhere> a*: hay 14:33 <#somewhere> a*: (is for horses) 14:35 <#somewhere> d***: oh wait you did 14:35 <#somewhere> d***: nm
くだらねw
netbookをサブマシンとして買おうとしている人は新しいガジェット手に入れて環境設定したくなっているだけだろうから、とりあえずMacbookにWindowsとubuntu とWindows上にもVMWareでubuntu入れてcoLinuxも入れて、Macからparal...
http://twitter.com/shokai/status/1036152440
図星。ThinkPad X40 に CF 差して Ubuntu インストールしたら Netbook 熱がおさまった。なんという解熱剤。
http://qootas.org/blog/archives/2008/11/thinkpad-x40-cf.html
http://perl-users.jp/articles/advent-calendar/2008/02.html
ここだけの話、 GetOptions とかで、頻繁につかってます。
videocast 系のフィードで enclosure の type 属性がいい加減なので、この際データをちょっと(8k)だけ読んで file(1) 的に mime type を取得するのはどうかと試してる。QTなコンテンツが video/quicktime とか返してくれて嬉しい。ボーナスとしては某ニュースが audio/x-ms-asx とかになるのが判明して、ああ、そういうことか。とか。
package Plagger::Plugin::Filter::EnclosureFileType; use strict; use base qw( Plagger::Plugin ); use File::Type; use Plagger::UserAgent; sub register { my($self, $context) = @_; $context->register_hook( $self, 'update.entry.fixup' => \&filter, ); } sub filter { my($self, $context, $args) = @_; for my $enclosure ($args->{entry}->enclosures) { next if !$enclosure->url; my $type = $self->cache->get_callback( $enclosure->url, sub { $self->check_type($enclosure->url) }, '1 day', ); unless ($type) { $context->log(error => "Can't get type from " . $enclosure->url); next; } if ($type && (!$enclosure->type || $type !~ m!^(?:text/|application/octet-stream)! && $enclosure->type ne $type)) { $enclosure->type($type); $context->log(info => "Set type of " . $enclosure->url . ": $type"); } } } sub check_type { my($self, $url) = @_; Plagger->context->log(debug => "fetching $url"); my $ua = Plagger::UserAgent->new; $ua->max_size(8192); my $data; my $res = $ua->get($url, ':content_cb' => sub { $data .= $_[0] }); return if $res->is_error; if ($data =~/^FLV/) { return 'video/x-flv'; } my $ft = File::Type->new(); my $type_from_data = $ft->checktype_contents($data); return $type_from_data; } 1;
0x0030: 801c fd26 4745 5420 2f6e 6577 732f 7061 ...&GET./news/pa 0x0040: 7274 732f 706c 6179 6572 2f6e 686b 5f70 rts/player/nhk_p 0x0050: 6c61 7965 722e 7377 663f 6175 746f 6d6f layer.swf?automo 0x0060: 6465 3d74 7275 6526 706c 6179 6d6f 6465 de=true&playmode 0x0070: 3d6f 6e65 266d 6f76 6965 3d4b 3130 3035 =one&movie=K1005 0x0080: 3035 3732 3631 315f 3038 3130 3330 3131 0572611_08103011 0x0090: 3132 5f30 3831 3033 3031 3132 3426 666d 12_0810301124&fm 0x00a0: 733d 7274 6d70 3a2f 2f66 6c76 2e6e 686b s=rtmp://flv.nhk 0x00b0: 2e6f 722e 6a70 2f6f 6e64 656d 616e 642f .or.jp/ondemand/ 0x00c0: 666c 762f 6e65 7773 2f26 6465 6275 673d flv/news/&debug= 0x00d0: 6661 6c73 6520 4854 5450 2f31 2e31 0d0a false.HTTP/1.1..
http://coderepos.org/share/browser/lang/perl/XIRCD/trunk/lib/XIRCD/Component/Rejaw.pm
にあげておいた。設定ファイルはこんな感じ
ircd:
client_encoding: utf-8
port: 6667
server_nick: xircd
servername: xircd.local
ircd_option:
no_nick_tweaks: 1
components:
- module: Rejaw
email: sekimura@gmail.com
password: zlPesenapaJoN
(openid の人は http://rejaw.com/account/credentials で表示される secondary password を使ってください)
使い方