pandoc -V geometry:margin=1in -o CR_12012017.pdf CR_12012017.md
apm list --installed --bare > packages.list
apm install --packages-file packages.list
// Inspired from : https://github.com/Esri/arcade-expressions/blob/master/popup/url-withlocation.md | |
// Options are "Jakarto", "Google Directions", "Google Panoramic", and "Google Pin" | |
var EndGoal = "Jakarto" | |
var BaseUrl = Decode( EndGoal, | |
"Jakarto", "https://maps.jakarto.com/?lat=${LATITUDE}&lng=${LONGITUDE}", | |
"Google Directions", "https://www.google.com/maps/dir/?api=1&origin=Current+Location&destination=${LATITUDE},${LONGITUDE}", | |
"Google Panoramic", "https://www.google.com/maps/@?api=1&map_action=pano&viewpoint=${LATITUDE},${LONGITUDE}", | |
"Google Pin", "https://maps.google.com/maps?t=k&q=loc:${LATITUDE},${LONGITUDE}", | |
"Invalid" |
from textblob.classifiers import NaiveBayesClassifier | |
train = [ | |
('amor', "spanish"), | |
("perro", "spanish"), | |
("playa", "spanish"), | |
("sal", "spanish"), | |
("oceano", "spanish"), | |
("love", "english"), | |
("dog", "english"), |
""" | |
Read directional graph from Open Street Maps osm format | |
Based on the osm to networkx tool from aflaxman : https://gist.github.com/aflaxman/287370/ | |
Use python3.6 | |
Added : | |
- : Python3.6 compatibility | |
- : Cache for avoiding to download again the same osm tiles | |
- : distance computation to estimate length of each ways (useful to compute the shortest path) |
#!/bin/bash | |
RED='\033[0;31m' | |
GREEN='\033[0;32m' | |
BLUE='\033[0;34m' | |
NC='\033[0m' # No Color | |
function usage() | |
{ | |
echo "Atom installer with my package set. Requires sudo privileges. Without the option --no-install, install the atom editor" |