模拟故障
cd /u01/oracle/oradata/orcl
删除所有的cqwr_TB文件
[oracle@txy orcl]$ rm -fr cqwr_TB_m* SQL> conn cqwr/cqwr
Connected.
SQL> select * from T_LTE_CARD_INFO...
分类:
数据库 时间:
2015-01-23 14:36:59
阅读次数:
210
--模拟CPU利用率过高的情况:SQL> select count(*) from T_LTE_CARD_INFO ; COUNT(*)---------- 3516598SQL> select * from T_LTE_CARD_INFO ;[oracle@txy ~]$ toptop - 11:...
分类:
数据库 时间:
2015-01-22 12:48:47
阅读次数:
248
ZLSwipeableViewA simple view for building card like interface likeTinderandPotluck. ZLSwipeableView was originally developed forMurmur.一个简单的view,效果类似于...
分类:
其他好文 时间:
2015-01-20 23:41:03
阅读次数:
268
Sound Card Filter APISound Card API - manage audio capture/play filters.Functionsstruct _MSFilter * ms_snd_card_create_reader (MSSndCard *obj)struct ....
[root@iZ62jhlmsZ ~]$ wget http://tieba.baidu.com/f?kw=%C9%BD%CE%F7 -O - | grep -Po 'href="(/p/[0-9]{10}).*?j_user_card.*?\>(.*?)\[ ]*([0-9]{1,2}:[0-9....
分类:
其他好文 时间:
2015-01-16 16:02:46
阅读次数:
144
概率方法
要求出和的期望,期望的基本定理, 和的期望 = 各部分期望的和。
E(sum) = E(1) + E(2) + ... + E(x) ;
每个数在b次中只有选到和没选到两种情况,在b次中被选到的概率p =1 - (1 - 1/x)^b ;
所以每个数的期望也是 i*( 1-(1-1/x)^b )
得到sum的期望。
#include
#include
#incl...
分类:
其他好文 时间:
2015-01-15 20:24:20
阅读次数:
185
Winner
Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u
Submit Status
Description
The winner of the card game popular in Berland "Berlogging" is determined ac...
CardTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 218Accepted Submission(s): 86Special JudgePro...
分类:
其他好文 时间:
2015-01-12 20:47:00
阅读次数:
179
通过http://localhost:7002/card/services/HelloWorld?wsdl访问到xml如下,说明接口写对了。2.静态调用 // 创建WebService客户端代理工厂 JaxWsProxyFactoryBean factory = new JaxWsProxyFa.....
分类:
编程语言 时间:
2015-01-12 18:58:10
阅读次数:
190
所有的组合中包含某个数的次数对于所有的数来说是相同的,那么就求出这个次数乘以所有数的和然后除以总的组合次数就可以了。开始想复杂了。。。
可以先预处理下,然后直接输出。
代码如下:
#include
#include
#include
#include
#include
#include
#include
#include
#include
using namespace s...
分类:
其他好文 时间:
2015-01-11 19:11:42
阅读次数:
155