// SPDX-License-Identifier: Apache-2.0
Download ARM static binary from https://pkgs.tailscale.com/stable/#static .
Enable SSH on your Rainmachine
Copy to Rainmachine
// SPDX-License-Identifier: Apache-2.0
Download ARM static binary from https://pkgs.tailscale.com/stable/#static .
Enable SSH on your Rainmachine
Copy to Rainmachine
/************************************************************************************************************************* | |
* Purpose: Add items to the Home Assistant sidebar to any path in Home Assistant | |
* Many thanks to balloob https://gist.github.com/balloob for his initial code (see link in Change Log) | |
* ------------------------------------------------------------------------------------------------------- | |
* Resources and References: | |
* - Current Code Source https://gist.github.com/Acqua-H/a33ef5bd5a95f14c5888494565bb0436 | |
* - HA Forum Thread https://community.home-assistant.io/t/how-to-add-a-restart-home-assistant-button-to-sidebar/214179/2 | |
* - Acqua https://github.com/Acqua-H/ | https://community.home-assistant.io/u/acqua/ | |
* ------------------------------------------------------------------------------------------------------- | |
* Change Log: |
asyncapi: 2.0.0 | |
# --- | |
id: 'urn:dalelane:stock-level-events' | |
# --- | |
info: | |
title: Stock level events |
#!/usr/bin/env bash | |
set -Eeuo pipefail | |
trap cleanup SIGINT SIGTERM ERR EXIT | |
script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P) | |
usage() { | |
cat <<EOF | |
Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...] |
Restart USB ports after a power overdraw (error -110). Unplug all devices prior to running script.
References:
On systems with UEFI Secure Boot enabled, recent Linux kernels will only load signed modules, so it's about time DKMS grew the capability to sign modules it's building.
These scripts are extended and scriptified variants of https://computerlinguist.org/make-dkms-sign-kernel-modules-for-secure-boot-on-ubuntu-1604.html and https://askubuntu.com/questions/760671/could-not-load-vboxdrv-after-upgrade-to-ubuntu-16-04-and-i-want-to-keep-secur/768310#768310 and add some error checking, a passphrase around your signing key, and support for compressed modules.
dkms-sign-module
is a wrapper for the more generic sign-modules
which can also be used outside of DKMS.
/root
, say /root/module-signing
, put the three scripts below in there and make them executable: chmod u+x one-time-setup sign-modules dkms-sign-module
A quick guide on how to read/write/modify ID3 metadata tags for audio / media files using ffmpeg
.
FFmpeg has a free-form command line option that allows the user to specify key-value-pairs for encoding metadata. Let's take a look.
To list all global metadata tags for a media file, just set an input but no output file.
IPTables is the Firewall service that is available in a lot of different Linux Distributions. While modifiying it might seem daunting at first, this Cheat Sheet should be able to show you just how easy it is to use and how quickly you can be on your way mucking around with your firewall.
The following list is a great set of documentation for iptables
. I used them to compile this documentation.
#!/bin/sh | |
# check for where the latest version of IDEA is installed | |
IDEA=`ls -1d /Applications/IntelliJ\ * | tail -n1` | |
wd=`pwd` | |
# were we given a directory? | |
if [ -d "$1" ]; then | |
# echo "checking for things in the working dir given" | |
wd=`ls -1d "$1" | head -n1` |
####Rets Rabbit http://www.retsrabbit.com
Rets Rabbit removes the nightmare of importing thousands of real estate listings and photos from RETS or ListHub and gives you an easy to use import and Web API server so you can focus on building your listing search powered website or app.