Skip to content

Instantly share code, notes, and snippets.

View mweinelt's full-sized avatar
❄️

Martin Weinelt mweinelt

❄️
View GitHub Profile
@mweinelt
mweinelt / router-reboots.json
Created November 27, 2019 23:09
Grafana Dashboards for Freifunk Communities
{
"datasource": "Yanic",
"aliasColors": {},
"bars": true,
"dashLength": 10,
"dashes": false,
"decimals": 0,
"description": "Counts the number of times the uptime value of a router was reset, grouped by model.\n\nLimited to 48h due to excessive computing requirements.",
"fill": 3,
"fillGradient": 3,
This file has been truncated, but you can view the full file.
============================= test session starts ==============================
platform linux -- Python 3.8.9, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
rootdir: /build/source, configfile: pyproject.toml
plugins: aiohttp-0.3.0, mock-3.6.1, rerunfailures-10.1, xdist-2.3.0, forked-1.3.0, requests-mock-1.9.3, anyio-3.2.1
gw0 [1838] / gw1 [1838] / gw2 [1838] / gw3 [1838] / gw4 [1838] / gw5 [1838]
........................................................................ [ 3%]
........................................................................ [ 7%]
............................................F........................... [ 11%]
F.......F............F.................................................. [ 15%]
........................................................................ [ 19%]
@mweinelt
mweinelt / 02f841.yaml
Created December 1, 2021 23:47
ESPHome Templating mit Jinja2
---
# vim: set ft=yaml
<<: !include ../base.yml
substitutions:
macsuffix: "02f841"
esphome:
name: "esphome-${macsuffix}"
EEEEE..s...........................................................................................................................................................ssss................................................................................................................................s...............................................ss.........s.s.s.........................s.....s.......................s.......s...........s.s.......................................................s.s.....................................................................s.s...s...................................................................................................................................................................................s............s..s..s..s......................................................s....................................................................................................................................................................................................
This file has been truncated, but you can view the full file.
-- Journal begins at Thu 2022-01-13 10:29:42 CET. --
Feb 11 19:01:52 meduna zigbee2mqtt[261290]: winston:file: written true false
Feb 11 19:01:52 meduna zigbee2mqtt[261290]: 2022-02-11T18:01:52.072Z mqttjs:client publish :: message `{"level":"info","message":"Stopped zigbee-herdsman"}` to topic `zigbee2mqtt/bridge/logging`
Feb 11 19:01:52 meduna zigbee2mqtt[261290]: Zigbee2MQTT:info 2022-02-11 19:01:52: Stopped Zigbee2MQTT
Feb 11 19:01:52 meduna zigbee2mqtt[261290]: winston:file: written true false
Feb 11 19:01:52 meduna zigbee2mqtt[261290]: 2022-02-11T18:01:52.073Z mqttjs:client publish :: message `{"level":"info","message":"Stopped Zigbee2MQTT"}` to topic `zigbee2mqtt/bridge/logging`
Feb 11 19:01:52 meduna zigbee2mqtt[261290]: winston:file: logged 57549 info 2022-02-11 19:01:52: Stopped zigbee-herdsman
Feb 11 19:01:52 meduna zigbee2mqtt[261290]: winston:file: logged 57596 info 2022-02-11 19:01:52: Stopped Zigbee2MQTT
Feb 11 19:01:52 meduna systemd[1]: zigbee2mqtt.service: Deactivated successfully.
Feb 11
❯ nom-build -A python39Packages.twisted --check
checking outputs of '/nix/store/ha933dh6y58i15y6qfazr7355wc3qlad-python3.9-Twisted-21.7.0.drv'...
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Mon Nov 23 13:41:47 2020 kern.notice kernel: [ 0.000000] Linux version 5.4.182 (hexa@build.ffda.io) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16537+10-cd17ca7d6f)) #0 Mon Nov 23 12:41:34 2020
Mon Nov 23 13:41:47 2020 kern.info kernel: [ 0.000000] printk: bootconsole [early0] enabled
Mon Nov 23 13:41:47 2020 kern.info kernel: [ 0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
Mon Nov 23 13:41:47 2020 kern.info kernel: [ 0.000000] MIPS: machine is Ubiquiti UniFi AC Mesh
Mon Nov 23 13:41:47 2020 kern.info kernel: [ 0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
Mon Nov 23 13:41:47 2020 kern.info kernel: [ 0.000000] Initrd not found or empty - disabling initrd
Mon Nov 23 13:41:47 2020 kern.warn kernel: [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Mon Nov 23 13:41:47 2020 kern.warn kernel: [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Mon Nov 23 13:41:47 2020 kern.info kernel: [ 0.000000] Zone ranges:
Mon Nov 23 13:41:
0:00.33(B /nix/store/x7sxk4xww4xczsjrmz0xwnimsp9ifdvg-gnumake-4.3/bin/make -C . -j12 -s -w buildsymbols(B
0:00.35(B make: Entering directory '/build/firefox-91.9.0/mozobj'(B
0:00.36(B make[1]: Entering directory '/build/firefox-91.9.0/mozobj/config/external/sqlite'(B
0:00.37(B make[1]: Leaving directory '/build/firefox-91.9.0/mozobj/config/external/sqlite'(B
0:00.82(B make[1]: Entering directory '/build/firefox-91.9.0/mozobj/media/libdav1d'(B
0:00.83(B make[1]: Leaving directory '/build/firefox-91.9.0/mozobj/media/libdav1d'(B
0:00.85(B make[1]: Entering directory '/build/firefox-91.9.0/mozobj/netwerk/dns'(B
0:00.86(B make[2]: Entering directory '/build/firefox-91.9.0/mozobj/netwerk/dns/mdns'(B
0:00.86(B make[2]: Leaving directory '/build/firefox-91.9.0/mozobj/netwerk/dns/mdns'(B
0:00.87(B make[2]: Entering directory '/build/firefox-91.9.0/mozobj/netwerk/dns/tests'(B
2022/07/14 21:22:14 [error] 670644#670644: *46589 FastCGI sent in stderr: "PHP message: [error] Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /api/tag" (from "https://strichliste.w17.io/")" at /nix/store/3my6w45qnglgj5m77i8mvl0nndp630p7-strichliste-v1.7.0/vendor/symfony/http-kernel/EventListener/RouterListener.php line 136" while reading response header from upstream, client: 172.20.65.16, server: strichliste.w17.io, request: "GET /api/tag HTTP/2.0", upstream: "fastcgi://unix:/run/phpfpm/strichliste.sock:", host: "strichliste.w17.io", referrer: "https://strichliste.w17.io/"
2022/07/14 21:49:13 [error] 670644#670644: *46821 FastCGI sent in stderr: "PHP message: [error] Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /api/tag" (from "https://strichliste.w17.io/")" at /nix/store/3my6w45qnglgj5m77i8mvl0nndp630p7-strichliste-v1.7.0/vendor/symfony/http-kernel/EventListener/RouterListener.php
@mweinelt
mweinelt / t0021-conversion
Last active September 17, 2022 01:59
Git test failures when building on ZFS on Linux
Initialized empty Git repository in /build/git-2.37.3/t/trash directory.t0021-conversion/.git/
expecting success of 0021.1 'setup':
git config filter.rot13.smudge ./rot13.sh &&
git config filter.rot13.clean ./rot13.sh &&
{
echo "*.t filter=rot13" &&
echo "*.i ident"
} >.gitattributes &&