- 博客(11)
- 资源 (2)
- 收藏
- 关注
原创 ubuntu dns解析无效的一个问题解决
如果ubunt的dns解析怎么弄都无效的话,可以看看/etc/nsswitch.conf 文件。其中hosts 项应该为hosts: files mdns4_minimal [NOTFOUND=return] dns原来的只有:hosts: files只读hosts文件,不进行dns解析了。
2015-07-03 10:35:30
1482
原创 查看目录下所有文件类型
find|awk -F"/" '{print $NF}'|grep "\."|awk -F"." '{print $NF}'|sort|uniq
2015-05-29 10:29:26
966
原创 ubuntu 开机自动启动
1.传统的启动位置:/etc/profile/etc/bash_bashrc.bash_bashrc.profile2.其他:/etc/rc.local ##可以启动没有界面的程序3..config/autostart/例如:-desktop:~/.config/autostart$ lsfirefox.desktop gnome-terminal.d
2014-12-09 21:30:59
673
原创 两条node.js调试shell
两条node.js调试shellfind ./ -name '*.js'|xargs sed -i "s/\(\w*\)\s=\sfunction.*{/&\nlogger.debug('\1');\n/"find ./ -name '*.js'|xargs sed -i "1s/^/var logger = require('pomelo-logger').getLogger('pome
2014-11-03 15:30:26
555
原创 boost的asio库安装
在使用boost 的asio库时,需要依赖与boost 的system库,因此,一定需要提前编译system库,编译过程如下:1.打开boost目录2../bootstrap.sh --with-libraries=system3../b24.sudo ./b2 install没想到运行的时候出现错误提示:error while loading shared lib
2014-11-03 15:30:06
1433
原创 google查找脚本
#!/bin/bashcat domain|nslookup|grep Address|cut -d":" -f2|sort|uniq>ipnmap -p443 --host-timeout 3 -iL ip
2014-10-13 20:08:02
1014
转载 how to interrupt kgdb after press continue
ctrl+C obviously unusable!true way:echo g > /proc/sysrq-triggerfrom :https://www.kernel.org/doc/htmldocs/kgdb/EnableKGDB.htmltotal record:In order to use kgdb you must activate
2014-03-10 00:36:29
864
原创 make an patch for dvrrdk demos
diff -Naur 旧的目录 新的目录 > patch文件或者diff -Naur 旧的文件 新的文件 > patch文件diff -Naur makerules makerules_backup >Dvrrdk_3_demo_release2debug.patchdiff -Naur makerules_backup/ makerules >Dvrrdk3_demo_debug2r
2012-12-31 09:11:48
505
原创 milw0rm的替代
http://www.expbase.com/http://www.securelist.com/en/advisories/http://www.hack0wn.com/http://securityreason.com/exploit_alerthttp://www.expl
2011-07-21 13:14:25
567
一种快速霍夫曼解码算法及其软硬件实现
2009-05-17
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人