Skip to content

Instantly share code, notes, and snippets.

Avatar

Reginaldo Junior juniorjp

View GitHub Profile
@juniorjp
juniorjp / gist:9056643
Created Feb 17, 2014
Instantly invite all your friends to your facebook page
View gist:9056643
inputs = document.querySelectorAll("label.uiButton input");
for(var i=0; i<inputs.length;i++) { inputs[i].onclick(); }
View 0. nginx_setup.sh
# 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)
#