pastebin

What is a good open source pastebin in Python or Perl?

Hello, I'm looking for an open-source pastebin web-application written in either Python or Perl. I need it in order to implement a web-based specialized editor for my own needs, and I want to borrow code / ideas from the pastebin since I don't have much experience in web programming. Can you point to one (or a few) ? Thanks in advanc...

pastebin API

Does anyone know if pastebin has an (official or unofficial) API. I would like to automatically upload snippets. Yes, I know the admins would not like it but it is open source and I plan to do it in an installation of my own. ...

F# type mismatch problem in DirectX demo

Hi, I've been wanting to try out the FDX demo however it gave me a series of errors and warnings due to compatibility issues, so I've been trying to get it working correctly. The full code is on a pastebin. I'm having trouble with the code here : let drawSurf f (device:Device) = let m,n = meshDims !mesh in let data = Array.init ...

Write to Pastie or Pastebin?

I have an application I'm writing, in Objective-C(iPhone), and I want to be able to write a string of text to Pastie or Pastebin, and be able to have the link to that page. I have not been able to find any API for either of these, is this possible? How? Thanks! ...

What is wrong with this index definition in this MySQL query?

CREATE TABLE `pastebin` ( `pid` int(11) NOT NULL auto_increment, `poster` varchar(16) default NULL, `posted` datetime default NULL, `code` text, `parent_pid` int(11) default '0', `format` varchar(16) default NULL, `codefmt` mediumtext, `codecss` text, `domain` varchar(255) default '',...

Pastebin like apps for local install

Are there any webapps that I can use as a company internal pastebin (I want to install on a local server)? The only requirement is syntax highlighting. I'm aware of the list on wikipedia, but maybe there are some new, not listed or whatever. http://en.wikipedia.org/wiki/Comparison_of_pastebins ...

Paste to codepad.org using bash or curl

How can I paste to codepad.org from the commandline using curl? ...

Pastebin-like app without sql

Hi, there is any pastebin-like php open source system without sql? I want to install it on localhost and dont want to backup sql. edit: Highlighting as much as possible languages (as pastebin.com). ...

Pastebin c# automatic uploading

I need my application to upload an output to pastebin but i cant get it to work this is the code WebRequest wr = WebRequest.Create(@"http://pastebin.com/api_form.php"); ASCIIEncoding encoding = new ASCIIEncoding(); byte[] bData = encoding.GetBytes(string.Concat("paste_code=", sOutput, "&paste_private=0&paste_expi...

jQuery $.post with PasteBin API

Ok, I'm trying to use jQuery $.post with the PasteBin API to create a PasteBin page and grab the URL (which the API says it returns). Here is my code so far: $('#send_code').click(function(){ $.post('http://pastebin.com/api_public.php', { paste_name: $('#paste_name').val(), paste_code: $('#paste_code').val() }, ...

Pastebin, but for HTML?

Pastebin is a useful online tool to paste snippets of text. Pastie is a similar tool. Also, Ideone is similar except that it also runs the source code, as well as being a general pastebin. Is there a similar tool, for HTML? To host simple one-page html documents with or without javascript, instead of setting up a freehostia account for ...

Largest pastes allowed on various pastebin sites?

Wikipedia has a nice summary of pastebins at: http://en.wikipedia.org/wiki/Comparison_of_pastebins but one thing they don't address is the maximum-sized pastebin that these sites will accept. I'm sure people here use pastebins like crazy. Anybody know? Thanks! Frank ...

Sha1 substring question

I am making a pastebin type site and am trying to make the id be a random string like paste.com/4RT65L I am getting the sha1 of the id before i add it to the database but i am getting the substring of the first 8 characters of the sha1. is their a possibility of their being a double copy of the same sha1? I dont want their to accidental...

Open Source PasteBin ?

frequently I write wiki pages or set up configuration files that I need to share with other developers. Are there any pastebin clones out there that you can install in your own network and if not, how do you manage code snippets or configurations you wish to share with other developers in your company where source control may be overkill...

Is there an internal alternative to gist.github.com to run behind a firewall?

gist.github.com is incredibly handy, but I'd like to be able run something similar for sharing code samples internally with other developers behind the firewall where I work, so I don't constantly need to be sanitising my code all the time, just to talk about code examples. Does anything like this exist? I'm not after big project manag...

How to use pastebin from shell script?

Is it possible to use pastebin (may be via their "API" functionality [http://www.pastebin.com/api.php] ) inside bash shell scripts? In detail i mean: how do i send http-post? And how do i get back the url? Thanks ahead ...

random external websites redirect to localhost

Hi, I am running windows vista and recently installed xampp lite 1.7.3 to do some web development. I don't know if it is related to the install or something else, but now navigating to the page "www.pastebin.com" redirects me to my localhost. The url redirects to "www.pastebin.com/xampp" on my local hosts. I tried deleting my hosts f...