#vim:tabstop=4shiftwidth=4softtabstop=4
#Copyright(c)2011X.commerce,abusinessunitofeBayInc.
#Copyright2010UnitedStatesGovernmentasrepresentedbythe
#AdministratoroftheNationalAeronauticsandSpaceAdministration.
#AllRightsReserved.
#
#LicensedundertheApacheLic..
开始在这里记录在jd的点滴成长~~~3月20日入职,距离今天两个月还差5天,不过这段时间完成的东西还真不少,学习了很多的linux命令和Axure产品设计,比如:awk神器、sed、sort、head、tail、find、xargs、grep等等,收获很大~~~其中到今天为止已经完成了一个功能非常强...
分类:
其他好文 时间:
2014-05-16 01:03:10
阅读次数:
314
有两种方法来解决:一、 配置客户端 1 在 linux下的ssh命令:vim
/etc/ssh/ssh_config 然后找到里面的ServerAliveInterval
参数,如果没有你同样自己加一个就好了。参数意义相同,都是秒数,比如9分钟: ServerAliveInterval 540 .....
分类:
其他好文 时间:
2014-05-16 00:53:06
阅读次数:
308
查看端口是否启动: netstat -tunpl |grep :3218查看服务是否启动:
pstree |grep squid查看文件夹下有多少目录和文件: tree
分类:
系统相关 时间:
2014-05-16 00:42:54
阅读次数:
431
环境: "Ubuntu 13.10" 安装: apt-get install munin
munin-nodeapt-get install apache2配置:1. vim /etc/munin/munin.conf dbdir
/var/lib/muninhtmldir /var/c...
分类:
其他好文 时间:
2014-05-16 00:05:58
阅读次数:
455
sed -i ‘/^$/d’
filename在Linux下,用户如果想删除文件中的空行,一般使用“grep”,这里给出另外的几种方式: 1.使用“cat”命令,示例如下:#cat
filename|tr -s ‘\n’ 2.使用“sed”命令,示例如下:#sed ‘/^$/d’ filename ...
分类:
其他好文 时间:
2014-05-15 21:03:37
阅读次数:
212
在8.04.4环境下(其实我觉得跟环境无关,是我语句有问题):$dpkg-l|grep-ipythoniilibapache2-mod-python3.3.1-2build1Apache2modulethatembedsPythonwithinthiimoinmoin-common1.5.8-5.1ubuntu2.5PythoncloneofWikiWiki-commondataiipython2.5.2-0ubuntu1Aninteractivehigh-l..
分类:
数据库 时间:
2014-05-15 19:17:41
阅读次数:
677
如何使用MacVim1、在插入模式之外基本上来说,你应该尽可能少的呆在插入模式里面,因为在插入模式里面
VIM 就像一个“哑巴”编辑器一样。很多新手都会一直呆在插入模式里面,因为这样易于使用。但 VIM 的强大之处在于他的命令行模式!你会发现,在你越来越了解
VIM 之后,你就会花越来越少的时间使用...
分类:
系统相关 时间:
2014-05-15 17:30:03
阅读次数:
464
第一步vim/etc/sysctl.conf
net.ipv4.tcp_keepalive_time=1800
net.ipv4.tcp_keepalive_probes=5
net.ipv4.tcp_keepalive_intvl=15
net.core.rmem_max=167772160
net.core.wmem_max=167772160
net.ipv4.tcp_rmem=409687380167772160
net.ipv4.tcp_wmem=409665536167772160
net...
分类:
其他好文 时间:
2014-05-15 12:32:43
阅读次数:
248
Here is a brief introduction and package of
dotfiles for linux/unix user.I think there are enough informative description
about the package.Here is th...
分类:
编程语言 时间:
2014-05-15 12:01:37
阅读次数:
370