码迷,mamicode.com
首页 >  
搜索关键字:cp mv cat head    ( 57883个结果
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
6410 selected device is not a touchscreen I understand
之前移植了6410后,就没有测试过,今天编写程序烧进去后运行才发现触摸屏不起作用。 于是试了下系统里tslib的bin文件夹下的命令: ./ts_caliberate   结果总是报错:selected device is not a touchscreen I understand 先去飞凌的官方论坛逛了一圈,好多人有这个问题,但没一个解决办法有效。 先用cat命令试了下几个event...
分类:其他好文   时间:2014-06-05 01:04:27    阅读次数:321
mac命令行安装htop
curl -O http://themainframe.ca/wp-content/uploads/2011/06/htop.zip unzip htop.zip sudo mv htop /bin rm htop.zip...
分类:其他好文   时间:2014-06-04 23:28:18    阅读次数:961
nginx平滑升级
转载请注明转自:  存储系统研究, 本文固定链接: nginx平滑升级 1. nginx平滑升级 当我们开发了一个新的nginx模块,需要升级nginx binary时,需要进行以下的步骤: a)         替换老的nginx binary [root@lg-miui-file-mfs09 sbin]# mv nginx nginx.old [root@lg-miui-file-mfs09...
分类:其他好文   时间:2014-06-03 04:57:12    阅读次数:269
释放Ubuntu/Linux系统cache,增加可用内存空间
某台式机Ubuntu内存共4G,但free的内存只有100M 注意用top命令查看才能看到真正的free内存。下面是查看真正内存使用量的另一种命令。 watch -n 1 cat /proc/meminfo 搜索发现有三种方法都可以达到释放内存的目的。 watch -n 1 free -m or: free -m 上述这种方法只增加了几十M。 sudo sysctl -w vm.d...
分类:系统相关   时间:2014-06-03 04:01:26    阅读次数:391
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
linux下ssh面密码登录设置
ssh 免密码登录 1. ssh-keygen -t rsa    三次回车 2. cat ~/.ssh/id_rsa.pub >>  ~/.ssh/authorized_keys 3. 验证 ssh localhost 如果不需要密码登录,表示设置成功 4. 面密码登录其他机器    ssh-copy-id -i hostname    注意:hostname必须在...
分类:系统相关   时间:2014-06-03 02:45:49    阅读次数:353
Head First 之 Design Pattern(一):Strategy Pattern && 初入设计模式殿堂
阅读《Head First 设计模式》笔记...
分类:其他好文   时间:2014-06-03 02:17:56    阅读次数:217
在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
迷上了代码!