This file has been truncated, but you can view the full file.
This file contains hidden or 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
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcd | |
efghijklmnopqrstuvwxyz{|}~ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈ | |
ÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂ㥹ĆćĈĉĊċČčĎďĐđĒēĔĕĖėĘęĚěĜĝĞğĠġĢģĤĥĦħĨĩĪīĬ | |
ĭĮįİıIJijĴĵĶķĸĹĺĻļĽľĿŀŁłŃńŅņŇňʼnŊŋŌōŎŏŐőŒœŔŕŖŗŘřŚśŜŝŞşŠšŢţŤťŦŧŨũŪūŬŭŮůŰűŲųŴŵŶŷŸŹźŻżŽžſƀƁƂƃƄƅƆƇƈƉƊƋƌƍƎƏƐ | |
ƑƒƓƔƕƖƗƘƙƚƛƜƝƞƟƠơƢƣƤƥƦƧƨƩƪƫƬƭƮƯưƱƲƳƴƵƶƷƸƹƺƻƼƽƾƿǀǁǂǃDŽDždžLJLjljNJNjnjǍǎǏǐǑǒǓǔǕǖǗǘǙǚǛǜǝǞǟǠǡǢǣǤǥǦǧǨǩǪǫǬǭǮǯǰDZDzdzǴ | |
ǵǶǷǸǹǺǻǼǽǾǿȀȁȂȃȄȅȆȇȈȉȊȋȌȍȎȏȐȑȒȓȔȕȖȗȘșȚțȜȝȞȟȠȡȢȣȤȥȦȧȨȩȪȫȬȭȮȯȰȱȲȳȴȵȶȷȸȹȺȻȼȽȾȿɀɁɂɃɄɅɆɇɈɉɊɋɌɍɎɏɐɑɒɓɔɕɖɗɘ | |
əɚɛɜɝɞɟɠɡɢɣɤɥɦɧɨɩɪɫɬɭɮɯɰɱɲɳɴɵɶɷɸɹɺɻɼɽɾɿʀʁʂʃʄʅʆʇʈʉʊʋʌʍʎʏʐʑʒʓʔʕʖʗʘʙʚʛʜʝʞʟʠʡʢʣʤʥʦʧʨʩʪʫʬʭʮʯʰʱʲʳʴʵʶʷʸʹʺʻʼ | |
ʽʾʿˀˁ˂˃˄˅ˆˇˈˉˊˋˌˍˎˏːˑ˒˓˔˕˖˗˘˙˚˛˜˝˞˟ˠˡˢˣˤ˥˦˧˨˩˪˫ˬ˭ˮ˯˰˱˲˳˴˵˶˷˸˹˺˻˼˽˾˿̛̖̗̘̙̜̝̞̟̠̀́̂̃̄̅̆̇̈̉̊̋̌̍̎̏̐̑̒̓̔̕̚ |
This file contains hidden or 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 React, { useEffect, useState } from "react"; | |
export const NO_VALUE = Symbol("NO_VALUE"); | |
export const Middleware = { | |
JSON: [{ from: JSON.parse, to: JSON.stringify }], | |
base64: [{ from: (v) => atob(v), to: (v) => btoa(v) }] | |
} | |
export class LocalStorageSettingsInterface { |
This file contains hidden or 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 React, { useState, useEffect, useRef } from "react"; | |
export function createAnimation(frames) { | |
let frameTotal = 0; | |
frames = frames.map((frame, index) => { | |
frame.duration = frame.duration || 0; | |
frameTotal += frame.duration; | |
return frame; | |
}).map(frame => { | |
frame.duration /= frameTotal; | |
return frame; |
This file contains hidden or 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
const SingleValue = Symbol("XML_TRANSPORT_VALUE") | |
function xmlNodeToObject(node) { | |
let res = { | |
...Array.from(node.children).map(xmlNodeToObject).reduce((a, v) => { | |
const val = v[SingleValue] ? v.$_value : v; | |
if (Array.isArray(a[v.$_.nodeName])) { | |
a[v.$_.nodeName].push(val); | |
} else if (a[v.$_.nodeName]) { | |
a[v.$_.nodeName] = [a[v.$_.nodeName], val]; |
This file contains hidden or 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
const out = { positions: {}, blocks: {} }; | |
const fs = require("fs"); | |
const xml2js = require("xml2js"); | |
function toObject(o) { | |
let res = {}; | |
Object.entries(o).forEach(([name, value]) => { | |
if (name === "$") { | |
res = { ...res, ...value }; | |
return; | |
} |
This file contains hidden or 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
{"positions":{"LightArmorBlock":{"position":{"x":"0","y":"0"}},"HeavyArmorBlock":{"position":{"x":"1","y":"0"}},"InteriorWall":{"position":{"x":"2","y":"0"}},"ArmorRoundSlope":{"position":{"x":"3","y":"0"}},"HeavyArmorRoundSlope":{"position":{"x":"4","y":"0"}},"LargeBlockArmorSlope2Base":{"position":{"x":"5","y":"0"}},"LargeHeavyBlockArmorSlope2Base":{"position":{"x":"6","y":"0"}},"LargeBlockArmorCorner2Base":{"position":{"x":"7","y":"0"}},"LargeHeavyBlockArmorCorner2Base":{"position":{"x":"8","y":"0"}},"LargeBlockArmorInvCorner2Base":{"position":{"x":"0","y":"1"}},"LargeHeavyBlockArmorInvCorner2Base":{"position":{"x":"1","y":"1"}},"Bed":{"position":{"x":"0","y":"2"}},"Desk":{"position":{"x":"1","y":"2"}},"Kitchen":{"position":{"x":"2","y":"2"}},"Planters":{"position":{"x":"3","y":"2"}},"Couch":{"position":{"x":"4","y":"2"}},"CouchCorner":{"position":{"x":"5","y":"2"}},"LockerRoom":{"position":{"x":"6","y":"2"}},"Lockers":{"position":{"x":"6","y":"2"}},"BathroomOpen":{"position":{"x":"7","y":"2"}},"Bathroom": |
This file contains hidden or 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
export * from "./core"; | |
export * from "./hook"; |
This file contains hidden or 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
console.log("injected code :)"); |
This file contains hidden or 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
/** | |
* Class Sudoku - impliments SudokuSolver | |
* | |
* @author Ian Senne | |
* | |
* @version sprint 2020 | |
*/ | |
public class SudokuSolver { | |
int WIDTH; |
This file contains hidden or 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
let stateStack = []; | |
let currentStates = []; | |
let FRAMEWORK = { | |
DOM(name, props, ...children) { | |
props = props || {}; | |
if (typeof name == "string") { | |
let elm = document.createElement(name); | |
for (let key in props) { | |
if (key != "children") { | |
elm[key] = props[key]; |