This file contains 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
"""A short script to create rows in the fighter pullup plan, in CSV format""" | |
# Your starting reps, for example, 5RM | |
INITIAL = [5, 4, 3, 2, 1] | |
def increment_day(current_plan: list): | |
"""Increments the day | |
Parameters |
This file contains 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
function escapeFix(data) | |
local newData = "" | |
for i=1,string.len(data) do | |
local char = string.sub(data, i, i) | |
local nextChar = string.sub(data, i+1, i+1) | |
local prevChar = string.sub(data, i-1, i-1) | |
if (char == '"' and (prevChar ~= "{" and nextChar ~= ":" and prevChar ~= ":" and nextChar ~= "," and prevChar ~= "," and nextChar ~= "}")) then | |
newData = newData .. "\\" -- Append another, non-escaped, '\' | |
end | |
newData = newData .. string.sub(data, i, i) |
This file contains 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
class HelloWorld { | |
public static void main(String[] args) { | |
System.out.println("Hello world!"); | |
} | |
} |
This file contains 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
console.log("Two plus two is " + 2 + 2 + "!"); | |
// Prints "Two plus two is 22!" |
This file contains 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
[MM] | |
This is where I get off kid. | |
I'm supposed to speak a bit? | |
Each line is a box of dialog. | |
[MC] | |
And the box up top? | |
[MM] |
This file contains 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
.drawer__header { /* The collection of buttons on top */ | |
background: #444444; | |
} | |
.drawer__tab { /* The above's icons */ | |
color: #a7a7a7; | |
} | |
.drawer__header a:hover { /* The above's hover action */ | |
background: #f0544c; |
This file contains 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
// Originally made for https://nookipedia.com/wiki/Bugs/Animal_Crossing:_Wild_World | |
returnedObj = '[\n'; | |
function scrapeBugs() { | |
for (let i = 0; i < 56; i++) { | |
bugName = document.getElementById('mw-content-text').children[1].children[1].children[i].children[1].children[0].innerHTML; | |
returnedObj += `\t{'task_name': '${bugName}', 'task_complete': false},\n`; | |
} | |
returnedObj += '\n]'; | |
return returnedObj; | |
} |
This file contains 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
// Originally used on https://nookipedia.com/wiki/Fish/Animal_Crossing:_Wild_World to extract fish data | |
returnedObj = '[\n'; | |
function scrapeFish() { | |
for (var i = 0; i < 56; i++) { | |
fishName = document.body.children[7].children[0].children[0].children[1].children[0].children[1].children[1].children[4].children[3].children[0].children[2].children[0].children[1].children[i].children[1].children[0].innerHTML; | |
returnedObj += `\t{'task_name': '${fishName}', 'task_complete': false},\n`; | |
} | |
returnedObj += '\n]'; | |
return returnedObj; | |
} |