Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IRCCloud's pastebin #29

Open
Xion opened this issue Jan 10, 2018 · 0 comments
Open

Add IRCCloud's pastebin #29

Xion opened this issue Jan 10, 2018 · 0 comments

Comments

@Xion
Copy link
Owner

Xion commented Jan 10, 2018

This is almost Basic pastebin that automatically creates gists out of things pasted into IRCCloud client by its user. The HTML URL format is something like https://irccloud.mozilla.com/pastebin/fqQ7iPhh/, and the raw version is easily accessible.

One caveat is that in the raw version, the actual code seems to be prefaced with an additional line that says # Pastebin $ID. It's unknown whether # is added smartly as to coincide with the comment syntax of the snippet (which would imply that some language inference is done, and that's unlikely).

Even if so, we don't really want that line as it would screw up with shebang handling, either by the OS or us. So we'll have to remove it when downloading the gist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant