I use a cheap Tapo C100 webcam to monitor my 3D prints. It supports RTSP.
- Go to the Cameras section at https://connect.prusa3d.com
- Add a new camera.
- Click the QR code link
- Click "Start Camera"
I use a cheap Tapo C100 webcam to monitor my 3D prints. It supports RTSP.
This was much trickier than I had originally anticipated and have spent a few hours testing.
The config from samba wiki absolutely works, but it wasn't ranked higher in search engine and it's not general enough. https://github.com/zfsonlinux/zfs-auto-snapshot/wiki/Samba
Tested on ubuntu 22.04LTS, samba 4.15.9 and windows 11.
#!/usr/bin/env python3 | |
# | |
# Notarize a file (e.g. a .dmg) | |
# | |
# Usage: notarize-macos.py <Apple ID username> <Apple ID password> <file> | |
# | |
# Note: The --primary-bundle-id flag is hard-coded below, so you'll want to | |
# change that! | |
# | |
# See https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution#3087727 |
This uses Ubuntu's server cloud image as a stateless container to run the UBNT Unifi Controller software. Configuration data is stored in a directory outside the container. Cloud-init is used to automatically set up the container image, so a new version can be dropped in with minimal effort. This should work with pretty much any modern Linux distro with systemd.
Systemd-nspawn prefers to store its machines on btrfs, so if your /var/lib/machines is not currently btrfs, you should create one and mount it there. Otherwise it will automatically create an image file at /var/lib/machines.raw and mount it.
var SerialPort = require('serialport'); | |
let portList = []; | |
const TAG_NOT_FOUND = 'A0 0A 01 89 00 00 00 00 00 00 00 CC'.replace(/ /g,''); | |
const DEVICE_INIT = 'A0 03 FF 79 E5'.replace(/ /g,''); | |
const DEVICE_INIT_SUCCESS = 'A0 09 01 79 04 0A 1E 0E 0D A8 EE'.replace(/ /g,''); | |
SerialPort.list(function (err, ports) { |
/** | |
* USB HID Keyboard scan codes as per USB spec 1.11 | |
* plus some additional codes | |
* | |
* Created by MightyPork, 2016 | |
* Public domain | |
* | |
* Adapted from: | |
* https://source.android.com/devices/input/keyboard-devices.html | |
*/ |
# | |
# INPUT - Logstash listens on port 8514 for these logs. | |
# | |
input { | |
udp { | |
port => "8514" | |
type => "syslog-cisco" | |
} | |
""" | |
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
BSD License | |
""" | |
import numpy as np | |
# data I/O | |
data = open('input.txt', 'r').read() # should be simple plain text file | |
chars = list(set(data)) | |
data_size, vocab_size = len(data), len(chars) |
Simple way to setup an arm chroot for building packages for your arm devices. This is an alternative to cross-compiling where you are limited to only linking against the libs in your toolchain.
You can store the chroot wherever you like. I choose to store it in a disk-image which I mount to my filesystem.