Recommended Extentions:
uBlock Origin
https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/
Settings
Make sure the following options are off:
Disable pre-fetching
[alias] | |
partial-push = "!sh -c | |
'REMOTE=$0;BRANCH=$1;BATCH_SIZE=100; | |
if git show-ref --quiet --verify refs/remotes/$REMOTE/$BRANCH; then | |
range=$REMOTE/$BRANCH..HEAD; | |
else | |
range=HEAD; | |
fi; | |
n=$(git log --first-parent --format=format:x $range | wc -l); | |
echo "Have to push $n packages in range of $range"; |
on powersave and battery | |
real 0m11.109s | |
user 0m22.276s | |
sys 0m3.989s | |
real 0m10.972s | |
user 0m22.343s | |
sys 0m3.903s |
esphome: | |
name: $devicename | |
platform: ESP8266 | |
board: d1_mini | |
substitutions: | |
devicename: ambient-light-sensor | |
friendly_name: "Ambient Light Sensor" |
https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/
Make sure the following options are off:
Disable pre-fetching
ESPHome camera settings: | |
resolution: 640x480 #Not more needed in my usecase | |
max_framerate: 10 fps | |
idle_framerate: 0.1 fps | |
jpeg_quality: 10 | |
agc_gain_ceiling: 128x | |
aec_mode: auto | |
aec2: true |
"""Calculate jerks in the recent history (sliding exponential average) from lateral acceleration data""" | |
from __future__ import annotations | |
import time | |
from collections import deque | |
from math import hypot | |
from numpy import ma, logspace |
<?php | |
$apiaccess =[ | |
"url" => "https://grocy.yourdomain.tld/api", | |
"key" => "" | |
]; | |
$quantity_units = [ | |
"Cup US" => [ | |
"name" => "Cup US", | |
"description" => "", | |
"name_plural" => "Cups US" |
alias: 'Bedroom auto turn on High Power Lights ' | |
description: '' | |
trigger: | |
- platform: numeric_state | |
entity_id: switch.adaptive_lighting_bedroom | |
attribute: color_temp_kelvin | |
for: '00:05:00' | |
above: '5000' | |
- platform: state | |
entity_id: input_boolean.bedroom_lights_master_switch |
Compile the tool https://github.com/ipfs/ipfs-ds-convert via your user account
echo "$GOPATH" -> if empty go to ~/go/bin/, else "$GOPATH/bin/"
copy the ipfs-ds-convert binary to /tmp/:
cp -a ipfs-ds-convert /tmp/
convert your datastore:
I understand that there's the ability to build a cluster with ipfs-cluster, with friends. But this is a shared storage space (everybody can delete stuff - not very good). | |
How about adding the ability to add peers as friends to a list, and give them the ability to store a given amount of bytes on my hard drive? | |
This could create a Web of Trust. | |
When the friend will pin a file, the file can be sharded and replicated according to his specifications to his list of peers - I will get also some parts of the file. | |
To acknowledge (somewhat reliably) that a "friend" peer still holds the data, he can be asked like once a day to XOR a salt to the file and send me the checksum. A list of salted-checksums can be calculated before seeding, avoiding that the data has to remain "local" to ask the nodes that they still hold our chunks reliably. |