Install compiler dependencies
brew install automake autoconf libtool libxml2 pkg-config
brew link libxml2
Build libspatialite
| # Shell to use with Make | |
| SHELL := /bin/bash | |
| # Set important Paths | |
| PROJECT := # Set to your project name | |
| LOCALPATH := $(CURDIR)/$(PROJECT) | |
| PYTHONPATH := $(LOCALPATH)/ | |
| PYTHON_BIN := $(VIRTUAL_ENV)/bin | |
| # Export targets not associated with files |
| #!/bin/bash | |
| # This script resizes all the images it finds in a folder (and its subfolders) and resizes them | |
| # The resized image is placed in the /resized folder which will reside in the same directory as the image | |
| # | |
| # Usage: > ./batch_resize.sh | |
| initial_folder="/your/images/folder" # You can use "." to target the folder in which you are running the script for example | |
| resized_folder_name="resized" | |
| all_images=$(find -E $initial_folder -iregex ".*\.(jpg|gif|png|jpeg)") |
| #!/bin/sh | |
| # Credits to: | |
| # - http://vstone.eu/reducing-vagrant-box-size/ | |
| # - https://github.com/mitchellh/vagrant/issues/343 | |
| aptitude -y purge ri | |
| aptitude -y purge installation-report landscape-common wireless-tools wpasupplicant ubuntu-serverguide | |
| aptitude -y purge python-dbus libnl1 python-smartpm python-twisted-core libiw30 | |
| aptitude -y purge python-twisted-bin libdbus-glib-1-2 python-pexpect python-pycurl python-serial python-gobject python-pam python-openssl libffi5 |