text
stringlengths
9.82k
47.8k
<reponame>stephengeorgewest/printables type ch = "Rolf" | "Nei" | "Rudo" |//lf Steiner"| "Amy" |// Sage"| "Hugh" |// Thompson"| "Anna" |// Zirski"| /*"Josh*/"Kain" | "Shir"// Gold" ; const characters: ch[] = [ "Rolf", "Nei", "Rudo",//lf",// Steiner", "Amy",// Sage", "Hugh",// Thompson", "Anna",// Zirski",...
import { getSteedosSchema } from '../index'; import { SteedosFieldFormulaTypeConfig, SteedosFormulaVarTypeConfig, SteedosFormulaParamTypeConfig, SteedosFormulaVarPathTypeConfig, FormulaUserKey, SteedosFormulaOptions, SteedosQuotedByFieldFormulasTypeConfig } from './type'; import { getObjectQuotedByFieldFormulaConf...
import * as THREE from 'three' import { Vector3 } from 'three' import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls' import Stats from 'three/examples/jsm/libs/stats.module' import * as jsonpath from 'jsonpath'; const skeleton = require("./skeleton.json"); const cube8Cells = require("./cube8Cells.js...
<filename>CardGrid/typeScript/CardGrid.ts  ///<reference path="./Library/jquery.d.ts"/> ///<reference path="./Library/bootstrap.d.ts"/> ///<reference path="./Library/bootpag.d.ts"/> /* Author : <NAME> Website : http://www.ashutoshnigam.com Email : <EMAIL> */ /* Button Type */ interface DropDownButton ...
import { NeuralNetwork, FullyConnectedNeuralNetwork } from '../../NN/NN' import { GraphicalInterface } from '../../GameEngine/GraphicalInterface' import { InputInterface } from '../../GameEngine/InputInterface' import { GameScene, GameObject, DrawRectBehaviour, DrawLineBehaviour, DrawCircleBehaviour, DrawTextBehaviour...
/* Progress Progress Data Source for Angular: 6.0.1 Copyright 2017-2018 Progress Software Corporation and/or its subsidiaries or affiliates. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at htt...
<reponame>bodymovin/skia-buildbot /** * @module modules/commands-sk * @description A list view of draw commands for a single frame, and a tool for * filtering them. contains the logic for processing the parsed json object from * wasm, and extracting things like layer info and command counts which drive * other mo...
import { isNewerVersion } from "./base64"; import {Document} from "./document"; import { AnyValue, AnyWithState, ArrayRemovedObject, ArrayWithState, ClientState, dateToString, isArray, ObjectID, State, Version } from "./types"; import * as uid from "./uid"; /** * JSON object wrapper which tracks changes insid...
<gh_stars>0 /** * Source: * https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/tinycolor2/index.d.ts */ type ColorInputWithoutInstance = | string | PRGB | PRGBA | RGB | RGBA | HSL | HSLA | HSV | HSVA; type ColorInput = ColorInputWithoutInstance | Instance; interface Alpha { a: number; }...
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. // Load the Jest patch import './jestWorkerPatch'; import * as path from 'path'; import { resolve as jestResolve, resolveWithPrefix as jestResolveWithPrefix }...
import React, { ChangeEvent, forwardRef, useCallback, useEffect, useMemo, useRef, useState } from 'react'; import { Modifier } from '@popperjs/core'; import BigNumber from 'bignumber.js'; import classNames from 'clsx'; import AssetField from 'app/atoms/AssetField'; import DropdownWrapper from 'app/atoms/DropdownWrapp...
import { Component, Input, Output, EventEmitter, forwardRef, ViewChild, ElementRef, Optional, OnChanges, ChangeDetectorRef, TemplateRef, OnDestroy } from '@angular/core'; import { NG_VALUE_ACCESSOR, ControlValueAccessor, FormControl } from '@angular/forms'; import { Observable, Subject, of...
// Main draw function for the graph import Digraph from './Digraph'; import DigraphDFS from './DigraphDFS'; import { drawArrow, drawCatchNode, drawMap, drawParallel, drawStepNode, drawTerminalNode, getNodeDimensions, NODE_HEIGHT } from './canvasUtil'; import { WorkFlowType } from './Step...
// Logistics Group: efficiently partners resource requests with transporters using a stable matching algorithm to // provide general-purpose resource transport. For a better explanation of how this system works, see my blog post: // https://bencbartlett.wordpress.com/2018/03/28/screeps-4-hauling-is-np-hard/ import {pr...
/// <reference path="user.ts" /> /// <reference path="utils.ts" /> /// <reference path="lang.ts" /> /// <reference path="cookies.ts" /> /// <reference path="sound.ts" /> /// <reference path="sock.ts" /> /// <reference path="notify.ts" /> /// <reference path="chat.ts" /> /// <reference path="channel.ts" /> class Title ...
<filename>src/views/forms/FormTransferTransaction/FormTransferTransactionTs.ts /* * Copyright 2020-present NEM (https://nem.io) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
<reponame>tdtk/puppy2d<gh_stars>0 // The following code comes from matter.js // // Copyright(c) <NAME> and contributors. // The MIT License (MIT) // // Porting to TypeScript by <NAME> import { Body, Composite, Constraint } from './body'; import { Vertices, Vector, Bounds } from './geometry'; /** * The `Matter.Bodi...
<filename>src/query.ts import { BaseQuery } from './basePrototypes/baseQuery'; import { Logger, MessageCodes } from './common/logger'; import * as utils from './common/utils'; import { ExpressionType } from './constants/expressionType'; import { Aggregate } from './expressions/aggregate'; import { Expression, IQuo...
/* * Copyright 2015-2016 Imply Data, Inc. * Copyright 2017-2018 Allegro.pl * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unl...
<gh_stars>1-10 import { CommonModule, NgForOf, NgForOfContext } from '@angular/common'; import { ChangeDetectorRef, ComponentFactory, ComponentFactoryResolver, ComponentRef, Directive, DoCheck, EmbeddedViewRef, EventEmitter, HostListener, Input, IterableChangeRecord, Ite...
/// <reference path="../../dts/globals.d.ts" /> import { BaseComponent } from '../core/base-component'; import { icon, i18n } from '../core/shared-vars'; import { openRegistry } from '../core/registry'; import { Spinner } from '../core/spinner'; import { Utils, changeCase } from '../core/utils'; import { Field } fr...
<gh_stars>0 // A near direct copy of <NAME>'s C implementation. // I left the comments out - if you wish to understand the algorithm, please check the C implementation at https://github.com/ladislav-zezula/StormLib/tree/master/src/pklib // // There are three key differences: // 1) It takes in a Uint8Array, and return...
/* eslint-disable no-console, react/sort-comp */ import _ from 'lodash'; import React, { Component } from 'react'; import stringSimilarity from 'string-similarity'; import { ThemeProvider } from 'styled-components'; import whatkey from 'whatkey'; import { handleLogging } from '../../utils'; import Content from '../Cont...
import { TensorScriptOptions, TensorScriptProperties, Matrix, Vector, TensorScriptLayers, TensorScriptSavedLayers, NestedArray, TensorScriptModelContext,TensorScriptLSTMModelContext, } from './model_interface'; import { LSTMTimeSeries, } from './lstm_time_series'; import range from 'lodash.range'; /** * Long Sh...
import PathProxy from '../core/PathProxy'; import { cubicSubdivide } from '../core/curve'; import Path from '../graphic/Path'; import Element, { ElementAnimateConfig } from '../Element'; import { defaults, map } from '../core/util'; import { lerp } from '../core/vector'; import Group, { GroupLike } from '../graphic/Gro...
import HintItem = HintsNS.HintItem import FilteredHintItem = HintsNS.FilteredHintItem import MarkerElement = HintsNS.MarkerElement import ClickType = HintsNS.ClickType import { frameList_, hintMode_, useFilter_, coreHints, hintKeyStatus, KeyStatus, hintChars, allHints, setMode, resetMode, } from "./link_hints" impor...
<reponame>sardonyxwt/application-state-store import { deepFreeze, createUniqueIdGenerator } from '@sardonyxwt/utils'; /** * @type ScopeConfig * @summary Scope configuration * @param {string} name The name of scope. * @default Generate unique name. * @param {any} initState The initial scope state. * @default Empt...
// -*- mode: typescript; indent-tabs-mode: nil; js-basic-offset: 4 -*- // // This file is part of Genie // // Copyright 2020 The Board of Trustees of the Leland Stanford Junior University // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Lic...
<reponame>tony-tang/imodeljs /*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *--------------------------------------------...
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
<filename>src/Workers/net-worker/stellar-network.ts import "eventsource" import DebugLogger from "debug" import throttle from "lodash.throttle" import { filter, flatMap, map, merge, multicast, Observable } from "observable-fns" import PromiseQueue from "p-queue" import qs from "qs" import { Asset, Horizon, Networks, Se...
// @strictNullChecks: true // @declaration: true class Shape { name: string; width: number; height: number; visible: boolean; } class TaggedShape extends Shape { tag: string; } class Item { name: string; price: number; } class Options { visible: "yes" | "no"; } ...
import React from 'react' import ReactDOM from 'react-dom' import { BuilderContent } from './builder-content.component' import { BuilderBlocks } from './builder-blocks.component' import { Builder, GetContentOptions, builder, Subscription, BehaviorSubject, BuilderElement } from '@builder.io/sdk' import { Bui...
import React, { useMemo, useContext, useState, useEffect, useCallback } from 'react'; import { _cs, isDefined, } from '@togglecorp/fujs'; import { IoIosArrowForward, IoIosArrowBack, } from 'react-icons/io'; import Tour, { ReactourStep } from 'reactour'; import BubbleLegend, { BubbleLegendType } from '#...
import { defineMessages, FormattedMessage } from 'react-intl'; export type RequestAccessMessageKey = | 'request_access_description' | 'click_to_join_description' | 'request_access_pending_description' | 'click_to_join' | 'request_access' | 'request_access_pending' | 'forbidden_description' | 'request_d...
<reponame>tmatth/awcy import { Dispatcher } from "flux"; export var AppDispatcher = new Dispatcher<Action>(); export class Action { } export class SelectJob extends Action { constructor(public job: Job) { super(); } } export class DeselectJob extends Action { constructor(public job: Job) { super(); } } expor...
import { IRenderMimeRegistry } from '@jupyterlab/rendermime'; import { ISignal } from '@lumino/signaling'; import { Token } from '@lumino/coreutils'; import { // DockLayout, Widget, } from '@lumino/widgets'; declare function require(name:string); let JSON5 = require('json5')...
<reponame>AdrKacz/gie-agirc-arrco /* * Power BI Visual CLI * * Copyright (c) Microsoft Corporation * All rights reserved. * MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the ""Software""), to deal * in the Softw...
/** * Wechaty - https://github.com/chatie/wechaty * * @copyright 2016-2018 <NAME> <<EMAIL>> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/...
import { Component, OnInit, ViewChild } from '@angular/core'; import { Location } from '@angular/common'; import { HttpClient, HttpParams } from '@angular/common/http'; import { environment } from '../../../../environments/environment'; import { GeofenceListResponse, GeofenceListResponseData } from '../../../@theme/com...
<reponame>PublicMapping/district-builder-2<gh_stars>1-10 import { BadRequestException, Controller, Get, Header, InternalServerErrorException, Logger, NotFoundException, Param, Post, // Not sure why, but eslint thinks these decorators are unused /* eslint-disable */ ParseIntPipe, Query, /* es...
<gh_stars>0 // This file is part of the Corinthia project (http://corinthia.io). // // See the COPYRIGHT.txt file distributed with this work for // information regarding copyright ownership. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the ...
import Game from "../../core/models/game"; import {Artifact} from "../../core/models/artifact"; import {Monster} from "../../core/models/monster"; import {RoomExit} from "../../core/models/room"; import {Room} from "../../core/models/room"; // The "game" object contains the event handlers and custom commands defined f...
<filename>client/src/model.ts<gh_stars>10-100 /* * 0xtrades.info * https://github.com/vsergeev/0xtrades.info * * Copyright (c) 2017-2018 Ivan (Vanya) <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to ...
import { Context, logging, PersistentMap, storage, ContractPromiseBatch, u128 } from "near-sdk-as"; import { OwnableWithoutRenounce } from "./OwnableWithoutRenounce"; import { PausableWithoutRenounce } from "./PausableWithoutRenounce"; import { nonReentrant } from "./ReentrancyGuard"; import { Stream } from "./models";...
import { DynamicStyleFunction } from 'facepaint' import { UnitInterface } from '../unit' import { BorderInterface } from '../border' import { ElevateInterface } from '../elevate' import { RadiusInterface } from '../radius' import { ColorInterface } from '../color' import { FontInterface, FontFamilyTypes } from '../font...
/** @jsxImportSource @emotion/react */ import React from 'react'; import { Alert, Button, Checkbox, Col, Divider, Dropdown, Input, Menu, Modal, Row, Table, Tabs, Tooltip, } from 'antd'; import { update } from '../../../../stateManagers/states/types'; import { NumberPa...
<reponame>shortercode/zip import { ZipEntry } from "./ZipEntry"; import { HEADER_CD, HEADER_EOCDR, HEADER_LOCAL } from "./constants"; import { decode_utf8_string, encode_utf8_string } from "./string"; import { assert } from "./assert"; import { compress, set_compression_function, set_decompression_function } from "./co...
/* * @license Spanboon Platform v0.1 * (c) 2020-2021 KaoGeek. http://kaogeek.dev * License: MIT. https://opensource.org/licenses/MIT * Author: p-nattawadee <<EMAIL>>, Chanachai-Pansailom <<EMAIL>>, Americaso <<EMAIL>> */ import { Component, Input, ViewChild, ElementRef, Inject, Output, EventEmitter, OnInit, OnDe...
<reponame>uwei/jassijs import { BoxPanel } from "jassijs/ui/BoxPanel"; import jassijs, { $Class } from "jassijs/remote/Jassi"; import { RStack } from "jassijs_report/RStack"; import { RText } from "jassijs_report/RText"; import registry from "jassijs/remote/Registry"; import { ReportDesigner } from "jassijs_report/des...
<gh_stars>1-10 import { mat2d } from "gl-matrix"; import { Canvas } from "./Canvas"; import { SceneNode } from "./SceneNode"; import { RenderContext, DeferredRender, DeferredRenderObject, DeferredRenderTexture, DeferredRenderFilter, DeferredRenderCache, } from "./RenderContext"; import { rect } from "../mat...
// esri.core.Accessor import Accessor = require("esri/core/Accessor"); // esri.core.accessorSupport import { property, subclass } from "esri/core/accessorSupport/decorators"; // esri.views.MapView import MapView = require("esri/views/MapView"); // esri.core.Collection import Collection = require("esri/core/Collectio...
/* * Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. * See LICENSE in the project root for license information. */ // images references in the manifest import "../../assets/icon-16.png"; import "../../assets/icon-32.png"; import "../../assets/icon-80.png"; /* global console,...
/////////////////////////////////////////////////////////////////////////////// // \author (c) <NAME> (<EMAIL>) // 2015-2018, PALANDesign Hannover, Germany // // \license The MIT License (MIT) // // This file is part of the mipher crypto library. // Permission is hereby granted, free of charge, to an...
<reponame>caogtaa/CCCustomVertexFomat const { ccclass, property } = cc._decorator; import { CacheArray, Resetable } from "./CacheArray"; import { CatmullRomSpline, Knot, Marker, SplineParameterization } from "./CatmullRomSpline" import { SplineTrailRendererAssembler } from "./SplineTrailAssembler"; export class Reseta...
<reponame>ieigen/ZKDEX import { Wallet, ContractFactory, BigNumber, BigNumberish } from "ethers"; import { expect } from "chai"; import {buildBabyjub} from "circomlibjs"; const { waffle, ethers} = require("hardhat"); const fs = require("fs"); const path = require("path"); const hre = require("hardhat"); const pc = re...
import { Component, OnInit } from '@angular/core'; import { MessageType } from '../shared/messageType'; import { Message } from '../shared/message.model'; import { User } from '../shared/user.model'; import { SocketService } from '../shared/socket.service'; import { Question } from '../shared/question.model'; import { ...
<filename>packages/type/src/type.ts<gh_stars>0 import ObjectID from 'bson-objectid'; import { A, C, O, U } from 'ts-toolbelt'; import * as uuid from 'uuid'; import { Field as FieldClass } from './field'; import PathLib from './path'; import { Shape } from './shape'; const symShape = Symbol(); const glob = globalThis; ...
<gh_stars>100-1000 import { Logger, Filter, Human, Browser, LogEntry } from './index.js' import { PassThrough } from 'stream' import kava from 'kava' import { equal, deepEqual } from 'assert-helpers' import { ok } from 'assert' // Prepare function cleanChangingLogger(item: any) { item = JSON.parse(item) item.date = ...
<gh_stars>1-10 import { NodeProp, Cover as CoverInterface, Mark as MarkInterface, Node, Pipe, Connector, Matched, CONTEXT, Context, Token, SourceLocation, MATCHED, MARKS, /*PRECEDENCE_FEATURES,*/ PRECEDENCE, Precedence as PrecedenceInterface, MATCHED_RECORDS, Validate } from '../inter...
<filename>RoomCreation/createRooms.ts /* eslint-disable @typescript-eslint/no-var-requires */ import config from '../config/private/roomConfig.json'; import { ActuatorSettings, iRoomDefaultSettings } from 'hoffmation-base/lib'; import { DeviceSettings } from '../../Hoffmation-Base/src/models/deviceSettings'; const fs ...
/** * This file contains the code adapted from https://github.com/zserge/lorca/blob/a3e43396a47ea152501d3453514c7f373cea530a/chrome.go * which is licensed as follows: * * MIT License * * Copyright (c) 2018 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this softwar...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format */ import {padStart} from 'lodash'; import React, {createContext} from 'react'; import {MenuItemConstructorOptions} fro...
<reponame>kainino0x/cts-experiment import { Colors } from '../../common/util/colors.js'; import { assert, TypedArrayBufferView } from '../../common/util/util.js'; import { clamp, isSubnormalNumber } from './math.js'; /** * Encodes a JS `number` into a "normalized" (unorm/snorm) integer representation with `bits` bit...
/** * Provides functions to control any SSD1306 OLED 0.96" from a Calliope Mini. */ // Maincode from https://github.com/Banbury/pxt-calliope-oled96 // MIT License Copyright (c) 2018 Banbury Copyright (c) 2018 Banbury // Thanks to Supereugen for ExtendedCharactersCode // https://github.com/SuperEugen/pxt-calliope-gro...
<reponame>highduck/box2d.ts /* * Copyright (c) 2013 Google, Inc. * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permission is granted to anyone to use this software for any pu...
<gh_stars>1-10 const ANIMALS = [ "aardvark", "albatross", "alligator", "alpaca", "ant", "anteater", "antelope", "ape", "armadillo", "donkey", "baboon", "badger", "barracuda", "bat", "bear", "beaver", "bee", "bison", "boar", "buffalo", "butterfly", "camel", "capybara", "ca...
/* -------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All Rights Reserved. * See 'LICENSE' in the project root for license information. * ------------------------------------------------------------------------------------------ */ 'use...
<gh_stars>10-100 export const ADD_EVENT = "ADD_EVENT"; export const LOAD_ALL_EVENTS = "LOAD_ALL_EVENTS"; export const REMOVE_ALL_EVENTS = "REMOVE_ALL_EVENTS"; export const CERTIFICATE = "CERTIFICATE"; export const CRL = "CRL"; export const PFX = "PFX"; export const ADD_DOCUMENTS = "ADD_DOCUMENTS"; export const LOAD_A...
import { coerceBooleanProperty } from '@angular/cdk/coercion'; import { Directive, ElementRef, EventEmitter, forwardRef, Input, OnDestroy, Optional, Output, Renderer2 } from '@angular/core'; import { AbstractControl, ControlValueAccessor, NG_VALIDATORS, NG_VALUE_ACCES...
// tslint:disable:object-literal-sort-keys import { jsonify } from "../../test/utils" import { IEvent } from "../collector/event" import TimeComposer from "../collector/timeComposer" import TypedGraph from "../collector/typedgraph" import { generateColors } from "../color" import "../object/extensions" import { IObserv...
<gh_stars>1-10 import { BufferAttribute, HSL, InterleavedBufferAttribute } from ".."; import { MathUtils } from ".."; const _colorKeywords = { aliceblue: 0xf0f8ff, antiquewhite: 0xfaebd7, aqua: 0x00ffff, aquamarine: 0x7fffd4, azure: 0xf0ffff, beige: 0xf5f5dc, bisque: 0xffe4c4, black: 0x000000, blanchedalmond:...
import * as GLMatrix from 'gl-matrix'; import * as GL_CONST from '../src/renderer/webgl1/GL_CONST'; import * as mat4 from 'gl-matrix/mat4'; import * as quat from 'gl-matrix/quat'; import * as vec3 from 'gl-matrix/vec3'; import * as vec4 from 'gl-matrix/vec4'; import { AddChild, AddChildren } from '../src/display'; imp...
import React, { useCallback, useEffect, useReducer } from 'react'; import useConference from '../../../hooks/useConference'; import useMaybeUserProfile from '../../../hooks/useMaybeUserProfile'; import MenuExpander, { ButtonSpec } from "../Menu/MenuExpander"; import MenuGroup, { MenuGroupItems } from '../Menu/MenuGroup...
import { css, customElement, html, LitElement } from 'lit-element'; import { SPACE_KEYS } from './utils/keys'; const irKeyCodes: { [key: string]: number } = { power: 0xa2, menu: 0xe2, test: 0x22, plus: 0x02, back: 0xc2, prev: 0xe0, play: 0xa8, next: 0x90, 0: 0x68, minus: 0x98, c: 0xb0, 1: 0x30,...
<filename>public/js/pintura/pintura.d.ts /* eslint-disable @typescript-eslint/no-explicit-any */ type ProgressCallback = (event: ProgressEvent) => void; type Percentage = string; interface PinturaMetadata { [key: string]: any; } // prettier-ignore /** * A matrix of 20 digits based on the SVG <feColorMatrix> fil...
<gh_stars>0 import { Component, OnInit, AfterViewInit, Input, Injectable, TemplateRef } from '@angular/core'; import { MatTable } from '@angular/material/table'; import { MatPaginator } from '@angular/material/paginator'; import { MatTableDataSource } from '@angular/material/table'; import { MatSort, MatSortable, MatSo...
/** * Module for controlling and working with Kits. */ /** */ import * as json5 from 'json5'; import * as path from 'path'; import * as vscode from 'vscode'; import * as logging from './logging'; import paths from './paths'; import {fs} from './pr'; import * as proc from './proc'; import {loadSchema} from './schema...
<filename>lib/jsm.ts import * as fs from 'fs'; import * as path from 'path'; import * as util from 'util'; import * as worker from 'worker_threads'; import * as os from 'os'; import * as process from 'process'; import * as yas from './serializer'; import logger from './logging'; import { filtered_map, wrap_in...
import React, { useRef, useState } from 'react'; import { useSelector } from 'react-redux'; import { useTranslation } from 'react-i18next'; import { Redirect } from 'react-router'; import { Card } from 'frontend-elements'; import { Button as CustomButton, Input, Modal } from 'components'; import { RootDispatch, RootSta...
<reponame>SuperFlyTV/xkeys import { EventEmitter } from 'events' import { AnalogStates, ButtonEventMetadata, ButtonStates, Color, EventMetadata, JoystickValueEmit, XKeysEvents, XKeysInfo, } from './api' import { BackLightType, Product, PRODUCTS, XKEYS_VENDOR_ID } from './products' import { literal } from './lib...
import {HttpClient} from "@angular/common/http"; import {Component, Inject, Input, OnChanges, OnInit, SimpleChanges, ViewChild} from "@angular/core"; import {FormControl, FormGroup, ValidationErrors, Validators} from "@angular/forms"; import {MatAutocompleteSelectedEvent, MatAutocompleteTrigger} from "@angular/material...
<gh_stars>0 import { Alpha3 } from "./Alpha3" import { Numeric } from "./Numeric" export type Alpha2 = | "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" ...
<reponame>defi-org-code/twitter-trend-functions<gh_stars>0 import path from "path"; import { getRecentTweets, getRecentTweetsOfList } from "./twitter-api"; import { Entities, EntitiesResult, Entity, EntityType, RecentResults, Status, TopEntity, TweetResponse, TweetsResponse, User, UserResponse, } ...
<filename>lib/generated/yandex/cloud/ydb/v1/database_service.d.ts /// <reference types="node" /> import { FieldMask } from '../../../../google/protobuf/field_mask'; import { Operation } from '../../../../yandex/cloud/operation/operation'; import { BackupSettings, BackupConfig } from '../../../../yandex/cloud/ydb/v1/bac...
import { Characteristic, Service, API, WithUUID, Perms, Formats, CharacteristicProps } from 'homebridge' import { inherits } from 'util' import fakegato from 'fakegato-history' import { HttpClientCharacteristic, HttpClientService } from './Interfaces' export function listKnownServices(api: API, parent: SupportedServic...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { registerComponent, Components } from '../../lib/vulcan-lib'; import { userUseMarkdownPostEditor } from '../../lib/collections/users/helpers'; import { editorStyles, ckEditorStyles } from '../../themes/stylePiping' import withUser fro...
#!/usr/bin/env node import * as ts from "typescript"; import * as fs from "fs"; import * as path from "path"; import * as os from "os"; import { encode, decode } from '@vivaxy/vlq'; interface SourceMap { version: number, file: string, sourceRoot: string, sources: string[], names: string[], map...
import "@material/mwc-list/mwc-list-item"; import type { RequestSelectedDetail } from "@material/mwc-list/mwc-list-item"; import { mdiAlertCircle, mdiCancel, mdiDelete, mdiFilterVariant, mdiPencilOff, mdiPlus, mdiRestoreAlert, mdiUndo, } from "@mdi/js"; import "@polymer/paper-dropdown-menu/paper-dropdow...
<filename>types/react-instantsearch-core/index.d.ts // Type definitions for react-instantsearch-core 6.8 // Project: https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/react // Definitions by: <NAME> <https://github.com/gburgett> // <NAME> <https://github.com/jpowell> // ...
<reponame>mathuo/splitview /*--------------------------------------------------------------------------------------------- * Accreditation: This file is largly based upon the MIT licenced VSCode sourcecode found at: * https://github.com/microsoft/vscode/tree/main/src/vs/base/browser/ui/splitview *-------------------...
import { FormattedCustomEmoji } from '@sapphire/discord-utilities'; import { MessageAttachment, MessageButton, MessageEmbed } from 'discord.js'; import { chunk, randArrItem, Time } from 'e'; import { CommandStore, KlasaMessage } from 'klasa'; import { Bank, Monsters } from 'oldschooljs'; import { BitField, Color, C...
/* * Copyright 2021 <NAME>, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
/** * Welcome to @reach/slider! * * A UI input component where the user selects a value from within a given * range. A Slider has a handle that can be moved along a track to change its * value. When the user's mouse or focus is on the Slider's handle, the value * can be incremented with keyboard controls. * * R...
import { BuiltIns, Schema, DirectiveDefinition, NonNullType, NamedType, Directive, UnionType, ObjectType, ListType, FieldDefinition, CompositeType, allSchemaRootKinds, defaultRootName, errorCauses, ErrGraphQLValidationFailed, SchemaElement, baseType, isInterfaceType, isObjectType, ...
<reponame>daralthus/tabli<gh_stars>0 /** * Background helper page. * Gathering bookmark and window state and places in local storage so that * popup rendering will be as fast as possible */ import has from 'lodash/has'; import fromPairs from 'lodash/fromPairs'; import * as Immutable from 'immutable'; import * as s...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
/* * Copyright 2020 The Backstage Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
<reponame>DefinitelyMaybe/cannon_4_deno /// <reference lib="dom" /> import { Vec3 } from "../math/Vec3.ts"; import { Quaternion } from "../math/Quaternion.ts"; import { Transform } from "../math/Transform.ts"; import { RaycastResult } from "../collision/RaycastResult.ts"; import { Shape } from "../shapes/Shape.ts"; imp...
import { Component, OnInit, OnDestroy } from '@angular/core'; import { ActivatedRoute, Params } from '@angular/router'; import { FormBuilder, FormGroup, FormControl, Validators, ValidationErrors, } from '@angular/forms'; import { DispatchService } from '../../../services/dispatch/dispatch.service'; import { S...