- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
- They are the people who get things done. Effective Engineers produce results.
| ;; 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: | |
| ;; |
| # 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 |
| 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 |
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.
My notes from implementing Job Vranish's excellent guide.
Follow along with the guide above, getting rustc from rustup or similar:
rustc 1.0.0-nightly (dcaeb6aa2 2015-01-18 11:28:53 +0000)
binary: rustc
commit-hash: dcaeb6aa23ecba2dc2af870668a9239136d20fa3
commit-date: 2015-01-18 11:28:53 +0000
| package join | |
| import ( | |
| "fmt" | |
| "strings" | |
| "testing" | |
| ) | |
| var ( | |
| testData = []string{"a", "b", "c", "d", "e"} |
I hereby claim:
To claim this, I am signing this object:
| Host bastion-* | |
| ProxyCommand none | |
| User bao | |
| ForwardAgent yes | |
| Tunnel no | |
| SendEnv LANG LC_* | |
| HashKnownHosts no | |
| Compression yes | |
| ServerAliveInterval 600 | |
| UserKnownHostsFile ~/.ssh/known_hosts |