Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am Damiya on github.
  • I am katevonroeder (https://keybase.io/katevonroeder) on keybase.
  • I have a public key whose fingerprint is 6652 F309 2911 6F5D 7345 FF2C A492 7DEC E112 9270

To claim this, I am signing this object:

var comments = model.map(function (child) {
return <CommentView model={child} key={child.get('id')}/>
});
<div className="comments-list-ct">
{comments}
</div>
Becomes
sudo add-apt-repository ppa:pitti/postgresql
sudo apt-get update
sudo apt-get install postgresql-9.2 postgresql-server-dev-9.2 postgresql-contrib-9.2
sudo su -l postgres
psql -d template1 -p 5433
CREATE EXTENSION IF NOT EXISTS hstore;
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
service postgresql stop
/usr/lib/postgresql/9.2/bin/pg_upgrade -b /usr/lib/postgresql/9.1/bin -B /usr/lib/postgresql/9.2/bin -d /var/lib/postgresql/9.1/main/ -D /var/lib/postgresql/9.2/main/ -O "-c config_file=/etc/postgresql/9.2/main/postgresql.conf" -o "-c config_file=/etc/postgresql/9.1/main/postgresql.conf"