码迷,mamicode.com
首页 >  
搜索关键字:head tail ‘tail -f’ ‘tail -f’    ( 36072个结果
磁盘组成
CHS:柱面,磁头,扇区的简写 LBA:logic block address 一个硬盘包含磁盘,磁头,磁道,扇区,柱面 硬盘:hard drive 磁盘:platter 磁头:head 磁道:track 扇区:sector 柱面:cylinder 扇区是最小的存储单位,一般是512 bytes。 Unix 中专有存储...
分类:其他好文   时间:2014-06-07 02:01:54    阅读次数:404
TCP源码分析--tcp_write_xmit
版本:2.6.33.4 发送端 tcp_write_xmit 函数 /* This routine writes packets to the network. It advances the * send_head. This happens as incoming acks open up the remote * window for us. * * LARGESEND no...
分类:其他好文   时间:2014-06-05 04:15:28    阅读次数:236
LeetCode: Plus One [067]
【题目】 Given a non-negative number represented as an array of digits, plus one to the number. The digits are stored such that the most significant digit is at the head of the list. 【题意】 给定一个非负整数,这个表示为一个数字数组。计算这个整数加1后的值。 【思路】 从低位到高位依次相加,注意处理进...
分类:其他好文   时间:2014-06-05 01:24:44    阅读次数:250
微信更改分享图片和分享链接的方法
1.将以下代码加到head头里2.更改window.imgUrl的值(图片地址)3.更改link,title,desc这些参数
分类:微信   时间:2014-06-03 09:15:45    阅读次数:603
linux 查看占用内存/CPU最多的进程
可以使用一下命令查使用内存最多的5个进程ps -aux | sort -k4nr | head -n 5或者top (然后按下M,注意大写)可以使用一下命令查使用CPU最多的5个进程ps -aux | sort -k3nr | head -n 5或者top (然后按下P,注意大写)
分类:系统相关   时间:2014-06-03 07:30:14    阅读次数:301
jQuery 完成ajax传送jsonObject数据,并在后台处理
1.js文件封装的几个js工具 //兼容ie if (typeof JSON == 'undefined') { $("head").append($("")); } /** * 工具对象,包括所有的公共方法。 */ var giftShopTool = { dialogId : "giftDialog", jsloadArray : [], // 关闭同意弹窗 closeHDdi...
分类:Web程序   时间:2014-06-03 03:52:07    阅读次数:382
Head First 之 Design Pattern(一):Strategy Pattern && 初入设计模式殿堂
阅读《Head First 设计模式》笔记...
分类:其他好文   时间:2014-06-03 02:17:56    阅读次数:217
Head First 之 Design Pattern(二):Observer Pattern
观察者模式是最常用的设计模式之一,【对象之间多对一的依赖关系,当一个对象发生变化时,其会通知所有依赖它的对象】。拿订阅报纸和发行报社打比方,报社采集到news制作新的报纸,派送给订阅的客户,以此把最新的消息告知客户。所以, 出版社 + 订阅者 = 观察者模式。 这种一对多的关系,也即“一个”主题、“多个”观察者能够使得观察者仅仅了解主题推送的消息但不知晓其中的细节,而主题握有观察者列表...
分类:其他好文   时间:2014-06-02 23:33:05    阅读次数:376
每日算法之二十二:Swap Nodes in Pairs
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 algorithm should use only constant space....
分类:其他好文   时间:2014-06-01 10:41:23    阅读次数:242
在ASP.NET程序中用程序动态向<head>便签里添加<meta>标签
在使用ASP.NET框架开发:若要在Html网页中加入设置,但想通过程序动态加入:1、如果是ASP.NET4.0以前版本:使用HtmlMeta类加入设置://首先我们应该创立HtmlMeta类实体(命名空间:System.Web.UI.HtmlControls)HtmlMeta meta1=new ...
分类:Web程序   时间:2014-05-31 19:34:17    阅读次数:330
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!