学习资料
muyan9
这个作者很懒,什么都没留下…
展开
-
linux中程序/脚本启动方式小结
linux的普及越来越高,我们在linux执行的任务也越来越多了,相对于windows开发,个人觉得linux的命令执行方式及shell脚本更加优雅灵活方便快捷(与传统cmd对比,powershell没有接触过,也就没做过对比),由于个人习惯的不通,任务的启动方式也就有了很多的差异,现在就我知道的若干种启动方式,挨个拎出来晒晒太阳吧。 顺便前说一下PATH。控制台输入命令后回车,会按照PAT原创 2013-04-11 01:43:16 · 2065 阅读 · 0 评论 -
python中eval, exec, execfile,和compile [转载]
python中eval, exec, execfile,和compile [转载] eval(str [,globals [,locals ]])函数将字符串str当成有效Python表达式来求值,并返回计算结果。 同样地, exec语句将字符串str当成有效Python代码来执行.提供给exec的代码的名称空间和exec语句的名称空间相同. 最后,execfile(filena转载 2013-05-09 09:43:34 · 2201 阅读 · 0 评论 -
linux/centos下eclipse+pydev编辑时出现卡顿现象的解决
更改一个设置就好了: 具体产生的原因还没有深究原创 2014-11-06 00:41:11 · 1327 阅读 · 0 评论 -
tcpdump过滤http的get/post,无视tcp的option
(src host localip and not tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x47455420) and (src host localip and not tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x504f5354)原创 2015-04-21 10:18:18 · 3799 阅读 · 0 评论 -
Linux的capability深入分析
http://www.cnblogs.com/iamfy/archive/2012/09/20/2694977.html 一)概述: 1)从2.1版开始,Linux内核有了能力(capability)的概念,即它打破了UNIX/LINUX操作系统中超级用户/普通用户的概念,由普通用户也可以做只有超级用户可以完成的工作. 2)capability可以作用转载 2017-02-26 15:28:48 · 1497 阅读 · 0 评论 -
ngxin 访问XX开头的转发方法
location / { root html; index index.html index.htm; if ( $request_uri ~ "^\/amp") { proxy_pass http://www.baidu.com; } }...原创 2018-05-25 17:27:55 · 1440 阅读 · 0 评论