Instructions for restoring bucket
s using Minio mirror
features.
Install Link install link
Instructions for restoring bucket
s using Minio mirror
features.
Install Link install link
services: | |
ts-ollama-ui: | |
image: tailscale/tailscale:latest | |
container_name: ts-ollama-ui | |
hostname: ollama-ui # http://ollama-ui.<tailnet>.ts.net | |
extra_hosts: | |
- "host.docker.internal:host-gateway" # important for ollama web ui to communicate with ollama running locally | |
environment: | |
- TS_AUTHKEY=<YOUR_OAUTH_KEY / YOUR_AUTH_KEY > | |
- "TS_EXTRA_ARGS=--advertise-tags=tag:container --reset" ## only needed if you use YOUR_OAUTH_KEY with owner tags |
Content :
find . -name '*.dart' ! -name '*.g.dart' ! -name '*.freezed.dart' ! -name '*.gr.dart' ! -name '*.gen.dart' | xargs wc -l
Thanks @AcetylsalicylicAcid for excluding generated files.
GOAL: Send a push notification after the (vibrations from the) dryer cycle has completely stopped. | |
USING: | |
* Inexpensive hardware (see below) | |
* ESPhome (http://esphome.io) for chip firmware | |
* Home Assistant (http://hass.io) for sensor state machine and push notification. | |
--- | |
SHOPPING LIST: |
class Preference { | |
static SharedPreferences _prefs; | |
static Map<String, dynamic> _memoryPrefs = Map<String, dynamic>(); | |
static Future<SharedPreferences> load() async { | |
if (_prefs == null) { | |
_prefs = await SharedPreferences.getInstance(); | |
} | |
return _prefs; | |
} |
#include <ESP8266WiFi.h> | |
#include <WiFiUdp.h> | |
WiFiUDP Udp; | |
const char* ssid = "yourwifiSSID"; | |
const char* password = "yourwifipassword"; | |
const int threshold = 400; //this is the threshold how high the value has to be to be registered as a flash. | |
//400 works great for me since flashes are usually ~600 | |
IPAddress remoteIP(192,168,1,117); // the IP address of your Influxdb server |
# This Program illustrates the Client Side RPC on ThingsBoard IoT Platform | |
# Paste your ThingsBoard IoT Platform IP and Device access token | |
# Client_Side_RPC.py : This program will illustrates the Client side | |
import os | |
import time | |
import sys | |
import json | |
import random | |
import paho.mqtt.client as mqtt |