Usage:
- Load the module like a normal module with require.
- Either use the dig methods exposed by the module
- or use the
injectIntoTurtleApi
function and then use the normal turtle functions.
Usage:
injectIntoTurtleApi
function and then use the normal turtle functions."The level of self description of a variable name should be proportional to the lifetime of the variable, | |
the distance of its usage from its declaration/initialisation and how often it's used. | |
Context clues allows a inversely proportional effect, so long as all the usage of this variable is near the context clue. | |
Comments are not context clues." - Me, I think |
$curseThinkingPackLocation = "C:\Games\Minecraft\Curse\Instances\A Thinking Pack 2" #Join-Path $env:USERPROFILE "Twitch\Minecraft\Instances\A Thinking Pack 2" | |
$zipOutputLocation = Join-Path $env:USERPROFILE "Desktop\A Thinking Pack 2.zip" | |
$toZip = @("./config", ".\mods", ".\manifest.json", ".\modlist.html") | |
if(Test-Path -Path $zipOutputLocation) | |
{ | |
echo "The output file already exists, should I overwrite it (Y/N)?" | |
$continue = Read-Host | |
if($continue -ne "y") | |
{ |
------------------ | |
System Information | |
------------------ | |
Time of this report: 6/14/2021, 23:17:47 | |
Machine name: LUPUS-DESKTOP | |
Machine Id: {3B5A9B43-74AA-4DD2-B3FF-1A25E9EF5F92} | |
Operating System: Windows 10 Pro 64-bit (10.0, Build 19042) (19041.vb_release.191206-1406) | |
Language: English (Regional Setting: English) | |
System Manufacturer: PC Specialist LTD | |
System Model: Tornado R3 |