text
stringlengths
9.82k
47.8k
import * as vscode from 'vscode'; import * as estree from "estree"; import * as estraverse from "estraverse"; import * as spec from "./spec"; import { CommandProvider } from "./commandProvider"; import { SyntaxError, parse, IFileRange } from './grammar'; import { getTextDecoder } from './textEncoding'; /** * Extentio...
<reponame>dnalborczyk/serverless-offline-lerna // @ts-nocheck import { Buffer } from 'buffer' import { readFileSync } from 'fs' import { join, resolve } from 'path' import h2o2 from '@hapi/h2o2' import { Server } from '@hapi/hapi' import inert from '@hapi/inert' import vision from '@hapi/vision' import hapiSwagger fro...
class C_MathUtil { //Normalize x value to x range, then normalize to lerp the z range. static Map(x:number, xMin:number, xMax:number, zMin:number, zMax:number):number { return (x - xMin) / (xMax - xMin) * (zMax - zMin) + zMin; } } //#############################################################################...
<reponame>xnuk/cactbot import Conditions from '../../../../../resources/conditions'; import NetRegexes from '../../../../../resources/netregexes'; import Outputs from '../../../../../resources/outputs'; import { Responses } from '../../../../../resources/responses'; import ZoneId from '../../../../../resources/zone...
<filename>src/abrevConverter.ts const isoCountries = { 'AF' : 'Afghanistan', 'AX' : 'Aland Islands', 'AL' : 'Albania', 'DZ' : 'Algeria', 'AS' : 'American Samoa', 'AD' : 'Andorra', 'AO' : 'Angola', 'AI' : 'Anguilla', 'AQ' : 'Antarctica', 'AG' : 'Antigua And Barbuda', 'AR' : 'A...
/** * Virtual DOM patching algorithm based on Snabbdom by * <NAME> (@paldepind) * Licensed under the MIT License * https://github.com/paldepind/snabbdom/blob/master/LICENSE * * modified by <NAME> (@yyx990803) * * Not type-checking this because this file is perf-critical and the cost * of making flow understand...
<gh_stars>10-100 import { getModCombinations } from './getModCombinations'; import { ComputeModel, CSSMap, ResponsiveStyleValue, StyleMap, StyleStateDataList, StyleStateList, StyleStateMap, StyleStateMapList, } from '../types/render'; import { CUSTOM_UNITS } from '../units'; import { Styles } from '../s...
import { createGlobalStyle } from 'styled-components' const GlobalStyles = createGlobalStyle` html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, va...
import React, { useEffect, useState, useMemo } from 'react'; import styled from 'styled-components/macro'; import { useTranslation } from 'react-i18next'; import { translations } from '../../../locales/i18n'; import SkelontonContainer from '../SkeletonContainer'; import { reqTokenList, reqTopStatistics } from '../../.....
<reponame>kcmvillarino/colabo import { Injectable } from '@angular/core'; import {KMap} from '@colabo-knalledge/f-core/code/knalledge/kMap'; import {KEdge} from '@colabo-knalledge/f-core/code/knalledge/kEdge'; import {KNode} from '@colabo-knalledge/f-core/code/knalledge/kNode'; import {KnalledgeEdgeService} from '@co...
<filename>src/index.ts /** * A function returning a pseudo-random floating-point number in the interval [0, 1) */ export type PRNG = () => number; /** * A simplex noise generator */ export interface SimplexNoise { noise2D: (x: number, y: number) => number; noise3D: (x: number, y: number, z: number) => numb...
import { Component, Input, NgModule, OnInit, OnDestroy, ElementRef, ChangeDetectorRef } from '@angular/core'; // Components import { FhemComponentModule } from '../fhem-component.module'; // Services import { FhemService } from '../../../services/fhem.service'; import { SettingsService } from '../../../services/setti...
<filename>modules/client/src/StateGenerator.ts import { BN, maxBN, minBN, toBN, tokenToWei, weiToToken } from './lib' import { ChannelState, ChannelStateBN, ChannelUpdateReason, convert, DepositArgsBN, ExchangeArgsBN, InvalidationArgs, PaymentArgsBN, PaymentBN, PendingArgsBN, PendingExchangeArgsBN...
<filename>src/server.ts import * as fs from 'fs-extra' import * as path from 'path' import { URI } from 'vscode-uri' import { createConnection, ProposedFeatures, TextDocumentSyncKind, Range, FoldingRange, FoldingRangeKind, SignatureInformation, Position, ColorInformation, Color, ColorPresentation, WorkspaceFolder, Text...
import { css, cx } from '@emotion/css'; import { omit } from 'lodash-es'; import * as React from 'react'; import { featuresCTX, isFeatureEnabled, } from '../../../Components/Contexts/FeaturesProvider'; import { DropMenu } from '../../../Components/DropMenu'; import { deepDifferent } from '../../../Components/Hooks/...
import { BreakpointObserver, Breakpoints } from "@angular/cdk/layout"; import { AfterViewInit, Component, NgZone, OnInit, QueryList, ViewChildren, } from "@angular/core"; import { MatButton } from "@angular/material/button"; import { option } from "fp-ts"; import { Predicate } from "fp-ts/lib/function"; imp...
<reponame>kosuke555/pbd_project<gh_stars>1-10 import * as three from 'three'; import Stats from 'stats.js'; import * as ammo from 'ammo.js'; import { VertexArrayType, IndexArrayType, NormalArrayType, SkinIndexArrayType, WeightArrayType, ParticlePositionType } from './types'; import ClothModel from './simulation/Clo...
import { Dispatch, Router, h, Action } from 'zaitun'; import { guid } from './Utils'; import { FormOptions, Field } from './UIModels' declare const $: any; const TAB_CLICK = Symbol('TAB_CLICK'); const OPTIONS_CHANGED = Symbol('OPTIONS_CHANGED'); const FORM_VALUE_CHANGED = Symbol('form-value-change'); const SELECT_DA...
'use strict' import * as vscode from 'vscode' import * as path from 'path' import { readFile, readDir, readStats, writeFile, exists, capitalize, convertTypeTagShortcut, makeReturnPretty } from './common' import { BlitzMax } from './blitzmax' import { log } from './common' let BmxModuleVersion: String = '1.0' export ...
<filename>client/src/components/pageExp.ts import 'select2/dist/js/select2.full.js'; import * as pip from '../services/pip'; import * as ko from 'knockout'; import * as _ from 'lodash'; import * as DT from '../services/server.itf'; import * as d3 from 'd3'; import * as dataPC from '../services/dataProcessor'; import { ...
<reponame>DavidLeoni/grazy<gh_stars>0 interface BadgeManagerDataSpec { gameSessionId?: string; badge_key?: string; current?: number; } declare class BadgeManager { static version: number; public gameSession: GameSession; public gameSessionId: string; public service: ServiceRequester; pub...
/// <reference types="@argonjs/argon" /> /// <reference types="three" /> /// <reference types="stats" /> // add a field to Object3D declare namespace THREE { export interface Object3D { entity: Argon.Cesium.Entity; } } // any time we use an INERTIAL frame in Cesium, it needs to know where to find it's...
import * as path from 'path'; import { HttpMockWrapper } from '../util/http-wrapper'; import { gatewayLogger as logger } from '../log/gateway-logger'; import { ChannelSegmentInput, ChannelSegmentByIdInput, OSDChannelSegment, OSDTimeSeries, isFkSpectraChannelSegmentOSD, ChannelSegmentType, BeamFormingInput } fro...
'use strict'; import * as child_process from 'child_process'; import * as path from 'path'; import { ConfigurationChangeEvent, ConfigurationTarget, DiagnosticSeverity, Disposable, Event, EventEmitter, Uri, WorkspaceConfiguration } from 'vscode'; import { LanguageServerType } from '../ac...
<reponame>umashankar2/vscode-azure-iot-edge // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. "use strict"; import * as dotenv from "dotenv"; import * as fse from "fs-extra"; import * as isPortReachable from "is-port-reachable"; import * as os from "os"; import * a...
import miniget from 'miniget'; // Remove it import querystring from 'querystring'; import sax from 'sax'; // Forces Node JS version of setTimeout for Electron based applications import { setTimeout } from 'timers'; import { URL } from 'url'; import Cache from './cache'; import * as formatUtils from './format-utils'; i...
/** * File overview here, scroll to bottom. * @link https://github.com/joshwilsonvu/eslint-plugin-solid/blob/main/docs/reactivity.md */ import { TSESTree as T, TSESLint, ASTUtils } from "@typescript-eslint/experimental-utils"; import { findParent, findInScope, isPropsByName, FunctionNode, isFunctionNode, ...
<reponame>impossible98/codium<gh_stars>0 /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *----------------------...
import { Reporter, PathReporter, AttributeTypes, util, createProviderMap, ProviderMap, Diagnostic, Parser } from './index'; import * as Q from './query'; export interface ElementDefinition { is: string; name?: any; [s: string]: any; } export type ElementFactory = (at: PathReporter, name: string | undefined...
import * as events from 'events'; import * as fs from 'fs'; import * as http from 'http'; import { inject, injectable } from 'inversify'; import * as path from 'path'; import * as apid from '../../../../api'; import DropLogFile from '../../../db/entities/DropLogFile'; import Recorded from '../../../db/entities/Recorded...
/* * MIT License * * Copyright (c) 2020 manager * * 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 Software without restriction, including without limitation the rights * to use, copy, modify, ...
/* * Copyright (c) 2012 - 2017 Adobe Systems Incorporated. All rights reserved. * Copyright (c) 2018 - present The quadre code authors. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to...
<filename>packages/semi-foundation/tree/foundation.ts /** * The drag and drop handler implementation is referenced from rc-tree * https://github.com/react-component/tree */ import { isUndefined, difference, pick, cloneDeep, get } from 'lodash'; import BaseFoundation, { DefaultAdapter } from '../base/foundation'; im...
<filename>projects/ngx-sticky/src/lib/sticky.directive.ts import { AfterViewInit, Directive, ElementRef, EventEmitter, HostBinding, Inject, Input, NgZone, OnChanges, OnDestroy, Optional, Output, Renderer2, SimpleChanges, SkipSelf, forwardRef, isDevMode, } from '@angular/core'; import {...
<filename>bundle/src/components/chips/mdc.chip.directive.ts import { AfterContentInit, ContentChildren, Directive, ElementRef, EventEmitter, HostBinding, Input, OnDestroy,Output, QueryList, Renderer2, ChangeDetectorRef, HostListener, Inject } from '@angular/core'; import { DOCUMENT } from '@angular/common'; import ...
export type ConsoleType = 'dmg' | 'sgb' | 'mgb' | 'mgl' | 'sgb2' | 'cgb' | 'agb' | 'ags' | 'gbs' | 'oxy' export const consoles: ConsoleType[] = ['dmg', 'sgb', 'mgb', 'mgl', 'sgb2', 'cgb', 'agb', 'ags', 'gbs', 'oxy']; export interface ConsoleConfig { name: string, } export const consoleCfgs: Record<ConsoleType, Con...
<reponame>easadev/nativescript-cli<filename>test/plugins-service.ts<gh_stars>0 import { Yok } from '../lib/common/yok'; import * as stubs from './stubs'; import { PackageManager } from "../lib/package-manager"; import { PackageInstallationManager } from "../lib/package-installation-manager"; import { NodePackageManager...
<reponame>dzearing/dashling<gh_stars>1-10 import EventGroup from './EventGroup'; import Async from './Async'; import Settings from './Settings'; import Stream from './Stream'; import MetricSet from './MetricSet'; import Utilities from './Utilities'; import { DashlingError, DashlingEvent, DashlingRequestState, D...
import { BreadcrumbComponent, ConfirmDialogComponent, DropdownSitesComponent, NodeActionsService, RowFilter, SearchFilterComponent, SearchQueryBuilderService, ShareDataRow, } from '@alfresco/adf-content-services'; import { AlfrescoApiService, DataCellEvent, DataRowActionEvent...
<filename>libs/ngx-dynamic-form-builder/src/lib/utils/dynamic-form-group.ts import { AbstractControl, AbstractControlOptions, AsyncValidatorFn, FormArray, FormBuilder, FormControl, FormGroup, ValidatorFn } from '@angular/forms'; import { classToClass, plainToClass } from 'class-transformer'; import { Cl...
<reponame>tmitsuoka0423/obniz /** * @packageDocumentation * @module ObnizCore */ import USB, { USBOptions } from "../parts/Accessory/USB"; import HX711, { Hx711Options } from "../parts/ADConverter/hx711"; // Camera import ArduCAMMini, { ArduCAMMiniOptions } from "../parts/Camera/ArduCAMMini"; import JpegSerialCam, ...
<reponame>sowvikr/Angular<gh_stars>1-10 /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {StyleSanitizeFn} from '../../sanitization/style_sanitizer'; import {Procedu...
<gh_stars>1-10 /** * @license * Copyright 2016 Google Inc. * 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 ap...
<reponame>erdc-cm/ipymesh import * as d3 from 'd3'; import { DOMWidgetModel, DOMWidgetView } from '@jupyter-widgets/base'; import { MODULE_NAME, MODULE_VERSION } from './version'; import { VisibilityPolygon } from './visibility'; export class PSLGEditorModel extends DOMWidgetModel { defaults() { retu...
import { createModule, isAction } from '@github1/redux-modules'; import { Action, AnyAction } from 'redux'; import { AjaxServiceResponse } from '@github1/ajax-service'; import { ajax, AjaxCallRequestedAction, AjaxCallback, APPLICATION_AMF, APPLICATION_JSON, TEXT_PLAIN, } from '../ajax'; import { GetElementT...
/*! * Bravo for Power BI * Copyright (c) SQLBI corp. - All rights reserved. * https://www.sqlbi.com */ import { Locale } from '../i18n'; import { strings as _ } from '../strings'; const locale: Locale = { locale: "en", //DO NOT TRANSLATE name: "English", //DO NOT TRANSLATE strings: { [_.addCtr...
import "jassijs/ext/fancytree"; import { $Class } from "jassijs/remote/Jassi"; import { Component, $UIComponent } from "jassijs/ui/Component"; import { ComponentDescriptor } from "jassijs/ui/ComponentDescriptor"; import registry from "jassijs/remote/Registry"; import extensions from "jassijs/base/Extensions"; import ...
/** * Portions 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. */ export const UNICODE_MISTAKES: Map<string, [string, string]> = new Map(); UNICODE_MISTAKES.set('ߺ', ['Nko Lajanyalan', '...
<gh_stars>1-10 import { Observable, of, ReplaySubject, combineLatest } from 'rxjs'; import { debounceTime, distinctUntilChanged, takeUntil, auditTime, take } from 'rxjs/operators'; import { IOption } from './../../theme/ng-select/option.interface'; import { ChangeDetectorRef, Component, ElementRef, Input, OnChanges, On...
<filename>src/app/functions/exec/graphs/POI.ts //@ts-nocheck const Quaternion = require('quaternion'); //ts-ignore const Math = require("mathjs"); const Lodash = require('lodash'); // const slayer=require('slayer'); export const graphingFuncPOIs = { "Sideroll POI": Sideroll, } type DataFrame = any; function S...
<filename>multitest_transport/ui2/app/services/mtt_models.ts /** * Copyright 2019 Google LLC * * 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/LIC...
export enum Pitch { C0 = "C0", CSharp0 = "CSharp0", D0 = "D0", DSharp0 = "DSharp0", E0 = "E0", F0 = "F0", FSharp0 = "FSharp0", G0 = "G0", GSharp0 = "GSharp0", A0 = "A0", ASharp0 = "ASharp0", B0 = "B0", C1 = "C1", CSharp1 = "CSharp1", D1 = "D1", DSharp1 = "DSharp1", E1 = "E1", F1 = "F...
import Phaser from 'phaser'; import PubSub from 'pubsub-js'; import Tilemap from './Tilemap'; import UseItem from '../shared/UseItem'; import SoundManager from './SoundManager'; import Config from '../shared/Config'; import { ApplicationState, BankState, GUIState, InventoryState, PlayerState, re...
import { Db, Collection, ObjectID, FilterQuery } from 'mongodb' import { Idiom, IdiomCreateInput, IdiomUpdateInput, QueryIdiomsArgs, IdiomOperationResult, OperationStatus, QueryIdiomArgs } from '../_graphql/types'; import { Languages, LanguageModel } from './languages' import { UserModel, IdiomExpandOptions, MinimalIdi...
import { assertNever } from "assert-never"; import chalk from "chalk"; import { Bar, Presets } from "cli-progress"; import * as fs from "fs"; import * as path from "path"; import * as pg from "pg"; import { equalsUniqueTableColumnTypes, makeUniqueColumnTypes, sqlUniqueTypeName, UniqueTableColumnType } from "./ConfigFil...
<gh_stars>1-10 import { context, ExecutionContext, expect, TestInterface } from './testlib'; import { ctxTsNode, isOneOf, resetNodeEnvironment, ts, tsSupportsStableNodeNextNode16, } from './helpers'; import { project as fsProject, Project as FsProject } from './fs-helpers'; import { join } from 'path'; import...
<reponame>vaisala-oss/sofp-core import {Server} from './server'; import {FilterProvider} from './filter_provider'; import {Authorizer, Collection, FeatureStream, Feature, Filter, Item, Link, PropertyReference, Query} from 'sofp-lib'; import { OpenAPI } from './openapi'; import * as _ from 'lodash'; import * as expres...
<gh_stars>10-100 import { Type } from "../ast"; import { INDENT, INNER_CLASS_LEVEL, Parameter, FunDef, ClassDef, Program, ProbPair, } from "./structs"; import { BODY_STMT_CHANCE, IF_ELIF_CHANCE, IF_ELSE_CHANCE, PARAM_CHANCE, CLASS_FIELD_CHANCE, CLASS_METHOD_CHANCE, INIT_TYPE_PROBS, INIT_...
<filename>src/app/layout/dashboard/dashboard.component.ts import { Component, OnInit, ViewChild } from '@angular/core'; import { formatDate } from '@angular/common'; import { ChartOptions, ChartType, ChartDataSets } from 'chart.js'; import { Color, BaseChartDirective, Label } from 'ng2-charts'; import * as pluginDataL...
<gh_stars>10-100 import "jquery"; import * as MultiColumnAuto from "./MultiColumnAutocomplete"; // track automatically generated caches for values in autocomplete types const autoCache = {}; type GenericRecord = Record<string, any>; type CacheKey = string | number; type Cache = Record<CacheKey, GenericRecord>; expo...
import { Reader, Writer } from "protobufjs/minimal"; import { Dso } from "../pm/dso"; import { Aggregator } from "../pm/aggregator"; import { Player } from "../pm/player"; import { PageRequest, PageResponse } from "../cosmos/base/query/v1beta1/pagination"; import { Lem } from "../pm/lem"; import { LemMeasure } from ".....
import en from "./en-us.json"; import fr from "./fr-fr.json"; export interface Language { btnExportBackup: string; btnGenerateCombination: string; btnImportBackup: string; btnImportRaidExtract: string; championAbbess: string; championAcolyte: string; championAdjudicator: string; championAdmonitor: stri...
"use strict"; /* tslint:disable: no-var-requires no-console */ require("fullscrn"); import BBox from "b-box"; import dock_n_liquid from "dock-n-liquid"; import MZ700 from "./mz700"; import mz700scrn from "../lib/mz700-scrn"; import MZBeep from "../lib/mz-beep"; import MZ_Tape from "../lib/mz-tape"; import MZ_TapeHeade...
<gh_stars>0 import type { Jsonable } from "./ast.js"; import moo from "moo"; import escapeRegExp from "./escapeRegExp.js"; export const Kind = { date: "date", "time with time zone": "time with time zone", "time without time zone": "time without time zone", "timestamp with time zone": "timestamp with time zone"...
import { EditorState, Modifier, RichUtils, SelectionState, AtomicBlockUtils, ContentBlock, ContentState, EntityInstance, RawDraftEntity, EditorChangeType, } from '@wix/draft-js'; import { cloneDeepWith, flatMap, findIndex, findLastIndex, countBy, debounce, times } from 'lodash'; import { TEXT_TYPES...
import { OutputSettings } from 'resemblejs'; export interface ICasperMouse { down(selector: string): void; move(selector: string): void; } export declare type Casper = { mouse: ICasperMouse; test: ITester; options: ICasperOptions; __utils__: IClientUtils; back(): Casper; base64encode(url...
<gh_stars>1-10 import * as http from 'http'; import * as WebSocket from 'ws'; import * as orm from 'typeorm'; import { logger, logIt } from '../logger'; import { Socket } from 'net'; import { Queue, Worker, QueueBase, Job } from 'bullmq'; import { sleep, TypedEvent } from '../helpers'; import { PlayerProfile, GameRegio...
import React from 'react'; import {ScrollView} from 'react-native'; import styled from 'styled-components/native'; export default () => ( <ScrollView> <Title>Termos de Serviço</Title> <HeaderText>Bem-vindos ao Religare! </HeaderText> <DescriptionText> O Religare cria tecnologias e serviços para que...
<gh_stars>1-10 import { Component, OnInit, OnDestroy } from '@angular/core'; import { NgRedux } from '../../../../node_modules/@angular-redux/store'; import { IAppState } from '../../store'; import { Subject } from '../../../../node_modules/rxjs'; import { takeUntil } from '../../../../node_modules/rxjs/operators'; imp...
<reponame>cosminpopescu14/WFH_Resources<gh_stars>1-10 import { country, Countries } from "./countryList"; (async () => { try { await main(); console.log("done"); } catch (e) { console.log(e); console.log("Error" + JSON.stringify(e)); throw e; } })(); async function main() { ...
export enum InstanceTypes { "c6i.4xlarge" = "c6i.4xlarge", "c6i.8xlarge" = "c6i.8xlarge", "c6i.large" = "c6i.large", "c6i.xlarge" = "c6i.xlarge", "c6i" = "c6i", "cc2.8xlarge" = "cc2.8xlarge", "cr1.8xlarge" = "cr1.8xlarge", "d2.2xlarge" = "d2.2xlarge", "d2.4xlarge" = "d2.4xlarge", "d2.8xlarge" = "d2....
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may no...
/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import { forEachProperty } from '@fluid-experimental/property-binder'; import { BaseProxifiedProperty, PropertyProxy } from '@fluid-experimental/property-proxy'; import { Workspace} from '@fluid-exp...
import sdk, { RTCSignalingClientSession, BinarySensor, Camera, Device, DeviceDiscovery, DeviceProvider, MediaObject, MotionSensor, OnOff, PictureOptions, RequestMediaStreamOptions, RequestPictureOptions, RTCSessionControl, RTCSignalingChannel, RTCSignalingClientOptions, ScryptedDeviceBase, ScryptedDeviceType, ScryptedI...
import Log from '@ulixee/commons/lib/Logger'; import { ILoadStatus, ILocationTrigger, LoadStatus } from '@ulixee/hero-interfaces/Location'; import { IJsPath } from 'awaited-dom/base/AwaitedPath'; import EventSubscriber from '@ulixee/commons/lib/EventSubscriber'; import { ICookie } from '@ulixee/hero-interfaces/ICookie'...
<filename>src/reporters/lang/en.ts const messages = { upToDate: 'Already up-to-date.', folderInSync: 'Folder in sync.', nothingToInstall: 'Nothing to install.', resolvingPackages: 'Resolving packages', checkingManifest: 'Validating package.json', fetchingPackages: 'Fetching packages', linkingDependencies:...
/*--------------------------------------------------------------------------------------------- * Copyright (c) <NAME>, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *-------------------------------------------------------------------------------...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
<gh_stars>100-1000 // single: Return one value (the content of the store). Query ignored // allkv: Query all key-values in a kv database. Similar to single, but enforces kv. // kv: Query with a set of keys, return corresponding values. // sortedkv: Query set of ranges. return kv map with contained values export enum Q...
// Written in 2017 by <NAME> // To the extent possible under law, I have dedicated all copyright and related and neighboring rights // to this software to the public domain worldwide. This software is distributed without any warranty. // http://creativecommons.org/publicdomain/zero/1.0/ // Decode Glulx game images ...
<filename>src/app/core/data/music-genre.ts export const musicGenre = [ { name: 'Acid breaks', code: 'Acid-breaks' }, { name: 'Acid house', code: 'Acid-house' }, { name: 'Acid jazz', code: 'Acid-jazz' }, { name: 'Acid rock', code: 'Acid-rock' }, { name: 'Acid techno', code: 'Acid-techno' }, { name: 'Acid tra...
<gh_stars>0 import Phaser, { GameObjects, Physics } from 'phaser' enum action { JUMP = 1, FIRE } const LEVEL_COUNT = 2 let STAGE_LEVEL: integer let playerX: integer let playerY: integer let playerWidth = 80 let playerHeight = 160 - 40 let playerOffsetRight = 60 let playerOffsetLeft = 60 let...
/// <reference path="../../../node_modules/electron-prebuilt-compile/electron.d.ts"/> declare class WebView implements Electron.WebviewTag{ accessKey: string; children: HTMLCollection; contentEditable: string; dataset: DOMStringMap; dir: string; draggable: boolean; hidden: boolean; hide...
<filename>plugins/geo-photo/src/geoPhotoMarker.ts /*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *--------------------...
<reponame>Qazalin/ethereum-org-website import { createGlobalStyle, DefaultTheme } from "styled-components" import { mix } from "polished" const white = "#ffffff" const black = "#000000" const primaryLight = "#1c1cff" const primaryDark = "#ff7324" const success = "#109e62" const fail = "#b80000" const turquoise = "#ccf...
import * as React from 'react' import * as echarts from 'echarts/lib/echarts' import { IDrawingData, IMetricAxisConfig, ILegend } from './Pivot' import { IWidgetMetric, DimetionType, RenderType, IChartStyles } from '../Widget' import chartOptionGenerator from '../../render/pivot' import { PIVOT_DEFAULT_SCATTER_SIZE } f...
<gh_stars>1-10 const HEX_PREFIX = "0x"; const EMPTY_ADDRESS = "0x0000000000000000000000000000000000000000"; const ARG_SIZE_BYTES = 32; const ARG_SIZE_BITS = ARG_SIZE_BYTES * 8; const MAX_UINT256 = BigInt(2) ** BigInt(ARG_SIZE_BITS) - BigInt(1); const HEX = 16; /** * Validates that a number or bigNumber satisfies cert...
import first from 'lodash/first'; import last from 'lodash/last'; import findIndex from 'lodash/findIndex'; import findLastIndex from 'lodash/findLastIndex'; import { ActualsTimeseries } from 'api'; import { ActualsTimeseriesRow, RegionSummaryWithTimeseries, MetricsTimeseriesRow, Metricstimeseries, Metrics, ...
/* * Copyright (c) 2006-2009 <NAME> http://www.box2d.org * * 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 purpose, ...
<gh_stars>0 import React from 'react'; import _, { isEmpty } from 'lodash-es'; import moment from 'moment'; import { saveAs } from 'file-saver'; import runsService from 'services/api/runs/runsService'; import createModel from '../model'; import { adjustable_reader, decodePathsVals, decode_buffer_pairs, iterFol...
import VXC = require("./VXComponent"); import VXU = require("./VXUtils"); import V = require("./VCL"); import VXM = require("./VXMenu"); export class TGraphic extends VXC.TPopupmenuComponent { public onClicked: (sender: TGraphic, shiftPressed?: boolean) => void; public ondblclicked: (sender: TGraphic) => void;...
<gh_stars>0 import { $TSAny, $TSContext, $TSMeta, $TSObject, AmplifyCategories, AmplifySupportedService, CLISubCommandType, exitOnNextTick, getMigrateResourceMessageForOverride, pathManager, stateManager, } from 'amplify-cli-core'; import { printer, prompter } from 'amplify-prompts'; import * as f...
import { Block, ClassType, GetScheduleResponse, ScheduleClass } from '@mymicds/sdk'; import { Db } from 'mongodb'; import * as _ from 'lodash'; import * as aliases from './aliases'; import * as blockSchedule from './blockSchedule'; import * as classes from './classes'; import * as feeds from './feeds'; import * as port...
import { usePopper, UsePopperProps, UsePopperReturn, useStyles, } from '@chakra-ui/react' import { EventKeys } from '@chakra-ui/utils' import { createContext, mergeRefs } from '@chakra-ui/react-utils' import { useEffect, useRef, useState, useCallback, useMemo, MutableRefObject, } from 'react' import...
import Packet from "./packet" import { JDDevice } from "./device" import { debounceAsync, strcmp, arrayConcatMany } from "./utils" import { JD_SERVICE_INDEX_CTRL, CMD_ADVERTISEMENT_DATA, DEVICE_ANNOUNCE, PACKET_SEND, ERROR, CONNECTING, DEVICE_CONNECT, DEVICE_DISCONNECT, PACKET_RECEIV...
import { Component, createRef, RefObject } from 'react' import type { ReactNode } from 'react' import PropTypes from 'prop-types' import { Animated, Platform, StyleSheet, View, FlatList, KeyboardAvoidingView, } from 'react-native' import type { KeyboardEvent, LayoutChangeEvent, StyleProp, TextStyle,...
<gh_stars>0 ///<reference path="webgl.ts"/> ///<reference path="Math.ts"/> ///<reference path="Util.ts"/> ///<reference path="Model.ts"/> ///<reference path="Terrain.ts"/> ///<reference path="Actor.ts"/> let _programParticles: WebGLProgram; const enum ParticleTypes { Thrust, // 0 Bullet, // 1 MissileTrail, // 2 G...
/* tslint:disable:object-literal-sort-keys object-literal-key-quotes*/ // we disable those linting rules to make updating this file from the official API reference // as easy as possible. const gameConsts = { OK: 0, ERR_NOT_OWNER: -1, ERR_NO_PATH: -2, ERR_NAME_EXISTS: -3, ERR_BUSY: -4, ERR_NOT_FOUND: -5, ...
import type { CountryCode, CountryKey } from './@types/countries'; export type Country = { countryCode: CountryCode; name: string; }; export const countries: Record<CountryKey, Country> = { afghanistan: { countryCode: 'AF', name: 'Afghanistan', }, åland_islands: { countryCode: 'AX', name: 'Åland Islands'...
import Background from "../data/Background"; import BuildChar from "../data/chars/BuildChar"; import Char from "../data/chars/Char"; import ClassSet from "../data/chars/ClassSet"; import Boni from "../data/classes/Boni"; import Class from "../data/classes/Class"; import Feature, { FeatureRest } from "../data/classes/Fe...