今天2个笔记: 一、IE6浏览器下固定定位的实现; 二、IE6、IE7浏览器的hasLayout与普通浏览器(IE7+、Chrome、FirFox等)的BFC一、IE6浏览器下固定定位的实现: IE6浏览器下position:fixed固定定位测试 ...
分类:
其他好文 时间:
2014-07-18 16:03:41
阅读次数:
241
DescriptionGeorge took sticks of the same length and cut them randomly until all parts became at most 50 units long. Now he wants to return sticks to ...
分类:
其他好文 时间:
2014-07-18 15:28:57
阅读次数:
234
1. ListView须要设置adapter,它的item是通过adapter的方法getView(int position, View convertView, ViewGroup parent)获得的。2. ListView中仅仅有第一屏的item须要新建,它的引用会被存在RecycleBin对...
分类:
其他好文 时间:
2014-07-18 14:09:48
阅读次数:
192
刚才写zenktodo的时候,通过动态添加class的方式修改一个div的样式,总是不起作用。Css代码#navigator{height:100%;width:200;position:absolute;left:0;border:solid2#EEE;}.current_block{border...
分类:
Web程序 时间:
2014-07-18 12:22:24
阅读次数:
248
long sd=1345185923140L;
Date dat=new Date(sd);
GregorianCalendar gc = new GregorianCalendar();
gc.setTime(dat);
java.text.SimpleDateFormat format =...
分类:
编程语言 时间:
2014-07-18 11:29:20
阅读次数:
188
题目链接:http://code.bupt.edu.cn/problem/p/417/
裸的01背包,不懂的同学可以看下本博客转载的《背包九讲》
代码:
#include
#include
#include
#include
#define N 11111
using namespace std;
int a[N];
long long b[N];
long long dp[N];
...
分类:
其他好文 时间:
2014-07-18 11:13:19
阅读次数:
137
Description
Your task is to read a picture of a chessboard position and print it in the chess notation.
Input
The input consists of an ASCII-art picture of a chessboard with chess pieces on positio...
分类:
其他好文 时间:
2014-07-18 11:03:28
阅读次数:
305
[MySQL 5.6] MySQL 5.6 group commit 性能测试及内部实现流程http://mysqllover.com/?p=581尽管Mariadb以及Facebook在long long time ago就fix掉了这个臭名昭著的问题,但官方直到 MySQL5.6 版本才Fix掉...
分类:
数据库 时间:
2014-07-18 10:36:59
阅读次数:
380
alias ll='ls -alF'一:ls -a --all : do not ignore entries starting with . -A , --almost-all : do not list implied . and .. -l : use a long listing f...
分类:
系统相关 时间:
2014-07-18 10:36:44
阅读次数:
314
来源:http://blog.csdn.net/apull/article/details/5379819一、获取日历时间time_t是定义在time.h中的一个类型,表示一个日历时间,也就是从1970年1月1日0时0分0秒到此时的秒数,原型是:typedef long time_t; /* tim...
分类:
编程语言 时间:
2014-07-17 22:07:15
阅读次数:
507