I hereby claim:
- I am fpastor on github.
- I am fpastor (https://keybase.io/fpastor) on keybase.
- I have a public key whose fingerprint is 0247 BD1C 7289 F708 4DBC 8414 1D95 4846 1A83 6DF9
To claim this, I am signing this object:
| // ==UserScript== | |
| // @name EmuParadise download script | |
| // @version 1 | |
| // @description Downloads games directly after clicking their name | |
| // @author Eptun | |
| // @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js | |
| // @match https://www.emuparadise.me/*/*/* | |
| // @grant none | |
| // ==/UserScript== | 
| // ==UserScript== | |
| // @name EmuParadise Download Workaround - 1.1.1 | |
| // @version 1.1.2 | |
| // @description Replaces the download button link with a working one | |
| // @author Eptun | |
| // @match https://www.emuparadise.me/*/*/* | |
| // @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js | |
| // @grant none | |
| // ==/UserScript== | 
| public static int bytesToIntLittleEndian (byte[] byteArray) { | |
| int result = 0; | |
| for (int i = 0; i < byteArray. length; i++) | |
| result += (byteArray[i] & 0xFF) << (8 * i); | |
| return result; | |
| } | |
| public static int bytesToIntBigEndian(byte[] byteArray) { | |
| int result = 0; | |
| for (int i = 0; i < byteArray. length; i++) { | 
| # Credit for this: Nicholas Swift | |
| # as found at https://medium.com/@nicholas.w.swift/easy-a-star-pathfinding-7e6689c7f7b2 | |
| from warnings import warn | |
| import heapq | |
| class Node: | |
| """ | |
| A node class for A* Pathfinding | |
| """ | 
| class Node(): | |
| """A node class for A* Pathfinding""" | |
| def __init__(self, parent=None, position=None): | |
| self.parent = parent | |
| self.position = position | |
| self.g = 0 | |
| self.h = 0 | 
I hereby claim:
To claim this, I am signing this object: