This app does not send the author/developer any data from your usage.
The app does not collect any information about your usage beyond what is provided by Apple.
| import machine, neopixel, time | |
| from machine import Pin, ADC | |
| np = neopixel.NeoPixel(Pin(2), 200) | |
| adcpin = machine.ADC(26) | |
| while True: | |
| num_of_leds = None | |
| for i in range(len(np)): | |
| onvalue = 0 |
| #! /bin/env bash | |
| number_contestants=$1 | |
| # convert to hexadecimal | |
| number_contestants=$(echo "ibase=10 ; obase=16 ; $number_contestants" | bc) | |
| # take image | |
| ffmpeg -f v4l2 -i /dev/video0 -frames:v 1 -y foo.png | |
| # md5sum it and extract the value |
| This gist is provided as an addition to my youtube video | |
| https://www.youtube.com/watch?v=dKvetujHjYQ&t=737s | |
| ## Useful links | |
| https://wiki.archlinux.org/title/Install_Arch_Linux_from_existing_Linux#Using_a_chroot_environment | |
| https://archlinuxarm.org/platforms/armv8/generic | |
| https://www.reddit.com/r/archlinux/comments/6kwt61/systemd_doesnt_create_machineid_during/ | |
| https://arm.endeavouros.com/endeavouros-arm-install/ | |
| ## Get into chroot |
| #!/bin/zsh | |
| # Elevate permissions, if needed | |
| if [ $USER != 'root' ]; then | |
| sudo $0 | |
| exit 0 | |
| fi | |
| # Reboot to Recovery | |
| /usr/sbin/nvram "recovery-boot-mode=unused" |
This is a gist containing several files needed to get Masonite automatically deploying to your servers via GitHub pushes (or releases)
NOTE: This script will have a downtime of a few seconds between deployments. If your application requires no downtime you can see this GIST here for a bit more complex GIST for getting to zero downtime deployments through the use of uWSGI, unix sockets and managed config files
| { | |
| "SpaceData": { | |
| "SOH": { | |
| "name": "Start of Heading", | |
| "d": 1, | |
| "h": "0001", | |
| "tags": "space,unsafe" | |
| }, | |
| "STX": { | |
| "name": "Start of Text", |
| GOAL: Send a push notification after the (vibrations from the) dryer cycle has completely stopped. | |
| USING: | |
| * Inexpensive hardware (see below) | |
| * ESPhome (http://esphome.io) for chip firmware | |
| * Home Assistant (http://hass.io) for sensor state machine and push notification. | |
| --- | |
| SHOPPING LIST: |
Scripts to confgire a group of hosts on a LAN to use VXLAN over Wireguard.
Download the latest ugw3 package from https://github.com/Lochnair/vyatta-wireguard/releases and install it on your USG using dpkg -i wireguard-ugw3-<version>.deb.
cd /config/auth
umask 077
mkdir wireguard
cd wireguard
wg genkey > wg_private.key
wg pubkey < wg_private.key > wg_public.key