作为每天 ssh 到服务器的码农,以下 ssh 设置真是实用啊。
# http://blogs.perl.org/users/smylers/2011/08/ssh-productivity-tips.html
# If the network disappears your connection will hang, but if it then re-appears with 3 minutes it will resume working
TCPKeepAlive no
ServerAliveInterval 60
ServerAliveCountMax 3
# avoid not used GSSAPI authentication to faster up connection
GSSAPIAuthentication no
# share ssh session
ControlMaster auto
ControlPath /tmp/ssh_mux_%h_%p_%r
# keep alive for 2h
ControlPersist 2h
# scp on remote
ForwardAgent yes
详见:
http://blogs.perl.org/users/smylers/2011/08/ssh-productivity-tips.html
上个文章 comments 里的一个连接:
http://diogomelo.net/blog/10/ssh-tricks
[Quick-Tip: Reusing OpenSSH connections to the same host](https://revsys.com/writings/quicktips/ssh-faster-connections.html)
2013年5月20日星期一
2013年5月13日星期一
Emacs ROCKKKKKK!!!
今天找一个方法实现 Emacs 里面的自动保存,发现了 http://emacsredux.com/ 这个专门针对 Emacs 的技巧 Blog,是 Prelude 作者撰写的,找到了 N 个想要已久的功能。 最后在浏览 Prelude 介绍的时候,发现了 Ace Jump 这个让我瞬间内牛满面的插件,键盘党也可以快速跳转光标了,而且不是在 VIM 里!对 VIM 的 f 键早已经羡慕妒忌狠很久了,现在可以了了这心了。
还有 imenu... 爽翻了。
还有 imenu... 爽翻了。
2013年3月7日星期四
Ubuntu 12.10 一点优化Unity的小技巧
Ubuntu 的桌面使用了 Unity,因此可以通过 Win+数字 这样的快捷键来切换窗口。使用过程中会不小心的就按到 Win 键,这个时候弹出 Dash,经常卡住。在网上搜索了一下想禁用这个 Dash,没有什么结果,估计是没有办法的。不过找到一个可以加速这个 Dash Board 显示的技巧,安装 compiz config,设置 unity 的 Dash Blur 为 Static Blur,甚至 No Blur 就好了。原文连接如下:
http://askubuntu.com/questions/137091/how-to-disable-icon-fetching-in-dashboards-search-increasing-performance-idea
http://askubuntu.com/questions/137091/how-to-disable-icon-fetching-in-dashboards-search-increasing-performance-idea
订阅:
评论 (Atom)