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
function numerical_int(dx, y_array) { | |
var maxy = Math.max.apply(null, y_array); | |
var dy_array = y_array.map(function(num) { | |
return Math.abs(maxy - num); | |
}); | |
var profile_integral = 0; | |
var n = dy_array.length; | |
for (i = 1; i < n; i++) { | |
var dy_init = dy_array[i - 1]; | |
var dy_end = dy_array[i]; |
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
<!--Example for: http://mapbox.com//blog/vector-tile-sandwich/--> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<html> | |
<head> | |
<link href='http://api.tiles.mapbox.com/mapbox.js/v1.0.0/mapbox.css' rel='stylesheet' /> |
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
var foo = items.map(function(item) { | |
return item + 1; | |
}); | |
var foo = items.map((item) => { | |
return item + 1; | |
}); | |
var foo = items.map(item => item + 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> | |
<head> | |
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' /> | |
<script src='http://api.tiles.mapbox.com/mapbox.js/v1.2.0/mapbox.js'></script> | |
<link href='http://api.tiles.mapbox.com/mapbox.js/v1.2.0/mapbox.css' rel='stylesheet' /> | |
<!--[if lte IE 8]> | |
<link href='//api.tiles.mapbox.com/mapbox.js/v1.2.0/mapbox.ie.css' rel='stylesheet' > | |
<![endif]--> | |
<style> |
This file has been truncated, but you can view the full file.
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
{"BIG_BAND": {"label": "Big Band", "albumCount": 1140, "artists": [{"label": "Duke Ellington", "albumCount": 301, "thumbnailUrl": "//lh6.ggpht.com/t_nBm8d6f6uwugzMPuTNZJdG9FlxlU7fdEMd15zvH0ckLRZI0R0OwEWFb77AW15yhAno0Z2agQ", "interestingAlbums": [{"thumbnailUrl": "//lh5.ggpht.com/1oumGA8kUwItZpzbhscr_eVj46wDSEftYyIxbhvvImTz7lFePigfNgAhNCigDbIg5X9G4vrTWd4", "popularity": 0.00111628294835154, "label": "Ellington At Newport 1956 (Complete)", "playStoreUrl": "https://play.google.com/store/music/album?id=B24ous76xy4fksb5ysckrmboo3y", "year": 1999, "id": "B24ous76xy4fksb5ysckrmboo3y", "genres": ["BIG_BAND", "JAZZ", "SWING"]}, {"thumbnailUrl": "//lh6.ggpht.com/_NtaJaV9kTrrehGRL5sYuK4QJ6j-k2x1a7n1AJQHQsIljSC_ILAvw4Wpi9xARWKjM40VBXe7", "popularity": 0.0007441465162959201, "label": "Ken Burns Jazz-Duke Ellington", "playStoreUrl": "https://play.google.com/store/music/album?id=Beb3yzttv3jepij2plxadnsrt4m", "year": 2000, "id": "Beb3yzttv3jepij2plxadnsrt4m", "genres": ["BIG_BAND", "JAZZ", "SWING"]}, {"thumbnailUrl": "//lh4. |
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> | |
<head> | |
<meta charset=utf-8 /> | |
<title>2 Years animated</title> | |
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' /> | |
<script src='//api.tiles.mapbox.com/mapbox.js/v1.5.2/mapbox.js'></script> | |
<link href='//api.tiles.mapbox.com/mapbox.js/v1.5.2/mapbox.css' rel='stylesheet' /> | |
<script src='year.js'></script> |
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> | |
<head> | |
<meta charset='UTF-8'/> | |
<title>Export to imgur</title> | |
<script>window.L_PREFER_CANVAS = true;</script> | |
<link href='//api.tiles.mapbox.com/mapbox.js/v1.5.1/mapbox.css' rel='stylesheet' /> | |
<script src='//api.tiles.mapbox.com/mapbox.js/v1.5.1/mapbox.js'></script> | |
<script src='//code.jquery.com/jquery-1.8.2.min.js'></script> | |
<script src='leaflet-image.js'></script> |
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> | |
<head> | |
<meta charset=utf-8 /> | |
<title>A Simple Map</title> | |
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' /> | |
<script src='//api.tiles.mapbox.com/mapbox.js/v1.4.2/mapbox.js'></script> | |
<link href='//api.tiles.mapbox.com/mapbox.js/v1.4.2/mapbox.css' rel='stylesheet' /> | |
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> | |
<head> | |
<meta charset=utf-8 /> | |
<title>A Simple Map</title> | |
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' /> | |
<script src='//api.tiles.mapbox.com/mapbox.js/v1.4.2/mapbox.js'></script> | |
<link href='//api.tiles.mapbox.com/mapbox.js/v1.4.2/mapbox.css' rel='stylesheet' /> |
NewerOlder