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
type MapSingle<T> = | |
T extends {enum: (infer U)[]}? U: | |
T extends {type: "object", properties: {}, required: any}? SchemaObject<T>: | |
T extends {type: "string"}? string: | |
T extends {type: "number"}? number: | |
T extends {type: "interger"}? number: | |
T extends {type: "boolean"}? boolean: | |
never | |
type MapObject<T> = { |
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
package me.mmis1000.test | |
import com.google.inject.Inject | |
import org.spongepowered.api.Sponge | |
import org.spongepowered.api.data.* | |
import org.spongepowered.api.data.key.Key | |
import org.spongepowered.api.data.manipulator.mutable.common.AbstractSingleData | |
import org.spongepowered.api.data.merge.MergeFunction | |
import org.spongepowered.api.data.value.mutable.Value | |
import org.spongepowered.api.event.Listener |
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
interface Construcable<P> { | |
new(...arg:any[]): P | |
} | |
type InstanceOf<T, U = T extends Construcable<infer C> ? C: T> = U; | |
type ConstructorToType<T> = | |
T extends StringConstructor? string: | |
T extends BooleanConstructor? boolean: | |
T extends NumberConstructor? number: |
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
/// @ts-check | |
const fs = require("fs"); | |
const path = require("path"); | |
const fileName = process.argv[2]; | |
const fullPath = path.resolve(process.cwd(), fileName); | |
const b2uTable = require("./b2u_table.js"); | |
const { createCanvas } = require('canvas') | |
/** | |
* @typedef {Object} Style |
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
// ==UserScript== | |
// @name Saliens Hack | |
// @description Saliens Hack for Steam Summer Sale 2018 Game - AutoSelect Planet, Invincibility, InstaKill | |
// | |
// @author Cory "mbsurfer" Shaw & mmis1000 | |
// | |
// @license GPLv3 - http://www.gnu.org/licenses/gpl-3.0.txt | |
// @copyright Copyright (C) 2018, by Cory Shaw | |
// | |
// @include https://steamcommunity.com/saliengame/play/ |
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
// 0 current proposal | |
// 1 this proposal | |
// 2 polyfilled | |
/* 2 */ const class_a_private_priv = Symbol('priv') | |
/* 2 */ const class_a_private_someSecretMethod = Symbol('someSecretMethod') | |
/* 2 */ const class_a_private_privProxy = Symbol('privProxy') | |
class a() { | |
/* 0 */ #priv = 0; |
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
function anonymous(React, components, $place_54e5dca3_0$, $place_54e5dca3_1$, $place_54e5dca3_2$, $place_54e5dca3_3$, $place_54e5dca3_4$, $place_54e5dca3_5$, $place_54e5dca3_6$ | |
/*``*/ | |
) { | |
return React.createElement(React.Fragment, null, [ | |
React.createElement(components.Container, null, [ | |
React.createElement(components.Item, null, []), | |
React.createElement(components.Item, Object.assign({}, { | |
"data": $place_54e5dca3_0$, | |
["cla" + $place_54e5dca3_2$ + "s"]: "bra" + $place_54e5dca3_3$ + "ck", | |
"data1": $place_54e5dca3_4$ |
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
var STATE = { | |
INIT: Symbol('init'), // enter on every sub routine start | |
LEAVE: Symbol('leave'), // leave on every sub routine leave | |
SKIP_SPACE: Symbol('skip_space'), | |
FIND_TAG: Symbol('find_tag'), | |
TAG: { | |
LEFT: { | |
ENTER: Symbol('enter_tag'), // < | |
END: Symbol('end_tag'), // </ |
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
var STATE = { | |
INIT: Symbol('init'), // enter on every sub routine start | |
LEAVE: Symbol('leave'), // leave on every sub routine leave | |
SKIP_SPACE: Symbol('skip_space'), | |
FIND_TAG: Symbol('find_tag'), | |
TAG: { | |
LEFT: { | |
ENTER: Symbol('enter_tag'), // < | |
END: Symbol('end_tag'), // </ |
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
/* | |
* prop a | |
* export a | |
* import scope2.B | |
*/ | |
var scope1 = { | |
a: undefined | |
} | |
Object.defineProperty(scope1, 'B', { | |
get: ()=> scope2.B, |