码迷,mamicode.com
首页 >  
搜索关键字:nod    ( 6886个结果
LeetCode 002 Add Two Numbers
题目描述:Add Two NumbersYou are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nod...
分类:其他好文   时间:2015-01-23 10:52:22    阅读次数:133
RequireJS-模块化开发框架
一、equireJS 和 SeaJS 都是很不错的模块加载器,两者区别如下 1. 两者定位有差异。RequireJS 想成为浏览器端的模块加载器,同时也想成为 Rhino / Node 等环境的模块加载器。SeaJS 则专注于 Web 浏览器端,同时通过 Node 扩展的方式可以很方便跑在 Nod....
分类:Web程序   时间:2015-01-18 17:03:04    阅读次数:299
使用ssh tunnel连接局域网机器
当需要浏览器打开内网的某个ip地址时,可以通过putty建立tunnel的方式,我之前的博文有提到; 也可以通过在本地安装vnc viewer,登陆login节点,使用login节点的浏览器进行打开内网的ip地址; 使用ssh tunnel是最为简单的一直方式; 例子: node1 有公网ip; node2 只有内网ip;node1和node2之间网络相通; 我们只能在浏览器上打开nod...
分类:其他好文   时间:2015-01-14 22:59:41    阅读次数:476
npm 全局环境变量配置
我们要先配置npm的全局模块的存放路径以及cache的路径,例如我希望将以上两个文件夹放在NodeJS的主目录下,便在NodeJs下建立”node_global”及”node_cache”两个文件夹。如下图cmd 中输入如下命令npm config set prefix “d:\nodejs\nod...
分类:其他好文   时间:2015-01-04 01:11:59    阅读次数:1623
【LeetCode】Binary Tree Upside Down
Binary Tree Upside DownGiven a binary tree where all the right nodes are either leaf nodes with a sibling (a left node that shares the same parent nod...
分类:其他好文   时间:2014-12-29 13:30:29    阅读次数:105
[LeetCode]98.Validate Binary Search Tree
【题目】 Given a binary tree, determine if it is a valid binary search tree (BST). Assume a BST is defined as follows: The left subtree of a node contains only nodes with keys less than the nod...
分类:其他好文   时间:2014-12-27 17:34:02    阅读次数:236
[LeetCode]Copy List with Random Pointer
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null. Return a deep copy of the list. 利用hashMap存储,原始的node作为key,new的nod...
分类:其他好文   时间:2014-12-24 22:53:14    阅读次数:187
2014年终总结
时间过得很快,再过几天就是新的一年了,在此总结一下过去的一年: 1. 苦练驾驶技术,一年没有出险:) 2. 自驾车去了一趟庐山,来回近2000KM 3. 坚持游泳,个人蛙泳纪录突破2500米 4. 看了几本好书《新机器的灵魂》,《再定位》,《闪电战》,《我的互联网方法论》,《Programming Erlang》 5. 学了几个新的技术:Python,Erlang,Django, nod...
分类:其他好文   时间:2014-12-22 18:05:09    阅读次数:182
Bottom View of a Binary Tree
Given a Binary Tree, we need to print the bottom view from left to right. A node x is there in output if x is the bottommost node at its horizontal distance. Horizontal distance of left child of a nod...
分类:其他好文   时间:2014-12-17 16:31:12    阅读次数:225
windows nodejs express的安装
以前安装express总是成功,无意中看到一篇文章,照着安装,成功了,非常感谢!转自:http://blog.csdn.net/mcpang/article/details/26612865今天闲来无事想起了node.js,因此到网上下载了一个node.js的安装程序进行安装。其中:安装程序:nod...
分类:Windows程序   时间:2014-12-15 16:50:41    阅读次数:659
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!