Skip to content

Instantly share code, notes, and snippets.

View calufa's full-sized avatar

Carlos calufa

View GitHub Profile
@calufa
calufa / install.sh
Last active June 27, 2016 22:31 — forked from tzi/install.sh
WeasyPrint install on a clean Ubuntu
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
sudo apt-get install libxml2-dev libxslt-dev libffi-dev libcairo2-dev libpango1.0-dev python-dev python-pip
sudo pip install WeasyPrint
curl -X POST -H 'Content-Type: application/json' 'https://key:pass@chloes-shop.myshopify.com/admin/orders.json' -d '{"order": {"line_items": [{"variant_id": 1309367936,"quantity": 1 }]}}'