I actually use this in my .zshrc:
alias servethis="python -m SimpleHTTPServer 8888"

And then I have an easily accessible bookmark for it.  Very handy for 
testing simple things.

On Sunday, October 28, 2012 5:48:39 AM UTC-6, Angelo Chen wrote:
>
> I did some google, and found out python has that: 
>
> python -m SimpleHTTPServer 
>
>
> On Oct 28, 5:26 pm, Ryan Schmidt <google-2...@ryandesign.com> wrote: 
> > On Oct 28, 2012, at 02:53, Angelo Chen wrote: 
> > 
> > > trying to find a quick and dirty solution in nodejs: often need to 
> access a folder in mac from  ipad's Safari, is there a simple, one file 
> nodejs script that can do it? thanks, 
> > 
> > Be more specific. Define "access". 
> > 
> > If you just want to see the contents of a folder on your Mac from your 
> iPad and access MobileSafari-compatible files inside it, for example, you 
> could run any web server on your Mac and let it serve that folder. Since 
> I'm guessing that's not what you meant, let us know what you meant. 
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to