一、 //编码META标签是HTML语言HEAD区的一个辅助性标签,它位于HTML文档头部的标记和 标题 注意: 该META标签定义了HTML页面所使用的字符集为GB2132,就是国标汉字码。如果将其中的"charset=GB2312"替换成"BIG5",则该页面所用的字符集就是繁体中文Big5码。...
分类:
Web程序 时间:
2014-10-20 13:23:15
阅读次数:
316
Problem:Given a linked list, swap every two adjacent nodes and return its head.For example,Given1->2->3->4, you should return the list as2->1->4->3.Yo...
分类:
其他好文 时间:
2014-10-20 13:15:42
阅读次数:
195
系统 # uname -a # 查看内核/操作系统/CPU信息# head -n 1 /etc/issue # 查看操作系统版本# cat /proc/cpuinfo # 查看CPU信息# hostname # 查看计算机名# lspci -tv # 列出所有PCI设备# lsusb -tv # 列...
分类:
系统相关 时间:
2014-10-20 11:21:30
阅读次数:
264
Given a linked list, swap every two adjacent nodes and return its head.For example,Given 1->2->3->4, you should return the list as 2->1->4->3.Your alg...
分类:
其他好文 时间:
2014-10-20 09:49:08
阅读次数:
181
#include
#include
#define maxn 1010
int n, A[maxn], B[maxn];
bool vis[maxn];
int head[maxn], id;
struct Node {
int v, next;
} E[maxn * maxn];
void addEdge(int u, int v) {
E[id].v = v; E[id].nex...
分类:
其他好文 时间:
2014-10-20 08:45:10
阅读次数:
157
监控端工具ansible计划任务*/10****/dev/shm/history_log.sh构建脚本vim/dev/shm/history_log.sh#!/bin/bashfunctionhistory_log(){ localtime time=`date-d"-10min""+%F%H:%M"` tim=${time%[0-9]} remote_ab-htest-c"tail-300/tmp/all_history"|grep"$tim">>/tmp/All_hi..
分类:
系统相关 时间:
2014-10-20 02:18:43
阅读次数:
238
注意:javascript中的CSS样式与非javascript中的样式不同,在非javascript中的样式字体大小:font-size,而在javascript中则是fontSize.在非javascript中的样式中“-”改写为第二个字母大写<!DOCTYPEhtml><htmlxmlns="http://www.w3.org/1999/xhtml"><head>&l..
分类:
编程语言 时间:
2014-10-20 02:14:28
阅读次数:
202
<!DOCTYPEhtml><htmlxmlns="http://www.w3.org/1999/xhtml"><head><metahttp-equiv="Content-Type"content="text/html;charset=utf-8"/><title></title><styletype="text/css">#divQQ{width:500px;height:350px;border:2pxdotted#00..
分类:
编程语言 时间:
2014-10-20 02:13:56
阅读次数:
228
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="viewport" co...
分类:
Web程序 时间:
2014-10-19 18:42:55
阅读次数:
306
当然,我们也可以配合grep,只查看包含指定字符的log信息
[root@localhost ~]#tail -f file | grep --line-buffered your_pattern...
分类:
系统相关 时间:
2014-10-19 17:13:55
阅读次数:
290