Jump to content




Pastebin Paste Downloader


28 replies to this topic

#1 Xtansia

  • Members
  • 492 posts
  • LocationNew Zealand

Posted 12 February 2012 - 08:18 AM

This program does just as it's title suggests allows you to download pastebin pastes from within CC saving you time, Obviously you need to have http api enabled.

Usage:
Pastebin <PasteIdent> <ToFileName>
Where PasteIdent is the code at the end of the paste url e.g. http://pastebin.com/cW9y4rsT --> cW9y4rsT
And ToFileName is the name of the file to write to.

Install: Download the attached zip file and place the Pastebin file from inside in your computer folder i.e .minecraft/saves/WorldName/computer/#/
Attached File  Pastebin.zip   1.1K   989 downloads

License:
Spoiler


#2 FuzzyPurp

    Part-Time Ninja

  • Members
  • 510 posts
  • LocationHarlem, NY

Posted 12 February 2012 - 08:19 AM

Badass! Now to upload to pastebin! ^_^/>

#3 Selkitty

  • Members
  • 58 posts

Posted 12 February 2012 - 08:33 AM

Nice work! now we have a fast and easy variant on cc-get that doesn't require a login to post to ^_^/>
This'll be great for working the bugs out of code collaboratively. Now if only we could ctrl+v in CC <.< >.>

#4 Casper7526

    OG of CC

  • Members
  • 362 posts

Posted 12 February 2012 - 12:04 PM

Yeah, honestly the biggest problem is then having to type it into the program itself ;(
Still though nice work!

#5 Espen

    Curious Explorer

  • Members
  • 708 posts

Posted 12 February 2012 - 12:48 PM

Nice work thomas.
Simple, short, useful. I like it.

View PostCasper7526, on 12 February 2012 - 12:04 PM, said:

Yeah, honestly the biggest problem is then having to type it into the program itself ;(
Still though nice work!
Yeah, I see what you mean. Would be nice if one at least could assign custom names to pastebin dumps.
Or is that already possible with a registered account maybe?

#6 Advert

    Custom Title

  • Moderators
  • 459 posts
  • LocationLondon

Posted 12 February 2012 - 01:56 PM

View PostEspen, on 12 February 2012 - 12:48 PM, said:

Nice work thomas.
Simple, short, useful. I like it.

View PostCasper7526, on 12 February 2012 - 12:04 PM, said:

Yeah, honestly the biggest problem is then having to type it into the program itself ;(
Still though nice work!
Yeah, I see what you mean. Would be nice if one at least could assign custom names to pastebin dumps.
Or is that already possible with a registered account maybe?


It'd be possible if we had some registry of pastes; e.g first you get http://computercraft...me=paste%20name
it returns the pastebin code/url (or some error message, or a list of pastes, and authors, etc.), then you get that.

Nice work, tomass!

#7 Espen

    Curious Explorer

  • Members
  • 708 posts

Posted 12 February 2012 - 02:08 PM

View PostAdvert, on 12 February 2012 - 01:56 PM, said:

It'd be possible if we had some registry of pastes; e.g first you get http://computercraft...me=paste%20name
it returns the pastebin code/url (or some error message, or a list of pastes, and authors, etc.), then you get that.

Nice work, tomass!
That's true, but then you're dependent on an additional website and it only works as long as someone maintains the list.
It would be nice if it could be stand-alone, only having to deal with the website it was made for; not needing a maintainer, nor requiring one to remember random alphanumeric codes.
Maybe another paste service supports custom names? There are plenty, for sure, but it should also be a well established one.
Hmm, I'm gonna have a look at some of them, my interest is piqued.^^

#8 Advert

    Custom Title

  • Moderators
  • 459 posts
  • LocationLondon

Posted 12 February 2012 - 02:12 PM

View PostEspen, on 12 February 2012 - 02:08 PM, said:

View PostAdvert, on 12 February 2012 - 01:56 PM, said:

It'd be possible if we had some registry of pastes; e.g first you get http://computercraft...me=paste%20name
it returns the pastebin code/url (or some error message, or a list of pastes, and authors, etc.), then you get that.

Nice work, tomass!
That's true, but then you're dependent on an additional website and it only works as long as someone maintains the list.
It would be nice if it could be stand-alone, only having to deal with the website it was made for; not needing a maintainer, nor requiring one to remember random alphanumeric codes.
Maybe another paste service supports custom names? There are plenty, for sure, but it should also be a well established one.
Hmm, I'm gonna have a look at some of them, my interest is piqued.^^

I'm already at work with something for this ^_^/>

#9 Espen

    Curious Explorer

  • Members
  • 708 posts

Posted 12 February 2012 - 02:32 PM

View PostAdvert, on 12 February 2012 - 02:12 PM, said:

I'm already at work with something for this :P/>
Nah, I meant I wanted to look for a service which supports custom urls.
I wasn't my intention to say that I'm against your idea. To the contrary, it would be very useful in my opinion.
But I also would like versions which could be used independently.^^

Hmm, I went through some alternatives for pastebin over at alternativeto.net, but they only seem to support random urls.
I found another paste service in one of my bookmarks though, which does indeed support custom urls.
The only problem though: It doesn't seem to support syntax highlighting. ^_^/>
Which isn't that big of a problem if its just for download through the OP's program anyway. But still, it's like a pie without a cherry on top.^^
The paste service I'm referring to is: textsnip.com
Here's a screenie:
Spoiler


#10 Advert

    Custom Title

  • Moderators
  • 459 posts
  • LocationLondon

Posted 12 February 2012 - 02:40 PM

View PostEspen, on 12 February 2012 - 02:32 PM, said:

View PostAdvert, on 12 February 2012 - 02:12 PM, said:

I'm already at work with something for this B)/>
Nah, I meant I wanted to look for a service which supports custom urls.
I wasn't my intention to say that I'm against your idea. To the contrary, it would be very useful in my opinion.
But I also would like versions which could be used independently.^^

Hmm, I went through some alternatives for pastebin over at alternativeto.net, but they only seem to support random urls.
I found another paste service in one of my bookmarks though, which does indeed support custom urls.
The only problem though: It doesn't seem to support syntax highlighting. ^_^/>
Which isn't that big of a problem if its just for download through the OP's program anyway. But still, it's like a pie without a cherry on top.^^
The paste service I'm referring to is: textsnip.com
Here's a screenie:
Spoiler

Awesome! I'll finish what I'm doing first, though, since it has some advantages :P/>

#11 Parker

  • New Members
  • 18 posts

Posted 12 February 2012 - 03:39 PM

What about using pastebin via bit.ly? You can customize your short link and edit target every time you need.

#12 rockymc

  • Members
  • 103 posts

Posted 12 February 2012 - 04:30 PM

We need a ComputerBin - Pastebin for CC. Btw, great work!

#13 Xtansia

  • Members
  • 492 posts
  • LocationNew Zealand

Posted 12 February 2012 - 06:40 PM

I see there was a whole conversation going on while I slept ^_^/>

#14 Technolust

  • New Members
  • 3 posts

Posted 20 March 2012 - 09:40 AM

Every time i try to use it it says Pastebin:22: attempt to index ? (a nil value)
Help?

#15 Xtansia

  • Members
  • 492 posts
  • LocationNew Zealand

Posted 20 March 2012 - 10:19 AM

View Postreagan209, on 20 March 2012 - 09:40 AM, said:

Every time i try to use it it says Pastebin:22: attempt to index ? (a nil value)
Help?

I would assume you don't have http api enabled,
Also why don't you use CC's pastebin prog that is included in 1.31?

#16 Technolust

  • New Members
  • 3 posts

Posted 27 March 2012 - 11:45 PM

Quote

I would assume you don't have http api enabled,
Also why don't you use CC's pastebin prog that is included in 1.31?
Did not know there was one

#17 Xtansia

  • Members
  • 492 posts
  • LocationNew Zealand

Posted 28 March 2012 - 12:26 AM

Just in the shell run "help pastebin"

#18 islanderon01

  • Members
  • 16 posts

Posted 31 March 2012 - 03:27 PM

View Postrockymc, on 12 February 2012 - 04:30 PM, said:

We need a ComputerBin - Pastebin for CC. Btw, great work!

Not the most pretty, but I'll improve it over time:
http://cctxt.x90x.net/

#19 Webmetz

  • New Members
  • 1 posts

Posted 14 January 2013 - 06:04 PM

Does this work on servers?

#20 remiX

  • Members
  • 2,076 posts
  • LocationSouth Africa

Posted 14 January 2013 - 06:15 PM

Yes, only if http api is enabled.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users