Skip to content

Instantly share code, notes, and snippets.

@juniorjp
juniorjp / gist:9056643
Created February 17, 2014 18:53
Instantly invite all your friends to your facebook page
inputs = document.querySelectorAll("label.uiButton input");
for(var i=0; i<inputs.length;i++) { inputs[i].onclick(); }
# Nginx+Unicorn best-practices congifuration guide. Now with SPDY!
# We use latest stable nginx with fresh **openssl**, **zlib** and **pcre** dependencies.
# Some extra handy modules to use: --with-http_stub_status_module --with-http_gzip_static_module
#
# Deployment structure
#
# SERVER:
# /etc/init.d/nginx (1. nginx)
# /home/app/public_html/app_production/current (Capistrano directory)
#