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
var body = document.getElementsByTagName("body")[0]; | |
var iter = document.createNodeIterator (body, NodeFilter.SHOW_TEXT); | |
var textnode; | |
while (textnode = iter.nextNode()) { | |
if(textnode.wholeText.trim() !== '') { | |
textnode.nodeValue = '1'; | |
} | |
} |
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
https://en.wikipedia.org/wiki/Little_man_computer | |
################################ | |
# Notes for reading this program | |
#### | |
# I think in OOP style so this program will not visually look like a | |
# linear flow of logic. It, however, does flow in a linear way but jumps around a lot. | |
# At the bottom of the program is all the data, above that is what I call functions. | |
# These functions are reusable or single instruction sets that are called in different | |
# places in the program. All of these functions return to the start of the program | |
# Where the program then checks what is our current condition before moving forward. |
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
package com.buildbroken.tests; | |
import java.lang.annotation.ElementType; | |
import java.lang.annotation.Retention; | |
import java.lang.annotation.RetentionPolicy; | |
import java.lang.annotation.Target; | |
import java.lang.reflect.Method; | |
import java.util.ArrayList; | |
import java.util.List; |
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
package com.builtbroken.jlib; | |
import com.builtbroken.jlib.lang.StringHelpers; | |
import icbm.classic.lib.transform.vector.Pos; | |
import net.minecraft.util.math.BlockPos; | |
import java.util.ArrayList; | |
import java.util.HashSet; | |
import java.util.List; | |
import java.util.function.Consumer; |
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
package com.builtbroken.jlib; | |
import com.builtbroken.jlib.lang.StringHelpers; | |
import net.minecraft.util.math.BlockPos; | |
import java.util.ArrayList; | |
import java.util.HashSet; | |
import java.util.List; | |
import java.util.function.Consumer; |
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
package com.builtbroken.jlib; | |
import com.google.common.collect.HashMultimap; | |
import com.google.common.collect.Multimap; | |
import icbm.classic.lib.transform.vector.Pos; | |
import net.minecraft.util.math.BlockPos; | |
import net.minecraft.util.math.ChunkPos; | |
import java.util.Collection; | |
import java.util.HashSet; |
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
public class ConfigurationDialog extends ODialog | |
{ | |
private final Configuration config; | |
private final ObjectSwingMapper mapper; | |
private final FormPanel javaSettingsPanel = new FormPanel(); | |
private final FormPanel gameSettingsPanel = new FormPanel(); | |
private final FormPanel proxySettingsPanel = new FormPanel(); | |
private final FormPanel advancedPanel = new FormPanel(); | |
private final FormPanel generalSettingsPanel = new FormPanel(); |