Skip to content

Instantly share code, notes, and snippets.

View leighghunt's full-sized avatar

Leigh Hunt leighghunt

View GitHub Profile
@leighghunt
leighghunt / docker-compose.yml
Last active April 15, 2019 21:18
Energy Monitoring Dashboard docker-compose.yml
version: '2.1'
services:
dashboard:
container_name: dashboard
image: leighghunt/energy-monitoring-dashboard:pi-zero-node-11
restart: unless-stopped
ports:
- 80:80
volumes:
- /home/pi/logFiles:/data/logFiles
@leighghunt
leighghunt / docker-pull-and-start.sh
Created August 9, 2017 22:09
docker-pull-and-start.sh
#!/bin/bash
curl -sSL https://gist.githubusercontent.com/leighghunt/f0539df3a2c20abbdd102228c0b24c36/raw > docker-compose.yml
docker-compose stop; docker-compose rm -f; docker-compose pull; docker-compose up -d
@leighghunt
leighghunt / docker-install.sh
Created August 9, 2017 22:11
docker-install.sh
#!/bin/bash
curl -sSL https://get.docker.com | sh
systemctl enable docker
usermod -aG docker pi
sudo apt-get install python-setuptools
easy_install pip
pip install docker-compose
raspi-config nonint do_i2c 0
raspi-config nonint do_spi 0
docker login --username energymonitoringdashboard
@leighghunt
leighghunt / docker-compose.yml
Last active August 12, 2017 05:54
Docker install files for Energy Monitoring Dashboard
version: '2'
services:
dashboard:
container_name: dashboard
image: leighghunt/energy-monitoring-dashboard
restart: on-failure
ports:
- 80:80
volumes:
- /home/pi/logFiles:/root/logFiles
docker run -ti --rm container-registry.oracle.com/database/instantclient sqlplus <user>/<password>@<hostname>:1521/<servicename>
SET LINESIZE 400;
SELECT * FROM USER_OBJECTS WHERE OBJECT_TYPE = 'TABLE' ORDER BY OBJECT_NAME;
@leighghunt
leighghunt / brown-owl-swipe-aerial.markdown
Created November 1, 2018 20:13
Brown Owl Swipe Aerial
@leighghunt
leighghunt / brown-owl-swipe-light.markdown
Created November 1, 2018 20:13
Brown Owl Swipe Light
@leighghunt
leighghunt / brown-owl-google-maps-api-consuming-mapbox-tiles.markdown
Last active December 17, 2019 18:44
Brown Owl - Google Maps API consuming MapBox tiles
@leighghunt
leighghunt / brown-owl-google-maps-api-consuming-mapbox-tiles.markdown
Last active November 6, 2018 00:56
Brown Owl - Google Maps API consuming MapBox tiles
esriJobMessageTypeInformative: Executing (mitigation): mitigation 3076 0004082231 1061 VERB
esriJobMessageTypeInformative: Start Time: Fri Dec 07 10:28:43 2018
esriJobMessageTypeInformative: Executing (mitigation): mitigation 3076 0004082231 1061 VERB
esriJobMessageTypeInformative: Start Time: Fri Dec 07 10:28:43 2018
esriJobMessageTypeInformative: Running script mitigation...
esriJobMessageTypeInformative: Getting configuration from "G:\ArcGIS\GPConfig\config.ini".
esriJobMessageTypeInformative: setting scratch geodatabase to "C:\Temp\scratch.gdb"
esriJobMessageTypeInformative:
esriJobMessageTypeInformative: =========================
esriJobMessageTypeInformative: Mitigation Calculations