Get gdal development libraries:
$ sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable
$ sudo apt-get update
$ sudo apt-get install libgdal-dev
Create and activate a virtual environment:
// XPath CheatSheet | |
// To test XPath in your Chrome Debugger: $x('/html/body') | |
// http://www.jittuu.com/2012/2/14/Testing-XPath-In-Chrome/ | |
// 0. XPath Examples. | |
// More: http://xpath.alephzarro.com/content/cheatsheet.html | |
'//hr[@class="edge" and position()=1]' // every first hr of 'edge' class |
#!/bin/bash | |
DYNAMODB_USER=vagrant | |
sudo apt-get install openjdk-7-jre-headless -y | |
cd /home/${DYNAMODB_USER}/ | |
mkdir -p dynamodb | |
cd dynamodb |
from gcapi import GCapiClient # From https://github.com/rickykim93/gcapi-python | |
from gcapi.gcapi_tools import format_date # From https://github.com/rickykim93/gcapi-python | |
from datetime import datetime | |
from time import sleep | |
import numpy | |
def check_sell_criteria(prices): | |
# TODO: Write your algorithm to detect sell condition here | |
return False |