码迷,mamicode.com
首页 >  
搜索关键字:github commit push pull add    ( 90927个结果
nodejs解决找不到express命令的问题
一般的书或者教程上的安装步骤是:(需要是-g,即全局安装)npm install -g express //全局安装而我们应该多多关注下express的文档,github地址:https://github.com/visionmedia/express#quick-start提示express的安....
分类:Web程序   时间:2014-05-05 22:33:19    阅读次数:422
selenium从入门到应用 - 7,testNG的DataProvider
本系列所有代码 https://github.com/zhangting85/simpleWebtest本文将介绍一个Java+TestNG+Maven+Selenium的web自动化测试脚本环境下testNG的Dataprovider的使用和数据驱动的自动化测试的实现,并提供全部代码。
分类:其他好文   时间:2014-05-05 22:26:08    阅读次数:408
android开源系列:CircleImageView自定义圆形控件的使用
1.自定义圆形控件github地址:https://github.com/hdodenhof/CircleImageView主要的类:package de.hdodenhof.circleimageview; import edu.njupt.zhb.main.R; import android.content.Context; import android.content.res.TypedAr...
分类:移动开发   时间:2014-05-03 23:56:53    阅读次数:3250
delphi xe6 android ListView增加 Header或Footer 的方法
var Item1: TListViewItem;begin Item1 := ListView1.Items.Add; Item1.Purpose:=TListItemPurpose.Header;// Item1.Purpose:=TListItemPurpose.Footer; Item1.t...
分类:移动开发   时间:2014-05-03 22:34:33    阅读次数:547
java中利用反射机制绕开编译器对泛型的类型限制
首先看下面这个例子 public static void main(String[] args) { ArrayList al1 = new ArrayList(); al1.add(1); ArrayList al2 = new ArrayList(); al2.add("hello"); //int型链表和string型链表,结果为true System.out.p...
分类:编程语言   时间:2014-05-03 22:02:53    阅读次数:376
Local Functions
int BOOST_LOCAL_FUNCTION(int x, int y) { // Local function. return x + y; } BOOST_LOCAL_FUNCTION_NAME(add) BOOST_TEST(add(1, 2) == 3); // Local function call. int BOOST_LOCAL_FUNCTION(void) ...
分类:其他好文   时间:2014-05-03 21:47:48    阅读次数:332
非递归的方法遍历二叉树
//非递归遍历一棵树 需要借助栈 #include #include struct Tree { int nValue; Tree *pLeft; Tree *pRight; }; struct Stack { Tree *root; Stack *pNext; }; Stack *pStack = NULL; void push(Tree *root) { St...
分类:其他好文   时间:2014-05-03 20:55:41    阅读次数:325
queue for max elem, pop, push
queue for max elem, pop, push 个人信息:就读于燕大本科软件工程专业 目前大三; 本人博客:google搜索“cqs_2012”即可; 个人爱好:酷爱数据结构和算法,希望将来从事算法工作为人民作出自己的贡献; 博客内容:the longest distance of a binary tree; 博客时间:2014-4-15; 编...
分类:其他好文   时间:2014-05-03 17:13:09    阅读次数:406
字符串处理之获取所有不在括号中的字符
字符串处理问题 有一个表达式,其中包含不确定数目的括号,如as(sdfsd + sdfs)sdf(sdf-sdf(sdf + sdf))sdf。要求获取所有不在括号中的字符。 实现思想:用栈来实现,遍历字符串,如果遇到左括号(()则向栈中压入(push)一个元素(任意元素),如果遇到右括号())则从栈顶弹出(pop)一个元素,如果遇到非括号(左括号或者右括号)则检测栈中是否为空,若为空...
分类:其他好文   时间:2014-05-03 15:33:12    阅读次数:225
HDU 2894 欧拉回路
#include #include #include #include #include using namespace std; #define N 20020 struct node{ int from, to, dou, nex; }edge[N]; int head[N], edgenum; void add(int u, int v,int dou){ node E={u,v,dou...
分类:其他好文   时间:2014-05-03 15:25:32    阅读次数:340
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!