Forums - Open Redstone Engineers
pbin.in, a pastebin clone - Printable Version

+- Forums - Open Redstone Engineers (https://forum.openredstone.org)
+-- Forum: Off-Topic (https://forum.openredstone.org/forum-4.html)
+--- Forum: Programming (https://forum.openredstone.org/forum-8.html)
+--- Thread: pbin.in, a pastebin clone (/thread-5630.html)



pbin.in, a pastebin clone - mort96 - 01-22-2015

Hey!

I was bored today, so I decided to create a clone of pastebin. The result is available at http://pbin.in.

Usage:
Paste/type whatever you want into the big textarea. Write the name you want to give your paste in the "Insert Filename Here" field to get a paste with the URL pbin.in/[filename], or leave the field empty to get a paste with the URL pbin.in/[random characters]. Once you've pressed submit, you can share your paste with anyone using said URL. Pastes cannot be overwritten, and if a paste with your filename already exists, your paste will get the name pbin.in/[filename]1, or pbin.in/[filename]2 if [filename]1 already exists, etc.


RE: pbin.in, a pastebin clone - Nuuppanaani - 01-22-2015

Whai cannot dashes in the filenames ;_;


RE: pbin.in, a pastebin clone - mort96 - 01-22-2015

there, made it support dashes and underscores.


RE: pbin.in, a pastebin clone - Phase - 02-08-2015

How'd you make the text areas?

(http://pbin.in/dicksjs)

And what'd you use for the syntax highlighting? http://pbin.in/potatoJava

(this is fun http://pbin.in/OBJLoader)


RE: pbin.in, a pastebin clone - tokumei - 02-08-2015

1. I like.
2. Public API (for IRC bot integration)?

(02-08-2015, 12:06 AM)Phasesaber Wrote: How'd you make the text areas?

(http://pbin.in/dicksjs)

And what'd you use for the syntax highlighting? http://pbin.in/potatoJava

(this is fun http://pbin.in/OBJLoader)

he used a special <code> tag from an external css/javascript highlighter (you can see the links in the pagesource)


RE: pbin.in, a pastebin clone - Memeboy - 02-13-2015

(01-22-2015, 05:59 PM)Nuuppanaani Wrote: Whai cannot dashes in the filenames ;_;

Its What*


RE: pbin.in, a pastebin clone - VoltzLive - 02-17-2015

You should add method to fork off of already posted pages, and a column of recent activity along the right hand side.

Maybe below the recent posted list, a recently forked list.


Maybe add other types such as spread sheets? =D


RE: pbin.in, a pastebin clone - jxu - 02-17-2015

do you just buy domains and put your projects in them


RE: pbin.in, a pastebin clone - Apuly - 02-18-2015

(02-13-2015, 02:15 PM)Memeboy Wrote:
(01-22-2015, 05:59 PM)Nuuppanaani Wrote: Whai cannot dashes in the filenames ;_;

Its What*

It's it's.
Also, it's whai.


RE: pbin.in, a pastebin clone - Tommyand - 03-01-2015

(01-22-2015, 05:59 PM)Nuuppanaani Wrote: Whai cannot dashes in the filenames ;_;

(01-22-2015, 06:20 PM)mort96 Wrote: there, made it support dashes and underscores.

Hey! It doesn't support angle brackets either! Or Parentheses! Or slashes! Or... xD Tongue
JK, especially on the angle brackets. I must admit, first thing I tried was a url with '/<b>' in it...
Might want to give a more graceful error for unsupported characters...