Etiqueta English

Posts in english

Allow remote connections for PostgreSQL 9.3

Step 1 Edit file: nano /etc/postgresql/9.3/main/pg_hba.conf Add a line with your IP or mask, like for example: host all all 10.100.20.200/32 trust Step 2 Edit file: nano /etc/postgresql/9.3/main/postgresql.conf Uncomment line: listen_addresses = ‘localhost’ And replace localhost with * to listen… Seguir leyendo →

How to pass arguments to Node.js Async.series functions?

If you are trying to pass arguments to a Node.js async.series set of functions then this is going to help, I promise.

Imagine we have to methods in a Question-Answer website that we have to call before allowing a user to answer a Question.

We require the user to have enough reputation and also enough unicorns. Yeah, unicorns. This is an example, I can write anything here 😀

Node.js web scraping example

Today DigitalOcean.com will be reaching a million droplets created. The user who spins the millionth droplet and sends a tweet will receive 10.000$ in hosting credit! But I don’t want to waste time refreshing the page, nor come back and… Seguir leyendo →

Entradas siguientes »

© 2024 Salvatore — Funciona gracias a WordPress

Tema realizado por Anders NorenIr arriba ↑