sudo apt-get install postgresql-9.1-postgis
sudo su postgres
bash <(curl -s https://raw.github.com/gist/18660599/create_template.sh)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Debian has older Erlang package (R15) in official repositories, Elixir requires newer (R17) | |
wget http://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb | |
sudo dpkg -i erlang-solutions_1.0_all.deb | |
sudo apt-get update | |
sudo apt-get install -y erlang | |
rm erlang-solutions_1.0_all.deb | |
# compile Elixir from source |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible | |
syntax on | |
filetype on | |
filetype plugin on | |
filetype indent on | |
set sidescroll=1 | |
set sidescrolloff=3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var centralLocation = "http://central.com/~tav/central.html", | |
centralChannel, | |
messageId = 0, | |
messageQueue = [], | |
callbackRegistry = {}, | |
firstContact = false; | |
function createCentralChannel() { | |
if (centralChannel) { | |
return; |
NewerOlder