摘要: sudo apt-get install g++ curl libssl-dev apache2-utilssudo apt-get install git-coregit clone git://github.com/ry/node.git (下载原码)然后./configuremakesudo make install编写如下小程序,命名为example.js,保存在node文件夹下。var http = require('http');http.createServer(function (req, res) {res.writeHead(200, {'Conte 阅读全文
posted @ 2012-01-06 17:55 wtx 阅读(265) 评论(0) 推荐(0) 编辑
摘要: http://api.t.sina.com.cn/statuses/followers/『uid』.json?source=1610801709&&cursor=1&&count=10Response response = weibo.getFollowers2(); // System.out.println(response); String str = response.asString(); // System.out.println(str); JSONObject... 阅读全文
posted @ 2012-01-06 16:47 wtx 阅读(622) 评论(0) 推荐(0) 编辑