# Where to post code relevant to a newsgroup question

**URL:** <https://www.ruby-forum.com/t/where-to-post-code-relevant-to-a-newsgroup-question/141656>\
**Category:** Ruby\
**Created:** [June 28, 2008, 2:35pm UTC](https://www.ruby-forum.com/t/where-to-post-code-relevant-to-a-newsgroup-question/141656 "2008-06-28T14:35:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![RichardOnRails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e0b2c6/32.png) [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Post date:** [June 28, 2008, 2:35pm UTC](https://www.ruby-forum.com/t/where-to-post-code-relevant-to-a-newsgroup-question/141656/1 "2008-06-28T14:35:38Z")

</div>

Hi,

Nobody likes to see a post with a bunch of embedded source code. It’s  
preferable to post the code somewhere and merely include a link to the  
code in the post.

I used to have a personal web pages for that purpose when Adelphia was  
my ISP. When Comcast bought them, that functionality broke and I’ve  
had my ups-and-downs with it since. Is there a convenient website  
available for short-term posting of code fragments?

Thanks in Advance,  
Richard

---

<div class="post-metadata">

**Author:** ![RichardOnRails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e0b2c6/32.png) [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Post date:** [June 28, 2008, 3:54pm UTC](https://www.ruby-forum.com/t/where-to-post-code-relevant-to-a-newsgroup-question/141656/2 "2008-06-28T15:54:16Z")

</div>

RichardOnRails wrote:

> Is there a convenient website  
> available for short-term posting of code fragments?

[www.pastie.org](http://www.pastie.org)

HTH,  
Sebastian

---

<div class="post-metadata">

**Author:** ![RichardOnRails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e0b2c6/32.png) [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Post date:** [June 28, 2008, 11:42pm UTC](https://www.ruby-forum.com/t/where-to-post-code-relevant-to-a-newsgroup-question/141656/3 "2008-06-28T23:42:54Z")

</div>

On Jun 28, 9:48 am, Sebastian H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> ICQ: 205544826  
> Hi Sebastian,

> [www.pastie.org](http://www.pastie.org)

Perfect answer! But I don’t know anything about Public Key  
Cryptography beyond the basic idea. Does the ICQ line in your  
signature specify your public key?

If so, do you have it registered with some public authority?

At first glance, I didn’t find Pastie’s Help so helpful. I’m a  
retired software developer. Besides knowing a lot about some things,  
I know virtually nothing about most things, ICQ in particular.

Best wishes,  
Richard

---

<div class="post-metadata">

**Author:** ![RichardOnRails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e0b2c6/32.png) [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Post date:** [June 30, 2008, 3:21pm UTC](https://www.ruby-forum.com/t/where-to-post-code-relevant-to-a-newsgroup-question/141656/4 "2008-06-30T15:21:13Z")

</div>

On Sat, Jun 28, 2008 at 4:39 PM, RichardOnRails  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Perfect answer! But I don’t know anything about Public Key  
> Cryptography beyond the basic idea…

Whoa. How did we make the leap from Pastie to Public Key Crypto?

To use Pastie (and other similar code-paste sites) you just go to  
[pastie.org](http://pastie.org), and type or paste in your source code snippet. You can  
specify the programming language for that snippet using the little  
drop-down list box in the upper right-hand corner of the window (it  
defaults to “Ruby (on Rails)”. When you’re done, click the “Paste”  
button in the lower right-hand corner. The page will reload, and at  
that point it’s in the system and you can share it with others—just  
copy the new URL that’s shown in the browser’s URL field, which will  
look something like this:

```
http://www.pastie.org/224739

```

Hope this helps,

Lyle

P.S. ICQ ([ICQ - Wikipedia](http://en.wikipedia.org/wiki/ICQ)) is an instant-messaging  
system, and Sebastian was just listing his ICQ user number in his  
e-mail signature. One’s ICQ number is a kind of unique identifier  
(within that system) but it’s not the same thing as a public key used  
in crypto applications.

---

<div class="post-metadata">

**Author:** ![RichardOnRails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e0b2c6/32.png) [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Post date:** [July 1, 2008, 4:35pm UTC](https://www.ruby-forum.com/t/where-to-post-code-relevant-to-a-newsgroup-question/141656/5 "2008-07-01T16:35:34Z")

</div>

On Jun 30, 9:17 am, Lyle J. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> specify the programming language for that snippet using the little
> 
> Lyle
> 
> P.S. ICQ ([ICQ - Wikipedia](http://en.wikipedia.org/wiki/ICQ)) is an instant-messaging  
> system, and Sebastian was just listing his ICQ user number in his  
> e-mail signature. One’s ICQ number is a kind of unique identifier  
> (within that system) but it’s not the same thing as a public key used  
> in crypto applications.

Hi Lyle,

As always, you help A LOT. Thanks!

Best wishes,  
Richard
