$ arp -na | grep -e "b8:27:eb" -e "dc:a6:32" -e "e4:5f:01"
from https://smallstep.com/blog/build-a-tiny-ca-with-raspberry-pi-yubikey/
pbpaste | xargs -I {} qrencode -t UTF8 -o - 'otpauth://totp/github.com/suhlig?secret={}&issuer=GitHub' |
# adapted from https://twitter.com/David3141593/status/1509457643206811652 | |
pbpaste | qrencode -o - | open -fa Preview | |
# terminal only | |
pbpaste | qrencode -t UTF8 -o - |
# see also https://github.com/go-delve/delve/tree/master/Documentation/api/dap | |
go build -o plaintweet-darwin \ | |
&& dlv exec --headless --log --api-version 2 --listen localhost:42353 -- ./plaintweet-darwin serve |
{{ printf "%#v" . }} |
SELECT | |
CAST(SUM(ZMEDIADURATION) / 60 / 60 AS INT) AS listened_hours, | |
ZPODCAST.ZTITLE as podcast, | |
ZURL as url | |
FROM | |
ZPODCAST, | |
ZPODCASTEPISODE | |
WHERE | |
ZPODCASTEPISODE.ZPODCASTFOREPISODE == ZPODCAST.Z_PK | |
AND |
$ arp -na | grep -e "b8:27:eb" -e "dc:a6:32" -e "e4:5f:01"
from https://smallstep.com/blog/build-a-tiny-ca-with-raspberry-pi-yubikey/
-- start sqlite monitor with _histdb_query | |
-- most-often used commands; top ones at the bottom | |
SELECT | |
commands.argv, count(*) as invocation_count | |
FROM | |
history | |
LEFT JOIN | |
commands | |
ON |
steampipe query --output json " | |
select | |
title, url, 'https://news.ycombinator.com/item?id=' || id as comments_url | |
from | |
hackernews_top | |
where | |
time > current_date - interval '24 hour' | |
order by | |
score desc | |
limit |
$x("//a[@title='Click to re-crawl this link']").forEach(element => element.click()); |