usr/bin/perl Makefile.PL PREFIX=‘/usr/local/git‘ INSTALL_BASE=‘‘ --localedir=‘/usr/local/git/share/locale‘ Can‘t locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/loc...
分类:
其他好文 时间:
2015-07-23 18:00:50
阅读次数:
665
在三个数组中各选一个数,判断相加是否能得到目标数。一开始想暴力发现impossible~联系到二分,经过学长指点才将前两个数组合并,将前两个数组所有可能的和保存在新数组中,再根据第三个数组,二分查找新数组以判断是否有所需的数#include"cstdio"#include"cstring"#incl...
分类:
其他好文 时间:
2015-07-23 17:13:40
阅读次数:
89
MOS上有好多文章,基本上都跑不了下面三点:
Setup can make a big difference
1. Network topology and load
2. NFS mount options(选择合适的挂载选项)
3. TCP configuration(配置合适的MTU,TCP window size,TCP congestion window sizes)
...
分类:
数据库 时间:
2015-07-23 10:41:28
阅读次数:
161
错误提示./check_oracle_health--connectorcl--modeconnection-timeCRITICAL-cannotconnecttoorcl.install_driver(Oracle)failed:Can‘tlocateDBD/Oracle.pmin@INC(@INCcontains:./usr/local/lib64/perl5/usr/local/share/perl5/usr/lib64/perl5/vendor_perl/usr/share/perl5/ve..
分类:
数据库 时间:
2015-07-23 00:54:52
阅读次数:
149
关键字:QT,QComboBox,QLineEdit,QListViewOS:Windows 7问题链接:QComboBox: Can we make the entire combobox clickable, not just the dropdown button (arrow) itself...
分类:
其他好文 时间:
2015-07-22 22:20:35
阅读次数:
5972
返回上一个页面的方法,不全,返回并刷新很管用。history.go();history.back();history.forward();mysql创建唯一性索引:Alter table user add unique(username);返回并刷新:function goback(){ wind....
分类:
其他好文 时间:
2015-07-22 20:42:10
阅读次数:
115
最近需要实现通过TCP/IP远程IAP在线更新功能,忙了2周终于在原有嵌入式服务器的基础上实现了该功能,这里就记录下实现的过程。 IAP又称在应用编程,其实说简单点就是实现不需要jlink,仅通过芯片自带接口如CAN,USB,Ethernet即可实现下载功能.以我用过的stm32f207芯片为...
分类:
其他好文 时间:
2015-07-22 20:20:52
阅读次数:
361
在真机上测试时用一会就出现如下信息,且应用挂掉。
Restore the connection to "“XXX”的 iPod" and run "XXX" again, or if "XXX" is still running, you can attach to it by selecting Debug > Attach to Process > XXX.
这是因为应用程序突然消耗了...
分类:
移动开发 时间:
2015-07-22 16:06:57
阅读次数:
397
The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizontally or vertically neighboring. The same letter cell may not be used more than once.
...
分类:
其他好文 时间:
2015-07-22 14:41:11
阅读次数:
178
Tiling
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 8128
Accepted: 3941
Description
In how many ways can you tile a 2xn rectangle by 2x1 or 2x2 tiles?
...
分类:
其他好文 时间:
2015-07-22 13:18:15
阅读次数:
101