摘要: 1. Start Eclipse, then select Help > Install New Software...2. Enter the update site URL into the Work with text box: http://www.nodeclipse.org/u... 阅读全文
posted @ 2015-07-07 18:55 孤独青鸟 阅读(1028) 评论(0) 推荐(0)
摘要: ZenCoding 升级为 Emmet 之后,基于 Eclipse 的插件安装地址也发生了变化,下面是在基于 Eclipse 的 IDE 中安装和使用 Emmet 的图文示例。一、打开 Eclipse 的插件安装界面启动 Eclipse,选择 Help>Install New Software ..... 阅读全文
posted @ 2015-07-07 18:41 孤独青鸟 阅读(309) 评论(0) 推荐(0)
摘要: 首先安装nodejs mongodbnpm install mongodbvarmongodb=require('mongodb'),http=require('http'),url=require('url');varserver=newmongodb.Server('localhost',27... 阅读全文
posted @ 2015-07-07 14:01 孤独青鸟 阅读(344) 评论(0) 推荐(0)
摘要: 查看当前数据库的全部用户>showusers{"_id":ObjectId("4dedeeae26e7516d69948e33"),"user":"libing","readOnly":false,"pwd":"541025c56e577050c3e44efb105e28b6"}>db.system... 阅读全文
posted @ 2015-07-07 13:58 孤独青鸟 阅读(263) 评论(0) 推荐(0)
摘要: 查看当前数据库MongoDBshellversion:1.8.1connectingto:test>dbtest查看全部数据库列表>showdbsChatRoom 0.03125GBadmin (empty)local (empty)切换数据库>useChatRoomswitchedtodbCha... 阅读全文
posted @ 2015-07-07 13:54 孤独青鸟 阅读(510) 评论(0) 推荐(0)
摘要: 创建数据库>usemydbswitchedtodbmydb查看所有的数据表>showcollectionssystem.indexes创建数据表>db.createCollection("tb_user"){"ok":1}> db.createCollection("Test",{capped:tr... 阅读全文
posted @ 2015-07-07 12:02 孤独青鸟 阅读(345) 评论(0) 推荐(0)