Skip to content

Instantly share code, notes, and snippets.

Avatar

Colin Broderick rustyb

View GitHub Profile
View install cordova and android to ubuntu 18
sudo apt-get install openjdk-8-jdk
# gradle install
wget https://services.gradle.org/distributions/gradle-4.6-bin.zip
sudo mkdir /opt/gradle
sudo unzip -d /opt/gradle gradle-4.6-bin.zip
cd ~
echo "export PATH=\$PATH:/opt/gradle/gradle-4.6/bin" >> ".profile"
View install-rvm.sh
sudo apt install nodejs curl
curl -sSL https://rvm.io/mpapis.asc | gpg --import -
curl -sSL https://get.rvm.io | bash -s stable --ruby
View index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Sentinel Lambda Tiler</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.mapbox.com/mapbox-gl-js/v0.32.1/mapbox-gl.js'></script>
<link href='https://api.mapbox.com/mapbox-gl-js/v0.32.1/mapbox-gl.css' rel='stylesheet' />
View 00-nearest-buildings-lesotho.sql
----------------------------------------
--- Some preperation - create a new table for the center point and the buildings themselves
-- get all the buildings into one table
DROP TABLE IF EXISTS buildings;
CREATE TABLE buildings as (
SELECT osm_id, tags, way_area, ST_Transform(way,4326) as way FROM planet_osm_polygon where building IS NOT NULL LIMIT 5000
);
-- WE NEED TO MAKE THESE INDEXS SO THINGS RUN FASTER
View rebrand-questions.md

10 Questions

## 01. Does Your Brand Tell a Story About You?

02. Will a Rebrand Compromise Your Brand Equity?

03. Do You Need to Streamline Your Services Under One Cohesive Identity?

04. Can You Identify an Actual Problem With Your Current Brand?

05. Is Your Brand’s Story Still Relevant?

View by-country-load-jan.json
{"Austria":{"1483228800000":6506,"1483232400000":6302,"1483236000000":6002,"1483239600000":5934,"1483243200000":6000,"1483246800000":5969,"1483250400000":6349,"1483254000000":6702,"1483257600000":7144,"1483261200000":7377,"1483264800000":7462,"1483268400000":7280,"1483272000000":7180,"1483275600000":7063,"1483279200000":7192,"1483282800000":7636,"1483286400000":8052,"1483290000000":8135,"1483293600000":7871,"1483297200000":7499,"1483300800000":7150,"1483304400000":7251,"1483308000000":6855,"1483311600000":7093,"1483315200000":6455,"1483318800000":6298,"1483322400000":6186,"1483326000000":6346,"1483329600000":6907,"1483333200000":7746,"1483336800000":8495,"1483340400000":8928,"1483344000000":9168,"1483347600000":9209,"1483351200000":9211,"1483354800000":9045,"1483358400000":8924,"1483362000000":8880,"1483365600000":9009,"1483369200000":9418,"1483372800000":9803,"1483376400000":9708,"1483380000000":9201,"1483383600000":8636,"1483387200000":8140,"1483390800000":7960,"1483394400000":7551,"1483398000000":7312,"148
View test.md
  • This is a checkbox
  • this is another checkbox
View app.css
@charset "UTF-8";
/**
* Foundation for Sites by ZURB
* Version 6.1.2
* foundation.zurb.com
* Licensed under MIT Open Source
*/
.slide-in-down.mui-enter, .slide-in-left.mui-enter, .slide-in-up.mui-enter, .slide-in-right.mui-enter, .slide-out-down.mui-leave, .slide-out-right.mui-leave, .slide-out-up.mui-leave, .slide-out-left.mui-leave, .fade-in.mui-enter, .fade-out.mui-leave, .hinge-in-from-top.mui-enter, .hinge-in-from-right.mui-enter, .hinge-in-from-bottom.mui-enter, .hinge-in-from-left.mui-enter, .hinge-in-from-middle-x.mui-enter, .hinge-in-from-middle-y.mui-enter, .hinge-out-from-top.mui-leave, .hinge-out-from-right.mui-leave, .hinge-out-from-bottom.mui-leave, .hinge-out-from-left.mui-leave, .hinge-out-from-middle-x.mui-leave, .hinge-out-from-middle-y.mui-leave, .scale-in-up.mui-enter, .scale-in-down.mui-enter, .scale-out-up.mui-leave, .scale-out-down.mui-leave, .spin-in.mui-enter, .spin-out.mui-leave, .spin-in-ccw.mui-enter, .spin-out-ccw.mui-leave {
transition-duration: 500ms;
transition-timing-
View app.css
@charset "UTF-8";
/**
* Foundation for Sites by ZURB
* Version 6.1.2
* foundation.zurb.com
* Licensed under MIT Open Source
*/
.slide-in-down.mui-enter, .slide-in-left.mui-enter, .slide-in-up.mui-enter, .slide-in-right.mui-enter, .slide-out-down.mui-leave, .slide-out-right.mui-leave, .slide-out-up.mui-leave, .slide-out-left.mui-leave, .fade-in.mui-enter, .fade-out.mui-leave, .hinge-in-from-top.mui-enter, .hinge-in-from-right.mui-enter, .hinge-in-from-bottom.mui-enter, .hinge-in-from-left.mui-enter, .hinge-in-from-middle-x.mui-enter, .hinge-in-from-middle-y.mui-enter, .hinge-out-from-top.mui-leave, .hinge-out-from-right.mui-leave, .hinge-out-from-bottom.mui-leave, .hinge-out-from-left.mui-leave, .hinge-out-from-middle-x.mui-leave, .hinge-out-from-middle-y.mui-leave, .scale-in-up.mui-enter, .scale-in-down.mui-enter, .scale-out-up.mui-leave, .scale-out-down.mui-leave, .spin-in.mui-enter, .spin-out.mui-leave, .spin-in-ccw.mui-enter, .spin-out-ccw.mui-leave {
transition-duration: 500ms;
transition-timing-