This file contains hidden or 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/sh | |
###################################################################################### | |
###################################################################################### | |
############### apmysqlbackup.sh ver. 0.11 ########################## | |
############### ########################## | |
############### made by Andrej Polic in April 2005 ########################## | |
############### You can use this script free ########################## | |
############### and freely distribute it. ########################## | |
############### This script is provided "as is" and ########################## | |
############### without any warranties. ########################## |
This file contains hidden or 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 | |
####### RSYNC AUOBACKUP TO USB DEVICE V0.5 ########## | |
####### Developed by Carlo Pietrobattista ########### | |
### CONFIG VARS ##################################### | |
LOCK_FILE="/tmp/rsync-usb.pid" # the lock file name | |
MOUNT_DEV="/dev/sdh1" # mount device | |
MOUNT_PATH="/mnt/autobackup-usb" # mount point | |
BACKUP_DIR="/home/*" # backup directory | |
RSYNC_LOG_FILE="/var/log/rsync/usb_backup.log" # rsync log file | |
##################################################### |
This file contains hidden or 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
/** Jquery smartToggle class(object oriented) developed by Carlo Pietrobattista | |
* @version 0.5 | |
*/ | |
function smartToggle() | |
{ | |
/** expand toggle html tags and change the link text(if needed), mandatory vars: hiddenId(the id to show or hide) | |
* @param hiddenId string the el id to show/hide | |
* @param numeric delay the delay for the toggle action | |
* @param type string use type if you need to change the link text if needed, types are: regular(change text before toggle),reverse(change text after toggle) |