Skip to content

Instantly share code, notes, and snippets.

View leonidlezner's full-sized avatar

Leonid Lezner leonidlezner

View GitHub Profile
@leonidlezner
leonidlezner / itunes-podcast-categories.json
Last active April 12, 2020 12:20 — forked from dpellenwood/itunes-podcast-categories.json
A list of the current iTunes podcast categories in different formats
[
{
"Arts": [
"Books",
"Design",
"Fashion & Beauty",
"Food",
"Performing Arts",
"Visual Arts"
]
@leonidlezner
leonidlezner / _phlow.yml
Created January 4, 2020 10:45 — forked from Phlow/_phlow.yml
Three templates for asciidoctor-pdf #asciidoctor #style #template
font:
catalog:
# Noto Serif supports Latin, Latin-1 Supplement, Latin Extended-A, Greek, Cyrillic, Vietnamese & an assortment of symbols
Open Sans:
normal: OpenSans-Regular.ttf
bold: OpenSans-Bold.ttf
italic: OpenSans-Italic.ttf
bold_italic: OpenSans-BoldItalic.ttf
Open Sans Condensed:
normal: OpenSansCondensed-Light.ttf
@leonidlezner
leonidlezner / ufw_vpn_killswitch_tutorial.md
Created September 14, 2019 08:36 — forked from Necklaces/ufw_vpn_killswitch_tutorial.md
GNU/Linux UFW VPN kill switch tutorial

GNU/Linux UFW VPN kill switch tutorial

This is a quick guide for setting up a kill switch using UFW (Uncomplicated FireWall). It is assumed you are using OpenVPN and optionally Network-Manager with network-manager-openvpn.

1. (Optional) IP Addresses

Before we can start we're going to need the IP address (or the IP addresses) of your VPN so that we can whitelist those later on, write them down. They are obviously going to be different for every VPN and VPNs with multiple servers, so I'll leave this up to you.

2. Install & Enable UFW

On some systems UFW is installed and enabled by default (Ubuntu, for example). Installation procedure is going to be different for every distribution of GNU/Linux, but once you've got it installed enabling it is easy (assuming you have sudo):