hexsha stringlengths 40 40 | size int64 5 1.05M | ext stringclasses 588
values | lang stringclasses 305
values | max_stars_repo_path stringlengths 3 363 | max_stars_repo_name stringlengths 5 118 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 10 | max_stars_count float64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringdate 2015-01-01 00:00:35 2022-03-31 23:43:49 ⌀ | max_stars_repo_stars_event_max_datetime stringdate 2015-01-01 12:37:38 2022-03-31 23:59:52 ⌀ | max_issues_repo_path stringlengths 3 363 | max_issues_repo_name stringlengths 5 118 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 10 | max_issues_count float64 1 134k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 3 363 | max_forks_repo_name stringlengths 5 135 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 10 | max_forks_count float64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringdate 2015-01-01 00:01:02 2022-03-31 23:27:27 ⌀ | max_forks_repo_forks_event_max_datetime stringdate 2015-01-03 08:55:07 2022-03-31 23:59:24 ⌀ | content stringlengths 5 1.05M | avg_line_length float64 1.13 1.04M | max_line_length int64 1 1.05M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9321a534cb75f0b98c650115f77203a43aa0ef78 | 304 | ts | TypeScript | src/pages/add-category/add-category.module.ts | FelipeMilana/SpringBoot_Ionic-frontend | b8f5dce9e067be5022636b3f202766236175d7d6 | [
"MIT"
] | null | null | null | src/pages/add-category/add-category.module.ts | FelipeMilana/SpringBoot_Ionic-frontend | b8f5dce9e067be5022636b3f202766236175d7d6 | [
"MIT"
] | null | null | null | src/pages/add-category/add-category.module.ts | FelipeMilana/SpringBoot_Ionic-frontend | b8f5dce9e067be5022636b3f202766236175d7d6 | [
"MIT"
] | null | null | null | import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular';
import { AddCategoryPage } from './add-category';
@NgModule({
declarations: [
AddCategoryPage,
],
imports: [
IonicPageModule.forChild(AddCategoryPage),
],
})
export class AddCategoryPageModule {}
| 21.714286 | 49 | 0.703947 |
938d7ea64485a2fa0f3f7e08325c29eb2f20114c | 186 | ts | TypeScript | src/ts/Instrument/dto/create-instrument.dto.ts | async-devil/devchallenge-18-frontend-code | 68f71c2c1a7c9471b6b64ce97f67e4de51a97d24 | [
"MIT"
] | null | null | null | src/ts/Instrument/dto/create-instrument.dto.ts | async-devil/devchallenge-18-frontend-code | 68f71c2c1a7c9471b6b64ce97f67e4de51a97d24 | [
"MIT"
] | null | null | null | src/ts/Instrument/dto/create-instrument.dto.ts | async-devil/devchallenge-18-frontend-code | 68f71c2c1a7c9471b6b64ce97f67e4de51a97d24 | [
"MIT"
] | null | null | null | import { Instruments } from "../Instruments";
export class CreateInstrumentDto {
readonly id: string;
readonly notes: string;
readonly bpm: number;
readonly type: Instruments;
}
| 15.5 | 45 | 0.736559 |
084dbb527870df521f013a0c5a64c5b5d77c757b | 664 | ts | TypeScript | src/app/home/destination/next-actions/next-actions.component.spec.ts | arawnx/neor | 54c69ee3ba8497fc304097eef8db0b90750aa07b | [
"MIT"
] | null | null | null | src/app/home/destination/next-actions/next-actions.component.spec.ts | arawnx/neor | 54c69ee3ba8497fc304097eef8db0b90750aa07b | [
"MIT"
] | 1 | 2020-10-11T17:26:29.000Z | 2020-10-11T17:26:29.000Z | src/app/home/destination/next-actions/next-actions.component.spec.ts | arawnx/neor | 54c69ee3ba8497fc304097eef8db0b90750aa07b | [
"MIT"
] | null | null | null | import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { NextActionsComponent } from './next-actions.component';
describe('NextActionsComponent', () => {
let component: NextActionsComponent;
let fixture: ComponentFixture<NextActionsComponent>;
beforeEach(async(() => {
TestBed.conf... | 25.538462 | 73 | 0.686747 |
e25abc0cc5bf6f2c8242c83b9663bd3b38187145 | 186 | ts | TypeScript | src/follow/follow.repository.ts | Gophster/gophster-api | b65cbaabe72ab1fe55e9a7f6be13a0873779f9d5 | [
"MIT"
] | null | null | null | src/follow/follow.repository.ts | Gophster/gophster-api | b65cbaabe72ab1fe55e9a7f6be13a0873779f9d5 | [
"MIT"
] | 6 | 2020-04-01T18:31:38.000Z | 2022-01-22T11:39:53.000Z | src/follow/follow.repository.ts | Gophster/gophster-api | b65cbaabe72ab1fe55e9a7f6be13a0873779f9d5 | [
"MIT"
] | null | null | null | import { Repository, EntityRepository } from 'typeorm';
import { Follow } from './follow.entity';
@EntityRepository(Follow)
export class FollowRepository extends Repository<Follow> {}
| 26.571429 | 59 | 0.768817 |
39685a9655ea54dd98bc190262efd0c3d94f94dd | 1,024 | ts | TypeScript | src/shared/Auth.guard.ts | Nanif/Devices | 0c4a251144fe96ee31b981d27eedc6fa7c3d75a2 | [
"MIT"
] | null | null | null | src/shared/Auth.guard.ts | Nanif/Devices | 0c4a251144fe96ee31b981d27eedc6fa7c3d75a2 | [
"MIT"
] | 5 | 2021-05-07T14:16:20.000Z | 2022-02-12T11:19:12.000Z | src/shared/Auth.guard.ts | Nanif/Devices | 0c4a251144fe96ee31b981d27eedc6fa7c3d75a2 | [
"MIT"
] | null | null | null | import {Injectable, CanActivate, ExecutionContext, HttpException, HttpStatus} from '@nestjs/common';
import {Observable} from 'rxjs';
import * as jwt from 'jsonwebtoken';
@Injectable()
export class AuthGuard implements CanActivate {
canActivate(
context: ExecutionContext,
): Promise<boolean> | boolean ... | 30.117647 | 100 | 0.632813 |
4c20c3f0bf07a42c708450a4fa71ddaf883e271e | 11,239 | ts | TypeScript | src/app/views/onclick/all-projects/graph-all-projects/all-projects-service/timeline.service.ts | ahdabSerhan/Project-On-Click | 95689a0242ede38bf0d91cbe3fe9632b27303c78 | [
"MIT"
] | 1 | 2018-06-13T17:50:26.000Z | 2018-06-13T17:50:26.000Z | src/app/views/onclick/all-projects/graph-all-projects/all-projects-service/timeline.service.ts | ahdabSerhan/Project-On-Click | 95689a0242ede38bf0d91cbe3fe9632b27303c78 | [
"MIT"
] | null | null | null | src/app/views/onclick/all-projects/graph-all-projects/all-projects-service/timeline.service.ts | ahdabSerhan/Project-On-Click | 95689a0242ede38bf0d91cbe3fe9632b27303c78 | [
"MIT"
] | 1 | 2018-12-15T03:15:10.000Z | 2018-12-15T03:15:10.000Z | import { getStyle } from '@coreui/coreui/dist/js/coreui-utilities';
import { TaskProjectService } from './../../../task-project.service';
import { ProjectService } from './../../../project.service';
import { DrawingService } from './drawing.service';
import { Injector } from '@angular/core';
import * as d3 from 'd3';
i... | 27.412195 | 111 | 0.457069 |
4c62bca6ff1d9365cd9b827c59fd6540ccede92b | 938 | tsx | TypeScript | src/components/DarkModeToggle/index.tsx | jocke45/posthog.com | cfae9e52bdf2b95e9d15499e09a58816ab10fa50 | [
"MIT"
] | null | null | null | src/components/DarkModeToggle/index.tsx | jocke45/posthog.com | cfae9e52bdf2b95e9d15499e09a58816ab10fa50 | [
"MIT"
] | null | null | null | src/components/DarkModeToggle/index.tsx | jocke45/posthog.com | cfae9e52bdf2b95e9d15499e09a58816ab10fa50 | [
"MIT"
] | null | null | null | import React from 'react'
import './style.scss'
interface DarkModeToggleProps {
checked: boolean
onChange: () => void
style: Object
}
export const DarkModeToggle = ({ checked, onChange, style }: DarkModeToggleProps) => {
return (
<span className="toggle-wrapper" style={style} data-attr="dark-m... | 31.266667 | 86 | 0.514925 |
1faaa6c158663fcae4b031834f472b56ecb0a145 | 255 | ts | TypeScript | scroll_window_modal/src/js/app.ts | DigitalEmotions/ngDialog_Tests | c93d2738b988a9a98f58106917415115de39da33 | [
"MIT"
] | null | null | null | scroll_window_modal/src/js/app.ts | DigitalEmotions/ngDialog_Tests | c93d2738b988a9a98f58106917415115de39da33 | [
"MIT"
] | null | null | null | scroll_window_modal/src/js/app.ts | DigitalEmotions/ngDialog_Tests | c93d2738b988a9a98f58106917415115de39da33 | [
"MIT"
] | null | null | null | /// <reference path="../../defs/angular.d.ts" />
/// <reference path="../../defs/angular-ui-router.d.ts" />
angular.module('app', [
'templates',
'ui.router',
'app.controllers',
'ngDialog'
])
angular.module('app.controllers', []); | 23.181818 | 58 | 0.564706 |
9dedcbd91d6ebb2508155c3d99e79953bbe88433 | 3,324 | ts | TypeScript | src/fetcher/index.ts | obaid/botmock-js | 5111edd8b622c6e3527adfe8cbd9aac871d23018 | [
"MIT"
] | null | null | null | src/fetcher/index.ts | obaid/botmock-js | 5111edd8b622c6e3527adfe8cbd9aac871d23018 | [
"MIT"
] | 6 | 2019-10-14T15:09:29.000Z | 2021-11-02T15:04:15.000Z | src/fetcher/index.ts | Botmock/botmock-js | 5111edd8b622c6e3527adfe8cbd9aac871d23018 | [
"MIT"
] | 2 | 2019-10-15T18:43:24.000Z | 2021-07-29T08:49:16.000Z | import fetch, { FetchError } from "node-fetch";
import { EventEmitter } from "events";
import { Agent } from "https";
export interface Config {
token: string;
agent?: Agent;
subdomain?: string;
}
interface ProjectOpt {
teamId: string;
projectId: string;
}
interface BoardOpt extends ProjectOpt {
boardId: ... | 27.7 | 87 | 0.634777 |
dce405f81c5d070420fbb982bc63dae29b2ade6d | 6,068 | ts | TypeScript | src/utils/auth.ts | Josh-McFarlin/sustainabyte | eb831c389367e345fb1d239de690abff89f765a7 | [
"MIT"
] | null | null | null | src/utils/auth.ts | Josh-McFarlin/sustainabyte | eb831c389367e345fb1d239de690abff89f765a7 | [
"MIT"
] | null | null | null | src/utils/auth.ts | Josh-McFarlin/sustainabyte | eb831c389367e345fb1d239de690abff89f765a7 | [
"MIT"
] | null | null | null | import * as React from "react";
import * as AuthSession from "expo-auth-session";
import * as WebBrowser from "expo-web-browser";
import jwtDecode from "jwt-decode";
import { Alert, Platform } from "react-native";
import { singletonHook } from "react-singleton-hook";
import { useQuery } from "react-query";
import * as ... | 26.042918 | 76 | 0.601846 |
0d53d4c144facda30042a7bd587b9f7bb3b08456 | 502 | ts | TypeScript | libs/components/ag-grid/src/lib/modules/ag-grid/cell-editors/cell-editor-number/cell-editor-number.module.ts | Blackbaud-KevinEnns/skyux | dc8ed4162a2849ffe2de83454fa2d2faad92a152 | [
"MIT"
] | null | null | null | libs/components/ag-grid/src/lib/modules/ag-grid/cell-editors/cell-editor-number/cell-editor-number.module.ts | Blackbaud-KevinEnns/skyux | dc8ed4162a2849ffe2de83454fa2d2faad92a152 | [
"MIT"
] | null | null | null | libs/components/ag-grid/src/lib/modules/ag-grid/cell-editors/cell-editor-number/cell-editor-number.module.ts | Blackbaud-KevinEnns/skyux | dc8ed4162a2849ffe2de83454fa2d2faad92a152 | [
"MIT"
] | null | null | null | import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { SkyAgGridResourcesModule } from '../../../shared/sky-ag-grid-resources.module';
import { SkyAgGridCellEditorNumberComponent } from '../cell-editor-number/cell-editor-number.component';
@NgModule({
imports: [SkyAgGridRes... | 38.615385 | 104 | 0.776892 |
1b844a830f9179848c3c99dad63d6324b71fa911 | 700 | tsx | TypeScript | react/pages/game.tsx | matthewkoncz/ivosjatek | 0f79d0fa87bcde0959af1336ea8d95f09a622137 | [
"MIT"
] | null | null | null | react/pages/game.tsx | matthewkoncz/ivosjatek | 0f79d0fa87bcde0959af1336ea8d95f09a622137 | [
"MIT"
] | 269 | 2020-03-13T21:35:58.000Z | 2021-12-10T22:48:02.000Z | react/pages/game.tsx | mkoncz/ivosjatek | 270bc3e11f499c3b11219c77a5376d9455093ce2 | [
"MIT"
] | null | null | null | // Import ReactJS module.
import React, { Component } from "react";
// Import components.
import NavBar from "../components/navbar/NavBar";
import CustomHead from "../components/head/CustomHead";
// Import i18n functions.
import { t } from "../i18n";
// Import question resources.
import GameTemplate from "../compone... | 21.875 | 64 | 0.607143 |
1bb34b39f5c9f79b7682316c280f68ebbc67bbbe | 1,338 | ts | TypeScript | packages/lit-analyzer/test/rules/no-unknown-attribute.ts | NicolasBoyer/lit-analyzer | 642823bc144c6769d2a004388e9ea744f85b83e9 | [
"MIT"
] | null | null | null | packages/lit-analyzer/test/rules/no-unknown-attribute.ts | NicolasBoyer/lit-analyzer | 642823bc144c6769d2a004388e9ea744f85b83e9 | [
"MIT"
] | null | null | null | packages/lit-analyzer/test/rules/no-unknown-attribute.ts | NicolasBoyer/lit-analyzer | 642823bc144c6769d2a004388e9ea744f85b83e9 | [
"MIT"
] | null | null | null | import { getDiagnostics } from "../helpers/analyze";
import { hasDiagnostic, hasNoDiagnostics } from "../helpers/assert";
import { tsTest } from "../helpers/ts-test";
tsTest("Don't report unknown attributes when 'no-unknown-attribute' is turned off", t => {
const { diagnostics } = getDiagnostics("html`<input foo='' /... | 43.16129 | 116 | 0.67713 |
3c855d16c794374b873294f335b958e2b3328c22 | 317 | ts | TypeScript | aws-deployment-pipeline/bin/pipeline.ts | lukehedger/cdk-webhook-proxy | 0d6716585926b62f6689bbfd0bfcbc5ad88d892a | [
"MIT"
] | null | null | null | aws-deployment-pipeline/bin/pipeline.ts | lukehedger/cdk-webhook-proxy | 0d6716585926b62f6689bbfd0bfcbc5ad88d892a | [
"MIT"
] | 81 | 2020-07-21T06:23:05.000Z | 2020-09-03T20:50:16.000Z | aws-deployment-pipeline/bin/pipeline.ts | lukehedger/cdk-webhook-proxy | 0d6716585926b62f6689bbfd0bfcbc5ad88d892a | [
"MIT"
] | null | null | null | #!/usr/bin/env node
import { App } from "@aws-cdk/core";
import { PipelineStack } from "../lib/pipeline";
const app = new App();
const stackName = process.env.GITHUB_PR_NUMBER
? `CdkWebhookProxyPipelineStack-${process.env.GITHUB_PR_NUMBER}`
: "CdkWebhookProxyPipelineStack";
new PipelineStack(app, stackName);
| 26.416667 | 66 | 0.73817 |
a7b5a20527750c51c3b7297048e45bd844f1723e | 1,277 | ts | TypeScript | frontend-parent/frontend/src/app/services/doctors.service.ts | fstn/poc-angular4-springSecurity | c7d3e9a11c589a29874415c31227a718008f65bc | [
"Apache-2.0"
] | 1 | 2021-06-15T18:19:29.000Z | 2021-06-15T18:19:29.000Z | frontend-parent/frontend/src/app/services/doctors.service.ts | fstn/poc-angular4-springSecurity | c7d3e9a11c589a29874415c31227a718008f65bc | [
"Apache-2.0"
] | null | null | null | frontend-parent/frontend/src/app/services/doctors.service.ts | fstn/poc-angular4-springSecurity | c7d3e9a11c589a29874415c31227a718008f65bc | [
"Apache-2.0"
] | null | null | null | import {Injectable} from "@angular/core";
import {Headers, RequestOptions, Response, Http} from "@angular/http";
import {AuthenticationService} from "./authentication.service";
import {Observable} from "rxjs";
import {Doctor} from "../models/doctor";
/**
* Docker Service provide method to consume doctor's rest API
*... | 34.513514 | 95 | 0.692247 |
8fd9d47bb09fc16c215b491a3e6c519eef0d5e2e | 176 | ts | TypeScript | lib/store/entityhelper/entitystate.ts | basvermeulen/ng-wsapimock | 5399b36ef4f744d360c490fba934761936401134 | [
"MIT"
] | null | null | null | lib/store/entityhelper/entitystate.ts | basvermeulen/ng-wsapimock | 5399b36ef4f744d360c490fba934761936401134 | [
"MIT"
] | null | null | null | lib/store/entityhelper/entitystate.ts | basvermeulen/ng-wsapimock | 5399b36ef4f744d360c490fba934761936401134 | [
"MIT"
] | null | null | null | export interface Dictionary<T> {
[key: number]: T;
[key: string]: T;
}
export interface EntityState<T> {
ids: string[] | number[];
entities: Dictionary<T>
}
| 14.666667 | 33 | 0.607955 |
fb8a6fbe82ef973fde1e50f0348aac36e6463450 | 1,844 | ts | TypeScript | test/unit/nodeenvTests.ts | thenativeweb/nodeenv | 135344620705a3b32dafa8e6ca5a548bf5882436 | [
"MIT"
] | 6 | 2018-03-25T02:48:09.000Z | 2021-06-27T13:00:27.000Z | test/unit/nodeenvTests.ts | thenativeweb/nodeenv | 135344620705a3b32dafa8e6ca5a548bf5882436 | [
"MIT"
] | 148 | 2015-02-01T11:19:00.000Z | 2022-02-01T10:21:14.000Z | test/unit/nodeenvTests.ts | thenativeweb/nodeenv | 135344620705a3b32dafa8e6ca5a548bf5882436 | [
"MIT"
] | 2 | 2019-01-21T10:49:33.000Z | 2021-11-04T21:33:54.000Z | import { assert } from 'assertthat';
import { nodeenv } from '../../lib/nodeenv';
/* eslint-disable no-process-env */
suite('nodeenv', (): void => {
let originalNodeEnv: string | undefined;
setup(async (): Promise<void> => {
originalNodeEnv = process.env.NODE_ENV;
process.env.NODE_ENV = undefined;
});
... | 27.939394 | 101 | 0.627983 |
5d5a33ef9c3b0ca65e3be17220487d371790a81a | 511 | ts | TypeScript | src/users/users.module.ts | iamkingsley/atratillydesigns.api | e4b653d53d900c1a8f3ee47b600e0f656f427317 | [
"MIT"
] | null | null | null | src/users/users.module.ts | iamkingsley/atratillydesigns.api | e4b653d53d900c1a8f3ee47b600e0f656f427317 | [
"MIT"
] | null | null | null | src/users/users.module.ts | iamkingsley/atratillydesigns.api | e4b653d53d900c1a8f3ee47b600e0f656f427317 | [
"MIT"
] | null | null | null | import { DatabaseModule } from './../database/database.module';
import { Module } from '@nestjs/common';
import { UsersService } from './users.service';
import { ProfilesController, UsersController } from './users.controller';
import { usersProviders } from './database/users.provider';
@Module({
imports: [DatabaseMo... | 25.55 | 73 | 0.700587 |
b53c31bfedc6eb3565efb34d002230bc5e355a8c | 821 | tsx | TypeScript | src/Components/Location.tsx | anna-co-kr/ko200 | 9a92a968498fa09a52309799fb24e01ff4627220 | [
"MIT"
] | 11 | 2021-09-08T03:33:03.000Z | 2022-03-14T22:00:56.000Z | src/Components/Location.tsx | anna-co-kr/ko200 | 9a92a968498fa09a52309799fb24e01ff4627220 | [
"MIT"
] | null | null | null | src/Components/Location.tsx | anna-co-kr/ko200 | 9a92a968498fa09a52309799fb24e01ff4627220 | [
"MIT"
] | 6 | 2021-09-15T00:31:57.000Z | 2022-01-28T13:37:41.000Z | import React from 'react';
import { Divider } from 'antd';
import styled from 'styled-components';
import GroovePaper from '../Assets/GroovePaper.png';
import LocationMap from '../Assets/LocationMap.png';
const Wrapper = styled.div`
background: #efebe9;
background-image: url(${GroovePaper});
padding-left: 42px;
... | 20.02439 | 64 | 0.64799 |
05eb6df4eae67ce156b2d99cd6f5007e320d64a2 | 1,247 | tsx | TypeScript | doc-site/examples/helpers/readable-hex-color-basic-usage.tsx | datacamp/waffles | 9af7e60c8fe705df9d17de256b1d08407139264e | [
"MIT"
] | 5 | 2021-09-11T09:52:55.000Z | 2022-03-04T12:28:25.000Z | doc-site/examples/helpers/readable-hex-color-basic-usage.tsx | datacamp/waffles | 9af7e60c8fe705df9d17de256b1d08407139264e | [
"MIT"
] | 1 | 2021-11-23T13:41:54.000Z | 2021-11-23T13:41:54.000Z | doc-site/examples/helpers/readable-hex-color-basic-usage.tsx | datacamp/waffles | 9af7e60c8fe705df9d17de256b1d08407139264e | [
"MIT"
] | 3 | 2021-08-06T11:51:27.000Z | 2021-12-13T17:53:34.000Z | import { css } from '@emotion/react';
import { tokens } from '@datacamp/waffles/tokens';
import { readableHexColor } from '@datacamp/waffles/helpers';
import { Text } from '@datacamp/waffles/text';
const wrapperStyle = css`
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: ${tokens.spacing.small};... | 21.135593 | 63 | 0.635124 |
b308771ad9caef198bdafa77ef8e276e5713ee73 | 2,475 | ts | TypeScript | src/main/webapp/src/app/meetings/new-meeting/new-meeting.component.ts | code10ftn/building-management | 743ec6c23e97aa1f748e6bdc1c39ca3fa201bc57 | [
"MIT"
] | null | null | null | src/main/webapp/src/app/meetings/new-meeting/new-meeting.component.ts | code10ftn/building-management | 743ec6c23e97aa1f748e6bdc1c39ca3fa201bc57 | [
"MIT"
] | null | null | null | src/main/webapp/src/app/meetings/new-meeting/new-meeting.component.ts | code10ftn/building-management | 743ec6c23e97aa1f748e6bdc1c39ca3fa201bc57 | [
"MIT"
] | null | null | null | import { Component, OnInit, ViewChild } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import * as moment from 'moment';
import { ToastrService } from 'ngx-toastr';
import { AuthService } from '../../core/http/auth.service';
import { MeetingService } from '../../core/http/meeting.servi... | 31.730769 | 105 | 0.69697 |
a8a1f1e62a0a4537972411c0de6b08046e3528fa | 2,524 | ts | TypeScript | src/scripts/versioning/changelogHelper.ts | imJQE/WebClipper | c977db7b98c397c80792fabb41a89f4a154912ca | [
"MIT"
] | 303 | 2016-08-26T22:05:24.000Z | 2022-03-24T08:30:04.000Z | src/scripts/versioning/changelogHelper.ts | KevinMazelin/WebClipper | 167338ea0d038028e5435a7d4d9f962572e4857c | [
"MIT"
] | 330 | 2016-08-26T22:44:20.000Z | 2022-03-03T22:01:44.000Z | src/scripts/versioning/changelogHelper.ts | KevinMazelin/WebClipper | 167338ea0d038028e5435a7d4d9f962572e4857c | [
"MIT"
] | 63 | 2016-08-26T22:22:51.000Z | 2022-02-06T07:21:43.000Z | import {ChangeLog} from "./changeLog";
import {Version} from "./version";
export module ChangeLogHelper {
/**
* Given a list of updates sorted in descending order, returns the updates that are more recent
* than the specified verison. If the version is not specified (i.e., undefined), all updates
* are returned... | 31.55 | 140 | 0.687401 |
d183be21526ef90fa4e43c5cb5c851080bdb7858 | 4,600 | ts | TypeScript | src/app/core/redux/acciones/pedido/PedidosAcciones.ts | cbFabian/Ceiba-DeliverChefcitoFrontEnd | 30289d2c3974fde32df1b9953f9b3a8246dca023 | [
"Apache-2.0"
] | null | null | null | src/app/core/redux/acciones/pedido/PedidosAcciones.ts | cbFabian/Ceiba-DeliverChefcitoFrontEnd | 30289d2c3974fde32df1b9953f9b3a8246dca023 | [
"Apache-2.0"
] | null | null | null | src/app/core/redux/acciones/pedido/PedidosAcciones.ts | cbFabian/Ceiba-DeliverChefcitoFrontEnd | 30289d2c3974fde32df1b9953f9b3a8246dca023 | [
"Apache-2.0"
] | null | null | null | import {
LISTAR_PEDIDOS_USUARIO,
AGREGAR_PEDIDO_USUARIO,
CANCELAR_PEDIDO,
MODIFICAR_PEDIDO,
LISTAR_PEDIDOS,
MOSTRAR_MODIFICAR,
FECHA_FESTIVO,
ERROR_CONSULTA,
TiposAccionesPedido,
} from './PedidosTiposAcciones';
import { Pedido } from 'app/feature/Pedido/models/Pedido';
import { Pedi... | 26.285714 | 89 | 0.651522 |
b3adb458f6ce96708b63790d8f0ee0b9dc761883 | 335 | ts | TypeScript | src/app/r500/r500.module.ts | mgechev/preload-all-stress-test | fb9184bfd81fb7dbd20ae493d2e679c30e396e43 | [
"MIT"
] | 6 | 2021-01-19T18:46:13.000Z | 2021-02-03T04:20:53.000Z | src/app/r500/r500.module.ts | mgechev/preload-all-stress-test | fb9184bfd81fb7dbd20ae493d2e679c30e396e43 | [
"MIT"
] | null | null | null | src/app/r500/r500.module.ts | mgechev/preload-all-stress-test | fb9184bfd81fb7dbd20ae493d2e679c30e396e43 | [
"MIT"
] | null | null | null | import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { R500RoutingModule } from './r500-routing.module';
import { R500Component } from './r500.component';
@NgModule({
declarations: [R500Component],
imports: [
CommonModule,
R500RoutingModule
]
})
export class ... | 20.9375 | 58 | 0.698507 |
b656bde9281b07785dd695f635965d3195beee41 | 1,699 | ts | TypeScript | packages/dashboards/src/lib/configurator/components/public-api.ts | madelyneh/nova-ui | 10812991a56862ec7260b84757812ef5fcfed8d7 | [
"Apache-2.0"
] | null | null | null | packages/dashboards/src/lib/configurator/components/public-api.ts | madelyneh/nova-ui | 10812991a56862ec7260b84757812ef5fcfed8d7 | [
"Apache-2.0"
] | null | null | null | packages/dashboards/src/lib/configurator/components/public-api.ts | madelyneh/nova-ui | 10812991a56862ec7260b84757812ef5fcfed8d7 | [
"Apache-2.0"
] | null | null | null | export * from "./configurator/configurator.component";
export * from "./widgets/public-api";
export * from "./wizard/public-api";
export * from "./types";
export * from "./form-stack/form-stack.component";
export * from "./formatters/link-formatter/link-formatter.component";
export * from "./formatters/status-with-icon... | 67.96 | 113 | 0.785756 |
8e68ba7ce43e4b260c73910df6b6632123ba087d | 1,342 | tsx | TypeScript | packages/dyson/src/components/molecules/Dropdown.tsx | maybesmurf/crusher | 86547c1dfd6e794fefa9e4911dbfa3ca107c5894 | [
"MIT"
] | 185 | 2021-06-26T05:51:33.000Z | 2022-03-30T12:14:51.000Z | packages/dyson/src/components/molecules/Dropdown.tsx | maybesmurf/crusher | 86547c1dfd6e794fefa9e4911dbfa3ca107c5894 | [
"MIT"
] | 86 | 2021-06-28T09:50:07.000Z | 2022-03-04T16:14:44.000Z | packages/dyson/src/components/molecules/Dropdown.tsx | maybesmurf/crusher | 86547c1dfd6e794fefa9e4911dbfa3ca107c5894 | [
"MIT"
] | 17 | 2021-06-23T20:35:50.000Z | 2022-03-23T11:29:57.000Z | import { ShowOnClick } from "../layouts/ShowonAction/ShowOnAction";
import { css, SerializedStyles } from "@emotion/react";
import { ReactElement } from "react";
type TDropdown = {
dropdownCSS: SerializedStyles;
component: ReactElement | string;
initialState: boolean;
callback: (openStatus: boolean) => void;
} & R... | 25.807692 | 140 | 0.698212 |
c7f9f63b880b4bf926bff2b58d83b0b9384251b8 | 69 | ts | TypeScript | pubg-hack-ui/fonts/index.ts | fsufitch/pubg-mainmenu-hack | f54fa40b2e8bae71cb08510a13cf2d0e8c5cd9f1 | [
"MIT"
] | 12 | 2017-10-20T10:20:45.000Z | 2020-10-31T05:45:44.000Z | pubg-hack-ui/fonts/index.ts | fsufitch/pubg-mainmenu-hack | f54fa40b2e8bae71cb08510a13cf2d0e8c5cd9f1 | [
"MIT"
] | 2 | 2017-10-20T05:44:19.000Z | 2017-10-26T20:16:54.000Z | pubg-hack-ui/fonts/index.ts | fsufitch/pubg-mainmenu-hack | f54fa40b2e8bae71cb08510a13cf2d0e8c5cd9f1 | [
"MIT"
] | 9 | 2017-10-20T17:35:38.000Z | 2021-01-14T19:37:23.000Z | require('./overpass-bold.woff');
require('./overpass-semibold.ttf');
| 23 | 35 | 0.710145 |
2a3e0503a6f0be2e3d95286b509552ce4ecc9d7f | 5,267 | ts | TypeScript | packages/react/test/specs/utils/accessibility/FocusContainer-test.ts | JasonGore/fluent-ui-react | 8fee040f27449169233bf70d4ec3c3f0ea5f93a8 | [
"MIT"
] | 703 | 2019-10-16T20:18:47.000Z | 2022-03-17T23:18:38.000Z | packages/react/test/specs/utils/accessibility/FocusContainer-test.ts | JasonGore/fluent-ui-react | 8fee040f27449169233bf70d4ec3c3f0ea5f93a8 | [
"MIT"
] | 1,968 | 2018-07-11T21:39:26.000Z | 2019-10-15T22:13:52.000Z | packages/react/test/specs/utils/accessibility/FocusContainer-test.ts | JasonGore/fluent-ui-react | 8fee040f27449169233bf70d4ec3c3f0ea5f93a8 | [
"MIT"
] | 63 | 2019-10-30T10:43:26.000Z | 2021-12-20T09:02:04.000Z | import { ContainerFocusHandler } from 'src/utils/accessibility/FocusHandling/FocusContainer'
const createFocusContainer = (
{ itemsCount, setFocusAtFn }: { itemsCount: number; setFocusAtFn?: () => void } = {
itemsCount: 0,
},
) => new ContainerFocusHandler(() => itemsCount, setFocusAtFn || (() => {}))
describ... | 33.762821 | 94 | 0.668882 |
e66c5cf568e3c260f7b5ef755a5c3510c3e0c88a | 3,912 | ts | TypeScript | src/app/shared/components/project-list/project-list.component.ts | ebi-ait/ingest-ui | 4a8d0d82f95eda5df252f935124e2ea8581e43dc | [
"Apache-2.0"
] | 2 | 2020-04-24T23:14:18.000Z | 2020-10-29T11:20:18.000Z | src/app/shared/components/project-list/project-list.component.ts | ebi-ait/ingest-ui | 4a8d0d82f95eda5df252f935124e2ea8581e43dc | [
"Apache-2.0"
] | 60 | 2020-02-19T13:28:02.000Z | 2022-03-28T09:28:05.000Z | src/app/shared/components/project-list/project-list.component.ts | ebi-ait/ingest-ui | 4a8d0d82f95eda5df252f935124e2ea8581e43dc | [
"Apache-2.0"
] | 1 | 2020-07-19T09:36:26.000Z | 2020-07-19T09:36:26.000Z | import {formatDate} from '@angular/common';
import {Component, Input, OnInit} from '@angular/core';
import {Observable, of} from 'rxjs';
import {concatMap, tap} from 'rxjs/operators';
import {$enum} from 'ts-enum-util';
import {Account} from '@app/core/account';
import {Project, ProjectColumn} from '../../models/projec... | 33.724138 | 156 | 0.687628 |
1da380d44680afc546a60b35e0bf292ca6d7f31e | 216 | ts | TypeScript | client/src/app/management/models/management-search-device.spec.ts | sergiyd/lab_board | f1505970f73cbdda1016f2bda5949b794655e0f0 | [
"MIT"
] | null | null | null | client/src/app/management/models/management-search-device.spec.ts | sergiyd/lab_board | f1505970f73cbdda1016f2bda5949b794655e0f0 | [
"MIT"
] | null | null | null | client/src/app/management/models/management-search-device.spec.ts | sergiyd/lab_board | f1505970f73cbdda1016f2bda5949b794655e0f0 | [
"MIT"
] | null | null | null | import { ManagementSearchDevice } from './management-search-device';
describe('ManagementSearchDevice', () => {
it('should create an instance', () => {
expect(new ManagementSearchDevice()).toBeTruthy();
});
});
| 27 | 68 | 0.689815 |
1a321f77f9e7170ce36efce1cd282dfbec5abc44 | 2,455 | ts | TypeScript | src/factions/orruk_warclans/kruleboyz/spells.ts | beeglebug/aos-reminders | e02be71e332f311c63916c5832ed119b9966379b | [
"MIT"
] | 49 | 2019-05-23T14:19:30.000Z | 2022-03-03T18:23:13.000Z | src/factions/orruk_warclans/kruleboyz/spells.ts | beeglebug/aos-reminders | e02be71e332f311c63916c5832ed119b9966379b | [
"MIT"
] | 729 | 2019-05-18T16:18:01.000Z | 2022-03-29T14:13:05.000Z | src/factions/orruk_warclans/kruleboyz/spells.ts | beeglebug/aos-reminders | e02be71e332f311c63916c5832ed119b9966379b | [
"MIT"
] | 52 | 2019-05-21T09:15:32.000Z | 2022-03-14T08:44:18.000Z | import { tagAs } from 'factions/metatagger'
import { CHARGE_PHASE, HERO_PHASE } from 'types/phases'
const KruleboyzSpells = {
// Lore of the Swamp
'Summon Boggy Mist': {
effects: [
{
name: `Summon Boggy Mist`,
desc: `Casting value of 7. If successfully cast, until your next hero phase, ad... | 41.610169 | 406 | 0.648065 |
1ac8143bc789801e7d6468e80cab5441878ab9e6 | 978 | tsx | TypeScript | icons/SvgWifiCalling3Sharp.tsx | jsonxr/react-native-material-icons | f12bc1f5a1eb67198dc101fb4bf41d462b5e1d23 | [
"MIT"
] | null | null | null | icons/SvgWifiCalling3Sharp.tsx | jsonxr/react-native-material-icons | f12bc1f5a1eb67198dc101fb4bf41d462b5e1d23 | [
"MIT"
] | null | null | null | icons/SvgWifiCalling3Sharp.tsx | jsonxr/react-native-material-icons | f12bc1f5a1eb67198dc101fb4bf41d462b5e1d23 | [
"MIT"
] | null | null | null | // /src/device/wifi_calling_3/materialiconssharp/24px.svg
import { createSvgIcon } from './createSvgIcon';
export const SvgWifiCalling3Sharp = createSvgIcon(
`<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24">
<g>
<path d="M0,0h24v24H0V0z... | 48.9 | 166 | 0.596115 |
21c2d3e2371bbc14a110b855bf08eba7365f6009 | 1,368 | tsx | TypeScript | app/ArticlePage/components/CommentList.tsx | bernardjkim/showcase | bd07065fbdb3e5289fedc611b91c17c663b261c7 | [
"MIT"
] | null | null | null | app/ArticlePage/components/CommentList.tsx | bernardjkim/showcase | bd07065fbdb3e5289fedc611b91c17c663b261c7 | [
"MIT"
] | null | null | null | app/ArticlePage/components/CommentList.tsx | bernardjkim/showcase | bd07065fbdb3e5289fedc611b91c17c663b261c7 | [
"MIT"
] | null | null | null | import React from 'react';
import styled from 'styled-components';
import uuid from 'uuid/v1';
// import * as moment from 'moment';
/* MUI */
import Typography from '@material-ui/core/Typography';
const ContainerInfo = styled.div`
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: c... | 20.727273 | 65 | 0.608918 |
d4b5f9d815b30573c2e804a1b9b423361d44c652 | 9,485 | tsx | TypeScript | src/components/charts/PresenceParticipation.tsx | daluji/la-bete-politique | 6b3365216be93f672f8ea43f47d5089d955c4868 | [
"MIT"
] | null | null | null | src/components/charts/PresenceParticipation.tsx | daluji/la-bete-politique | 6b3365216be93f672f8ea43f47d5089d955c4868 | [
"MIT"
] | null | null | null | src/components/charts/PresenceParticipation.tsx | daluji/la-bete-politique | 6b3365216be93f672f8ea43f47d5089d955c4868 | [
"MIT"
] | null | null | null | import React from "react"
import { Group } from "@visx/group"
import { curveLinear } from "@visx/curve"
import { getNbActivitesMax } from "components/deputies-list/deputies-list-utils"
import dayjs from "dayjs"
import "dayjs/locale/fr"
import {
XYChart,
AnimatedAxis,
AnimatedBarSeries,
AnimatedGrid,
AnimatedL... | 38.40081 | 124 | 0.442699 |
bef37a0d6afd6cb183661c251b8c487fc37d7e27 | 239 | tsx | TypeScript | src/main.tsx | spurreiter/apprun-wc-props | 1ed34ae2dcc346362060ae80d0aa5230e853a4a1 | [
"MIT"
] | null | null | null | src/main.tsx | spurreiter/apprun-wc-props | 1ed34ae2dcc346362060ae80d0aa5230e853a4a1 | [
"MIT"
] | null | null | null | src/main.tsx | spurreiter/apprun-wc-props | 1ed34ae2dcc346362060ae80d0aa5230e853a4a1 | [
"MIT"
] | null | null | null | import app from 'apprun';
import './wc-container'
const model = 'Hello world - AppRun !';
const view = (state) => <div>
<h1>{state}</h1>
<wc-container />
</div>;
const update = {
};
app.start(document.body, model, view, update);
| 14.058824 | 46 | 0.619247 |
836362757695b330d5e8f2bd327707119bf1b7d4 | 3,747 | ts | TypeScript | src/ts/updateable/character.ts | neverix/jam-2019-03-discord | 0f1af5d4bd45bc484b7b514ee008f1538cfff0d9 | [
"MIT"
] | 4 | 2019-03-01T11:05:10.000Z | 2019-11-23T10:54:50.000Z | src/ts/updateable/character.ts | neverix/jam-2019-03-discord | 0f1af5d4bd45bc484b7b514ee008f1538cfff0d9 | [
"MIT"
] | null | null | null | src/ts/updateable/character.ts | neverix/jam-2019-03-discord | 0f1af5d4bd45bc484b7b514ee008f1538cfff0d9 | [
"MIT"
] | null | null | null | import Vector from "../vector"
import { getRandomName } from "../randomizer"
import { Player } from "./player"
import { rectCollision } from "../collision"
import { QuestionAnswer, questions, Question } from "../question"
import { Buttons } from "../textbox"
declare function require<T>(file: string): T
const texture ... | 36.735294 | 166 | 0.593008 |
002574bedcd2511b5d996bdaaaa0fb00652aa223 | 1,259 | ts | TypeScript | lib/Traits/CatalogMemberReferenceTraits.ts | tokyo-digitaltwin/terriajs | 6a5ac700762efa9af5b080b620509ec5c413d465 | [
"Apache-2.0"
] | 15 | 2021-08-02T14:35:06.000Z | 2022-02-06T16:38:38.000Z | lib/Traits/CatalogMemberReferenceTraits.ts | tokyo-digitaltwin/terriajs | 6a5ac700762efa9af5b080b620509ec5c413d465 | [
"Apache-2.0"
] | null | null | null | lib/Traits/CatalogMemberReferenceTraits.ts | tokyo-digitaltwin/terriajs | 6a5ac700762efa9af5b080b620509ec5c413d465 | [
"Apache-2.0"
] | 1 | 2022-03-25T08:52:21.000Z | 2022-03-25T08:52:21.000Z | import ModelTraits from "./ModelTraits";
import primitiveTrait from "./primitiveTrait";
export default class CatalogMemberReferenceTraits extends ModelTraits {
@primitiveTrait({
name: "Name",
description:
"The name to use for this catalog member before the reference is loaded.",
type: "string"
})... | 24.211538 | 80 | 0.663225 |
0c8321bb6e48e628f4780ac720d387b25e2e7e04 | 1,078 | ts | TypeScript | src/utils.ts | Timsht/tock-react-kit | a5df25b0160f06f03278b80338ca0e8b9794286e | [
"MIT"
] | 11 | 2019-09-13T15:58:11.000Z | 2021-01-27T17:27:30.000Z | src/utils.ts | Timsht/tock-react-kit | a5df25b0160f06f03278b80338ca0e8b9794286e | [
"MIT"
] | 57 | 2019-11-22T14:02:52.000Z | 2022-03-30T12:31:50.000Z | src/utils.ts | Timsht/tock-react-kit | a5df25b0160f06f03278b80338ca0e8b9794286e | [
"MIT"
] | 10 | 2020-01-23T14:26:30.000Z | 2021-11-30T15:29:33.000Z | /**
* Retrieves persisted user id.
*/
export const retrieveUserId: () => string = () =>
fromLocalStorage('userId', () => {
const date = Date.now().toString(36);
const randomNumber = Math.random().toString(36).substr(2, 5);
return (date + randomNumber).toUpperCase();
});
/**
* Retrieves and returns a... | 30.8 | 94 | 0.66141 |
edf009650a73c1b24c62517f01ce291c386c5858 | 390 | ts | TypeScript | src/util/base30.ts | philschatz/auth | 76cd5e22643a9cb31e55823ce0aa6d8ab611d0a6 | [
"MIT"
] | 57 | 2020-12-17T11:35:26.000Z | 2022-03-22T21:17:10.000Z | src/util/base30.ts | philschatz/auth | 76cd5e22643a9cb31e55823ce0aa6d8ab611d0a6 | [
"MIT"
] | 23 | 2020-12-17T21:13:48.000Z | 2022-01-27T12:45:47.000Z | src/util/base30.ts | philschatz/auth | 76cd5e22643a9cb31e55823ce0aa6d8ab611d0a6 | [
"MIT"
] | 7 | 2020-12-17T10:58:58.000Z | 2022-01-11T09:13:50.000Z | const BASE30_ALPHABET = 'abcdefghjkmnpqrsuvwxyz23456789'.split('')
const BASE30_LENGTH = BASE30_ALPHABET.length
export const base30 = {
encode: (bytes: Uint8Array) => {
const toLetter = (n: number) => {
const index = Math.round(((BASE30_LENGTH - 1) * n) / 256)
return BASE30_ALPHABET[index]
}
... | 26 | 67 | 0.641026 |
61c986b52fdb1d6a700bed6c35d8f15810c41b3a | 1,928 | tsx | TypeScript | packages/examples/src/examples/experiments/children-options/index.tsx | virtualstate/x | 7ea08a6ff69db4558b7d532892ff5d29b227169a | [
"MIT"
] | 22 | 2021-05-09T03:06:50.000Z | 2021-12-15T21:25:26.000Z | packages/examples/src/examples/experiments/children-options/index.tsx | virtualstate/x | 7ea08a6ff69db4558b7d532892ff5d29b227169a | [
"MIT"
] | 12 | 2021-05-17T13:11:57.000Z | 2022-03-30T11:19:02.000Z | packages/examples/src/examples/experiments/children-options/index.tsx | virtualstate/x | 7ea08a6ff69db4558b7d532892ff5d29b227169a | [
"MIT"
] | null | null | null | import {ChildrenOptions, ChildrenTransformOptions, h, VNode, createFragment} from "@virtualstate/fringe";
import { domain, input } from "./typing";
function TryItOut(this: { counter?: number }) {
console.log({ TryItOut: this });
this.counter = 0;
console.log({ TryItOutSet: this });
return (
<>
<Child... | 26.777778 | 105 | 0.636929 |
2f7809680a779772c45b0e7a7683f4809dbcf769 | 8,997 | ts | TypeScript | gulpfile.ts | tewl/depot | 4987064a659d8bc3ad956e7b953d58b164238e3e | [
"MIT"
] | 1 | 2019-10-24T14:20:33.000Z | 2019-10-24T14:20:33.000Z | gulpfile.ts | tewl/depot | 4987064a659d8bc3ad956e7b953d58b164238e3e | [
"MIT"
] | 11 | 2019-11-05T12:38:57.000Z | 2022-03-02T05:35:47.000Z | gulpfile.ts | tewl/depot | 4987064a659d8bc3ad956e7b953d58b164238e3e | [
"MIT"
] | null | null | null | import * as path from "path";
import * as _ from "lodash";
import del = require("del");
import chalk = require("chalk");
import { nodeBinForOs, createCmdLaunchScript, makeNodeScriptExecutable } from "./src/nodeUtil";
import { Directory } from "./src/directory";
import { toGulpError } from "./src/gulpHelpers";
import { ... | 31.239583 | 134 | 0.55374 |
2fbf720dceec49d9cd2a067ca7a26450180fbbf2 | 741 | ts | TypeScript | src/modules/companyUsers/companyUser.entity.ts | alibeknow/nestjsboilerplate | cb92280db05d6c9d2b6fc23418c7073e526400ec | [
"MIT"
] | null | null | null | src/modules/companyUsers/companyUser.entity.ts | alibeknow/nestjsboilerplate | cb92280db05d6c9d2b6fc23418c7073e526400ec | [
"MIT"
] | null | null | null | src/modules/companyUsers/companyUser.entity.ts | alibeknow/nestjsboilerplate | cb92280db05d6c9d2b6fc23418c7073e526400ec | [
"MIT"
] | null | null | null | import { Column, Entity, ManyToOne, OneToMany } from 'typeorm';
import { AbstractEntity } from '../../common/abstract.entity';
import { CompanyUsersDto } from './dto/companyUsers.dto';
@Entity({ name: 'companyUsers' })
export class CompanyUsersEntity extends AbstractEntity<CompanyUsersDto> {
@Column({ nullable... | 26.464286 | 74 | 0.662618 |
1ed6b90bbbfd3ef5fb62b828f75a8a94a2b48e97 | 865 | ts | TypeScript | test/ci/Snippets.BasicInsertTest.ts | Muream/oni | 6728b44738cd604b6f64df1675fcc94929e1cf08 | [
"MIT"
] | 8,910 | 2017-11-03T02:04:02.000Z | 2022-03-30T13:02:58.000Z | test/ci/Snippets.BasicInsertTest.ts | Muream/oni | 6728b44738cd604b6f64df1675fcc94929e1cf08 | [
"MIT"
] | 1,750 | 2017-11-03T10:30:21.000Z | 2020-03-31T22:59:48.000Z | test/ci/Snippets.BasicInsertTest.ts | Muream/oni | 6728b44738cd604b6f64df1675fcc94929e1cf08 | [
"MIT"
] | 379 | 2017-11-06T19:04:40.000Z | 2022-03-15T11:37:01.000Z | /**
* Simple snippet insert test case - validate the buffer is set, and that the cursor position is correct.
* This is a very simple case w/o placeholders
*/
import * as assert from "assert"
import * as Oni from "oni-api"
import { createNewFile } from "./Common"
export const test = async (oni: Oni.Plugin.Api) =>... | 30.892857 | 105 | 0.717919 |
48326d73e2ced48fe1c6271710b20dea62216465 | 13,459 | ts | TypeScript | js-api/src/utils.ts | datagrok-ai/public | 9c09a564d24d3a06da0bfadc54b1d2c03abd1f33 | [
"MIT"
] | 18 | 2019-12-25T13:49:35.000Z | 2022-03-31T13:02:37.000Z | js-api/src/utils.ts | datagrok-ai/public | 9c09a564d24d3a06da0bfadc54b1d2c03abd1f33 | [
"MIT"
] | 311 | 2020-07-29T10:37:12.000Z | 2022-03-31T23:55:02.000Z | js-api/src/utils.ts | datagrok-ai/public | 9c09a564d24d3a06da0bfadc54b1d2c03abd1f33 | [
"MIT"
] | 18 | 2020-02-12T13:42:31.000Z | 2022-01-14T09:00:56.000Z | import {Balloon} from './widgets';
import * as rxjs from 'rxjs';
import {toDart, toJs} from './wrappers';
import {Cell, Row} from './dataframe';
import $ from "cash-dom";
let api = <any>window;
export class Utils {
/** @param {Iterable} iterable*/
static firstOrNull<T>(iterable: Iterable<T>): T | null {
let f... | 27.026104 | 121 | 0.605023 |
bb8018fcae6dceae30b823c8b694a5121ef93199 | 1,021 | tsx | TypeScript | client/src/pages/GradeBookPage.tsx | AstR0x/bonch-lab | 473aa1100fd7b96b57fd3cff1c61baeb2ba2b2e6 | [
"MIT"
] | 1 | 2021-07-05T16:08:43.000Z | 2021-07-05T16:08:43.000Z | client/src/pages/GradeBookPage.tsx | AstR0x/bonch-lab | 473aa1100fd7b96b57fd3cff1c61baeb2ba2b2e6 | [
"MIT"
] | null | null | null | client/src/pages/GradeBookPage.tsx | AstR0x/bonch-lab | 473aa1100fd7b96b57fd3cff1c61baeb2ba2b2e6 | [
"MIT"
] | null | null | null | import React, { useEffect } from 'react';
import { useParams } from 'react-router-dom';
import { useDispatch, useSelector } from 'react-redux';
import { Container } from '@material-ui/core';
import { Heading } from '@common/components';
import { groupsSelectors, GradeBookTable } from '@features/groups';
import { dicti... | 30.939394 | 73 | 0.704212 |
ef6035391ffab6082242640bfe2bef7a8614f095 | 2,120 | tsx | TypeScript | src/MoviesCards.tsx | vinkabuki/movies-clash | 949ede75a89ce21bed5497fd06ca6e2c9ae40946 | [
"MIT"
] | null | null | null | src/MoviesCards.tsx | vinkabuki/movies-clash | 949ede75a89ce21bed5497fd06ca6e2c9ae40946 | [
"MIT"
] | null | null | null | src/MoviesCards.tsx | vinkabuki/movies-clash | 949ede75a89ce21bed5497fd06ca6e2c9ae40946 | [
"MIT"
] | null | null | null | import React, { useState, useEffect } from 'react'
import { useSwipeable } from 'react-swipeable'
import styled from 'styled-components'
import MovieCard, { ItemType } from './MovieCard'
import api from './Api'
import { ReactComponent as AcceptButton } from './assets/accept.svg'
import { ReactComponent as RejectButto... | 24.941176 | 71 | 0.624528 |
c2053a699f09c3862b9d90811eefcb4aaacf858f | 15,487 | ts | TypeScript | mobile_reactnative/node_modules/@motify/core/src/types.ts | arthur-timoteo/next-level-week-heat_impulse | ccd1980cb1e836967fee79fcb3a668ebd4317027 | [
"MIT"
] | null | null | null | mobile_reactnative/node_modules/@motify/core/src/types.ts | arthur-timoteo/next-level-week-heat_impulse | ccd1980cb1e836967fee79fcb3a668ebd4317027 | [
"MIT"
] | null | null | null | mobile_reactnative/node_modules/@motify/core/src/types.ts | arthur-timoteo/next-level-week-heat_impulse | ccd1980cb1e836967fee79fcb3a668ebd4317027 | [
"MIT"
] | null | null | null | import type {
SharedValue,
WithDecayConfig,
WithSpringConfig,
WithTimingConfig,
DerivedValue,
} from 'react-native-reanimated'
import type {
PerpectiveTransform,
RotateTransform,
RotateXTransform,
RotateYTransform,
RotateZTransform,
ScaleTransform,
ScaleXTransform,
ScaleYTransform,
Translat... | 33.59436 | 372 | 0.679667 |
c293df3e4f7c07283e27a3d5d407a6c1f067a757 | 1,737 | tsx | TypeScript | ts-example/src/components/TestCollection/MockInstanceProperty/__tests__/index.test.tsx | kostovmichael/react-examples | 882e6702d23d9c836b54940ce93858b927849b17 | [
"MIT"
] | null | null | null | ts-example/src/components/TestCollection/MockInstanceProperty/__tests__/index.test.tsx | kostovmichael/react-examples | 882e6702d23d9c836b54940ce93858b927849b17 | [
"MIT"
] | null | null | null | ts-example/src/components/TestCollection/MockInstanceProperty/__tests__/index.test.tsx | kostovmichael/react-examples | 882e6702d23d9c836b54940ce93858b927849b17 | [
"MIT"
] | null | null | null | import * as React from "react";
import * as Shallow from "react-test-renderer/shallow";
import * as TestUtils from "react-dom/test-utils";
import Component from "..";
describe("component - MockInstanceProperty test suites", () => {
describe("test utils", () => {
const dom: any = {};
let comp: any;
befo... | 30.473684 | 78 | 0.64076 |
c2bb2893e652868922b18a5063521e2daf9d0631 | 1,318 | ts | TypeScript | src/commands/general/verificationinfo.ts | NotMarx/InCaptcha | 8ef332bb1a92f5e0519ac6f35386221bed684ef5 | [
"MIT"
] | 2 | 2020-12-15T09:24:49.000Z | 2020-12-16T09:04:38.000Z | src/commands/general/verificationinfo.ts | NotMarx/InCaptcha | 8ef332bb1a92f5e0519ac6f35386221bed684ef5 | [
"MIT"
] | null | null | null | src/commands/general/verificationinfo.ts | NotMarx/InCaptcha | 8ef332bb1a92f5e0519ac6f35386221bed684ef5 | [
"MIT"
] | null | null | null | import { Command } from "../../interfaces";
import { InteractionDataApplicationCommand } from "detritus-client/lib/structures";
import { InteractionCallbackTypes, MessageFlags } from "detritus-client/lib/constants";
import { Embed } from "detritus-client/lib/utils";
export const command: Command = {
name: "Verific... | 47.071429 | 182 | 0.657815 |
cb9f80babdfa126fbda8e95cd8dff7f473e6bb0f | 2,740 | ts | TypeScript | server/types.ts | kpuwal/Auth0_Hackathon | 209a2b462a142f9da9d48e7d14e8231eee22a742 | [
"PostgreSQL"
] | null | null | null | server/types.ts | kpuwal/Auth0_Hackathon | 209a2b462a142f9da9d48e7d14e8231eee22a742 | [
"PostgreSQL"
] | null | null | null | server/types.ts | kpuwal/Auth0_Hackathon | 209a2b462a142f9da9d48e7d14e8231eee22a742 | [
"PostgreSQL"
] | null | null | null | type ApiNewsResponseStatus = 'ok' | 'error';
type ApiNewsCountry = 'ae' | 'ar' | 'at' | 'au' | 'be' | 'bg' | 'br' | 'ca' | 'ch' | 'cn' | 'co' | 'cu' | 'cz' | 'de' | 'eg' | 'fr' | 'gb' | 'gr' | 'hk' | 'hu' | 'id' | 'ie' | 'il' | 'in' | 'it' | 'jp' | 'kr' | 'lt' | 'lv' | 'ma' | 'mx' | 'my' | 'ng' | 'nl' | 'no' | 'nz' | ... | 22.096774 | 398 | 0.637591 |
4d715f0c9041958af1f557da94b6f3209d2ce1c4 | 120 | ts | TypeScript | packages/store/src/index.ts | korczis/verdaccio | 834528bd2eeba12214daf8cd5b2618b9f75ea3ab | [
"MIT"
] | 1 | 2021-06-02T08:21:43.000Z | 2021-06-02T08:21:43.000Z | packages/store/src/index.ts | korczis/verdaccio | 834528bd2eeba12214daf8cd5b2618b9f75ea3ab | [
"MIT"
] | 45 | 2020-05-04T16:27:40.000Z | 2022-03-19T06:09:08.000Z | packages/store/src/index.ts | korczis/verdaccio | 834528bd2eeba12214daf8cd5b2618b9f75ea3ab | [
"MIT"
] | 1 | 2021-12-06T12:20:39.000Z | 2021-12-06T12:20:39.000Z | export * from './storage';
export * from './metadata-utils';
export * from './storage-utils';
export * from './search';
| 24 | 33 | 0.65 |
31bf9c95b16d2db5f34d639d65861602feec00c5 | 1,994 | tsx | TypeScript | TexDBook/src/ts/client/core/components/views/Home.tsx | kkysen/TexDBook | 61d9db5f00f04b00fd45ef50d0c8df417548d324 | [
"MIT"
] | null | null | null | TexDBook/src/ts/client/core/components/views/Home.tsx | kkysen/TexDBook | 61d9db5f00f04b00fd45ef50d0c8df417548d324 | [
"MIT"
] | 9 | 2018-05-18T16:19:27.000Z | 2022-02-26T03:48:31.000Z | TexDBook/src/ts/client/core/components/views/Home.tsx | kkysen/TexDBook | 61d9db5f00f04b00fd45ef50d0c8df417548d324 | [
"MIT"
] | 1 | 2018-06-14T04:06:14.000Z | 2018-06-14T04:06:14.000Z | import * as React from "react";
import {Component, ReactNode} from "react";
import {named} from "../../../../share/util/decorators/named";
import {Repeat} from "../../../util/components/Repeat";
@named("Home")
export class Home extends Component {
public render(): ReactNode {
const br = (n: number) =... | 39.098039 | 102 | 0.481946 |
d349ee24ecd6bde2d3a7d1882b1ca50fd80ec811 | 872 | ts | TypeScript | __tests__/core/pdf-operators/graphics/path-painting/index.spec.ts | jerp/pdf-lib | 0719c6ce9a8f8b9eb7660c78335b29bce2829452 | [
"MIT"
] | null | null | null | __tests__/core/pdf-operators/graphics/path-painting/index.spec.ts | jerp/pdf-lib | 0719c6ce9a8f8b9eb7660c78335b29bce2829452 | [
"MIT"
] | null | null | null | __tests__/core/pdf-operators/graphics/path-painting/index.spec.ts | jerp/pdf-lib | 0719c6ce9a8f8b9eb7660c78335b29bce2829452 | [
"MIT"
] | null | null | null | // This is required to prevent an error due to circular imports in this test
import 'core/pdf-objects';
import * as PathPaintingOps from 'core/pdf-operators/graphics/path-painting';
import pdfOperatorSingletonTest from '../../PDFOperatorSingletonTest';
pdfOperatorSingletonTest('S', 'S', PathPaintingOps.S);
pdfOpera... | 32.296296 | 77 | 0.767202 |
d3f70157954030eb19a71f180d38d62518c9946f | 1,896 | ts | TypeScript | src/test/javascript/spec/app/entities/nap/nap-detail.component.spec.ts | brandonp2412/nap-graph | d7c42503c28e5ef359cec37fce7060229424a68b | [
"MIT"
] | null | null | null | src/test/javascript/spec/app/entities/nap/nap-detail.component.spec.ts | brandonp2412/nap-graph | d7c42503c28e5ef359cec37fce7060229424a68b | [
"MIT"
] | 5 | 2020-09-06T02:45:14.000Z | 2022-03-17T22:24:20.000Z | src/test/javascript/spec/app/entities/nap/nap-detail.component.spec.ts | brandonp2412/nap-graph | d7c42503c28e5ef359cec37fce7060229424a68b | [
"MIT"
] | null | null | null | /* tslint:disable max-line-length */
import { ComponentFixture, TestBed, async } from '@angular/core/testing';
import { HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs/Observable';
import { NapChartTestModule } from '../../../test.module';
import { NapDetailComponent } from '../../../../..... | 34.472727 | 105 | 0.544304 |
bcb69036501736d754ad0a725eb4c3910f817169 | 1,088 | tsx | TypeScript | frontend/components/forms/input/component.tsx | Vizzuality/tota | f0f759ac52413d3abef16a4a60ce5b43a2bed4ae | [
"MIT"
] | null | null | null | frontend/components/forms/input/component.tsx | Vizzuality/tota | f0f759ac52413d3abef16a4a60ce5b43a2bed4ae | [
"MIT"
] | 75 | 2021-05-05T15:03:20.000Z | 2022-03-25T11:58:11.000Z | frontend/components/forms/input/component.tsx | Vizzuality/tota | f0f759ac52413d3abef16a4a60ce5b43a2bed4ae | [
"MIT"
] | null | null | null | import { FC } from 'react';
import cx from 'classnames';
import Icon from 'components/icon';
import type { InputProps } from './types';
import useStatus from '../utils';
import { THEME } from './constants';
export const Input: FC<InputProps> = ({
theme = 'light',
mode = 'normal',
disabled = false,
type = 'tex... | 20.923077 | 79 | 0.51011 |
dc294fe761b0d966bdd91e0907a451c8d634653d | 156 | ts | TypeScript | src/model/index.ts | ksm2/lohnsteuer | 9fca754a6e7f0057706d586a38ea3d99816330bc | [
"MIT"
] | 1 | 2019-03-05T21:51:45.000Z | 2019-03-05T21:51:45.000Z | src/model/index.ts | ksm2/lohnsteuer | 9fca754a6e7f0057706d586a38ea3d99816330bc | [
"MIT"
] | null | null | null | src/model/index.ts | ksm2/lohnsteuer | 9fca754a6e7f0057706d586a38ea3d99816330bc | [
"MIT"
] | 2 | 2020-07-19T08:43:09.000Z | 2022-01-12T15:38:10.000Z | export { Bundesland } from './Bundesland'
export { Input } from './Input'
export { isWestGermany } from './isWestGermany'
export { Output } from './Output'
| 31.2 | 47 | 0.692308 |
78e1f3576b5ff0ca35df0c78dfd478717f8a1b54 | 1,462 | ts | TypeScript | src/util.ts | WatDuhHekBro/OnionLasers | 178f483063a378b7830cdeab369a9b276e6a884d | [
"MIT"
] | 4 | 2021-04-26T11:30:10.000Z | 2021-09-19T13:31:14.000Z | src/util.ts | lexisother/OnionLasers | 178f483063a378b7830cdeab369a9b276e6a884d | [
"MIT"
] | null | null | null | src/util.ts | lexisother/OnionLasers | 178f483063a378b7830cdeab369a9b276e6a884d | [
"MIT"
] | 1 | 2021-09-19T13:15:33.000Z | 2021-09-19T13:15:33.000Z | /**
* Allows you to store a template string with variable markers and parse it later.
* - Use `%name%` for variables
* - `%%` = `%`
* - If the invalid token is null/undefined, nothing is changed.
*/
export function parseVars(line: string, definitions: {[key: string]: string}, invalid: string | null = ""): string {... | 34.809524 | 144 | 0.574555 |
60791afa48827245b4f8dadccd33f4cad5bf901c | 456 | ts | TypeScript | packages/core/src/common/types/literals.ts | yashmahalwal/nirikshak | f222975513d070e88f43202b27e79c0913ed5aae | [
"MIT"
] | 1 | 2021-03-22T16:25:14.000Z | 2021-03-22T16:25:14.000Z | packages/core/src/common/types/literals.ts | pawelparker/Nirikshak | 89ca3bc75c13fa9409f69f75d6bd0fec41f963e4 | [
"MIT"
] | 2 | 2021-09-02T10:24:04.000Z | 2022-01-22T11:48:26.000Z | packages/core/src/common/types/literals.ts | yashmahalwal/nirikshak | f222975513d070e88f43202b27e79c0913ed5aae | [
"MIT"
] | null | null | null | /* Literals that can be provided to describe the resource */
// Basic literal type
// Ex: 1, false, null, "myString"
export type Literal = string | number | null | boolean;
// type guard: Literal
export function isLiteral(input: any): input is Literal {
const c = typeof input;
switch (c) {
case "numbe... | 24 | 60 | 0.592105 |
94e969c0bf1615ec3011a851462640c8bb92249e | 1,817 | ts | TypeScript | src/providers/handlerImplementationProvider/handlerImplementationProvider.ts | delphiak/vscode-mediatr | 038ce3b08f758d67cb33c0188c1de549fad5065d | [
"MIT"
] | null | null | null | src/providers/handlerImplementationProvider/handlerImplementationProvider.ts | delphiak/vscode-mediatr | 038ce3b08f758d67cb33c0188c1de549fad5065d | [
"MIT"
] | 1 | 2021-05-10T02:18:48.000Z | 2021-05-10T02:18:48.000Z | src/providers/handlerImplementationProvider/handlerImplementationProvider.ts | delphiak/vscode-mediatr | 038ce3b08f758d67cb33c0188c1de549fad5065d | [
"MIT"
] | null | null | null | import * as vsc from 'vscode';
import * as cfg from '../../config/extensionConfig';
import * as fs from 'fs';
import { HandlerImplementationLineLocator } from './handlerImplementationLineLocator';
export class HandlerImplementationProvider implements vsc.ImplementationProvider {
constructor(
private configProvider... | 31.877193 | 145 | 0.740231 |
a2022c0edf45d261f3ae0c0a8d29d7520a186df6 | 1,689 | ts | TypeScript | DFE_Personality_Dev/DFE_Personality_Dev/node_modules/botbuilder-dialogs-adaptive/lib/actions/repeatDialog.d.ts | danfernau/PersonalityAdaptiveChatbot | 1a1c9e6d6809f3fee62c4ccf63b0cba9c4245075 | [
"MIT"
] | null | null | null | DFE_Personality_Dev/DFE_Personality_Dev/node_modules/botbuilder-dialogs-adaptive/lib/actions/repeatDialog.d.ts | danfernau/PersonalityAdaptiveChatbot | 1a1c9e6d6809f3fee62c4ccf63b0cba9c4245075 | [
"MIT"
] | null | null | null | DFE_Personality_Dev/DFE_Personality_Dev/node_modules/botbuilder-dialogs-adaptive/lib/actions/repeatDialog.d.ts | danfernau/PersonalityAdaptiveChatbot | 1a1c9e6d6809f3fee62c4ccf63b0cba9c4245075 | [
"MIT"
] | null | null | null | /**
* @module botbuilder-dialogs-adaptive
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { BaseInvokeDialog, BaseInvokeDialogConfiguration } from './baseInvokeDialog';
import { BoolExpression } from 'adaptive-expressions';
import { BoolProperty } from... | 43.307692 | 123 | 0.737715 |
03a29f986af74bf68b374d53c80cf47ca2f97efe | 354 | ts | TypeScript | src/main.ts | DanielEverling/loan | 411044f55bf86e848477f457b9ef6e0df5866991 | [
"MIT"
] | 2 | 2021-12-27T00:34:50.000Z | 2021-12-27T14:41:57.000Z | src/main.ts | DanielEverling/loan | 411044f55bf86e848477f457b9ef6e0df5866991 | [
"MIT"
] | null | null | null | src/main.ts | DanielEverling/loan | 411044f55bf86e848477f457b9ef6e0df5866991 | [
"MIT"
] | null | null | null | import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
import { Sequelize } from 'sequelize';
export const sequelize = new Sequelize({
dialect: 'sqlite',
// storage: 'path/to/database.sqlite'
});
async function bootstrap() {
const app = await NestFactory.create(AppModule);
await... | 23.6 | 50 | 0.69774 |
0f90011a9e169b3e0ce5d1274075bdd1c690c838 | 2,217 | ts | TypeScript | server_src/eclipse.ts | BoutProduction/in2rp_homepage | fdcfcd5df2ad38178d09ab773d0d34593f08592b | [
"MIT"
] | 4 | 2019-01-26T19:34:14.000Z | 2021-11-19T13:18:54.000Z | server_src/eclipse.ts | Aktyn/xrp_homepage | fdcfcd5df2ad38178d09ab773d0d34593f08592b | [
"MIT"
] | 7 | 2021-03-08T23:27:23.000Z | 2022-02-26T08:03:27.000Z | server_src/eclipse.ts | Aktyn/xrp_homepage | fdcfcd5df2ad38178d09ab773d0d34593f08592b | [
"MIT"
] | 4 | 2019-06-11T11:49:55.000Z | 2021-05-17T01:35:55.000Z | import Utils from './utils';
var current_timeouts: number[] | undefined[] = new Array(Utils.ISLANDS).fill(undefined);
var next_eclipse_timestamps: number[] = new Array(Utils.ISLANDS).fill(0);
const periods = [30, 15, 10, 5, 2, 1];
interface PeriodListener {
callback: (time: number) => void;
isl_index: number;
na... | 27.37037 | 94 | 0.688769 |
582b1b412ba14f70592f7277e8e59bb40064477d | 3,386 | ts | TypeScript | demo/app/delegate.ts | brendtumi/nativescript-call | 2b0af9428a1a8b127bc04fa9fb843612f5e1979f | [
"Apache-2.0"
] | null | null | null | demo/app/delegate.ts | brendtumi/nativescript-call | 2b0af9428a1a8b127bc04fa9fb843612f5e1979f | [
"Apache-2.0"
] | null | null | null | demo/app/delegate.ts | brendtumi/nativescript-call | 2b0af9428a1a8b127bc04fa9fb843612f5e1979f | [
"Apache-2.0"
] | null | null | null | /// <reference path="../node_modules/tns-platform-declarations/ios.d.ts" />
import { TNSCall } from "nativescript-call";
const tnsCall = new TNSCall();
export class CustomAppDelegate extends UIResponder
implements UIApplicationDelegate, PKPushRegistryDelegate {
public static ObjCProtocols = [UIApplicationDelegate... | 40.795181 | 257 | 0.707324 |
5c8fd767e8ebef0755d57a8e69680bd6d4205839 | 3,539 | ts | TypeScript | src/angular/schematics/ng-add/migrations/i18n-import-migration.ts | julienje/sbb-angular | a52fffc761b76bc68b4dbe18cbfc981a1c853e5e | [
"Apache-2.0"
] | null | null | null | src/angular/schematics/ng-add/migrations/i18n-import-migration.ts | julienje/sbb-angular | a52fffc761b76bc68b4dbe18cbfc981a1c853e5e | [
"Apache-2.0"
] | 2 | 2022-03-23T14:00:17.000Z | 2022-03-23T14:06:40.000Z | src/angular/schematics/ng-add/migrations/i18n-import-migration.ts | julienje/sbb-angular | a52fffc761b76bc68b4dbe18cbfc981a1c853e5e | [
"Apache-2.0"
] | null | null | null | import { ProjectDefinition } from '@angular-devkit/core/src/workspace';
import { chain, Rule, SchematicContext, Tree } from '@angular-devkit/schematics';
import { getProjectFromWorkspace, getProjectMainFile } from '@angular/cdk/schematics';
import { getWorkspace, updateWorkspace } from '@schematics/angular/utility/work... | 35.747475 | 124 | 0.624753 |
109a4a40e588f08417eff7864dd1d9d485ef56ed | 700 | ts | TypeScript | src/types/config.ts | MvDDev/AlteracValleyPremadeHelper | 1cf0493cfb568516b9b677dde521d67182a6b7d6 | [
"0BSD"
] | null | null | null | src/types/config.ts | MvDDev/AlteracValleyPremadeHelper | 1cf0493cfb568516b9b677dde521d67182a6b7d6 | [
"0BSD"
] | null | null | null | src/types/config.ts | MvDDev/AlteracValleyPremadeHelper | 1cf0493cfb568516b9b677dde521d67182a6b7d6 | [
"0BSD"
] | null | null | null | export default class Config {
postResultsDelay!: number;
avIdMax!: number;
numbersChannel!: string;
nicknameMask!: string;
minPlayers!: number;
minHealers!: number;
minTanks!: number;
constructor(postResultsDelay?: number, avIdMax?: number, numbersChannel?: string, nicknameMask?: string, minPlayers?: n... | 36.842105 | 169 | 0.68 |
10b0c4b5dc45ec2f4a4e59f6d1537b96d5787fa1 | 1,401 | ts | TypeScript | client/src/store/wishList/wishLogic.ts | AnGeL991/Shop | 93d7d08af13786a3b1af5275ceb99f5711d45b0a | [
"MIT"
] | null | null | null | client/src/store/wishList/wishLogic.ts | AnGeL991/Shop | 93d7d08af13786a3b1af5275ceb99f5711d45b0a | [
"MIT"
] | null | null | null | client/src/store/wishList/wishLogic.ts | AnGeL991/Shop | 93d7d08af13786a3b1af5275ceb99f5711d45b0a | [
"MIT"
] | null | null | null | import { AnyAction } from "redux";
import { WishState } from "./types";
export class WishReduxProcessor {
static loadRequest(state: WishState, action: AnyAction) {
return { ...state, loading: true };
}
static loadSuccess(state: WishState, action: AnyAction) {
return { ...state, loading: false, data: [...... | 26.433962 | 74 | 0.604568 |
44378ba67510859fa1448b407c0bb8c2f4d92528 | 2,232 | ts | TypeScript | src/api/api.ts | StanisGawronsky/swapi-star-wars-battle-game | be4aa5125c0165b767249cffea4b51205a89f813 | [
"MIT"
] | null | null | null | src/api/api.ts | StanisGawronsky/swapi-star-wars-battle-game | be4aa5125c0165b767249cffea4b51205a89f813 | [
"MIT"
] | null | null | null | src/api/api.ts | StanisGawronsky/swapi-star-wars-battle-game | be4aa5125c0165b767249cffea4b51205a89f813 | [
"MIT"
] | null | null | null | import axios from "axios";
import { parseConsumablesToNumber, parseStringToNumber } from "../helpers";
import { ResponseTypeChampion, ResponseTypeStarships } from "../types";
const url = encodeURI("https://swapi.dev/api/");
export const getStarships = async (): Promise<ResponseTypeStarships[]> => {
return axios
... | 34.338462 | 79 | 0.621416 |
d2c928d5e697fe3bff902f8a85698d4b7bcbf1b5 | 10,386 | ts | TypeScript | src/compose/types/record.ts | theWindSweptDev/corteza-js | b4667c5daa83094cdd8ba925c5cc68daaeaf85db | [
"Apache-2.0"
] | 7 | 2020-08-27T13:16:40.000Z | 2021-12-07T00:49:28.000Z | src/compose/types/record.ts | theWindSweptDev/corteza-js | b4667c5daa83094cdd8ba925c5cc68daaeaf85db | [
"Apache-2.0"
] | 20 | 2020-02-10T12:34:12.000Z | 2021-09-14T13:39:41.000Z | src/compose/types/record.ts | theWindSweptDev/corteza-js | b4667c5daa83094cdd8ba925c5cc68daaeaf85db | [
"Apache-2.0"
] | 21 | 2020-08-08T23:06:04.000Z | 2022-03-25T14:38:47.000Z | /* eslint-disable @typescript-eslint/ban-ts-ignore */
import { AreObjectsOf, IsOf } from '../../guards'
import { Apply, CortezaID, ISO8601Date, NoID } from '../../cast'
import { Module } from './module'
import { Namespace } from './namespace'
const fieldIndex = Symbol('fieldIndex')
const propModule = Symbol('module')
... | 24.553191 | 107 | 0.597054 |
965683dfe47e7c8ddbe27471da4e56a2b89caec4 | 8,730 | ts | TypeScript | BackEnd/src/controllers/CarerController.ts | parkinson-s-app/parkinsons-app | 08b131a9255637414af4f23a7411e20307acc202 | [
"MIT"
] | null | null | null | BackEnd/src/controllers/CarerController.ts | parkinson-s-app/parkinsons-app | 08b131a9255637414af4f23a7411e20307acc202 | [
"MIT"
] | 2 | 2021-05-24T09:08:06.000Z | 2021-06-08T00:49:14.000Z | BackEnd/src/controllers/CarerController.ts | parkinson-s-app/parkinsons-app | 08b131a9255637414af4f23a7411e20307acc202 | [
"MIT"
] | 1 | 2021-04-17T18:03:43.000Z | 2021-04-17T18:03:43.000Z | import debugLib from 'debug';
import { Request, Response, Router } from 'express';
import { constants } from 'http2';
import CarerService from '../services/CarerService';
import PatientService from '../services/PatientService';
import { getIdFromToken, verifyToken } from '../utilities/AuthUtilities';
const debug = deb... | 46.684492 | 106 | 0.586369 |
c4a21789465e2de585cf0d15a14aa10a5eaac48d | 4,590 | ts | TypeScript | test/commands/editSession.spec.ts | ianw11/DraftLobbyBot | c0dd30ad3cded08bfd9cac6b57a55d34ffac7c13 | [
"MIT"
] | null | null | null | test/commands/editSession.spec.ts | ianw11/DraftLobbyBot | c0dd30ad3cded08bfd9cac6b57a55d34ffac7c13 | [
"MIT"
] | 14 | 2020-08-27T18:51:14.000Z | 2022-01-03T00:07:44.000Z | test/commands/editSession.spec.ts | ianw11/DraftLobbyBot | c0dd30ad3cded08bfd9cac6b57a55d34ffac7c13 | [
"MIT"
] | null | null | null | import _EditSession from "../../src/commands/editSession";
import setup, { buildContext, MocksInterface } from "../setup.spec";
import { expect } from "../chaiAsync.spec";
import { testCommand } from "./models/Command.spec";
import { mockConstants } from "../TestHelpers.spec";
import { Snowflake } from "discord.js";
c... | 37.622951 | 216 | 0.567102 |
04819a822eac751a7919ce5c66663e30c534eb29 | 65 | ts | TypeScript | src/core/client/admin/routes/Invite/index.ts | twct/talk | a7eb757be74bf86321aac79764b924763930b830 | [
"Apache-2.0"
] | 1,877 | 2016-10-29T15:57:15.000Z | 2022-03-31T03:53:11.000Z | src/core/client/admin/routes/Invite/index.ts | twct/talk | a7eb757be74bf86321aac79764b924763930b830 | [
"Apache-2.0"
] | 1,635 | 2016-10-27T14:45:46.000Z | 2022-03-30T15:09:17.000Z | src/core/client/admin/routes/Invite/index.ts | twct/talk | a7eb757be74bf86321aac79764b924763930b830 | [
"Apache-2.0"
] | 464 | 2016-10-24T21:23:12.000Z | 2022-03-30T12:11:45.000Z | export { default, default as InviteRoute } from "./InviteRoute";
| 32.5 | 64 | 0.738462 |
0b4e3f7f889f03c783ac8c87d408a766e0e42ce4 | 651 | ts | TypeScript | src/user/user.service.ts | maylynn-ng/beerb-backend | dd47cba4df03f9d4bc2f8bd569a7eda5a114db87 | [
"MIT"
] | null | null | null | src/user/user.service.ts | maylynn-ng/beerb-backend | dd47cba4df03f9d4bc2f8bd569a7eda5a114db87 | [
"MIT"
] | null | null | null | src/user/user.service.ts | maylynn-ng/beerb-backend | dd47cba4df03f9d4bc2f8bd569a7eda5a114db87 | [
"MIT"
] | null | null | null | import { Injectable } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { Repository } from 'typeorm';
import { User } from './user.entity';
@Injectable()
export class UserService {
constructor(
@InjectRepository(User)
private readonly userRepository: Repository<User>,
) {}
... | 26.04 | 58 | 0.665131 |
3aca07e47830eca523082f0423157c2637d10851 | 707 | ts | TypeScript | projects/itm-core/src/lib/type.ts | guduf/itm | e5cc47867b1d13fd774263d04e276ce0a3d50179 | [
"MIT"
] | null | null | null | projects/itm-core/src/lib/type.ts | guduf/itm | e5cc47867b1d13fd774263d04e276ce0a3d50179 | [
"MIT"
] | null | null | null | projects/itm-core/src/lib/type.ts | guduf/itm | e5cc47867b1d13fd774263d04e276ce0a3d50179 | [
"MIT"
] | null | null | null | import { Map, RecordOf } from 'immutable';
import Grid from './grid';
import Form from './form';
import Prop from './prop';
import Table from './table';
export type ItmType<I extends Object = {}> = RecordOf<ItmType.Model<I>>;
export module ItmType {
export interface Config<I extends Object = {}> {
target?: any... | 21.424242 | 72 | 0.630835 |
639d454a67ed87e3f2eb75340c4a26585c7272eb | 2,898 | ts | TypeScript | src/State.ts | simmsa/dark-mode | a1925dd72280adde6274c9171969262a5c479bda | [
"MIT"
] | null | null | null | src/State.ts | simmsa/dark-mode | a1925dd72280adde6274c9171969262a5c479bda | [
"MIT"
] | null | null | null | src/State.ts | simmsa/dark-mode | a1925dd72280adde6274c9171969262a5c479bda | [
"MIT"
] | null | null | null | /*
* ____ _ __ __ _
* | _ \ __ _ _ __| | __ | \/ | ___ __| | ___
* | | | |/ _` | '__| |/ / | |\/| |/ _ \ / _` |/ _ \
* | |_| | (_| | | | < | | | | (_) | (_| | __/
* |____/ \__,_|_| |_|\_\ |_| |_|\___/ \__,_|\___|
*
* Copyright (c) 2015-present, Andrew Simms
* Author: A... | 39.69863 | 83 | 0.692892 |
ea0f57c67a15bae9768ac60b2b31a4df5c5b75f6 | 816 | ts | TypeScript | tests/constIf.spec.ts | Raiondesu/if-const | 2b0b6fbfe738328f3c6a5d227ddde31c16146d7b | [
"MIT"
] | null | null | null | tests/constIf.spec.ts | Raiondesu/if-const | 2b0b6fbfe738328f3c6a5d227ddde31c16146d7b | [
"MIT"
] | null | null | null | tests/constIf.spec.ts | Raiondesu/if-const | 2b0b6fbfe738328f3c6a5d227ddde31c16146d7b | [
"MIT"
] | null | null | null | import { constIf } from '../src';
import { cases } from './cases';
import { callback, TestFunc, testRes } from './common';
const testConstIf: TestFunc = (f, value, ret, comp = _ => !!_) => {
const cb = callback(value, ret, comp);
testRes(value, f(cb(true), cb(false))(value), ret, false, comp);
testRes(value, f(... | 28.137931 | 71 | 0.571078 |
092014456a06e634d214453ebb183ca79c33dd26 | 443 | ts | TypeScript | src/message/message.entity.ts | dcaudillo99/chatroom-service | b94f3b337db65a4eac133394c126ee3bf6e88766 | [
"MIT"
] | null | null | null | src/message/message.entity.ts | dcaudillo99/chatroom-service | b94f3b337db65a4eac133394c126ee3bf6e88766 | [
"MIT"
] | null | null | null | src/message/message.entity.ts | dcaudillo99/chatroom-service | b94f3b337db65a4eac133394c126ee3bf6e88766 | [
"MIT"
] | null | null | null | import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm';
@Entity()
export class Message {
@PrimaryGeneratedColumn('uuid')
public id: string;
@Column({
type: 'varchar',
length: 255,
nullable: false,
})
sender: string;
@Column({
type: 'varchar',
length: 255,
nullable: false... | 15.821429 | 65 | 0.607223 |
09f1210ed258f763966656dcc4cf140e37db76fe | 728 | tsx | TypeScript | react-native-official/docs/sandbox/src/screens/api/apis/ShareScreen.tsx | dodo-lab/study | 01155d9dda51c798c2771c80cd54ff933e86497e | [
"MIT"
] | null | null | null | react-native-official/docs/sandbox/src/screens/api/apis/ShareScreen.tsx | dodo-lab/study | 01155d9dda51c798c2771c80cd54ff933e86497e | [
"MIT"
] | null | null | null | react-native-official/docs/sandbox/src/screens/api/apis/ShareScreen.tsx | dodo-lab/study | 01155d9dda51c798c2771c80cd54ff933e86497e | [
"MIT"
] | null | null | null | import React from 'react';
import {Alert, Share, StyleSheet, View} from 'react-native';
import {Button, Text} from 'react-native-elements';
const Screen: React.FC = () => {
const handleShare = async () => {
try {
await Share.share({message: 'Share Message', title: 'Share Title'});
} catch (error) {
... | 20.222222 | 74 | 0.605769 |
24970b1395c9f3981198d52644039ef1fe0bfa53 | 125 | ts | TypeScript | src/core/vm/VMType.ts | phantasma-io/phantasma-ts | 5b529f9f897d0bd06b8a92225969d2542672e519 | [
"Apache-2.0"
] | null | null | null | src/core/vm/VMType.ts | phantasma-io/phantasma-ts | 5b529f9f897d0bd06b8a92225969d2542672e519 | [
"Apache-2.0"
] | null | null | null | src/core/vm/VMType.ts | phantasma-io/phantasma-ts | 5b529f9f897d0bd06b8a92225969d2542672e519 | [
"Apache-2.0"
] | 2 | 2021-11-26T06:11:47.000Z | 2022-01-27T01:49:49.000Z | export enum VMType
{
None,
Struct,
Bytes,
Number,
String,
Timestamp,
Bool,
Enum,
Object
} | 10.416667 | 18 | 0.528 |
e993a89c1827f9faf649173e528dfaab321fbf48 | 113,525 | ts | TypeScript | src/constants/property-metadata.constants.ts | US-EPA-CAMD/easey-common | 6dc5785f034b8330d7fedbf7ace4152b0a167120 | [
"MIT"
] | null | null | null | src/constants/property-metadata.constants.ts | US-EPA-CAMD/easey-common | 6dc5785f034b8330d7fedbf7ace4152b0a167120 | [
"MIT"
] | 33 | 2021-11-03T21:26:16.000Z | 2022-03-23T17:56:51.000Z | src/constants/property-metadata.constants.ts | US-EPA-CAMD/easey-common | 6dc5785f034b8330d7fedbf7ace4152b0a167120 | [
"MIT"
] | null | null | null | export const propertyMetadata = {
accountName: {
fieldLabels: {
label: "Account Name",
value: "accountName",
},
description: "The name of the account in which allowances are held.",
example: "Barry",
},
accountNumber: {
fieldLabels: {
label: "Account Number",
value: "ac... | 26.049793 | 548 | 0.630487 |
13cbce3b4f02ef8561125b2e0609d19cbb0bf710 | 133 | ts | TypeScript | packages/augur-ui/src/modules/app/actions/check-if-mainnet.ts | mjgiannelli/augur | c10763a8a184132fde8cf9c003f1dbf26c15a8e4 | [
"MIT"
] | 1 | 2022-01-05T23:11:08.000Z | 2022-01-05T23:11:08.000Z | packages/augur-ui/src/modules/app/actions/check-if-mainnet.ts | mjgiannelli/augur | c10763a8a184132fde8cf9c003f1dbf26c15a8e4 | [
"MIT"
] | null | null | null | packages/augur-ui/src/modules/app/actions/check-if-mainnet.ts | mjgiannelli/augur | c10763a8a184132fde8cf9c003f1dbf26c15a8e4 | [
"MIT"
] | 3 | 2020-08-18T18:44:54.000Z | 2020-08-24T07:02:19.000Z | import { getNetworkId } from 'modules/contracts/actions/contractCalls';
export const checkIfMainnet = () => getNetworkId() === '1';
| 33.25 | 71 | 0.721805 |
17489f7bb7775bd2de5495d71618f10fbcbc3bf7 | 1,086 | ts | TypeScript | Miscellaneous/typescript/index.ts | zizifn/thoughts | 70fd0606f39f5513d9df8bfc89ccc277c4168199 | [
"CC-BY-4.0"
] | null | null | null | Miscellaneous/typescript/index.ts | zizifn/thoughts | 70fd0606f39f5513d9df8bfc89ccc277c4168199 | [
"CC-BY-4.0"
] | 10 | 2019-07-20T09:44:49.000Z | 2022-01-02T18:31:04.000Z | Miscellaneous/typescript/index.ts | zizifn/thoughts | 70fd0606f39f5513d9df8bfc89ccc277c4168199 | [
"CC-BY-4.0"
] | 1 | 2020-12-05T08:14:00.000Z | 2020-12-05T08:14:00.000Z | export interface BookLibrary {
"/book": {
get: () => void;
};
"/book/{bookId}": {
delete?: () => void;
};
"/book/{bookId}/bar/{barId}": {
delete?: () => void;
};
}
type PathParamter<TPath extends string> =
TPath extends `${infer Head}/{${infer Parameter}}${infer Tail}`
? [st... | 26.487805 | 147 | 0.627072 |
37d51616a3ec53a4f312af86454827a4faf616f8 | 571 | ts | TypeScript | packages/core/src/slate/transforms/moveNodes.ts | zbeyens/slate-plugins-next | 72c77c1c37c5706279606d9fd26611e7a8a6b37b | [
"MIT"
] | 96 | 2019-12-30T03:05:40.000Z | 2020-05-29T13:34:56.000Z | packages/core/src/slate/transforms/moveNodes.ts | zbeyens/slate-plugins-next | 72c77c1c37c5706279606d9fd26611e7a8a6b37b | [
"MIT"
] | 121 | 2019-12-13T23:02:37.000Z | 2020-05-31T22:30:32.000Z | packages/core/src/slate/transforms/moveNodes.ts | zbeyens/slate-plugins-next | 72c77c1c37c5706279606d9fd26611e7a8a6b37b | [
"MIT"
] | 18 | 2019-12-12T21:42:59.000Z | 2020-05-29T13:35:07.000Z | import { Transforms } from 'slate';
import { Modify } from '../../common/types/utility/types';
import { TEditor, Value } from '../editor/TEditor';
import { NodeMatchOption } from '../types/NodeMatchOption';
export type MoveNodesOptions<V extends Value = Value> = Modify<
NonNullable<Parameters<typeof Transforms.moveN... | 31.722222 | 63 | 0.712785 |
255fe5c56ed5d79f5806db246a720efd7e8517ac | 154 | ts | TypeScript | packages/react.core/src/core/react-types.ts | gavar/mvcs | b79d264fd26b1ba8d71593cdd4da46ce24de28b6 | [
"0BSD"
] | null | null | null | packages/react.core/src/core/react-types.ts | gavar/mvcs | b79d264fd26b1ba8d71593cdd4da46ce24de28b6 | [
"0BSD"
] | 3 | 2020-09-07T01:29:37.000Z | 2022-01-22T13:41:20.000Z | packages/react.core/src/core/react-types.ts | gavar/mvcs | b79d264fd26b1ba8d71593cdd4da46ce24de28b6 | [
"0BSD"
] | null | null | null | const hasSymbol = typeof Symbol === "function" && Symbol.for;
export const REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for("react.forward_ref") : 0xead0;
| 51.333333 | 91 | 0.753247 |
72aca669a5315ef8e8d2621c4e26b0011643a9fb | 302 | ts | TypeScript | state/store.ts | topotopo/med-shelf-app-react-native-redux | 49915d6d0e746a0b8791fb94744691d509e6794f | [
"MIT"
] | null | null | null | state/store.ts | topotopo/med-shelf-app-react-native-redux | 49915d6d0e746a0b8791fb94744691d509e6794f | [
"MIT"
] | null | null | null | state/store.ts | topotopo/med-shelf-app-react-native-redux | 49915d6d0e746a0b8791fb94744691d509e6794f | [
"MIT"
] | null | null | null | import { combineReducers, createStore } from 'redux'
import { AppState } from './type'
import { Store } from 'redux'
import { medicineList } from './medicine-list/reducer'
const combinedReducer = combineReducers({ medicineList }) //Add reducers here
export const store = createStore(combinedReducer) | 33.555556 | 77 | 0.754967 |
a1d487ad1af991e5e0f371f25552ac41654ae4c2 | 461 | ts | TypeScript | src/index.ts | KyleMit/git-for-each | ac35606688cc058587e101fdfadb05a5292f3f6d | [
"MIT"
] | 1 | 2022-01-25T01:32:40.000Z | 2022-01-25T01:32:40.000Z | src/index.ts | KyleMit/git-dirs | ac35606688cc058587e101fdfadb05a5292f3f6d | [
"MIT"
] | null | null | null | src/index.ts | KyleMit/git-dirs | ac35606688cc058587e101fdfadb05a5292f3f6d | [
"MIT"
] | null | null | null | #!/usr/bin/env node
import { program } from 'commander';
import { commands } from './commands';
import { printDim, gitDirsDisplay } from "./utils";
import { version } from "../package.json";
export const main = async () => {
commands.forEach((cmd) => program.addCommand(cmd) )
program.addHelpText('before', pr... | 21.952381 | 59 | 0.642082 |
144c8792c3f10ab7f94ba259abd1e7baeb078736 | 1,214 | ts | TypeScript | packages/sparrow/src/behavior.ts | Wiredcraft/miniprogram-tools | 06c4edad1e0c40d7e87f64fcb251f2f64556077d | [
"MIT"
] | 2 | 2021-03-24T07:38:17.000Z | 2021-07-20T08:49:55.000Z | packages/sparrow/src/behavior.ts | Wiredcraft/miniprogram-tools | 06c4edad1e0c40d7e87f64fcb251f2f64556077d | [
"MIT"
] | 3 | 2021-03-24T07:40:04.000Z | 2021-03-28T06:49:34.000Z | packages/sparrow/src/behavior.ts | Wiredcraft/miniprogram-tools | 06c4edad1e0c40d7e87f64fcb251f2f64556077d | [
"MIT"
] | 2 | 2021-06-30T08:37:12.000Z | 2022-03-30T07:23:12.000Z | import { dset } from "dset";
const SparrowAttach = "__SparrowAttach";
const SparrowDetach = "__SparrowDetach";
const SparrowUnsubs = "__SparrowUnsubs";
export const behavior = Behavior({
definitionFilter(config) {
// @ts-ignore atoms could be a custom property
const atoms = config.atoms;
if (!atoms) re... | 23.803922 | 66 | 0.561779 |
a69d585dc2b6c26d17b76427c1eb6e676c7905ec | 2,158 | ts | TypeScript | src/utils.ts | mame/xterm-pty | 4424b40ad7b5985e217b9aabc74ed3aa3678275b | [
"MIT"
] | 5 | 2022-02-18T10:48:32.000Z | 2022-03-24T18:32:26.000Z | src/utils.ts | mame/xterm-pty | 4424b40ad7b5985e217b9aabc74ed3aa3678275b | [
"MIT"
] | null | null | null | src/utils.ts | mame/xterm-pty | 4424b40ad7b5985e217b9aabc74ed3aa3678275b | [
"MIT"
] | null | null | null | export const BS = 8;
export const TAB = 9;
export const NL = 10;
export const CR = 13;
export const SP = 32;
export const isalnum = (c: number) =>
(0x30 <= c && c <= 0x39) ||
(0x41 <= c && c <= 0x5a) ||
c == 0x5f ||
(0x61 <= c && c <= 0x7a);
export const iscntrl = (c: number) =>
(0x00 <= c && c <= 0x1f && c ... | 29.561644 | 78 | 0.483781 |
ddb79c094920413b608b4bfa1fb04c1a6f2d2b4f | 634 | ts | TypeScript | src/config/sw/lib/on.updateFound.ts | trianonco/app_trianon_v2 | 7c02151f1d2d51e706dfe4cf36483381c6007dbb | [
"MIT"
] | null | null | null | src/config/sw/lib/on.updateFound.ts | trianonco/app_trianon_v2 | 7c02151f1d2d51e706dfe4cf36483381c6007dbb | [
"MIT"
] | 2 | 2021-05-10T14:55:33.000Z | 2022-01-22T09:10:52.000Z | src/config/sw/lib/on.updateFound.ts | trianonco/app_trianon_v2 | 7c02151f1d2d51e706dfe4cf36483381c6007dbb | [
"MIT"
] | null | null | null | export default (regSW: any) => {
return new Promise((resolve, reject) => {
const reg = regSW;
const installingWorker = reg.installing;
installingWorker.onstatechange = () => {
switch (installingWorker.state) {
case 'installed':
if (navigator.se... | 31.7 | 61 | 0.421136 |
ddd2c941f04485518a300d0b6f36e00dca06c3c6 | 880 | ts | TypeScript | frontend/i18n-scripts/__tests__/lexers.spec.ts | ok3sd/console | 0ae6c7a0b60445c5ae1697ecf96317f3703d86ff | [
"Apache-2.0"
] | 278 | 2018-05-12T07:48:47.000Z | 2022-03-30T13:54:15.000Z | frontend/i18n-scripts/__tests__/lexers.spec.ts | ok3sd/console | 0ae6c7a0b60445c5ae1697ecf96317f3703d86ff | [
"Apache-2.0"
] | 11,034 | 2018-05-12T01:10:16.000Z | 2022-03-31T23:55:46.000Z | frontend/i18n-scripts/__tests__/lexers.spec.ts | ok3sd/console | 0ae6c7a0b60445c5ae1697ecf96317f3703d86ff | [
"Apache-2.0"
] | 480 | 2018-05-12T00:52:42.000Z | 2022-03-30T17:37:02.000Z | import { CustomJSONLexer } from '../lexers';
describe('CustomJSONLexer', () => {
it('should fail gracefully with invalid JSON', () => {
expect(new CustomJSONLexer().extract('{"key": "%test%", invalid}', 'test.json')).toEqual([]);
});
it('should parse strings matching pattern `^%.+%$`', () => {
expect(
... | 29.333333 | 97 | 0.480682 |
9fcd4fd51d7e28f4659439b2a0d0749933450943 | 5,204 | ts | TypeScript | src/orders/Order.ts | ingameltd/node-przelewy24 | 7e5b9757351ab62a8e90907908a19e0c5ca5a872 | [
"MIT"
] | 9 | 2020-02-15T10:03:53.000Z | 2021-12-23T18:50:07.000Z | src/orders/Order.ts | ingameltd/node-przelewy24 | 7e5b9757351ab62a8e90907908a19e0c5ca5a872 | [
"MIT"
] | 7 | 2020-07-30T12:02:38.000Z | 2022-02-13T06:09:21.000Z | src/orders/Order.ts | ingameltd/node-przelewy24 | 7e5b9757351ab62a8e90907908a19e0c5ca5a872 | [
"MIT"
] | 2 | 2020-05-01T12:36:42.000Z | 2020-07-29T22:23:17.000Z | import { Currency } from "../enums/Currency";
import { Country } from '../enums/Country';
import { Language } from "../enums/Language";
import { Channel } from "../enums/Channel";
import { Encoding } from '../enums/Encoding';
import { CartItem } from './CartItem';
import { Additional } from "./Additional";
/**
* Repr... | 21.957806 | 215 | 0.569178 |
50f4389cddc73ca54a3f75c8e7400f47166f42b3 | 1,240 | ts | TypeScript | test/lib/get-external-card-data.spec.ts | SSoder/website-v2 | 86c9ed04b403d7499bfeca6c05a13f3bb3aaff97 | [
"MIT"
] | 6 | 2021-07-12T18:06:29.000Z | 2022-03-31T06:38:43.000Z | test/lib/get-external-card-data.spec.ts | SSoder/website-v2 | 86c9ed04b403d7499bfeca6c05a13f3bb3aaff97 | [
"MIT"
] | 159 | 2021-03-13T01:15:24.000Z | 2022-03-31T15:42:12.000Z | test/lib/get-external-card-data.test.ts | fearphage/website-v2 | dc5974b113d2652217daec543ca61efb1847d014 | [
"MIT"
] | 5 | 2021-05-07T18:51:46.000Z | 2022-03-28T07:49:47.000Z | import getExternalCardData from "@/lib/get-external-card-data";
describe("getExternalCardData", () => {
it("returns card data for combo when it exists in cache", () => {
expect(getExternalCardData("Sydri, Galvanic Genius")).toEqual({
isPreview: false,
isBanned: false,
isFeatured: false,
i... | 31 | 107 | 0.614516 |
dd5e8efe2d1f8527dc4b1c6d1a7158303ad4ae1d | 6,109 | ts | TypeScript | src/service/service.base.ts | cattod/fajr-app-admin-ui-react | 54b2310ba2b3461ef9af338b38c07988fd6b646d | [
"MIT"
] | null | null | null | src/service/service.base.ts | cattod/fajr-app-admin-ui-react | 54b2310ba2b3461ef9af338b38c07988fd6b646d | [
"MIT"
] | null | null | null | src/service/service.base.ts | cattod/fajr-app-admin-ui-react | 54b2310ba2b3461ef9af338b38c07988fd6b646d | [
"MIT"
] | null | null | null | import axios, { AxiosInstance, AxiosRequestConfig } from 'axios';
import { Setup } from '../config/setup';
import { IToken } from '../model/model.token';
import { Store2 } from '../redux/store';
import { action_set_token } from '../redux/action/token';
import { Utility } from '../asset/script/utility';
// import { appL... | 34.710227 | 102 | 0.56294 |
d6426a1bd693c8e012dcb8a567a039c1ac2ae044 | 81 | ts | TypeScript | classes/mongo-response.ts | sugoiJS/mongoDB | 71f4e2d6a3fd5a222cd1de848eeddca2bf428db1 | [
"MIT"
] | 3 | 2018-08-22T06:06:42.000Z | 2019-02-16T13:05:46.000Z | classes/mongo-response.ts | sugoiJS/mongoDB | 71f4e2d6a3fd5a222cd1de848eeddca2bf428db1 | [
"MIT"
] | 4 | 2020-03-15T11:36:02.000Z | 2021-05-16T21:39:22.000Z | classes/mongo-response.ts | sugoiJS/mongoDB | 71f4e2d6a3fd5a222cd1de848eeddca2bf428db1 | [
"MIT"
] | null | null | null | export class MongoResponse{
ok:number;
nModified:number;
n:number;
} | 13.5 | 27 | 0.666667 |
a5969da8f1a957015bc8d71d399929e60aba8a72 | 1,405 | ts | TypeScript | src/app/route-dashboard.component.ts | NextCenturyCorporation/neon-dash | bfcb1b783b7a68c36893f7ab564264448989d452 | [
"Apache-2.0"
] | 7 | 2017-09-08T15:04:18.000Z | 2020-09-28T03:37:48.000Z | src/app/route-dashboard.component.ts | NextCenturyCorporation/neon-dash | bfcb1b783b7a68c36893f7ab564264448989d452 | [
"Apache-2.0"
] | 3 | 2017-09-22T15:46:02.000Z | 2020-04-20T15:58:15.000Z | src/app/route-dashboard.component.ts | NextCenturyCorporation/neon-dash | bfcb1b783b7a68c36893f7ab564264448989d452 | [
"Apache-2.0"
] | 5 | 2017-10-10T01:54:29.000Z | 2018-10-02T18:00:57.000Z | /**
* Copyright 2021 CACI (formerly Next Century Corporation)
* 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 a... | 37.972973 | 76 | 0.727402 |
a5aff4084454e5eb01b35087f2b975b51c475a9a | 1,614 | ts | TypeScript | src/shared/styles/vendor/reset.ts | chaos-control-book/frontend | 675367a5d7ad5b24dbb78c3377831d209783d062 | [
"MIT"
] | null | null | null | src/shared/styles/vendor/reset.ts | chaos-control-book/frontend | 675367a5d7ad5b24dbb78c3377831d209783d062 | [
"MIT"
] | null | null | null | src/shared/styles/vendor/reset.ts | chaos-control-book/frontend | 675367a5d7ad5b24dbb78c3377831d209783d062 | [
"MIT"
] | null | null | null | import { css } from '@emotion/react';
export const resetStyles = css`
/*========================
RESET STYLES
=========================*/
*,
*::before,
*::after {
box-sizing: border-box;
}
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
margin: 0;
}
ul,
ol {
mar... | 15.371429 | 46 | 0.555762 |
054f3489f364ede5b3e28f9da7bc8f9b1fc083b4 | 557 | ts | TypeScript | packages/falcon-css/src/utils/styling/borders.ts | valdyra/one | d972863bd312b32487d8bd93bf6438631965c9d8 | [
"MIT"
] | null | null | null | packages/falcon-css/src/utils/styling/borders.ts | valdyra/one | d972863bd312b32487d8bd93bf6438631965c9d8 | [
"MIT"
] | null | null | null | packages/falcon-css/src/utils/styling/borders.ts | valdyra/one | d972863bd312b32487d8bd93bf6438631965c9d8 | [
"MIT"
] | null | null | null | import { VariableBorderStyle, VariableCssSize, VariableHue } from '$types'
import { cssProperty } from './properties'
import { variableBorderStyle, variableCssSize, variableHue } from './parsers'
export const borderRadius = cssProperty<VariableCssSize>(variableCssSize)('border-radius')
export const borderColor = css... | 50.636364 | 96 | 0.809695 |
ecd7dc97d75dfeab57009e523a8503377d153c2b | 919 | ts | TypeScript | src/app/notice/notice-list/notice-list.component.ts | h4rdw1r3/kouluni-admin | 0a1956b4e7a1d3b7a01a6aae1586ba23fa630a6c | [
"MIT"
] | null | null | null | src/app/notice/notice-list/notice-list.component.ts | h4rdw1r3/kouluni-admin | 0a1956b4e7a1d3b7a01a6aae1586ba23fa630a6c | [
"MIT"
] | null | null | null | src/app/notice/notice-list/notice-list.component.ts | h4rdw1r3/kouluni-admin | 0a1956b4e7a1d3b7a01a6aae1586ba23fa630a6c | [
"MIT"
] | null | null | null | import { Component, OnInit } from '@angular/core';
import { Observable } from 'rxjs';
import { Notice } from 'app/model/notice';
import { FirebaseService } from 'app/api/firebase.service';
import { Router, ActivatedRoute } from '@angular/router';
@Component({
selector: 'app-notice-list',
templateUrl: './notice-lis... | 27.029412 | 68 | 0.694233 |
7e50b835f914c79819d84f9499b108a7d3052f19 | 778 | tsx | TypeScript | src/components/Header/Header.test.tsx | treely/boemly | 8cceed699e552c8ffa0f127c9ef2539e2fe95724 | [
"MIT"
] | 30 | 2022-02-22T15:48:48.000Z | 2022-03-30T11:13:53.000Z | src/components/Header/Header.test.tsx | treely/boemly | 8cceed699e552c8ffa0f127c9ef2539e2fe95724 | [
"MIT"
] | 62 | 2022-02-18T17:17:31.000Z | 2022-03-31T12:14:56.000Z | src/components/Header/Header.test.tsx | treely/boemly | 8cceed699e552c8ffa0f127c9ef2539e2fe95724 | [
"MIT"
] | 2 | 2022-03-24T09:21:21.000Z | 2022-03-30T06:07:37.000Z | import React from 'react';
import { Header } from '.';
import { render, screen } from '../../test/testUtils';
import { HeaderProps } from './Header';
const defaultProps: HeaderProps = {
left: 'left',
center: 'center',
right: 'right',
};
const setup = (props = {}) => {
const combinedProps = { ...defaultProps, ... | 21.611111 | 59 | 0.596401 |
7e75d5d2b19d6f427ffc161ce1a4ab9616da3cd7 | 5,838 | ts | TypeScript | node_modules/@angular/flex-layout/flexbox/api/layout-gap.ngfactory.ts | jonoforbes/ether-app | f8c98df0b9772f6cb4abe842976163c23a3db94f | [
"MIT"
] | null | null | null | node_modules/@angular/flex-layout/flexbox/api/layout-gap.ngfactory.ts | jonoforbes/ether-app | f8c98df0b9772f6cb4abe842976163c23a3db94f | [
"MIT"
] | null | null | null | node_modules/@angular/flex-layout/flexbox/api/layout-gap.ngfactory.ts | jonoforbes/ether-app | f8c98df0b9772f6cb4abe842976163c23a3db94f | [
"MIT"
] | null | null | null | /**
* @fileoverview This file is generated by the Angular 2 template compiler.
* Do not edit.
* @suppress {suspiciousCode,uselessCode,missingProperties}
*/
/* tslint:disable */
import * as import0 from '@angular/flex-layout/flexbox/api/layout-gap';
import * as import1 from '@angular/core/src/change_detection/chan... | 40.262069 | 109 | 0.708462 |
e78b57890a0f52e58f57df6f2c1996d118ca3f7c | 771 | ts | TypeScript | src/app/pages/login/login.component.ts | RiadhBg26/Quiz-Project | 84a49f13128f3088c3980c28d85bf943a521ed30 | [
"MIT"
] | 1 | 2021-03-29T22:02:31.000Z | 2021-03-29T22:02:31.000Z | src/app/pages/login/login.component.ts | RiadhBg26/Quiz-Project | 84a49f13128f3088c3980c28d85bf943a521ed30 | [
"MIT"
] | 1 | 2022-03-02T08:04:12.000Z | 2022-03-02T08:04:12.000Z | src/app/pages/login/login.component.ts | RiadhBg26/Quiz-Project | 84a49f13128f3088c3980c28d85bf943a521ed30 | [
"MIT"
] | null | null | null | import { Component, OnInit } from '@angular/core';
import { FormGroup, FormControl, Validators } from '@angular/forms';
import { Router } from '@angular/router';
import { ServicesService } from 'src/app/services.service';
@Component({
selector: 'app-login',
templateUrl: './login.component.html',
styleUrls: ['.... | 23.363636 | 77 | 0.697795 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.