1. add a new branch cd workspace git branch user1/newbranch1 git checkout user1/newbranch1 or git checkout -b user2/newbranch2 2. when user1/newbranch...
分类:
其他好文 时间:
2014-07-16 23:09:50
阅读次数:
164
git tag is used to create labels, usually for version numbers. Format: git tag Example: git tag v0.1 HEAD is to create a version number v0.1 on curren...
分类:
其他好文 时间:
2014-07-10 14:29:01
阅读次数:
213
给字符串的字符和数字间加上空隔var str = 'a23dssf12ldf2lf4';function addSplit(str){ var reg = /(\D+)/g; var str = str.replace(/(\d+)/g, ' $1 '); return str.r...
分类:
其他好文 时间:
2014-07-10 12:40:38
阅读次数:
179
Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.方法一:最先想到的就是递归,注...
分类:
其他好文 时间:
2014-07-10 09:58:40
阅读次数:
224
Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime complexity...
分类:
其他好文 时间:
2014-07-07 23:24:09
阅读次数:
210
Given inorder and postorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.方法:在inorder中寻找...
分类:
其他好文 时间:
2014-07-07 23:18:53
阅读次数:
283
Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a linear runtime comp...
分类:
其他好文 时间:
2014-07-07 22:57:13
阅读次数:
309
InnoDB: Operating system error number 87 in a file operation. 错误87的解决方法140628 8:10:48 [Note] Plugin 'FEDERATED' is disabled.140628 8:10:48 InnoDB: The...
分类:
数据库 时间:
2014-07-07 21:36:13
阅读次数:
810
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.
If the last word does not exist, return 0.
Note: A word is d...
分类:
其他好文 时间:
2014-06-27 10:18:32
阅读次数:
151
又被抽去做了一段时间的Fitnesse用例的编写,现在case写了几个星期,有点收获,最近会一起整理出来。SetUp这个页面主要被我用来做环境变量的设置了。环境变量的设置:!note这一部分用来在写测试步骤里包含,来定义用户场景。!note比如!note1,用户一($USERNAME_A)注册帐户,密码..
分类:
其他好文 时间:
2014-06-27 06:00:15
阅读次数:
163