For excessively paranoid client authentication.
Updated Apr 5 2019:
because this is a gist from 2011 that people stumble into and maybe you should AES instead of 3DES in the year of our lord 2019.
some other notes:
| # @author Cleybert Andre | |
| # | |
| # cron.d/dns-fix -- Search for the fastest DNS resolver every 5 minutes. | |
| # Available environment variables are documented on the script. | |
| # | |
| # ┌──────── minute (0 - 59 or "*/X" for every X minutes) | |
| # │ ┌─────── hour (0 - 23) | |
| # │ │ ┌────── day of month (1 - 31) | |
| # │ │ │ ┌────── month (1 - 12) | |
| # │ │ │ │ ┌───── day of week (0 - 6 => Sunday - Saturday, or 1 - 7 => Monday - Sunday) |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| #!/bin/bash | |
| # Sometimes you need to move your existing git repository | |
| # to a new remote repository (/new remote origin). | |
| # Here are a simple and quick steps that does exactly this. | |
| # | |
| # Let's assume we call "old repo" the repository you wish | |
| # to move, and "new repo" the one you wish to move to. | |
| # | |
| ### Step 1. Make sure you have a local copy of all "old repo" | |
| ### branches and tags. |
| # disable startup message | |
| startup_message off | |
| # if we accidentally hangup, don't be all attached when we come back. | |
| autodetach on | |
| # more scrollbacks! | |
| defscrollback 30000 | |
| defc1 off |