5 ms·
Ruby Fiddle: Ruby Snippets in the Browser
- deleted 14y ago[deleted]
- michaelmartin 14y agoThis 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.)
- jwo 14y agoI'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)
- brittohalloran 14y agoSpool up those Heroku dynos, you're about to get Hacker Newsified
- Jake232 14y agoIt's already happened. Site is down ;)
- gnufied 14y agoOne 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.
- jwo 14y agoAgreed that JSFiddle is one of the coolest things ever... This is more about the backend code and showing off Ruby.
- huk 14y agoIs there any security mechanism, which not allow execute external commands (for example `rm -Rf *`)?
- KevinSjoberg 14y agoI guess the user account has restricted access in what commands are available.
- jwo 14y agoHeroku provides a read-only file system on their Bamboo stack, and a "scratch-pad" file system on their Cedar stack where changes are thrown away after the web request finishes.
- huk 14y agoThanks, I didn't know that.
- jevans 14y agoexec('sudo cat /etc/shadow') => RestrictedCodeException System Calls disabled Also, while File.read('/etc/passwd') works, at least File.read('/etc/shadow') doesn't.
- reedlaw 14y agoWith 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.
- jbarmash 14y agoLove the vim binding!
- sebastianmck 14y agoI've been using http://rbpad.charlie.bz/ http://rbpad.charlie.bz/ quite extensively. It's great.
- jwo 14y agoThats cool; I've been wanting to add the selector to choose your runtime (rubinius), but couldn't get it on Heroku (yet).
- charliesome 14y agoOh hey, rbpad is mine! I have the source here if you'd like to check it out: http://github.com/charliesome/19pad http://github.com/charliesome/19pad
- danieldrehmer 14y agoI was trying to import a lib just for fun. http://i.imgur.com/GayxZ.png http://i.imgur.com/GayxZ.png Very mature, RubyFiddle
- stringbot 14y ago:D http://rubyfiddle.com/riddles/ab901 http://rubyfiddle.com/riddles/ab901