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
#Author: Linwood Creekmore | |
#Date: October 1, 2017 | |
# Instructions: | |
""" | |
Download and use my shapefilereader function in Python 2 OR just download the linked zip to your computer and read using geopandas | |
gist to shapefilereader - > https://gist.github.com/linwoodc3/72b2f24b6d2ff6ffde1597f1ca2dea3f | |
""" |
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
# Created by: Linwood Creekmore III | |
# valinvescap@gmail.com | |
from tzwhere import tzwhere | |
tz = tzwhere.tzwhere() | |
import numpy as np | |
def getT(x): | |
try: | |
latitude=x[1] |
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
<!DOCTYPE html> | |
<html> | |
<title>QB-Spective</title> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> | |
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato"> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> | |
<style> | |
body { font-family: sans-serif; } |
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
body { | |
background-color: #E5E5FF; | |
} | |
img.resize { | |
max-width:70%; | |
max-height:70%; | |
} | |
#the-string { | |
display: none; | |
} |
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
<!DOCTYPE html> | |
<html> | |
<title>QB-Spective</title> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> | |
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato"> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> | |
<style> | |
body { font-family: sans-serif; } |
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
THE SHAME OF SAN JOAQUIN | |
WGAw #1834463 | |
FADE IN: | |
EXT. SUBDIVISION - MORNING | |
A peculiar wind blows snowflakes past a wall guarding the | |
entrance to a neighborhood that reads “SAN JOAQUIN ESTATES”. | |
In a black Mustang idling at the curb sits BOBBY GONZALEZ, a | |
directionless young man with a hard look and disheveled hair. |
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
THE SHAME OF SAN JOAQUIN | |
WGAw #1834463 | |
FADE IN: | |
EXT. SUBDIVISION - MORNING | |
A peculiar wind blows snowflakes past a wall guarding the | |
entrance to a neighborhood that reads “SAN JOAQUIN ESTATES”. | |
In a black Mustang idling at the curb sits BOBBY GONZALEZ, a | |
directionless young man with a hard look and disheveled hair. |
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 | |
# Author: | |
# Linwood Creekmore | |
# email: valinvescap@gmail.com | |
# navigate to home directory; just for clean start | |
cd ~ && | |
# exit out of whatever conda environment you are in |
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
timeit -n 100 geohash.encode(36.056595, -112.125092) | |
[Out]: 992 ns ± 21.4 ns per loop (mean ± std. dev. of 7 runs, 100 loops each) |
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
# Author | |
# Linwood Creekmore III | |
# April 8 2017 | |
# heavy input from http://socialmedia-class.org/twittertutorial.html | |
# valinvescap@gmail.com | |
import re | |
import copy | |
import numpy as np | |
import pandas as pd |