| Flag | Description |
|---|---|
| -v | Verbose Mode |
| -x | Safe Mode |
| -s | Single User Mode |
| -no-zp | Zone Postponing (use if hanging) |
| cpus=1 | Single CPU Core Mode |
| -f | No Kext Cache Mode (use if hanging) |
This file contains hidden or 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
| package pkg | |
| import ( | |
| "math/big" | |
| ) | |
| var cache = make(map[int]*big.Int, 0) | |
| // Fibo calc | |
| func Fibo(n int) *big.Int { |
With the addition of ES modules, there's now no fewer than 24 ways to load your JS code: (inline|not inline) x (defer|no defer) x (async|no async) x (type=text/javascript | type=module | nomodule) -- and each of them is subtly different.
This document is a comparison of various ways the <script> tags in HTML are processed depending on the attributes set.
If you ever wondered when to use inline <script async type="module"> and when <script nomodule defer src="...">, you're in the good place!
Note that this article is about <script>s inserted in the HTML; the behavior of <script>s inserted at runtime is slightly different - see Deep dive into the murky waters of script loading by Jake Archibald (2013)
This file contains hidden or 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
| // EXAMINE THE DOCUMENT OBJECT // | |
| // console.dir(document); | |
| // console.log(document.domain); | |
| // console.log(document.URL); | |
| // console.log(document.title); | |
| // //document.title = 123; | |
| // console.log(document.doctype); | |
| // console.log(document.head); | |
| // console.log(document.body); |