文件查看主要有以下命令cat、more、less、head、tailcat命令:是一个文本文件查看和连接工具。从第一个字节开始正向查看文件的内容,适用于小文件以第一行开始,显示没有停顿,文件较长的话,只能看到最后一页内容在屏幕上当文件内容过多时,就带来一个问题,因为文本在屏幕上迅速地闪过,用户来不及...
分类:
系统相关 时间:
2014-07-07 20:30:16
阅读次数:
354
1. document.write( " "); 输出语句2.JS中的注释为//3.传统的HTML文档顺序是:document- >html- >(head,body)4.一个浏览器窗口中的DOM顺序是:window- >(navigator,screen,history,location,do.....
分类:
编程语言 时间:
2014-07-07 19:28:48
阅读次数:
316
题目:Given a linked list, remove the nth node from the end of list and return its head.For example,Given linked list: 1->2->3->4->5, and n = 2.After rem...
分类:
其他好文 时间:
2014-07-07 19:01:42
阅读次数:
155
Problem Description:Sort a linked list using insertion sort.Solution: 1 public class Solution { 2 public ListNode insertionSortList(ListNode head)...
分类:
其他好文 时间:
2014-07-07 16:57:55
阅读次数:
117
1、httpclient总结:一、基本知识准备(1)构建URI工具类,URIBuilder(2)HttpResponse类,可以添加Header信息 获取所有Header信息的方法,调用HeaderIterator接口HeaderIterator it = response.head...
分类:
其他好文 时间:
2014-07-07 16:50:50
阅读次数:
243
Problem Description:Sort a linked list inO(nlogn) time using constant space complexity.Solution: 1 public ListNode sortList(ListNode head) { 2 ...
分类:
其他好文 时间:
2014-07-07 16:48:00
阅读次数:
238
昨天看了Head First设计模式这本书,这本书写得真不错,简单易懂。我是第一次接触设计模式,觉得这东西挺高端大气的,和别人侃的时候,我用啥XX设计模式,是不是觉得很屌的感觉?哈哈,开玩笑了,主要是学习前人的经验,这样让自己的代码设计更加规范。现在就记录一下我学到的第一个设计模式---Obse.....
分类:
其他好文 时间:
2014-07-07 16:16:24
阅读次数:
276
class Solution {public: ListNode *reverseBetween(ListNode *head, int m, int n) { if (head == NULL || n 0) { pre = cur; ...
分类:
其他好文 时间:
2014-06-30 15:36:26
阅读次数:
148
1.《大话设计模式》
2.《Head First设计模式》
3.《设计模式:可复用面向对象软件的基础》...
分类:
其他好文 时间:
2014-06-30 07:35:10
阅读次数:
180
我使用的环境是Win7,开始学习PHP和MySQL,并且买了本《Head First PHP & MySQL》,可以从Head First Labs官网获得HeadFirst系列书籍的相关信息和源代码。
1、下载XAMPP开发包
从XAMPP中文官网下载目前比较流行的PHP开发包,XAMPP是完全免费且易于安装的Apache发行版,其中包含MySQL、PHP和Perl。XAMPP适用于Wind...
分类:
数据库 时间:
2014-06-30 07:27:57
阅读次数:
302