start new:
tmux
start new with session name:
tmux new -s myname
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 (as | |
well as binary battery sensors with value 'on'). |
rem to disable private dns | |
adb shell settings put global private_dns_mode off | |
rem to enable private dns with hostname (example with dns.adguard.com) | |
adb shell settings put global private_dns_mode hostname | |
adb shell settings put global private_dns_specifier dns.adguard.com |
blueprint: | |
name: Bathroom Humidity Exhaust Fan | |
description: > | |
# 🚿 Bathroom Humidity Exhaust Fan | |
**Version: 2.3** | |
Step into the future of freshness - customize it your way and let the automated fan system handle the humidity control for you! 🌿🚿 | |
{ | |
"input": { | |
"blocklist": [], | |
"compressor": { | |
"attack": 20.0, | |
"boost-amount": 6.0, | |
"boost-threshold": -72.0, | |
"hpf-frequency": 10.0, | |
"hpf-mode": "off", | |
"input-gain": 0.0, |
-- a quick LUA access script for nginx to check IP addresses against an | |
-- `ip_blacklist` set in Redis, and if a match is found send a HTTP 403. | |
-- | |
-- allows for a common blacklist to be shared between a bunch of nginx | |
-- web servers using a remote redis instance. lookups are cached for a | |
-- configurable period of time. | |
-- | |
-- block an ip: | |
-- redis-cli SADD ip_blacklist 10.1.1.1 | |
-- remove an ip: |
- Specific Notmuch filters (and saved-searches) for: | |
+ The Feed (newsletters, blogs) | |
+ The Paper trail (receipts, ledger) | |
+ Screened Inbox (mail from folks you actually want to read) | |
+ Previously Seen (important mail that you've already read) | |
+ Unscreened Inbox (potential spam / stuff you don't want) | |
- Elisp Functions to move / categorize emails from a particular sender. | |
+ Adds tags needed by filters defined above to all email sent by a particular sender | |
+ Creates an entry in a DB file, which is used by the Notmuch post-new script when indexing new email, to auto-add the relevant tags. |
#!/data/data/com.termux/files/usr/bin/bash | |
# https://github.com/orgzly/orgzly-android/issues/8 | |
orgzly_sync() { | |
# if you are using orgzly-revived use the following instead: | |
# am broadcast -n com.orgzlyrevived/com.orgzly.android.ActionReceiver -a com.orgzly.intent.action.SYNC_START | |
am broadcast -n com.orgzly/com.orgzly.android.ActionReceiver -a com.orgzly.intent.action.SYNC_START | |
} |