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 | |
" | |
execute 'help' getline(1) | |
.,/\*\S\+\*$/?\S?print | |
qa! | |
" | |
require 'rubygems' | |
require 'json' | |
require 'cgi' |
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
諸君 私は補完が好きだ | |
諸君 私は補完が好きだ | |
諸君 私は補完が大好きだ | |
手動補完が好きだ 自動補完が好きだ インテリセンスが好きだ 部分マッチが好きだ | |
シェルが好きだ 予測補完が好きだ オムニ補完が好きだ | |
Vimで Emacsで zshで | |
Visual Studioで ATOKで Eclipseで |
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
puts (1..9).map{|i| (1..9).map{|j| "#{i} * #{j} = #{i*j}" }.join("\n") }.join("\n") |
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
[10/03/30 20:27:53] &ujihisa25: 会話が聞こえそうでぎりぎり聞こえない | |
[10/03/30 20:27:56] &ujihisa25: hi | |
[10/03/30 20:27:59] Sora HARAKAMI: hi | |
[10/03/30 20:28:02] &ujihisa25: hi | |
[10/03/30 20:28:03] EricSartre/DaikiKawakami: ひ | |
[10/03/30 20:28:04] Sora HARAKAMI: hi | |
[10/03/30 20:28:07] &ujihisa25: hi | |
[10/03/30 20:28:08] Sora HARAKAMI: hi | |
[10/03/30 20:28:10] shinlinsui: hi | |
[10/03/30 20:28:10] daiki: hi |
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
<HTML> | |
<BODY> | |
<FORM METHOD='POST' ACTION='../servlet/jp.ac.keio.ess.adst.servlet.view.NoLectureCheckServlet?param=adst'> | |
<TABLE ALIGN='Center'> | |
<TR><TD><DIV CLASS='DispTitle'>休講・補講情報 確認画面</DIV></TD> | |
<TD><DIV CLASS='DispTitle'></DIV></TD></TR> | |
</TABLE> | |
<BR> | |
<DIV CLASS='NotandumMessage'>(注意) 掲示板の休講情報/補講情報も確認してください。</DIV> |
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
#-*- coding: utf-8 -*- | |
require 'net/http' | |
require 'uri' | |
require 'json' | |
Net::HTTP.version_1_2 | |
def chirp(id, pass) | |
uri = URI('http://chirpstream.twitter.com/2b/user.json') | |
buf = "" |
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
#-*- coding: euc-jp -*- | |
require 'rubygems' | |
require 'mechanize' | |
require 'kconv' | |
require "./tlsmails.rb" | |
class NoLectureInformation | |
def initialize(h={}) | |
@h = h | |
unless h.key?(:date) && h.key?(:time) \ |
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
100.times{|i|s=(i%3==0?"Fizz":'')+(i%5==0?"Buzz":'');puts s==""?i:s} |
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
#encoding: utf-8 | |
require 'nokogiri' | |
require 'net/irc' | |
BOTNICK = "Glass_bot" | |
class TCEBot < Net::IRC::Client | |
def initialize(*args) | |
super |
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
#encoding: utf-8 | |
require 'nokogiri' | |
require 'net/irc' | |
BOTNICK = "Glass_bot" | |
class TCEBot < Net::IRC::Client | |
def initialize(*args) | |
super |
OlderNewer