text
stringlengths
9.82k
47.8k
import {config} from "../config"; import {Logger} from "../utils/logger"; import {db, privateDB} from "../databases/databases"; import {getMaxResThumbnail, YouTubeAPI} from "../utils/youtubeApi"; import {getSubmissionUUID} from "../utils/getSubmissionUUID"; import fetch from "node-fetch"; import {getHash} from "../util...
import * as ReactDOM from 'react-dom'; import * as React from 'react'; import {HashRouter, Route} from 'react-router-dom'; import { Map, View } from 'ol'; import 'bootstrap/dist/css/bootstrap.min.css'; import { Tab} from 'react-bootstrap'; import 'ol/ol.css'; import './ol-ca.scss'; import {useState, useMemo, useEffect,...
/* * This is a AssemblyScript port of the original Java version, which was written by * <NAME> as described in * https://github.com/HdrHistogram/HdrHistogram * and released to the public domain, as explained at * http://creativecommons.org/publicdomain/zero/1.0/ */ /** * A packed-value, sparse array context use...
import {constants, promises as fs} from 'fs'; import path from 'path'; import {ChatPostMessageArguments} from '@slack/web-api'; import {Mutex} from 'async-mutex'; import {stripIndent} from 'common-tags'; import schedule from 'node-schedule'; import {unlock} from '../achievements/index.js'; import type {SlackInterface} ...
//@copyright <NAME> type pointer = number; type vType = 'i8' | 'i16' | 'i32' | 'i64' | 'float' | 'double'; declare const Module: any; declare function getValue(ptr: pointer, type: vType): pointer; declare function setValue(ptr: pointer, value: number, type: vType); declare function stackSave(): pointer; declare functi...
/* * Copyright © 2018 Atomist, 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 applicable law or agree...
import ts from "typescript"; import path from "path"; import { PluginConfig, TransformerExtras } from "ts-patch"; import { BinaryOp, CanReference } from "./expression"; import { FunctionlessNode } from "./node"; import { AppsyncResolver } from "./appsync"; import { assertDefined } from "./assert"; import { StepFunction...
import { i18n, icon, editorByAccessor } from "../core/shared-vars"; import { BaseComponent } from '../core/base-component'; import { changeCase, Utils } from '../core/utils'; import { DataForm } from "../data/data-form"; import { IComponentRefer, IFieldProps } from "@organic-ui"; import { Menu, MenuItem } from "../cont...
import CodeMirror from "codemirror"; export interface State { tokenize: (stream: CodeMirror.StringStream, state: State) => string; inLiteral: "SINGLE" | "DOUBLE" | undefined; errorStartPos: number | undefined; errorEndPos: number | undefined; queryType: | "SELECT" | "CONSTRUCT" | "ASK" | "DESC...
import type {MusicPack, MusicTrack, Int, Uint, SVGAnimateBeginElement} from './types.js'; import type {WindowElement} from './windows.js'; import {clearElement, svgNS} from './lib/dom.js'; import {createHTML, audio, br, div, button, h1, input, li, span, ul} from './lib/html.js'; import {svg, animate, path, rect, symbol...
import uuid from 'uuid/v4'; import browser from 'browser-which'; import { promisify } from './utils/promise'; import { isFormData } from './utils/form'; import { catchAjaxError } from './utils/catch'; import { transformResponse } from './utils/transform-response'; import { addPrefixToUrl, processParamsInUrl } from './u...
<filename>src/cvss2.ts var undef : any; export interface IDeserializeOptions { IgnoreRequired: false; Map: IMap<any>; } export interface ISerializeOptions { IgnoreNotDefined: false; Map: IMap<any>; } export interface IFullFieldInfo { name: string; value: string|number; fullName: string; ...
<reponame>zhwycsz/edd<gh_stars>1-10 import * as $ from "jquery"; import "jquery-ui"; import * as MultiColumnAuto from "./MultiColumnAutocomplete"; var autoCache = {}; export interface AutocompleteOptions { // Mandatory: A JQuery object identifying the DOM element that contains, or will contain, // the input e...
<filename>src/server/TelefuncServer.ts import { stringify, parse } from "@brillout/json-s"; // @ts-ignore import getUrlProps = require("@brillout/url-props"); import { getSetCookieHeader, __setSecretKey, __secretKey, SecretKey, } from "telefunc/context/server/cookie-management"; import { createContextHookFal...
<reponame>synesthesia-project/ola-dmx import * as lightDesk from '@synesthesia-project/light-desk'; import {PlayStateData} from '@synesthesia-project/core/protocols/broadcast/messages'; import {CueFile} from '@synesthesia-project/core/file'; import { prepareFile, getActiveEvents, getCurrentEventStateValue ...
<filename>src/client_sql/render.ts import type { RendererContext } from 'vscode-notebook-renderer'; interface IRenderInfo { container: HTMLElement; mime: string; value: any; context: RendererContext<unknown>; } ////////////////////////////////////////////////////////////// // This function is called to rende...
<filename>src/collectionview.ios.ts import { EventData, Observable } from '@nativescript/core/data/observable'; import { ChangeType } from '@nativescript/core/data/observable-array'; import { profile } from '@nativescript/core/profiling'; import { isEnabled } from '@nativescript/core/trace'; import { KeyedTemplate, lay...
/* eslint-disable indent */ import { Badge, Box, Card, Divider, List, ListItem, ListItemIcon, Popover, useTheme, } from '@material-ui/core'; import { AddCircle, ArrowDropDown, Audiotrack, CropSquare, Delete, DeleteForever, DeleteOutlined, DeleteSweep, Edit, Fullscreen, Image, ...
export const description = ` TODO: check overlap with api,operation,rendering,draw:vertex_attributes,basic before implementing - Tests that render N points, using a generated pipeline with: (1) a vertex shader that has necessary vertex inputs and a static array of expected data (as indexed by vertexID + instanceI...
////////////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2014-present, Egret Technology. // All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // /...
/* eslint-disable no-shadow */ import { execSync, spawn } from "node:child_process"; import { existsSync, lstatSync, readFileSync, writeFileSync } from "node:fs"; import { tmpdir } from "node:os"; import { join } from "node:path"; import { URL } from "node:url"; import { watch } from "chokidar"; import { getType } fro...
import { ACTION_TYPE, EVENT_TYPE, OrganizationMembershipLevel, PluginsAccessLevel, ShownAsValue, RETENTION_RECURRING, RETENTION_FIRST_TIME, ENTITY_MATCH_TYPE, FunnelLayout, COHORT_DYNAMIC, COHORT_STATIC, BinCountAuto, } from 'lib/constants' import { PluginConfigSchema } f...
<filename>server/controllers/oven.controller.ts /** * Copyright (c) 2020 * * Oven Controller create new ts oven project * * @summary Oven controller * @author <NAME> * * Created at : 2020-10-02 * Last modified : 2020-11-21 */ /// <reference path="../interfaces/file-content.interface.ts" /> /// <re...
import { defaults } from 'custom-defaults'; import { safeAwait, CatchFirst } from 'catch-first'; import { RequiredPick } from './helper'; export type Plugin = { onState: StateHandler }; class Plugins { plugins: (Plugin | undefined)[] = []; onState(state: TraceState, thread: Thread) { this.plugins.forEach((plug...
import { line as d3Line, Line } from 'd3-shape' import { format as d3Format } from 'd3-format' import { scaleLinear as d3ScaleLinear, scaleLog as d3ScaleLog, ScaleLinear, ScaleLogarithmic } from 'd3-scale' import { axisLeft as d3AxisLeft, axisBottom as d3AxisBottom, Axis } from 'd3-axis' import { zoom as d3Zoom } from ...
import * as alkali from 'alkali'; const { VArray, ReplacedEvent, UpdateEvent, getNextVersion } = alkali.VArray ? alkali : alkali.default import { Persistable, INVALIDATED_ENTRY, VERSION, Invalidated } from './Persisted.js' import when from './util/when.js' import ExpirationStrategy from './ExpirationStrategy.js' import...
/** * Import Angular */ import { ANALYZE_FOR_ENTRY_COMPONENTS, APP_INITIALIZER, ComponentFactoryResolver, Inject, Injector, ModuleWithProviders, NgModule, NgZone, Optional } from '@angular/core'; import { APP_BASE_HREF, Location, LocationStrategy, HashLocationStrategy, PathLocationStrategy, PlatformLocation } from ...
<reponame>fossabot/flop-player /***************************************************************** Original script by <NAME> 2014-04-18. Modified during 2019-02 by <NAME>. Add Time and Status to Clone 0.97 videos and deactivated several sections of code written for earlier versions but using incorrect assumptions. ...
<reponame>csquareEductaion/csquareUi<gh_stars>0 import { Component, OnInit } from '@angular/core'; import {NgbCarouselConfig} from '@ng-bootstrap/ng-bootstrap'; import { AdminAppService } from '../../admin-app.service'; import { LocalDataSource } from 'ng2-smart-table'; import { Router, Params, ActivatedRoute } from '@...
/* * Licensed to the Kassenärztliche Bundesvereinigung (KBV) (c) 2020 - 2021 under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The KBV licenses this file * to you under the Apache License, Version 2....
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import * as React from 'react'; import './TeachSessionModal.css'; import { returntypeof } from 'react-redux-typescript'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { E...
import { colorscales } from './colorscales'; import { parse as parseArithmetics } from './arithmetics-parser'; // @ts-ignore import * as vertexShaderSource from '../../shaders/plotty.vertex.glsl'; // @ts-ignore import * as fragmentShaderSource from '../../shaders/plotty.fragment.glsl'; function hasOwnProperty(obj: any...
import classNames from 'classnames'; import _chunk from 'lodash/fp/chunk'; import _sortBy from 'lodash/fp/sortBy'; import { marked } from 'marked'; import * as React from 'react'; import * as ReactDOM from 'react-dom'; import * as reactTabs from 'react-tabs'; import { screenMappings } from './screen-mappings'; interfa...
import Vue from 'vue'; // Undocumented (but exposed) vue method for making properties reactive. declare module "vue/types/vue" { interface VueConstructor { util: { defineReactive: (obj: any, key: string, val: any, setter?: Function | null, shallow?: boolean) => void } } } // Works...
/* * 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 agreed to in writing, software * distribu...
/** * Note(gdh1995): * - All private members are @NEED_SAFE_ELEMENTS * - Untagged public members are @safe_even_if_any_overridden_property */ declare namespace ScrollerNS { const enum Consts { calibrationBoundary = 150, maxCalibration = 1.6, minCalibration = 0.5, minDuration = 100, durationScaleForAmount ...
import { Injectable, NgZone, Inject } from '@angular/core'; import { ToastController, LoadingController, PopoverController, Platform, } from '@ionic/angular'; import { Events } from '@app/util/events'; import { TranslateService } from '@ngx-translate/core'; import { Network } from '@ionic-native/network...
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * 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 b...
<gh_stars>0 import { Ainsley, AinsleyGenerateOptions, AinsleyVariations, AinsleyChildren } from 'ainsley' export const config: Ainsley = { children: [ '/*! TACHYONS v4.12.0 | http://tachyons.io */', '$https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.0/normalize.min.css', ` a, article, asi...
import React, { Component, StatelessComponent, MouseEventHandler } from 'react'; import Icon from 'wdk-client/Components/Icon/Icon'; import CheckboxTreeNode from 'wdk-client/Components/CheckboxTree/CheckboxTreeNode'; import RealTimeSearchBox from 'wdk-client/Components/SearchBox/RealTimeSearchBox'; import { addOrRemo...
import type { GetStaticPaths, GetStaticProps, NextPage } from "next"; import Head from "next/head"; import styles from "../styles/pages/[difficulty].module.scss"; import { Player, BLACK, WHITE, stringIsPlayer, cellIsChecker, actionIsMoveChecker, actionIsRemoveChecker, Action, verboseCellPosition, Re...
<gh_stars>0 /* Copyright xerysherry 2018 * * 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...
<gh_stars>0 import type { FlexStyle, ShadowStyleIOS, TransformsStyle, ViewStyle, TextStyle, TextStyleIOS, TextStyleAndroid, ImageStyle, Animated } from 'react-native' import type { SwitchKV, MapKey, FilterUnknown } from './util' export type Value = Animated.Value export type AnimatedInterpolation = Animated.Animated...
<reponame>ihorskyi/compromise<gh_stars>0 export as namespace nlp // a key-value object of words, terms declare interface Lexicon { [key: string]: string } // documents indexed by a string declare interface DocIndex< Ext extends object = {}, W extends nlp.World = nlp.World, Ph extends nlp.Phrase = nlp.Phrase > ...
import { element } from "protractor"; import { PagingInput } from "../models/Paging-input"; import { SortInput } from "../models/sort-input"; import { Component, OnInit, Input, ContentChildren, TemplateRef, QueryList, AfterContentInit, ContentChild, Output, EventEmitter, ViewChild, AfterViewChec...
declare var require; import { Component, OnInit, AfterViewInit } from '@angular/core'; import * as esri from 'esri-leaflet'; import * as L from 'leaflet'; require('leaflet-timedimension'); import { MapCache } from '@helgoland/map'; import { D3PlotOptions, AdditionalData } from '@helgoland/d3'; import { Timespan, Datase...
<reponame>duynd1895/Do-An-Tot-Nghiep import { HSChiDinhDVKT, DSChiDinhDVKT } from './../../../../models/hschidinhdvkt'; import { mergeMap, switchMap, concatMap, delay, tap } from 'rxjs/operators'; import { PhongKham } from './../../../../models/phongkham'; import { HSPhieuKham } from './../../../../models/hsphieukham';...
<reponame>hschimke/WorldOfWarcraft_CraftingProfitCalculator import { Logger } from 'winston'; const exclude_before_shadowlands = false; // Cache namespace constants const ITEM_SEARCH_CACHE = 'item_search_cache'; const CONNECTED_REALM_ID_CACHE = 'connected_realm_data'; const ITEM_DATA_CACHE = 'fetched_item_data'; cons...
<reponame>rhostem/ng2-simple-autocomplete<gh_stars>1-10 import { Component, OnInit, OnChanges, ViewChild, ElementRef, Input, Output, EventEmitter, SimpleChanges, Sanitizer, SecurityContext, } from '@angular/core'; import { DomSanitizer, SafeHtml } from '@angular/platform-browser'; import { Observa...
<gh_stars>0 import { Cell, CellCallback, CellIdsListener, CellListener, CellSchema, GetCellChange, MapCell, Row, RowCallback, RowIdsListener, RowListener, Schema, Store, StoreListenerStats, Table, TableCallback, TableIdsListener, TableListener, Tables, TablesListener, createSto...
import * as vscode from 'vscode'; import * as path from 'path'; let fs = require("fs"); let currentLang = ''; let colors: any; let gWindowState: boolean = true; let config = vscode.workspace.getConfiguration('ltt'); export function activate(context: vscode.ExtensionContext) { vscode.commands.executeCommand("extension...
import { Component, ViewChild, ElementRef } from '@angular/core'; import { Spaceship2, Spaceship1, Spaceship } from './spaceship'; import { log } from '../Util/Log.service'; import { DEVICE_WIDTH, DEVICE_HEIGHT, WAITING_FOR_OTHER_PLAYERS, PURPLE_HARVEST_2, PURPLE_HARVEST_1, PURPLE_HARVEST_0, SHIP_HEIGHT, SHIP_1_...
<gh_stars>10-100 import fs from 'fs'; import { readdir, readFile, writeFile } from 'fs/promises'; import beautify from 'js-beautify'; import minimatch from 'minimatch'; import { HTMLElement, parse, parse as parseHtml } from 'node-html-parser'; import nunjucks from 'nunjucks'; import path from 'path'; import pug from 'p...
<gh_stars>0 import { ENDNode, ENDElement, ENDVariableStatement, ENDProgram, ENDAttribute, ENDDirective, ENDStatement, Program, Identifier, Expression, ExpressionStatement, ENDChooseCase, ENDIfStatement, ENDProgramStatement, ENDAttributeValue, ENDAddClassStatement, ENDAttributeValueExpression, ENDBaseAtt...
/* * Copyright (c) 2014, Metron, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of condit...
import { check, CheckFunction, CheckHandle, CheckInstanceof, CheckInterface, CheckProgramSymbolTable, CheckString, CheckOr, } from '@glimmer/debug'; import { DEBUG } from '@glimmer/env'; import { Bounds, ComponentDefinition, InternalComponentCapability, ComponentDefinitionState, ComponentInsta...
import * as Viewer from '../viewer'; import * as F3DZEX from './f3dzex'; import { DeviceProgram } from "../Program"; import { Texture, getImageFormatString, Vertex, DrawCall, getTextFiltFromOtherModeH, OtherModeL_Layout, fillCombineParams, translateBlendMode, RSP_Geometry, RSPSharedOutput, getCycleTypeFromOtherModeH, ...
import * as Immutable from "immutable" import { Unit, Fun, Prod, Sum, unit, absurd, fst, snd, defun, fun, inl, inr, apply, apply_pair, id, constant, curry, uncurry, lazy, swap_prod, swap_sum, compose_pair, fun2 } from "ts-bccc" // import * as CCC from "ts-bccc" // import { mk_coroutine, Coroutine, suspend, co_unit, ...
import * as fs from "fs"; import { ObjectFromEntries, STRATEGIES, StrategyName } from "./util"; const RU_EN_MAPPING: Record<StrategyName, string> = { "Злопамятный": "grudger", "Прощающий": "copykitten", "Око_за_око": "copycat", "Честный_Доверчивый": "honestyB", "Честный_Скептик": "honestyS", "Честный_Па...
export const arrData1 = [ null, undefined, new Date(), { null: undefined, ok: null, _id: "6197cb6d464579ae8f1c26b2", index: 0, guid: "837ce48e-6a4d-49d7-8289-ea120d1c5859", isActive: true, balance: "$3,236.91", picture: "http://placehold.it/32x32", age: 31, eyeColor: "gre...
import * as fs from 'fs' import * as moment from 'moment' import { Kit, Cryptogram, Http } from '@easy-front-core-sdk/kits' import { GateWay, MethodType, GoodsType, SignType, Algorithm, NormalResponseCode } from './Enums' /**应用配置 * @param appId 应用ID * @param appPrivKey 应用私钥 * @param appPrivKeyFile 应...
<filename>sdk/node/src/crypto.ts /** * Copyright 2016 IBM * * 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...
import React from "react"; import moment from "moment"; import ChartJS from "chart.js"; import {reaction, toJS} from "mobx"; import {Theme} from "$constants/Theme"; import {autobind} from "core-decorators"; import {cloneDeep, get, uniq} from "lodash"; import {isEmpty, setStyle} from "$utils/Util"; import StoreManager f...
import { Component, OnInit, TemplateRef, ViewChild, ElementRef} from '@angular/core'; import { MatDialog, MatDialogConfig } from '@angular/material'; import { MatTableDataSource, MatSort, PageEvent, MatPaginator } from '@angular/material'; import { CommonService } from './../../../shared/services/common.service'; impor...
export enum OfferType { Sale = "Sale", Rent = "Rent", } export enum GroupType { Neighbourhood = "Neighbourhood", Sublocality = "Sublocality", LocalityParent = "LocalityParent", } export enum BedType { Studio = "Studio", One = "1", OnePlusDen = "1+1", Two = "2", TwoPlusDen = "2+...
import { World } from "./World"; import { Unit } from "./Unit/Unit"; import { Event } from "./Util/Event"; import { Vector } from "./Geometry/Vector"; import { ResourceManager } from "./Util/ResourceManager"; import { Resource } from "./Util/RoboPack"; export interface ITextureInfo { Width: number; Height: num...
<filename>src/dfa.ts import { withoutSet, firstOf, intersectSet, cachedFunc, filterMut, traverse } from "./util"; import { FAIterator, FiniteAutomaton, IntersectionOptions, TooManyNodesError, ToRegexOptions, TransitionIterable, TransitionIterableFA, } from "./finite-automaton"; import { CharMap, ReadonlyCharMap ...
import useTitleBar from "../hooks/useTitleBar"; import { helpers, toWorker, useLocal } from "../util"; import type { DunkAttempt, Player, View } from "../../common/types"; import { Height, PlayerNameLabels, PlayerPicture, PlayPauseNext, ResponsiveTableWrapper, Weight, } from "../components"; import { useEffect, u...
import React, { useEffect, useState } from 'react'; import { useNavigation } from '@react-navigation/native'; import { Dimensions, Image as RNImage } from 'react-native'; import { Image, Box, Button, Center, Heading, Popover, Switch, Text, useToast, VStack, ScrollView, Modal, StatusBar } from 'native-base'; import Coll...
import type { AddressInfo } from "net"; import type { Server as SecureServer } from "https"; import os from "os"; import path from "path"; import tls from "tls"; import { Server, createServer } from "http"; import { createServer as createSecureServer } from "https"; import { RuntimeError } from "run-time-error"; import...
<filename>packages/amis/src/Schema.ts import {PageSchema} from './renderers/Page'; import {TplSchema} from './renderers/Tpl'; import {RemarkSchema, SchemaRemark} from './renderers/Remark'; import {ActionSchema} from './renderers/Action'; import {AlertSchema} from './renderers/Alert'; import {AudioSchema} from './render...
<reponame>vmk1vmk/tslint<filename>src/rules/orderedImportsRule.ts /** * @license * Copyright 2018 Palantir Technologies, 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 * * h...
import { ec as EC } from 'elliptic' import { createJWT, verifyJWT, SimpleSigner, Signer, toEthereumAddress } from 'did-jwt' import { createVerifiableCredential, verifyPresentation } from 'did-jwt-vc' import { PresentationPayload } from 'did-jwt-vc/lib/types' import UportDIDResolver from 'uport-did-resolver' import Eth...
import BN from 'bn.js'; import Web3 from 'web3'; import { BlockData, ChainClient, EcSignature, GasParameters, MultiChainConfig, NetworkNativeCurrencies, NetworkStage, SignableTransaction, SimpleTransferTransaction, SimpleTransferTransactionItem, ContractCallRequest } from "./types"; // @ts-ignor...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. import {port} from '_debugger'; import {exec} from 'child_process'; import * as crypto from 'crypto'; import * as fs from 'fs-plus'; import * as getmac from 'getmac'; import * as _ from 'lodash'; import * as opn fr...
<filename>packages/datagrid/src/datagrid/Datagrid.ts import sf, { IOptionToGrab, ISFInstance, ISpiralFramework } from '@spiral-toolkit/core'; import { listRenderers } from '../render/list'; import ActionPanel from '../actionpanel/ActionPanel'; import { DATAGRID_CLASS_NAME, DEFAULT_LIMIT, pageParams, RequestMethod, ...
/** * @license * Copyright Google LLC 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 '../../util/ng_dev_mode'; import '../../util/ng_i18n_closure_mode'; import {getTemplateContent, SRCSET_ATTRS, ...
/// <reference path="../bower_components/DefinitelyTyped/async/async.d.ts" /> import iterator = require('./iterator'); import {Py_List, Py_Tuple, Py_Dict, Py_Set} from './collections'; import {Ellipsis, False, None, NotImplemented, Py_Complex, Py_Float, Py_Int, Py_Long, Py_Object, Py_Slice, Py_Str, True ...
<reponame>launchtray/hatch import path from 'path'; import fs from 'fs-extra'; import ora from 'ora'; import chalk from 'chalk'; import {eraseLine} from 'ansi-escapes'; import commander from 'commander'; import tmp from 'tmp'; import {CompletableFuture} from '@launchtray/hatch-util'; import replace from 'replace-in-fil...
import * as im from 'immutable'; import * as lexical from './lexical'; export type CodePoints = im.List<string>; export const makeCodePoints = (str: string): CodePoints => { // NOTE: Splitting a string by Unicode code points is tricky in // JavaScript. We use the spread operator here, because it does // the s...
<gh_stars>10-100 import { t } from "@lingui/macro"; export const gear = [ { brand: t`amiibo`, clothing: [ t`Enchanted Robe`, t`Fresh Fish Gloves`, t`Marinated Top`, t`Pearlescent Hoodie`, t`Power Armor`, t`Power Armor Mk I`, t`Samurai Jacket`, t`School Cardigan...
import colors from 'ansi-colors' import stripAnsi from 'strip-ansi' import ArrayPrompt from 'enquirer/lib/types/array' import utils from 'enquirer/lib/utils' import fuzzy from 'fuzzy' import { ChoiceInPrompt, ScaleWithIndex, ScaleWithName, KeyPressEvent, ExecutionGroup, IRushSelect } from './interfaces' imp...
<gh_stars>100-1000 // Copyright (c) Open Enclave SDK contributors. // Licensed under the MIT License. "use strict"; import * as fse from "fs-extra"; import * as os from "os"; import * as path from "path"; import * as vscode from "vscode"; import * as zlib from "zlib"; import { AcrManager } from "../common/acrManager"...
<gh_stars>0 /* Copyright 2017 Esri 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 agreed to in writing, ...
<reponame>udevbe/browser-x11 import { Buffer } from 'buffer' import { EventEmitter } from 'events' import * as net from 'net' import * as os from 'os' import { coreRequests, ValueMask } from './corereqs' import type { BigRequest } from './ext/big-requests' import { readServerHello, writeClientHello } from './handshake'...
<gh_stars>0 import { Component, OnInit, Input } from "@angular/core"; import { Router } from "@angular/router"; import { NbDialogRef } from "@nebular/theme"; import { HttpserviceService } from "../../../services/http/httpservice.service"; import { PublicmethodService } from "../../../services/publicmethod/publicmethod....
/* University of Illinois/NCSA Open Source License Copyright (c) 2018 Terrain Data, Inc. and the authors. All rights reserved. Developed by: Terrain Data, Inc. and the individuals who committed the code in this file. https://github.com/terraindata/terrain Permission is ...
<reponame>medegw01/RaccoonChessSigma<gh_stars>0 // ------------------------------------------------------------------------------------------------- // Copyright (c) 2020 <NAME> // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // --------------------------------------------...
import { CodyResponse, CodyResponseType, followPlaylist, getPlaylists, getPlaylistTracks, getRecommendationsForTracks, getSpotifyAlbumTracks, getSpotifyDevices, getSpotifyLikedSongs, getSpotifyPlayerContext, getSpotifyPlaylist, PaginationItem, PlayerContext, PlayerDevice, PlayerName, Pla...
<reponame>alvinhtml/js-mind import Stage from "./stage" import Adder from "./adder" import Undo from "./undo" import Liner, { Position } from "./line" import Toolbar, { ToolEvent } from "./toolbar" import { Text, Rect, Circle, Diamond } from "./node/index" type Node = Rect | Circle | Diamond | Text interface Link { ...
import cv from "opencv-ts"; import { ArtiboardModeHandler } from "./artboardMode"; import { assert_minecraft_xdir, assert_not_null } from "./asserts"; import { blockSelectDialog } from "./blockSelectDialog"; import { blockGroups, IBlockType } from "./blockTypes"; import { CoordinateTransformation } from "./ct"; ...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. /* eslint-disable react/prop-types */ /* eslint-disable @typescript-eslint/no-unused-vars */ /* eslint-disable @typescript-eslint/explicit-function-return-type */ /* eslint-disable @typescript-eslint/explicit-module-boundary-types */ /* eslint-...
import type * as urlModule from "url"; /** * For the purposes of this module, an "email address" refers to the Mailbox * definition in RFS 5321 section 4.1.2, and NOT to the addr-spec definition * found in RFS 5322 section 3.4.1, of which Mailbox appears to be a subset. * * Ignored by this module is the definitio...
<filename>packages/language-service/src/typescript_symbols.ts /** * @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 {CompilePipeSummary, StaticSymbol} from '@angul...
import { Circle, Curve, PathItem, Point, applyTransforms, convertToRelative, js2path, path2js, } from './_path'; import { JsApi } from '../lib/jsapi'; import { Plugin } from './_types'; import { cleanupOutData } from './_tools'; let roundData: (data: number[]) => number[]; let precision: number; let e...
import Change, { getChangeValue, isChange } from './-private/change'; import { getKeyValues, getKeyErrorValues } from './utils/get-key-values'; import lookupValidator from './utils/validator-lookup'; import { notifierForEvent } from './-private/evented'; import Err from './-private/err'; import { hasKey, pathInChanges ...
import { Unsubscribe } from 'redux' import { Action } from 'typescript-fsa/lib' import { assertUnreachable, validateTimestamp } from '../lib' import { actions, ConnextState, ConnextStore, getUpdateRequestTimeout } from '../state' import { ChannelState, convertChannelState, convertExchange, SyncResult, Thread...
<filename>src/deion/common/types.ts import { Face } from "facesjs"; import { MouseEvent } from "react"; import { Context } from "bbgm-router"; import processInputs from "../worker/api/processInputs"; import views from "../worker/views"; import viewsFootball from "../../football/worker/views"; import { Bugsnag } from "@...
<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. /// <reference path="../../Core.d.ts" /> import Animations = require("../../Animations"); import _Base = require("../../Core/_Base"); import _BaseUtils =...
<gh_stars>10-100 /*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *--------------------------------------------------------...