(清除未浮动元素左右浮动) clear:both
(清除当前浮动的元素左右浮动) overflow:hidden overflow:auto zoom:1px(IE) _height: px;(IE6)...
分类:
其他好文 时间:
2014-07-06 11:42:05
阅读次数:
220
sql语句中BEGIN TRAN...COMMIT TRAN...
分类:
数据库 时间:
2014-07-06 11:07:13
阅读次数:
224
UVa和POJ都有这道题。
不同的是UVa要求区分单复数,而POJ不要求。
使用STL做会比较简单,这里纯粹使用指针做了,非常麻烦的指针操作,一不小心就错。调试起来还是非常费力的
本题理解起来也是挺费力的,要搞清楚如何模拟也不容易啊,读题要很仔细。
纯指针的操作挺快的吧。不过POJ 0ms,而UVa就0.2左右了。
三相链表:
1 只要有叠起来的牌,那么就使用一个down指针指向下面的...
分类:
其他好文 时间:
2014-07-06 10:43:43
阅读次数:
283
重烧整个系统:u-boot,内核,文件系统。
1.u-boot的烧写跟烧写裸板程序是一样的
2.烧写内核:开发板设为Nor启动,如果Nand Flash里也有u-boot的话,可以用Nand启动。dnw烧写,tftp烧写。
dnw:在菜单里输入k,然后使用dnw.exe发送uImage文件。
tftp:tftp
30000000 uImage
...
分类:
其他好文 时间:
2014-07-06 10:09:46
阅读次数:
203
import java.util.TimerTask;
/**
* 实现定时任务
*
*/
public class MyTimerTask extends TimerTask {
@Override
public void run() {
int num = 0;
while (num < 3) {
num++;
System.out.println(num ...
分类:
其他好文 时间:
2014-07-06 09:01:18
阅读次数:
219
insert Vodafone sim card,open the mms read report,when receive the read report,cann't download the message
Test steps:
1.insert Vodafone sim card
2.open the mms read report
3.send the mms successf...
分类:
其他好文 时间:
2014-07-06 08:36:10
阅读次数:
292
环境:VS2010
微软官方解释:
Visual C++ Concepts: Building a C/C++ ProgramCompiler Warning (level 1) C4627Error Message
”: skipped when looking for precompiled header use
While searching for the location w...
分类:
其他好文 时间:
2014-07-06 08:22:37
阅读次数:
169
执行启动nginx:/usr/local/nginx/sbin/nginx
错误:/usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
查找:[roo...
分类:
其他好文 时间:
2014-07-06 00:11:52
阅读次数:
205
题意:求/直线的对称矩阵最大多大
思路:DP 每个点就是了
#include
#include
#include
#include
using namespace std;
const int MAXN = 1200;
int dp[MAXN][MAXN];
char str[MAXN][MAXN];
int n;
int main() {
while (scanf("%d", ...
分类:
其他好文 时间:
2014-07-06 00:10:36
阅读次数:
291
一直在找svn回滚的方法,这个还是很实用的,屡试不爽阿
经常由于坑爹的需求,功能要切回到之前的某一个版本。有两种方法可以实现:
方法1: 用svn merge
1) 先 svn up,保证更新到最新的版本,如20;
2) 然后用 svn log ,查看历史修改,找出要恢复的版本,如10 。如果想要更详细的了解情况,可以使用svn diff -r 10:20 [文件或目录];
3...
分类:
其他好文 时间:
2014-07-05 22:50:24
阅读次数:
351