Sunday, March 30, 2014
atlasofprejudice:

20 ways to slice the European continent from Atlas of Prejudice 2 by Yanko Tsvetkov.

atlasofprejudice:

20 ways to slice the European continent from Atlas of Prejudice 2 by Yanko Tsvetkov.

Sunday, February 24, 2013

tracking conversions on launchrock with analytics

Small snippet for tracking conversions on launchrock with analytics, before the :

<script type="text/javascript">
  function checkSignup() {
    if ($(".LR-site-share:visible").length == 0) {
        setTimeout(checkSignup, 100);
    } else {
        _gaq.push(['_trackPageview', '/landing/share/']);
    }
}
checkSignup();
</script>

then in analytics you can add a goal base on tracking the page /landing/share/

Cheers

Wednesday, January 16, 2013

Install postgresql 9.1 with utf-8 encoding on Ubuntu 12.04 LTS precise for django

Last set of commands use to install postgres with UTF8 encoding on ubuntu LTS

$ sudo apt-get install postgresql

$ sudo passwd postgres

$ su postgres

$ createuser -P django_login

$ psql

$ CREATE DATABASE mydb WITH ENCODING = ‘UTF-8’ LC_CTYPE = ‘en_US.utf8’ LC_COLLATE = ‘en_US.utf8’ OWNER django_login TEMPLATE template0;

$ \q

$ exit

$ sudo nano /etc/postgresql/9.1/main/pg_hba.conf

### change the lines with:
local   all             postgres                        peer
local   all             all                             peer 
### to
local   all             postgres                        md5 
local   all             all                             md5

$ sudo /etc/init.d/postgresql restart

test the connection

$ psql -d mydb -U django_login

alternative to set the permissions (different to pass OWNER on the create)

postgres=# CREATE USER test WITH PASSWORD ‘test’;

postgres=# GRANT ALL PRIVILEGES ON DATABASE mydb to test;

Thursday, January 3, 2013
Markets that don’t exist don’t care how smart you are. Marc Andreesen (via brycedotvc)
Sunday, December 16, 2012

my weekend reading list

Tuesday, May 1, 2012

Si pudiera volar me la pasaria con esta bandada

Saturday, March 3, 2012
De compras para devsar (Taken with instagram)

De compras para devsar (Taken with instagram)

Tuesday, January 24, 2012
Arcoiris (Taken with instagram)

Arcoiris (Taken with instagram)

Thursday, January 12, 2012
Tortilla (Taken with instagram)

Tortilla (Taken with instagram)

Friday, November 11, 2011
Domingo made on wegif

Domingo made on wegif