Whaddup August, nice work man! Very easy to use and only small dependency. But if you want you could just use "python -m SimpleHTTPServer". Of course, if you don't care about using python :)
It just another way to serve static files. Caires Vinicius On Tue, Dec 28, 2010 at 2:47 PM, August Lilleaas <[email protected]>wrote: > I wrote a tool for spawning a HTTP server with directory listing etc. > from any directory. All that's required is Ruby and the Rack gem, then > just type "static.ru" in the directory you want as document root. > > https://github.com/augustl/binbin/blob/master/static.ru > > Useful for serving files with HTTP when developing, rather than using > file://. > > On Dec 27, 11:19 am, Mathias Bynens <[email protected]> wrote: > > On Fri, Dec 24, 2010 at 12:40 AM, Farhan Ahmed <[email protected]> wrote: > > > Thanks for the tips and the test cases guys - I'll check out the > command > > > line option for Chrome. Hopefully this will be "fixed" (unless it's a > > > feature!) in future versions. > > > > Unfortunately, it looks like it’s a feature. Seehttp:// > code.google.com/p/chromium/issues/detail?id=60889#c7: > > > > > > > > > By adding that flag you're turning off significant security checks. > It's just for > > > debugging your own code. If we had it on by default, and you happened > to > > > open a local file [say, in the download directory], it would > potentially have > > > access to your whole local filesystem. > > -- > To view archived discussions from the original JSMentors Mailman list: > http://www.mail-archive.com/[email protected]/ > > To search via a non-Google archive, visit here: > http://www.mail-archive.com/[email protected]/ > > To unsubscribe from this group, send email to > [email protected]<jsmentors%[email protected]> > -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
