Skip to content

Instantly share code, notes, and snippets.

Greg Allen gtallen1187

Block or report user

Report or block gtallen1187

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View canary.bash
shell
update_engine_client –channel=stable-channel -update
@gtallen1187
gtallen1187 / complex_leaflet.html
Created Nov 12, 2019
More complex leaflet example
View complex_leaflet.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' />
<title>011ef5d06b7e4d3fb08d1513664b9433.vrt</title>
<!-- Leaflet -->
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.5/leaflet.css" />
@gtallen1187
gtallen1187 / highcharts.html
Created Nov 12, 2019
highcharts timeseries example
View highcharts.html
<!DOCTYPE html>
<html>
<head>
<title>Crop Health Progression</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.0/Chart.min.js"></script>
<meta name = "viewport" content = "initial-scale = 1, user-scalable = no">
<script src="http://libs.cartocdn.com/cartodb.js/v3/cartodb.js"></script>
<style>
#container {
min-width: 310px;
@gtallen1187
gtallen1187 / modis_map.html
Created Nov 12, 2019
leaflet map for modis imagery
View modis_map.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' />
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.5/leaflet.css" />
<script src="http://cdn.leafletjs.com/leaflet-0.7.5/leaflet.js"></script>
<style>
View webp.bash
# Convert TO webp
# cwebp docs - https://developers.google.com/speed/webp/docs/cwebp
cwebp -q 80 image.png -o image.webp
# Convert FROM webp
#dwebp docs - https://developers.google.com/speed/webp/docs/dwebp
dwebp image.webp -o image.png
@gtallen1187
gtallen1187 / nyc_subway_entrances.geojson
Created Aug 14, 2019
Collection of all subway entrances for the NYC subway system
View nyc_subway_entrances.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@gtallen1187
gtallen1187 / boston_neighborhoods.geojson
Created Aug 14, 2019
GeoJSON file outlining the boundaries of neighborhoods in Boston
View boston_neighborhoods.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View making_a_request.js
function fetchDataset(url, cb, crop) {
var http = new XMLHttpRequest();
http.open("GET", url);
http.send();
http.onload = function () {
var result = http.responseText && JSON.parse(http.responseText);
cb && result && cb(result, crop);
};
View gist:5805adee5e9848c2d9bfd1005b2d6b87
curl -Ls https://raw.github.com/skycocker/chromebrew/master/install.sh | bash
You can’t perform that action at this time.