A quick guide on how to setup Node.js development environment.
Previous versions of these install instructions had been tested with:
#Para quem tem que deletar muita msg das dead_queue, | |
#e tem que selecionar uma a uma quais msg deseja excluir. | |
#Seus problemas acabaram! abra a fila clique em visualizar e buscar e no console cole isso: | |
function find_and_delete(to_find){ | |
$("div[style='overflow:hidden;white-space:nowrap;']").each(function( index ) { | |
var text_to_validate = $(this).text() | |
var n = text_to_validate.search(to_find); | |
if (n > 0){ |
A quick guide on how to setup Node.js development environment.
Previous versions of these install instructions had been tested with:
Magic words:
psql -U postgres
Some interesting flags (to see all, use -h
or --help
depending on your psql version):
-E
: will describe the underlaying queries of the \
commands (cool for learning!)-l
: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)# Dist .sh initial | |
sudo apt-get install curl build-essential openssl libreadline6 libreadline6-dev git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison | |
# get rvm | |
curl -sSL https://rvm.io/mpapis.asc | gpg --import - | |
curl -L https://get.rvm.io | bash -s stable | |
source ~/.rvm/scripts/rvm | |
rvm requirements | |
# install last ruby version |