Add Bash_quote, firewall and Flac_to_mp3 documentation.

This commit is contained in:
gardouille 2015-11-20 10:20:21 +01:00
parent 593de8279f
commit d4348aa4e3
2 changed files with 29 additions and 0 deletions

View File

@ -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

4
TODO.md Normal file
View File

@ -0,0 +1,4 @@
### Firewall
* If 'fail2ban' is available, the 'restart' action should backup and restore all 'fail2ban-' rules.