Start a Simple Web Server from Any Directory on Your Mac

Share

OS X: You need only one tiny command to start a web server from any directory through OS X’s terminal. If you’ve got a web site lying around and need to test it out, this is possibly the fastest way to make that happen.

Just navigate to the directory you want to use and enter the following command:

python -m SimpleHTTPServer 8000

You may want to change the port if you already have something running on 8000, but other than that the command doesn’t require much alteration. It’s a great little snippet to keep in mind (or in your TextExpander shortcuts) for the next time you need a quick little web server.

What are some tips or tricks for Terminal in Mac OS X? | StackExchange

Lifehacker

Share

Twitter Alternative App.net Launches Directory of Apps That Run on It

Share

app.net, dalton caldwell, twitter, api, open api, apps, social media, social networksA competitor to Twitter has emerged in the three months since the company warned developers it would limit what they can do with its APIs. (Twitter followed up with API changes in August.)

The up-and-comer — despite its clunky name, App.net — hosts a sleek microblogging feed, which claims to have nearly 20,000 members at the rate of $ 5 a month or $ 36 a year.

And on Wednesday, the service launched a directory of apps built on top of its service, with 27 apps running.

App.net’s driving force, Dalton Caldwell, formerly of imeem, has been very clear about the service’s intention to provide a service model completely opposite to Twitter’s. Twitter frustrated a number of prominent developers by initially inviting them to build on its service but increasingly focusing on becoming a website that brings content in to it, rather than linking out the other sites.

(That’s a fast and loose summary: More details here.)

Many say Twitter has made the changes in order to boost its advertising revenue.

Caldwell asks users and developers to pay for his service so that they, rather than advertisers, are the clients, making the service’s only incentive to serve users. (His take is strangely in sync with a memo Twitter founder Jack Dorsey wrote to his staff at Square earlier today.)

Caldwell also invites developers to export the content generated through App.net’s technology and use it as they like, echoing Twitter’s early stance.

Because users and app developers pay to use App.net’s data, the service’s numbers send a message about which model Internet users support. But the message is diluted by the fact that many developers embrace multiple, competing platforms and wait to see how each shakes out.

Caldwell was unavailable to comment. Twitter didn’t respond to a request for comment.

New Career Opportunities Daily: The best jobs in media.

SocialTimes

Share