I am trying to resize a logical volume on CentOS7 but am running into the following error: solution: After a bit of trial and error... as mentioned in ...
分类:
其他好文 时间:
2017-02-28 13:28:45
阅读次数:
470
Amoeba简介:amoeba是一个以MySQL为底层数据存储,并对应用提供MySQL协议接口的proxy。它集中地响应应用的请求,依据用户事先设置的规则,将SQL请求发送到特定的数据库上执行。基于此可以实现负载均衡、读写分离、高可用性等需求。与MySQL官方的MySQLProxy相比,作者强调的是am..
分类:
数据库 时间:
2017-02-27 14:11:47
阅读次数:
499
初始化优先级:静态代码块>>main方法>>构造代码块>>构造函数 控制台输出: go to >>>>>(CodeBlock--static{})I am CodeBlock static code block! go to >>>>>(TestCodeBlock--static{})I am Te ...
分类:
其他好文 时间:
2017-02-26 20:59:18
阅读次数:
173
4004: [JLOI2015]装备购买 Description 脸哥最近在玩一款神奇的游戏,这个游戏里有 n 件装备,每件装备有 m 个属性,用向量zi(aj ,.....,am) 表示 (1 <= i <= n; 1 <= j <= m),每个装备需要花费 ci,现在脸哥想买一些装备,但是脸哥很 ...
分类:
其他好文 时间:
2017-02-23 11:10:25
阅读次数:
241
有n个无区别的物品,将它们划分成不超过m组,求出划分方法数模M的余数 1<=m<=n<=1000 2<=M<=10000 这样的划分称作n的m划分 dp[i][j]:j的i划分的总数 考虑n的m划分a1,a2...am 如果对于每个i都有ai>0,那么{ai-1}就对应了n-m的m划分。如果存在ai ...
分类:
其他好文 时间:
2017-02-22 19:28:32
阅读次数:
202
CRAN02 - Roommate Agreement Leonard was always sickened by how Sheldon considered himself better than him. To decide once and for all who is better am ...
分类:
其他好文 时间:
2017-02-21 01:15:31
阅读次数:
213
目前测启动时间用得较多的方法: 1.am start -W 只获取activity的启动时间 -W:等目标Activity启动后才返回 -n:用于设置Intent的Component 2.高速相机 以真实的用户体验去获取应用的启动时间 第一种可能得不到我们想要的。 第二种过于依赖硬件设备 冷启动:这 ...
分类:
其他好文 时间:
2017-02-21 01:01:12
阅读次数:
133
<!--?xml version="1.0" encoding="UTF-8"?--> 修改spec文件的version: git commit -am"version 0.1.1" git push origin master -u git tag 0.1.1 git push --tags 在包 ...
分类:
移动开发 时间:
2017-02-20 15:01:36
阅读次数:
289
1009: [HNOI2008]GT考试 Description 阿申准备报名参加GT考试,准考证号为N位数X1X2....Xn(0<=Xi<=9),他不希望准考证号上出现不吉利的数字。他的不吉利数学A1A2...Am(0<=Ai<=9)有M位,不出现是指X1X2...Xn中没有恰好一段等于A1A2 ...
分类:
其他好文 时间:
2017-02-18 00:42:13
阅读次数:
176
将一个字符串str的内容颠倒过来,并输出。str的长度不超过100个字符。 如:输入“I am a student”,输出“tneduts a ma I”。 ...
分类:
其他好文 时间:
2017-02-17 14:45:32
阅读次数:
157