You know, like the United Nations logo.
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
/** | |
* get MD5 digest for input string | |
* TODO: pad with leading zeros | |
*/ | |
String md5(String data) { | |
return ( | |
new java.math.BigInteger( | |
1, | |
java.security.MessageDigest.getInstance( | |
"MD5" |
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
{"name":"all","children":[{"type":"dataset","name":"MYD17A2","children":[{"type":"granule","name":"sc:MYD17A2.005:2056598170","size":3626540.0,"jpegs":2},{"type":"granule","name":"sc:MYD17A2.005:2056598724","size":2723373.0,"jpegs":2},{"type":"granule","name":"sc:MYD17A2.005:2056593309","size":999282.44,"jpegs":2},{"type":"granule","name":"sc:MYD17A2.005:2056593316","size":4275257.0,"jpegs":2},{"type":"granule","name":"sc:MYD17A2.005:2056598092","size":146175.69,"jpegs":2},{"type":"granule","name":"sc:MYD17A2.005:2056725553","size":4129298.5,"jpegs":2},{"type":"granule","name":"sc:MYD17A2.005:2056725068","size":990799.44,"jpegs":2},{"type":"granule","name":"sc:MYD17A2.005:2056725162","size":146175.69,"jpegs":2},{"type":"granule","name":"sc:MYD17A2.005:2056726498","size":3598176.0,"jpegs":2},{"type":"granule","name":"sc:MYD17A2.005:2056723922","size":2675996.2,"jpegs":2}]},{"type":"dataset","name":"MCD43B4","children":[{"type":"granule","name":"sc:MCD43B4.005:2056424316","size":5511891.0,"jpegs":1},{"type":"gr |
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
CREATE OR REPLACE FUNCTION ST_Force_2D(GEOGRAPHY) | |
RETURNS GEOGRAPHY | |
AS 'SELECT ST_Force_2D($1::geometry)::GEOGRAPHY' | |
LANGUAGE SQL IMMUTABLE STRICT; |
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
drush sqlq 'SHOW TABLES' | tail -n +2 | sed -e 's,^,DROP TABLE ,' -e 's,$,;,' | drush sqlc |
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> | |
<style> | |
.bar { | |
height: 1em; | |
background-color: lightblue; | |
} | |
td { | |
text-align: right; |
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> | |
.graticule { | |
fill: none; | |
stroke: #777; | |
} | |
.boundary { |
The orthographic projection is available as d3.geo.orthographic. See also the interactive version, the rotating versions and the animated world tour.
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> | |
<a href='://bl.ocks.org/4644926'>bl.ocks.org/4644926</a> | |
<button id='another'>Another one</button> | |
<span id='xebal'></span> | |
<script> | |
// return random integer in [0,n-1] | |
function r(n) { | |
return Math.floor(n * Math.random()); | |
} |
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> | |
<a href='://bl.ocks.org/4687301'>bl.ocks.org/4687301</a> | |
<button id='another'>Another one</button> | |
<span id='password'></span> | |
<script> | |
// return random integer in [0,n-1] | |
function r(n) { | |
return Math.floor(n * Math.random()); | |
} |