This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Diego García Gonzalez (diegargon) diego@envigo.net | |
# v1.0 | |
### BEGIN INIT INFO | |
# Provides: myQoS | |
# Required-Start: networking, myFirewall | |
# Required-Stop: | |
# Should-Start: | |
# Should-Stop: | |
# Default-Start: 2 3 4 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Diego García Gonzalez (diegargon) diego@envigo.net | |
VER=v3.4 | |
### BEGIN UBUNTU INIT | |
# Provides: myFirewall | |
# Required-Start: networking | |
# Required-Stop: | |
# Should-Start: | |
# Should-Stop: | |
# Default-Start: 2 3 4 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# diegargon http/mail: diego.envigo.net | |
# Simple bash script for backup a sql database | |
# This script need Dropbox_Uploader https://github.com/andreafabrizi/Dropbox-Uploader | |
# | |
# Warning: zip/password its a bad option if you want protect sensitive data | |
#BEGIN CONFIG | |
TMP_DIR="/tmp/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* diegargon http/mail: diego.envigo.net | |
* Simple php script for backup a database and upload to dropbox | |
* This script need Dropbox_Uploader https://github.com/andreafabrizi/Dropbox-Uploader | |
* Warning: zip/password its a bad option if you want protect sensitive data | |
*/ | |
// Config Start | |
$tmp_dir = "/tmp/"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# diegargon http/mail:diego.envigo.net | |
# | |
# Ping Scan multiple hosts 255.255.0.0 and output alive systems | |
# Usage: ./ping-scan.bash 192.168 | |
# | |
#Start config | |
ping_path="/usr/bin/fping" | |
ping_opt=" -t 200 " |