+ All Categories
Home > Documents > pastie.org

pastie.org

Date post: 29-Jun-2015
Category:
Upload: newbu
View: 530 times
Download: 0 times
Share this document with a friend
Popular Tags:
43
Pastie pastie.org Serving the Rails community (and everyone else) since June 3, 2006...
Transcript
Page 1: pastie.org

Pastiepastie.org

Serving the Rails community (and everyone else) since June 3, 2006...

Page 2: pastie.org

What?

Page 3: pastie.org

Why?

Page 4: pastie.org

Rails Highlighting

Page 5: pastie.org

Rails Highlighting

acts_as_list

has_many

belongs_to has_one

validates_presence_of

has_and_belongs_to_many

redirect_to

before_filter

Page 6: pastie.org

Design(pastie isn’t ugly)

RAFB.net/paste vs Pastie

Page 7: pastie.org
Page 8: pastie.org
Page 9: pastie.org
Page 10: pastie.org
Page 11: pastie.org

The same code in Pastie

Page 12: pastie.org

TextMate IntegrationThanks to Allan Odgaard and others!

Page 13: pastie.org
Page 14: pastie.org

Vim IntegrationVim plugin by Tim Pope (tpope on IRC)

Just google “pastie vim”

Page 15: pastie.org

Inside Vim

Page 16: pastie.org

Inside Vim

Page 17: pastie.org

The pastie

Page 18: pastie.org

pastie botSmart 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

Page 19: pastie.org

Requesting a new pastie(in #railsconf)

Dreamer3_git> pastie: hook me up

Page 20: pastie.org

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

Page 21: pastie.org

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.

Page 22: pastie.org
Page 23: pastie.org

Helping a newb(in #rubyonrails)

phpfan: why doesn’t my controller work?

Page 24: pastie.org

Helping a newb(in #rubyonrails)

phpfan: why doesn’t my controller work?Dreamer3: phpfan: please pastie us your

controller code

Page 25: pastie.org

Helping a newb(in #rubyonrails)

phpfan: why doesn’t my controller work?

(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

Dreamer3: phpfan: please pastie us your controller code

Page 26: pastie.org

Helping a newb(in #rubyonrails)

phpfan: why doesn’t my controller work?

(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.

Dreamer3: phpfan: please pastie us your controller code

Page 27: pastie.org

How it works

• 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?

Pastie listens to everything in a channel.

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.

Page 28: pastie.org

Booger or Burger?(protecting Pastie from spammers)

Page 29: pastie.org
Page 30: pastie.org

Pastie Gems(now over 200,000)

Page 31: pastie.org

#1

“test”

--Dreamer3

Page 32: pastie.org

#3

“BLah Blah blah”

--bousquet

Page 33: pastie.org

#12

“sweet!”

Page 34: pastie.org

#57

“FUCK YOU DREAMER COCKMONKEY”

Page 35: pastie.org

Hello World - #808

Page 36: pastie.org

Poetry - #202,776This Is My Life

I spent my days in vain just waitingFor happiness to come my wayI took for granted all they gave meI opened my eyesFinally I realised

This is my lifeI don't wanna change a thingThis is my lifeAll the pain, all the joy it brings. ...

Page 37: pastie.org

Apology - #201,980Hey 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. ...

Page 38: pastie.org

Bad Luck - #185,771He’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.

...

Page 39: pastie.org

iPhone Activation Code #51,865 - #51,867

This pastie removed at the request of Apple, Inc.

Page 40: pastie.org

Love - #57,567Dear 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.

...

Page 41: pastie.org

#100,000

This is the final pastie. You can now go outside and play.

-- defunkt

Page 42: pastie.org

Stats

Page 43: pastie.org

Josh Goebel

e-mail

dreamer3 atz ze gmail.com

blog

blog.pastie.org


Recommended