This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import qualified Data.Map as M | |
import qualified XMonad.StackSet as W | |
import Data.String | |
import Data.List | |
import Data.Maybe | |
import Data.Ratio | |
import Control.Monad (liftM2) | |
import Control.Monad.IO.Class (liftIO) | |
import System.Environment (setEnv) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import urllib2 | |
import re | |
""" | |
This script prints up-to-date list of blocked subnets in Ukraine. This output may be used | |
in a shell script on router to selectively route all traffic to blocked resources through | |
your VPN. | |
GATEWAY="10.0.1.1" |