What is Pastebin.co.uk?
Pastebin.co.uk is here to help you collaborate on developing and debugging code snippets and even entire projects.
If you're not familiar with the idea, most people use it like this:
- submit a code fragment to pastebin, getting a url like https://pastebin.co.uk/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
Pastebin.co.uk features.
- Code Syntax Colouring - Syntax colouring of 71 programming languages, scripting languages and database languages.
- Function Manual Linking - automatically creates links to the relevant manual pages for functions in your pasted code.
- Code Highliting - Code segment highliting - simply wrap the code you wish to highlite like such @!@code here@!@ - highliting can span multiple lines.
- Code Comment Tracking - Leave comments for users with each post describing any changes you made.
- Diffs and Patches - Inline highliting of code differences between any 2 versions. Download diffs as a patch file.
- Private Pastebins - Create private pastebins for collaborative project code review - Registered users can password protect pastebins and restrict access by username.
- User Messaging - Registered users can send and receive messages from other users - helping developers to collectively work on projects.
- RSS XML Feeds - Get Live feeds of the latest 20 posts for any pastebin or project - keeping you informed of any new posts.
- PHP Parser Checking - Automatically parses any PHP code and returns the parser results.(Now uses PHP5)
- NEW!! Interactive PHP CLI - Learn, test and debug PHP, Ruby and Python code online with the new interactive (CLI) Command Line Interface.
How do I get and use a private pastebin?
You get a private pastebin simply by thinking up a domain name no-one else is using, e.g. http://private.pastebin.co.uk or http://myproject.pastebin.co.uk. 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.
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
Please note that there is no password protection unless you are a registered user - subdomains are accessible to anyone who knows the domain name you've chosen, but we do not publish a list of domains used.
Tools for interacting with pastebin.
To help you get the most out of pastebin we have assembled a small set of tools to enable you to make pastes from right within your favourite applications.
There's a pastebin vim plugin script, a pastebin shell script which can also be used with Kate text editor and even a pastebin Firefox extension.