- maim
- xclip
Set this on your i3 config file ~/.i3/config
# Screenshots
--- | |
- name: Install ovpn | |
hosts: ovpn | |
become: true | |
gather_facts: true | |
roles: | |
- kyl191.openvpn | |
vars: | |
openvpn_ovpn_dir: /etc/openvpn/client | |
openvpn_server_hostname: <external-host-ip> |
#!/usr/bin/env python | |
""" | |
Linux disk drive information: model, serial, firmare version | |
""" | |
import sys, os, fcntl, struct, glob | |
def list_devices(pattern = 'sd*'): | |
return [os.path.basename(d) for d in glob.glob('/sys/block/' + pattern)] |
#!/bin/sh | |
# UFW blocks for China, Korea, Malaysia, Phillipines, Singapore, Thailand and Vietnam netblocks | |
# Based on http://www.wizcrafts.net/chinese-iptables-blocklist.html | |
# Cambodia (KH) | |
ufw deny from 114.134.184.0/21 to any port 22 | |
# Chinese (CN) IP addresses follow: | |
ufw deny from 1.192.0.0/13 to any port 22 | |
ufw deny from 1.202.0.0/15 to any port 22 |