sudo apt-get install tomcat7 tomcat7-admin
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
{ | |
"name": "javascript-development-environment", | |
"version": "1.0.0", | |
"description": "JavaScript development environment Pluralsight course by Cory House", | |
"scripts": { | |
}, | |
"author": "Cory House", | |
"license": "MIT", | |
"dependencies": { | |
"whatwg-fetch": "1.0.0" |
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
import overpy | |
import sys | |
import simplejson as json | |
#pip install overpy | |
#python overpass_speed.py 37.7833 -122.4167 500 | |
def maxspeed(coordinates, radius): | |
lat, lon = coordinates | |
api = overpy.Overpass() |
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
# Markdown to PDF Conversion | |
# | |
# This script converts Markdown markup to PDF directly on your iOS device. | |
# | |
# Please see the "Requirements" section in the docstring below for required | |
# dependencies and the "Installation" section for instructions on how to | |
# install them. | |
# | |
# Run this script directly or put it into the Pythonista editor action menu | |
# with one of the following options as the first and sole argument: |
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
import sys | |
salesTotal = 0.0 | |
oldKey = None | |
dummy_Data=["Miami 12.34","Miami 99.07","Miami 55.07","NYC 88.97","NYC 33.56"] | |
for line in dummy_Data: | |
data = line.strip().split(" ") | |
if len(data) != 2: | |
# Something has gone wrong. Skip this line. | |
continue |
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
import sys | |
salesTotal = 0 | |
oldKey = None | |
for line in sys.stdin: | |
data = line.strip().split("\t") | |
if len(data) != 2: | |
# Something has gone wrong. Skip this line. | |
continue |