pastie.org

Post on 29-Jun-2015

530 views 0 download

Tags:

Transcript of pastie.org

Pastiepastie.org

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

What?

Why?

Rails Highlighting

Rails Highlighting

acts_as_list

has_many

belongs_to has_one

validates_presence_of

has_and_belongs_to_many

redirect_to

before_filter

Design(pastie isn’t ugly)

RAFB.net/paste vs Pastie

The same code in Pastie

TextMate IntegrationThanks to Allan Odgaard and others!

Vim IntegrationVim plugin by Tim Pope (tpope on IRC)

Just google “pastie vim”

Inside Vim

Inside Vim

The pastie

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

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?

(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

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

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.

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

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

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.

...

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

This pastie removed at the request of Apple, Inc.

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.

...

#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