Skip to content

Instantly share code, notes, and snippets.

View todd-a-jacobs's full-sized avatar

Todd A. Jacobs todd-a-jacobs

View GitHub Profile
@todd-a-jacobs
todd-a-jacobs / @theia@infosec.exchange.html
Created June 9, 2023 21:50
Mastodon verification for @Theia@infosec.exchange
<html>
<body>
<a rel="me" href="https://infosec.exchange/@theia">Theia Institute℠ on Mastodon</a>
</body>
</html>
@todd-a-jacobs
todd-a-jacobs / ruby_social_verification.html
Created May 25, 2023 06:23
Mastodon Verification for Todd A. Jacobs on ruby.social
<html>
<body>
<a rel="me" href="https://ruby.social/@todd_a_jacobs">@todd_a_jacobs@ruby.social</a>
</body>
</html>
@todd-a-jacobs
todd-a-jacobs / infosec_exchange_verification.html
Last active May 25, 2023 05:42
Mastodon Verification for Todd A. Jacobs on infosec.exchange
<html>
<body>
<a rel="me" href="https://infosec.exchange/@todd_a_jacobs">@todd_a_jacobs@infosec.exchange</a>
</body>
</html>
@todd-a-jacobs
todd-a-jacobs / fosstodon_verification.html
Created May 25, 2023 05:23
Mastodon Verification for Todd A. Jacobs on fosstodon.org
<html>
<body>
<a rel="me" href="https://fosstodon.org/@todd_a_jacobs">@todd_a_jacobs@fosstodon.org</a>
</body>
</html>
@todd-a-jacobs
todd-a-jacobs / mastodon_social_verification.html
Last active May 25, 2023 05:12
Mastodon.Social Verification
<html>
<body>
<a rel="me" href="https://mastodon.social/@todd_a_jacobs">@todd_a_jacobs@mastodon.social</a>
</body>
</html>
@todd-a-jacobs
todd-a-jacobs / cloudflare-dns.sh
Created May 13, 2019 22:24
Enable Cloudflare DNS (1.1.1.1) on macOS Wi-Fi interface
#!/usr/bin/env bash
# Purpose:
# Use Cloudflare's 1.1.1.1 DNS service on macOS from the command line.
# There's no Cloudflare client for the Mac to make switching easier.
# Author:
# Todd A. Jacobs
# Copyright:
# Copyright 2019 Todd A. Jacobs
# License:
@todd-a-jacobs
todd-a-jacobs / copyright_header.rb
Created March 14, 2019 08:37
Ruby copyright header as multi-line comment, for use with the GPLv3.
@todd-a-jacobs
todd-a-jacobs / keybase.md
Created January 20, 2019 02:11
Keybase ID: tjacobs

Keybase proof

I hereby claim:

  • I am todd-a-jacobs on github.
  • I am tjacobs (https://keybase.io/tjacobs) on keybase.
  • I have a public key whose fingerprint is 0013 DCED 0E7C A8BC 9A0D A3FC 6FC8 DFF3 A8F7 B499

To claim this, I am signing this object:

@todd-a-jacobs
todd-a-jacobs / _cd.sh
Last active December 18, 2018 19:12
Change directory with CDPATH support.
# Change directory with CDPATH support. Culled from the bash-completion package.
_compopt_o_filenames ()
{
type compopt &> /dev/null && compopt -o filenames 2> /dev/null || compgen -f /non-existing-dir/ > /dev/null
}
_filedir ()
{
local i IFS='
@todd-a-jacobs
todd-a-jacobs / os-name.sh
Created March 29, 2018 12:02
Use facter and jq to reliably grab the OS name regardless of platform.
facter --json os | jq .os.name