Author Topic: HLP Pastebin  (Read 6794 times)

0 Members and 1 Guest are viewing this topic.

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
I've made two new private pastebins for us: (Anyone can use them, but the site names are rather specific to us, and I've already posted in both of them.  ;) )

http://fsscp.pastebin.com/

and

http://www.hard-light.net.pastebin.com/
(this one I am going to use for viewing hash file / FS2 dir command outputs of users trying to debug their systems)

Pastebin's source code is freely available under a GPL license.

Pastebin has built-in anti-spam features (just click the "report spam" link found at the top of every post... I don't think this should be much of a problem, but the option is there if it becomes one.  :D )

Pastebin supports syntax highlighting for these programming languages: (C, C++, and Lua are in there ;) )

Pastebin allows you to download the posts as files, complete with the correct file type extension (as long as the correct language was chosen for the syntax highlighter!)

Plain Text, ABAP, ActionScript, Ada, Apache Log File, AppleScript, ASM (NASM based), ASP, AutoIt, Bash, Blitz Basic, BNF, C, C for Macs, CAD DCL, CAD Lisp, C++, C#, ColdFusion, CSS, D, Delphi, Diff, DOS, Eiffel, Fortran, FreeBasic, Genero, Game Maker, Groovy, Haskell, HTML, IDL, INI, Inno Script, Java, Javascript, Latex, Lisp, Lua, MatLab, M68000 Assembler, MPASM, mIRC, MySQL, NullSoft Installer, Objective C, OCaml, Openoffice.org BASIC, Oracle 8, Pascal, Perl, PHP, PL/SQL, Python, QBasic/QuickBASIC, Rails, Robots, Ruby, Scheme, Smalltalk, Smarty, SQL, TCL, VisualBasic, VB.NET, VisualFoxPro, XML, Z80 Assember

The Pastebin homepage (the one the general public uses if they don't want a "private" pastebin) is here: http://pastebin.com/

NOTE: Pastebin doesn't appear to keep more than 10 "recent posts", and does not have a Search engine ATM, so using links looks to be necessary.

Pastbin help / FAQ:

Quote from: http://pastebin.com/pastebin.php?help=1
What is pastebin?

pastebin is here to help you collaborate on debugging code snippets. If you're not familiar with the idea, most people use it like this:

    * submit a code fragment to pastebin, getting a url like http://pastebin.com/1234
    * paste the url into an IRC or IM conversation
    * someone responds by reading and perhaps submitting a modification of your code
    * you then view the modification, maybe using the built in diff tool to help locate the changes

How can I view the differences between two posts?

When you view a post, you have the opportunity of editing the text - this creates a new post, but when you view it, you'll be given a 'diff' link which allows you to compare the changes between the old and the new version

This is a powerful feature, great for seeing exactly what lines someone changed
How can I delete a post?

If you clicked the "remember me" checkbox when posting, you will be able to delete post from the same computer you posted from - simply view the post and click the "delete post" link.

In other cases, contact us and we will delete it for you
What's a private pastebin and how do I get one?

You get a private pastebin simply by thinking up a domain name no-one else is using, e.g. http://private.pastebin.com or http://this-is-my.pastebin.com. Posts made into a subdomain only show up on that domain, making it easy for you to collaborate without the 'noise' of the regular service at http://pastebin.com

All you need to do is change the web address in your browser to access a private pastebin, or you can simply enter the domain you'd like below.

Go to http://_______.pastebin.com

Please note that there is no password protection - subdomains are accessible to anyone who knows the domain name you've chosen, but we do not publish a list of domains used.
Subdomains for your language...

If a subdomain matches a language name, the required syntax highlighting is selected for you, so ruby.pastebin.com will preselect Ruby automatically.

Plain Text, ABAP, ActionScript, Ada, Apache Log File, AppleScript, ASM (NASM based), ASP, AutoIt, Bash, Blitz Basic, BNF, C, C for Macs, CAD DCL, CAD Lisp, C++, C#, ColdFusion, CSS, D, Delphi, Diff, DOS, Eiffel, Fortran, FreeBasic, Genero, Game Maker, Groovy, Haskell, HTML, IDL, INI, Inno Script, Java, Javascript, Latex, Lisp, Lua, MatLab, M68000 Assembler, MPASM, mIRC, MySQL, NullSoft Installer, Objective C, OCaml, Openoffice.org BASIC, Oracle 8, Pascal, Perl, PHP, PL/SQL, Python, QBasic/QuickBASIC, Rails, Robots, Ruby, Scheme, Smalltalk, Smarty, SQL, TCL, VisualBasic, VB.NET, VisualFoxPro, XML, Z80 Assember

Syntax for above block of links (that I did not re-create) is: http://c.pastebin.com/ (replace "c" with language name, eg, "lua").  This will auto-select that language syntax for highlighting.  This does not appear to work with "private" pastebins.

And this is all free?

It will always be free, our hosting and maintenance costs are paid for through advertising.
Can I get the source?

The source code to this site is available under a GPL licence. You can download it here

More news available on my blog.
I have some feedback, who do I contact?

Use the feedback box in the sidebar or email [email protected]Paul Dixon

Just to point out, there is also imagebin.org, which is very handy for posting a quick temporary screenshot.

--noted.  ;)  Thx.
« Last Edit: July 10, 2009, 08:40:27 pm by jr2 »

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Attention coders / bugfixers!! This may be helpful...
:bump:



I'm going to bump this as its starting to get rather tiresome to always search for this post every once in a while when pastebin(s) is needed.. stickyness might help of course...
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Topgun

  • 210
I don't understand what this is.

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline Aardwolf

  • 211
  • Posts: 16,384
So, what would we use this for? Error logs?

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Error logs, fs2_open.log file extracts, code diffs (mainly on the scp bin), for transferring other text data...

For example... in collaborative scripting effors pastebins have proved to be very useful
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
What the heck does Pastebin do and what do i need to do to it?
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
If you want to cut and paste some text and have other people able to edit it, it's one of the best solutions around.

The main use is for passing code or tables to other team members so that they can fix them easily. It's especially useful when there are 2-3 people on IRC who might know how to solve your problem. It's much easier than posting here (or on an internal) or passing the files with FTP, etc.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Just to point out, there is also imagebin.org, which is very handy for posting a quick temporary screenshot.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline Aardwolf

  • 211
  • Posts: 16,384
It might be nice to have tbl/tbm syntax highlighting... dunno how easy or hard that would be though

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Probably not possible at all unless someone writes their own pastebin.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Well, the source code is available.  I have no clue if it would be easy or even feasible for the programmers here to code it, though.

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Or write the highlighter and then submit it for addition to the official one, although it's uncommon so I don't know if they'd want to add it.  There is already a highlighter for Aranae though, that might be a place to start.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

  

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
I unstickied this since it's really not too SCP specific, if you want the links somewhere I'd suggest putting the hard-light one in the troubleshooting area and the fsscp one in the top nav, but Fury doesn't think it's needed, so tell him if you want it there :P
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Hmm, I think if people want it they'll ask.. I can't speak for them as I don't code.  So guys (/ gals), if you use this and want links somewhere, ask Fury.  :nod: