Skip to content

Instantly share code, notes, and snippets.

View leighghunt's full-sized avatar

Leigh Hunt leighghunt

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@leighghunt
leighghunt / fatal-crashes.geojson
Created September 2, 2024 04:11
Cycle accident data
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@leighghunt
leighghunt / example1.ino
Created July 15, 2024 03:14
Support/examples for accessing cellular/LTE on ESP32-S3-SIM7670G-4G
#include <Arduino.h>
static const int RXPin = 17, TXPin = 18;
static const uint32_t GPSBaud = 115200;
String rev;
void SentSerial(const char *p_char) {
for (int i = 0; i < strlen(p_char); i++) {
Serial1.write(p_char[i]);
version: '2.1'
services:
dashboard:
container_name: dashboard
image: leighghunt/energy-monitoring-dashboard:pi-zero-node-11-motor-rpm
build:
context: .
restart: unless-stopped
ports:
- 80:80
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
```
# qlmanage -t -s 4000 -o . file.svg
brew install librsvg
rsvg-convert -h 4000 little-musical-caravan-logo-full-color-rgb.svg > little-musical-caravan-logo-full-color-rgb.svg.png
#rsvg-convert -w 3840 little-musical-caravan-logo-full-color-rgb.svg > little-musical-caravan-logo-full-color-rgb.svg.png
```
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@leighghunt
leighghunt / AOI.geojson
Last active October 27, 2020 02:09
Planet API examples
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@leighghunt
leighghunt / Readme.md
Last active October 15, 2020 06:59
MetlinkAPIWeirdness
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.