View gist:2ac78daefee60b433aea3522afbfe329
/ipv6 firewall filter | |
add action=accept chain=input comment="Allow established connections" connection-state=established disabled=no | |
add action=accept chain=input comment="Allow related connections" connection-state=related disabled=no | |
add action=accept chain=input comment="Allow ICMP" disabled=no protocol=icmpv6 | |
add action=accept chain=input comment="Allow UDP" disabled=no protocol=udp | |
add action=drop chain=input comment="" disabled=no | |
add action=accept chain=forward comment="Allow any to internet" disabled=no out-interface=sit1 | |
add action=accept chain=forward comment="Allow established connections" connection-state=established disabled=no | |
add action=accept chain=forward comment="Allow related connections" connection-state=related disabled=no | |
add action=accept chain=forward comment="Allow ICMP" disabled=no protocol=icmpv6 |
View citeorder.rb
#!/usr/bin/env ruby | |
# Author: Dmitry V. Luciv | |
# License: WTFPL 2.0 http://wtfpl.net | |
=begin | |
When typing many \bibitem's manually, instead of using BibTeX and friends, | |
it often becomes a pain to sort the bibliography in case when it should | |
appear in order of citations. |
View пше
#!/usr/bin/env python3 | |
# -*- mode: python, coding: utf-8 -*- | |
# | |
# This incredible piece of code makes git a bit Polish, a bit Western Ukrainian, | |
# пше прошу пана | |
# Joke is based on fact that 'git' is 'пше' in qwerty/йцукен layouts | |
# | |
# (c) 2013 Alexander Solovyov under terms of WTFPL | |
# (c) 2015 Dmitry Luciv under terms of WTFPL v 2 -- Python 3 translation |
View LICENSE.txt
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |