text
stringlengths
9
39.2M
dir
stringlengths
26
295
lang
stringclasses
185 values
created_date
timestamp[us]
updated_date
timestamp[us]
repo_name
stringlengths
1
97
repo_full_name
stringlengths
7
106
star
int64
1k
183k
len_tokens
int64
1
13.8M
```xml export type { VideoJsPlayer } from './type' export type { PropsConfig, PropKey, Props } from './props' export type { EventMap, EventKey, CamelCaseEventKey } from './events' export type { CreatePlayerStateOptions, PlayerState } from './state' export type { CreatePlayerOptions, PlayerResult } from './player' expo...
/content/code_sandbox/player/index.ts
xml
2016-09-28T14:11:18
2024-08-16T15:35:16
videojs-player
surmon-china/videojs-player
5,214
120
```xml import Link from 'next/link' export default function ShallowLayout({ children }) { return ( <> <h1>Shallow Routing</h1> <div> <div> <a href="#content" id="hash-navigation"> Hash Navigation (non-Link) </a> </div> <div> <Link href...
/content/code_sandbox/test/e2e/app-dir/shallow-routing/app/(shallow)/layout.tsx
xml
2016-10-05T23:32:51
2024-08-16T19:44:30
next.js
vercel/next.js
124,056
604
```xml <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>netstandard2.0</TargetFramework> <LangVersion>latest</LangVersion> </PropertyGroup> <ItemGroup> <PackageReference Include="System.Memory" Version="4.5.4" /> </ItemGroup> </Project> ```
/content/code_sandbox/tests/common/TestProjects/SystemMemoryLibrary/SystemMemoryLibrary.csproj
xml
2016-04-20T18:24:26
2024-08-16T13:29:19
xamarin-macios
xamarin/xamarin-macios
2,436
74
```xml import { lines } from '@antv/g-pattern'; import { plotlib } from '@antv/g2-extension-plot'; import { Runtime, corelib, extend } from '@antv/g2'; const Chart = extend(Runtime, { ...corelib(), ...plotlib() }); const colors = ['#e8c1a0', '#f47560', '#f1e15b', '#e8a838', '#61cdbb']; const chart = new Chart({ co...
/content/code_sandbox/site/examples/general/sunburst/demo/sunburst-pattern.ts
xml
2016-05-26T09:21:04
2024-08-15T16:11:17
G2
antvis/G2
12,060
232
```xml import * as React from 'react'; import { connect } from 'react-redux'; import { bindActionCreators, Dispatch } from 'redux'; import WidgetBulkDeletion from 'shared/view/domain/BulkDeletion/WidgetsBulkDeletionComponents/WidgetBulkDeletion/WidgetBulkDeletion'; import { IApplicationState } from 'setup/store/store'...
/content/code_sandbox/webapp/client/src/features/projects/view/Projects/ProjectWidget/ProjectBulkDeletion/ProjectBulkDeletion.tsx
xml
2016-10-19T01:07:26
2024-08-14T03:53:55
modeldb
VertaAI/modeldb
1,689
411
```xml import { Component } from '@angular/core'; import { FieldBaseComponent } from '../field-base'; @Component({ selector: 'app-form-radio-list', styleUrls: ['form-radio-list.component.scss'], templateUrl: 'form-radio-list.component.html', }) export class FormRadioListComponent extends FieldBaseComponent {} ...
/content/code_sandbox/src/Presentation/Web/ClientApp/src/app/shared/components/forms/components/form-radio-list/form-radio-list.component.ts
xml
2016-06-03T17:49:56
2024-08-14T02:53:24
AspNetCoreSpa
fullstackproltd/AspNetCoreSpa
1,472
63
```xml export let exclude = true export const input = { title: 'DeterministicOrdering', type: 'object', required: ['swagger', 'info', 'paths'], additionalProperties: false, patternProperties: { '^x-': { $ref: '#/definitions/vendorExtension', }, }, properties: { swagger: { type: 's...
/content/code_sandbox/test/e2e/deterministicOrdering.ts
xml
2016-03-22T03:56:58
2024-08-12T18:37:05
json-schema-to-typescript
bcherny/json-schema-to-typescript
2,877
8,001
```xml <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="path_to_url" android:shape="rectangle"> <solid android:color="@color/vip_button_bg_color" /> <stroke android:width="0.5dp" android:color="@color/white" /> <corners android:radius="2dp" /> </shape> ```
/content/code_sandbox/app/src/main/res/drawable/vip_btn_bg.xml
xml
2016-06-01T04:36:01
2024-08-14T06:51:22
bilibili-android-client
HotBitmapGG/bilibili-android-client
4,487
86
```xml import { writeFile } from 'fs/promises'; import type { Options } from 'tsup'; import { defineConfig } from 'tsup'; export default defineConfig(options => { const commonOptions: Options = { entry: { 'react-querybuilder_material': 'src/index.tsx', }, dts: true, sourcemap: true, ...opti...
/content/code_sandbox/packages/material/tsup.config.ts
xml
2016-06-17T22:03:19
2024-08-16T10:28:42
react-querybuilder
react-querybuilder/react-querybuilder
1,131
538
```xml <?xml version="1.0" encoding="utf-8"?> <android.support.design.widget.CoordinatorLayout xmlns:android="path_to_url" xmlns:app="path_to_url" xmlns:tools="path_to_url" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".activity.MainActivity"> <android....
/content/code_sandbox/sample/src/main/res/layout/activity_main.xml
xml
2016-01-11T09:58:17
2024-07-11T02:00:38
NotifyUtil
wenmingvs/NotifyUtil
1,672
315
```xml <?xml version="1.0" encoding="UTF-8"?> <!-- ~ contributor license agreements. See the NOTICE file distributed with ~ this work for additional information regarding copyright ownership. ~ ~ path_to_url ~ ~ Unless required by applicable law or agreed to in writing, software ~ WITHOUT WARRANTIES ...
/content/code_sandbox/infra/database/type/hive/pom.xml
xml
2016-01-18T12:49:26
2024-08-16T15:48:11
shardingsphere
apache/shardingsphere
19,707
453
```xml import { IPropertyPaneConfiguration } from '@microsoft/sp-property-pane'; export class AzureDevOpsTasksPropertyPane { public getPropertyPaneConfiguration(): IPropertyPaneConfiguration { return { pages: [] }; } } ```
/content/code_sandbox/samples/react-azure-devops-tasks/src/adaptiveCardExtensions/azureDevOpsTasks/AzureDevOpsTasksPropertyPane.ts
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
48
```xml "use client" import React from "react" import { Separator } from "@/components/ui/separator" import { Button } from "../ui/button" import { PanelLeftIcon } from "lucide-react" import { useAtom } from "jotai" import { isCollapseAtom, toggleCollapseAtom } from "@/store/sidebar" import { useMedia } from "react-use...
/content/code_sandbox/web/components/custom/content-header.tsx
xml
2016-08-08T16:09:17
2024-08-16T16:23:04
learn-anything.xyz
learn-anything/learn-anything.xyz
15,943
422
```xml <?xml version="1.0" encoding="UTF-8"?> <configuration status="info" shutdownHook="disable" monitorInterval="5"> <Properties> <Property name="baseDir">/opt/logs/100004376</Property> <Property name="appName">keepercontainer</Property> </Properties> <appenders> <console name="c...
/content/code_sandbox/redis/dockerPackage/xpipe-keeper/config/log4j2.xml
xml
2016-03-29T12:22:36
2024-08-12T11:25:42
x-pipe
ctripcorp/x-pipe
1,977
911
```xml <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="path_to_url"> <item android:state_pressed="true"> <set> <objectAnimator android:propertyName="rotationX" android:duration="@android:integer/config_shortAnimTime" android:valueTo="180" ...
/content/code_sandbox/app/src/main/res/drawable/state_list_animator_z.xml
xml
2016-08-04T06:29:38
2024-08-02T07:42:53
MaterialLogin
fanrunqi/MaterialLogin
1,924
150
```xml import { isAbsolute, relative, resolve } from 'node:path'; import { stripAbsNodeModulesPath } from 'storybook/internal/common'; import type { PreviewAnnotation } from 'storybook/internal/types'; import slash from 'slash'; /** * Preview annotations can take several forms, and vite needs them to be a bit more ...
/content/code_sandbox/code/builders/builder-vite/src/utils/process-preview-annotation.ts
xml
2016-03-18T04:23:44
2024-08-16T19:22:08
storybook
storybookjs/storybook
83,755
493
```xml // See LICENSE.txt for license information. import {withDatabase, withObservables} from '@nozbe/watermelondb/react'; import {switchMap, distinctUntilChanged} from '@nozbe/watermelondb/utils/rx'; import {of as of$} from 'rxjs'; import {observeCurrentUser, observeTeammateNameDisplay} from '@queries/servers/user'...
/content/code_sandbox/app/screens/convert_gm_to_channel/convert_gm_to_channel_form/index.ts
xml
2016-10-07T16:52:32
2024-08-16T12:08:38
mattermost-mobile
mattermost/mattermost-mobile
2,155
198
```xml <!-- ~ ~ ~ path_to_url ~ ~ Unless required by applicable law or agreed to in writing, software ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --> <resources> <!-- Base application theme. --> <style name="AppTheme" parent="Theme.AppCompat.Light.Dark...
/content/code_sandbox/rxsampleapp/src/main/res/values/styles.xml
xml
2016-03-21T18:35:44
2024-08-15T11:55:03
Fast-Android-Networking
amitshekhariitbhu/Fast-Android-Networking
5,667
138
```xml <?xml version="1.0" encoding="UTF-8"?> <xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2"> <file source-language="en" target-language="sv" datatype="plaintext" original="plugins.en.xlf"> <body> <trans-unit id="vFSLi54" resname="plugin.none_installed" xml:space="preserve"> <sou...
/content/code_sandbox/translations/plugins.sv.xlf
xml
2016-10-20T17:06:34
2024-08-16T18:27:30
kimai
kimai/kimai
3,084
287
```xml /* * For a detailed explanation regarding each configuration property and type check, visit: * path_to_url */ export default { // All imported modules in your tests should be mocked automatically // automock: false, // Stop running tests after `n` failures // bail: 0, // The directory where Jest ...
/content/code_sandbox/tools/visual-tester/jest.config.ts
xml
2016-09-29T17:24:17
2024-08-11T17:06:15
clarity
vmware-archive/clarity
6,431
1,524
```xml "use client" import React from "react" import Link from "next/link" import dayjs from "dayjs" import Loader from "@/components/ui/loader" import { useArticle } from "../../../hooks/useArticle" type Props = { articleId: string } const SingleArticle = ({ articleId }: Props) => { const { article, loading }...
/content/code_sandbox/exm-web/modules/discover/components/knowledgebase/article/SingleArticle.tsx
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
577
```xml import { Injectable } from "@angular/core"; import { ActivatedRouteSnapshot, NavigationEnd, Router } from "@angular/router"; import { filter } from "rxjs"; @Injectable({ providedIn: "root", }) export class BrowserRouterService { private previousUrl?: string = undefined; constructor(router: Router) { ...
/content/code_sandbox/apps/browser/src/platform/popup/services/browser-router.service.ts
xml
2016-03-09T23:14:01
2024-08-16T15:07:51
clients
bitwarden/clients
8,877
197
```xml // // // path_to_url // // Unless required by applicable law or agreed to in writing, software // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. export const description = "Capture numeric property"; const array: any[] = []; const obj = { 80: "foo", arr: array }; array.push(obj); ...
/content/code_sandbox/sdk/nodejs/tests/runtime/testdata/closure-tests/cases/47-Capture-numeric-property/index.ts
xml
2016-10-31T21:02:47
2024-08-16T19:47:04
pulumi
pulumi/pulumi
20,743
83
```xml import * as pulumi from "@pulumi/pulumi"; class Resource extends pulumi.ComponentResource { constructor(name: string, opts?: pulumi.ComponentResourceOptions) { super("my:module:Resource", name, {}, opts); } } // Scenario #3 - rename a component (and all it's children) // No change to the compo...
/content/code_sandbox/tests/integration/aliases/nodejs/rename_component/step2/index.ts
xml
2016-10-31T21:02:47
2024-08-16T19:47:04
pulumi
pulumi/pulumi
20,743
250
```xml import { css, html, LitElement } from 'lit'; import { customElement, property } from 'lit/decorators.js'; import { scrollableBase } from './styles/lit/base.css'; import './code-icon'; import './progress'; export interface WebviewPaneExpandedChangeEventDetail { expanded: boolean; } @customElement('webview-pane...
/content/code_sandbox/src/webviews/apps/shared/components/webview-pane.ts
xml
2016-08-08T14:50:30
2024-08-15T21:25:09
vscode-gitlens
gitkraken/vscode-gitlens
8,889
1,047
```xml import nearley from "nearley"; import { beforeEach, describe, expect, test } from "vitest"; import { SourceRange } from "../types/ast.js"; import { DomainProg, PredicateDecl } from "../types/domain.js"; import grammar from "./DomainParser.js"; let parser: nearley.Parser; const sameASTs = (results: any[]) => { ...
/content/code_sandbox/packages/core/src/parser/DomainParser.test.ts
xml
2016-09-22T04:47:19
2024-08-16T13:00:54
penrose
penrose/penrose
6,760
1,217
```xml /* * one or more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. */ import {FilterableMultiSelect} from '@carbon/react'; import {t} from 'translation'; import {Definition} from 'types'; import './FilterDefinitionSelec...
/content/code_sandbox/optimize/client/src/modules/filter/modals/FilterDefinitionSelection.tsx
xml
2016-03-20T03:38:04
2024-08-16T19:59:58
camunda
camunda/camunda
3,172
395
```xml import { GraphQLList, GraphQLNamedType, GraphQLNonNull, GraphQLOutputType, isListType, isNonNullType } from 'graphql'; import { Types } from './types.js'; export function mergeOutputs(content: Types.PluginOutput | Array<Types.PluginOutput>): string { const result: Types.ComplexPluginOutput = { content: '', pr...
/content/code_sandbox/packages/utils/plugins-helpers/src/utils.ts
xml
2016-12-05T19:15:11
2024-08-15T14:56:08
graphql-code-generator
dotansimha/graphql-code-generator
10,759
289
```xml import { selectors } from './popupDismissScroll-example'; describe('Popup - dismiss on scroll container', () => { beforeEach(() => { cy.gotoTestCase(__filename, `#${selectors.simplePopup.triggerId}`); }); it('simple popup does not dismiss content on scroll', () => { cy.clickOn(`#${selectors.simpl...
/content/code_sandbox/packages/fluentui/e2e/tests/popupDismissScroll.spec.ts
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
566
```xml <?xml version="1.0" encoding="UTF-8" ?> <schemaMeta xmlns:xsi="path_to_url" xsi:noNamespaceSchemaLocation="path_to_url" > <comments>Set from SchemaMeta</comments> <tables> <table name="ACCOUNT" comments="Set from SchemaMeta"> <column name="name" comments="Set from SchemaMeta"/> ...
/content/code_sandbox/src/test/resources/integrationTesting/schemaMetaIT/input/replaceComments.xml
xml
2016-07-25T05:30:58
2024-08-16T18:45:23
schemaspy
schemaspy/schemaspy
3,128
93
```xml import { Stack, StackProps } from "@chakra-ui/react"; export const Main = (props: StackProps) => ( <Stack spacing="1.5rem" width="100%" maxWidth="48rem" mt="-45vh" pt="8rem" px="1rem" {...props} /> ); ```
/content/code_sandbox/examples/with-chakra-ui/src/components/Main.tsx
xml
2016-10-05T23:32:51
2024-08-16T19:44:30
next.js
vercel/next.js
124,056
75
```xml export const str = (obj: any) => { if (!obj) { return ''; } if (typeof obj === 'string') { return obj as string; } throw new Error(`Description: expected string, got: ${JSON.stringify(obj)}`); }; ```
/content/code_sandbox/code/core/src/docs-tools/argTypes/docgen/utils/string.ts
xml
2016-03-18T04:23:44
2024-08-16T19:22:08
storybook
storybookjs/storybook
83,755
60
```xml import type { PropsWithChildren } from 'react'; import { c } from 'ttag'; import { Button } from '@proton/atoms'; import { Alert, ModalTwoContent, ModalTwoFooter, ModalTwoHeader } from '@proton/components'; interface Props { onClose?: () => void; } function ErrorStateLEGACY({ children, onClose }: PropsWi...
/content/code_sandbox/applications/drive/src/app/components/modals/ShareLinkModal/_legacy/ErrorStateLEGACY.tsx
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
180
```xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//GNUstep//DTD plist 0.9//EN" "path_to_url"> <plist version="0.9"> <dict> <key>GSBackend</key> <string>art</string> <key>GSWorkspaceApplication</key> <string>Workspace</string> <key>GSCommandKeyString</key> <string></string> ...
/content/code_sandbox/Core/os_files/Library/Preferences/GlobalDefaults.plist
xml
2016-10-28T07:02:49
2024-08-16T14:14:55
nextspace
trunkmaster/nextspace
1,872
846
```xml <?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="path_to_url" android:layout_width="match_parent" android:layout_height="wrap_content"> <LinearLayout android:id="@+id/view_list_repo_action_container" android:layout_width="match_parent" android:layout_hei...
/content/code_sandbox/app/src/main/res/layout/list_item_with_single_delete.xml
xml
2016-08-25T15:28:14
2024-06-15T03:18:45
itemtouchhelper-extension
loopeer/itemtouchhelper-extension
1,039
266
```xml /** * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ export function createRequestHeaders(token: string): Record<string, string> { return { Authorization: `token ${token}`, Accept: 'application/vnd.github.v3+json', }...
/content/code_sandbox/eden/contrib/shared/github/auth.ts
xml
2016-05-05T16:53:47
2024-08-16T19:12:02
sapling
facebook/sapling
5,987
71
```xml import { Component } from '@angular/core'; @Component({ selector: 'style-doc', template: ` <app-docsectiontext> <p>Following is the list of structural style classes, for theming classes visit <a href="#" [routerLink]="['/theming']">theming</a> page.</p> </app-docsectiontext> ...
/content/code_sandbox/src/app/showcase/doc/tag/styledoc.ts
xml
2016-01-16T09:23:28
2024-08-16T19:58:20
primeng
primefaces/primeng
9,969
257
```xml import Icon from '@/Components/Icon/Icon' import Menu from '@/Components/Menu/Menu' import { usePremiumModal } from '@/Hooks/usePremiumModal' import { STRING_EDIT_LOCKED_ATTEMPT } from '@/Constants/Strings' import { WebApplication } from '@/Application/WebApplication' import { UIFeature, EditorFeatureDescrip...
/content/code_sandbox/packages/web/src/javascripts/Components/ChangeEditor/ChangeEditorMenu.tsx
xml
2016-12-05T23:31:33
2024-08-16T06:51:19
app
standardnotes/app
5,180
2,438
```xml /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ import { Component, ChangeDetectorRef, ViewContainerRef, Input, OnInit, Inject } from '@angular/core'; import { FormBuilder, FormG...
/content/code_sandbox/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-cas-details-editer/app-cas-details-editer.component.ts
xml
2016-11-16T03:06:50
2024-08-16T09:22:42
MaxKey
dromara/MaxKey
1,423
1,882
```xml import {Component} from '@angular/core'; import {MatProgressSpinnerModule} from '@angular/material/progress-spinner'; /** * @title Basic progress-spinner */ @Component({ selector: 'progress-spinner-overview-example', templateUrl: 'progress-spinner-overview-example.html', standalone: true, imports: [Ma...
/content/code_sandbox/src/components-examples/material/progress-spinner/progress-spinner-overview/progress-spinner-overview-example.ts
xml
2016-01-04T18:50:02
2024-08-16T11:21:13
components
angular/components
24,263
79
```xml import { Location } from 'history'; import { IEntitiesResults } from '../../../shared/models/HighLevelSearch'; export interface IHighLevelSearchState { data: { entitiesResults: IEntitiesResults; redirectTo: Location | null; }; } ```
/content/code_sandbox/webapp/client/src/features/highLevelSearch/store/types.ts
xml
2016-10-19T01:07:26
2024-08-14T03:53:55
modeldb
VertaAI/modeldb
1,689
54
```xml import Stream from "node:stream"; import express from "express"; import request from "supertest"; import { pino } from "pino"; import type { Options } from "pino-http"; import { describe, expect, test, beforeEach } from "vitest"; import { getLoggingMiddleware } from "../../src/server/logging-middleware.js"; d...
/content/code_sandbox/test/server/logging-middleware.test.ts
xml
2016-09-16T20:56:13
2024-08-16T13:00:34
probot
probot/probot
8,862
666
```xml <?xml version="1.0" encoding="utf-8"?> <!-- path_to_url Unless required by applicable law or agreed to in writing, software WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --> <menu xmlns:android="path_to_url"> <group android:id="@+id/user_select" android:ch...
/content/code_sandbox/app/src/main/res/menu/home_navigation.xml
xml
2016-04-09T16:05:02
2024-08-08T06:37:18
trugithub
kba7/trugithub
2,055
286
```xml /// /// /// /// path_to_url /// /// Unless required by applicable law or agreed to in writing, software /// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. /// import { BackgroundSettings, BackgroundType, ColorSettings, constantColor, cssUnit, Font } from '@shared/models...
/content/code_sandbox/ui-ngx/src/app/modules/home/components/widget/lib/cards/label-value-card-widget.models.ts
xml
2016-12-01T09:33:30
2024-08-16T19:58:25
thingsboard
thingsboard/thingsboard
16,820
436
```xml <?xml version="1.0" encoding="UTF-8"?> <!-- *** GENERATED FROM project.xml - DO NOT EDIT *** *** EDIT ../build.xml INSTEAD *** --> <project name="org.graalvm.visualvm.modules.systray-impl" basedir=".."> <property file="nbproject/private/suite-private.properties"/> <property file="nbproje...
/content/code_sandbox/plugins/systray/nbproject/build-impl.xml
xml
2016-09-12T14:44:30
2024-08-16T14:41:50
visualvm
oracle/visualvm
2,821
351
```xml <?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="path_to_url"> <ItemGroup Label="ProjectConfigurations"> <ProjectConfiguration Include="debug|x64"> <Configuration>debug</Configuration> <Platform>x64</Platform> </ProjectConfiguration> <ProjectConfigura...
/content/code_sandbox/PhysX_3.4/Snippets/compiler/vc14win64/SnippetCustomProfiler.vcxproj
xml
2016-10-12T16:34:31
2024-08-16T09:40:38
PhysX-3.4
NVIDIAGameWorks/PhysX-3.4
2,343
4,750
```xml import type { CoreCommon_AddonEntry, CoreCommon_AddonInfo, CoreCommon_OptionsEntry, } from '@storybook/core/types'; import { logger } from '@storybook/core/node-logger'; interface Options { before: CoreCommon_AddonInfo; after: CoreCommon_AddonInfo; configFile: string; getConfig: (path: string) =>...
/content/code_sandbox/code/core/src/common/utils/check-addon-order.ts
xml
2016-03-18T04:23:44
2024-08-16T19:22:08
storybook
storybookjs/storybook
83,755
482
```xml import { ApplicationRef, NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { bootloader, createInputTransfer, createNewHosts, hmrModule, removeNgStyles } from '@angularclass/hmr'; import {...
/content/code_sandbox/modules/core/client-angular/index.ts
xml
2016-09-08T16:44:45
2024-08-16T06:17:16
apollo-universal-starter-kit
sysgears/apollo-universal-starter-kit
1,684
670
```xml /* * Wire * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPO...
/content/code_sandbox/src/script/components/UserList/UserList.test.tsx
xml
2016-07-21T15:34:05
2024-08-16T11:40:13
wire-webapp
wireapp/wire-webapp
1,125
598
```xml export default class LogarithmicScale extends Scale { static id: string; /** * @type {any} */ static defaults: any; /** @type {number} */ start: number; /** @type {number} */ end: number; /** @type {number} */ _startValue: number; _valueRange: number; parse(r...
/content/code_sandbox/cachecloud-web/src/main/resources/assets/vendor/chart.js/scales/scale.logarithmic.d.ts
xml
2016-01-26T05:46:01
2024-08-16T09:41:37
cachecloud
sohutv/cachecloud
8,737
170
```xml import Coordinate from '../../geo/Coordinate'; import lineclip from 'lineclip'; const minx = Infinity, miny = Infinity, maxx = -Infinity, maxy = -Infinity; export type BBOX = [number, number, number, number] export function getDefaultBBOX(): BBOX { return [minx, miny, maxx, maxy]; } export const BBOX_TEM...
/content/code_sandbox/src/core/util/bbox.ts
xml
2016-02-03T02:41:32
2024-08-15T16:51:49
maptalks.js
maptalks/maptalks.js
4,272
1,300
```xml export { Accordion, accordionClassNames, renderAccordion_unstable, useAccordionContextValues_unstable, useAccordionStyles_unstable, useAccordion_unstable, } from './Accordion'; export type { AccordionContextValues, AccordionIndex, AccordionProps, AccordionSlots, AccordionState, AccordionT...
/content/code_sandbox/packages/react-components/react-accordion/library/src/index.ts
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
454
```xml // *** WARNING: this file was generated by test. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** export const MyEnum = { Pi: 3.1415, Small: 1e-07, } as const; export type MyEnum = (typeof MyEnum)[keyof typeof MyEnum]; ```
/content/code_sandbox/tests/testdata/codegen/external-enum/nodejs/types/enums/local/index.ts
xml
2016-10-31T21:02:47
2024-08-16T19:47:04
pulumi
pulumi/pulumi
20,743
77
```xml <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE characterMapping SYSTEM "path_to_url"> <characterMapping id="gb-18030-2000" version="3"> <history> <modified version="3" date="2001-02-21"> 0x80 appears to be a valid (and unassigned) single-byte code, added to the validity. </modified> <modified versio...
/content/code_sandbox/src/backend/utils/mb/Unicode/gb-18030-2000.xml
xml
2016-04-29T17:19:07
2024-08-13T18:00:23
agensgraph
bitnine-oss/agensgraph
1,326
491,473
```xml import { Component, Input, ViewEncapsulation } from '@angular/core'; import { FormControl } from '@angular/forms'; @Component({ encapsulation: ViewEncapsulation.ShadowDom, selector: 'jsdaddy-open-source-test', template: ` <input id="masked" [formControl]="form" ...
/content/code_sandbox/projects/ngx-mask-lib/src/test/utils/cypress-test-shadow-dom.component.ts
xml
2016-09-23T20:44:28
2024-08-15T12:52:51
ngx-mask
JsDaddy/ngx-mask
1,150
138
```xml 'use strict'; import { expect } from 'chai'; import * as typemoq from 'typemoq'; import { DiagnosticFilterService, FilterKeys } from '../../../client/application/diagnostics/filter'; import { DiagnosticScope, IDiagnosticFilterService } from '../../../client/application/diagnostics/types'; import { IPersistentS...
/content/code_sandbox/src/test/application/diagnostics/filter.unit.test.ts
xml
2016-01-19T10:50:01
2024-08-12T21:05:24
pythonVSCode
DonJayamanne/pythonVSCode
2,078
1,260
```xml <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFrameworks>$(NetCurrent);netstandard2.0;$(NetFrameworkCurrent)</TargetFrameworks> <Description>The core API for Template Localizer tool.</Description> <IsPackable>true</IsPackable> <AllowUnsafeBlocks>true</AllowUnsafeBlocks> <EnableP...
/content/code_sandbox/tools/Microsoft.TemplateEngine.TemplateLocalizer.Core/Microsoft.TemplateEngine.TemplateLocalizer.Core.csproj
xml
2016-06-28T20:54:16
2024-08-16T14:39:38
templating
dotnet/templating
1,598
282
```xml <local:ProfileTabPage x:Class="Telegram.Views.Profile.ProfileVoiceTabPage" xmlns="path_to_url" xmlns:d="path_to_url" xmlns:x="path_to_url" xmlns:mc="path_to_url" xmlns:common="using:Telegram.Common" ...
/content/code_sandbox/Telegram/Views/Profile/ProfileVoiceTabPage.xaml
xml
2016-05-23T09:03:33
2024-08-16T16:17:48
Unigram
UnigramDev/Unigram
3,744
618
```xml <?xml version="1.0" encoding="utf-8"?> <set xmlns:android="path_to_url"> <translate android:fromXDelta="0%p" android:toXDelta="100%p" android:duration="300"/> <alpha android:fromAlpha="1" android:toAlpha="0.5" android:duration="300...
/content/code_sandbox/app/src/main/res/anim/slide_out_right.xml
xml
2016-10-14T02:54:01
2024-08-16T16:01:33
MGit
maks/MGit
1,193
89
```xml import type { Dependencies } from "@Core/Dependencies"; import type { DependencyRegistry } from "@Core/DependencyRegistry"; import type { OperatingSystem } from "@common/Core"; import type { ExtensionBootstrapResult } from "../ExtensionBootstrapResult"; import type { ExtensionModule } from "../ExtensionModule"; ...
/content/code_sandbox/src/main/Extensions/FileSearch/FileSearchModule.ts
xml
2016-10-11T04:59:52
2024-08-16T11:53:31
ueli
oliverschwendener/ueli
3,543
310
```xml <?xml version="1.0" encoding="utf-8" ?> <linker> <!-- This preserves type forwards for Java stub generation --> <assembly fullname="System.Runtime"> <type fullname="System.Boolean"> <method name="ToString" /> </type> <type fullname="System.Byte"> <method name="ToString" /> </type> <type fullnam...
/content/code_sandbox/src/Microsoft.Android.Sdk.ILLink/PreserveLists/System.Runtime.xml
xml
2016-03-30T15:37:14
2024-08-16T19:22:13
android
dotnet/android
1,905
464
```xml export enum Orientation { Top = 'top', Bottom = 'bottom', Left = 'left', Right = 'right' } ```
/content/code_sandbox/projects/swimlane/ngx-charts/src/lib/common/types/orientation.enum.ts
xml
2016-07-22T15:58:41
2024-08-02T15:56:24
ngx-charts
swimlane/ngx-charts
4,284
30
```xml import * as assert from 'assert'; import {describe as context, describe, it} from 'mocha'; import {BindingTarget} from '../../../common/binding/target.js'; import {Point2d} from '../model/point-2d.js'; import {point2dFromUnknown, writePoint2d} from './point-2d.js'; describe(point2dFromUnknown.name, () => { [ ...
/content/code_sandbox/packages/core/src/input-binding/point-2d/converter/point-2d-test.ts
xml
2016-05-10T15:45:13
2024-08-16T19:57:27
tweakpane
cocopon/tweakpane
3,480
481
```xml <?xml version="1.0" encoding="UTF-8"?> <!-- ~ contributor license agreements. See the NOTICE file distributed with ~ this work for additional information regarding copyright ownership. ~ ~ path_to_url ~ ~ Unless required by applicable law or agreed to in writing, software ~ WITHOUT WARRANTIES ...
/content/code_sandbox/parser/sql/dialect/pom.xml
xml
2016-01-18T12:49:26
2024-08-16T15:48:11
shardingsphere
apache/shardingsphere
19,707
687
```xml import { Component, forwardRef, Input } from '@angular/core'; import { AbstractNgModelComponent } from '@abp/ng.core'; import { FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms'; import { CommonModule } from '@angular/common'; /** * @deprecated use ShowPasswordDirective directive * path_to_url */ @Comp...
/content/code_sandbox/npm/ng-packs/packages/theme-shared/src/lib/components/password/password.component.ts
xml
2016-12-03T22:56:24
2024-08-16T16:24:05
abp
abpframework/abp
12,657
194
```xml import type { DecryptedCalendarKey } from '../calendar'; export type GetCalendarKeys = (calendarID: string) => Promise<DecryptedCalendarKey[]>; ```
/content/code_sandbox/packages/shared/lib/interfaces/hooks/GetCalendarKeys.ts
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
34
```xml <Documentation> <Docs DocId="T:UIKit.UICollectionReusableView"> <summary>The base class for <see cref="T:UIKit.UIView" />s that are reused in a <see cref="T:UIKit.UICollectionView" />.</summary> <remarks> <para>The <see cref="T:UIKit.UICollectionView" /> class is designed to work with large datas...
/content/code_sandbox/docs/api/UIKit/UICollectionReusableView.xml
xml
2016-04-20T18:24:26
2024-08-16T13:29:19
xamarin-macios
xamarin/xamarin-macios
2,436
856
```xml <?xml version="1.0" encoding="utf-8" ?> <!-- --> <D:sync-collection xmlns:D="DAV:"> <D:sync-token/> <D:prop> <D:getcontenttype/> <D:getetag/> </D:prop> </D:sync-collection> ```
/content/code_sandbox/apps/dav/tests/travis/caldavtest/data/Resource/CalDAV/reports/sync/5.xml
xml
2016-06-02T07:44:14
2024-08-16T18:23:54
server
nextcloud/server
26,415
58
```xml import { Add, lstmCell, Multiply, MultiplyElement, Random, RecurrentZeros, Sigmoid, Tanh, Zeros, } from '../../src/layer'; import { mockLayer, onePlusPlus2D, TestLayer } from '../test-utils'; import { flattenLayers } from '../utilities/flatten-layers'; import { ILayer } from './base-layer'; imp...
/content/code_sandbox/src/layer/lstm-cell.test.ts
xml
2016-02-13T18:09:44
2024-08-15T20:41:49
brain.js
BrainJS/brain.js
14,300
1,693
```xml <?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration type="com.atollic.hardwaredebug.launch.launchConfigurationType"> <stringAttribute key="com.atollic.hardwaredebug.launch.analyzeCommands" value="# Set flash parallelism mode to 32, 16, or 8 bit when using STM32 F2/F4 microcontrollers&#13;...
/content/code_sandbox/libs/STM32_USB-FS-Device_Lib_V4.0.0/Projects/Custom_HID/TrueSTUDIO/STM32L152-EVAL/STM32L152-EVAL.elf.launch
xml
2016-08-10T15:31:26
2024-08-16T13:06:40
Avem
avem-labs/Avem
1,930
1,406
```xml /* eslint-disable @typescript-eslint/no-var-requires */ export { initWebpackConfigComposer, generateConfig as compose } from "./util/generate-config"; export { SubAppWebpackPlugin } from "./plugins/subapp-plugin-webpack5"; /** * Return the env profile for compiling the app. * * Values could be: * * - `de...
/content/code_sandbox/packages/xarc-webpack/src/index.ts
xml
2016-09-06T19:02:39
2024-08-11T11:43:11
electrode
electrode-io/electrode
2,103
2,441
```xml import * as React from 'react'; import createSvgIcon from '../utils/createSvgIcon'; const TabletIcon = createSvgIcon({ svg: ({ classes }) => ( <svg xmlns="path_to_url" viewBox="0 0 2048 2048" className={classes.svg} focusable="false"> <path d="M1888 256q33 0 62 12t51 35 34 51 13 62v1216q0 33-12 62t-...
/content/code_sandbox/packages/react-icons-mdl2/src/components/TabletIcon.tsx
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
274
```xml import * as React from 'react'; import createSvgIcon from '../utils/createSvgIcon'; const MailOptionsIcon = createSvgIcon({ svg: ({ classes }) => ( <svg xmlns="path_to_url" viewBox="0 0 2048 2048" className={classes.svg} focusable="false"> <path d="M0 384h2048v805q-28-31-60-57t-68-49V648l-896 447-89...
/content/code_sandbox/packages/react-icons-mdl2/src/components/MailOptionsIcon.tsx
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
434
```xml <?xml version="1.0" encoding="utf-8"?> <xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="path_to_url" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd"> <file datatype="xml" source-language="en" target-language="ja" original="../LocalizableSt...
/content/code_sandbox/src/Cli/Microsoft.DotNet.Cli.Utils/xlf/LocalizableStrings.ja.xlf
xml
2016-07-22T21:26:02
2024-08-16T17:23:58
sdk
dotnet/sdk
2,627
1,339
```xml import { PlusIcon } from "outline-icons"; import styled from "styled-components"; import BaseListItem from "~/components/List/Item"; import { hover } from "~/styles"; export const InviteIcon = styled(PlusIcon)` opacity: 0; `; export const ListItem = styled(BaseListItem).attrs({ small: true, border: false...
/content/code_sandbox/app/components/Sharing/components/ListItem.tsx
xml
2016-05-22T21:31:47
2024-08-16T19:57:22
outline
outline/outline
26,751
137
```xml /* * @license Apache-2.0 * * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ import typedSignature = require( './index' ); // TESTS // // The function returns an array of strings or null.....
/content/code_sandbox/lib/node_modules/@stdlib/repl/typed-signature/docs/types/test.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
245
```xml /* * one or more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. */ import {Container, Stack, Layer} from './styled'; import {incidentsStore} from 'modules/stores/incidents'; import {observer} from 'mobx-react'; import...
/content/code_sandbox/operate/client/src/App/ProcessInstance/IncidentsWrapper/IncidentsFilter/index.tsx
xml
2016-03-20T03:38:04
2024-08-16T19:59:58
camunda
camunda/camunda
3,172
482
```xml <dict> <key>LayoutID</key> <integer>3</integer> <key>PathMapRef</key> <array> <dict> <key>CodecID</key> <array> <integer>287143667</integer> </array> <key>Headphone</key> <dict> <key>AmpPostDelay</key> <integer>150</integer> <key>AmpPreDelay</key> <integer>150</integer> ...
/content/code_sandbox/Resources/IDT92HD66C3_65/layout3.xml
xml
2016-03-07T20:45:58
2024-08-14T08:57:03
AppleALC
acidanthera/AppleALC
3,420
385
```xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="path_to_url" xmlns:app="path_to_url" android:id="@+id/zhihu_item_layout" android:layout_width="match_parent" android:layout_height="wrap_content" android:foreground="@drawable...
/content/code_sandbox/app/src/main/res/layout/meizi_layout_item.xml
xml
2016-08-20T00:57:24
2024-08-09T02:01:01
LookLook
xinghongfei/LookLook
2,211
488
```xml // See LICENSE.txt for license information. import assert from 'assert'; import {Node, Parser} from 'commonmark'; import { addListItemIndices, combineTextNodes, getFirstMatch, highlightMentions, highlightTextNode, mentionKeysToPatterns, pullOutImages, highlightWithoutNotificati...
/content/code_sandbox/app/components/markdown/transform.test.ts
xml
2016-10-07T16:52:32
2024-08-16T12:08:38
mattermost-mobile
mattermost/mattermost-mobile
2,155
17,896
```xml <?xml version="1.0" encoding="utf-8" ?> <hosts> <host name="localhost"> <alias>adminserver</alias> </host> </hosts> ```
/content/code_sandbox/config-model/src/test/cfg/admin/simpleadminconfig20/hosts.xml
xml
2016-06-03T20:54:20
2024-08-16T15:32:01
vespa
vespa-engine/vespa
5,524
42
```xml /* * @license Apache-2.0 * * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ import isUndefined = require( './index' ); // TESTS // // The function returns a boolean... { isUndefined( nul...
/content/code_sandbox/lib/node_modules/@stdlib/assert/is-undefined/docs/types/test.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
135
```xml <vector xmlns:android="path_to_url" android:height="34.0dp" android:tint="?attr/colorControlNormal" android:viewportHeight="15" android:viewportWidth="15" android:width="34.0dp"> <path android:fillColor="@android:color/white" android:pathData="M2.5 11L2.5 14L1.5 14C1.22 14 1 13.78 1 13.5L1 11.5C1 11.22 1.22 ...
/content/code_sandbox/app/src/main/res/drawable/ic_preset_temaki_railway_track_askew.xml
xml
2016-07-02T10:44:04
2024-08-16T18:55:54
StreetComplete
streetcomplete/StreetComplete
3,781
664
```xml /* * @license Apache-2.0 * * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ // TypeScript Version: 4.1 /// <reference types="@stdlib/types"/> import * as random from '@stdlib/types/random'...
/content/code_sandbox/lib/node_modules/@stdlib/random/iter/geometric/docs/types/index.d.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
526
```xml <resources> <string name="app_name">router</string> </resources> ```
/content/code_sandbox/router/src/main/res/values/strings.xml
xml
2016-02-09T15:51:46
2024-08-14T04:15:07
FriendCircle
razerdp/FriendCircle
1,155
19
```xml import type {SideObject} from '@floating-ui/react'; import { FloatingFocusManager, FloatingOverlay, autoUpdate, flip, inner, offset, shift, size, useClick, useDismiss, useFloating, useInnerOffset, useInteractions, useListNavigation, useRole, useTypeahead, } from '@floating-ui/reac...
/content/code_sandbox/packages/react/test/visual/components/MacSelect.tsx
xml
2016-03-29T17:00:47
2024-08-16T16:29:40
floating-ui
floating-ui/floating-ui
29,450
2,855
```xml <?xml version="1.0" encoding="utf-8"?> <xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="path_to_url" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd"> <file datatype="xml" source-language="en" target-language="zh-Hans" original="../Localiza...
/content/code_sandbox/src/Cli/dotnet/commands/dotnet-clean/xlf/LocalizableStrings.zh-Hans.xlf
xml
2016-07-22T21:26:02
2024-08-16T17:23:58
sdk
dotnet/sdk
2,627
479
```xml <?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="path_to_url"> <ItemGroup Label="ProjectConfigurations"> <ProjectConfiguration Include="Debug-c++17|Win32"> <Configuration>Debug-c++17</Configuration> <Platform>Win32</Platform> </ProjectConfigu...
/content/code_sandbox/extern/libcds/projects/Win/vc141/stress-map-delodd.vcxproj
xml
2016-03-16T06:10:37
2024-08-16T14:13:51
firebird
FirebirdSQL/firebird
1,223
13,347
```xml import isDate from 'lodash/isDate' import memoize from 'lodash/memoize' import range from 'lodash/range' import { alignBox } from '@nivo/core' import { timeFormat } from 'd3-time-format' import { timeDays, timeWeek, timeWeeks, timeMonths, timeYear } from 'd3-time' import { ScaleQuantize } from 'd3-scale' import ...
/content/code_sandbox/packages/calendar/src/compute/calendar.ts
xml
2016-04-16T03:27:56
2024-08-16T03:38:37
nivo
plouc/nivo
13,010
3,446
```xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="path_to_url" xmlns:app="path_to_url" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#232a30" android:gravity="center_horizontal"> <moe.code...
/content/code_sandbox/app/src/main/res/layout/activity_scroll.xml
xml
2016-11-17T16:48:20
2024-07-26T17:36:04
ENViews
codeestX/ENViews
1,766
236
```xml /* * * This source code is licensed under the MIT license which is detailed in the LICENSE.txt file. */ import * as ExtensionApi from "@extraterm/extraterm-extension-api"; import { QWidget } from "@nodegui/nodegui"; import { CommandsRegistry } from "./CommandsRegistry.js"; import { LoadedSessionBackendContri...
/content/code_sandbox/main/src/InternalTypes.ts
xml
2016-03-04T12:39:59
2024-08-16T18:44:37
extraterm
sedwards2009/extraterm
2,501
1,683
```xml <?xml version="1.0" encoding="utf-8"?> <android.support.design.widget.CoordinatorLayout android:id="@+id/activityShareContact" xmlns:android="path_to_url" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/white" xmlns:tools="path_to_url"> <Re...
/content/code_sandbox/Android/app/src/main/res/layout/activity_share_contact.xml
xml
2016-01-30T13:42:30
2024-08-12T19:21:10
Travel-Mate
project-travel-mate/Travel-Mate
1,292
446
```xml // *** WARNING: this file was generated by test. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; // Export members: export { FuncWithAllOptionalInputsArgs, FuncWithAllOptionalInputsResult, ...
/content/code_sandbox/tests/testdata/codegen/output-funcs/nodejs/index.ts
xml
2016-10-31T21:02:47
2024-08-16T19:47:04
pulumi
pulumi/pulumi
20,743
1,189
```xml /************************************************************* * * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ /** * @fileoverview Implements the MmlMfrac node * * @author...
/content/code_sandbox/ts/core/MmlTree/MmlNodes/mfrac.ts
xml
2016-02-23T09:52:03
2024-08-16T04:46:50
MathJax-src
mathjax/MathJax-src
2,017
461
```xml // main.ts ```
/content/code_sandbox/src/compilerOptions/__tests__/cases/case3/pkgC/input/main.ts
xml
2016-10-28T10:37:16
2024-07-27T15:17:43
fuse-box
fuse-box/fuse-box
4,003
5
```xml import { describe, it, expect } from "vitest"; import { isSupportedNodeVersion } from "../../src/helpers/is-supported-node-version.js"; import { loadPackageJson } from "../../src/helpers/load-package-json.js"; describe("isSupportedNodeVersion", () => { const { engines } = loadPackageJson(); it(`engines val...
/content/code_sandbox/test/bin/is-supported-node-version.test.ts
xml
2016-09-16T20:56:13
2024-08-16T13:00:34
probot
probot/probot
8,862
248
```xml import { isValidElement } from 'react'; import { Id } from '../types'; export const isNum = (v: any): v is Number => typeof v === 'number' && !isNaN(v); export const isStr = (v: any): v is String => typeof v === 'string'; export const isFn = (v: any): v is Function => typeof v === 'function'; export const ...
/content/code_sandbox/src/utils/propValidator.ts
xml
2016-11-08T12:32:52
2024-08-16T13:26:40
react-toastify
fkhadra/react-toastify
12,467
232
```xml import { Model } from 'mongoose'; import * as _ from 'underscore'; import { IModels } from '../connectionResolver'; import { IInvestment, IInvestmentDocument, investmentSchema } from './definitions/investments'; export interface IInvestmentModel extends Model<IInvestmentDocument> { createInvestment(doc:...
/content/code_sandbox/packages/plugin-block-api/src/models/Investments.ts
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
292
```xml import { NodePath } from '@babel/core'; import { AssignmentExpression, ObjectProperty, VariableDeclarator, } from '@babel/types'; import { getNameFromFile } from './createFilename'; import getNameFromPath from './getNameFromPath'; export default function getDisplayName( path: NodePath<any>, { file }:...
/content/code_sandbox/src/utils/getDisplayName.ts
xml
2016-10-18T15:09:36
2024-08-13T04:00:36
astroturf
astroturfcss/astroturf
2,274
231
```xml export { default as blackFriday2023DriveUnlimitedConfig } from './configuration'; export { default as useBlackFriday2023DriveUnlimited } from './useOffer'; export { default as blackFriday2023DriveUnlimitedEligibility } from './eligibility'; ```
/content/code_sandbox/packages/components/containers/offers/operations/blackFridayDrive2023Unlimited/index.ts
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
56