A Pen by Leigh Hunt on CodePen.
This file contains hidden or 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
| 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 |
This file contains hidden or 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
| #!/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 |
This file contains hidden or 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
| #!/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 |
This file contains hidden or 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
| version: '2' | |
| services: | |
| dashboard: | |
| container_name: dashboard | |
| image: leighghunt/energy-monitoring-dashboard | |
| restart: on-failure | |
| ports: | |
| - 80:80 | |
| volumes: | |
| - /home/pi/logFiles:/root/logFiles |
This file contains hidden or 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
| 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; |
A Pen by Leigh Hunt on CodePen.
A Pen by Leigh Hunt on CodePen.
A Pen by Leigh Hunt on CodePen.
This file contains hidden or 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
| 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 |