Skip to content

Instantly share code, notes, and snippets.

View Lupus590's full-sized avatar

Lupus590 Lupus590

  • UK
View GitHub Profile
@Lupus590
Lupus590 / Desktop.txt
Last active June 14, 2021 22:20
My Computer Specs (Via DxDiag.exe)
------------------
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
$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")
{
"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
@Lupus590
Lupus590 / Readme.md
Last active April 4, 2021 15:25
A module that patches turtle.dig in my computercraft challenge.

Usage:

  1. Load the module like a normal module with require.
  2. Either use the dig methods exposed by the module
  3. or use the injectIntoTurtleApi function and then use the normal turtle functions.