随笔分类 -  Tools

1 2 下一页
弱网环境模拟工具
摘要:running on UNIX: comcast: https://github.com/tylertreat/comcast running on Windows: clumsy: https://github.com/jagt/clumsy running on network gateway: 阅读全文
posted @ 2017-03-05 13:18 eshizhan 阅读(731) 评论(0) 推荐(0) 编辑
SVN: bdb: BDB1538 Program version 5.3 doesn't match environment version 4.7
摘要:Q:bdb: BDB1538 Program version 5.3 doesn't match environment version 4.7A:svnadmin recover /var/whatever/xbt[via] 阅读全文
posted @ 2015-11-23 20:06 eshizhan 阅读(804) 评论(0) 推荐(0) 编辑
OpenSSL Command-Line HOWTO
摘要:OpenSSL Command-Line HOWTOThe openssl application that ships with the OpenSSL libraries can perform a wide range of crypto operations. This HOWTO prov... 阅读全文
posted @ 2015-11-23 14:03 eshizhan 阅读(4126) 评论(0) 推荐(0) 编辑
树莓派保卫战--防止SSH暴力破解
摘要:自己用树莓派搭建了个小server,用了很长时间了,最近查看log发现有很多SSH登陆失败,瞬间心就碎了,一直没关心小派的安全问题,怪我咯! 马上行动,首先研究下log:/var/log/auth.log记录了SSH登陆等权限安全信息,如何知道自己被攻击了呢?# grep sshd.\*Fai... 阅读全文
posted @ 2015-11-18 17:50 eshizhan 阅读(2534) 评论(2) 推荐(0) 编辑
Git Tips
摘要:撤销已经推送到远程仓库的最后一次提交,要小心这么操作,因为远程仓库还有别人在使用$ git reset --hard HEAD^$ git push -f origin master从仓库中提出一个文件夹作为单独的仓库$ lsORIG_REPO$ git clone ORIG_REPO NEW_RE... 阅读全文
posted @ 2015-04-09 20:50 eshizhan 阅读(236) 评论(0) 推荐(0) 编辑
Show Linux Package Sort By Size
摘要:ArchLinux:~ $ pacsyscleanDebian:~ $ sudo apt-get install debian-goodies~ $ dpigs -H 阅读全文
posted @ 2014-07-26 19:20 eshizhan 阅读(289) 评论(0) 推荐(0) 编辑
Linux监控工具 (Linux Monitor Tools)
摘要:最近发现几个好用的工具,顺便总结下。 Zabbix和Nagios属于重量级,企业级Service procps-ng: top, free, ps, pgrep, vmstat ... sysstat: iostat, sar ... lsof, iftop, mtr, htop nmon:从AIX 阅读全文
posted @ 2014-07-26 19:17 eshizhan 阅读(8181) 评论(0) 推荐(1) 编辑
The list of pre-build cross-compiler
摘要:Recently, I need compile toybox and busybox for my router.This is a list of cross-compiler for MIPS uClibc by google. http://www.uclibc.org/downloads/binaries/0.9.30.1/ http://landley.net/aboriginal/downloads/binaries/ https://github.com/KrabbyPatty/rtl819x-toolchain 阅读全文
posted @ 2014-04-06 18:29 eshizhan 阅读(254) 评论(0) 推荐(0) 编辑
git+gitolite+cgit+apache on Ubuntu
摘要:git+gitolite+cgit+apache on UbuntuJust record, do *NOT* copy-paste.git+gitolitesudo apt-get install git openssh-serversudo adduser gitsu - gitgit clon... 阅读全文
posted @ 2013-10-23 11:32 eshizhan 阅读(2952) 评论(0) 推荐(0) 编辑
git push 问题汇总
摘要:Q:git push时卡死这个问题找的快要放弃的时候...A:git config --global http.postBuffer 524288000[via]Q:git push 报错Counting objects: 4801, done.error: pack-objects died of... 阅读全文
posted @ 2013-07-08 21:48 eshizhan 阅读(2550) 评论(1) 推荐(0) 编辑
wubi arguments
摘要:wubi arguments:form here or here. I coundn't found out wubi src address, you can tell me, if you know. ;)parser.add_option("--quiet", action="store_const", const="quiet", dest="verbosity", help="run in quiet mode, only critical error messages are disp 阅读全文
posted @ 2013-04-01 16:47 eshizhan 阅读(253) 评论(0) 推荐(0) 编辑
vim paste indent problem
摘要:Q1:vim has autoindent, but it has some problem when your paste code from clipboard.A1:before your pasting::set pasteafter your pasting::set nopasteORuse:"+pORset pastetoggle=Q2:Copy & Paste on VIM by PuTTYA2::set mouse= 阅读全文
posted @ 2013-03-13 10:15 eshizhan 阅读(375) 评论(0) 推荐(0) 编辑
screen couldn't read /etc/profile.d/*
摘要:EDIT:~/.screenrcshell -$SHELL 阅读全文
posted @ 2013-03-06 09:39 eshizhan 阅读(291) 评论(0) 推荐(0) 编辑
Hg-Git on Debian problem
摘要:Q:Installing:sudo apt-get install mercurial-gitref: http://hg-git.github.com/EDIT:~/.hgrc[extensions]hgext.bookmarks =hggit = running:hg clone git://example.com/eg.gitabort: repository git://example.com/eg.git not found!What's happen?googling...a issue of 2 years ago:ref: https://github.com/scha 阅读全文
posted @ 2013-02-22 00:18 eshizhan 阅读(391) 评论(0) 推荐(0) 编辑
Tmux Show CPU Usage And Memory Usage
摘要:EDIT:~/.tmux.confset -g status-interval 2set -g status-right "#(vmstat -SM 1 2 | awk 'END {print \"cpu:\"100-$15\"%\" \" mem:\"512-$4-$5-$6\"M\"}')#[default] %R""512" replace your total memory, e.g. 1024, 2048. get by "free -m& 阅读全文
posted @ 2013-02-20 09:29 eshizhan 阅读(896) 评论(0) 推荐(0) 编辑
利用pscp建立“右键发送到”菜单
摘要:利用PuTTY中的pscp可以向主机传文件,但每次都要敲命令和密码很麻烦。今天突然想到一个方法,百试不爽。在PuTTY目录下建立toLinux.bat批处理(改成你的自己的配置):@echo offecho pscp -P 2222 -pw ******** %* eshizhan@localhost:downloadpausepscp -P 2222 -pw yourpassword %* eshizhan@localhost:download在C:\Users\eshizhan\AppData\Roaming\Microsoft\Windows\SendTo下建立指向toLinux.bat 阅读全文
posted @ 2012-10-24 12:09 eshizhan 阅读(246) 评论(0) 推荐(0) 编辑
分形图形神器XaoS
摘要:一看图边熟悉了吧,XaoS是生成分形图形的神器,帮助菜单下还有演示功能,有一段对分形图形的简介。详细描述:http://en.wikipedia.org/wiki/Mandelbrot_setP.S.有机会自己用Python实现下 阅读全文
posted @ 2012-10-09 10:35 eshizhan 阅读(677) 评论(0) 推荐(0) 编辑
证书格式简介及不同格式之间的转换方式
摘要:1.证书格式PEM 格式PEM格式通常用于数字证书认证机构(Certificate Authorities,CA),扩展名为.pem, .crt, .cer, and .key。内容为Base64编码的ASCII码文件,有类似"-----BEGIN CERTIFICATE-----" 和 "-----END CERTIFICATE-----"的头尾标记。服务器认证证书,中级认证证书和私钥都可以储存为PEM格式(认证证书其实就是公钥)。Apache和类似的服务器使用PEM格式证书。DER 格式DER格式与PEM不同之处在于其使用二进制而不是Base64编码 阅读全文
posted @ 2012-10-07 11:47 eshizhan 阅读(15619) 评论(2) 推荐(1) 编辑
VIM自动关闭预览提示窗口
摘要:当离开INSERT模式时,Preview窗口会自动关闭vimrc:" If you prefer the Omni-Completion tip window to close when a selection is" made, these lines close it on movement in insert mode or when leaving" insert modeautocmd CursorMovedI * if pumvisible() == 0|pclose|endifautocmd InsertLeave * if pumvisible() 阅读全文
posted @ 2012-09-29 14:46 eshizhan 阅读(1967) 评论(0) 推荐(0) 编辑
The vim syntax of systemd unit file
摘要:project:http://fedorapeople.org/gitweb?p=wwoods/public_git/vim-scripts.git;a=summaryadd two files/usr/share/vim/vim73/syntax/systemd.vimand/usr/share/vim/vimfiles/ftdetect/systemd.vim 阅读全文
posted @ 2012-07-19 00:01 eshizhan 阅读(300) 评论(0) 推荐(0) 编辑

1 2 下一页