This file contains hidden or 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
When installing on mountain lion: | |
installation: | |
brew install postgresql --without-ossp-uuid | |
initd /usr/local/var/postgres | |
mkdir /var/pgsql_socket | |
chown <user> /var/pgsql_socket | |
edit /usr/local/var/postgres/postgresql.conf | |
set unix_socket_directory to /var/pgsql_socket |
This file contains hidden or 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
#Download and install XCode | |
#Install homebrew (package manager) IF INSTALLED: just update it | |
ruby -e "$(curl -fsSL https://gist.github.com/raw/323731/install_homebrew.rb)" | |
#Install git | |
brew install git | |
#IF LION | |
sudo vi /etc/paths and move /usr/local/bin to the top, cuz LION comes with a specific osx restricted PG. |
This file contains hidden or 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/bash | |
# | |
# Install Postgres 9.1, PostGIS and create PostGIS template on a clean Ubuntu 11.10 Oneiric Ocelot box | |
# http://wildfish.com | |
# add the ubuntu gis ppa | |
sudo apt-get -y install python-software-properties | |
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable | |
sudo apt-get update |
This file contains hidden or 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
sudo apt-get update | |
sudo apt-get install python-software-properties | |
sudo add-apt-repository ppa:pitti/postgresql | |
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable | |
sudo apt-get update |
This file contains hidden or 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
http://ijonas.com/software-development/nosql/412/ |
This file contains hidden or 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
http://samos-it.com/trying-to-install-scrapy-with-pip-lxml-error-command-gcc-failed-with-exit-status-1/ | |
The solution | |
Install Python development package | |
sudo apt-get install python-dev | |
Install the development packages of libxml and libst | |
sudo apt-get install libxml2-dev |
This file contains hidden or 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
Barebones Server Setup | |
Current Linux Distro: Ubuntu 10.04 LTS | |
### | |
Optional: | |
or UPDATE distro in /etc/apt/sources.list run apt-get update and apt-get dist-upgrade | |
### | |
1) ssh to fresh slice* | |
ssh [email protected] |
This file contains hidden or 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
$(function(){ | |
$.widget('custom.actualito_autocomplete', $.ui.autocomplete, { | |
_renderMenu: function(ul, items){ | |
var that = this, | |
currencyCategory = ''; | |
$.each(items, function(index, item){ | |
if(item.type != currencyCategory){ | |
ul.append( "<li class='ui-autocomplete-category list_item_container filter'>" + item.type + "</li>" ); | |
currencyCategory = item.type; | |
} |
NewerOlder