start new:
tmux
start new with session name:
tmux new -s myname
//var csv is the CSV file with headers | |
function csvJSON(csv){ | |
var lines=csv.split("\n"); | |
var result = []; | |
var headers=lines[0].split(","); | |
for(var i=1;i<lines.length;i++){ |
server { | |
listen 80; | |
listen [::]:80 default server ipv6only=on; | |
location / { | |
proxy_intercept_errors on; | |
proxy_pass http://localhost:9000; | |
} | |
error_page 500 502 503 504 /50x.html; |
#!/usr/bin/env ruby | |
# | |
# Proof-of-Concept exploit for Rails Remote Code Execution (CVE-2013-0156) | |
# | |
# ## Advisory | |
# | |
# https://groups.google.com/forum/#!topic/rubyonrails-security/61bkgvnSGTQ/discussion | |
# | |
# ## Caveats | |
# |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"