Skip to content

Instantly share code, notes, and snippets.


Matteo Merola mattmezza

Block or report user

Report or block mattmezza

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mattmezza /
Last active Sep 28, 2018
Super Simple Backup System, a very simple system to automatically backup mysql and ftp.
NOW=$(date +"%d-%m-%Y")
# clean up tmp dir
rm -f -r $BACKUP/*
# backup a folder of a website
mattmezza /
Last active Mar 26, 2020
bash script to create virtual host vhost with apache httpd and CentOs 7
# This script is used for create virtual hosts on CentOs.
# Created by alexnogard from
# Improved by mattmezza from
# Feel free to modify it
# $usr - User
# $dir - directory of web files
# $servn - webserver address without www.
You can’t perform that action at this time.