pastie.org

Transcription

pastie.org
Pastie
pastie.org
Serving the Rails community (and everyone else) since June 3, 2006...
What?
Why?
Rails Highlighting
Rails Highlighting
has_many
has_and_belongs_to_many
redirect_to
validates_presence_of
belongs_to
acts_as_list
before_filter
has_one
Design
(pastie isn’t ugly)
RAFB.net/paste vs Pastie
The same code in Pastie
TextMate Integration
Thanks to Allan Odgaard and others!
Vim Integration
Vim plugin by Tim Pope (tpope on IRC)
Just google “pastie vim”
Inside Vim
Inside Vim
The pastie
pastie bot
Smart IRC Integration
freenode.net
##textmate
#atlrug
#movabletype
#ram
#pdx.rb
#rbot
#mootools
#rubyspec
#merb-hacking
#rubyonrails.fr
#rubyenrails
#mephisto
#macosx
#ruby.ie
#rubinius
#rubyonrails
#merb
#ruby-osx
#prototype
#planetargon
#nitro
#jruby
#puppet
#rails-contrib
#railsconf
#github
Requesting a new pastie
(in #railsconf)
Dreamer3_git> pastie: hook me up
Requesting a new pastie
(in #railsconf)
Dreamer3_git> pastie: hook me up
(pastie sends a private message to Dreamer3_git)
pastie> http://pastie.org/206468?
key=2ab829e3f1c58
Requesting a new pastie
(in #railsconf)
Dreamer3_git> pastie: hook me up
(pastie sends a private message to Dreamer3_git)
pastie> http://pastie.org/206468?
key=2ab829e3f1c58
(in #railsconf)
pastie> http://pastie.org/206468 by
Dreamer3_git.
Helping a newb
(in #rubyonrails)
phpfan: why doesn’t my controller work?
Helping a newb
(in #rubyonrails)
phpfan: why doesn’t my controller work?
Dreamer3: phpfan: please pastie us your
controller code
Helping a newb
(in #rubyonrails)
phpfan: why doesn’t my controller work?
Dreamer3: phpfan: please pastie us your
controller code
(pastie sends a private message to phpfan)
pastie> Dreamer3 is requesting a paste
from you. Click the link and paste away:
http://pastie.org/206490?key=1f249786dec76
Helping a newb
(in #rubyonrails)
phpfan: why doesn’t my controller work?
Dreamer3: phpfan: please pastie us your
controller code
(pastie sends a private message to phpfan)
pastie> Dreamer3 is requesting a paste
from you. Click the link and paste away:
http://pastie.org/206490?key=1f249786dec76
(in #rubyonrails)
pastie> Dreamer3: http://pastie.org/206490 by
phpfan.
How it works
Pastie listens to everything in a channel.
•
•
•
Dreamer3: DHH: could you pastie me that?
Dreamer3: bob: could you pastie that to me right away?
Dreamer3: tpope: could you pastie us an example?
They key is to address someone (eg: “tpope:”) and
mention “pastie me|us|that”. The person you address
will receive a private message with a URL letting
them know you’d like a paste from them.
Booger or Burger?
(protecting Pastie from spammers)
Pastie Gems
(now over 200,000)
#1
“test”
--Dreamer3
#3
“BLah Blah blah”
--bousquet
#12
“sweet!”
#57
“FUCK YOU DREAMER COCKMONKEY”
Hello World - #808
Poetry - #202,776
This Is My Life
I spent my days in vain just waiting
For happiness to come my way
I took for granted all they gave me
I opened my eyes
Finally I realised
This is my life
I don't wanna change a thing
This is my life
All the pain, all the joy it brings.
...
Apology - #201,980
Hey Kate,
Remember that time in highschool when you were like 200
lbs and sometimes you'd find random things hidden in your
rolls of fat?
I have to confess, that was me.
Sometimes it was pens, other times cookies & even cheese.
Just wanted to say sorry about that.
...
Bad Luck - #185,771
He’d decided to try his SUV in a little bit of
cross-country travel, had great fun zooming
over the badlands and through the sand, got
lost, hit a big rock, and then he couldn’t get it
started again. There were no cell phone towers
anywhere near, so his cell phone was useless.
He had no family, his parents had died a few
years before in an auto accident, and his few
friends had no idea he was out here.
...
iPhone Activation Code
#51,865 - #51,867
This pastie removed at the request of Apple, Inc.
Love - #57,567
Dear Tom, We are completely impossible to define. I
say this out of complete inadequacy in searching for a
term that fits. There is no term, there is no verb,
there is no way to describe it because even the
retelling of the events leading up to...us, I guess, is
biased, details scrubbed over and conversations lost
in the abyss. I could use adjectives, but those fall
short. All parts of speech fail when I try to explain to
myself the way this works. The way I see it.
...
#100,000
This is the final pastie.You can now go outside and play.
-- defunkt
Stats
Josh Goebel
e-mail
dreamer3 atz ze gmail.com
blog
blog.pastie.org