My favorites | Sign in
Project Logo
                
Code license: GNU General Public License v2
Labels: ruby, irc, bot, example
Show all Featured downloads:
Rutot-0.3.7-testing.tar.gz
Show all Featured wiki pages:
ExampleConfig
People details
Project owners:
  mictro

Rutot

An Example Session

074647  -ChanServ- [#ackro] For the next hour *we* will controll all you can see and hear!
080040  <rutlov> Is this TERMINAL fun?
083739  <entropie> ,source?
083740  <rutlov> source  [0]  Mercurial repos available at http://ackro.ath.cx:8000
083740  <rutlov> [1] tarballs at http://code.google.com/p/rutot/
084317  <entropie> ,plugins
084318  <rutlov> anagram, date, defaults, dict, fortune, google, gstats, hgwatch, imdb, insult, keywords, network, plugins,
           reload, ri, rtv, stats, theyfightcrime, translate, tryruby, uri, version, weather, wp
084329  <entropie> # plugins are not keywords
084334  <entropie> ,an rutot
084335  <rutlov> Anagrams: trout, tutor, rout t, toru t, tour t, tour t, toru t, rout t, tout r, tout r
084347  <entropie> # you get the idea?
084354  <entropie> ,imdb fight club
084358  <rutlov> Fight Club (1999): http://www.imdb.com/title/tt0137523/  Rating: 8.7
084359  <rutlov> An office employee and a soap salesman build a global organization to help vent male aggression.
084359  <rutlov> Director: David Fincher;  Tagline: How much can you know about yourself if you've never been in a fight?;
           Runtime: 139 min
084404  <entropie> ,wp Fight Club
084406  <rutlov>     http://en.wikipedia.org/wiki/Fight_Club Fight Club[1] (1996) is the
084406  <rutlov> first published novel by American author Chuck Palahniuk. The plot is
084406  <rutlov> based around an unnamed protagonist who struggles with his growing
084407  <rutlov> discomfort with consumerism and changes in the state of masculinity in  [6 left, say ,more]
084411  <entropie> ,m
084412  <rutlov> American culture. In an attempt to overcome this, he creates an
084412  <rutlov> underground fighting club as a radical form of psychotherapy. It was
084412  <rutlov> made into a movie of the same name in 1999 by director David Fincher.
084412  <rutlov> The movie became a pop culture phenomenon. In the wake of the film's  [2 left, say ,more]
084425  <entropie> ,dict fight
084426  <rutlov> The verb fight has 4 senses (first 4 from tagged texts)
084426  <rutlov> 1. (112) contend, fight, struggle -- (be engaged in a fight; carry on a fight; "the tribesmen fought each
           other"; "Siblings are always fighting"; "Militant groups are contending for control of the country")
084427  <rutlov> 2. (34) fight, oppose, fight back, fight down, defend -- (fight against or resist strongly; "The senator
           said he would oppose the bill"; "Don't fight it!")
084427  <rutlov> 3. (8) fight, struggle -- (make a strenuous or labored effort; "She struggled for years to survive without
           welfare"; "He fought for breath")  [1 left, say ,more]
084436  <entropie> ,foobar?
084437  <rutlov> [google] "foobar2000": http://www.foobar2000.org/ (approx: 4300000 results)
084443  <entropie> ,foobar is foo
084443  <rutlov> k
084445  <entropie> ,foobar?
084445  <rutlov> foobar  [0]  foo
084451  <entropie> ,foobar is also bar
084452  <rutlov> aight
084453  <entropie> ,foobar?
084453  <rutlov> foobar  [0]  foo
084453  <rutlov> [1] bar
084459  <entropie> ,foobar is also qux
084459  <rutlov> klar
084504  <entropie> ,rm foobar 1
084504  <rutlov> Removed entry 1 of foobar.
084508  <entropie> ,foobar?
084509  <rutlov> foobar  [0]  foo
084509  <rutlov> [1] qux
084515  <entropie> ,rm foobar
084516  <rutlov> Removed foobar
084541  <entropie> ,translate en ja Hello World!
084544  <rutlov> [Translation en:ja]  こんにちは世界!
084601  <entropie> http://code.google.com/p/rutot/
084602  <rutlov> Page title is: rutot - Google Code.
084630  <entropie> http://polis.ackro.org/static/070822/#Aimage1189023816
084632  <rutlov> Page title is: ackro -- 070822.
084652  <entropie> ,stats?
084652  <rutlov> stats  [0]  About: Rutlov Joins a list of channels and creates a diagram about channel and user
           relationships.
084653  <rutlov> [1] latest image: http://ackro.ath.cx/~mit/rutot_graph.png
084653  <rutlov> [2] see ,statschannel? for a list of channels
084653  <rutlov> [3] original idea by chris2: http://tinyurl.com/22q6x2
084706  <entropie> http://tlog.enti.ty/static/070822/cache/img/rutot_graph_1188958285.png
084710  <rutlov> http://tinyurl.com/yorrcj
084741  <entropie> # ruby stuff
084745  <entropie> ,irb 23**5
084748  <rutlov> => 6436343
084810  <entropie> ,irb [2,3,4].inject{ |m, i| m*=i }
084811  <rutlov> => 24
084821  <entropie> ,irb fork
084822  <rutlov> NameError: undefined local variable or method `fork' for main:Object
084822  <rutlov> 	from (irb):4
084829  <entropie> # thanks to _why
084854  <entropie> ,ri Enumerable#inject
084856  <rutlov>      enum.inject(initial) {| memo, obj | block }  => obj
084856  <rutlov>      enum.inject          {| memo, obj | block }  => obj
084856  <rutlov>      Combines the elements of _enum_ by applying the block to an
084856  <rutlov>      accumulator value (_memo_) and each element in turn. At each step,  [18 left, say ,more]
084900  <entropie> ,m
084900  <rutlov>      _memo_ is set to the value returned by the block. The first form
084900  <rutlov>      lets you supply an initial value for _memo_. The second form uses
084900  <rutlov>      the first element of the collection as a the initial value (and
084901  <rutlov>      skips that element while iterating).  [14 left, say ,more]
084936  <entropie> ,version
084936  <rutlov> Rutlov, the pleasant Ruby mate.  Version: Rutot-0.3.1-testing
084936  <rutlov> See ,source?
> 








Hosted by Google Code