对于代码的管理以及维护上,GitHub不失为一个较为明智的选择。而对于GitHub的灵活应用也是相当重要的,以下记录为以防自己忘记。1. 创建SSH Keyssh-keygen -t rsa –C “youremail@example.com”需要注意的是:id_rsa是私钥,不能泄露出去,id_r...
分类:
其他 时间:
2015-02-12 22:31:52
收藏:
0 评论:
0 赞:
0 阅读:
232
Given a binary tree, determine if it is height-balanced.
For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two subtrees of every node never diff...
分类:
其他 时间:
2015-02-12 21:27:30
收藏:
0 评论:
0 赞:
0 阅读:
298
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.
这道题是让合并两个有序链表。增设一个头结点。下面贴上代码:#include
using name...
分类:
其他 时间:
2015-02-12 21:27:20
收藏:
0 评论:
0 赞:
0 阅读:
264
在web开发中,经常会遇到一个需求是,判断变量为空(null)或者空字符串(""),从而影响页面的展示逻辑,velocity中有相应的方法可以判断。当然也可以在java后端转化到有效值再判断。...
分类:
其他 时间:
2015-02-12 21:26:40
收藏:
0 评论:
0 赞:
2 阅读:
3298
刚看到这个题目,手痒了.还挺有意思的...
#include int main()
{ char str[] = "Please reverse this string!"; printf("%s\n", str); str_rev(str); printf("%s\n", str); return 0;
}int str_rev(char *stri...
分类:
其他 时间:
2015-02-12 21:26:03
收藏:
0 评论:
0 赞:
0 阅读:
187
ant前先执行下面命令(在Mac环境下测试过)
export ANT_OPTS="-Xmx6g -XX:MaxPermSize=2g"...
分类:
其他 时间:
2015-02-12 21:25:50
收藏:
0 评论:
0 赞:
0 阅读:
253
图像处理特性中彩色墨水效果的实现,提供了基本的设计思想,并给出了基于MagicHouse平台下C++语言的实现代码。...
分类:
其他 时间:
2015-02-12 21:25:40
收藏:
0 评论:
0 赞:
0 阅读:
274
This time let us consider the situation in the movie "Live and Let Die" in which James Bond, the world's most famous spy, was captured by a group of d...
分类:
其他 时间:
2015-02-12 21:22:42
收藏:
0 评论:
0 赞:
0 阅读:
401
精美UI界面欣赏[4]
分类:
其他 时间:
2015-02-12 21:22:22
收藏:
0 评论:
0 赞:
0 阅读:
313
打个草稿介绍:pt-query-digest可用于mysql的慢查询的日志分析,分析统计出每种慢查询的基本信息,如响应时间、最大执行时间、最小执行时间、执行时间的中位数等。(当然不只是这个功能)安装注意点:1 只支持linux平台 2 可能需要一些依赖包的支持,所以最好联网安装,通过自...
分类:
其他 时间:
2015-02-12 21:21:21
收藏:
0 评论:
0 赞:
0 阅读:
630
国外三方的文档,比较全,http://erldocs.com/这个貌似是国内的版本,不是很新http://erldoc.com/国内dhq大神的,也不是很新http://dhq.me/erlample/官方文档http://www.erlang.org/doc.html
分类:
其他 时间:
2015-02-12 21:21:11
收藏:
0 评论:
0 赞:
0 阅读:
356
1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 int map[15][15]; 9 int main(){10 int P,T,G1,G2,G3,GJ;1...
分类:
其他 时间:
2015-02-12 21:21:01
收藏:
0 评论:
0 赞:
0 阅读:
325
题目1001:A+B for Matrices时间限制:1 秒内存限制:32 兆特殊判题:否提交:15235解决:6172题目描述: This time, you are supposed to find A+B where A and B are two matrices, and then co...
分类:
其他 时间:
2015-02-12 21:20:30
收藏:
0 评论:
0 赞:
0 阅读:
359
题意:ekjfkj=output 依此解开密码,得到题意求第n位(本身是素数,同时反过来也是素数的数)题解:打表注意:数组开大,反过来的数不能是自己本身Descriptionqd ucyhf yi q fhycu dkcruh mxeiu huluhiu yi q tyvvuhudj fhycu d...
分类:
其他 时间:
2015-02-12 21:19:40
收藏:
0 评论:
0 赞:
0 阅读:
398
今天做了一个在点级别的smooth工具,因为houdini默认的smooth是基于primitive的。工具能够根据输入节点的点组(point groups)或者特定的点属性(attributes)来smooth特定范围的点,这里讲一讲制作过程中一个很值得在意的细节问题,那就是读取输入节点的特定属性...
分类:
其他 时间:
2015-02-12 21:19:31
收藏:
0 评论:
0 赞:
0 阅读:
625
题目1003:A+B时间限制:1 秒内存限制:32 兆特殊判题:否提交:12812解决:5345题目描述:给定两个整数A和B,其表示形式是:从个位开始,每三位数用逗号","隔开。现在请计算A+B的结果,并以正常形式输出。输入:输入包含多组数据数据,每组数据占一行,由两个整数A和B组成(-10^9 ....
分类:
其他 时间:
2015-02-12 21:19:11
收藏:
0 评论:
0 赞:
0 阅读:
410
133.100.11.8 prefer210.72.145.44203.117.180.36131.107.1.10time.asia.apple.com64.236.96.53130.149.17.2166.92.68.246www.freebsd.org18.145.0.30clock.via....
分类:
其他 时间:
2015-02-12 21:18:49
收藏:
0 评论:
0 赞:
0 阅读:
432
CSS中的line-height属性控制着文字的行间距离。通常被设置为一个无单位的值(例如:line-height:1.4),与文字尺寸是成比例的。它是排版中的一个重要的属性。太低了文字会挤在一起,太高了文字会分开很远。是不可读的。 这篇文章会集中讨论一些技巧。如果你知道(或者可以算出)line-....
分类:
其他 时间:
2015-02-12 21:17:49
收藏:
0 评论:
0 赞:
0 阅读:
412
题意:给出两组数字,第二组数字代表第一组数字中的第几位。求从那一位开始,后面不同的数的个数DescriptionSereja has an arraya, consisting ofnintegersa1,a2,...,an. The boy cannot sit and do nothing, h...
分类:
其他 时间:
2015-02-12 21:16:49
收藏:
0 评论:
0 赞:
0 阅读:
438
下载这个文件并安装就可以了:http://avr-jungo-usb.software.informer.com/download/具体可以看这个贴子:http://electronics.stackexchange.com/questions/81183/atmel-studio-6-simula...
分类:
其他 时间:
2015-02-12 21:16:19
收藏:
0 评论:
0 赞:
0 阅读:
356