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
ROM = 0x0000 | |
IO = 0xA000 | |
RAM = 0xA100 | |
CHARACTERS = 0x8000 | |
FOREGROUND = 0x8800 | |
BACKGROUND = 0x9000 | |
CHARSET = 0x9800 | |
SCREENWIDTH = 40 | |
SCREENHEIGHT = 30 |
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
// allMatches(string, regex) | |
// md5(string) | |
function main(input) { | |
let mc = []; | |
for (let x = 0; x < 50; x++) { | |
let int = new Intcode(input.split(/,/g).map(x => Number(x))); | |
int.input = [x]; |
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
# define registers | |
$A: @end+0 | |
$B: $A+1 | |
$C: $B+1 | |
$D: $C+1 | |
$E: $D+1 | |
$F: $E+1 | |
$G: $F+1 | |
$H: $G+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
# define registers | |
$A: @end+0 | |
$B: $A+1 | |
$C: $B+1 | |
$D: $C+1 | |
$E: $D+1 | |
$F: $E+1 | |
$G: $F+1 | |
$H: $G+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
# define registers | |
$A: @end+0 | |
$B: $A+1 | |
$C: $B+1 | |
$D: $C+1 | |
$E: $D+1 | |
$F: $E+1 | |
$G: $F+1 | |
$H: $G+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
# define registers | |
$A: @end+0 | |
$B: $A+1 | |
$C: $B+1 | |
$D: $C+1 | |
$E: $D+1 | |
$F: $E+1 | |
$G: $F+1 | |
$H: $G+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
import { Texture, ImageLoader, DefaultLoadingManager, RGBAFormat, RGBFormat } from 'three'; | |
function TextureAtlasLoader(manager) { | |
this.manager = manager || DefaultLoadingManager; | |
} | |
Object.assign(TextureAtlasLoader.prototype, { | |
crossOrigin: "Anonymous", | |
tileWidth: 16, | |
tileHeight: 16, |
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 rusty.is.the.best; | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.Iterator; | |
import java.util.Map.Entry; | |
import org.bukkit.Bukkit; | |
import org.bukkit.Location; | |
import org.bukkit.Material; | |
import org.bukkit.block.Block; |