This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Change to your needs | |
TARGET_FOLDER='./your-folder' | |
OWNER='' | |
REPOSITORY='' | |
mkdir -p $TARGET_FOLDER | |
echo "Querying Github for latest version..." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'''Provides utility functions for encoding and decoding linestrings using the | |
Google encoded polyline algorithm. | |
''' | |
def encode_coords(coords): | |
'''Encodes a polyline using Google's polyline algorithm | |
See http://code.google.com/apis/maps/documentation/polylinealgorithm.html | |
for more information. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$camera->make()": { | |
"prefix": "make()", | |
"body": "make()", | |
"description": "Returns the camera brand/make" | |
}, | |
"$camera->model()": { | |
"prefix": "model()", | |
"body": "model()", | |
"description": "Returns the name of the camera model" |