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 | |
# get current date | |
now = `date +"%Y-%m-%d"` | |
# copying WordPress files inside public_html folder | |
cd ~/public_html | |
tar -zcf "~/wordpress_$_now.tar.gz" wordpress_folder | |
# Database backup with mysqldump |
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
def hello_gist(): | |
print("Hello Gist!") |