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
import Document, { DocumentContext } from 'next/document'
class MyDocument extends Document {
static async getInitialProps(ctx: DocumentContext) {
const initialProps = await Document.getInitialProps(ctx)
return initialProps
}
}
export default MyDocument
``` | /content/code_sandbox/test/integration/typescript/pages/_document.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 56 |
```xml
/*
* This software is released under MIT license.
* The full license information can be found in LICENSE in the root directory of this project.
*/
import { PropertyValues } from 'lit';
import {
AnimatableElement,
AnimationStatus,
PropertyDrivenAnimation,
PRIVATE_ANIMATION_STATUS_ATTR_NAME,
} from '..... | /content/code_sandbox/packages/core/src/internal/decorators/animate.ts | xml | 2016-09-29T17:24:17 | 2024-08-11T17:06:15 | clarity | vmware-archive/clarity | 6,431 | 344 |
```xml
import type { StaticGenerationAsyncStorage } from './static-generation-async-storage.external'
import { createAsyncLocalStorage } from './async-local-storage'
export const staticGenerationAsyncStorage: StaticGenerationAsyncStorage =
createAsyncLocalStorage()
``` | /content/code_sandbox/packages/next/src/client/components/static-generation-async-storage-instance.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 47 |
```xml
'use client'
import type {
ChildSegmentMap,
LazyCacheNode,
} from '../../shared/lib/app-router-context.shared-runtime'
import type {
FlightRouterState,
FlightSegmentPath,
Segment,
} from '../../server/app-render/types'
import type { ErrorComponent } from './error-boundary'
import type { FocusAndScroll... | /content/code_sandbox/packages/next/src/client/components/layout-router.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 4,605 |
```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
/**
* Returns the signature(s) associated with a specified alias.
*
* @param alias - a... | /content/code_sandbox/lib/node_modules/@stdlib/repl/signature/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 124 |
```xml
/*
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
*/
export {default as NodeDateFilter} from './NodeDateFilter';
``` | /content/code_sandbox/optimize/client/src/modules/filter/modals/nodeDate/index.tsx | xml | 2016-03-20T03:38:04 | 2024-08-16T19:59:58 | camunda | camunda/camunda | 3,172 | 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.
*/
// TypeScript Version: 4.1
/// <reference types="node"/>
import { Buffer } from 'buffer';
/**
* Callback invoke... | /content/code_sandbox/lib/node_modules/@stdlib/process/read-stdin/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 556 |
```xml
import {
ChevronRightIcon,
Row,
Spacer,
Text,
useExpoTheme,
View,
} from 'expo-dev-client-components';
import * as React from 'react';
import { TouchableOpacity } from 'react-native-gesture-handler';
type Props = {
title: string;
description: string;
onPress: () => void;
};
export function Di... | /content/code_sandbox/apps/expo-go/src/screens/DiagnosticsScreen/DiagnosticsButton.tsx | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 272 |
```xml
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { AccountSettingsModalComponent } from './account-settings-modal.component';
import { SessionService } from '../../shared/services/session.service';
import { MessageHandlerServ... | /content/code_sandbox/src/portal/src/app/base/account-settings/account-settings-modal.component.spec.ts | xml | 2016-01-28T21:10:28 | 2024-08-16T15:28:34 | harbor | goharbor/harbor | 23,335 | 2,131 |
```xml
import {MongooseSchema} from "./schema.js";
/**
* If truthy, Mongoose will add a custom setter that lowercases this string using JavaScript's built-in String#toLowerCase().
*
* ### Example
*
* ```typescript
* @Model()
* export class EventModel {
* @Lowercase()
* field: string;
* }
* ```
*
* @pa... | /content/code_sandbox/packages/orm/mongoose/src/decorators/lowercase.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 131 |
```xml
import { G2Spec, PLOT_CLASS_NAME } from '../../../src';
import { brush } from './penguins-point-brush';
export function penguinsPointBrushYFilter(): G2Spec {
return {
type: 'point',
data: {
type: 'fetch',
value: 'data/penguins.csv',
},
encode: {
color: 'species',
x: 'cu... | /content/code_sandbox/__tests__/plots/interaction/penguins-point-brush-y-filter.ts | xml | 2016-05-26T09:21:04 | 2024-08-15T16:11:17 | G2 | antvis/G2 | 12,060 | 186 |
```xml
export * from './components/MenuItemCheckbox/index';
``` | /content/code_sandbox/packages/react-components/react-menu/library/src/MenuItemCheckbox.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 11 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="path_to_url">
<item android:drawable="@drawable/ic_video_play" android:state_selected="false"/>
<item android:drawable="@drawable/ic_video_pause" android:state_selected="true"/>
</selector>
``` | /content/code_sandbox/playerview/src/main/res/drawable/sel_btn_play.xml | xml | 2016-08-19T09:59:38 | 2024-07-21T15:24:26 | MvpApp | Rukey7/MvpApp | 2,342 | 66 |
```xml
<!--
~ 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 OR CONDITIONS OF ANY KIND, either expre... | /content/code_sandbox/test/e2e/sql/src/test/resources/cases/dql/dataset/empty_storage_units/opengauss/select_opengauss_pg_catalog_pg_stat_bad_block.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 161 |
```xml
import { Jsonify } from "type-fest";
import { ProductTierType } from "../../../billing/enums";
import { OrganizationUserStatusType, OrganizationUserType, ProviderType } from "../../enums";
import { PermissionsApi } from "../api/permissions.api";
import { ProfileOrganizationResponse } from "../response/profile-o... | /content/code_sandbox/libs/common/src/admin-console/models/data/organization.data.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 1,107 |
```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";
import * as pulumiKubernetes from "@pulumi/kubernetes";
export class Workload extends pulum... | /content/code_sandbox/tests/testdata/codegen/external-resource-schema/nodejs/workload.ts | xml | 2016-10-31T21:02:47 | 2024-08-16T19:47:04 | pulumi | pulumi/pulumi | 20,743 | 540 |
```xml
import { warn } from './warn';
import type { ISettingsMap } from './warn';
/**
* Warns when a deprecated props are being used.
*
* @public
* @param componentName - The name of the component being used.
* @param props - The props passed into the component.
* @param deprecationMap - The map of deprecations,... | /content/code_sandbox/packages/utilities/src/warn/warnDeprecations.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 233 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Behavior Version="5">
<Node Class="Behaviac.Design.Nodes.Behavior" AgentType="CustomPropertyAgent" Domains="" Enable="true" HasOwnPrefabData="false" Id="-1" PrefabName="" PrefabNodeId="-1">
<Comment Background="NoColor" Text="" />
<Parameters>
<Parameter Na... | /content/code_sandbox/integration/unity/Assets/behaviac/workspace/behaviors/par_test/local_out_scope.xml | xml | 2016-11-21T05:08:08 | 2024-08-16T07:18:30 | behaviac | Tencent/behaviac | 2,831 | 929 |
```xml
'use strict';
import { injectable, inject } from 'inversify';
import { IConfigurationService, IToolExecutionPath } from '../../types';
@injectable()
export class PipEnvExecutionPath implements IToolExecutionPath {
constructor(@inject(IConfigurationService) private readonly configService: IConfigurationSer... | /content/code_sandbox/src/client/common/configuration/executionSettings/pipEnvExecution.ts | xml | 2016-01-19T10:50:01 | 2024-08-12T21:05:24 | pythonVSCode | DonJayamanne/pythonVSCode | 2,078 | 86 |
```xml
<clickhouse>
<interserver_http_port>9009</interserver_http_port>
<interserver_http_credentials>
<user>admin</user>
<password>222</password>
</interserver_http_credentials>
</clickhouse>
``` | /content/code_sandbox/tests/integration/test_replication_credentials/configs/credentials1.xml | xml | 2016-06-02T08:28:18 | 2024-08-16T18:39:33 | ClickHouse | ClickHouse/ClickHouse | 36,234 | 54 |
```xml
import {bindValue} from '../model/reactive.js';
import {Value} from '../model/value.js';
function applyClass(elem: HTMLElement, className: string, active: boolean) {
if (active) {
elem.classList.add(className);
} else {
elem.classList.remove(className);
}
}
export function valueToClassName(
elem: HTMLE... | /content/code_sandbox/packages/core/src/common/view/reactive.ts | xml | 2016-05-10T15:45:13 | 2024-08-16T19:57:27 | tweakpane | cocopon/tweakpane | 3,480 | 145 |
```xml
import * as React from 'react';
import createSvgIcon from '../utils/createSvgIcon';
const CaretSolidMirroredIcon = createSvgIcon({
svg: ({ classes }) => (
<svg xmlns="path_to_url" viewBox="0 0 2048 2048" className={classes.svg} focusable="false">
<path d="M1536 1536L549 549v987h987z" />
</svg>
... | /content/code_sandbox/packages/react-icons-mdl2/src/components/CaretSolidMirroredIcon.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 120 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN"
"path_to_url">
<generatorConfiguration>
<classPathEntry
location="/Users/chenjie/Documents/dev/apache-maven-3.3.9/repository/mysql/mysql-connector-... | /content/code_sandbox/SSM-SERVICE/src/main/resources/generatorConfig.xml | xml | 2016-06-21T10:09:02 | 2024-08-07T01:16:34 | SSM | crossoverJie/SSM | 3,440 | 498 |
```xml
import { ReactNode } from 'react'
const RootLayout = ({
children,
modal,
}: {
children: ReactNode
modal: ReactNode
}) => {
return (
<html lang="en">
<body>
{children}
{modal}
</body>
</html>
)
}
export default RootLayout
``` | /content/code_sandbox/test/e2e/app-dir/parallel-routes-catchall-specificity/app/layout.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 76 |
```xml
export enum ListenerTypeFilter {
All = 'all',
Mobile = 'mobile',
Desktop = 'desktop',
Bot = 'bot'
}
export interface ListenerFilters {
type: ListenerTypeFilter,
minLength: number | null,
maxLength: number | null
}
``` | /content/code_sandbox/frontend/components/Stations/Reports/Listeners/listenerFilters.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 59 |
```xml
import { Injectable } from "@angular/core";
import {
firstValueFrom,
map,
Observable,
of,
shareReplay,
startWith,
Subject,
switchMap,
} from "rxjs";
import { AccountService } from "@bitwarden/common/auth/abstractions/account.service";
import { I18nService } from "@bitwarden/common/platform/abstr... | /content/code_sandbox/apps/browser/src/vault/popup/services/vault-popup-autofill.service.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 1,807 |
```xml
import { InjectionMode, contextHandlerFactory, contextInjectorFactory } from '@proton/pass/utils/context';
import type { ContentScriptContext } from './types';
export const CSContext = contextHandlerFactory<ContentScriptContext>('contentscript');
export const withContext = contextInjectorFactory(CSContext, Inj... | /content/code_sandbox/applications/pass-extension/src/app/content/context/context.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 66 |
```xml
import fs from 'fs'
import { type ChildProcess } from 'child_process'
import { type Readable } from 'stream'
import { promisify } from 'util'
import path from 'path'
import byline from '@pnpm/byline'
import { type Project, prepare } from '@pnpm/prepare'
import { REGISTRY_MOCK_PORT } from '@pnpm/registry-mock'
im... | /content/code_sandbox/pnpm/test/server.ts | xml | 2016-01-28T07:40:43 | 2024-08-16T12:38:47 | pnpm | pnpm/pnpm | 28,869 | 3,274 |
```xml
<!DOCTYPE TS><TS>
<context>
<name>MainWindow</name>
<message>
<source>&File</source>
<translation>&Dosiero</translation>
</message>
<message>
<source>First</source>
<translation>Unue</translation>
</message>
<message>
<source>Internationaliz... | /content/code_sandbox/src/pyqt-official/tools/i18n/translations/i18n_eo.ts | xml | 2016-10-13T07:03:35 | 2024-08-15T15:36:27 | examples | pyqt/examples | 2,313 | 373 |
```xml
import { createRoot } from 'react-dom/client'
import { createTheme } from '@mui/material/styles'
import { red } from '@mui/material/colors'
import { ThemeProvider } from '@emotion/react'
import { CssBaseline } from '@mui/material'
import MainComponent from './MainComponent'
import React from 'react'
const theme... | /content/code_sandbox/examples/react/ui-libraries/src/index.tsx | xml | 2016-11-29T04:53:07 | 2024-08-16T16:25:02 | form | TanStack/form | 3,566 | 188 |
```xml
<?xml version="1.0"?>
<project xmlns="path_to_url" xmlns:xsi="path_to_url" xsi:schemaLocation="path_to_url path_to_url">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jboss</groupId>
<artifactId>jboss-parent</artifactId>
<version>36</version>
</parent>
<groupId>... | /content/code_sandbox/pom.xml | xml | 2016-01-22T20:17:05 | 2024-08-16T13:42:33 | debezium | debezium/debezium | 10,320 | 4,484 |
```xml
import * as React from 'react';
import { getIntrinsicElementProps, mergeCallbacks, slot } from '@fluentui/react-utilities';
import type {
TeachingPopoverCarouselFooterButtonProps,
TeachingPopoverCarouselFooterButtonState,
} from './TeachingPopoverCarouselFooterButton.types';
import { usePopoverContext_unstab... | /content/code_sandbox/packages/react-components/react-teaching-popover/library/src/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButton.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 692 |
```xml
import { TranslationFunction } from 'i18next';
import PDFBuilder from './PDFBuilder';
import { UserContact } from '../../models/user-contact';
function createPDF(contacts: UserContact[], t: TranslationFunction) {
const pdf = new PDFBuilder();
const image = `${__dirname}/app.png`;
pdf.addStyle('header', {... | /content/code_sandbox/modules/reports/server-ts/pdf/helpers/generator.ts | xml | 2016-09-08T16:44:45 | 2024-08-16T06:17:16 | apollo-universal-starter-kit | sysgears/apollo-universal-starter-kit | 1,684 | 406 |
```xml
import * as React from 'react';
import cx from 'classnames';
import { createSvgIcon } from '../utils/createSvgIcon';
import { iconClassNames } from '../utils/iconClassNames';
export const AudioOffIcon = createSvgIcon({
svg: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="2 2 16 16" ... | /content/code_sandbox/packages/fluentui/react-icons-northstar/src/components/AudioOffIcon.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 1,722 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<WixLocalization Culture="fr-fr" xmlns="path_to_url">
<String Id="Locale" Overridable="yes">fr</String>
<String Id="ProductName" Overridable="yes">Console Aspia</String>
<String Id="ShortcutName" Overridable="yes">Console Aspia</String>
<String Id="Downgrade... | /content/code_sandbox/installer/translations/console.fr-fr.wxl | xml | 2016-10-26T16:17:31 | 2024-08-16T13:37:42 | aspia | dchapyshev/aspia | 1,579 | 208 |
```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.
//
// TensorFlowProcessor.mm
// CueCard
//
// Created by diego @ webelectric
//
//
#import "TensorFlowProcessor.h"
#import <AssertMacr... | /content/code_sandbox/ios/CueCard/TensorFlowProcessor.mm | xml | 2016-07-28T17:15:53 | 2024-08-09T07:47:57 | ai | a16z/ai | 1,060 | 2,936 |
```xml
<refentry id="refsess">
<refmeta>
<refentrytitle>ne_session_create</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta>
<refnamediv>
<refname id="ne_session_create">ne_session_create</refname>
<refname id="ne_close_connection">ne_close_connection</refname>
<refname id="ne_sessi... | /content/code_sandbox/libs/neon/doc/ref/sess.xml | xml | 2016-06-22T17:19:44 | 2024-08-16T02:15:29 | winscp | winscp/winscp | 2,528 | 1,158 |
```xml
import { Component, OnInit, Input, EventEmitter, Output } from '@angular/core';
// Uage
// <app-toggle-switch
// [checked]="false"
// (onChange)="change($event)"
// ></app-toggle-switch>
@Component({
selector: 'app-toggle-switch',
styleUrls: ['./toggle-switch.component.scss'],
templateUrl: './toggle-s... | /content/code_sandbox/src/Presentation/Web/ClientApp/src/app/shared/components/toggle-switch/toggle-switch.component.ts | xml | 2016-06-03T17:49:56 | 2024-08-14T02:53:24 | AspNetCoreSpa | fullstackproltd/AspNetCoreSpa | 1,472 | 147 |
```xml
import { ActivatedRouteSnapshot, DetachedRouteHandle, RouteReuseStrategy } from '@angular/router';
import { Injectable } from '@angular/core';
/**
* A route strategy allowing for explicit route reuse.
* Used as a workaround for path_to_url
* To reuse a given route, add `data: { reuse: true }` to the route de... | /content/code_sandbox/generators/app/templates/src/app/@shared/route-reusable-strategy.ts | xml | 2016-04-27T19:11:10 | 2024-08-15T11:32:04 | generator-ngx-rocket | ngx-rocket/generator-ngx-rocket | 1,525 | 249 |
```xml
import { SpawnResult } from '@expo/spawn-async';
export default jest.fn(
async (): Promise<SpawnResult> => ({
pid: 1,
output: [],
stdout: '',
stderr: '',
status: 0,
signal: null,
})
);
``` | /content/code_sandbox/packages/@expo/cli/__mocks__/@expo/spawn-async.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 61 |
```xml
export * from 'rxjs-compat/operator/mergeMapTo';
``` | /content/code_sandbox/deps/node-10.15.3/tools/node_modules/eslint/node_modules/rxjs/operator/mergeMapTo.d.ts | xml | 2016-09-05T10:18:44 | 2024-08-11T13:21:40 | LiquidCore | LiquidPlayer/LiquidCore | 1,010 | 14 |
```xml
import seedrandom from "seedrandom";
import { describe, expect, test } from "vitest";
import { variable } from "../../engine/Autodiff.js";
import { Circle, makeCircle } from "../../shapes/Circle.js";
import { Ellipse, makeEllipse } from "../../shapes/Ellipse.js";
import { Line, makeLine } from "../../shapes/Line... | /content/code_sandbox/packages/core/src/lib/__tests__/SDF.test.ts | xml | 2016-09-22T04:47:19 | 2024-08-16T13:00:54 | penrose | penrose/penrose | 6,760 | 2,760 |
```xml
/**
* PreviewBufferLayer.tsx
*
* Buffer layer for showing preview
*/
import * as React from "react"
import * as Oni from "oni-api"
import styled from "styled-components"
import { withProps } from "./../../UI/components/common"
import { EditorManager } from "./../EditorManager"
import { IPreviewer, Previe... | /content/code_sandbox/browser/src/Services/Preview/PreviewBufferLayer.tsx | xml | 2016-11-16T14:42:55 | 2024-08-14T11:48:05 | oni | onivim/oni | 11,355 | 556 |
```xml
import { Bounds, Vector3 } from '../../../types';
import vtkAbstractMapper, {
IAbstractMapperInitialValues,
} from '../AbstractMapper';
/**
*
*/
export interface IAbstractMapper3DInitialValues
extends IAbstractMapperInitialValues {
bounds?: Bounds;
center?: Vector3;
}
export interface vtkAbstractMapp... | /content/code_sandbox/Sources/Rendering/Core/AbstractMapper3D/index.d.ts | xml | 2016-05-02T15:44:11 | 2024-08-15T19:53:44 | vtk-js | Kitware/vtk-js | 1,200 | 435 |
```xml
export default class ChunkFileReader {
private blob: Blob;
private chunkSize: number;
private offset = 0;
constructor(file: Blob, chunkSize: number) {
this.blob = file;
this.chunkSize = chunkSize;
}
isEOF() {
return this.offset >= this.blob.size;
}
asy... | /content/code_sandbox/packages/drive-store/store/_uploads/ChunkFileReader.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 255 |
```xml
// See LICENSE.txt for license information.
import type {Screens} from '@constants';
import type {OptionsTopBarButton} from 'react-native-navigation/lib/src/interfaces/Options';
export type NavButtons = {
leftButtons?: OptionsTopBarButton[];
rightButtons?: OptionsTopBarButton[];
}
type ScreenKeys = ke... | /content/code_sandbox/types/screens/navigation.ts | xml | 2016-10-07T16:52:32 | 2024-08-16T12:08:38 | mattermost-mobile | mattermost/mattermost-mobile | 2,155 | 78 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="path_to_url">
<PreferenceCategory android:title="Settings">
<EditTextPreference
android:title="Socket IP address"
android:summary="Set your OSX Client's IP address"
android:key="@string/pref_so... | /content/code_sandbox/PieMessage-Android/app/src/main/res/xml/user_settings.xml | xml | 2016-05-02T22:12:23 | 2024-08-12T19:22:38 | PieMessage | bboyairwreck/PieMessage | 1,038 | 83 |
```xml
import { CommandObject } from './CommandAbstract';
export default {
run(ed) {
ed.Components.clear();
ed.Css.clear();
},
} as CommandObject;
``` | /content/code_sandbox/src/commands/view/CanvasClear.ts | xml | 2016-01-22T00:23:19 | 2024-08-16T11:20:59 | grapesjs | GrapesJS/grapesjs | 21,687 | 36 |
```xml
export const alt = 'Open Graph Edge'
export const runtime = 'edge'
export { default } from '../og'
``` | /content/code_sandbox/test/e2e/app-dir/metadata-edge/app/another/opengraph-image.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 25 |
```xml
import * as React from 'react';
import type { IShadowDomStyle, IStyle } from '../../Styling';
import type { IRenderFunction } from '../../Utilities';
import type { IPersonaSharedProps } from '../../Persona';
/**
* {@docCategory ActivityItem}
*/
export interface IActivityItemProps extends React.AllHTMLAttribut... | /content/code_sandbox/packages/react/src/components/ActivityItem/ActivityItem.types.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 1,059 |
```xml
import React, { FunctionComponent } from "react";
const TimeClockCircleIcon: FunctionComponent = () => {
// path_to_url
return (
<svg viewBox="-0.25 -0.25 24.5 24.5" xmlns="path_to_url">
<path
d="M1.500 12.000 A10.500 10.500 0 1 0 22.500 12.000 A10.500 10.500 0 1 0 1.500 12.000 Z"
... | /content/code_sandbox/client/src/core/client/ui/components/icons/TimeClockCircleIcon.tsx | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 251 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder.AppleTV.XIB" version="3.0" toolsVersion="11762" systemVersion="16B2555" targetRuntime="AppleTV" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="appleTV" orientation="la... | /content/code_sandbox/PopcornTime/UI/tvOS/Views/ErrorBackgroundView.xib | xml | 2016-08-07T10:18:41 | 2024-08-16T13:03:46 | PopcornTimeTV | PopcornTimeTV/PopcornTimeTV | 1,357 | 1,102 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="path_to_url">
<group android:checkableBehavior="single">
<item
android:id="@+id/nav_demo"
android:title="Demo Example"/>
<item
android:id="@+id/nav_gravity"
android:title="Gravity Exam... | /content/code_sandbox/sample/src/main/res/menu/activity_main_drawer.xml | xml | 2016-01-30T13:08:17 | 2024-07-10T06:26:08 | MaterialIntroView | iammert/MaterialIntroView | 2,433 | 165 |
```xml
import * as React from 'react';
import { FluentProvider } from '@fluentui/react-provider';
import { teamsLightTheme } from '@fluentui/react-theme';
const LayoutShift: React.FunctionComponent = ({ children }) => {
// eslint-disable-next-line no-restricted-properties
React.useLayoutEffect(() => {
if (docu... | /content/code_sandbox/apps/perf-test-react-components/src/scenarios/FluentProviderWithTheme.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 198 |
```xml
<?xml version="1.0" encoding="utf-8"?>
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<resources>
<!-- Common colors -->
<color name="default_text_color">#333</color>
<color name="default_primary_color">#f2f2f2</color>
<color name=... | /content/code_sandbox/libraries_res/chrome_res/src/main/res/values/colors.xml | xml | 2016-07-04T07:28:36 | 2024-08-15T05:20:42 | AndroidChromium | JackyAndroid/AndroidChromium | 3,090 | 2,439 |
```xml
<?xml version="1.0"?>
<robot name="turtlebot3_waffle_pi_sim" xmlns:xacro="path_to_url">
<xacro:arg name="laser_visual" default="false"/>
<xacro:arg name="camera_visual" default="false"/>
<xacro:arg name="imu_visual" default="false"/>
<gazebo reference="base_link">
<material>Gazebo/DarkGrey</mate... | /content/code_sandbox/turtlebot3_description/urdf/turtlebot3_waffle_pi.gazebo.xacro | xml | 2016-06-21T07:14:22 | 2024-08-16T09:12:21 | turtlebot3 | ROBOTIS-GIT/turtlebot3 | 1,457 | 1,727 |
```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 { ChangeDetectorRef, Component, Input, OnInit } from '@angular/core';
import { PageComponent } from '@shared/compone... | /content/code_sandbox/ui-ngx/src/app/modules/home/components/widget/lib/edges-overview-widget.component.ts | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 1,468 |
```xml
/*
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
*/
/* istanbul ignore file */
import {Outlet} from 'react-router-dom';
import {Header} from './Header';
import {AuthenticationCheck} from 'Authenticatio... | /content/code_sandbox/tasklist/client/src/Layout/index.tsx | xml | 2016-03-20T03:38:04 | 2024-08-16T19:59:58 | camunda | camunda/camunda | 3,172 | 162 |
```xml
import {isCollection, Metadata, Store} from "@tsed/core";
import {SocketFilters} from "../interfaces/SocketFilters.js";
/**
* Inject the list of arguments in the decorated parameter.
*
* `@Args` accept an index parameter to pick up directly the item in the arguments list.
*
* ### Example
*
* ```typescrip... | /content/code_sandbox/packages/third-parties/socketio/src/decorators/args.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 326 |
```xml
import * as React from 'react';
import { shallow } from 'enzyme';
import { Button } from './button';
describe('common/components/form/button specs', () => {
it('should render as expected when passing required properties', () => {
// Arrange
const props = {
label: 'test label',
... | /content/code_sandbox/old_class_components_samples/13 TestComponents/src/common/components/form/button.spec.tsx | xml | 2016-02-28T11:58:58 | 2024-07-21T08:53:34 | react-typescript-samples | Lemoncode/react-typescript-samples | 1,846 | 207 |
```xml
/**
* Clean the username, remove underscore, dashes, dots and lowercase.
*/
export const cleanUsername = (name = '') => name.replace(/[.\-_]/g, '').toLowerCase();
/**
* Validate username for old auth versions.
*/
export const checkUsername = (authVersion: number, username?: string, usernameApi?: string) => ... | /content/code_sandbox/packages/srp/lib/utils/username.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 177 |
```xml
import { Server as ProxyChainServer } from 'proxy-chain';
const server = new ProxyChainServer({
port: 0,
});
server.server.unref();
const listenPromise = server.listen();
listenPromise.catch(() => {});
// path_to_url#L423-L427
export async function getLocalProxyAddress(): Promise<string> {
await list... | /content/code_sandbox/packages/browser-pool/src/proxy-server.ts | xml | 2016-08-26T18:35:03 | 2024-08-16T16:40:08 | crawlee | apify/crawlee | 14,153 | 85 |
```xml
import { RouteConfig } from 'vue-router'
import nav from './nav.json'
import navZhCN from './zh-CN.nav.json'
export interface Nav {
name: string
route: string
component: string
}
export interface NavObj {
[key: string]: Nav[]
}
export const enum LANG {
ENGLISH = '/',
ZH_CN = '/zh-CN/',
}
export ... | /content/code_sandbox/src/nav/index.ts | xml | 2016-09-29T04:23:25 | 2024-08-14T13:08:03 | vue-slider-component | NightCatSama/vue-slider-component | 2,400 | 318 |
```xml
<assembly
xmlns="path_to_url"
xmlns:xsi="path_to_url"
xsi:schemaLocation="path_to_url
path_to_url">
<id>dist</id>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<filter... | /content/code_sandbox/dist.xml | xml | 2016-05-06T08:52:33 | 2024-08-16T12:29:50 | strimzi-kafka-operator | strimzi/strimzi-kafka-operator | 4,713 | 192 |
```xml
/** @jsx jsx */
import { Transforms } from 'slate'
import { jsx } from '../../..'
export const run = editor => {
Transforms.move(editor, { edge: 'end', distance: 3 })
}
export const input = (
<editor>
<block>
one <anchor />
two t<focus />
hree
</block>
</editor>
)
export const ou... | /content/code_sandbox/packages/slate/test/transforms/move/end/distance.tsx | xml | 2016-06-18T01:52:42 | 2024-08-16T18:43:42 | slate | ianstormtaylor/slate | 29,492 | 124 |
```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="M13.84,6.852,12.6,5.7,11.5,3.5a1.05,1.05,0,0,0-0.9-0.5H4.4a1.05,1... | /content/code_sandbox/app/src/main/res/drawable/ic_preset_maki_car.xml | xml | 2016-07-02T10:44:04 | 2024-08-16T18:55:54 | StreetComplete | streetcomplete/StreetComplete | 3,781 | 549 |
```xml
const updateConfigs = `
mutation configsUpdate($configsMap: JSON!) {
configsUpdate(configsMap: $configsMap)
}
`;
const add = `
mutation syncpolarissAdd($name: String!, $expiryDate: Date, $typeId:String) {
syncpolarissAdd(name:$name, expiryDate: $expiryDate, typeId:$typeId) {
name
_id
... | /content/code_sandbox/packages/plugin-syncpolaris-ui/src/settings/graphql/mutations.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 357 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="action_settings"></string>
<string name="action_about"></string>
<string name="action_delete"></string>
<string name="action_transfer"></string>
<string name="action_edit_icon"> </string>
<string name="action_reset_usage_co... | /content/code_sandbox/app/src/main/res/values-bg-rBG/strings.xml | xml | 2016-08-15T19:10:31 | 2024-08-16T19:34:19 | Aegis | beemdevelopment/Aegis | 8,651 | 8,148 |
```xml
<?xml version="1.0"?>
<!--
-->
<info xmlns:xsi= "path_to_url"
xsi:noNamespaceSchemaLocation="path_to_url">
<id>testapp_version</id>
<name>Test app</name>
<summary>A b c</summary>
<description>A b c</description>
<licence>agpl</licence>
<author>Jane</author>
<category>games</category>
<bugs>path_to_url... | /content/code_sandbox/tests/apps/testapp_version/appinfo/info.xml | xml | 2016-06-02T07:44:14 | 2024-08-16T18:23:54 | server | nextcloud/server | 26,415 | 133 |
```xml
export { default as AbuseModal } from './AbuseModal';
export { default as MinimalForgotUsernameContainer } from '../forgotUsername/MinimalForgotUsernameContainer';
export { default as MinimalLoginContainer } from './MinimalLoginContainer';
export { default as FooterDetails } from './FooterDetails';
export { defa... | /content/code_sandbox/packages/components/containers/login/index.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 71 |
```xml
/** @jsxRuntime automatic */
/** @jsxImportSource @fluentui/react-jsx-runtime */
import { assertSlots } from '@fluentui/react-utilities';
import type { SpinnerState, SpinnerSlots } from './Spinner.types';
/**
* Render the final JSX of Spinner
*/
export const renderSpinner_unstable = (state: SpinnerState) => ... | /content/code_sandbox/packages/react-components/react-spinner/library/src/components/Spinner/renderSpinner.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 206 |
```xml
import { useMemo } from "react";
import { GQLFEATURE_FLAG } from "coral-framework/schema";
import { FEATURE_FLAG } from "coral-stream/__generated__/AllCommentsTabContainer_settings.graphql";
interface Props {
story: {
isClosed: boolean;
settings: {
live: {
enabled: boolean;
};
... | /content/code_sandbox/client/src/core/client/framework/hooks/useLive.ts | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 310 |
```xml
import { OrganizationUserType } from "../../../enums";
import { PermissionsApi } from "../../../models/api/permissions.api";
import { SelectionReadOnlyRequest } from "../../../models/request/selection-read-only.request";
export class OrganizationUserUpdateRequest {
type: OrganizationUserType;
accessSecretsM... | /content/code_sandbox/libs/common/src/admin-console/abstractions/organization-user/requests/organization-user-update.request.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 85 |
```xml
<dict>
<key>LayoutID</key>
<integer>3</integer>
<key>PathMapRef</key>
<array>
<dict>
<key>CodecID</key>
<array>
<integer>269697542</integer>
</array>
<key>ExtMic</key>
<dict>
<key>HeadsetMic_dBV</key>
<integer>1088421888</integer>
<key>MuteGPIO</key>
<integer>262144</inte... | /content/code_sandbox/Resources/CS4206/layout3.xml | xml | 2016-03-07T20:45:58 | 2024-08-14T08:57:03 | AppleALC | acidanthera/AppleALC | 3,420 | 10,440 |
```xml
<!-- alternative graphite config, for testing 02910_replicated_merge_parameters_must_consistent -->
<clickhouse>
<graphite_rollup_alternative>
<version_column_name>Version</version_column_name>
<pattern>
<regexp>sum</regexp>
<function>any</function>
<retent... | /content/code_sandbox/tests/config/config.d/graphite_alternative.xml | xml | 2016-06-02T08:28:18 | 2024-08-16T18:39:33 | ClickHouse | ClickHouse/ClickHouse | 36,234 | 372 |
```xml
import { Axis, EdgeOffset } from './utils';
type OffsetCallback = (offset: EdgeOffset) => void;
export interface AutoScrollerUpdatePayload {
translate: Axis;
minTranslate: Axis;
maxTranslate: Axis;
width: number;
height: number;
}
const ACCELERATION = 5; // for auto scroll
/***
* Auto scroll when ... | /content/code_sandbox/src/List/helper/AutoScroller.ts | xml | 2016-06-06T02:27:46 | 2024-08-16T16:41:54 | rsuite | rsuite/rsuite | 8,263 | 680 |
```xml
import {
ChangeDetectionStrategy,
ChangeDetectorRef,
Component,
EventEmitter,
Input,
OnInit,
Output
} from '@angular/core';
import { SharedInfraGroupName } from 'app/model/group.model';
import { Requirement } from 'app/model/requirement.model';
import { WorkerModel } from 'app/model/w... | /content/code_sandbox/ui/src/app/shared/requirements/list/requirements.list.component.ts | xml | 2016-10-11T08:28:23 | 2024-08-16T01:55:31 | cds | ovh/cds | 4,535 | 670 |
```xml
import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext'
import { $wrapNodeInElement } from '@lexical/utils'
import { COMMAND_PRIORITY_EDITOR, $createParagraphNode, $insertNodes, $isRootOrShadowRoot } from 'lexical'
import { useEffect } from 'react'
import { INSERT_BUBBLE_COMMAND } from ... | /content/code_sandbox/packages/web/src/javascripts/Components/SuperEditor/Plugins/ItemBubblePlugin/ItemBubblePlugin.ts | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 260 |
```xml
import React from 'react';
import PropTypes from 'prop-types';
import { Comparator, Template } from './scenario-editor-models';
import ScenarioEditorRow from './scenario-editor-row';
type ScenarioEditorProps = {
instances?: any[];
className?: string;
onChange?: (...args: any[]) => any;
templates?: any[]... | /content/code_sandbox/app/src/components/scenario-editor.tsx | xml | 2016-10-13T06:45:50 | 2024-08-16T18:14:37 | Mailspring | Foundry376/Mailspring | 15,331 | 629 |
```xml
import * as React from 'react';
import * as strings from 'QuestionsWebPartStrings';
// import styles from './Attachments.module.scss';
// redux related
import { connect } from 'react-redux';
import { IApplicationState } from 'webparts/questions/redux/reducers/appReducer';
import { LogHelper } from 'utilities';
/... | /content/code_sandbox/samples/react-questions-and-answers/src/webparts/questions/components/Attachments/UploadAttachment.tsx | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 1,212 |
```xml
export interface NavigatorWithUserAgentData extends Navigator {
userAgentData?: {
brands: { brand: string; version: string }[]
mobile: boolean
platform: string
getHighEntropyValues: (hints: string[]) => Promise<{
platform: string
platformVersion: string
uaFullVersion: string
}>
}
}
let isMa... | /content/code_sandbox/web/components/la-editor/lib/utils/platform.ts | xml | 2016-08-08T16:09:17 | 2024-08-16T16:23:04 | learn-anything.xyz | learn-anything/learn-anything.xyz | 15,943 | 246 |
```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="tr" original="../LocalizableSt... | /content/code_sandbox/src/Cli/dotnet/commands/dotnet-buildserver/xlf/LocalizableStrings.tr.xlf | xml | 2016-07-22T21:26:02 | 2024-08-16T17:23:58 | sdk | dotnet/sdk | 2,627 | 234 |
```xml
import * as React from 'react';
import createSvgIcon from '../utils/createSvgIcon';
const FolderListIcon = createSvgIcon({
svg: ({ classes }) => (
<svg xmlns="path_to_url" viewBox="0 0 2048 2048" className={classes.svg} focusable="false">
<path d="M608 128q45 0 77 9t58 24 46 31 40 31 44 23 55 10h992... | /content/code_sandbox/packages/react-icons-mdl2/src/components/FolderListIcon.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 364 |
```xml
import { generateModels } from './connectionResolver';
import { sendPosclientMessage } from './messageBroker';
export default {
transactionCallback: async ({ subdomain, data }) => {
// TODO: implement transaction callback if necessary
},
callback: async ({ subdomain, data }) => {
const models = aw... | /content/code_sandbox/packages/plugin-pos-api/src/payment.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 158 |
```xml
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
//
// path_to_url
//
// Unless required by applicable law or agreed to in writing,
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDI... | /content/code_sandbox/js/test/unit/builders/utils.ts | xml | 2016-02-17T08:00:23 | 2024-08-16T19:00:48 | arrow | apache/arrow | 14,094 | 2,725 |
```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.
-->
<!-- COMPLETED (28) Create a layout called extra_weather_details.xml -->
<!-- COMPLETED ... | /content/code_sandbox/S11.03-Solution-DetailLayoutAndDataBinding/app/src/main/res/layout/extra_weather_details.xml | xml | 2016-11-02T04:42:26 | 2024-08-12T19:38:06 | ud851-Sunshine | udacity/ud851-Sunshine | 1,999 | 844 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15400" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="Tjv-AT-FJM">
<de... | /content/code_sandbox/functions/LegacyFunctionsQuickstart/FunctionsExample/Base.lproj/Main.storyboard | xml | 2016-04-26T17:13:37 | 2024-08-15T05:40:16 | quickstart-ios | firebase/quickstart-ios | 2,773 | 4,755 |
```xml
<LinearLayout xmlns:android="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:orientation="horizontal"
android:padding="13dp">
<ProgressBar
android:id="@+id/loader"
... | /content/code_sandbox/app/src/main/res/layout/progress.xml | xml | 2016-09-21T08:56:16 | 2024-08-06T13:58:15 | susi_android | fossasia/susi_android | 2,419 | 206 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="path_to_url"
android:width="24dp"
android:height="24dp"
android:viewportHeight="438.549"
android:viewportWidth="438.549">
<group>
<path
android:fillColor="#191919"
android:pathData="M409.132,114.573... | /content/code_sandbox/lib/common/src/main/res/drawable/main_menu_github.xml | xml | 2016-07-30T18:18:32 | 2024-08-16T01:37:59 | AndroidUtilCode | Blankj/AndroidUtilCode | 33,178 | 1,481 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="path_to_url"
xmlns:flowable="path_to_url"
targetNamespace="path_to_url">
<case id="testCase" name="Sentry If Part Test Case" flowable:initiatorVariableName="initiator">
<casePlanModel id="onecaseplanmodel1" name="Cas... | /content/code_sandbox/modules/flowable-cmmn-engine/src/test/resources/org/flowable/cmmn/test/migration/twosentry-ifpart-onevent.cmmn.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 340 |
```xml
import React from 'react';
import PropTypes from 'prop-types';
import Check from '@rsuite/icons/Check';
import Close from '@rsuite/icons/Close';
import { oneOf } from '@/internals/propTypes';
import { useClassNames } from '@/internals/hooks';
import { IconProps } from '@rsuite/icons/lib/Icon';
import { WithAsPro... | /content/code_sandbox/src/Steps/StepItem.tsx | xml | 2016-06-06T02:27:46 | 2024-08-16T16:41:54 | rsuite | rsuite/rsuite | 8,263 | 699 |
```xml
import { c, msgid } from 'ttag';
import { Button } from '@proton/atoms';
import { Form, ModalTwo, ModalTwoContent, ModalTwoFooter, ModalTwoHeader } from '@proton/components';
import type { EncryptionPreferencesError } from '@proton/shared/lib/mail/encryptionPreferences';
import { ENCRYPTION_PREFERENCES_ERROR_TY... | /content/code_sandbox/applications/mail/src/app/components/composer/addresses/SendWithErrorsModal.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 921 |
```xml
import * as React from 'react';
import descriptionMd from './Description.md';
import { ContextualMenuItemType, DefaultButton, Icon, initializeIcons } from '@fluentui/react';
import type { IContextualMenuItem, IContextualMenuProps, IIconProps } from '@fluentui/react';
import {
FluentProvider,
webLightTheme,... | /content/code_sandbox/packages/react-components/react-migration-v8-v9/stories/src/MenuButtonShim/index.stories.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 1,209 |
```xml
//
//
// Microsoft Bot Framework: path_to_url
//
// Bot Framework Emulator Github:
// path_to_url
//
// All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software witho... | /content/code_sandbox/packages/app/shared/src/state/reducers/navBar.spec.ts | xml | 2016-11-11T23:15:09 | 2024-08-16T12:45:29 | BotFramework-Emulator | microsoft/BotFramework-Emulator | 1,803 | 429 |
```xml
// See LICENSE.txt for license information.
class PostChannelInfo {
testID = {
channelDisplayName: 'channel_display_name',
teamDisplayName: 'team_display_name',
};
getPostChannelInfo = (postItemChannelInfoSourceTestID: string, postId: string) => {
const postItemChannelInfoMa... | /content/code_sandbox/detox/e2e/support/ui/component/post_channel_info.ts | xml | 2016-10-07T16:52:32 | 2024-08-16T12:08:38 | mattermost-mobile | mattermost/mattermost-mobile | 2,155 | 208 |
```xml
import { ComponentSlotStylesPrepared, ICSSInJSStyle } from '@fluentui/styles';
import { ChatMessageDetailsStylesProps } from '../../../../components/Chat/ChatMessageDetails';
import { ChatMessageDetailsVariables } from './chatMessageDetailsVariables';
export const chatMessageDetailsStyles: ComponentSlotStylesP... | /content/code_sandbox/packages/fluentui/react-northstar/src/themes/teams/components/Chat/chatMessageDetailsStyles.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 208 |
```xml
import angular from 'angular';
import { Injectable } from 'angular-ts-decorators';
import { BookmarkChangeType, BookmarkContainer } from '../../bookmark/bookmark.enum';
import {
AddBookmarkChangeData,
Bookmark,
BookmarkChange,
BookmarkService,
ModifyBookmarkChangeData,
RemoveBookmarkChangeData,
Upd... | /content/code_sandbox/src/modules/shared/sync/bookmark-sync-provider/bookmark-sync-provider.service.ts | xml | 2016-05-05T20:59:25 | 2024-08-13T14:13:34 | app | xbrowsersync/app | 1,478 | 4,087 |
```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.
-->
<!-- AUTOGENERATED FILE. DO NOT MODIFY. -->
<!-- Version: 6.1.0 -->
<resources>
... | /content/code_sandbox/lib/java/com/google/android/material/sidesheet/res/values/tokens.xml | xml | 2016-12-05T16:11:29 | 2024-08-16T17:51:42 | material-components-android | material-components/material-components-android | 16,176 | 366 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="path_to_url"
xmlns:xsi="path_to_url"
xsi:schemaLocation="path_to_url path_to_url">
<bean id="dataSource" class="org.flowable.common.engine.impl.test.ClosingDataSource">
<constructor-arg>
<bean class="com.zaxxer.hikari.HikariDataSo... | /content/code_sandbox/modules/flowable-cmmn-engine/src/test/resources/flowable.cache.cfg.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 447 |
```xml
/**
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import { buildUrlForBundle } from './buildUrlForBundle';
import { fetchThenEvalAsync } from './fetchThenEval';
/**
* Load a bundle for a URL using fetch + eval on native and ... | /content/code_sandbox/packages/@expo/metro-runtime/src/async-require/loadBundle.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 215 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.