These ideas were from the https://www.meetup.com/Berlin-Computer-Vision-Group/events/295718258
- complement / verify with OSM tags: road width, surface type, etc
- elevation
- sun angel for hot weather
- IMU data integration for refining cobble types
These ideas were from the https://www.meetup.com/Berlin-Computer-Vision-Group/events/295718258
With T0 AS( | |
SELECT population, libjs4us.h3.ST_H3(ST_GEOGPOINT(longitude_centroid, latitude_centroid), 10) key FROM `bigquery-public-data.worldpop.population_grid_1km` WHERE last_updated = "2017-01-01" | |
), | |
T1 AS ( | |
SELECT sum(population) population, key | |
from T0 | |
group by key), | |
T2 AS (SELECT | |
array (SELECT | |
struct(libjs4us.h3.h3ToParent(key,len) as key, population) mystruct |
gem 'devise', '3.2.4' | |
gem 'simple_token_authentication', '1.5.0' |
package main | |
import ( | |
"database/sql" | |
"github.com/mattn/go-sqlite3" | |
"log" | |
"os" | |
) | |
func runQuery(db *sql.DB, query string) { |
#!/bin/sh | |
# The least terrible way to resolve a symlink to its real path. | |
function realpath() { | |
/usr/bin/perl -e "use Cwd;print Cwd::abs_path(@ARGV[0])" "$0"; | |
} | |
CONTENTS="$(dirname "$(dirname "$(dirname "$(dirname "$(realpath "$0")")")")")" | |
# BINARY_NAME="$(ls "$CONTENTS/MacOS/")" | |
BINARY_NAME="$(command ls --color=none "$CONTENTS/MacOS/")" |
{ | |
"baseLayer": { | |
"tilejson": "2.2.0", | |
"name": "base", | |
"version": "1.0.0", | |
"scheme": "xyz", | |
"tiles": [ | |
"https://a.tile.openstreetmap.org/{z}/{x}/{y}.png" | |
] | |
}, |
The set
lines
set -euxo pipefail
is short for:set -e
set -u
first_name | last_name | gender | 4ip_address | ||
---|---|---|---|---|---|
Lauri | Luddy | lluddy0@lycos.com | Female | 11.11.11.11 | |
Arline | Schmidt | aschmidt1@ovh.net | Female | 99.164.236.22 | |
Jorgan | Siss | jsiss2@fotki.com | Male | 224.205.106.99 | |
Pascale | Jagg | pjagg3@cpanel.net | Male | 148.160.64.222 | |
Karmen | Kuhnert | kkuhnert4@joomla.org | Female | 236.208.38.56 | |
Romeo | Ranscome | rranscome5@bloomberg.com | Male | 38.213.85.249 | |
Duffie | Petkens | dpetkens6@usda.gov | Male | 125.137.32.0 | |
Angeline | Raulin | araulin7@alibaba.com | Female | 172.168.6.1 | |
Camel | Felce | cfelce8@unc.edu | Female | 91.4.140.24 |
# Blog post for this: https://medium.com/@sabman/running-rails-5-0-1-postgis-using-docker-compose-2-a0ce5e5fbaba#.j6scfvmw6 | |
APP_NAME=dockerized-rails | |
rails _5.0.1_ new $APP_NAME -d postgresql | |
cd $APP_NAME | |
mkdir -p containers/development | |
RAILS_ENV=development | |
# 1. create a Dockerfile for development | |
cat > ./containers/development/Dockerfile <<EOF |