Skip to content

Instantly share code, notes, and snippets.

Data for: https://wiki.teltonika-gps.com/view/FMC920_Teltonika_Data_Sending_Parameters_ID
239 => "ignition",
240 => "movement",
80 => "data_mode",
21 => "gsm_signal",
200 => "sleep_mode",
69 => "gnss_status",
181 => "gnss_pdop",
182 => "gnss_hdop",
66 => "external_voltage",
work|⇒ git clone [email protected]:legal-telematics/frontend.git
Cloning into 'frontend'...
remote: Enumerating objects: 79, done.
remote: Counting objects: 100% (79/79), done.
remote: Compressing objects: 100% (53/53), done.
remote: Total 79 (delta 18), reused 70 (delta 12), pack-reused 0 (from 0)
Receiving objects: 100% (79/79), 135.46 KiB | 700.00 KiB/s, done.
Resolving deltas: 100% (18/18), done.
work|⇒ cd frontend
frontend|master ⇒ ls
import = [ "~/.config/alacritty/themes/themes/campbell.toml" ]
[font]
# normal = { family = "Monaco", style = "Regular" }
# normal = { family = "Monooki", style = "Regular" }
# normal = { family = "JetBrains Mono", style = "Regular" }
# normal = { family = "CommitMono Nerd Font Propo", style = "Regular" }
# normal = { family = "CommitMono Nerd Font Mono", style = "Regular" }
normal = { family = "CommitMono Nerd Font", style = "Regular" }
[alias]
ci = commit
co = checkout
st = status
d = diff
lp = log -p
l = log --abbrev-commit
pr = pull --rebase
po = push origin
pp = push production
@oki
oki / fix
Last active November 9, 2023 09:22
tb-devops|master⚡ ⇒ brew remove ansible
Uninstalling /opt/homebrew/Cellar/ansible/8.6.0_1... (30,291 files, 445.5MB)
tb-devops|master⚡ ⇒ brew install ansible.rb
Error: Failed to load cask: ansible.rb
Cask 'ansible' is unreadable: wrong constant name #<Class:0x0000000132b16e70>
Warning: Treating ansible.rb as a formula.
==> Downloading https://ghcr.io/v2/homebrew/core/ansible/manifests/8.5.0_1
Already downloaded: /Users/oki/Library/Caches/Homebrew/downloads/7883d6116327f8dbacc0433a06e78abbc1e858c60e6612bd0f81619a198f26fb--ansible-8.5.0_1.bottle_manifest.json
==> Fetching ansible
⇒ 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)