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
#!/opt/espnow/bin/python3 | |
# https://medium.com/@potekh.anastasia/a-beginners-guide-to-mqtt-understanding-mqtt-mosquitto-broker-and-paho-python-mqtt-client-990822274923 | |
# https://github.com/u-fire/ESPHomeComponents | |
# https://github.com/ChuckMash/ESPythoNOW | |
import sys | |
import paho.mqtt | |
import paho.mqtt.client as mqttClient |
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
#!/usr/bin/python3 | |
# https://www.reddit.com/r/3Dprinting/comments/7ehlfc/python_script_to_find_stl_dimensions/ | |
## updated fot python3 and bookworm | |
# Python script to find STL dimensions | |
# Requrements: sudo pip install numpy-stl | |
## apt install numpy-stl |
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/perl | |
use strict; | |
use warnings; | |
# changedConfigHadron.pl | |
## sometimes I forget when (or what ) manual changes were made in superslicer. | |
## but since I always put the gcode into the same working directory, you can | |
## basically just look for differences for a diff between chronolocal files |
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
#!/usr/bin/env python3 | |
# snapshotMask.py file | |
# see: https://github.com/blakeblackshear/frigate | |
# "snapshotMask.py" - simple script to allow creation of mask images for frigate | |
# files dropped in config directory | |
# makes a graphic mask you can use later for transform like : | |
# ${SRCDIRECTORY}/${event}.jpg is a full size frame from mp4 file at frame_time | |
# composite -dissolve 70 -gravity center ${SRCDIRECTORY}/${event}.jpg /opt/frigate/config/hik193mask.bmp -alpha Set ${SRCDIRECTORY}/${event}.jpg |
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
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
# see: https://github.com/blakeblackshear/frigate | |
# "snapshotMask.pl" - simple script to allow creation of mask images for frigate | |
# files dropped in config directory |
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
### config template for deep sleeping esp32 devices | |
### This is modelled on lolin32 D32 ( not pro ) | |
# uses gpio pin visible to rtc to wake up on motion | |
# uses mt3608 step-up dc-dc converter to power rcwl-0916 microwave sensor | |
# > 11 volts is way more sensitive than 3 or 5 volts for microwave | |
# using hourly wakeup just to keep up with battery life. | |
# using 80Mhz clock / high wifi powersave to lower consumption | |
esphome: |
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/sh | |
NASMOUNT=/system/media/nas | |
HOST=`hostname` | |
FILE="${HOST}-`date +%Y-%m-%d_%H.%M.%S.mp4`" | |
DEST=${NASMOUNT}/`date +%Y-%m` | |
if [ "$1" == "on" ]; then |
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
// experiment using inexpensive NTC thermistor on esp32 | |
// 20180204 - original test | |
// small wemos board from FACE-TO-FACE [ esp32 Rev1 ] | |
// compares well to reference thermocouple in simple test | |
// built from https://learn.adafruit.com/thermistor/using-a-thermistor | |
// and https://esp32.com/viewtopic.php?f=12&t=1045 | |
// and https://github.com/espressif/arduino-esp32/issues/92 |
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
From f55c48dc41317289a0151ee6804ff00dbc680f5c Mon Sep 17 00:00:00 2001 | |
From: boverby <[email protected]> | |
Date: Tue, 20 Jun 2017 06:49:03 -0400 | |
Subject: [PATCH] additional hosts for openocd_tools | |
--- | |
release/package_padiiotstamp_index.json | 28 ++++++++++++++++++++++++++++ | |
1 file changed, 28 insertions(+) | |
diff --git a/release/package_padiiotstamp_index.json b/release/package_padiiotstamp_index.json |
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
/* | |
Simple wemos D1 mini MQTT example | |
This sketch demonstrates the capabilities of the pubsub library in combination | |
with the ESP8266 board/library. | |
It connects to the provided access point using dhcp, using ssid and pswd | |
It connects to an MQTT server ( using mqtt_server ) then: | |
- publishes "connected"+uniqueID to the [root topic] ( using topic ) |
NewerOlder