Skip to content

Instantly share code, notes, and snippets.

{
"aliasColors": {},
"bars": false,
"datasource": "new influx",
"editable": true,
"error": false,
"fill": 1,
"grid": {
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
@eMerzh
eMerzh / karabiner.json
Last active October 14, 2017 09:23
Karabiner in ~/.config/karabiner/karabiner.json
{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"parameters": {
@eMerzh
eMerzh / SlateBody.json
Created February 18, 2022 14:24
Post Of Elium File
{
"object": "value",
"document": {
"object": "document",
"data": {
"version": 4
},
"nodes": [
{
"object": "block",
@eMerzh
eMerzh / configuration.yaml
Last active April 2, 2023 10:38
Rain Estimate Sensor
sensor:
- platform: rest
# find your station on https://hydrometrie.wallonie.be/home/observations/precipitation.html?mode=map&station=DGH%2F2348
# here DGH%2F2348
resource_template: https://hydrometrie.wallonie.be/services/KiWIS/KiWIS?request=getTimeseriesValues&service=kisters&type=queryServices&datasource=0&format=json&maxquality=206&forceCacheHeaderTime=300&valuesasstring=false&ts_path=DGH%2F2348%2FPrecip%2FDay.Total&metadata=false&md_returnfields=ts_id%2C%20ts_path%2C%20ts_spacing%2C%20ts_name%2C%20ts_shortname%2C%20station_no%2C%20station_id%2C%20station_latitude%2C%20station_longitude%2C%20station_name%2C%20ts_unitname%2C%20ts_unitsymbol%2C%20stationparameter_name%2C%20ca_sta&from={{ today_at("00:00").isoformat() }}&returnfields=Timestamp%2CValue
name: "Hydrometrie Lillois"
scan_interval: 1800
unit_of_measurement: "mm"
device_class: "precipitation"
value_template: "{{ value_json[0]['data'][-1][1] }}"
<?php
class BlueskyProfileBridge extends BridgeAbstract {
const NAME = 'Bluesky Profile Posts';
const URI = 'https://bsky.app';
const DESCRIPTION = 'Fetches posts from a Bluesky profile';
const MAINTAINER = 'Code modified from rsshub (TonyRL https://github.com/TonyRL) and expanded';
const PARAMETERS = [
[
'handle' => [
<?xml version="1.0" encoding="UTF-8"?>
<!-- track-length = 16388 filtered ascend = 89 plain-ascend = 6 cost=21931 energy=0.1kwh time=50m 22s -->
<gpx
xmlns="http://www.topografix.com/GPX/1/1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"
version="1.1"
creator="BRouter-Web 0.18.1">
<trk>
<name>Ljubljana (16,4 km)</name>