ifup、ifdown:如果在 /etc/sysconfig/network-scripts里面的ifcfg-ethx等文件存在的话,就可以通过ifdown或ifup来实现网卡的开和关,例如:ifup eth0。 ifconfig {interface} up、ifconfig {interface ...
分类:
系统相关 时间:
2016-04-08 21:26:28
阅读次数:
520
向上无缝滚动1.behavior滚动方式 alternate:在两端之间来回滚动 scroll:由一端滚动到另一端,会重复 slide:有一端滚动到另一端,不会重复 2;direcyion滚动方向down,up,left,right 3;loop滚动次数(=-1一直滚动,默认-1) 4;scroll ...
分类:
其他好文 时间:
2016-04-08 21:23:35
阅读次数:
183
2768: Zju1290 Word-Search Wonder Description The Pyrates Restaurant was starting to fill up as Valentine McKee walked in. She scanned the crowd for he ...
分类:
Web程序 时间:
2016-04-08 15:03:17
阅读次数:
288
题目来源 https://leetcode.com/problems/search-in-rotated-sorted-array-ii/ Follow up for "Search in Rotated Sorted Array":What if duplicates are allowed? W ...
分类:
编程语言 时间:
2016-04-08 11:38:04
阅读次数:
172
HTML html是英文hyper text mark-up language(超文本标记语言)的缩写,它是一种制作万维网页面标准语言。 内容摘要 Doctype 告诉浏览器使用什么样的html或xhtml规律来解析html文档。 可以选择的有: meta 提供有关页面的元信息,例如:页面编码,刷新... ...
分类:
Web程序 时间:
2016-04-08 10:10:08
阅读次数:
275
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex ...
分类:
其他好文 时间:
2016-04-08 00:35:32
阅读次数:
198
Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two n ...
分类:
其他好文 时间:
2016-04-07 13:18:14
阅读次数:
108
SVN 本地更新时,由于一些操作中断更新,如磁盘空间不够,用户取消。 可能会造成本地文件被锁定的情况。一般出现这种情况的解决方法:1、可以使用SVN clean up来清除锁定。2、如果不是本目录锁定,系统提示上一层目录锁定,需要到上一层或者根目录中清除。3.如果在根目录下都无法clean的话,一般 ...
分类:
其他好文 时间:
2016-04-07 01:14:15
阅读次数:
198
java保留小数问题的方法: 方法一:四舍五入 使用java.Math.BigDecimal类 double d = 12.345; BigDecimal bd = new BigDecimal(2,BigDecimal.ROUND_HALF_UP).doubleValue(); 方法二:使用jav ...
分类:
编程语言 时间:
2016-04-06 23:24:51
阅读次数:
260
这是韩顺平老师的《轻松搞定网页设计(html.css.js)》,讲的还凑合,仅作入门。决定还是做好笔记,记录学习的过程,这是HTML的第一天。 HTML(HyperText Mark-up Language)即超文本标记语言或超文本链接标示语言,是目前网络上应用最为广泛的语言,也是构成网页文档的主要 ...
分类:
Web程序 时间:
2016-04-06 21:47:04
阅读次数:
175