factual antics kettle
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 | |
# Backup ghost website(s) to Minio | |
# https://rtd.ditatompel.com/ghost-multi-blog-backup-bash-script-to-minio-s3-compatible/ | |
# Inspired from https://jerrynsh.com/backing-up-ghost-blog-in-5-steps/ | |
# | |
# This script also need Minio CLI configured, see: | |
# https://min.io/docs/minio/linux/reference/minio-mc.html | |
# Or edit and adapt with your favorite s3 client on | |
# S3_SECTION below. |
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 | |
# Simple bash script to check execution time of given | |
# binary from CS50 Harvard University Lab #3 | |
# | |
# Make sure you download correct .zip file, extract and | |
# place this script to ./sort directory. | |
# Please see https://cs50.harvard.edu/x/2022/labs/3/ for | |
# more details. | |
# | |
# NOTE: |
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/sh | |
# A simple bash script for backup all MySQL database. | |
# Christian Dita Putratama <svcadm[at]ditatompel[dot]com> | |
HOST="localhost" | |
USER="<YOUR_MYSQL_USER>" | |
PASSWORD="<YOUR_MYSQL_PASS>" | |
BACKUPBASEDIR='/path/to/backup/dir/' | |
THEDATE=`date +%d-%m-%Y-%H-%M` |
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
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |