Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
3.08k
15.5k
<reponame>userlea/BatchExplorer<filename>scripts/publish/publish.ts import { exec } from "child_process"; import "colors"; import * as fs from "fs"; import * as path from "path"; import { ask } from "yesno"; import { createIssue, createPullRequest, getMilestone, githubToken, listMilestoneIssues, listPullRequests, }...
import * as React from "react"; import constate from "constate"; import { TezosToolkit } from "@taquito/taquito"; import { Tzip16Module } from '@taquito/tzip16'; import { ReadyThanosState, ThanosAccountType, ThanosStatus, ThanosState, ThanosAsset, getClient, usePassiveStorage, useThanosClient, loadCha...
// **************************************** // Micromanaged Webhook Functions // **************************************** /** add discord mention to the member label */ function memberLabel_(member: string, mention: string) { const value: string = (mention) ? `Assignments for **${member}** (${mention})` : `...
import * as React from 'react' import { BASE_TILES, colorName, COLORS, FINISH_TILES, PATH_TILES, PAWNS } from 'src/constants' import { Dialog } from 'src/Dialog/Dialog' import { Help } from 'src/Help/Help' import { PawnModel } from 'src/Pawn/Pawn' import { Point } from 'src/point' import { direction, TileModel } from '...
import { Client, RequestCreator, RequestError } from "butlerd"; import { Logger, levels, LogEntry } from "common/logger"; import { MinimalContext } from "main/context"; import * as messages from "common/butlerd/messages"; import { Cave, CaveSummary } from "common/butlerd/messages"; import { Store, isCancelled, isAborte...
<filename>src/legacy/core_plugins/kibana/public/dashboard/panel/panel_header/panel_options_menu_container.ts<gh_stars>10-100 /* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * owner...
import { Platform } from '@unimodules/core'; import Constants from 'expo-constants'; import * as Linking from 'expo-linking'; import { dismissAuthSession, openAuthSessionAsync } from 'expo-web-browser'; import { AuthRequest } from './AuthRequest'; import { AuthRequestConfig, AuthRequestPromptOptions, CodeChallen...
<gh_stars>0 // Copyright (c) 2022 Uber Technologies, Inc. // // 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, m...
<filename>sourcecode/src/common/uploads/chunked/chunked-upload.service.ts import { Injectable } from '@angular/core'; import { UploadedFile } from '@common/uploads/uploaded-file'; import { makeUploadPayload } from '@common/core/utils/make-upload-payload'; import { from, Observable, of } from 'rxjs'; import { transf...
<filename>packages/electron-builder/src/windowsCodeSign.ts import { exec } from "electron-builder-util" import { rename } from "fs-extra-p" import * as path from "path" import { release } from "os" import { getBinFromBintray } from "electron-builder-util/out/binDownload" import isCi from "is-ci" import { WinBuildOption...
import { Component, OnInit, ViewChild, ElementRef } from '@angular/core'; import { ElectronService } from '../../providers/electron.service'; const smalltalk = require('smalltalk'); @Component({ selector: 'app-home', templateUrl: './home.component.html', styleUrls: ['./home.component.scss'] }) export class HomeC...
<filename>src/utils/hiveUtils.ts import {ExtendedAccount} from '@hiveio/dhive'; import {Delegator, GlobalProperties} from 'actions/interfaces'; import api from 'api/keychain'; import {getClient} from './hive'; const HIVE_VOTING_MANA_REGENERATION_SECONDS = 432000; const HIVE_100_PERCENT = 10000; export const getVP = (...
<gh_stars>0 import { expect } from 'chai'; import Token from 'markdown-it/lib/token'; import { parseHeadingTags, headingsAndContent, findNextList, convertListToTypedKeys, findContentAfterList, safelyJoinTokens, HeadingContent, extractReturnType, findContentAfterHeadingClose, StripReturnTypeBehavior...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ import React, { ChangeEvent, Fragment, SFC, useContext, useEffect, useState }...
/* * 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. * * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. */ /* * Copyright 2020 Amaz...
import { HarkPlugin, plugin } from "@hark/plugin"; import { Observable } from "rxjs"; import { filter } from "rxjs/operators"; import { Writable } from "stream"; export interface SpawnEventBegin { kind: "begin"; childProcess: HarkSpawnChildProcess; } export interface SpawnEventClose { kind: "close"; code: numb...
<gh_stars>1-10 import * as queryString from 'query-string'; import type { NavigationState, PartialState, Route, } from '@react-navigation/routers'; import fromEntries from './fromEntries'; import type { PathConfig, PathConfigMap } from './types'; type Options = { initialRouteName?: string; screens: PathConfigMap...
import { BrowserModule } from '@angular/platform-browser' import { NgModule } from '@angular/core' import { RouterModule, Routes } from '@angular/router' import { FormsModule } from '@angular/forms' import { settings } from 'src/store' import config from '../../nav.config' import { NzModalModule } from 'ng-zorro-ant...
<gh_stars>0 import { Ref, UnwrapRef, defineComponent, ComponentInternalInstance } from 'vue-demi'; type Component = ReturnType<typeof defineComponent>; /* * Structure * * This package is mainly a validation engine. This engine requires 2 * inputs: validation arguments and the state to be validated. The output * i...
<reponame>BachLeFPT/SymphonyElectron<gh_stars>0 import { net } from 'electron'; import * as nodeURL from 'url'; import { buildNumber, clientVersion, optionalDependencies, searchAPIVersion, sfeClientType, sfeVersion, version, } from '../../package.json'; import { logger } from '../common/logger'; import { ...
<gh_stars>10-100 import fs from 'fs' import { Signer } from 'ethers' import { Wei } from 'web3-units' import { isAddress } from '@ethersproject/address' import { MaxUint256 } from '@ethersproject/constants' import { EthersRmm } from '../src' import { IERC20WithMetadata, WETH9 } from '../typechain' import { log } from ...
"use strict"; import WebSocket from "ws"; import { LavaClient } from "./LavaClient"; import { NodeOptions, NodeStats, Track } from "../utils/Interfaces"; import { Player } from "./Player"; class LavaNode { public readonly lavaJS: LavaClient; /** * The options for the node */ public readonly options: NodeO...
<reponame>joeymarzillo/Calendar<filename>src/interaction/interactions/HitDragging.ts import { EmitterMixin, PointerDragEvent, isDateSpansEqual, computeRect, constrainPoint, intersectRects, getRectCenter, diffPoints, Point, rangeContainsRange, Hit, InteractionSettingsStore, mapHash } from '@fullcalendar/...
'use scrict'; import * as vscode from 'vscode'; import { ICodeDeployer, IDeployDebugAPI } from 'vscode-wpilibapi'; import { RioLogWindow } from 'wpilib-riolog'; import { localize as i18n } from './locale'; import { logger } from './logger'; import { PreferencesAPI } from './preferencesapi'; import { LiveRioConsoleProvi...
import * as React from 'react'; import { Button, pluralize } from '@patternfly/react-core'; import { PencilAltIcon } from '@patternfly/react-icons'; import * as _ from 'lodash'; import { useTranslation } from 'react-i18next'; import NodeIPList from '@console/app/src/components/nodes/NodeIPList'; import { useAccessRev...
<filename>utils/helpers/rebalancingSetV3Helper.ts<gh_stars>100-1000 import * as _ from 'lodash'; import * as setProtocolUtils from 'set-protocol-utils'; import { Address } from 'set-protocol-utils'; import { CoreContract, CoreMockContract, SetTokenContract, RebalancingSetTokenV3Contract, VaultContract, } fro...
<reponame>vilyLei/voxweb3d import TextureProxy from "../../vox/texture/TextureProxy"; import ImageTextureProxy from "../../vox/texture/ImageTextureProxy"; import RendererScene from "../../vox/scene/RendererScene"; import RendererDevice from "../../vox/render/RendererDevice"; import ImageTextureAtlas from "../../vox/te...
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
-