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 regression = require('regression'); | |
var bands = [ 0,50,100,300,1000 ]; | |
var inputPoints = []; | |
$(function() { | |
$('#bands').val(bands.join(',')) | |
$('#bands').on('change', (e) => { | |
try { |
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
diff --git a/Library/Formula/macvim.rb b/Library/Formula/macvim.rb | |
index af25bb6..e65c3d7 100644 | |
--- a/Library/Formula/macvim.rb | |
+++ b/Library/Formula/macvim.rb | |
@@ -8,7 +8,7 @@ class Macvim < Formula | |
sha1 'b87e37fecb305a99bc268becca39f8854e3ff9f0' | |
revision 1 | |
- head 'https://github.com/b4winckler/macvim.git' | |
+ head 'https://github.com/genoma/macvim.git' |
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
javascript:(function(e,a,g,h,f,c,b,d)%7Bif(!(f=e.jQuery)%7C%7Cg%3Ef.fn.jquery%7C%7Ch(f))%7Bc=a.createElement(%22script%22);c.type=%22text/javascript%22;c.src=%22http://ajax.googleapis.com/ajax/libs/jquery/%22+g+%22/jquery.min.js%22;c.onload=c.onreadystatechange=function()%7Bif(!b&&(!(d=this.readyState)%7C%7Cd==%22loaded%22%7C%7Cd==%22complete%22))%7Bh((f=e.jQuery).noConflict(1),b=1);f(c).remove()%7D%7D;a.documentElement.childNodes%5B0%5D.appendChild(c)%7D%7D)(window,document,%221.3.2%22,function($,L)%7B$('%23header,%20.pagehead,%20.breadcrumb,%20.commit,%20.meta,%20%23footer,%20%23footer-push').remove();%20$('%23files,%20.file').css(%7B%22background%22:%22none%22,%20%22border%22:%22none%22%7D);%20$('link').removeAttr('media');%7D); |
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
note: set accordingly | |
export PATH=$PATH:/users/daryl/dev/gis/osmosis/package/bin | |
note: is space delimited | |
export JAVACMD_OPTIONS="-Xmx5G -Djava.io.tmpdir=/Volumes/1TBHD0/tmp" | |
osmosis \ | |
--read-pbf planet-latest.osm.pbf \ | |
--tf accept-nodes "boundary=administrative" \ | |
--tf reject-relations \ |
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 sqlite3 | |
import sys | |
import shutil | |
if len(sys.argv) != 4: | |
print 'usage: crop_mbtile_to_mbtile.py <input_mbtiles file> <reference_mbtiles file> <output_mbtiles file>' | |
sys.exit(0) | |
shutil.copyfile(sys.argv[2], sys.argv[3]) | |
conn_input_mbtiles = sqlite3.connect(sys.argv[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
wget wget https://byte-unixbench.googlecode.com/files/UnixBench5.1.3.tgz | |
tar -xzf UnixBench5.1.3.tgz | |
cd UnixBench | |
make | |
./Run | |
Can't locate Time/HiRes.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./Run line 6. | |
yum install perl-Time-HiRes |
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 FUNCTION "public"."normalize_poly_to_bottomlevel"() | |
RETURNS "pg_catalog"."varchar" AS $BODY$DECLARE | |
i record; | |
geo geometry; | |
geos geometry[]; | |
geos_arr geometry[]; | |
boo boolean; | |
levels bigint[]; | |
level_ bigint; | |
temp record; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.