Skip to content

Instantly share code, notes, and snippets.

View amitsdalal's full-sized avatar
🎯
Focusing

Amit Dalal amitsdalal

🎯
Focusing
View GitHub Profile
@amitsdalal
amitsdalal / gist:f353ad45e66acccada403e5a3fa1fbf8
Last active October 31, 2019 11:49 — forked from pitch-gist/gist:2999707
basic-maintenance-page
<!doctype html>
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>
@amitsdalal
amitsdalal / dnsbl.sh
Created May 10, 2019 11:09
To check the IP listed on the DNSBLs (RBLs) via cli
#!/bin/sh
# Check if an IP address is listed on one of the following blacklists
# The format is chosen to make it easy to add or delete
# The shell will strip multiple whitespace
BLISTS="
dnsbl.justspam.org
bl.score.senderscore.com
bl.mailspike.net
bl.spameatingmonkey.net