Enviar búsqueda
Cargar
Onsg10 Intro Termtter
•
Descargar como KEY, PDF
•
1 recomendación
•
710 vistas
S
Shota Fukumori
Seguir
Denunciar
Compartir
Denunciar
Compartir
1 de 79
Descargar ahora
Recomendados
Use cases in the code with AOP
Use cases in the code with AOP
Andrzej Krzywda
Don't Go, Java!
Don't Go, Java!
Christoph Engelbert
What is few?
What is few?
Shota Fukumori
No gain is so certain as that which proceeds from the economical use of what ...
No gain is so certain as that which proceeds from the economical use of what ...
Rhea Myers
ORV NAHSE Newsletter - Winter 2009
ORV NAHSE Newsletter - Winter 2009
Yonathan Kebede, FACHE
Google Docs Student Set Up
Google Docs Student Set Up
Liz Becker
ぼくとわたしのVim
ぼくとわたしのVim
Shota Fukumori
Less to Few
Less to Few
Shota Fukumori
Recomendados
Use cases in the code with AOP
Use cases in the code with AOP
Andrzej Krzywda
Don't Go, Java!
Don't Go, Java!
Christoph Engelbert
What is few?
What is few?
Shota Fukumori
No gain is so certain as that which proceeds from the economical use of what ...
No gain is so certain as that which proceeds from the economical use of what ...
Rhea Myers
ORV NAHSE Newsletter - Winter 2009
ORV NAHSE Newsletter - Winter 2009
Yonathan Kebede, FACHE
Google Docs Student Set Up
Google Docs Student Set Up
Liz Becker
ぼくとわたしのVim
ぼくとわたしのVim
Shota Fukumori
Less to Few
Less to Few
Shota Fukumori
The Git - (#1/2)
The Git - (#1/2)
Leonardo YongUk Kim
图解Git
图解Git
Tony Deng
APIテストあれこれ
APIテストあれこれ
tzm_freedom
The git
The git
Leonardo YongUk Kim
Github basics
Github basics
Radoslav Georgiev
Programming Contest Hacks
Programming Contest Hacks
Kosei Moriyama
Twitter Start Guide : 초보자를 위한 트위터 완전정복 가이드
Twitter Start Guide : 초보자를 위한 트위터 완전정복 가이드
Jinho Jung
Twitter start guide for brandream
Twitter start guide for brandream
Home
Monitoring and Debugging your Live Applications
Monitoring and Debugging your Live Applications
Robert Coup
Go Web Development
Go Web Development
Cheng-Yi Yu
20160708 データ処理のプラットフォームとしてのpython 札幌
20160708 データ処理のプラットフォームとしてのpython 札幌
Ryuji Tamagawa
TypeScript와 Flow: 자바스크립트 개발에 정적 타이핑 도입하기
TypeScript와 Flow: 자바스크립트 개발에 정적 타이핑 도입하기
Heejong Ahn
Gitting the Most From Git
Gitting the Most From Git
Chris Miller
第 10 回 Webteko
第 10 回 Webteko
Shinya Ohyanagi
Inside Of Mbga Open Platform
Inside Of Mbga Open Platform
Hideo Kimura
Unleashing Twitter Data for Fun and Insight
Unleashing Twitter Data for Fun and Insight
Matthew Russell
Unleashing twitter data for fun and insight
Unleashing twitter data for fun and insight
Digital Reasoning
tDiary annual report 2009 - Sapporo Ruby Kaigi02
tDiary annual report 2009 - Sapporo Ruby Kaigi02
Hiroshi SHIBATA
Git for Android Developers
Git for Android Developers
Tony Hillerson
Apex on Local - Better Alternative to Salesforce DX
Apex on Local - Better Alternative to Salesforce DX
tzm_freedom
Más contenido relacionado
Similar a Onsg10 Intro Termtter
The Git - (#1/2)
The Git - (#1/2)
Leonardo YongUk Kim
图解Git
图解Git
Tony Deng
APIテストあれこれ
APIテストあれこれ
tzm_freedom
The git
The git
Leonardo YongUk Kim
Github basics
Github basics
Radoslav Georgiev
Programming Contest Hacks
Programming Contest Hacks
Kosei Moriyama
Twitter Start Guide : 초보자를 위한 트위터 완전정복 가이드
Twitter Start Guide : 초보자를 위한 트위터 완전정복 가이드
Jinho Jung
Twitter start guide for brandream
Twitter start guide for brandream
Home
Monitoring and Debugging your Live Applications
Monitoring and Debugging your Live Applications
Robert Coup
Go Web Development
Go Web Development
Cheng-Yi Yu
20160708 データ処理のプラットフォームとしてのpython 札幌
20160708 データ処理のプラットフォームとしてのpython 札幌
Ryuji Tamagawa
TypeScript와 Flow: 자바스크립트 개발에 정적 타이핑 도입하기
TypeScript와 Flow: 자바스크립트 개발에 정적 타이핑 도입하기
Heejong Ahn
Gitting the Most From Git
Gitting the Most From Git
Chris Miller
第 10 回 Webteko
第 10 回 Webteko
Shinya Ohyanagi
Inside Of Mbga Open Platform
Inside Of Mbga Open Platform
Hideo Kimura
Unleashing Twitter Data for Fun and Insight
Unleashing Twitter Data for Fun and Insight
Matthew Russell
Unleashing twitter data for fun and insight
Unleashing twitter data for fun and insight
Digital Reasoning
tDiary annual report 2009 - Sapporo Ruby Kaigi02
tDiary annual report 2009 - Sapporo Ruby Kaigi02
Hiroshi SHIBATA
Git for Android Developers
Git for Android Developers
Tony Hillerson
Apex on Local - Better Alternative to Salesforce DX
Apex on Local - Better Alternative to Salesforce DX
tzm_freedom
Similar a Onsg10 Intro Termtter
(20)
The Git - (#1/2)
The Git - (#1/2)
图解Git
图解Git
APIテストあれこれ
APIテストあれこれ
The git
The git
Github basics
Github basics
Programming Contest Hacks
Programming Contest Hacks
Twitter Start Guide : 초보자를 위한 트위터 완전정복 가이드
Twitter Start Guide : 초보자를 위한 트위터 완전정복 가이드
Twitter start guide for brandream
Twitter start guide for brandream
Monitoring and Debugging your Live Applications
Monitoring and Debugging your Live Applications
Go Web Development
Go Web Development
20160708 データ処理のプラットフォームとしてのpython 札幌
20160708 データ処理のプラットフォームとしてのpython 札幌
TypeScript와 Flow: 자바스크립트 개발에 정적 타이핑 도입하기
TypeScript와 Flow: 자바스크립트 개발에 정적 타이핑 도입하기
Gitting the Most From Git
Gitting the Most From Git
第 10 回 Webteko
第 10 回 Webteko
Inside Of Mbga Open Platform
Inside Of Mbga Open Platform
Unleashing Twitter Data for Fun and Insight
Unleashing Twitter Data for Fun and Insight
Unleashing twitter data for fun and insight
Unleashing twitter data for fun and insight
tDiary annual report 2009 - Sapporo Ruby Kaigi02
tDiary annual report 2009 - Sapporo Ruby Kaigi02
Git for Android Developers
Git for Android Developers
Apex on Local - Better Alternative to Salesforce DX
Apex on Local - Better Alternative to Salesforce DX
Onsg10 Intro Termtter
1.
Termtter
Introduce a Termtter Sora HARAKAMI sorah@tubusu.net 2010-03-28 Online.sg #10 (onsp2)
2.
Hi • •
Online.sg #10 (sp#2) rubysapporo
3.
•
RubySapporo Lingr • Lingr URL( ) • http://chat.onlinesg.org/ • http://lingr.com/room/onsg (Lingr )
4.
•
( Sora HARAKAMI ) • http://codnote.net/ • 1( 2) • ( 80+) • Rubyist • termtter
5.
Twitter • What’s Happening?
--- #onsg10 now. • Twitter • (“ ” or true)
6.
•
Twitter API TL • API • •
7.
(
) • Twit • Tween • NatsuLion, NatsuLiPhone • YoruFukurou • Web (twitter.com) • movatwitter • Echofon • Vim • telnet • TwitterIRCGateway • tig.rb
8.
Terminal Twitter • Terminal
Twitter • ssh
9.
Termtter
10.
<(@)//_
Termtter
11.
Termtter • Ruby
Twitter • • • •
12.
• • • •
13.
Photo taken by
niallkennedy http://www.flickr.com/photos/niallkennedy/5092992/
14.
• json 1.1.3+ •
highline 1.5.0+ • termcolor 1.0.0+ • rubytter 0.11.0+ • notify 0.2.1+ • $ gem install json highline termcolor rubytter notify
15.
• gem install
termtter
16.
17.
(
) • git • • git clone git://github.com/jugyo/termtter • export PATH=/path/to/termtter/bin:$PATH • zshrc bashrc • • git pull
18.
Photo taken by
kjarrett http://www.flickr.com/photos/kjarrett/1805317057/
19.
• `termtter` • • ~/.termtter/config
20.
• ~/.termtter/config • Ruby •
( ) • config.password
21.
•
# termtter # • config.update_interval -- TL • config.timeout -- • config.retry -- • config.enable_ssl -- SSL • config.plugins.keyword.keywords -- TL • config.confirm -- (re :-( )
22.
Photo taken by
Kevin Steele http://www.flickr.com/photos/kevinsteele/463276653/
23.
• `termtter` • • TL
24.
•
, • u, update • r, replies • l, list • show • re, reply • rt, retweet • fib
25.
u,update • Twitter post •
>u • updated =>
26.
r, replies • replies •
>r
27.
l, list •
TL • >l TL • > l {ID} @{ID} TL • > l {ID}/{SLUG} Twitter http://twitter.com/{ID}/{SLUG} • > l /{SLUG}
28.
show •
> show {TYPABLE_ID} • typable_id post • typable_id tig • (10:23:12) [$bc] akazora: • (10/03/21 10:49) [$hc] sora_h: @akazora hi. (reply_to [$ak]) • typable_id
29.
re, reply • post
reply • in_reply_to_status_id • reply • > re {TYPABLE_ID} hi! replied => hi!
30.
rt, retweet •
RT • RT • QT • config.plugins.retweet.official_retweet = false RT • config.plugins.retweet.quotetweet = true QT ( RT ) • RT RT • > rt {TYPABLE_ID} {COMMENT}
31.
fib • Twitter • fib
{n} • n tweet
32.
• termtter •
git
33.
• config
Termtter::Client.init do |t| ~ end t.plug ‘plugin ’ • config t.plug # •
34.
• easy_post • growl,
growl2 • notify-send, notify-send2, notify-send3 • footer • channel • story
35.
easy_post •
TIG • > hogehoge • hogehoge commandnotfound • re hoge u
36.
growl, growl2 •
growl • TL growl • • growl -- ruby-growl ( ) • growl2 -- rubycocoa meow • growl • growl network
37.
notify-send,notify-
send2, notify-send3 • growl tl • notify-send -- http://jugyo.org/blog/3850 growl ubuntu notify-send • notify-send2 -- • notify-send3 -- `notify-send`
38.
footer • •
config.footer = “ ” • • footer • • termtter • footer
39.
channel • •
> c channel •
40.
channel(2) • •
@{ID} -- TL • _search -- • replies -- replies • main -- home_timeline • -- ( /watch sora_h/watch )
41.
channel(3) • • config.plugins.channel.auto_reload_channel
s = { :” ” => } • :hoge :@hoge :/list :” ”
42.
story • •
config.plugins.stdout.sweets ( : jugyo ujm sora_h lingr_termtter termtter hitode909 nanki sixeight)
43.
story ---
sora_h termtter nanki jugyo Twitter replies Twitter Twitter termtter hitode909 fib g
44.
• Ruby • /path/to/termtter/lib/plugins/
foobar.rb • load
45.
API •
Termtter::Client.register_command • Termtter::Client.register_hook • Termtter::Client.output • Termtter::Client.add_task • Termtter::Client.execute • Termtter::API.twitter • config. {...} .set_default
46.
Termtter::Client.
register_command • command • Termtter::Client.register_command( :name => :foo, # :alias => :f, # :help => [‘foo, f’, ‘bar’] # :exec => lambda { |arg| # lambda arg ... })
47.
Termtter::Client.
register_hook • hook • hook • Termtter::Client.register_hook( :name => :piyopiyo, # :point => :foobar, #hook :exec => lambda {...} # hook )
48.
hook points
• point Point Args Detail :filter_for_output statuses, event :modify_arg_for_{ command , arg } arg :pre_exec_{ command , arg } :post_exec_{ command , arg } :initialize
49.
Termtter::Client.output • statuses • statuses
=> [status, status, ...] statuses Termtter::API.twitter.home_timeline ok
50.
Termtter::Client.add_ta
sk • • crontab • Termtter::Client.add_task( :name => :foobar, # :interval => 10 # ( ) )
51.
Termtter::Client.execut
e • • Termtter::Client.execute(“some_command some_arg”)
52.
Termtter::API.twitter • Rubytter • Termtter::API.twitter.update(“hoge”) •
53.
config. {...} .set_default •
config.plugins. • config.plugins.hoge.set_default(:foo,:bar) • config.plugins.hoge.foo :bar
54.
• •
story fib
55.
• lib/termtter
core • lib/plugins plugin • lib/plugins/defaults plugin( )
56.
core • core
core client.rb •
57.
• •
58.
•
59.
• ujihisa • [2010/3/18
6:42:20 AM] &ujihisa25: termtter = • [2010/3/18 6:42:32 AM] &ujihisa25: termtter
60.
• ujihisa • [2010/3/18
6:42:20 AM] &ujihisa25: termtter = • [2010/3/18 6:42:32 AM] &ujihisa25: termtter
61.
•
62.
sorah • • fork
commit pull request •
63.
pull request • github
http://github.com/jugyo/termtter fork clone • commit&push • http://github.com/jugyo/termtter pull request
64.
pull request • Spec
65.
pull request • Spec •
66.
pull request • Spec •
67.
pull request • Spec •
termtter
68.
pull request • Spec •
termtter
69.
pull request • Spec •
termtter
70.
pull request • Spec •
termtter http://ujm.tumblr.com/post/232805392/ termtter-pull-spec
71.
termtter room • http://lingr.com/room/termtter •
termtter
72.
• termtter •
73.
end
74.
end
75.
Lingr
online.sg http://chat.onlinesg.org/ end
76.
few
77.
less -> few
78.
few • gem install
few • git clone git://github.com/ujihisa/few • git /path/to/few/bin PATH
79.
demo
Notas del editor
Descargar ahora