1) Filter Table
Filter is default table for iptables. So, if you don’t define you own table, you’ll be using filter table. Iptables’s filter table has the following built-in chains.
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| """ | |
| unzip3_gbk.py: Deal with zip files using encoding GB2312/GBK/GB18030 | |
| """ | |
| import os | |
| # import sys | |
| import argparse | |
| import zipfile | 
| [alias] | |
| recent = "!git for-each-ref --sort=-committerdate refs/heads/ --format='%(committerdate:short) %(refname:short)' | head -n 10" | |
| co = checkout | |
| cob = checkout -b | |
| coo = !git fetch && git checkout | |
| br = branch | |
| brd = branch -d | |
| brD = branch -D | |
| merged = branch --merged | |
| st = status | 
| #!/bin/sh | |
| # extend non-HiDPI external display on DP* above HiDPI internal display eDP* | |
| # see also https://wiki.archlinux.org/index.php/HiDPI | |
| # you may run into https://bugs.freedesktop.org/show_bug.cgi?id=39949 | |
| # https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/883319 | |
| EXT=`xrandr --current | sed 's/^\(.*\) connected.*$/\1/p;d' | grep -v ^eDP | head -n 1` | |
| INT=`xrandr --current | sed 's/^\(.*\) connected.*$/\1/p;d' | grep -v ^DP | head -n 1` | |
| ext_w=`xrandr | sed 's/^'"${EXT}"' [^0-9]* \([0-9]\+\)x.*$/\1/p;d'` | 
| # -*- coding: utf-8 -*- | |
| """ | |
| Python Script to download the Chrome Extensions (CRX) file directly from the google chrome web store. | |
| Referred from http://chrome-extension-downloader.com/how-does-it-work.php | |
| """ | |
| from __future__ import division | |
| import argparse | |
| import requests | 
| import os | |
| import socket | |
| import struct | |
| # These constants map to constants in the Linux kernel. This is a crappy | |
| # way to get at them, but it'll do for now. | |
| RTMGRP_LINK = 1 | |
| NLMSG_NOOP = 1 | |
| NLMSG_ERROR = 2 | 
| # pacman aliases | |
| alias pac='pacman -S' # install | |
| alias pacu='pacman -Syu' # update, add 'a' to the list of letters to update AUR packages if you use yaourt | |
| alias pacr='pacman -Rs' # remove | |
| alias pacs='pacman -Ss' # search | |
| alias paci='pacman -Si' # info | |
| alias paclo='pacman -Qdt' # list orphans | |
| alias pacro='paclo && sudo pacman -Rns $(pacman -Qtdq)' # remove orphans | |
| alias pacc='pacman -Scc' # clean cache | |
| alias paclf='pacman -Ql' # list files | 
| = Arch Linux step-by-step installation = | |
| = http://blog.fabio.mancinelli.me/2012/12/28/Arch_Linux_on_BTRFS.html = | |
| == Boot the installation CD == | |
| == Create partition == | |
| cfdisk /dev/sda | |
| * Create a partition with code 8300 (Linux) | 
1) Filter Table
Filter is default table for iptables. So, if you don’t define you own table, you’ll be using filter table. Iptables’s filter table has the following built-in chains.
| # if you havent done it yet, please download the tor-browser and start it | |
| # https://www.torproject.org/download/download-easy.html.en | |
| wget https://www.torproject.org/dist/torbrowser/5.0/tor-browser-linux64-5.0_en-US.tar.xz | |
| tar xf tor-browser-linux64-5.0_en-US.tar.xz | |
| # download the source of proxychains-ng | |
| git clone https://github.com/rofl0r/proxychains-ng.git | |
| cd proxychains-ng | 
| README.html |