col-xs-4? 超小屏幕(手机,小于 768px) col-sm-3? 小屏幕(平板,大于等于 768px) col-md-2 中等屏幕(桌面显示器,大于等于 992px) col-lg-1 大屏幕(大桌面显示器,大于等于 1200px)...
分类:
其他 时间:
2015-03-14 11:08:51
收藏:
0 评论:
0 赞:
0 阅读:
122
最近分别使用了centos7的gnome和kde,其中gnome桌面不美观,且占用出现了CPU和MEM占用不大,但是机器夫负载却很高,最后导致CPU温度过高自动关机;可能是驱动问题;使用KDE却是很好的解决了该问题;在使用kde安装和个性化环境设置过程如下:1、centos7kde安装时选择的是中文,..
分类:
其他 时间:
2015-03-14 11:08:11
收藏:
0 评论:
0 赞:
0 阅读:
1459
1.关于Activity的生命周期的几篇文章:
http://1.duoinfo.sinaapp.com/?p=330
http://1.duoinfo.sinaapp.com/?p=332
http://1.duoinfo.sinaapp.com/?p=335
http://1.duoinfo.sinaapp.com/?p=337
training课程给的图是这样的:
...
分类:
其他 时间:
2015-03-14 11:05:51
收藏:
0 评论:
0 赞:
1 阅读:
506
一、JVM调优基本流程
1、划分应用程序的系统需求优先级
2、选择JVM部署模式:单JVM、多JVM
3、选择JVM运行模式
4、调优应用程序内存使用
5、调优应用程序延迟
6、调优应用程序吞吐量
二、选择JVM部署模式:单JVM、多JVM
1、单JVM
优点:不需要管理多个JVM,降低管理成本; 应用程序消耗内存数量较少
缺点:存在单点故障,一个JVM失效时,整个系统...
分类:
其他 时间:
2015-03-14 11:05:20
收藏:
0 评论:
0 赞:
0 阅读:
393
使用hibernate+oracle数据库时报错,错误如下:
121 [main] INFO org.hibernate.cfg.Environment - Hibernate 3.3.1.GA
147 [main] INFO org.hibernate.cfg.Environment - hibernate.properties not found
162 [main] INFO org....
分类:
其他 时间:
2015-03-14 11:05:10
收藏:
0 评论:
0 赞:
0 阅读:
3561
观察者模式(Observer)完美的将观察者和被观察的对象分离开。举个例子,用户界面可以作为一个观察者,业务数据是被观察者,用户界面观察业务数据的变化,发现数据变化后,就显示在界面上。面向对象设计的一个原则是:系统中的每个类将重点放在某一个功能上,而不是其他方面。一个对象只做一件事情,并且将他做好。观察者模式在模块之间划定了清晰的界限,提高了应用程序的可维护性和重用性。
观察者设计模式定义了...
分类:
其他 时间:
2015-03-14 11:04:40
收藏:
0 评论:
0 赞:
0 阅读:
237
URAL 1987. Nested Segments(数学 & 线段树)...
分类:
其他 时间:
2015-03-14 11:04:20
收藏:
0 评论:
0 赞:
0 阅读:
405
中国行政区编码_邮政编码_区号编码 源代码下载地址:http://www.zuidaima.com/share/1550463699946496.htm...
分类:
其他 时间:
2015-03-14 11:03:20
收藏:
0 评论:
0 赞:
0 阅读:
394
EXCEL建立两个Y轴,很实用的功能。...
分类:
其他 时间:
2015-03-14 11:03:10
收藏:
0 评论:
0 赞:
0 阅读:
342
http://poj.org/problem?id=1143
Description
Christine and Matt are playing an exciting game they just invented: the Number Game. The rules of this game are as follows.
The players take turns ch...
分类:
其他 时间:
2015-03-14 11:03:00
收藏:
0 评论:
0 赞:
0 阅读:
527
Problem Description
Cowl is good at solving math problems. One day a friend asked him such a question: You are given a cube whose edge length is N, it is cut by the planes that was paralleled to its ...
分类:
其他 时间:
2015-03-14 11:02:10
收藏:
0 评论:
0 赞:
0 阅读:
339
Recently, researchers on Mars have discovered N powerful atoms. All of them are different. These atoms have some properties. When two of these atoms collide, one of them disappears and a lot of power ...
分类:
其他 时间:
2015-03-14 11:01:50
收藏:
0 评论:
0 赞:
0 阅读:
276
现在我是每天过的很充实啊...
分类:
其他 时间:
2015-03-14 11:01:30
收藏:
0 评论:
0 赞:
0 阅读:
67
------Java培训、Android培训、iOS培训、.Net培训、期待与您交流! -------
------Java培训、Android培训、iOS培训、.Net培训、期待与您交流! -------...
分类:
其他 时间:
2015-03-14 11:01:20
收藏:
0 评论:
0 赞:
0 阅读:
269
题目http://poj.org/problem?id=1157题目大意有f个花,k个瓶子,每个花放每个瓶子都有一个特定的美学值,问美学值最大是多少.注意,i号花不能出现在某大于i号花后面.问最大美学值是多少解题思路dp[i][j]表示将第i个花插入第k个瓶子的最大美学值.
状态转移方程为dp[i][j] = max(dp[i-1][(i-1)~(k-f+i-1)]) + value[i][j]代...
分类:
其他 时间:
2015-03-14 11:01:10
收藏:
0 评论:
0 赞:
0 阅读:
228
如何使Dialog像Activity一样随心所欲的使用?
android中的Dialog像是寄生在Activity中,在弹出Dialog时,因受到系统风格定义,导致Dialog怎么也不能如意,那么今天就来探讨下Dialog的使用。
要完全自定义一个Dialog,那么就不要extends AlertDialog,我们在使用Activity时,先准备一个布局文件xxx.xml,所有控件大小...
分类:
其他 时间:
2015-03-14 11:01:00
收藏:
0 评论:
0 赞:
0 阅读:
265
题目描述:
输入两个整数序列,第一个序列表示栈的压入顺序,请判断第二个序列是否为该栈的弹出顺序。假设压入栈的所有数字均不相等。例如序列1,2,3,4,5是某栈的压入顺序,序列4,5,3,2,1是该压栈序列对应的一个弹出序列,但4,3,5,1,2就不可能是该压栈序列的弹出序列。
import java.util.Stack;
public class Stk {
public st...
分类:
其他 时间:
2015-03-14 11:00:50
收藏:
0 评论:
0 赞:
0 阅读:
323
获取系统设置状态
我们可以通过Settings.System类来获取到一些系统设置的状态,所以我们可以通过以下代码来获取系统的状态,比如ACCELEROMETER_ROTATION
等,不过有一点要注意的就是,Android的ROM太多了,不同的厂商可能会直接改掉Android的实现,然后自己实现一套,然后,就崩了。
所以在真正处理的时候,我们需要去捕获异常,保证代码的健壮性。/**
* 获取...
分类:
其他 时间:
2015-03-14 11:00:00
收藏:
0 评论:
0 赞:
0 阅读:
226
Find the contiguous subarray within an array (containing at least one number) which has the largest sum.
For example, given the array [?2,1,?3,4,?1,2,1,?5,4],
the contiguous subarray [4,?1,2,1]...
分类:
其他 时间:
2015-03-14 10:59:50
收藏:
0 评论:
0 赞:
0 阅读:
149
打算从200开始刷到现在的 谢谢思路就好了
A:和上一次输入不一样就ans++
B:每次找两个最大的匹配一些
C:假设现在电阻为x/y 串连时变为(x+y)/y 并联时变成 y/(x+y) 可见同样消耗1个电阻 形成的新值互为倒数 这个结论允许我们将电阻值的分子分母随意换(不影响使用电阻总数) 明显电阻值>1的时候 我们采取串联一定整数的电阻 因此可以得出方法 电阻>1时...
分类:
其他 时间:
2015-03-14 10:59:40
收藏:
0 评论:
0 赞:
0 阅读:
304