Skip to content

Instantly share code, notes, and snippets.

View roccodev's full-sized avatar
🇮🇹
Working on projects.

Rocco roccodev

🇮🇹
Working on projects.
View GitHub Profile
@roccodev
roccodev / NoBarrier.gct
Created March 31, 2019 19:08
No Great Plateau Barrier
# Needs testing as of March 31, 2019.
No Great Plateau Barrier [RoccoDev]
00020000 101E07F8
497423F0 00000000
00020000 101E07FC
497423F0 00000000
00020000 101E0800
497423F0 00000000
00020000 101E0804
@roccodev
roccodev / botw-objmap-import.js
Created March 30, 2019 12:17
Object map data scraper
function findHashes(query) {
let url = `https://radar.zeldamods.org/objs/MainField/?q=${encodeURI(query)}&withMapNames=false&limit=100000`
let result = []
let xml = new XMLHttpRequest()
function load() {
console.log(this.responseText)
let json = JSON.parse(this.responseText)
@roccodev
roccodev / Players.md
Last active December 26, 2018 15:43
List of players with unknown countries

List of players with unknown countries

If you know where any of these people are from, please contact me on Discord:

RoccoDev#1337

notSally
oKry
@roccodev
roccodev / banlist.txt
Created June 27, 2018 10:11
CheatBreaker banlist sorted by Tokens (TheHive)
NFKSGVN / -709
IMNooB_CH / -474
LifeisAltered / -430
WingedWarriorBR / -64
keoShine / 0
luxury_ninja_35 / 0
King_of_Butter / 0
Noalix / 0
Caponiboys / 0
vegetooh / 0
@roccodev
roccodev / banlist.txt
Created June 27, 2018 09:10
CheatBreaker banlist sorted by BedWars Points (TheHive)
cooljam437 / 0
Palooza92 / 0
IDontEatBooty / 0
Diamond_Doofus / 0
Freetires / 0
TaquitoFlames / 0
Chrizwagner / 0
M_D_M / 0
ItsJustDamian / 0
vitaminass / 0
@roccodev
roccodev / keybase.md
Created March 8, 2018 17:47
keybase.md

Keybase proof

I hereby claim:

  • I am RoccoDev on github.
  • I am roccodev (https://keybase.io/roccodev) on keybase.
  • I have a public key whose fingerprint is ED57 F319 46C4 64AC 4652 7255 EEFB AD1C 06F1 1A3A

To claim this, I am signing this object:

@roccodev
roccodev / RandomUtils.cpp
Last active March 6, 2018 19:04
RandomUtils - Easy RNG with C++
//
// Created by roccodev on 06/03/18.
//
/*
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
@roccodev
roccodev / Day25.java
Created December 25, 2017 20:45
AdventOfCode2017/Day25
public static HashMap<Integer, Boolean> checksum = new HashMap<Integer, Boolean>(); // Used to be Byte, changed to Boolean for performance
public static void main(String args[]) throws IOException {
int state = 0; // A, B, C, D, E, F
// 0, 1, 2, 3, 4, 5
int currentPos = 0;
for (int i = 0; i < 12173597; i++) {
@roccodev
roccodev / Day23Part1.java
Created December 23, 2017 17:04
AdventOfCode2017/Day23
public static HashMap<String, Integer> registers = new HashMap<String, Integer>();
public static void main(String args[]) throws IOException {
ArrayList<String> bloccs = new ArrayList<String>(
Files.readAllLines(Paths.get(new File("res/day23").getPath())).stream().collect(Collectors.toList()));
char[] array = "abcdefgh".toCharArray();
for (char c : array)
@roccodev
roccodev / Day19Part1.java
Last active December 19, 2017 14:03
AdventOfCode2017/Day19
ArrayList<String> bloccs = new ArrayList<String>(
Files.readAllLines(Paths.get(new File("res/day19").getPath())).stream().collect(Collectors.toList()));
Step step = new Step(bloccs.get(0).indexOf('|'), 0);
Grid grid = new Grid(bloccs);
Dir dir = Dir.SOUTH;