relative:可使top,right,bottom,left等相对于自身位置来进行偏移;若无则这些偏移都不会起作用absolute:寻找离自己最近position为relative或absolute定位的父节点,相对于它从padding开始的地方(即只从padding的左上角开始)进行定位,而非...
分类:
Web程序 时间:
2014-05-20 00:01:58
阅读次数:
447
vmstat 命令是常见的Linux性能监控工具,报告关于内核线程、虚拟内存、磁盘、陷阱和 CPU
活动的统计信息。由 vmstat
命令生成的报告可以用于平衡系统负载活动。系统范围内的这些统计信息(所有的处理器中)都计算出以百分比表示的平均值,或者计算其总和。vmstat使用一般vmstat工具的...
分类:
系统相关 时间:
2014-05-19 23:36:07
阅读次数:
602
1、css样式1.fpage{text-align:center;clear:both;padding-top:10px;}2.fpage
a{font-size:14px;border:1pxsolid#ccc;padding:3px;box-shadow:0px0px3px#bbb;}3.fpa...
分类:
Web程序 时间:
2014-05-19 10:27:42
阅读次数:
376
页面前面: 账号(昵称): 密码: 欢迎您:退出要引入的样式:#login { top:0;
left: 0; width:580px;height:25px;backgroun...
分类:
Web程序 时间:
2014-05-19 10:03:26
阅读次数:
395
【线上维护的资料】中供JVM Crash命令列表top -H -b -n 1 -p
$pidecho "ibase=10;obase=16;$pid" | bcgrep xx jstack.logps auxf | grep
$gidnetstat -nal | grep 1521lsof -i:1...
分类:
其他好文 时间:
2014-05-19 09:59:30
阅读次数:
420
代码SELECT A.*FROM( SELECT ROW_NUMBER()
OVER(PARTITION BY Host ORDER BY Host,count(EntranceURL) DESC) AS ROW, Host,
EntranceURL as PageURL ...
分类:
数据库 时间:
2014-05-19 09:12:59
阅读次数:
338
本文内容来自《pointers on C》栈的接口/* Interface for a stack
module */#define STACK_TYPE intvoid push(STACK_TYPE value);void
pop(void);STACK_TYPE top(void);in...
分类:
其他好文 时间:
2014-05-18 20:37:48
阅读次数:
509
Given a triangle, find the minimum path sum
from top to bottom. Each step you may move to adjacent numbers on the row
below.For example, given the fol...
分类:
其他好文 时间:
2014-05-18 02:11:19
阅读次数:
302
css样式 .remind span
{display:block;margin-top:-22px;} .remind a:hover {padding-top:22px;}.remind a
{float:left;overflow:hidden;}.remind{height:22px;lin...
分类:
Web程序 时间:
2014-05-16 00:28:02
阅读次数:
417
FreeBSD删除文件缓存,在负载方面FreeBSD比CentOS好很多很多。#!/bin/sh
if[!-s/tmp/dir.dat];then
find/home/www/web/cache-typed>/tmp/dir.dat
fi
mkdir/var/tmpdir
DIRS=`cat/tmp/dir.dat`
foriin$DIRS
do
load=$(top-n1|awk-F‘[.]+‘‘/averages/{print$6}‘)
#rsync--delet..
分类:
其他好文 时间:
2014-05-15 18:51:06
阅读次数:
314