码迷,mamicode.com
首页 >  
搜索关键字:down    ( 10200个结果
物理电脑+Oracle VM virtualbox+centos7+NAT的网卡重复的reset apdater(down/up)现象可能原因
这几天,在vm box上运行centos时,突然出现了异常有规律的网卡,正常使用1,2分钟又关闭重置又正常的重复性的现象, 看着这个现象,回想现象发生前可能相关的几个操作: 1 使用yum update升级了centos的内核:经过测试,跟内核无关 2 怀疑centos系统内部的通信数据量大,导致驱动受不了?关闭了所有的非系统性的服务,还是照样; 3 怀疑驱动不稳定,切换成其它网卡还是不行...
分类:数据库   时间:2015-02-15 18:06:53    阅读次数:244
POJ3666---Making the Grade
DescriptionA straight dirt road connects two fields on FJ’s farm, but it changes elevation more than FJ would like. His cows do not mind climbing up or down a single slope, but they are not fond of an...
分类:其他好文   时间:2015-02-14 15:02:57    阅读次数:157
CentOS6.6 32位 Minimal版本纯编译安装Nginx Mysql PHP Memcached
CentOS是红帽发行的免费的稳定Linux版本,在企业服务器应用中都会选用Minimal版本,因为Minimal是CentOS”最纯洁”的服务器系统,因为Minimal版本连vim编辑器都需要自己安装,Minimal组件最少,无桌面,扩展灵活,非常适合做服务器。1.配置网卡Minimal版本的CentOS被安装后,网卡驱动默认是down状态,需要手动激活,在连接好网线后需要执行命令: [root...
分类:数据库   时间:2015-02-14 06:34:52    阅读次数:403
[LeetCode]Maximum Depth of Binary Tree
Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node. 这道题是求一个二叉树的深度。题目中对深度的定义是:从根节点到叶节点依次经...
分类:其他好文   时间:2015-02-13 21:15:47    阅读次数:156
ADT中,运行Android程序出错:The connection to adb is down, and a severe error has occured
原文地址:http://www.crifan.com/android_adt_the_connection_to_adb_is_down__and_a_severe_error_has_occured/【总结】出现The connection to adb is down, and a severe...
分类:移动开发   时间:2015-02-13 21:04:59    阅读次数:163
局版的图片上传和预览
局版的图片上传的时候需要上传到var url_path_suffix = "down/Material/";图片预览的时候是var url_path_img = "thumb/Material/";大家直接引用base-config.js中的变量拼接串就可以,STATIC_IMAGE_PRE + u...
分类:Web程序   时间:2015-02-13 18:05:25    阅读次数:201
WebStorm快捷键收集
Ctrl+/或Ctrl+Shift+/注释(//或者/*…*/)Shift+F6重构-重命名Ctrl+X删除行Ctrl+D复制行Ctrl+G查找行Ctrl+Shift+Up/Down代码向上/下移动。F2或Shift+F2高亮错误或警告快速定位写代码,按Tab生成代码选中文本,按Ctrl+Shift...
分类:Web程序   时间:2015-02-13 16:07:55    阅读次数:195
Android View的onTouchEvent和OnTouch区别
我们可以通过重写onTouchEvent方法来处理诸如down move up的消息: [java] view plaincopyprint? public class TestButton extends Button {          public TestButton(Context context) {           su...
分类:移动开发   时间:2015-02-12 18:29:29    阅读次数:198
BigDecimal四舍五入和转double遇到的问题,结果想不明白,是bug呢,还是另有深意,望高手指点
第一组:结果是0.030.020.020.02不明白为什么?doubleamount=0.03;amount=newBigDecimal(amount).setScale(2,BigDecimal.ROUND_UP).doubleValue();System.out.println(amount);amount=newBigDecimal(amount).setScale(2,BigDecimal.ROUND_DOWN).doubleValue();System.out.print..
分类:其他好文   时间:2015-02-11 18:56:08    阅读次数:143
62.Unique Paths (法1递归-动态规划法2数学公式)
A robot is located at the top-left corner of a m x n grid(marked 'Start' in the diagram below). The robot can only move either down or right at any point in time. Therobot is trying to reach the bott...
分类:其他好文   时间:2015-02-10 23:18:37    阅读次数:390
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!