text
stringlengths
10
953k
/* GENERATED FILE */ import * as React from "react"; import Svg, { Rect, Path, Line, Circle } from "react-native-svg"; import { IconProps } from '../lib' function GitBranch(props: IconProps) { return <Svg viewBox="0 0 256 256" width={props.size} height={props.size} {...props}><Rect width={256} height={256} fill="no...
export * from './organization-section.module';
interface Window { ethereum: any; web3: any; __REDUX_DEVTOOLS_EXTENSION_COMPOSE__: any; } declare module 'react-lines-ellipsis'; declare module 'react-lines-ellipsis/lib/responsiveHOC';
import React, { Component, MouseEvent, ChangeEvent, FormEvent, ReactNode, } from "react"; import { clone } from "@xgovformbuilder/model"; import NotifyEdit from "./notify-edit"; import EmailEdit from "./email-edit"; import { Input } from "@govuk-jsx/input"; import WebhookEdit from "./webhook-edit"; import { ...
export { default as LandingImg } from './landing.png'; export { default as giveClassesBgImage } from './give-classes-background.png'; export { default as Logo } from './logo.png';
import { Stats, stat } from 'fs-extra'; /* * Utility methods for files. */ /** * Obtains the stats for a given file but does not throw if the file is present or not accessible. * * @param path the path to get stats for * @returns the stats of the file if available, `null` otherwise */ export async function sta...
import { autoBindMethodsForReact } from 'class-autobind-decorator'; import React, { PureComponent } from 'react'; import { AUTOBIND_CFG } from '../../../common/constants'; import type { Request, RequestParameter } from '../../../models/request'; import { CodeEditor } from '../codemirror/code-editor'; import { KeyValue...
/* eslint-disable react/jsx-props-no-spreading */ import { ThemeContext } from '@emotion/core' import { Theme as DefaultTheme } from 'milligram-js' import React, { useContext } from 'react' export type Theme = DefaultTheme export const useTheme = () => useContext<Theme>(ThemeContext as any)
import { ethers } from "ethers"; import { MissingSignerConfigError, MissingProviderConfigError, MissingStoreConfigError, MissingFromIdConfigError, } from "./errors"; import { StoreInterface } from "../store"; import { HexString } from "../../types/Strings"; /* The name of the Batch Publisher contract */ type ...
import {Component, Input, OnChanges, SimpleChanges, ViewChild, ChangeDetectorRef, Output, EventEmitter} from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { MatTable } from '@angular/material/table'; import {CdkDragDrop, moveItemInArray} from '@angular/cdk/drag-drop'; import { DeleteAp...
// Copyright 2018 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
import axios from 'axios' import chalk from 'chalk' import moment from 'moment' import {flags} from '@oclif/command' // tslint:disable-next-line: no-implicit-dependencies import {CLIError} from '@oclif/errors' import Command from '../base' import {createDebugLogger} from '../utils/output' interface ILog { type: str...
import { Context } from 'koa' import jwt from 'jsonwebtoken' import { secretKey } from '../config/env' export default (ctx: Context) => { const { authorization } = ctx.request.header const decoded: any = jwt.verify(authorization, secretKey) return decoded }
import { ConnectionClient } from '../ssh/ConnectionClient' import { InputAttributes, SFTPStream } from 'ssh2-streams' import { createLogger } from '../utils/Logger' import { Logger } from 'winston' import { normalize } from 'path' import { Storage, Bucket } from '@google-cloud/storage' import { FileRecord } from '@/typ...
/** * @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 { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { Comp168Component } from './comp-...
import React from "react"; import * as P from './parts'; import Tile from "./Tile"; import pomoc from 'images/pomoc_w_uzupelnianiu_brakow.jpeg' const Lessons: React.FC = () =>( <P.StyledWrapper> <P.Description> <P.Heading>Zajęcia</P.Heading> <P.Section> Zajęcia indywi...
export class Classifier{ uid: number; name: string; clfType: string; params: {} = {}; metrics: {} = {}; tags: string[] = []; }
import React, { useState, useEffect, createContext } from "react"; import { Typography } from "@webiny/ui/Typography"; import { Tooltip } from "@webiny/ui/Tooltip"; import { i18n } from "@webiny/app/i18n"; import { useEventActionHandler } from "~/editor/hooks/useEventActionHandler"; import { NavigatorTitle } from "./St...
function contains(a, b) { var adown = a.nodeType === 9 ? a.documentElement : a, bup = b && b.parentNode; return a === bup || !!( bup && bup.nodeType === 1 && ( // Support: IE 9 - 11+ // IE doesn't have `contains` on SVG. adown.contains ? adown.contains( bup ) : a.compareDocumentPosition && a.compa...
import React, { FC } from 'react'; import { Alert } from '@grafana/ui'; import { AppNotificationSeverity, LdapConnectionInfo, LdapServerInfo } from 'app/types'; interface Props { ldapConnectionInfo: LdapConnectionInfo; } export const LdapConnectionStatus: FC<Props> = ({ ldapConnectionInfo }) => { return ( <> ...
import {expect} from 'chai' import path from 'path' import fs from 'fs-extra' import {e2eHelper} from '../e2e-helper' import { setup, generatePackageJson } from '../envs-test-utils'; import packageJSON from './private-package-json-e2e' describe('webpack', function() { const baseFixturePath = path.resolve(__dirname...
import { encodeUtf8 } from './utf8'; /** * Return the given buffer as a Uint8Array. * * Strings are encoded as UTF8. */ export function bytesOf(buffer: ArrayBuffer | Uint8Array | string | number[]) { if (buffer instanceof Uint8Array) { return buffer; } else if (typeof buffer === 'string') { return enc...
import { Request } from 'express'; import { User } from '../../users'; export interface AppRequest extends Request { user?: User }
import { AssocEdge } from "@snowtop/ent"; import { UserToDeclinedEventsQueryBase } from "../../internal"; export class UserToDeclinedEventsEdge extends AssocEdge {} export class UserToDeclinedEventsQuery extends UserToDeclinedEventsQueryBase {}
import { MarsIcon } from './src/MarsIcon.js'; window.customElements.define('mars-icon', MarsIcon);
import { execCmd } from '@celo/celotool/src/lib/utils' import path from 'path' const yaml = require('js-yaml') const fs = require('fs') const { promisify } = require('util') const writeFile = promisify(fs.writeFile) export function getPoliciesDir(celoEnv: string) { return path.resolve(process.cwd(), `.tmp/policies/$...
import './CodeCell.css'; import React, { useEffect } from 'react'; import { Cell } from '../../state'; import { CodeEditor } from '../CodeEditor'; import { Preview } from '../Preview'; import { Resizable } from '../Resizable'; import { useActions, useCumulativeCode, useTypedSelector } from '../../hooks'; interface Cod...
import { Collection, GuildMember, Message, MessageReaction, RichEmbed, User } from 'discord.js'; import { ICommand } from '../../classes/Command'; import { QuickEmbed } from '../../util/style'; export const command: ICommand = { name: 'HasRole', description: 'Lists user with a specific role', args: true, usage: '[...
/* eslint-disable */ import { ObjectIdentifier as _OID, OBJECT_IDENTIFIER } from "asn1-ts"; import { id_not } from "../UsefulDefinitions/id-not.va"; export { id_not } from "../UsefulDefinitions/id-not.va"; /* START_OF_SYMBOL_DEFINITION id_not_dSAProblem */ /** * @summary id_not_dSAProblem * @description * * ### AS...
import { Component, OnInit } from '@angular/core'; import { BaseComponent } from '@renderer/app/base.component'; import { OperationEnum } from '@renderer/enum/operation.enum'; import { TypeEnum } from '@renderer/enum/type.enum'; import { ConfigModel } from '@renderer/model/config.model'; import { MenuModel } from '@ren...
// uses code from // https://betterprogramming.pub/upload-files-to-next-js-with-api-routes-839ce9f28430 // https://stackoverflow.com/a/62547135 import multer from "multer"; import type { NextApiRequest, NextApiResponse } from "next"; import type { Query } from "../Types"; import nextConnect from "next-connect"; import ...
import { Component, OnInit, ViewChild } from '@angular/core'; import { Registration } from '../Classes'; declare const $: any; import { Router, ActivatedRoute } from '@angular/router'; import { HttpHeaders, HttpClient } from '@angular/common/http'; import { NgForm } from '@angular/forms'; import { WebServiceService } f...
import { ReactMidwayKoaFetch } from 'ssr-types-react' const fetch: ReactMidwayKoaFetch = async ({ ctx, routerProps }) => { } export default fetch
/** * A position in 2D space */ export type Point = { x: number; y: number }; /** * A node laid out on the canvas */ export type CanvasNode = { id: number; location: Point; stackHeight: number; };
import * as React from 'react'; import { Media } from '../Definitions'; /** * @param media object wrapper, see `Media` interface below. * @param render Properties provided for use with a custom render function. These include the output volume and whether speech has been detected. */ export interface VolumeMeterProps...
import Vue from 'vue' import MyDiv from '../components/MyDiv.vue' import TableAPILink from '../components/TableAPILink.vue' import TableColumnAPILink from '../components/TableColumnAPILink.vue' import PagerAPILink from '../components/PagerAPILink.vue' import ToolbarAPILink from '../components/ToolbarAPILink.vue' import...
import { TemplateKind } from '@console/internal/module/k8s'; import { getName, getNamespace, getAnnotations } from '@console/shared/src'; import { VMSettingsField } from '../../../../components/create-vm-wizard/types'; import { ANNOTATION_DESCRIPTION, APP, ANNOTATION_VALIDATIONS, LABEL_USED_TEMPLATE_NAME, LAB...
import {expect} from "assertions" import {create_glyph_view} from "./glyph_utils" import {ImageURL} from "@bokehjs/models/glyphs/image_url" describe("ImageURL module", () => { describe("ImageURL Model", () => { describe("Default creation", () => { const image_url = new ImageURL() it("should have ...
import { DescribeGroupCommandInput, DescribeGroupCommandOutput } from "./commands/DescribeGroupCommand.ts"; import { DescribeUserCommandInput, DescribeUserCommandOutput } from "./commands/DescribeUserCommand.ts"; import { ListGroupsCommandInput, ListGroupsCommandOutput } from "./commands/ListGroupsCommand.ts"; import {...
import * as fs from "fs-extra" import { csvParse } from "d3-dsv" import md5 from "md5" import { BAKED_GRAPHER_URL } from "../../settings/clientSettings" import React from "react" import { bakeGrapherToSvg, getPublishedGraphersBySlug, } from "../../baker/GrapherImageBaker" const header = `bakeOrder,timeToBake,s...
import * as WebSocket from "ws"; import log from "../../services/logger"; import { Descriptor, SensorLog } from "./../sensor/sensor-model"; /* eslint-disable @typescript-eslint/no-explicit-any */ export interface InboundMessage { command: "startMonitor" | "stopMonitor"; data: any; } /* eslint-disable @types...
'use strict'; import { AddressCreate } from "./AddressCreate"; import { LineItemCreate } from "./LineItemCreate"; import { PaymentMethodBrand } from "./PaymentMethodBrand"; import { TokenizationMode } from "./TokenizationMode"; import { TransactionCompletionBehavior } from "./TransactionCompletionBehavior"; class Abs...
import { TestBed } from '@angular/core/testing'; import { LoaidonService } from './loaidon.service'; describe('LoaidonService', () => { let service: LoaidonService; beforeEach(() => { TestBed.configureTestingModule({}); service = TestBed.inject(LoaidonService); }); it('should be created', () => { ...
import { FraudDetectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FraudDetectorClient"; import { DeleteDetectorVersionRequest, DeleteDetectorVersionResult } from "../models/models_0"; import { deserializeAws_json1_1DeleteDetectorVersionCommand, serializeAws_json1_1DeleteDetectorVersionCom...
import { Component } from '@angular/core'; import { IonicPage, NavController, NavParams} from 'ionic-angular'; import { ForgotenPage } from '../forgoten/forgoten'; import { SignupPage } from '../signup/signup'; // import { TabsPage } from "../tabs/tabs"; import { Storage } from '@ionic/storage'; import { ApiProvider } ...
import { notifyRespondent } from "../slack/notifyRespondent"; import { getRespondentsToQuestionsThatNeedNotifying } from "../quiz/getRespondentsThatNeedNotifying"; export const notifyQuestionRespondentsJob = async (): Promise<void> => { try { const respondentsToNotify = await getRespondentsToQuestionsThatNeedNot...
import * as React from "react"; import { LoadingOutlined } from "@ant-design/icons"; import clsx from "clsx"; import Tooltip from "../Tooltip"; import Icon from "../Icon"; import * as AC from "./Button.styles"; import { CustomButtonProps } from "./Button.types"; const defaultIconSize = 24; const Button = ({ type =...
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import React from 'react'; import {Modal} from 'react-bootstrap'; import {FormattedMessage, WrappedComponentProps, injectIntl} from 'react-intl'; import {Theme} from 'mattermost-redux/types/themes'; import ...
/* * CloudBeaver - Cloud Database Manager * Copyright (C) 2020-2021 DBeaver Corp and others * * Licensed under the Apache License, Version 2.0. * you may not use this file except in compliance with the License. */ import { Subject } from 'rxjs'; import { Bootstrap, injectable } from '@cloudbeaver/core-di'; impo...
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; import { CreateCrawlerRequest, CreateCrawlerResponse } from "../models/models_0"; import { deserializeAws_json1_1CreateCrawlerCommand, serializeAws_json1_1CreateCrawlerCommand, } from "../protocols/Aws_json1_1"; import ...
import { BaseListener } from "../structures/BaseListener"; import { DefineListener } from "../utils/decorators/DefineListener"; @DefineListener("error") export class ErrorEvent extends BaseListener { public execute(error: string): void { this.client.logger.error("CLIENT_ERROR:", error); } }
import React, { useEffect, useState } from 'react'; import TweenOne from 'rc-tween-one'; const animate: any = { circle1: { type: 'from', ease: 'easeOutQuad', }, circle2: { scale:'1.2', type: 'from', ease: 'easeOutQuad', }, rect1:{ type: 'from', ease: 'easeOutQuad', }, diamond1:{...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="kk_KZ" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About WorkerCoin</source> <translation type="unfinished"/> </message> <message> <location ...
import * as path from "path"; import * as fs from "fs-extra"; import { Hasher, createHash } from "../hasher"; import { getAllDependencies } from "../dependencyResolver"; import { createDefaultConfig } from "backfill-config"; import { setupFixture } from "backfill-utils-test"; const config = createDefaultConfig(); co...
import { describe, expect, it } from "vitest"; import { isUrlOnline } from "../dist"; describe("Correct URLs", () => { it(`1. google`, async () => { expect(await isUrlOnline("https://google.com")).toBe(true); }); it(`2. bing`, async () => { expect(await isUrlOnline("https://bing.com")).toBe(true); }); ...
// src/utils.ts import { App, Notice, TFile, request, // MetadataCache, normalizePath, // TFile, // Vault, // Workspace, } from "obsidian"; // import { App, Notice, TFile, normalizePath } from "obsidian"; // Spotify API Resource Functions /** * Fetches a track object from the Spotify API * @para...
export { StepContent } from './StepContent'; export { StepByStep } from './StepByStep'; export { StepDescription } from './StepDescription'; export { StepIcon } from './StepIcon'; export { Step } from './Step';
import {Table, Column, Model, PrimaryKey, AutoIncrement, NotNull, HasMany, ForeignKey, HasOne} from 'sequelize-typescript'; import { Paths} from './paths'; import { UserInfo } from './UserInfo'; @Table export class Member extends Model<Member>{ @PrimaryKey @AutoIncrement @Column userSeq !: number;...
import {Request} from '../lib/request'; import {Response} from '../lib/response'; import {AWSError} from '../lib/error'; import {Service} from '../lib/service'; import {ServiceConfigurationOptions} from '../lib/service'; import {ConfigBase as Config} from '../lib/config-base'; interface Blob {} declare class Greengrass...
import * as path from "path"; import * as assert from "assert"; import * as ttm from "azure-pipelines-task-lib/mock-test"; import * as tl from "azure-pipelines-task-lib/task"; import * as dockerCommandUtils from "azure-pipelines-tasks-docker-common-v2/dockercommandutils"; import * as pipelineutils from "azure-pipelines...
import { declare } from 'jgb-shared/lib'; // @ts-ignore import * as pkg from '../package.json'; import JsonAsset from './JsonAsset'; const defaultExts = ['.json']; export default declare((compiler, pluginConfig = {}) => { const exts = defaultExts.concat(pluginConfig.extensions || []); if (pluginConfig.outExt) { ...
import { promises as fs } from "fs"; import { providers, BigNumber } from "ethers"; const { readFile, writeFile } = fs; interface TXReceipts { [key: string]: providers.TransactionReceipt; } function jsonRevive(_key: string, val: { type: string; hex: string }): any { if (val && typeof val == "object") { if (v...
import * as path from "path"; import * as shell from "shelljs"; import * as constants from "../constants"; import { Configurations } from "../common/constants"; import * as helpers from "../common/helpers"; import * as semver from "semver"; import { EventEmitter } from "events"; import { AppFilesUpdater } from "./app-f...
import React from "react"; import App, { Container } from "next/app"; import Head from "next/head"; import { CssBaseline } from "@material-ui/core"; import { ThemeProvider } from "@material-ui/styles"; import theme from "../src/utils/theme"; import { Layout } from "../src/components/Layout"; class MyApp extends App {...
import chalk from "chalk" import Enzyme from "enzyme" import Adapter from "@wojtekmaj/enzyme-adapter-react-17" import "regenerator-runtime/runtime" import { format } from "util" jest.mock("react-tracking") import _track from "react-tracking" const track = _track as jest.Mock<typeof _track> track.mockImplementation(y =...
// This file can be replaced during build by using the `fileReplacements` array. // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`. // The list of file replacements can be found in `angular.json`. export const environment = { production: false, apiUrl:"https://api.github.com" }; /* * For ...
import React, { useRef } from "react"; import { AppProps } from "next/app"; import Router from "next/router"; import { QueryClient, QueryClientProvider } from "react-query"; import { Hydrate } from "react-query/hydration"; import { ReactQueryDevtools } from "react-query/devtools"; import { Toaster } from "react-hot-toa...
import _TreemapUtil = require('../app/src/util.js'); export type Strings = Record<LH.Locale, import('../../lighthouse-core/lib/i18n/locales').LhlMessages>; declare global { class WebTreeMap { constructor(data: any, options: WebTreeMapOptions); render(el: HTMLElement): void; layout(data: any, el: HTMLEle...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="cy" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About GlobalTrustCoin</source> <translation type="unfinished"/> </message> <message> <locatio...
import semver = require('../'); import SemVer = require('../classes/semver'); /** * Pass in a comparison string, and it'll call the corresponding semver comparison function. * "===" and "!==" do simple string comparison, but are included for completeness. * Throws if an invalid comparison string is provided. */ de...
import BitcoinLogo from 'static/images/bitcoin.svg'; import LitecoinLogo from 'static/images/litecoin.svg'; import DecredLogo from 'static/images/decred.svg'; import GroestlcoinLogo from 'static/images/groestlcoin.svg'; import * as React from 'react'; import { CustomIconComponentProps } from 'antd/lib/icon'; import { C...
/** * Allows scheduling some task on the end user's calendar. Every parameter is optional except for `title` and `startDate`. * @param {string} title * @param {Date} startDate * @param {Date} endDate * @param {Date} startTime * @param {Date} endTime * @param {string} place */ export declare const schedule: ( ...
export type Periods = "today" | "weekly" | "monthly"; export type Types = | "anime" | "character" | "manga" | "person" | "season" | "schedule" | "search" | "top"; export interface Status { readonly cached_requests: number; readonly connected_clients: string; readonly requests_this_month: number;...
import styled from 'styled-components'; import { borderRadius } from '@atlaskit/theme/constants'; import { CardDimensions } from '../'; import { getCSSUnitValue } from '../utils/getCSSUnitValue'; import { BreakpointSizeValue, breakpointStyles } from '../utils/breakpoint'; import { getSelectedBorderStyle } from '../styl...
import { R4_BackboneElement } from './R4_BackboneElement' import { R4_CodeableConcept } from './R4_CodeableConcept' import { R4_DomainResource } from './R4_DomainResource' export class R4_DeviceDefinition_Material extends R4_BackboneElement { static def : string = 'DeviceDefinition_Material'; substance : R...
import * as React from "react"; import { CarbonIconProps } from "../../"; declare const Migrate20: React.ForwardRefExoticComponent< CarbonIconProps & React.RefAttributes<SVGSVGElement> >; export default Migrate20;
import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { FormsModule } from '@angular/forms'; import { NgxOutsideClickModule } from 'ngx-outside-click'; import { AppComponent } from './app.component'; @NgModule({ declarations: [ AppComponent ], imports: [...
import { MdiReactIconComponentType } from './dist/typings'; declare const BellOffIcon: MdiReactIconComponentType; export default BellOffIcon;
// bolean let muted: boolean = true; muted = false; // number let numerador: number = 42; let denominador: number = 6; let resultado = numerador / denominador; console.log(resultado); // string let nombre: string = 'richard'; let saludo = 'Hola, me llamo '+ nombre; console.log(saludo); // array let people: string[...
import { Quirk } from "../Quirk"; import { CAT_HIV } from "../../Category"; export class Trizza extends Quirk { constructor() { super("Trizza", "Tethis", CAT_HIV); } quirkify(): void { this.replaceStr("[Ww]", "ψ"); } }
const best = 22222; const best2 = 33333; console.log(best); console.log(best2);
import { Project, SourceFile, ts } from 'ts-morph'; import { error } from '../utils/common.utils'; /* * Works like Project.getSourceFileOrThrow function, * but if an path alias is encountered, it tries to find the file by the alias */ export const getSourceFileOrThrow = (project: Project, relativeFilePath: string):...
import GuardianAngelFaction from '@mafia/factions/neutral/GuardianAngel'; import NightActionsManager, { Attack, NightActionPriority } from '@mafia/managers/NightActionsManager'; import NoTarget from '@mafia/mixins/NoTarget'; import type Player from '@mafia/structures/Player'; import { randomArrayItem, removeArrayItem }...
import { ErrorMessage, rootLogger as logger } from '@celo/phone-number-privacy-common' import { AzureKeyVaultClient } from '@celo/wallet-hsm-azure' import config from '../config' import { KeyProviderBase } from './key-provider-base' export class AzureKeyProvider extends KeyProviderBase { public async fetchPrivateKey...
export * from './topic-list.component';
<?xml version="1.0" ?><!DOCTYPE TS><TS language="la" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Gelin</source> <translation type="unfinished"/> </message> <message> <location line="+3...
/* * Copyright 2017 TWO SIGMA OPEN SOURCE, 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/LICENSE-2.0 * * Unless required by appl...
import { PrismaClient } from '.prisma/client'; import { Injectable, OnModuleDestroy, OnModuleInit } from '@nestjs/common'; @Injectable() export class PrismaService extends PrismaClient implements OnModuleInit, OnModuleDestroy { async onModuleInit() { await this.$connect(); } async onModuleDestroy() { awa...
import React from "react"; export const Footer: React.FC = () => ( <div id="footer"> <div className="text-center"> <img src="/images/logo-white.png" alt="logo" /> <p>Phone: 918-994-2638 &nbsp; | &nbsp; support@chums.org</p> <p> 2020 © <a href="https://livecs.org/">Live Churc...
export const randomString = () => Buffer.from(Math.random().toString()).toString('base64').substring(10, 5); export const randomInt = (min = 0, max = 999): number => Math.floor(Math.random() * (Math.floor(max) - Math.ceil(min) + 1)) + Math.ceil(min);
import { Application } from 'express'; import { isNil } from 'lodash'; import { loadPackageDefinition, Server, status } from '@grpc/grpc-js'; import ConduitGrpcSdk from '@conduitplatform/conduit-grpc-sdk'; import { RestController } from '@conduitplatform/conduit-router'; import { ConduitCommons, ConduitRoute, Con...
import { KafkaConnectClient } from "./KafkaConnectClient"; import { CreateConnectorCommand, CreateConnectorCommandInput, CreateConnectorCommandOutput, } from "./commands/CreateConnectorCommand"; import { CreateCustomPluginCommand, CreateCustomPluginCommandInput, CreateCustomPluginCommandOutput, } from "./co...
<TS language="am" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>አድራሻ ወይም መለያ ስም ለመቀየር ቀኙን ጠቅ ያድርጉ</translation> </message> <message> <source>Create a new address</source> <translation>አዲስ...
import { Injectable } from '@angular/core'; import { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router'; import { Observable } from 'rxjs'; @Injectable({ providedIn: 'root' }) export class <%= classify(name) %>Guard implements CanActivate { canActivate( next: ActivatedRouteSnapsh...
import {EmptySegment} from "./EmptySegment"; import { WindowCreator } from "../WindowCreator"; const ModeToolbar = [ { name: "", children: "mode-map", action: (ev: any) => { }, }, { name: "", children: "mode-event", action: (e...
import React from "react"; import { render } from "react-dom"; import App from "./components/App"; const main = () => { render(<App />, document.querySelector("main")); }; document.addEventListener("DOMContentLoaded", main);
import { useEffect, useState } from 'react'; import axios from 'axios'; interface Response<T> { value: T; loading: boolean; error: any; } export function useFetch<T = any>( url: string, defaultValue: Partial<T> = null as any, condition: boolean = undefined as any, ): Response<T> { const [state, setState...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ru" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Blazecoin</source> <translation>&amp;О Blazecoin</translation> <...
import {dispatch} from 'd3-dispatch' import {timer} from 'd3-timer' import {drag as d3drag} from 'd3-drag' import {Layout, EventType, Event} from './layout' import {ID3StyleLayoutAdaptor} from './d3adaptor' export interface D3Context { timer: typeof timer; drag: typeof d3drag; dispatch: typeof dispatch; ...
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * * Any modifications Copyright OpenSearch Contributors. See * GitHub history for details. */ /* * Licensed to Ela...