-C 压缩数据传输
-f 后台登录用户名密码
-N 不执行shell[与 -g 合用]
-g 允许打开的端口让远程主机访问
-L 本地端口转发
-R 远程端口转发
-p ssh 端口
| # 生成 dhparam.pem 文件, 在命令行执行任一方法: | |
| # 方法1: 很慢 | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 | |
| # 方法2: 较快 | |
| # 与方法1无明显区别. 2048位也足够用, 4096更强 | |
| openssl dhparam -dsaparam -out /etc/nginx/ssl/dhparam.pem 4096 |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # | |
| # This is how I used it: | |
| # $ cat ~/.bash_history | python bash-to-zsh-hist.py >> ~/.zsh_history | |
| import sys | |
| import time | |
| // Add on element with overflow | |
| -webkit-mask-image: -webkit-radial-gradient(white, black); |
| // allows using all Jquery AJAX methods in Greasemonkey | |
| // inspired from http://ryangreenberg.com/archives/2010/03/greasemonkey_jquery.php | |
| // works with JQuery 1.5 | |
| // (c) 2011 Martin Monperrus | |
| // (c) 2010 Ryan Greenberg | |
| // | |
| // Usage: | |
| // $.ajax({ | |
| // url: '/p/', | |
| // xhr: function(){return new GM_XHR();}, |