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 | |
# Convert Shapefile (.shp) to TopoJSON, version 1 | |
# @see http://bost.ocks.org/mike/map/ | |
# Before running this script: | |
# | |
# brew install gdal | |
# npm install -g topojson | |
# which ogr2ogr | |
# which topojson |
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> | |
<meta charset="utf-8"> | |
<style> | |
body { | |
background-color: gray; | |
} | |
</style> | |
<body> | |
<canvas width="960" height="500"></canvas> | |
<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
Thank you for your interest in TroutSpotr! This agreement helps us achieve our goal of collaborative open source software development. In order to clarify the intellectual property license granted with Contributions from any person or entity, TroutSpotr must have a Contributor License Agreement ("CLA") on file that has been signed by each Contributor, agreeing to the license terms below. | |
This license is for your protection as a Contributor as well as the protection of TroutSpotr. Contributors retain full rights to use their original Contributions for any other purpose outside of TroutSpotr while also providing TroutSpotr the right to distribute and build upon their work. | |
This license is intended to be compatible with other open source licenses, specifically with version three of the GPL in order to remain true to the original goals of TroutSpotr of supportive collaboration. | |
Definitions: | |
The following terms are used throughout this agreement: |
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
license: mit |
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
async function throttleReduce(ops) { | |
let resolvedResults = [] | |
for (let i = 0; i < ops.length; i++) { | |
let op = ops[i] | |
let result = await waitForNext(op.bind(null, i)) | |
resolvedResults.push(result) | |
} | |
return resolvedResults | |
} |
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
Skip to content | |
Search or jump to… | |
Pull requests | |
Issues | |
Marketplace | |
Explore | |
@andest01 | |
troutspotr |