Skip to content

Instantly share code, notes, and snippets.

⇒ dig communication.etoll.gov.pl +trace
; <<>> DiG 9.10.6 <<>> communication.etoll.gov.pl +trace
;; global options: +cmd
. 40354 IN NS a.root-servers.net.
. 40354 IN NS f.root-servers.net.
. 40354 IN NS h.root-servers.net.
. 40354 IN NS b.root-servers.net.
. 40354 IN NS k.root-servers.net.
. 40354 IN NS j.root-servers.net.
# dig communication.etoll.gov.pl +trace
; <<>> DiG 9.18.19-1~deb12u1-Debian <<>> communication.etoll.gov.pl +trace
;; global options: +cmd
. 30641 IN NS k.root-servers.net.
. 30641 IN NS c.root-servers.net.
. 30641 IN NS h.root-servers.net.
. 30641 IN NS m.root-servers.net.
. 30641 IN NS l.root-servers.net.
. 30641 IN NS g.root-servers.net.
@oki
oki / mqtt.yml
Created December 7, 2022 16:53
Momentary switch configuration for light and iTL-16-20-230 16A 2NO 230VAC/110VDC Acti9 A9C30812 Schneider relay
mqtt:
discovery: true
broker: localhost
username: xxx
password: xxx
port: xxx
birth_message:
topic: 'hass/status'
payload: 'online'
will_message:
---
# secrets: secrets.yaml
appdaemon:
latitude: 1.1
longitude: 1.2
elevation: 3
time_zone: Europe/Amsterdam
plugins:
HASS:
type: hass
root@ceph-admin ~ # ceph -s
cluster:
id: 9545503e-bf20-11ec-bd53-51523cfe5c45
health: HEALTH_WARN
OSD count 2 < osd_pool_default_size 3
services:
mon: 3 daemons, quorum ceph-osd3,ceph-osd2,ceph-mon (age 2h)
mgr: ceph-admin.qyqfni(active, since 5d), standbys: ceph-osd3.yhbita
osd: 2 osds: 2 up (since 5d), 2 in (since 5d)
# ceph orch device ls
HOST PATH TYPE DEVICE ID SIZE AVAILABLE REJECT REASONS
ceph-admin /dev/xvda1 ssd 536M Insufficient space (<5GB), locked
ceph-mon /dev/xvda1 ssd 536M Insufficient space (<5GB), locked
ceph-osd1 /dev/sda hdd QEMU_HARDDISK_drive-scsi0-0-2 214G Insufficient space (<10 extents) on vgs, LVM detected, locked
ceph-osd1 /dev/sdc hdd QEMU_HARDDISK_QM00002 2147M Insufficient space (<5GB)
ceph-osd2 /dev/xvda1 ssd 536M Insufficient space (<5GB), locked
ceph-osd2 /dev/xvda3 ssd 214G In
oki@debian:~/vaultwarden$ find .
.
./ssl
./ssl/xxx.xxx.xxx.pem
./docker-compose.yml
./haproxy
./haproxy/haproxy.cfg
./vw-data
./vw-data/rsa_key.pub.pem
./vw-data/rsa_key.pem
@oki
oki / .env
Created April 14, 2022 21:15
INFLUXDB_USERNAME=foo
INFLUXDB_PASSWORD=bar
GRAFANA_USERNAME=foo
GRAFANA_PASSWORD=bar
@oki
oki / geo_fences.js
Last active February 4, 2022 11:33
import React from 'react'
import SubmitButton from '../../common/inputs/submit_button'
import request from 'superagent'
import { zoomBasedOnRadius } from '../../common/utils/zoom_calculation'
const { compose, withProps, withState, withHandlers } = require("recompose");
import {
withScriptjs,
- alias: Tuscon home parking - front gate close
trigger:
platform: state
entity_id: proximity.tucon_parking
attribute: dir_of_travel
to: "stationary"
for:
minutes: 5
seconds: 42
condition: