-C 压缩数据传输
-f 后台登录用户名密码
-N 不执行shell[与 -g 合用]
-g 允许打开的端口让远程主机访问
-L 本地端口转发
-R 远程端口转发
-p ssh 端口
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
| /* | |
| Migrated to: https://github.com/jdarling/Object.observe | |
| Tested against Chromium build with Object.observe and acts EXACTLY the same, | |
| though Chromium build is MUCH faster | |
| Trying to stay as close to the spec as possible, | |
| this is a work in progress, feel free to comment/update | |
| http://wiki.ecmascript.org/doku.php?id=harmony:observe |
| <!-- | |
| How to use Google JS Visualization Api offline, step by step | |
| this approach might work with other libraries loaded with google.load, after all it's still JavaScript!!! | |
| --> | |
| <!DOCTYPE html> | |
| <html> |
Here are a list of headless browsers that I know about:
| #!/usr/bin/env python | |
| """Simple HTTP Server With Upload. | |
| This module builds on BaseHTTPServer by implementing the standard GET | |
| and HEAD requests in a fairly straightforward manner. | |
| """ |
| # /etc/nginx/nginx.conf | |
| log_format main '{' | |
| '"remote_addr": "$remote_addr",' | |
| '"remote_user": "$remote_user",' | |
| '"time_local": "$time_local",' | |
| '"request": "$request",' | |
| '"status": "$status",' | |
| '"body_bytes_sent": "$body_bytes_sent",' | |
| '"http_referer": "$http_referer",' |
| http { | |
| proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=one:8m max_size=3000m inactive=600m; | |
| proxy_temp_path /var/tmp; | |
| include mime.types; | |
| default_type application/octet-stream; | |
| sendfile on; | |
| keepalive_timeout 65; | |
| gzip on; | |
| gzip_comp_level 6; |
| var translate = function(word) { | |
| var array = word.split(''); | |
| var vowels = ['a','e','i','o','u']; | |
| var newWord = ''; | |
| for(var i = 0; i < vowels.length-1; i++) { | |
| for(var y = 0; y < word.length-1; y++) { | |
| if(word[y] === vowels[i]) { | |
| for(var x = y; x < word.length; x++){ | |
| newWord = newWord + word[x]; | |
| } |
| # to run: | |
| # 1. npm install -g coffee-script | |
| # 2. npm install http-proxy | |
| # 3. coffee kittenproxy.coffee | |
| # 4. change browser proxy settings to <thishost>:8080 | |
| httpProxy = require("http-proxy") | |
| address = process.argv[2] or "0.0.0.0" | |
| port = process.argv[3] or 8080 |