1. var data = { a : 1, b : 2, c : 3, d : 4 }; var result = Object.keys(data).filter(function(x) { ret...
分类:
其他好文 时间:
2015-08-18 18:54:32
阅读次数:
145
/** * 动画集合:将多个动画放入集合后使用,动画累积 * @return */ private AnimationSet animationFactory() { //缩放动画 ScaleAnimation sa ...
分类:
其他好文 时间:
2015-08-18 18:53:46
阅读次数:
199
参考http://odroid.com/dokuwiki/doku.php?id=en:xu3_building_kernel1. 安装交叉编译工具按照参考下载http://dn.odroid.com/ODROID-XU/compiler/arm-eabi-4.6.tar.gz#arm-eabi- ...
分类:
其他好文 时间:
2015-08-18 18:55:37
阅读次数:
129
http://blog.csdn.net/samt007/article/details/38304239用过EBS的请求都知道,提交一个新报表都要点好几个按钮,其中一个很麻烦的就是选择提交新请求的类型:单一请求或者请求集。其实一般99%的情况都是单一请求,这个确实是没必要选择的。现在有个办法可以很...
分类:
其他好文 时间:
2015-08-18 18:52:42
阅读次数:
96
起因:Nuget图形化操作界面各种卡顿,或者有时干脆就连不上了。所以用命令还是很必须的。常用命令:安装Entity Framework: PM> Install-Package EntityFramework安装Json.NET:PM>Install-Package Newtonsoft.Json
分类:
其他好文 时间:
2015-08-18 18:53:13
阅读次数:
145
从http://zookeeper.apache.org/ 官网上下载最新的zookeeper版本, 我下载的版本是zookeeper-3.4.6.tar.gz, 解压;配置conf/zoo.cfg, 从自带的zoo-sample.cfg复制以下,改改端口就可以了;调用 bin/zkServer.s...
分类:
其他好文 时间:
2015-08-18 18:53:06
阅读次数:
126
链接:http://hihocoder.com/problemset/problem/1038?sid=469496accept代码: 1 #include 2 #include 3 using namespace std; 4 5 int dp[501][100001]; 6 int nee...
分类:
其他好文 时间:
2015-08-18 18:53:53
阅读次数:
144
Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?Hide Tags:Linked ListTwo PointersHide Simi...
分类:
其他好文 时间:
2015-08-18 18:52:17
阅读次数:
98
DescriptionSometimes some mathematical results are hard to believe. One of the common problems is the birthday paradox. Suppose you are in a party whe...
分类:
其他好文 时间:
2015-08-18 18:51:11
阅读次数:
100
/* * 字符串移位包含的问题 * 给定两个字符串,要求判定s2是否能够被s1叫做循环移位得到的字符串包含. * 例如给定 s1=AABCD,s2=CDAA,返回true; * 给定 S1=ABCD, s2=ABCD,返回false*/public class QuestionAlia{ //...
分类:
其他好文 时间:
2015-08-18 18:51:09
阅读次数:
128
六度分离Time Limit: 5000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5953Accepted Submission(s): 2404Problem Descri...
分类:
其他好文 时间:
2015-08-18 18:52:31
阅读次数:
141
lLambda不使用delegate关键字,而使用 Lambda运算符 => goes tol 1.Func getInput = (int age) => {l return Console.ReadLine() + age;l };l可以不显示声明参数的数据类型(编译器可以根据委托参数推断)l ...
分类:
其他好文 时间:
2015-08-18 18:49:54
阅读次数:
84
Bootstrap开发实践 Hello World 按钮 效果预览
分类:
其他好文 时间:
2015-08-18 18:52:02
阅读次数:
125
HDU TodayTime Limit: 15000/5000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 19680Accepted Submission(s): 4632Problem...
分类:
其他好文 时间:
2015-08-18 18:50:12
阅读次数:
183
cunchu.php存储发送的帖子到客户端返回重发");}$rs=mysql_query($sql,$conn);$index=mysql_insert_id($conn);echo $index;if($rs){ echo "发送成功"; echo "查看";}?>chakan.php...
分类:
其他好文 时间:
2015-08-18 18:51:03
阅读次数:
86
Problem DescriptionA sequence b1,b2,?,bn are called (d1,d2)-arithmetic sequence if and only if there exist i(1≤i≤n) such that for every j(1≤j 2 #inclu...
分类:
其他好文 时间:
2015-08-18 18:51:04
阅读次数:
156
swift: varoneStoreboard:UIStoryboard=UIStoryboard(name:"view",bundle:NSBundle.mainBundle()); letviewController:UIViewController=oneStoreboar...
分类:
其他好文 时间:
2015-08-18 18:48:18
阅读次数:
83