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
# This script can help you determine if your PTZ is capable of | |
# working with Frigate NVR's autotracker. | |
# | |
# Cameras with a "YES" printed for each parameter at the end of | |
# the output will likely be supported by Frigate. | |
# | |
# Make sure you're using python3 with the onvif-zeep package | |
# Update the values for your camera below, then run: | |
# pip3 install onvif-zeep | |
# python3 ./fovtest.py |
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
blueprint: | |
name: Low battery level detection & notification for all battery sensors | |
description: Regularly test all sensors with 'battery' device-class for crossing | |
a certain battery level threshold and if so execute an action. | |
domain: automation | |
input: | |
threshold: | |
name: Battery warning level threshold | |
description: Battery sensors below threshold are assumed to be low-battery. | |
default: 20 |
Suppose the following resource in pipeline p
is slow to check:
- name: image
type: docker-image
source:
repository: artifactory.internal/concourse-docker/cf-mgmt
tag: '05.12.2020'
insecure_registries:
- artifactory.internal
Systems that has AmbientCapabilities
support (usually kernel >= linux4.3)
[Unit]
Description=FRP Server Daemon
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
# | |
# Demonstrating kSecKeyAlgorithmECIESEncryptionCofactorX963SHA256AESGCM | |
# | |
# David Schuetz (@DarthNull) | |
# May 2018 | |
# | |
# see also: https://darthnull.org/security/2018/05/31/secure-enclave-ecies | |
# | |
############################################################### |
This bootstraps FaaS onto your Raspberry Pi or ARM board with Docker.
Any Linux/UNIX process can be made a serverless function. Communication with functions is via an API gateway with an easy to use UI portal.
https://github.com/alexellis/faas
Here's the one-shot equivalent from the TestDrive guide
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
# | |
# systemd unit file for CentOS 7, Ubuntu 15.04 | |
# | |
# Customize this file based on your bundler location, app directory, etc. | |
# Put this in /usr/lib/systemd/system (CentOS) or /lib/systemd/system (Ubuntu). | |
# Run: | |
# - systemctl enable sidekiq | |
# - systemctl {start,stop,restart} sidekiq | |
# | |
# This file corresponds to a single Sidekiq process. Add multiple copies |
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 bash | |
# This script uses byzanz-record to generate an animated Gif for your interactions | |
# with a window | |
# usage: | |
# Record a window for 3 seconds and save to /home/foo/yo.gif | |
# byzanz-record-window 3 /home/foo/yo.gif | |
# | |
# without parameters, it defaults to 10s and a target file in /tmp/screencast.gif | |
# |
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
/* | |
To the extent possible under law, Konstantin Olkhovskiy has waived | |
all copyright and related or neighboring rights to this snippet. | |
CC0 license: http://creativecommons.org/publicdomain/zero/1.0/ | |
*/ | |
package main | |
import ( | |
"crypto/x509" |
NewerOlder