Delete recursively:
find . -name "*.pyc" | xargs rm -f
I always forgot to get packaging done right on the first try. It is a task that we don't do every day, so I created this how-to gist. It helps out creating packages hosted on GitHUb, listed on PyPi and its documentation hosted on ReadTheDocs.
Package scaffolding
Made by Nabuco (http://nomadblue.com/).
Note: Substitute [params] with the proper values.
Put dump file into S3 bucket using cmd from Boto (pip install boto):
| #!/bin/bash | |
| # | |
| # Install Postgres 9.1, PostGIS 2.0 and pgRouting on a clean Ubuntu 12.04 install (64 bit) | |
| # updated to PostGIS 2.0.1 | |
| # 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 |
| " Pathogen load | |
| filetype off | |
| call pathogen#infect() | |
| call pathogen#helptags() | |
| filetype plugin on | |
| " No Vi Compatibility | |
| set nocompatible |
| # Custom propmt | |
| export PS1="\u:\w$ " | |
| # ls with colors | |
| export CLICOLOR=1 | |
| export LSCOLORS=gxgxcxdxbxegedabagacad | |
| # Homebrew binaries and scripts before system ones | |
| export PATH=/usr/local/bin:/usr/local/sbin:/usr/local/opt/ruby/bin:$PATH |
This is a personal HOW-TO I have been using lately to install and setup my Macbook Pro laptop with OS X, to be used as a developer machine for Python, Django, MySQL and other tools I use daily for my projects. To get most of the software Homebrew is been used.
Terminal