Ruby Fiddle: Ruby Snippets in the Browser(rubyfiddle.com)
rubyfiddle.com
Ruby Fiddle: Ruby Snippets in the Browser
http://rubyfiddle.com/
23 comments
One of the things that makes jsfiddle somewhat more useful is ability to play with Canvas and SVG from browser. Is it just me or when you make an interpreter run in the browser without any visual elements the whole thing appears a bit meh.
Agreed that JSFiddle is one of the coolest things ever... This is more about the backend code and showing off Ruby.
This is great, a really nice way of sharing snippets. It's not the prettiest site, and it's a shame the Gistify button tries to load a popup (Which Chrome blocked), but the idea is really useful. And integrating with Github can only be a plus (Wouldn't mind seeing even deeper integration, user accounts or listing forks etc.)
I've thought about having user accounts on RubyFiddle. But don't we already have too many accounts all over the place? (coming at some point, maybe with github login)
With the source code open it wouldn't be too hard to exploit this to do just about anything. Sure you could the same with a free Heroku instance but this lets you do it anonomously. Not that I would do such things but when I see these kinds of apps I wonder how they could be made more secure.
Code School open sourced their ruby sandboxing. Might be worth a look. https://github.com/envylabs/RubyCop
Oh man, awesome. thanks.
Spool up those Heroku dynos, you're about to get Hacker Newsified
It's already happened. Site is down ;)
I've been using http://rbpad.charlie.bz/ quite extensively. It's great.
Thats cool; I've been wanting to add the selector to choose your runtime (rubinius), but couldn't get it on Heroku (yet).
Oh hey, rbpad is mine!
I have the source here if you'd like to check it out: http://github.com/charliesome/19pad
I have the source here if you'd like to check it out: http://github.com/charliesome/19pad
Is there any security mechanism, which not allow execute external commands (for example `rm -Rf *`)?
I guess the user account has restricted access in what commands are available.
exec('sudo cat /etc/shadow')
=> RestrictedCodeException System Calls disabled
Also, while File.read('/etc/passwd') works, at least File.read('/etc/shadow') doesn't.
Also, while File.read('/etc/passwd') works, at least File.read('/etc/shadow') doesn't.
Love the vim binding!
[deleted]
http://i.imgur.com/GayxZ.png
Very mature, RubyFiddle