NOTE: This is a question I found on StackOverflow which I’ve archived here, because the answer is so effing phenomenal.
If you are not into long explanations, see [Paolo Bergantino’s answer][2].
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
NOTE: This is a question I found on StackOverflow which I’ve archived here, because the answer is so effing phenomenal.
If you are not into long explanations, see [Paolo Bergantino’s answer][2].
| # Add this snippet to the top of your playbook. | |
| # It will install python2 if missing (but checks first so no expensive repeated apt updates) | |
| # [email protected] | |
| - hosts: all | |
| gather_facts: False | |
| tasks: | |
| - name: install python 2 | |
| raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal) |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ;; Customize Font Faces | |
| ;; http://www.emacswiki.org/emacs/CustomizingFaces | |
| (custom-set-faces | |
| ;; Your init file should contain only one such instance. | |
| ;; If there is more than one, they won't work right. | |
| '(markdown-header-face-1 ((t (:inherit markdown-header-face :height 2.2)))) | |
| '(markdown-header-face-2 ((t (:inherit markdown-header-face :height 1.7)))) | |
| '(markdown-header-face-3 ((t (:inherit markdown-header-face :height 1.3)))) | |
| '(org-level-1 ((t (:inherit org-level-1 :height 1.5)))) |