ssh port forwarding example (port 8000)
ssh -C -N -L 8000:local_ip:8000 remote_ip
with compression.
dinsdag 17 februari 2009
woensdag 4 februari 2009
javascript nice urls
javascript nice urls
replaces spaces punctuation and some other crap.
str.replace ( /(_|\t| )+/g, "-" ).replace(/[^a-z0-9\-]|(^-)|(-$)/gi,"").toLowerCase ().replace ( /-+/g,"-");
replaces spaces punctuation and some other crap.
str.replace ( /(_|\t| )+/g, "-" ).replace(/[^a-z0-9\-]|(^-)|(-$)/gi,"").toLowerCase ().replace ( /-+/g,"-");
Abonneren op:
Posts (Atom)