Skip to content

Instantly share code, notes, and snippets.

View yellowbullet100's full-sized avatar

yellowbullet100 yellowbullet100

View GitHub Profile
This file has been truncated, but you can view the full file.
[16:54:41] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[16:54:41] [main/INFO]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[16:54:41] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[16:54:41] [main/INFO]: Forge Mod Loader version 14.23.5.2781 for Minecraft 1.12.2 loading
[16:54:41] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_51, running on Windows 10:amd64:10.0, installed at C:\Users\User\Documents\Curse\Minecraft\Install\runtime\jre-x64\1.8.0_51
[16:54:42] [main/INFO]: Searching C:\Users\User\Documents\Curse\Minecraft\Instances\Enigmatica 2\mods for mods
[16:54:42] [main/WARN]: Found FMLCorePluginContainsFMLMod marker in AdvancedRocketry-1.12.2-1.4.1-120-universal.jar. This is not recommended, @Mods should be in a separate jar from the coremod.
[16:54:42] [main/WARN]: The coremod AdvancedRocketryPlugin (zmaster587.advancedRocketry.asm.AdvancedRocketryPlugin) is not si
@yellowbullet100
yellowbullet100 / randomOrderList
Created October 14, 2013 08:15
This program will take the contents of a list, and generate a list with those contents in a random order
list = {}
list[1] = "A"
list[2] = "B"
list[3] = "C"
list[4] = "D"
list[5] = "E"
list[6] = "F"
list[7] = "G"
@yellowbullet100
yellowbullet100 / spanishTime
Created October 14, 2013 08:11
This program gets the current time, and prints it out in spanish
s = {}
function toSpanish(n)
s[1] = "uno"
s[2] = "dos"
s[3] = "tres"
s[4] = "cuatro"
s[5] = "cinco"
s[6] = "seis"
@yellowbullet100
yellowbullet100 / scoreKeeper
Created October 14, 2013 08:10
This program can keep score for n number of teams.
teamScores = {}
names = {}
function printScore ()
for i=1, #teamScores do
print(names[i].." ("..i..") : "..teamScores[i])
end
end
function changeScore ()
@yellowbullet100
yellowbullet100 / parellelResistors
Created October 14, 2013 08:08
This program will calculate the resistance of resistors in parallel in a circuit, and be able to print out the answers in decimal and reduced fraction form.
function findGCD(num1, num2)
if num2 == 0 then do
return num1
end
end
return findGCD(num2,num1%num2)
end
function d2f(num)
len = string.len(num)
@yellowbullet100
yellowbullet100 / integrate
Created October 14, 2013 08:05
This program integrated functions using the trapezoidal method
function equ (x)--enter the equation within this function
return math.sin(x)
end
function trapazoid (bottom,top,n)
deltaX = (top-bottom)/n
area = equ(top) + equ(bottom)
b = bottom
for i=1,(n-1) do
area = (2*equ(b+deltaX)) + area
@yellowbullet100
yellowbullet100 / toBinary
Created October 14, 2013 07:19
This program can convert base 10 numbers to base 2, base 2 numbers to base 10, and words to base 2 using ascii values.
--converts from base 10 to base 2, and vice versa
powList = {}
valueList = {}
word = false
function findPower(num)
power = 0
while num >= math.pow(2,power) do
power = power + 1