之前为了方便,直接在服务器修改文件,然后点保存,但是问题来了,在顶部莫名奇妙多了一个空行,如图1图1原来在源代码编辑的代码如图2图2但是在FF或者Chrome外部样式却在body里面,而不是head里头,如图3图3再看看谷歌body里面却无端端多了一行空行,如图4图4同时,在FF查看源码却发现Hea...
分类:
其他好文 时间:
2014-07-31 15:58:56
阅读次数:
174
Description— The Brother of mine, the Head of Monastic Order wants to know tomorrow about the results long-term researches. He wants to see neither mo...
分类:
其他好文 时间:
2014-07-31 12:10:56
阅读次数:
371
Just corner case..class Solution {public: ListNode *reverseBetween(ListNode *head, int m, int n) { if(m == n) return head; ListNode *...
分类:
其他好文 时间:
2014-07-31 09:34:05
阅读次数:
245
#define T Stack_T
typedef struct T *T;
struct T {
int count;
struct elem {
void *x;
struct elem *link;
} *head;
}
const T stk //指针常量, const修饰struct T *。地址不能变。
const struct T *stk //指向常量的指...
分类:
其他好文 时间:
2014-07-30 20:56:14
阅读次数:
187
1 package leetcode; 2 3 public class DetectCycle { 4 public ListNode detectCycle(ListNode head) { 5 ListNode s=head; 6 ListNode ...
分类:
其他好文 时间:
2014-07-30 20:20:04
阅读次数:
243
1 package leetcode; 2 3 public class ReOrderList { 4 public void reorderList(ListNode head) { 5 if(head==null||head.next==null||head.ne...
分类:
其他好文 时间:
2014-07-30 20:05:54
阅读次数:
243
<!doctype html> <html> <head> ??? <meta charset="UTF-8"> ??? <title>Document</title> ??? <style type="text/css"> ???????? body{ ??????????? margin: 0; ?????????...
分类:
编程语言 时间:
2014-07-30 10:15:53
阅读次数:
271
功能说明:显示文本文件的前部的若干行命令格式:head[参数][<文件>…]常用参数:-n:显示前n行,不指定此参数显示前10行使用举例:$headfile$head-5file
分类:
其他好文 时间:
2014-07-30 03:30:43
阅读次数:
194
<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<htmlxmlns="http://www.w3.org/1999/xhtml">
<head>
<title>UntitledPage</title>
<scripttype="text/javascript"&..
分类:
编程语言 时间:
2014-07-30 03:28:24
阅读次数:
352
一、文件内容操作(/etc/passwd)1.cat 查看文件内容比较少的2.more 可以分页显示3.less 比more更全面4.head 默认显示文件头10行 -n数字显示头n行5.tail 默认显示文件尾10行 -n数字 显示尾n行 -f 实时查看6.wc 统计7.grep 输出包含指定字符串的行 -i 忽略大小写 -v 取反 ^root ..
分类:
系统相关 时间:
2014-07-30 03:26:53
阅读次数:
671