原文转自:http://www.lxway.com/812960411.htm 今天碰到了个郁闷的问题,svn执行clean up命令时报错“Previous operation has not finished; run 'cleanup' if it was interrupted”。无论你到那 ...
分类:
其他好文 时间:
2016-06-13 15:26:25
阅读次数:
132
1.下载安装vagrant 2.下载安装 virtualbox 3.下载.box 4.初始化 vagrant box add {box-name} {box-url} 使用语句 vagrtant box list 查看创建的 name 5. 启动 vagrant up 6.修改Vagrantfile ...
采用Jmeter测试工具对web系统作的负载测试,得出的响应报表,数据比较难懂,现作一具体说明。以下是在一次具体负载测试中得出的具体数值,测试线程设置情况为:线程数:200,等待时间(ramp-up):0秒,循环次数为永远,另:线程组——这些元件用于指定运行的线程数和等候周期。每个线程模拟一个用户, ...
分类:
其他好文 时间:
2016-06-12 21:52:43
阅读次数:
145
1. 编译wifi相关功能为模块,生成bcmdhd.ko;由bcmdhd.ko的模块信息可知,该模块依赖于cfg80211.ko和rfkill.ko。 2. 写脚本,开机自动加载wifi模块。 3. 使用命令#ifconfig wlan0 up开启WIFI。 开启wifi需要加载2个固件:fw_bc ...
分类:
其他好文 时间:
2016-06-12 20:19:46
阅读次数:
1422
top命令经常用来监控linux的系统状况,比如cpu、内存的使用。 shell> toptop - 14:36:26 up 500 days, 22:51, 2 users, load average: 0.22, 0.28, 0.69Tasks: 334 total, 1 running, 33 ...
分类:
其他好文 时间:
2016-06-12 18:30:39
阅读次数:
181
Balanced Lineup Description For the daily milking, Farmer John's N cows (1 ≤ N ≤ 50,000) always line up in the same order. One day Farmer John decides ...
分类:
其他好文 时间:
2016-06-12 10:50:59
阅读次数:
220
【题目描述】 阿兰是某机密部门的打字员,她现在接到一个任务:需要在一天之内输入几百个长度固定为6的密码。当然,她希望输入的过程中敲击键盘的总次数越少越好。 不幸的是,出于保密的需要,该部门用于输入密码的键盘是特殊设计的,键盘上没有数字键,而只有以下六个键:Swap0, Swap1, Up, Down ...
分类:
其他好文 时间:
2016-06-12 08:21:39
阅读次数:
140
原题链接:https://leetcode.com/problems/linked-list-cycle/
题目:
Given a linked list, determine if it has a cycle in it.
Follow up:
Can you solve it without using extra space?
思路:
两个指针,一个移动...
分类:
其他好文 时间:
2016-06-12 03:04:17
阅读次数:
158
Touch概述
Touch操作即是用手触摸或者用鼠标操作屏幕所造成的事件触发。这些事件最基本的包括按下Down,移动Move,取消Cancel和离开触摸屏Up四种事件。一个完整的Touch过程一般是由Down->(Move)->Up/Cancel这四个事件组成,值得注意的是,一个完整的触摸事件必须由Down开始,再到Up/Cancel结束,中间的Move可以有可以没有,当然Touch事件不止这四...
分类:
移动开发 时间:
2016-06-12 02:59:04
阅读次数:
264
Combination Sum III
Total Accepted: 34119 Total
Submissions: 93255 Difficulty: Medium
Find all possible combinations of k numbers that add up to a number n, given that only...
分类:
其他好文 时间:
2016-06-12 02:28:31
阅读次数:
151