text
stringlengths
9.82k
47.8k
<filename>ts/tersifyAcorn/tersifyAcorn.ts import { parseExpressionAt } from 'acorn' import { trim } from '../trim.js' import { TersifyContext } from '../typesInternal.js' import { AcornNode, ArrayExpression, ArrowFunctionExpressionNode, AssignmentExpressionNode, AssignmentPatternNode, AwaitExpressionNode, BinaryE...
<gh_stars>100-1000 import { IBaseEntityModel } from './base-entity.model'; export interface ICurrency extends IBaseEntityModel { isoCode: string; currency: string; } export const DEFAULT_CURRENCIES = { AFN: 'Afghan Afghani', AFA: 'Afghan Afghani (1927\u20132002)', ALL: 'Albanian Lek', ALK: 'Albanian Lek (1946\u...
<filename>scripts/mainUI.ts import { displayWarning, getElementIdNumber, validateInputFieldData } from './common/uiElements'; import { CURRENT_DATE, CURRENT_MONTH, CURRENT_WEEKDAY, CURRENT_YEAR, DAYS_OF_MONTH, DAYS_OF_WEEK, END_TIME, MONTHS, START_TIME, TIME_PREFIX } from './constants/generalConstants'; import { Reserv...
/* Copyright (c) 2019 AT&T Intellectual Property. # # # # Licensed under the Apache License, Version 2.0 (the "License"); # # you may not use this file except in compliance with the License. ...
<reponame>sumitanand21/Quantum import { Component, OnInit, AfterViewInit, AfterContentInit } from '@angular/core'; import { DataCommunicationService, OpportunitiesService } from '@app/core'; import { MatDialog, MatSnackBar } from '@angular/material'; import { Observable, Subject } from "rxjs"; import { map } from "rxjs...
<filename>src/cambriamerge.ts import { Set } from 'immutable' import { LensGraph, initLensGraph, registerLens, lensGraphSchema, lensFromTo, Patch as CloudinaPatch, LensSource, applyLensToPatch, } from 'cambria' import { v5 } from 'uuid' import { Diff, Backend, Op, Clock, Change, Patch as AutomergePatc...
<gh_stars>0 import { PiClassifier, PiConcept, PiInterface, PiLanguage, PiLimitedConcept, PiPrimitiveProperty, PiPrimitiveType, PiProperty } from "../../languagedef/metalanguage"; import { Checker, CheckRunner, LangUtil, Names, PiDefinitionElement, ParseLocationUtil} from "../../utils"; import { PiEd...
import { hasValue, ensure, autoType, objToYaml, areEqual, xmlToObj, deepMapValues, debug } from '../lib/SysUtils'; const _ : _.LoDashStatic = require('lodash'); const parseCsvSync = require('csv-parse/lib/sync'); import { timeToSQLDateTimeSec } from '../lib/DateTimeUtils'; const format = require('xml-forma...
<filename>autoroll/modules/arb-status-sk/arb-status-sk.ts /** * @module autoroll/modules/arb-status-sk * @description <h2><code>arb-status-sk</code></h2> * * <p> * This element displays the status of a single Autoroller. * </p> */ import { html } from 'lit-html'; import { $$ } from 'common-sk/modules/dom'; imp...
import { CommandToolbarButton, Toolbar, ToolbarButton } from '@jupyterlab/apputils'; import { ActivityMonitor } from '@jupyterlab/coreutils'; import { ABCWidgetFactory, DocumentRegistry, IDocumentWidget, DocumentWidget } from '@jupyterlab/docregistry'; import { PromiseDelegate } from '@lumino/coreutils'; ...
<filename>src/Commands/Micellaneus/lisp.ts import { Command, Arguments, Server, Permission } from "../../definitions"; import { Message } from "discord.js"; enum TokenType { LPAREN, RPAREN, NUMBER, ID, STRING, QUOTE, LBRACK, RBRACK, EOF } class Token { constructor(public kind: TokenType, public num_val: number | nul...
<filename>src/app/_services/assets.service.ts /** * Assets service [DEPRECATED, do not add new functions/properties] * - Search calls should be moved to asset-search.service as we implement Solr */ import { Injectable, OnDestroy, OnInit, EventEmitter } from '@angular/core' import { Router, ActivatedRoute, Params } f...
<gh_stars>0 import _ from "lodash"; import { Chess } from "./chessops/chess"; import { Move } from "./chessops/types"; import { DepthItem } from "./index"; import { Atomic, Antichess, Crazyhouse, Horde, KingOfTheHill, RacingKings, ThreeCheck, } from "./chessops/variant"; import { parseSan, makeSan } fr...
<reponame>PKief/material-design-colors-inkscape export interface Color { category: string; hue?: string; hex: string; } export const materialColors: Color[] = [ { category: 'red', hue: '50', hex: '#FFEBEE' }, { category: 'red', hue: '100', hex: '#FFCDD2' }, { category: 'red', hue: '200', hex: '#EF9A9A' }, ...
<reponame>jmul-dev/ao-core import AORouterInterface, { IAORouterRequest, AORouterSubprocessArgs } from "../../router/AORouterInterface"; import Web3 from "web3"; import SolidityEvent from "web3-legacy/lib/web3/event.js"; import Debug from "debug"; import { IAOStatus } from "../../models/AOStatus"; import queue,...
import { fromU32, toCharCodes } from "../utils/string"; import { copyRange } from "../utils/arrays"; import { $$hex } from "../utils/debug"; import { RGBA5551toRGBA32 } from "../utils/img/RGBA5551"; import { BMPtoRGBA } from "../utils/img/BMP"; type IFormObjType = "FORM" | "HBINMODE" | "OBJ1" | "COL1" | "MAT1" | "ATR1...
import { AfterViewInit, Component, ElementRef, EventEmitter, HostBinding, HostListener, Input, OnDestroy, OnInit, Output, SecurityContext, ViewChild } from '@angular/core'; import 'codemirror/addon/fold/foldgutter'; import 'codemirror/addon/fold/brace-fold'; import 'codemirror/addon/fold/comment...
<reponame>IronPans/freeng<filename>src/app/component/media/media.component.ts import { AfterViewInit, Component, ElementRef, EventEmitter, Input, NgModule, OnDestroy, OnInit, Output, QueryList, Renderer2, ViewChild, ViewChildren } from '@angular/core'; import {CommonModule} from '@angular/common'; import {DomRender...
<reponame>suyashmahar/chocopy-wasm-compiler<gh_stars>0 // -*- mode: typescript; typescript-indent-level: 2; -*- import { internalError, typeError, symLookupError, argError, scopeError, parseError, syntaxError } from './error'; import { GlobalEnv, ClassEnv, FuncEnv } from "./env"; import { Type, Value, Expr, Stmt, Para...
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor * license agreements; and to You under the Apache License, Version 2.0. */ /* * written by Scopevisio AG 2021 */ import express from 'express' import { PoolClient } from "pg"; import { DatabaseUser, CoordinatePair, DatabasePlace, L...
<gh_stars>10-100 import { Cell } from '../../src/cell'; import { Color, fromRgb } from '../../src/color'; import { Colors } from '../../src/colors'; import { Console } from '../../src/console'; import { MessageDialog } from '../../src/gui/messagedialog'; import { SelectDialog } from '../../src/gui/selectdialog'; import...
<reponame>amarun22/juice-shop /* * Copyright (c) 2014-2021 <NAME> & the OWASP Juice Shop contributors. * SPDX-License-Identifier: MIT */ import dataErasure from './routes/dataErasure' import fs = require('fs') const startTime = Date.now() const path = require('path') const morgan = require('morgan') const colors = r...
/** * 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 Software without restriction, including without limitation * th...
<filename>src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.ts<gh_stars>1-10 /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project ...
/// <reference path="enums.d.ts" /> /// <reference path="ped_hashes.d.ts" /> /// <reference path="vehicle_hashes.d.ts" /> /// <reference path="weapon_hashes.d.ts" /> // ------------------------------------------------------------------------- // Custom types // ---------------------------------------------------------...
<reponame>DDDIM/Farmbot-Web-App import { trim } from "./util"; export namespace ToolTips { // Controls export const MOVE = trim(`Use these manual control buttons to move FarmBot in realtime. Press the arrows for relative movements or type in new coordinates and press GO for an absolute movement. Tip: ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
<filename>packages/astro/src/compiler/codegen/index.ts<gh_stars>1-10 import type { Ast, Script, Style, TemplateNode, Expression } from '@astrojs/parser'; import type { CompileOptions } from '../../@types/compiler'; import type { AstroConfig, TransformResult, ComponentInfo, Components, ScriptInfo } from '../../@types/as...
import { _, Autowired, Bean, BeanStub, ChangedPath, ColumnApi, ColumnController, Constants as constants, Constants, Events, ExpandCollapseAllEvent, FilterChangedEvent, FilterManager, GridApi, GridOptionsWrapper, IClientSideRowModel, IRowNodeStage, ...
<gh_stars>0 import { GuildSettings } from '#lib/database/keys'; import { QueryError } from '#lib/errors/QueryError'; import { LanguageKeys } from '#lib/i18n/languageKeys'; import type { GuildMessage } from '#lib/types'; import { TwemojiRegex } from '@sapphire/discord.js-utilities'; import { Store } from '@sapphire/fram...
import {GvasString, GvasText, Vector} from './Gvas'; import {industryName, IndustryType, Railroad} from './Railroad'; import {MapLayers, RailroadMap} from './RailroadMap'; import {simplifySplines} from './splines'; import {gvasToBlob, railroadToGvas} from './exporter'; interface InputTextOptions { max?: string; ...
import os from 'os' import { MediaStreams } from '@xrengine/engine/src/networking/systems/MediaStreamSystem' import { Network } from '@xrengine/engine/src/networking//classes/Network' import { MessageTypes } from '@xrengine/engine/src/networking/enums/MessageTypes' import { getNearbyUsers } from '@xrengine/engine/src/n...
<gh_stars>0 // Objects: https://github.com/mawww/kakoune/blob/master/doc/pages/keys.asciidoc#object-selection import * as vscode from 'vscode' import { registerCommand, Command, CommandFlags, CommandState } from '.' import { Direction, Forward, Backward, SelectionHelper, RemoveSelection, CoordMapper, SelectionMapper, ...
/** * Nice-0.1 */ import type * as Gjs from './Gjs'; import type * as Gio from './Gio-2.0'; import type * as GObject from './GObject-2.0'; import type * as GLib from './GLib-2.0'; export enum CandidateTransport { UDP, TCP_ACTIVE, TCP_PASSIVE, TCP_SO, } export enum CandidateType { HOST, SERVE...
<filename>src/LibraryUtilities.ts /// <reference path="../node_modules/@types/node/index.d.ts" /> import * as React from "react"; type MemberType = "none" | "create" | "action" | "query"; type ElementType = "none" | "section" | "category" | "group" | "coregroup" | "classType"; type ItemType = "none" | "section" | "ca...
const startTime: number = Date.now(); // Native modules import HTTP from "http"; import fs from "fs"; import os from "os"; import path from "path"; // NPM modules import yaml from "yaml"; import express from "express"; import WebSocket from "ws"; import mixin from "mixin-deep"; import * as encoding from "@lavalink/en...
// ------------------------ // // CAPIType and its subtypes // // ------------------------- // // Pillars are used for styling // RealPillars have pillar palette colours // FakePillars allow us to make modifications to style based on rules outside of the pillar of an article // These are partialy kept for Google Anal...
import { Immutable } from '../format/format'; import { decodeBech32, encodeBech32, isBech32CharacterSet, regroupBits, } from './bech32'; export enum CashAddressNetworkPrefix { mainnet = 'bitcoincash', testnet = 'bchtest', regtest = 'bchreg', } export const cashAddressBitToSize = { 0: 160, 1: 192, ...
<reponame>concord-consortium/collaborative-learning<gh_stars>1-10 import firebase from "firebase/app"; import "firebase/auth"; import "firebase/database"; import "firebase/firestore"; import "firebase/functions"; import "firebase/storage"; import { observable, makeObservable } from "mobx"; import { DBOfferingGroup, D...
import React, { useEffect, useState } from "react"; import { Button, Form, Col, Row, Badge, Dropdown } from "react-bootstrap"; import { FormattedMessage, useIntl } from "react-intl"; import Mousetrap from "mousetrap"; import * as GQL from "src/core/generated-graphql"; import * as yup from "yup"; import { useListPerfo...
import * as THREE from 'three'; // @ts-ignore import julian from 'julian'; import Stats from 'three/examples/jsm/libs/stats.module'; import { BloomEffect, EffectComposer, EffectPass, RenderPass, // @ts-ignore } from 'postprocessing'; import type { Scene, Object3D, Vector3, WebGL1Renderer } from 'three'; imp...
import {assert} from "./Utils"; import * as Fs from "fs"; const maxNestingLevel = 30; // maximum number of block nestings const maxCondLevels = 30; // maximum number of nested conditional commands ($if) const maxInclTemplateSize ...
import {Log, LogTransport} from '../../log'; import {AlternateCommand, DzrpMachineType, DZRP, DZRP_VERSION, DZRP_PROGRAM_NAME} from '../dzrp/dzrpremote'; import {Z80Registers, Z80RegistersClass, Z80_REG} from '../z80registers'; import {Utility} from '../../misc/utility'; import {GenericBreakpoint} from '../../genericwa...
export interface CountryZones { name: string; zones: string[]; } export const countryZones: { [iso: string]: CountryZones; } = { AD: { name: 'Andorra', zones: ['Europe/Andorra'] }, AE: { name: 'United Arab Emirates', zones: ['Asia/Dubai'] }, AF: { name: 'Afghanistan', zones: ['Asia/Kabul'] }, AG: { n...
<filename>UIInferno/UICore/_executor/_Markup/Generator.ts /// <amd-module name="UICore/_executor/_Markup/Generator" /> /* tslint:disable */ import { coreDebug as timing } from 'Env/Env'; import { Logger } from 'UICommon/Utils'; import { EventUtils } from 'UICommon/Events'; import { CommonUtils as Common, Require...
import React from 'react' import { message } from '@/_helpers/browser-api' import { TranslationFunction } from 'i18next' import { MsgType, MsgOpenUrl, MsgGetSuggests } from '@/typings/message' import { SelectionInfo, getDefaultSelectionInfo } from '@/_helpers/selection' import { updateActiveProfileID } from '@/_helpers...
<reponame>steveknipmeyer/ModelRelief // ------------------------------------------------------------------------// // ModelRelief // // ------------------------------------------------------------------------// "use strict"; import * as THREE from "three"; ...
import WebSocket, { OPEN } from 'ws' import * as enums from './enums' import { safeParse, makeId, filterInt, toString, arrayMapper, numberArrayMapper } from './utils' import { PORT, HEARTBEAT, TIMEOUT, REFRESH_TIMEOUT, NOTIFICATION_TIMEOUT, EVENT_TIMEOUT } from './constants' import { BaseCall, ButtonEvent, Connect...
import { useNavigation } from '@react-navigation/native'; import currenciesJSON from 'assets/currencies.json'; import i18n from 'assets/i18n'; import Divider from 'components/Divider'; import Modal from 'components/Modal'; import Button from 'components/core/Button'; import renderHeader from 'components/core/HeaderBott...
<filename>packages/utilities/src/utilities.ts /*! * This module contains various server utility and helper functions. * Note that it automatically exports functions from utilities.client.js * * Author: <NAME> (<EMAIL>) * Copyright(c) 2015 Apify. All rights reserved. * */ import crypto from 'crypto'; import log,...
<gh_stars>1-10 import { Router, RouterOptions } from 'itty-router'; import { json } from 'itty-router-extras' export interface IWaitableObject { waitUntil: (promise: Promise<any>) => void; } export type TImageParameters = { transforms: Record<string & keyof IdefaultSearchParams, string>; defaults: { fit: s...
<reponame>gkctou/js-synthesizer import * as tsMidi from "midifile-ts"; import { Buffer as midiBuffer } from "./buffer"; import { MIDIControlEvents } from './MIDIControlEvents'; // check gm gs xg midi file // https://fluid-dev.nongnu.narkive.com/LEJihMnU/code-patch-for-gm-gs-xg-system-reset-sysex-s-and-mastervolume-sys...
import { FoxxieCommand } from '#lib/structures'; import { ChatInputSubcommandArgs, CommandName, EmojiObject, GuildInteraction } from '#lib/types'; import { PermissionFlagsBits } from 'discord-api-types/v9'; import { RegisterChatInputCommand, toLocalizationMap } from '@foxxie/commands'; import { CommandOptionsRunTypeEnu...
import * as grok from 'datagrok-api/grok'; import * as ui from 'datagrok-api/ui'; import * as DG from "datagrok-api/dg"; import { CLIN_TRIAL_GOV_SEARCH, HttpService } from '../services/http.service'; import { addDataFromDmDomain, dictToString, getNullOrValue } from '../data-preparation/utils'; import { study } from '.....
// Inspired by // https://github.com/webrtc/samples/blob/gh-pages/src/content/insertable-streams/endtoend-encryption interface WVApiMessage { corrId?: number resp: WCallResponse command?: WCallCommand } type WCallCommand = | WCCapabilities | WCStartCall | WCAcceptOffer | WCallAnswer | WCallIceCandidat...
<filename>processor/src/Evaluate.ts import escape from 'escape-string-regexp'; import { uniqBy } from 'lodash'; import * as Ast from './Ast'; import EvaluateExpression from './Expression'; import ModuleMembers from './ModuleMembers'; import Scope from './Scope'; import * as UserDefinedCallable from './UserDefinedCalla...
/** @jsx h */ /** * @internal * @packageDocumentation */ import { select as d3Select, Selection } from "d3-selection"; import "d3-transition"; import { zoom as d3Zoom, ZoomBehavior, zoomIdentity as d3ZoomIdentity, zoomTransform as d3ZoomTransform, } from "d3-zoom"; import { Component, createRef, Fragment, ...
<filename>src/games/blam.ts /* eslint-disable @typescript-eslint/no-var-requires */ /* eslint-disable @typescript-eslint/no-unsafe-call */ import { GameBase, IAPGameState, IClickResult, IIndividualState, IValidationResult } from "./_base"; import { APGamesInformation } from "../schemas/gameinfo"; import { RectGrid } fr...
import { $Shape } from "utility-types"; import memoizeOne from "memoize-one"; import { createElement, PureComponent } from "react"; import { cancelTimeout, requestTimeout } from "./timer"; import { getScrollbarSize, getRTLOffsetType } from "./domHelpers"; import { TimeoutID } from "./timer"; type Direction = "ltr" ...
<filename>src/lib/services/build.service.ts import {resolve} from 'path'; import {execSync} from 'child_process'; import {promisify} from 'util'; import {render} from 'sass'; const sassRender = promisify(render); import * as ts from 'typescript'; import {HelperService} from './helper.service'; import {FileService} fro...
import * as GTS from "./gts"; import * as DBCore from "./gts.db"; import * as WS from "./gts.webserver"; import * as Express from 'express'; const doLogging:boolean = false; // if thread debug logging is being recorded let threadingLogId:number = 0; // incrementing ids for sequencing of log entr...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import { FileHandle, open as openAsync, writeFile as writeFileAsync, watch as watchAsync } from 'fs/promises'; import * as fs from 'fs'; import * as util from 'util'; import assert = require('assert'); { fs.writeFile("thebible.txt", "Do unto others as you would have them do unto you.", assert.ifErr...
<gh_stars>0 import { gitCli, log, PackagePath, shell, yarn, readPackageJson, writePackageJson, kax, YarnLockParser, } from 'ern-core' import { cleanupCompositeDir } from './cleanupCompositeDir' import { MiniAppsDeltas, getMiniAppsDeltas, getPackageJsonDependenciesUsingMiniAppDeltas, runYarnUsi...
declare module gameanalytics { enum EGAErrorSeverity { Undefined = 0, Debug = 1, Info = 2, Warning = 3, Error = 4, Critical = 5 } enum EGAProgressionStatus { Undefined = 0, Start = 1, Complete = 2, Fail = 3 } enum EGARes...
/* * semanticAnalyzer.ts * Copyright (c) Microsoft Corporation. * Licensed under the MIT license. * Author: <NAME> * * A parse tree walker that performs general semantic analysis. It does * this at the scope level. A scope in Python is defined by a module, * class, function or lambda. * The analyzer walks the parse tre...
/** * @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 applicable law or...
<gh_stars>10-100 export interface Parser { parse(input: string | Input, previousTree?: Tree): Tree; getLanguage(): any; setLanguage(language: any): void; getLogger(): Logger; setLogger(logFunc: Logger): void; } export type Point = { row: number; column: number; }; export type Range = { start: Point; ...
<reponame>imbateam-gg/ShieldBattery import { RouterContext } from '@koa/router' import bcrypt from 'bcrypt' import cuid from 'cuid' import httpErrors from 'http-errors' import Joi from 'joi' import { assertUnreachable } from '../../../common/assert-unreachable' import { EMAIL_MAXLENGTH, EMAIL_MINLENGTH, EMAIL_PAT...
//////////////////////////////////////////////////////////////////////////// // // Copyright 2018 Realm 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/li...
<reponame>almiliMSFT/onnxruntime // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. /* eslint-disable guard-for-in */ /* eslint-disable @typescript-eslint/no-use-before-define */ import {execSync, spawnSync} from 'child_process'; import * as fs from 'fs-extra'; import * as...
/* Copyright 2016 Google Inc. All Rights Reserved. Copyright 2021 <NAME> 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 applicabl...
<reponame>YFROBOTZL/pxt-yfrobot-cm001 /** * @file motorbitCust.ts * @brief Customize YFROBOT's motorbitCust makecode library. * @n This is a MakeCode graphics programming extension * for MicroBit motor drive expansion board. * * @copyright YFROBOT,2021 * @copyright MIT Lesser General Public License ...
<reponame>gzhebrunov/Recognizers-Text import { IExtractor, IParser, ExtractResult, RegExpUtility, StringUtility } from "@microsoft/recognizers-text"; import { ChineseNumberParserConfiguration, AgnosticNumberParserFactory, AgnosticNumberParserType, BaseNumberParser, BaseNumberExtractor, ChineseCardinalExtractor } from "...
<gh_stars>0 import TransportNodeHid from '@ledgerhq/hw-transport-node-hid'; import { getDevices } from '@ledgerhq/hw-transport-node-hid-noevents'; import AppAda, { utils } from '@cardano-foundation/ledgerjs-hw-app-cardano'; import { BrowserWindow } from 'electron'; import TrezorConnect, { DEVICE, DEVICE_EVENT, TR...
<reponame>Gxuebin/miitvip-vue-admin-manager import { App, Fragment, cloneVNode } from 'vue' import { $g } from './config' import { $cookie } from './cookie' const availablePrefixs = ['moz', 'ms', 'webkit'] class MiTools { /** * Set title. * @param title */ setTitle(title?: string): void { ...
/* eslint-disable no-restricted-globals */ import { BottomSheet } from 'react-spring-bottom-sheet' import useInterval from '@use-it/interval' import scrollIntoViewIfNeeded from 'scroll-into-view-if-needed' import cx from 'classnames' import AnimatedDialog from 'components/AnimatedDialog' import Button from 'components/...
/*--------------------------------------------------------------------------------------------- * Copyright (c) <NAME>. All rights reserved. * Original Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *-------...
<filename>types/index.d.ts<gh_stars>0 // Type definitions for pptxgenjs 3.1.0 // Project: https://gitbrent.github.io/PptxGenJS/ // Definitions by: <NAME> <https://github.com/gitbrent/> // <NAME> <https://github.com/michaelbeaumont> // <NAME> <https://github.com/ntietz> // ...
<reponame>depp/shifter-children /* Copyright 2015-2016 <NAME>. This file is part of Kitten Teleporter. The Kitten Teleporter source code is distributed under the terms of the MIT license. See LICENSE.txt for details. */ /* * Quick and dirty OpenGL text layout * * Font is Upheaval by AEnigma, 100% free ac...
<gh_stars>1-10 import { Emoji } from "./Emoji"; import { EmojiGroup } from "./EmojiGroup"; export declare function isSurfer(e: Emoji | string): boolean; export declare const textStyle: Emoji; export declare const emojiStyle: Emoji; export declare const zeroWidthJoiner: Emoji; export declare const combiningEnclosingKeyc...
/* eslint-disable @typescript-eslint/no-namespace */ import Utils from "./utils"; export enum TokenType { Literal = "Literal", ArrayOrObject = "ArrayOrObject", Array = "Array", Object = "Object", Property = "Property", Annotation = "Annotation", Enum = "Enum", EnumValue = "EnumValue", ...
<gh_stars>0 import { Component, OnInit, Inject, ViewChild, ChangeDetectionStrategy, TemplateRef, QueryList, ViewChildren, ChangeDetectorRef } from '@angular/core'; import { Patient } from '../patients-service/profile-classes'; import { PatientsService } from '../patients-service/patients.service'; import { MatDialog, ...
import opacity from './opacity'; type ColorChromaticScale = Readonly<{ 50: string; 100: string; 200: string; 300: string; 400: string; 500: string; 600: string; 700: string; 800: string; 900: string; 950: string; a00: string; a50: string; a100: string; a200: string; }>; type ColorNeutral...
/* tslint:disable:no-string-literal */ import {chain, debounce, each, every, extend, filter, find, findIndex, has, isEqual, min, pull, range, remove, some, sortBy, uniq, uniqueId} from 'lodash'; import {Models} from 'omnisharp-client'; import {BehaviorSubject, Observable, ReplaySubject, Subject, Subscriber} from 'rxjs'...
<gh_stars>1-10 import { Model, pca_20_svm } from "./models" import numeric from "./utils/numeric" import { webglFilter } from "./svmfilter/webglfilter" import { FaceDetector, faceDetector } from "./facedetector/faceDetection" import { createJacobian, gpopt, gpopt2 } from "./util" const WIDTH = 0 const HEIGHT = 1 cons...
<reponame>theunisj/salesforce-alm /* * Copyright (c) 2018, salesforce.com, inc. * All rights reserved. * SPDX-License-Identifier: BSD-3-Clause * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ import * as Error from './force-cli-error'; import util =...
<gh_stars>0 import CSSNano from "cssnano"; import debug_base from "debug"; // import resolverFactory from 'enhanced-resolve/lib/ResolverFactory'; import SymlinkPlugin from "enhanced-resolve/lib/SymlinkPlugin.js"; import fs from "fs"; import HtmlWebpackPlugin from "html-webpack-plugin"; //import {CE} from "js-vextension...
<gh_stars>0 /*! * This module contains various client-side utility and helper functions. * * Author: <NAME> (<EMAIL>) * Copyright(c) 2016 Apify. All rights reserved. * */ import isBuffer from 'is-buffer'; import { countries } from 'countries-list'; import { VERSION_INT_MAJOR_BASE, VERSION_INT_MINOR_BASE, PROXY_U...
// Copyright 2015-2021 Nkisi 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 agreed to...
<filename>client/shared/src/testing/driver.ts import * as os from 'os' import * as path from 'path' import realPercySnapshot from '@percy/puppeteer' import * as jsonc from '@sqs/jsonc-parser' import * as jsoncEdit from '@sqs/jsonc-parser/lib/edit' import delay from 'delay' import expect from 'expect' import getFreePor...
/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { strict } from "assert"; import child_process from "child_process"; import fs from "fs"; import { assert } from "@fluidframework/common-utils"; import * as API from "@fluid-internal/client-api"; import { ITe...
/** * @jest-environment node */ // tslint:disable import * as IDL from './idl'; import { Principal } from '@astrox/principal'; import { fromHexString, toHexString } from './utils/buffer'; function testEncode(typ: IDL.Type, val: any, hex: string, _str: string) { expect(toHexString(IDL.encode([typ], [val]))).toEqual...
<filename>tests/services/Service.spec.ts /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ /* tslint:disable:no-empty */ declare var monaco: { MarkerSeverity }; enum Language { C = "c", Cpp = "cpp", Wat = "wat", Wasm = "wasm", Rust = "rust", Creto...
/* * typedDicts.ts * Copyright (c) Microsoft Corporation. * Licensed under the MIT license. * Author: <NAME> * * Provides special-case logic for the construction of TypedDict * classes. */ import { appendArray } from '../common/collectionUtils'; import { assert } from '../common/debug'; import { DiagnosticAdde...
/* This module is used to communicate with Git through Cli Output string from Git should always be parsed here to provide more sensible outputs than just plain strings. Format of the output should be specified in Git.js */ import * as Promise from "bluebird"; import * as Cli from "../Cli"; import * as ...
<reponame>jssee/s<gh_stars>0 import fs from 'fs'; import path from 'path'; import mime from 'mime-types'; import glob from 'glob'; import { mkdir, rm } from 'shelljs'; import findUp from 'find-up'; import stripComments from 'strip-comments'; import { init as initESModuleLexer, ImportSpecifier, parse, } from 'es-m...
import { System } from '../../../system' import isEqual from '../../../system/f/comparisson/Equals/f' import { Dict } from '../../../types/Dict' import { randomIdNotIn } from '../../../util/id' import { addGlobalBlurListener } from '../../addGlobalBlurListener' import Listenable from '../../Listenable' import { Listene...
<reponame>LogosNetwork/logos-webwallet-sdk import Blake2b from '../Utils/blake2b' import { randomBytes, createCipheriv, createDecipheriv } from 'crypto' import { Controller as RpcController, Settings as RpcSettings, Privileges as RpcPrivileges } from '@logosnetwork/logos-rpc-client/api' import { Controller, Settings, P...
<gh_stars>0 import { ArrayDatatype, Ast, DataType, Expression, FunctionDatatype, LiteralDataType, MinusBinaryExp, MinusUninaryExp, ObjectDatatype, PlusUninaryExp, ReAssignmentPath, } from "../parser/ast"; import llvm, { AddrSpaceCastInst, ArrayType, BasicBlock, Constant, ConstantFP, Co...