Skip to content

Instantly share code, notes, and snippets.

View julian-amaya's full-sized avatar

Julian Amaya julian-amaya

View GitHub Profile
@DavidToca
DavidToca / Install PIL on linux
Last active May 7, 2018 17:03
Install PIL on linux
sudo apt-get update ;
sudo apt-get install libjpeg-turbo8-dev libjpeg8-dev ;
sudo apt-get install libjpeg-dev libfreetype6 libfreetype6-dev zlib1g-dev zlib1g-dev libfreetype6-dev liblcms1-dev libjpeg62-dev;
sudo apt-get build-dep python-imaging
#PIL cant find the files he needs, so we need to make symlinks to the files he looks for
sudo ln -s /usr/lib/`uname -i`-linux-gnu/libfreetype.so /usr/lib/ ;
sudo ln -s /usr/lib/`uname -i`-linux-gnu/libjpeg.so /usr/lib/ ;
sudo ln -s /usr/lib/`uname -i`-linux-gnu/libz.so /usr/lib/;
@lucasfais
lucasfais / gist:1207002
Created September 9, 2011 18:46
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@johnthedebs
johnthedebs / osx_developer_installation.rst
Created August 23, 2011 15:27 — forked from stefanfoulis/osx_developer_installation.rst
Instructions on how to setup an OSX developer machine for (python/django) development

OSX Developer System installation

This guide assumes a fresh install of Mac OSX 10.6 Snow Leopard or 10.7 Lion.

Homebrew

Follow https://github.com/mxcl/homebrew/wiki/installation to get the basic setup up and running. (the default, not the alternate installs)