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
#!/bin/sh | |
API_KEY="your_api_key_here" | |
HOST_URL="https://localhost" | |
PING_HOST="1.1.1.1" | |
PING_RESULT=$(ping -c 1 "$PING_HOST" | tail -1 | awk '{print $4}' | cut -d '/' -f 2) | |
if [ "${HOST_URL: -1}" != "/" ]; then | |
HOST_URL="${HOST_URL}/" |
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
[General] | |
bypass-system = true | |
ipv6 = false | |
prefer-ipv6 = false | |
private-ip-answer = true | |
dns-direct-system = false | |
dns-fallback-system = false | |
dns-direct-fallback-proxy = true | |
dns-server = https://dns.adguard-dns.com/dns-query, tls://dns.adguard-dns.com, quic://dns.adguard-dns.com | |
fallback-dns-server = https://8.8.8.8/dns-query,https://1.1.1.1/dns-query |
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
"""Map from manufacturer to standard clusters for thermostatic valves.""" | |
import logging | |
from typing import Optional, Union | |
from zigpy.profiles import zha | |
import zigpy.types as t | |
from zigpy.zcl.clusters.general import Basic, Groups, Ota, Scenes, Time | |
from zhaquirks.const import ( | |
DEVICE_TYPE, |
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
package jaredbgreat.minefantasy.herbs; | |
import jaredbgreat.minefantasy.Info; | |
import net.minecraft.creativetab.CreativeTabs; | |
import net.minecraft.item.Item; | |
import net.minecraft.potion.PotionHelper; | |
public class ItemHerb extends Item { | |
public ItemHerb(EHerbs herb) { |