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
@echo off | |
REM IN YOUR SSL FOLDER, SAVE THIS FILE AS: makeCERT.bat | |
REM AT COMMAND LINE IN YOUR SSL FOLDER, RUN: makecert | |
REM IT WILL CREATE THESE FILES: example.cnf, example.crt, example.key | |
REM IMPORT THE .crt FILE INTO CHROME Trusted Root Certification Authorities | |
REM REMEMBER TO RESTART APACHE OR NGINX AFTER YOU CONFIGURE FOR THESE FILES | |
REM PLEASE UPDATE THE FOLLOWING VARIABLES FOR YOUR NEEDS. | |
SET HOSTNAME=example |
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
# ref: https://github.com/prasmussen/gdrive | |
# prerequisite: | |
# In google drive, setup your folder for storing the backups | |
# Then grab the code from the url e.g. https://drive.google.com/drive/folders/xxxxx where xxxxx is the code | |
# This code will be used later in the cron command, keep it secret, keep it safe | |
# install gdrive sync for backups | |
wget https://drive.google.com/uc?id=0B3X9GlR6EmbnQ0FtZmJJUXEyRTA -O /usr/local/bin/gdrive | |
chmod 755 /usr/local/bin/gdrive |