码迷,mamicode.com
首页 >  
搜索关键字:node nodejs 编译node n    ( 31809个结果
建在ghost的blog
一直想使用nodejs来搭建个人blog,由于拖延症的缘故一直没有完成。在godaddy上注册了域名,但是备案太麻烦,于是有了以下实践。说明下目前这个blog使用的一些技术和平台:ghost7ghostwww.nitrous.iophpclouddnspodgodaddyghostghost是搭建....
分类:其他好文   时间:2014-05-22 05:11:05    阅读次数:343
express模块安装后cmd中不能运行
在各种关于NodeJS的教材中,必定会有关于express的介绍.express本身是一个很赞的库.在之前的express版本中,在全局模式安装(npm -g install express)之后,在cmd命令行中,都可以使用express命令进行各种操作(创建简单的网站模板等).但是,现在安装后,...
分类:其他好文   时间:2014-05-22 05:02:31    阅读次数:332
Linus Torvalds 指针
《对话LinusTorvalds:大多黑客甚至连指针都未理解》http://www.csdn.net/article/2013-01-10/2813559-two-star-programming“不懂指针”的开发者代码示例: 1 typedef struct node 2 { 3 ...
分类:其他好文   时间:2014-05-22 04:40:17    阅读次数:245
把NodeJS注册成Windows服务
为了让NodeJS开发的网站能在服务器端正常运行,最好把NodeJS需要运行的代码注册成Windows服务,服务器如果重启也不需要重新去启动NodeJS。1、编写一个执行NodeJS脚本的bat文件(run.bat),如下:@echo offd:cd D:\[目录]node [需要执行的文件名].j...
分类:Windows程序   时间:2014-05-22 03:36:20    阅读次数:413
9.链表中倒数第k个结点
Find the inverse Kth node of a linked list.
分类:其他好文   时间:2014-05-22 03:29:46    阅读次数:247
leetcode Populating Next Right Pointers in Each Node
/**根据完美二叉树或者非完美二叉树都可以,利用左右子树的根节点的next节点信息来连接next*/public void connect(TreeLinkNode root){ if(root==null) return; //利用父节点的next...
分类:其他好文   时间:2014-05-22 03:03:39    阅读次数:183
33.在O(1)时间删除链表结点
Delete node in linked list in O(1).
分类:其他好文   时间:2014-05-22 00:05:51    阅读次数:190
【Cracking the Code Interview(5th edition)】二、链表(C++)
链表结点类型定义:1 class Node {2 public:3 int data = 0;4 Node *next = nullptr;5 6 Node(int d) {7 data = d;8 }9 };快行指针(runner)技巧:同时...
分类:编程语言   时间:2014-05-21 04:26:19    阅读次数:444
队列的实现
#include#include#includetypedef int Item;typedef struct node* PNode;typedef struct node{ Item data; PNode next;}Node;typedef struct{ PNode fr...
分类:其他好文   时间:2014-05-21 04:20:54    阅读次数:219
poj 1330 Nearest Common Ancestors
DescriptionA rooted tree is a well-known data structure in computer science and engineering. An example is shown below:In the figure, each node is lab...
分类:其他好文   时间:2014-05-21 03:23:51    阅读次数:296
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!