Help


Using the pastie bot

The pastie bot can be found on freenode in #rubyonrails or #ruby-lang. Obtaining a paste URL is easy.


Logging in

You will need to say hi to pastie in channel on IRC to get a login/paste URL. The URL you're given will log you in automatically when clicked. When you see your name in the right hand corner, you're golden... literally.


Uploading a File

Select a file and click “Paste / Upload” (you will need to be logged in). Yes, it even thumbnails PDFs, but that's a little flakey right now.


Advanced Pasting

Highlighting currently does not work for plaintext.

Sections

You can divide your paste into different sections by separating them with ## lines as shown below.

## controller.rb
controller code here

## model.rb
model code here

When pastie sees this he'll turn each of your ## lines into separate headings and each section will have it's own line numbering.

Creating just one section can effectively title your paste.

Syntax highlighting sections differently

You can specify a different language for each section by using it's short name.

## readme.txt [plain_text]
Once upon a time in a galaxy far, far away...

## fixes.diff [diff]
bug fixes go here

Currently supported languages (and short names):

Requesting a pastie from someone else

Pastie listens for things like the following in channel:

They key is address someone (eg: “Dreamer3:”) and mention “pastie me|us|that”. The person you address will receive a private message telling them you'd like them to paste something.

Example: “Dreamer3 is requesting a paste from you. Click the link and paste away: http://pastie.caboo.se/paste/3432”

When they complete their paste the channel is notified, as usual.