作为前端(html、javascript、css)的三大马车之一的css,一直以静态语言存在,HTML5火遍大江南北了、javascript由于NODE.JS而成为目前前后端统一开发语言的不二之选。只有css似乎成为前端开发的被忽视的角色了。
分类:
其他好文 时间:
2014-06-18 20:10:49
阅读次数:
130
zookeeper基本是基于API和console进行znode的操作,并没有一个比较方便的操作界面,这里也发现了taobao 伯岩写的一个工具,可以比较方便的查询zookeeper信息。工具的开发语言主要是node.js(最近比较火),其标榜的是无阻塞的api使用。其原理主要是基于google的V...
分类:
其他好文 时间:
2014-06-18 20:03:33
阅读次数:
219
1、根据id获取树的某个节点:var zTree = $.fn.zTree.getZTreeObj("mytree");var node = zTree.getNodeByParam("id",1);2、设置node节点选中状态:zTree.selectNode(node);3、设置node节点ch...
分类:
其他好文 时间:
2014-06-18 14:34:34
阅读次数:
196
node 起始Javascript 工具 → 组 件 → 框架 → 应用(业务模版组织) 浏览器兼容 功能模版 功能模版组织 (实现特效)Javascript 先天缺乏(弱项)模块commonJs规范希望...
分类:
其他好文 时间:
2014-06-18 13:16:13
阅读次数:
208
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-06-18 12:51:52
阅读次数:
205
测试oracle 11g cluster 中OLR的重要性
called an Oracle Local Registry (OLR): each node in a cluster has a local registry for node-specific resources
测试一:模拟olr异常丢失的情况:
这里首先将olr renam
[root@vm...
分类:
数据库 时间:
2014-06-17 22:14:36
阅读次数:
359
题目
Given a linked list, remove the nth node from the end of list and return its head.
For example,
Given linked list: 1->2->3->4->5, and n = 2.
After removing the second node from th...
分类:
其他好文 时间:
2014-06-17 21:38:12
阅读次数:
193
#include "stdafx.h"#include "stdlib.h"typedef struct Node{ int data; struct Node* next;} LinkNode;void PrintNodes(LinkNode *&List){ LinkNode ...
分类:
其他好文 时间:
2014-06-17 15:25:14
阅读次数:
158
继续校赛前的建图任务,当时只写了DFS遍历,今天把BFS也写了一下。
#include
#include
#include
#include
#include
const int maxe = 10001;
using namespace std;
struct node{
int to,w;
node *next;
}*head[maxe];//he...
分类:
其他好文 时间:
2014-06-16 22:25:20
阅读次数:
286
一颗binarysearchtree,我们要在其中删除node1。而node1对应的key是,比如说,key1.删除的基本想法是什么呢?1.找到key1对应的那个node在哪里。这个用一个迭代就可以完成了。2.删掉这个node(1)如果这个node没有左右子树,那么直接删掉就好了。(2)如果这个node只有左子树或..
分类:
其他好文 时间:
2014-06-16 18:32:13
阅读次数:
270