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
{ | |
"baseLayer": { | |
"tilejson": "2.2.0", | |
"name": "base", | |
"version": "1.0.0", | |
"scheme": "xyz", | |
"tiles": [ | |
"https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}" | |
] | |
}, |
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
{ | |
"baseLayer": { | |
"tilejson": "2.2.0", | |
"name": "base", | |
"version": "1.0.0", | |
"scheme": "xyz", | |
"tiles": [ | |
"https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}" | |
] | |
}, |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
package notthatbreezy.memcached4s.client | |
import java.net.InetSocketAddress | |
import cats.effect._ | |
import cats.implicits._ | |
import com.colisweb.tracing.LoggingTracingContext | |
import com.colisweb.tracing.implicits._ | |
import fs2.io.tcp._ | |
import fs2.{Chunk, text} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 requests | |
def get_session(refresh_token): | |
"""Helper method to create a requests Session""" | |
post_body = {'refresh_token': refresh_token} | |
response = requests.post('https://app.rasterfoundry.com/api/tokens/', json=post_body) | |
response.raise_for_status() | |
token = response.json()['id_token'] |
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
{ | |
"id": "a1460c96-8377-4bf1-aad4-18a6e47093c6", | |
"args": [ | |
{ | |
"id": "fe1763d4-9b4d-4eba-9968-f7d707869d7f", | |
"args": [ | |
{ | |
"id": "67013aad-21c5-4e7f-b8bd-5910e92aa425", | |
"type": "src", | |
"metadata": { |
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
{ | |
"id": "fe1763d4-9b4d-4eba-9968-f7d707869d7f", | |
"args": [ | |
{ | |
"id": "67013aad-21c5-4e7f-b8bd-5910e92aa425", | |
"type": "src", | |
"metadata": { | |
"label": "A" | |
} | |
}, |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 urllib2 | |
from lxml.html import parse, make_links_absolute | |
from StringIO import StringIO | |
import re | |
from datetime import date, timedelta | |
# Helper Function to Scrape Pages # | |
def get_html_tree(url): | |
html = urllib2.urlopen(url).read() |
NewerOlder