If you'd like to experiment with Terraform on macOS locally, a great provider for doing so is the Docker provider. You can get set up in a few simple steps, like so:
Install Docker for Mac if you have not already.
If you'd like to experiment with Terraform on macOS locally, a great provider for doing so is the Docker provider. You can get set up in a few simple steps, like so:
Install Docker for Mac if you have not already.
Disabling tailspind and spindump on macOS High Sierra | |
macOS High Sierra2 includes System Integrity Protection, which means that certain files are untouchable and uneditable. This has the benefit of helping keep your system files pure and malware-free, with the cost of flexibility. | |
To disable tailspind and spindump means temporarily disabling System Integrity Protection (SIP). To disable SIP: | |
Boot your Mac into Recovery Mode by restarting with Command-R held down until the Apple logo appears. | |
Once your Mac is in Recovery Mode, go to Utilities > Terminal. | |
In the Recovery Mode Terminal, issue csrutil disable and press return. | |
Reboot your Mac. | |
Once SIP is disabled, the steps to disable tailspind and spindump are pretty straightforward |
# Add the following 'help' target to your Makefile | |
# And add help text after each target name starting with '\#\#' | |
help: ## Show this help. | |
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//' | |
# Everything below is an example | |
target00: ## This message will show up when typing 'make help' | |
@echo does nothing |
;; I am not a regular emacs user and haven't played with lisp for many years. | |
;; I struggled for a couple of days trying to tweak org-capture-templates to | |
;; get my desired behavior for journal entries. I hope this helps someone! | |
;; | |
;; I have been following the excellent guide http://doc.norang.ca/org-mode.html | |
;; The "journal" template was the one I wanted to tweak. I use a date-based | |
;; journal filename, e.g. "2015-09-22-Journal-Entry.org". The contents of the | |
;; file consist of a top-level headline with a human-friendly date, followed | |
;; by second-level headline with the time and brief journal note. For example: | |
;; |
# | |
# Some state file... | |
# | |
{% for site, args in pillar.get('sites', {}).items() %} | |
/etc/nginx/sites-available/{{ site }}: | |
file.managed: | |
- source: salt://nginx/files/site.conf.jinja | |
- template: jinja | |
- context: | |
site: {{ site }} |