Pastebin
From Free net encyclopedia
A pastebin is a web application which allows its users to upload snippets of text, usually samples of source code, for public viewing.
Contents |
Technical information
A typical pastebin consists of a plain HTML page containing a list of previous submissions and a form for making new ones. It may be written using a scripting language such as PHP, with a database back-end for storing submissions. It's a very simple application to build, but potentially very useful. Advanced features include syntax highlighting, text formatting, simulated compiles of submitted code, commenting, etc.
Typical usage
Pastebins are frequently used in combination with IRC channels related to programming, particularly help channels. This is because IRC is not a suitable medium for the transfer of large amounts of text, which may get the sender banned from the network or disrupt other conversations taking place on the same channel. In the typical usage scenario, user A wants to show user B either a piece of code he's written which does not run as intended or an error message from some attempted task. One way to do this would be for user A to simply upload a file containing the code to a web server, or send the file to user B using DCC, but this can be a cumbersome procedure if, for instance, either user is behind a firewall or user A does not have write access to a web server. The pastebin then comes in handy because it offers a way for user A to quickly and easily put the code on-line for anyone to see, possibly with pretty formatting or syntax highlights to make it easier to read. There is also no need for user A to send the code to each user who may wish to assist him, a single submission is sufficient to reach all potential helpers, saving time and effort.
See also
External links
- nanoBin is a PasteBin for general purposes, supporting pastes to Channels relayed through an IRC bot, also supporting paste editing and conversion of mathematical pastes in normal notation to LaTeX representation, syntax highlighting of many languages, and a number of other things as its development progresses.
- PasteServer.Net A general purpose paste server with support for syntax highlighting of all poplular languages in use today. Defaults to Ruby for the default language. If you are looking for a speedy pastbin with no ads.
- PocketPage is a paste bin which allows for any html content to be posted and rendered.
- #c++ pastebin is, as the name suggests, the pastebin for the #c++ channel on Quakenet. It allows simulated compiles of submitted code to make finding bugs easier.
- notepad is another simple pastebin with no specified topic or language.
- pasteIT is a pastebin site that supports a broad range of language-specific syntax highlighting. It can parse over 35 different coding and scripting languages from ActionScript to XML.
- paste.lisp.org is a general-purpose pastebin which has syntax highlighting for many languages. It has a unique combination of features, including annotations, RSS feeds, IRC notifications for many channels on freenode, and non-expiring pastes.
- pastebin.ca is a general pastebin (originally designed for the Asterisk PBX channel on freenode, with specific support for Asterisk configuration files). It supports a number of languages for syntax highlighting, searchable archives and full comment threads on pastes. It's possible to set up private and public pastebins as subdomains as well.
- pastebin.com supports a wide range of syntax highlighting options. It is open-source and very representative of pastebins in layout and functionality.
- mIRC pastebin is a pastebin primarily for mIRC scripts that includes mIRC script syntax highlighting. It also supports PHP and plain text.
- Snippets is a general-purpose code pastebin based on a Del.icio.us-style tagging system (a folksonomy) which allows visitors to narrow down to certain types of code or to add and categorize their own.
- pastebin.co.uk Syntax highlighting of 38 programming/scripting languages and config files, create private pastebins with optional password protection, features include user messaging, RSS feeds, comment tracking, diffs and patch creation.
- phpfi.com is a general-purpose pastebin with syntax highlighting for various languages.
- Open Pastebin Open source pastebin software with database backend.
- securepaste.com is used to transmit and store security sensitive data using AES-256 bit storage and https protocol.
- imageshack.us for pasting images.
- MyTemp for pasting files.
- shortText for instant creation of webpage with URL.pl:Pastebin