应一些人之邀。。。发一篇代码 1 #include 2 #include 3 #include 4
#include 5 6 using namespace std; 7 struct node 8 { 9 int data; 10 int key;
11...
分类:
其他好文 时间:
2014-05-23 05:17:06
阅读次数:
246
1 #include 2 //quickSort 3 int partition(int
a[],int start,int end) { 4 int node = a[start]; //初始节点 5 while(start= node
&& end > start) ...
分类:
其他好文 时间:
2014-05-23 04:04:22
阅读次数:
304
【7.4】 1 #include 2 #include 3 #include 4 using
namespace std; 5 #define MAXN 100 6 7 typedef struct node{ 8 char data; 9 node
*lchild;10 ...
分类:
其他好文 时间:
2014-05-23 03:26:20
阅读次数:
260
Given a binary tree, find its maximum depth.The
maximum depth is the number of nodes along the longest path from the root node
down to the farthest le...
分类:
其他好文 时间:
2014-05-22 16:05:56
阅读次数:
239
Node-Canvas 安装的时候,并没想到有如此多的坑。看来npm也不是万能的。canvas需要cario,而cario需要libpng,又需要pixman,同时pkg-config更是前提,官网提供的pkg-config版本又在Mac OS 10.9 上有问题。本文将对node-canvas安装提供简要的讲解和坑的填充。...
分类:
其他好文 时间:
2014-05-21 14:44:48
阅读次数:
1937
最近开发,兄弟们问我这个问题,写出来解决方法和大家分享一下。
当控制台出现:
Failed to install ***.apk on device '019417a3': Unable to open sync connection!
java.io.IOException: Unable to open sync connection!
Launch canceled!
...
分类:
其他好文 时间:
2014-05-21 14:13:00
阅读次数:
496
Apache2 iptables
安装指令:sudo apt-get install apache2
2.产生的启动和停止文件是:/etc/init.d/apache2
3.启动:sudo apache2ctl -k start
4,停止:sudo apache2ctl -k stop
5,重新启动:sudo apache2ctl -k restart
...
分类:
其他好文 时间:
2014-05-21 14:05:17
阅读次数:
206
WebStorm
8 with IdeaVim plugin
vim, sublime
sublime加上node插件。
nide
Brackets
vim + jshint2.vim
eclipse
Visual Studio 2013 + NTVS(Node.js
Tools for Visual Studio)
notepad++
atom.io
Nodejs c...
分类:
Web程序 时间:
2014-05-21 13:36:47
阅读次数:
493
InstallingwithCitrixXenServerNote:ToinstalltheAdaptecRAIDcontrollerdriverwithCitrixXenServer,youmustburntheXenServerdriverisop_w_picpathtoawriteableCD.YouwillbepromptedtoinserttheXenServerdriverCDtwice.YouneedtheXenServerinstallationCDtocompletethistask.You..
分类:
其他好文 时间:
2014-05-21 13:19:58
阅读次数:
454
前沿:在一些个特定环境下,用ansible做集群管理还是很棒的,这两天看了他的模块,官方提供了很多,就算不够,你也可以自定义定制。话说我挺喜欢他的modules模块的,够直接!!!我这里就说些常见的ansible的modules吧。下面的ansibleservice一看大家就懂了,就是服务状态的管..
分类:
其他好文 时间:
2014-05-21 13:07:44
阅读次数:
837