Skip to content

Instantly share code, notes, and snippets.

View agalea91's full-sized avatar

Alexander Galea agalea91

View GitHub Profile
@agalea91
agalea91 / shp2gj.py
Last active September 29, 2017 08:06 — forked from frankrowe/shp2gj.py
PyShp, shp to geojson in python
# -*- coding: utf-8 -*-
from json import dumps
import shapefile
import click
@click.command()
@click.option(
'--f',
help="Filename",
default='my.shp'
@agalea91
agalea91 / deepdream-install.md
Last active April 26, 2016 20:09 — forked from robertsdionne/deepdream-install.md
Deepdream installation
#!/usr/bin/env bash

# I did this with OS X Yosemite 10.10.5 in May 2016
# Adding some changes from original

# Install XCode and command line tools
# See https://itunes.apple.com/us/app/xcode/id497799835?mt=12#
# See https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/xcode-select.1.html
xcode-select --install