Skip to content

Instantly share code, notes, and snippets.

- hosts: localhost
gather_facts: no
connection: local
vars:
customer:
- name: cust1
events:
- name: event 1
letter: birthday
- name: event 2
$ cat numbers.yml
- hosts: localhost
vars:
i: "17" # strings here like from register, etc.
f: "92.87"
s: "my name"
tasks:
- set_fact:
numbers:
my_i: "{{ i }}"
2024-02-04T07:13:10Z lwt {"_type":"lwt"}
1707030792: New client connected from 95.223.106.181:1388 as jane-nokia (p1, c0, k60, u'jane').
1707030792: owntracks/jane/nokia
1707030792: Sending CONNACK to jane-nokia (0, 0)
1707030792: Received SUBSCRIBE from jane-nokia
1707030792: jane-nokia 2 owntracks/+/+
1707030792: jane-nokia 2 owntracks/+/+/event
1707030792: jane-nokia 2 owntracks/+/+/info
1707030792: owntracks/jane/nokia/cmd (QoS 2)
1707030792: jane-nokia 2 owntracks/jane/nokia/cmd
@jpmens
jpmens / mexico.csv
Created January 26, 2024 08:55
Mexico 2023/2024 Points of Interest
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 8.
lat,lon,"name","isotst","address"
50.046365,8.572055,"FRA gate B28, LH498","2023-12-17T12:27:43Z","Terminal 1 Flugsteig B, Ankunftbogen, 60549 Frankfurt, Germany"
17.065921,-96.717023,"Oaxaca, hotel Los Pilares","2023-12-20T02:43:42Z","Los Pilares, C las Curtidurías 721-A, Colonia América Norte, 68080 Oaxaca, OAX, Mexico"
17.062621,-96.724276,"café Brujula; Pepe Limón","2023-12-20T19:50:55Z","Monte de Piedad, Avda de José María Morelos 703, Oaxaca de Juárez, 68000 Oaxaca de Juárez, OAX, Mexico"
16.921599,-96.362901,"Mitla, downtown","2023-12-21T19:08:04Z","Don Cenobio, Benito Juárez, Mitla, 70430 San Pablo Villa de Mitla, OAX, Mexico"
16.828945,-93.095473,"Mirador Cañón del Sumidero","2023-12-22T17:01:54Z","Mirador, Calzada al Sumidereo, 29049 Tuxtla Gutiérrez, CHP, Mexico"
18.559602,-89.945345,"Balamkú (Maya)","2023-12-23T20:39:05Z","Zona arqueológica de Balamkú, Carretera Francisco Escárcega-Chetumal, 24653 Nuevo Conhuás, CAM, Mexico"
18.680511,-88.387077,"very good breakfast","2023-12-24T14:29:19Z","Los Ba
#!/bin/sh
# Copyright 2023 Codeberg e.V.
# This work is marked with CC0 1.0 Universal. To view a copy of this
# license, visit http://creativecommons.org/publicdomain/zero/1.0
# This work is dedicated to the public domains under the terms of the
# Unlicense, visit https://unlicense.org/
# You are free to choose either the CC0 1.0 Univesal or Unlicense for this
# work.
============= 01.json
{"_type":"cmd", "action":"reportLocation"}
ok -- validation done
The following files were checked:
01.json
============= 02.json
{"_type":"cmd", "action":"reportSteps"}
ok -- validation done
{
"type": "object",
"properties": {
"_type": {
"enum": [ "cmd", "waypoint" ]
},
"action": {
"default": "dump",
"enum" : [
"reportLocation",
---
- name: testplaybook
become: true
become_method: sudo
hosts: ansible-test
gather_facts: false
vars:
new_ip: 10.65.5.14
interfaces_content: |
auto eth0
;; Truncated, retrying in TCP mode.
; <<>> DiG 9.18.11 <<>> @127.0.0.1 gaodong.com MX
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2541
;; flags: qr rd ra; QUERY: 1, ANSWER: 123, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
BIND 9.16.37 (Extended Support Version) <id:2b2afb2>
running on Linux x86_64 5.10.25-linuxkit #1 SMP Tue Mar 23 09:27:39 UTC 2021
built by make with '--host=x86_64-suse-linux-gnu' '--build=x86_64-suse-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/lib' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--with-python=/usr/bin/python3' '--includedir=/usr/include/bind' '--disable-static' '--with-openssl' '--enable-threads' '--with-libtool' '--with-libxml2' '--with-libjson' '--with-libidn2' '--with-dlz-mysql' '--with-dlz-ldap' '--with-randomdev=/dev/urandom' '--enable-ipv6' '--with-pic' '--disable-openssl-version-check' '--with-tuning=large' '--with-maxminddb' '--with-dlopen' '--with-gssapi=yes' '--disable-isc-spnego' '--enable-fixed-rrset' '--enable-fil