Sunday, April 30, 2017
glot.io, an open source pastebin with runnable snippets
> glot.io
I came across this site today via the Net:
glot.io, an open source pastebin with runnable snippets and API.
It allows you to type or paste in snippets of code and then run them on the site.
glot.io supports 36 languages at the time of checking it, from Assembly to TypeScript and many others in between.
I tried it out with a simple Python snippet. It worked. You can see both the snippet and the start of the output in the screenshot below.
I had blogged about these roughly similar sites earlier:
Codingbat, Progress Graphs and Michael Jordan
repl.it, online REPL for many languages, and empythoned
Online Python Tutor looks quite interesting
- Vasudev Ram - Online Python training and consulting Get updates (via Gumroad) on my forthcoming apps and content. Jump to posts: Python * DLang * xtopdf Subscribe to my blog by email My ActiveState Code recipesFollow me on: LinkedIn * Twitter Are you a blogger with some traffic? Get Convertkit:Email marketing for professional bloggers
Monday, February 25, 2013
codepad.org, executable multi-language pastebin, in Python
codepad - http://codepad.org - is an online pastebin. It lets you enter your code, written in Python or one of some other popular languages, into a text box. You then click a button on the page to run the code. Codepad shows the output from the run.
You don't have to register on the site to edit and run code, only to save code. You also get a unique URL for your code, which you can share via chat, email or on your web site or blog.
I tried out Codepad with a simple Python function definition and two calls to it. It worked:
http://codepad.org/dkAfNoF8
The Codepad site is written in Python using the Pylons web framework and the SQLAlchemy ORM, and some other techniques such as a supervisor and virtual machines, which are of interest too, IMO.
http://pylonshq.com/
http://www.sqlalchemy.org/
Steven Hazel is the creator of Codepad, and also founder of Sauce Labs, a Selenium testing company.
https://saucelabs.com/
http://en.m.wikipedia.org/wiki/Selenium_(software)
http://docs.seleniumhq.org/
- Vasudev
dancingbison.com
Saturday, October 6, 2012
ideone.com, runnable pastebin (40+ languages)
ideone.com is a pastebin that also lets you run your code, provide input for it, get stats, ... in 40+ programming languages. Saw it via my recent post about fmap() and subsequent comment and a tweet about it by a reader (@dnene).
ideone looks worth checking out.
- Vasudev Ram - Dancing Bison Enterprises
Friday, September 21, 2012
Pastebins have a lot of features nowadays
Pastebins are web sites that allow you to paste a chunk of text into a text box. The pastebin software then generates a unique URL for your paste, which you can then share with others via web pages, blog posts, emails, etc. The idea was probably initially used to paste code snippets to share with others via the URL (instead of sharing the whole snippet), but they can be used for any kind of text.
A simple pastebin example:
Definition and call of a Python function.
Pastebins will be known to many or most developers already, but I'm writing this post because: 1) I find the concept interesting and innovative, 2) they have many more features nowadays than they did in the earlier days, and 3) some developers and others probably still don't know about them.
See this Wikipedia article on pastebins.
- Vasudev Ram - Dancing Bison Enterprises
Thursday, June 16, 2011
GitHub gists, pastebins with a Git twist
Saw this recently - seems like a nice idea:
GitHub gists (quoting from the site), are:
"a simple way to share snippets and pastes with others. All gists are git repositories, so they are automatically versioned, forkable and usable as a git repository."
"Snippets", in the above, means, of course, code snippets, since GitHub is a code repository site.
The GitHub gist entry page (where you can create a gist) tries to detect the programming language used in the gist by the file name extension - you can paste the code into a text box, as in a pastebin, but you have to give the gist a file name, like foo.py or bar.c .
Links:
https://gist.github.com/
http://en.wikipedia.org/wiki/Pastebin
Posted via email
- Vasudev Ram

