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.)
Ruby Fiddle: Ruby Snippets in the Browser
11–20 of 24 posts
Re: Ruby Fiddle: Ruby Snippets in the Browser
#12Is there any security mechanism, which not allow execute external commands (for example `rm -Rf *`)?
Re: Ruby Fiddle: Ruby Snippets in the Browser
#13Is there any security mechanism, which not allow execute external commands (for example `rm -Rf *`)?
Re: Ruby Fiddle: Ruby Snippets in the Browser
#14Is there any security mechanism, which not allow execute external commands (for example `rm -Rf *`)?
Heroku 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.
Re: Ruby Fiddle: Ruby Snippets in the Browser
#15Re: Ruby Fiddle: Ruby Snippets in the Browser
#16I've been using http://rbpad.charlie.bz/ quite extensively. It's great.
Re: Ruby Fiddle: Ruby Snippets in the Browser
#17Very mature, RubyFiddle
Re: Ruby Fiddle: Ruby Snippets in the Browser
#18I was trying to import a lib just for fun. http://i.imgur.com/GayxZ.png Very mature, RubyFiddle
Importing libs is on the todo list though!
Re: Ruby Fiddle: Ruby Snippets in the Browser
#19Is there any security mechanism, which not allow execute external commands (for example `rm -Rf *`)?
Also, while File.read('/etc/passwd') works, at least File.read('/etc/shadow') doesn't.
Re: Ruby Fiddle: Ruby Snippets in the Browser
#20With 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.