Skip to content

Instantly share code, notes, and snippets.

View andrewimeson's full-sized avatar

Andrew Imeson andrewimeson

View GitHub Profile
andrewimeson / dns-block-check-example.bash
Created December 31, 2018 20:18
example of checking if domains are blocked using, which returns an NXDOMAIN with a special authority section upon block
#!/usr/bin/env bash
# Quick script to test if names are blocked using's Family
# Filter DNS servers
domain_is_blocked() {
for name in "$@"; do
result=$(dig "$name" @${DNS_SERVER})
if echo "$result" | grep -q 'status: NXDOMAIN'; then

Keybase proof

I hereby claim:

  • I am andrewimeson on github.
  • I am andrewimeson ( on keybase.
  • I have a public key ASCLygkkyrwEhgEXPBhQhL59lO6klZXL_N_PdbEKTecyqQo

To claim this, I am signing this object:

andrewimeson / 0_reuse_code.js
Last active August 29, 2015 14:24
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console