From d4348aa4e34f802a05d5a0ee132958349a553f60 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Fri, 20 Nov 2015 10:20:21 +0100 Subject: [PATCH] Add Bash_quote, firewall and Flac_to_mp3 documentation. --- README.md | 25 +++++++++++++++++++++++++ TODO.md | 4 ++++ 2 files changed, 29 insertions(+) create mode 100644 TODO.md diff --git a/README.md b/README.md index 5374468..a39fc4b 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,31 @@ Speed-up APT packages downloading with 'axel' (light command line download accel sudo apt-fast full-upgrade ``` +### Bash_quote +Get a random quote from http://danstonchat.com with 'lynx'. + +### Firewall +A shell script to apply some Iptables rules. + * Rules are automatically apply only for the UP interfaces. + * If it's detect some softwares (eg. Apache2), Iptables rules for ports 80/443 are automatically apply. + * Special rules allow all traffic throught a VPN: +```sh +firewall vpn +``` + * If a local file exists (firewall.local) it will also apply it. For personnal rules for example. + +### Flac_to_mp3 +Convert FLAC audio files to MP3 with 'avconv'. + + * Convert a directory: +```sh +flac_to_mp3 /media/data/bisounours_land_v2 +``` + * Convert a file: +```sh +flac_to_mp3 /media/data/makarena.flac +``` + ### Num_circle Tiny Bash script that take a number between 0 and 20 as argument and transform it into a digit with into a circle. ```sh diff --git a/TODO.md b/TODO.md new file mode 100644 index 0000000..7b4c48c --- /dev/null +++ b/TODO.md @@ -0,0 +1,4 @@ + +### Firewall +* If 'fail2ban' is available, the 'restart' action should backup and restore all 'fail2ban-' rules. +