Skip to content

Instantly share code, notes, and snippets.

View suominen's full-sized avatar

Kimmo Suominen suominen

View GitHub Profile
@suominen
suominen / screen.terminfo
Created May 4, 2020 21:10
Terminfo source for screen.xterm-256color
#
# For NetBSD 6:
# /usr/bin/tic -x -o ~/.terminfo.cdb screen.terminfo
# chmod go-w ~/.terminfo.cdb
#
# For ncurses 5:
# /usr/pkg/bin/tic -x screen.terminfo
# chmod -R go+rX ~/.terminfo
#
# With ncurses tic, only the first entry is needed as it will
@suominen
suominen / google-spf
Last active November 5, 2020 12:22
List Google's outbound SMTP server address blocks
#!/bin/sh
set -eu
listblocks()
{
local i
for i in $(dig +short "${1}" txt)
do

Keybase proof

I hereby claim:

  • I am suominen on github.
  • I am kimmos (https://keybase.io/kimmos) on keybase.
  • I have a public key ASD5yFVCQl8FQTkmQDaGl5pepTA9ZfhXIRwB3oF5Wuzctwo

To claim this, I am signing this object: