Skip to content

Instantly share code, notes, and snippets.

View ziggythehamster's full-sized avatar

Keith Gable ziggythehamster

View GitHub Profile
@PhirePhly
PhirePhly / ISA.txt
Created March 26, 2012 20:42
Intro to the ISA bus by Mark Sokos
THE ISA AND PC/104 BUS
IBM, IBM/XT, IBM PC, and IBM PC AT are registered trademarks of
International Business Machines Corporation.
This file is designed to give a basic overview of the bus found in
most IBM clone computers, often referred to as the XT or AT bus. The
AT version of the bus is upwardly compatible, which means that cards
@jcaffey
jcaffey / iso_3166-1_alpha3_countries.json
Created May 8, 2014 16:20
ISO 3166-1 alpha-3 countries in JSON (without exceptional reservations)
[
{
"name": "Andorra",
"abbreviation": "AND"
},
{
"name": "United Arab Emirates",
"abbreviation": "ARE"
},
{
@toke
toke / fw_block.sh
Last active April 24, 2023 09:36
Simple spamhaus ipset firewall block
#!/usr/bin/bash
## Run every 24h via cron
## Old entries will time out later automatically
(
cd /var/lib/firewall
wget -qN 'http://www.spamhaus.org/drop/drop.txt'
ipset create -exist spamhaus_drop hash:net counters timeout 90000 comment