题目连接:http://acm.hust.edu.cn/vjudge/problem/28833 ...
分类:
其他好文 时间:
2016-07-20 11:48:23
阅读次数:
133
$(".tab-title li").on('click', function(){ $(".tab-title li").eq($(this).index()).addClass("cur").siblings().removeClass('cur'); $(".tab-con>div").hid ...
分类:
其他好文 时间:
2016-07-20 11:46:06
阅读次数:
103
在map或者reduce函数中使用System.out.println打印的信息沾满查看呢? 步骤1:启动history server /usr/local/hadoop-2.6.0/sbin/mr-jobhistory-daemon.sh start historyserver 步骤2:使用htt ...
分类:
其他好文 时间:
2016-07-20 11:47:55
阅读次数:
134
事务 Jedis中事务的写法是将redis操作写在事物代码块中,如下所示,multi与exec之间为具体的事务。 另外,在事务内部,是不能通过Jedis对象去获取值的,不过可以通过Transaction对象去获取,如下写法: 注意:Response对象的get方法要在事务exec方法执行之后调用,在 ...
分类:
其他好文 时间:
2016-07-20 11:46:44
阅读次数:
503
掌握需求过程(第3版)Mastering the Requirements Process:Getting Requirements Right , Third Edition ——词汇表 ...
分类:
其他好文 时间:
2016-07-20 11:47:26
阅读次数:
755
Description There are n pictures delivered for the new exhibition. The i-th painting has beauty ai. We know that a visitor becomes happy every time he ...
分类:
其他好文 时间:
2016-07-20 11:44:26
阅读次数:
205
摘要(Abstract) 更新记录 更正打开控制台的快捷键为Ctrl + ` 更正全局替换的快捷键为Ctrl + Alt + Enter 前言(Prologue) 编辑器的选择(Editor Choices) 跨平台:Vim和Sublime Text均为跨平台编辑器(在Linux、OS X和Wind ...
分类:
其他好文 时间:
2016-07-20 11:44:29
阅读次数:
441
目前使用的wpf的datagrid还存在两个问题没有搞定,一个是datagrid的选中事件,另一个则是鼠标滚轮滚动时,datagrid的行间距发生变化。 第一个问题的解决方案:设置datagrid的属性SelectionUnit="Cell",这样每次选中就只是一个单元格,需要设置 <DataGri ...
分类:
其他好文 时间:
2016-07-20 11:44:05
阅读次数:
124
谷歌浏览器登录页记住密码后下次登录会自动填充,并且有黄色背景。 谷歌浏览器的设置如下: input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill { input:-webkit-autofill, texta ...
分类:
其他好文 时间:
2016-07-20 11:43:23
阅读次数:
129
错误[!] The dependency `Masonry (~> 0.6.1)` is not used in any concrete target. 在之前,我使用的版本是XCode7.0及以前的版本,现在更新到XCode7.3. 在写demo时,添加第三方总是报各种"The dependen ...
分类:
其他好文 时间:
2016-07-20 11:45:00
阅读次数:
180
Description You are given a description of a depot. It is a rectangular checkered field of n?×?m size. Each cell in a field can be empty (".") or it c ...
分类:
其他好文 时间:
2016-07-20 11:43:48
阅读次数:
180
本文转载自:https://www.ibm.com/developerworks/cn/linux/l-btloader/ 本文详细地介绍了基于嵌入式系统中的 OS 启动加载程序 ―― Boot Loader 的概念、软件设计的主要任务以及结构框架等内容。 1. 引言 在专用的嵌入式板子运行 GNU ...
分类:
其他好文 时间:
2016-07-20 11:41:54
阅读次数:
123
Given a non-negative integer n, count all numbers with unique digits, x, where 0 ≤ x < 10n. Example:Given n = 2, return 91. (The answer should be the ...
分类:
其他好文 时间:
2016-07-20 11:41:05
阅读次数:
126
视频列表界面从竖屏转换成横屏时,界面的生命周期会发生变化。需要处理好这样的变化。...
分类:
其他好文 时间:
2016-07-20 10:37:30
阅读次数:
141