Skip to content

Instantly share code, notes, and snippets.

View gist:0daf77a79b36213524c973103e8ba507
; <<>> DiG 9.16.4 <<>> @1.1.1.1 microsoft.com TXT
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48230
;; flags: qr rd ra; QUERY: 1, ANSWER: 14, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
View gist:930d529cda0ca80f682b983504e10746
; <<>> DiG 9.16.4 <<>> @cheese.sesameh.de. caserio.net. ns
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58739
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
@jpmens
jpmens / dm-toilet-paper.js
Created Oct 22, 2020 — forked from marco79cgn/dm-toilet-paper.js
Scriptable iOS widget that shows the amount of toilet paper which is available at your next dm drugstore
View dm-toilet-paper.js
let storeId = 177
let param = args.widgetParameter
if (param != null && param.length > 0) {
storeId = param
}
const storeCapacity = await fetchAmountOfPaper()
const storeInfo = await fetchStoreInformation()
const widget = new ListWidget()
await createWidget()
View gist:b271db3b9ca8ee7d66514bd30ba3a436
$ dig PASSAU.zipde.jpmens.net txt
; <<>> DiG 9.16.4 <<>> PASSAU.zipde.jpmens.net txt
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57609
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
View gist:36cc5ff1497d280657fe9b72f1c2357d
; <<>> DiG 9.16.4 <<>> @1.1.1.1 CSE.air.jpmens.net URI
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45139
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
View greta.txt
Date: Mon, 13 Jul 2020 10:48:56 +0000
From: Greta Matuzevičiūtė <greta.matuzeviciute@fortismedia.net>
Subject: RE: Sponsored Guest Post on jpmens.net
X-Rspamd-Score: -1.20004
Hi there,
I got in touch a while back about the possibility of working together.
We’d be interested in publishing a guest article on jpmens.net. We have an
@jpmens
jpmens / Documentation.md
Created Jul 12, 2020 — forked from KartikTalwar/Documentation.md
Rsync over SSH - (40MB/s over 1GB NICs)
View Documentation.md

The fastest remote directory rsync over ssh archival I can muster (40MB/s over 1gb NICs)

This creates an archive that does the following:

rsync (Everyone seems to like -z, but it is much slower for me)

  • a: archive mode - rescursive, preserves owner, preserves permissions, preserves modification times, preserves group, copies symlinks as symlinks, preserves device files.
  • H: preserves hard-links
  • A: preserves ACLs
@jpmens
jpmens / ansible_inventory_plugin_example.py
Created May 27, 2020 — forked from srgvg/ansible_inventory_plugin_example.py
This is a boiler plate example that could be used to write an inventory plugin It shows the use case of retrieving data from a remote API, which might be a slow or costly action, you may want to cache. What needs to be initialized in Ansible to use a cache is shown, too.
View ansible_inventory_plugin_example.py
# This is a boiler plate example that could be used to write an inventory plugin.
# It shows the use case of retrieving data from a remote API, which might be a
# slow or costly action, you may want to cache.
# What needs to be initialized in Ansible to use a cache is shown, too.
# This example by by Serge van Ginderachter <serge@vanginderachter.be>
# Copyright (c) 2017 Ansible Project
# Copyright (c) 2020 Serge van Ginderachter <serge@vanginderachter.be>
# GNU General Public License v3.0+
# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
View gist:7182cb833df3492397096419117098d5
; <<>> DiG 9.13.1 <<>> +dnssec +multiline @192.168.1.53 dlv.isc.org SOA +cd
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52654
;; flags: qr rd ra cd; QUERY: 1, ANSWER: 2, AUTHORITY: 3, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 4096
View gist:3f6dcab41071d05935dd4bf69b4816a3
; <<>> DiG 9.13.1 <<>> +dnssec +multiline @8.8.8.8 dlv.isc.org SOA +cd
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7914
;; flags: qr rd ra cd; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 512
You can’t perform that action at this time.