Python and virtual environments on MAC OS X

1. install Xcode 2. launch Xcode and Agree with License Agreement 3. install brew.sh $ ruby -e “$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)” 4. install midnight-commander python 2.7 and/or python 3.x $ brew install mc $ brew install...

Postgres earthdistance vs PostGIS

I needed to calculate the distance between to GPS coordinates. I have found couple of methods. 1. Postgres earthdistance you need to install the contrib package for postgres. Import the cube.sql and the earthdistance.sql. More about this at postgresql docs psql -d...

emacs commenting lines

I was wondering if the comment-dwin (M-;) command could be changed that if i am anywhere in the line the whole line is commented and not a comment started from the end of the line. based on the idea found in a mailing list i altered the command with ;;...
Locandina canile di Trento 2011

Locandina canile di Trento 2011

Sentitevi liberi di riutilizzare le immagini, ma si prega di citare come fonte Attila Nagy. Un link al sito sarà apprezzato. Se avete bisogno della dimensione originale si prega di contattare me e vi invierà le immagini richieste. Feel free to reuse the pictures, but...

Install Emacs from source on MAC OS X

How to install Emacs from source? You will need Xcode tools to perform this operation. MacBook-Pro: mkdir src MacBook-Pro: cd src MacBook-Pro: cvs -z3 -d:pserver:anonymous@cvs.sv.gnu.org:/sources/emacs co emacs MacBook-Pro: cd emacs MacBook-Pro: ./configure...