- Twitter に UserStream 機能が搭載されたことにより TwitterIRCGateway にも UserStream AddIn が作られました. 2. しかし,現状では BroadcastUpdate を false にしもすべてのチャンネルにエコーされてしまいます.
- それを回避する為に self_drop.rb を書きました.
This file contains 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
make[3]: `all-am' に対して行うべき事はありません. | |
make[3]: ディレクトリ `/home/naoto/work/trunk/mono/data' から出ます | |
make[2]: ディレクトリ `/home/naoto/work/trunk/mono/data' から出ます | |
Making all in runtime | |
make[2]: ディレクトリ `/home/naoto/work/trunk/mono/runtime' に入ります | |
d=`cd ../support && pwd`; \ | |
sed 's,target="libMonoPosixHelper[^"]*",target="'$d/libMonoPosixHelper.la'",' ../data/config > etc/mono/configt | |
if test -z ""; then :; else \ | |
sed 's,<configuration>,& <dllmap dll="gdiplus.dll" target="" />,' etc/mono/configt > etc/mono/configtt; \ | |
mv -f etc/mono/configtt etc/mono/configt; fi |
This file contains 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/env ruby | |
str = "abcde" | |
cnt = str.length - 1 | |
rev = [] | |
str.split(//).each { |c| | |
rev[cnt] = c | |
cnt = cnt - 1 | |
} |
This file contains 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
<Tomohiro> OSC のセミナーのタイムテーブル @shinji_kono の Cerium と Google App Engine のやつが同じ時間で迷う | |
<shinji_kono> @Tomohiro では、個人授業で。もちろん、スパルタで。 | |
<Tomohiro> スパルタこわい | |
<yabiku> @shinji_kono @Tomohiro スパルタってさwww. | |
<Tomohiro> まぁ別に GAE とかも自分で調べりゃいけんじゃんっていう話に落ち着く | |
<gongoZ> @shinji_kono 先生と @Tomohiro のスパルタ授業 | |
<Tomohiro> スパルタされた結果ゲーム業界に転職するフラグががが | |
<shinji_kono> とりあえず、fixstars の例題全部動かす所から。Cellなんか楽勝だよね。 | |
<cellfusion> @gongoZ 受けてみたいw | |
<kosaru> スパルタこわい。RT @shinji_kono: @Tomohiro では、個人授業で。もちろん、スパルタで。@shinji_kono |
This file contains 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/env ruby | |
require 'rubygems' | |
require 'nokogiri' | |
require 'uri' | |
require 'open-uri' | |
require 'timeout' | |
def getScreenName(address) | |
p address |
This file contains 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
for /l %i in (0,1,255) do ping -w 1 -n 1 192.168.0.%i && arp -a 192.168.0.%i >> arp.log |
This file contains 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
class Hoge | |
def fuga | |
loop do | |
for i in 1..10 | |
puts "fuga: #{Time.now.instance_eval { '%s.%03d' % [strftime('%Y%m%d%H%M%S'), (usec / 1000.0).round] }}" | |
end | |
sleep 5 | |
end | |
rescue | |
puts "Hoge::fuga Dead" |
This file contains 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/env ruby | |
require 'rubygems' | |
require 'flickr' | |
require 'fileutils' | |
api_key = "" | |
secret = "" | |
flickr = Flickr.new('flickr.dat',api_key, secret) |