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
/* eslint-disable @typescript-eslint/no-explicit-any */
import * as React from "react";
import styles from "./News.module.scss";
import { INewsProps } from "./INewsProps";
import { INewsState } from "./INewsState";
import dataservices from "../../services/dataservices";
import { NewsItem } from "./NewsItem/NewsI... | /content/code_sandbox/samples/react-global-news-sp2019/src/webparts/components/News.tsx | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 1,199 |
```xml
import {isFunction, Store} from "@tsed/core";
import {DIContext, InjectorService, Provider, runInContext} from "@tsed/di";
import {deserialize} from "@tsed/json-mapper";
import {$log} from "@tsed/logger";
import {Namespace, Socket} from "socket.io";
import {SocketFilters} from "../interfaces/SocketFilters.js";
i... | /content/code_sandbox/packages/third-parties/socketio/src/class/SocketHandlersBuilder.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 1,878 |
```xml
// See LICENSE in the project root for license information.
import type { LoaderContext, LoaderDefinitionFunction } from 'webpack';
import type { NewlineKind } from '@rushstack/node-core-library';
import { Terminal } from '@rushstack/terminal';
import { parseLocFile } from '@rushstack/localization-utilities';
... | /content/code_sandbox/webpack/webpack5-localization-plugin/src/loaders/loc-loader.ts | xml | 2016-09-30T00:28:20 | 2024-08-16T18:54:35 | rushstack | microsoft/rushstack | 5,790 | 266 |
```xml
import { fullscreenMegaState } from "../gfx/helpers/GfxMegaStateDescriptorHelpers.js";
import { GfxShaderLibrary } from "../gfx/helpers/GfxShaderLibrary.js";
import { GfxBindingLayoutDescriptor, GfxDevice, GfxFormat, GfxMipFilterMode, GfxTexFilterMode, GfxWrapMode } from "../gfx/platform/GfxPlatform.js";
import ... | /content/code_sandbox/src/StarFoxAdventures/depthresampler.ts | xml | 2016-10-06T21:43:45 | 2024-08-16T17:03:52 | noclip.website | magcius/noclip.website | 3,206 | 860 |
```xml
/**
* @license
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, ... | /content/code_sandbox/packages/mdc-chips/action/constants.ts | xml | 2016-12-05T16:04:09 | 2024-08-16T15:42:22 | material-components-web | material-components/material-components-web | 17,119 | 600 |
```xml
import * as React from 'react';
import { mount, shallow } from 'enzyme';
import { CdsInternalVisualCheckbox } from './index';
describe('CdsInternalVisualCheckbox', () => {
it('renders', () => {
const wrapper = shallow(
<div>
<CdsInternalVisualCheckbox />
</div>
);
const rendere... | /content/code_sandbox/packages/react/src/internal-components/visual-checkbox/index.test.tsx | xml | 2016-09-29T17:24:17 | 2024-08-11T17:06:15 | clarity | vmware-archive/clarity | 6,431 | 138 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"path_to_url">
<hibernate-configuration>
<session-factory>
<property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="hibernate.conn... | /content/code_sandbox/Hibernate/HibernateManyToManyMapping/src/main/resources/hibernate-annotation.cfg.xml | xml | 2016-05-02T05:43:21 | 2024-08-16T06:51:39 | journaldev | WebJournal/journaldev | 1,314 | 239 |
```xml
/*
* path_to_url
*
* or in the 'license' file accompanying this file. This file is distributed
* on an 'AS IS' BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
*/
import { dynamicEndpoints } from 'ask-sdk-model';
export class DynamicEndpointsRequest implements dynamicEndpoints.Request {
... | /content/code_sandbox/ask-sdk-local-debug/lib/request/DynamicEndpointsRequest.ts | xml | 2016-06-24T06:26:05 | 2024-08-14T12:39:19 | alexa-skills-kit-sdk-for-nodejs | alexa/alexa-skills-kit-sdk-for-nodejs | 3,118 | 93 |
```xml
<?jelly escape-by-default='true'?>
<div>
This plugin is a part of Blue Ocean UI
</div>
``` | /content/code_sandbox/blueocean-rest/src/main/resources/index.jelly | xml | 2016-01-23T18:02:45 | 2024-08-13T04:31:34 | blueocean-plugin | jenkinsci/blueocean-plugin | 2,874 | 27 |
```xml
import { TFabricPlatformPageProps } from '../../../interfaces/Platforms';
import { ThemeProviderPageProps as ExternalProps } from '@fluentui/react-examples/lib/react/ThemeProvider/ThemeProvider.doc';
import { ISideRailLink } from '@fluentui/react-docsite-components/lib/index2';
const related: ISideRailLink[] = ... | /content/code_sandbox/apps/public-docsite/src/pages/Controls/ThemeProviderPage/ThemeProviderPage.doc.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 101 |
```xml
import Plotly, { PlotlyHTMLElement } from "plotly.js-basic-dist-min";
import _ from "lodash";
type Params = {
readonly type: "line" | "scatter" | "bar" | "area" | "pie";
readonly stacking: 0 | string;
readonly groupBy: string[];
readonly rows: (string | number)[][];
readonly fields: string[];
readon... | /content/code_sandbox/src/lib/Chart.ts | xml | 2016-08-23T12:20:03 | 2024-08-14T08:26:34 | bdash | bdash-app/bdash | 1,488 | 1,347 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>15C50</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>GPUSensors</strin... | /content/code_sandbox/Clover-Configs/Lenovo/Y480/CLOVER/kexts/10.11/FakeSMC_GPUSensors.kext/Contents/Info.plist | xml | 2016-11-05T04:22:54 | 2024-08-12T19:25:53 | Hackintosh-Installer-University | huangyz0918/Hackintosh-Installer-University | 3,937 | 1,357 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<IsPackable>false</IsPackable>
<OutputType>exe</OutputType>
<DefineConstants Condition="'$(IsWindows)' == 'true'">$(DefineConstants);TEST_D3D11;TEST_VULKA... | /content/code_sandbox/src/Veldrid.Tests/Veldrid.Tests.csproj | xml | 2016-02-25T23:00:28 | 2024-08-16T12:32:21 | veldrid | veldrid/veldrid | 2,456 | 808 |
```xml
import type { ReactNode } from 'react';
interface Props {
label: ReactNode;
className?: string;
children: ReactNode;
}
const RecipientType = ({
label,
className = 'flex items-start flex-nowrap message-recipient-item-expanded max-w-full',
children,
}: Props) => {
return (
<sp... | /content/code_sandbox/applications/mail/src/app/components/message/recipients/RecipientType.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 135 |
```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
/**
* Computes the cosine of a double-precision floating-point number on `[-/4, /4]`.
... | /content/code_sandbox/lib/node_modules/@stdlib/math/base/special/kernel-cos/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 351 |
```xml
<vector xmlns:android="path_to_url"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="#FFBDBDBD"
android:pathData="M11,18c0,1.1 -0.9,2 -2,2s-2,-0.9 -2,-2 0.9,-2 2,-2 2,0.9 2,2zM9,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,... | /content/code_sandbox/Android/app/src/main/res/drawable/ic_drag_indicator_grey_400_24dp.xml | xml | 2016-01-30T13:42:30 | 2024-08-12T19:21:10 | Travel-Mate | project-travel-mate/Travel-Mate | 1,292 | 374 |
```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 {
CellActionDescriptor,
DateEntityTableColumn,
EntityTableColumn,
EntityTableConfig
} from '@home/models/ent... | /content/code_sandbox/ui-ngx/src/app/modules/home/pages/notification/inbox/inbox-table-config.resolver.ts | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 1,219 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<data>
<messages>
<ccp_dialog_title translation=" " />
<ccp_dialog_search_hint_message translation="..." />
<ccp_dialog_no_result_ack_message translation=" " />
</messages>
<countries>
<country
name=""
en... | /content/code_sandbox/ccp/src/main/res/raw/ccp_korean.xml | xml | 2016-01-20T10:28:34 | 2024-08-13T16:24:01 | CountryCodePickerProject | hbb20/CountryCodePickerProject | 1,506 | 6,895 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<!--
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, WITH... | /content/code_sandbox/apps/android_deploy/app/src/main/res/layout/activity_main.xml | xml | 2016-10-12T22:20:28 | 2024-08-16T11:24:08 | tvm | apache/tvm | 11,517 | 289 |
```xml
<vector xmlns:android="path_to_url"
android:width="96dp"
android:height="96dp"
android:viewportWidth="96"
android:viewportHeight="96">
<path
android:pathData="m63.025,52.358c-6.812,5.195 -10.217,7.794 -16.284,7.073 -6.074,-0.726 -11.767,-4.408 -14.063,-10.689 3.775,-5.562 10.216,-7.79 16.... | /content/code_sandbox/app/src/main/res/drawable/ic_recycling_green_waste.xml | xml | 2016-07-02T10:44:04 | 2024-08-16T18:55:54 | StreetComplete | streetcomplete/StreetComplete | 3,781 | 2,476 |
```xml
import {test, expect} from 'vitest';
import ensure from './enum.js';
test('false for no params', () => {
const actual = (ensure as () => boolean)();
expect(actual).toBe(false);
});
test('false for not array enums', () => {
const actual = ensure('a', 'a' as any);
expect(actual).toBe(false);
});
test('true... | /content/code_sandbox/@commitlint/ensure/src/enum.test.ts | xml | 2016-02-12T08:37:56 | 2024-08-16T13:28:33 | commitlint | conventional-changelog/commitlint | 16,499 | 288 |
```xml
// Type definitions for ag-grid v6.2.1
// Project: path_to_url
// Definitions by: Niall Crosby <path_to_url
// Definitions: path_to_url
export interface ICellRenderer {
/** Params for rendering. The same params that are passed to the cellRenderer function.
*/
init?(params: any): void;
/** Return... | /content/code_sandbox/services/dashboard/assets-dev/js/vendor/ag-grid/dist/lib/rendering/cellRenderers/iCellRenderer.d.ts | xml | 2016-06-21T19:39:58 | 2024-08-12T19:23:26 | mylg | mehrdadrad/mylg | 2,691 | 209 |
```xml
import { StorageArea, ToolkitStorage } from './index';
import { getBrowser } from 'toolkit/core/common/web-extensions';
import { setupWithWebExtensionStorage } from 'toolkit/test/utils/setup';
interface SetupOptions {
storageArea: StorageArea;
}
const setup = setupWithWebExtensionStorage((overrides: Partial<... | /content/code_sandbox/src/core/common/storage/index.test.ts | xml | 2016-01-03T05:38:10 | 2024-08-13T16:08:09 | toolkit-for-ynab | toolkit-for-ynab/toolkit-for-ynab | 1,418 | 1,944 |
```xml
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { SharedModule } from '@app/shared';
import { SignalrComponent } from './signalr.component';
import { ChatComponent } from './chat/chat.component';
import { MoveShapeComponent } from './move-shape/move-shape.compone... | /content/code_sandbox/src/Presentation/Web/ClientApp/src/app/+examples/examples/signalr/signalr.module.ts | xml | 2016-06-03T17:49:56 | 2024-08-14T02:53:24 | AspNetCoreSpa | fullstackproltd/AspNetCoreSpa | 1,472 | 143 |
```xml
<RelativeLayout xmlns:android="path_to_url"
xmlns:tools="path_to_url" android:layout_width="match_parent"
android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_verti... | /content/code_sandbox/app/src/main/res/layout/activity_license_agreement.xml | xml | 2016-09-23T13:33:17 | 2024-08-15T09:51:19 | xDrip | NightscoutFoundation/xDrip | 1,365 | 758 |
```xml
<!--
***********************************************************************************************
Microsoft.NET.ClickOnce.targets
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
created a backup copy. Incorrect changes to this file will make it
impos... | /content/code_sandbox/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.ClickOnce.targets | xml | 2016-07-22T21:26:02 | 2024-08-16T17:23:58 | sdk | dotnet/sdk | 2,627 | 662 |
```xml
<?xml version="1.0"?>
<?mso-application progid="Excel.Sheet"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:ss="urn:schemas-microsoft... | /content/code_sandbox/tests/data/Reader/Xml/datavalidations.xml | xml | 2016-06-19T16:58:48 | 2024-08-16T14:51:45 | PhpSpreadsheet | PHPOffice/PhpSpreadsheet | 13,180 | 2,767 |
```xml
import { useCallback } from 'react';
import type { WebChatActivity } from 'botframework-webchat-core';
import useMarkActivity from './internal/useMarkActivity';
export default function useMarkActivityAsSpoken(): (activity: WebChatActivity) => void {
const markActivity = useMarkActivity();
return useCallba... | /content/code_sandbox/packages/api/src/hooks/useMarkActivityAsSpoken.ts | xml | 2016-07-07T23:16:57 | 2024-08-16T00:12:37 | BotFramework-WebChat | microsoft/BotFramework-WebChat | 1,567 | 84 |
```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="pl" original="../LocalizableSt... | /content/code_sandbox/src/Cli/dotnet/commands/dotnet-workload/uninstall/xlf/LocalizableStrings.pl.xlf | xml | 2016-07-22T21:26:02 | 2024-08-16T17:23:58 | sdk | dotnet/sdk | 2,627 | 588 |
```xml
import { Injectable } from '@angular/core';
import { environment } from '../../environments/environment';
import { HttpClient, HttpHeaders } from '@angular/common/http';
import { GlobalService } from './global.service';
@Injectable()
export class ApiService {
API = environment.api_endpoint;
HEADERS = { 'Con... | /content/code_sandbox/frontend_v2/src/app/services/api.service.ts | xml | 2016-10-21T00:51:45 | 2024-08-16T14:41:56 | EvalAI | Cloud-CV/EvalAI | 1,736 | 1,076 |
```xml
import { Validators } from '@angular/forms';
import { ConfigStateService } from '@abp/ng.core';
import { getPasswordValidators } from '@abp/ng.theme.shared';
import { ePropType, FormProp } from '@abp/ng.components/extensible';
import { IdentityUserDto } from '@abp/ng.identity/proxy';
export const DEFAULT_USERS_... | /content/code_sandbox/npm/ng-packs/packages/identity/src/lib/defaults/default-users-form-props.ts | xml | 2016-12-03T22:56:24 | 2024-08-16T16:24:05 | abp | abpframework/abp | 12,657 | 610 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="path_to_url">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGro... | /content/code_sandbox/windows/modernize-traditional-apps/modernize-aspnet-ops/v1.2/src/UpgradeSample.Web/UpgradeSample.Web.csproj | xml | 2016-04-20T23:52:34 | 2024-08-16T14:15:54 | labs | docker/labs | 11,512 | 1,316 |
```xml
import { graphql } from "react-relay";
import { Environment } from "relay-runtime";
import { getViewer } from "coral-framework/helpers";
import {
commitMutationPromiseNormalized,
createMutation,
} from "coral-framework/lib/relay";
let clientMutationId = 0;
import { AcknowledgeModMessageMutation as Mutation... | /content/code_sandbox/client/src/core/client/stream/tabs/Comments/Stream/ModMessage/AcknowledgeModMessageMutation.ts | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 298 |
```xml
import { connectionDetails } from './connectionDetails'
import { Client } from 'pg'
import Connectors from '../../../connectors'
import { DatabaseType, DefaultRenderer } from 'prisma-datamodel'
export default async function testSchema(
schemaSql: string,
schemaName: string = 'DatabaseIntrospector',
create... | /content/code_sandbox/cli/packages/prisma-db-introspection/src/__tests__/postgres/blackbox/common.ts | xml | 2016-09-25T12:54:40 | 2024-08-16T11:41:23 | prisma1 | prisma/prisma1 | 16,549 | 385 |
```xml
/* your_sha256_hash-------------
|your_sha256_hash------------*/
import { program as commander } from 'commander';
import * as path from 'path';
import * as os from 'os';
import { handlePackage } from './update-dist-tag';
import * as utils from './utils';
/**
* Sleep for a specified period.
*
* @param wait ... | /content/code_sandbox/buildutils/src/publish.ts | xml | 2016-06-03T20:09:17 | 2024-08-16T19:12:44 | jupyterlab | jupyterlab/jupyterlab | 14,019 | 880 |
```xml
import { logger } from 'storybook/internal/node-logger';
import { dedent } from 'ts-dedent';
export const checkWebpackVersion = (
webpack: { version?: string },
specifier: string,
caption: string
) => {
if (!webpack.version) {
logger.info('Skipping webpack version check, no version available');
... | /content/code_sandbox/code/lib/core-webpack/src/check-webpack-version.ts | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 171 |
```xml
// DO NOT EDIT. Generated from templates/neuroglancer/util/linked_list.template.ts.
/**
* @license
*
* 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.
*/
interface Node<T> {
next0: T | n... | /content/code_sandbox/src/util/linked_list.0.ts | xml | 2016-05-27T02:37:25 | 2024-08-16T07:24:25 | neuroglancer | google/neuroglancer | 1,045 | 481 |
```xml
/*
* Squidex Headless CMS
*
* @license
*/
import { AsyncPipe } from '@angular/common';
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { DateTimeEditorComponent, DropdownComponent, HighlightPipe, TranslateP... | /content/code_sandbox/frontend/src/app/shared/components/search/queries/filter-comparison.component.ts | xml | 2016-08-29T05:53:40 | 2024-08-16T17:39:38 | squidex | Squidex/squidex | 2,222 | 704 |
```xml
import { Card, CardBody, CardHeader, Grid } from '@chakra-ui/react';
import { InputField } from 'renderer/components/fields';
export const TerminologyCard = () => {
return (
<Card variant="elevated">
<CardHeader>Terminology</CardHeader>
<CardBody>
<Grid templateColumns="repeat(1, 1fr)"... | /content/code_sandbox/src/renderer/views/admin/views/add/components/terminology-card.tsx | xml | 2016-05-14T02:18:49 | 2024-08-16T02:46:28 | ElectroCRUD | garrylachman/ElectroCRUD | 1,538 | 214 |
```xml
// Type definitions for iview 3.3.1
// Project: path_to_url
// Definitions by: yangdan
// Definitions: path_to_url
import Vue, { VNode } from 'vue';
export declare class Drawer extends Vue {
/**
* v-model
* @default false
*/
value?: boolean;
/**
* slot title
* @default ... | /content/code_sandbox/types/drawer.d.ts | xml | 2016-07-28T01:52:59 | 2024-08-16T10:15:08 | iview | iview/iview | 23,980 | 483 |
```xml
import os from 'os'
import pathlib from 'path'
import { CLI_ROOT_DIR } from './root'
// configurable
export const defaultBotpressHome = pathlib.join(os.homedir(), '.botpress')
export const defaultOutputFolder = '.botpress'
export const defaultEntrypoint = pathlib.join('src', 'index.ts')
export const defaultBo... | /content/code_sandbox/packages/cli/src/consts.ts | xml | 2016-11-16T21:57:59 | 2024-08-16T18:45:35 | botpress | botpress/botpress | 12,401 | 347 |
```xml
import { MessengerTypes } from 'messaging-api-messenger'
import * as bp from '.botpress'
export type InstagramPayload = {
object: string
entry: InstagramEntry[]
}
export type InstagramEntry = {
id: string
time: number
messaging: InstagramMessage[]
}
export type InstagramMessage = {
sender: { id: s... | /content/code_sandbox/integrations/instagram/src/misc/types.ts | xml | 2016-11-16T21:57:59 | 2024-08-16T18:45:35 | botpress | botpress/botpress | 12,401 | 322 |
```xml
import * as React from 'react';
import { ColorPalette, MarkdownHeader } from '@fluentui/react-docsite-components/lib/index2';
import { WXPNeutrals } from './WXPNeutrals';
export const Excel = () => {
return (
<>
<MarkdownHeader as="h2">Excel</MarkdownHeader>
<ColorPalette
colors={[
... | /content/code_sandbox/apps/public-docsite/src/pages/Styles/Colors/palettes/Excel.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 273 |
```xml
const appValue = await Promise.resolve('hello')
export default function Page() {
return <p id="app-router-value">{appValue}</p>
}
``` | /content/code_sandbox/test/e2e/async-modules-app/app/app-router/page.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 33 |
```xml
import type { WithOptimisticReducer, WrappedOptimisticState } from '../types';
import getWithoutFailed from './get-without-failed';
import type { TestState } from './testing.utils';
import { createTestDeterministicAction, createTestOptimisticHistoryItem, testReducer } from './testing.utils';
describe('getWithou... | /content/code_sandbox/packages/pass/store/optimistic/utils/get-without-failed.spec.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 401 |
```xml
/**
@example 'Something done (#123)' => 'Something done'
*/
export default function cleanPrCommitTitle(commitTitle: string, pr: number): string {
return commitTitle.replace(new RegExp(`\\(#${pr}\\)\\s*$`), '').trim();
}
``` | /content/code_sandbox/source/helpers/pr-commit-cleaner.ts | xml | 2016-02-15T16:45:02 | 2024-08-16T18:39:26 | refined-github | refined-github/refined-github | 24,013 | 55 |
```xml
import * as React from 'react';
import styles from './ScatterChartDemo.module.scss';
import { IScatterChartDemoProps } from './IScatterChartDemo.types';
// used to add a chart control
import { ChartControl, ChartType } from '@pnp/spfx-controls-react/lib/ChartControl';
import * as strings from 'ScatterChartDemo... | /content/code_sandbox/samples/react-chartcontrol/src/webparts/scatterChartDemo/components/ScatterChartDemo.tsx | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 1,128 |
```xml
import * as React from 'react'
import { IAutocompletionProvider } from './index'
import { compare } from '../../lib/compare'
import { DefaultMaxHits } from './common'
import { Emoji } from '../../lib/emoji'
const sanitizeEmoji = (emoji: string) => emoji.replaceAll(':', '')
/**
* Interface describing a autocom... | /content/code_sandbox/app/src/ui/autocompletion/emoji-autocompletion-provider.tsx | xml | 2016-05-11T15:59:00 | 2024-08-16T17:00:41 | desktop | desktop/desktop | 19,544 | 958 |
```xml
class MemberCreationValidationError extends Error {
public trace = false;
}
export default MemberCreationValidationError;
``` | /content/code_sandbox/packages/account/members/errors/MemberCreationValidationError.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 21 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="path_to_url"><title>skidl</title><link href="path_to_url" rel="alternate"></link><link href="path_to_url" rel="self"></link><id>path_to_url Test Post</title><link href="path_to_url" rel="alternate"></link><published>2021-07-12T16:30:00-04:00</published><updated... | /content/code_sandbox/docsrc/pelicansite/output/feeds/all.atom.xml | xml | 2016-08-16T19:21:55 | 2024-08-13T22:10:15 | skidl | devbisme/skidl | 1,012 | 232 |
```xml
import type { TreeItemPersonaLayoutSlots, TreeItemPersonaLayoutState } from './TreeItemPersonaLayout.types';
import type { SlotClassNames } from '@fluentui/react-utilities';
import { makeResetStyles, makeStyles, mergeClasses } from '@griffel/react';
import { tokens, typographyStyles } from '@fluentui/react-theme... | /content/code_sandbox/packages/react-components/react-tree/library/src/components/TreeItemPersonaLayout/useTreeItemPersonaLayoutStyles.styles.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 1,438 |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
xmlns:xsi="path_to_url">
<response>
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<resData>
<domain:infData
xmlns:domain="urn:ietf:params:xml:ns:doma... | /content/code_sandbox/core/src/test/resources/google/registry/flows/domain/domain_info_response_dsdata.xml | xml | 2016-02-29T20:16:48 | 2024-08-15T19:49:29 | nomulus | google/nomulus | 1,685 | 636 |
```xml
import { assert, expect } from 'chai';
import { buildFilter } from '../buildFilter';
import { ParentType, ParserOptions, PropItem } from '../parser';
function createProp(
name: string,
required: boolean = false,
defaultValue?: any,
description: string = '',
type = { name: 'string' },
parent?: Parent... | /content/code_sandbox/src/__tests__/buildFilter.ts | xml | 2016-05-06T14:40:29 | 2024-08-15T13:51:56 | react-docgen-typescript | styleguidist/react-docgen-typescript | 1,176 | 1,494 |
```xml
export { default as ApprovalDialog, IApprovalDialog } from './ApprovalDialog';
export { default as ApproversPanel, IApproversPanel } from './ApproversPanel';
export { default as ConfigureApproversPanel, IConfigureApproversPanel } from './ConfigureApproversPanel';
export { default as MyApprovalsPanel, IMyApproval... | /content/code_sandbox/samples/react-rhythm-of-business-calendar/src/components/approvals/index.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 94 |
```xml
import { $ } from '../$.js';
import { removeAttribute } from '../shared/attributes.js';
import { eachArray } from '../shared/helper.js';
import './each.js';
import type { JQ } from '../shared/core.js';
declare module '../shared/core.js' {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
interfa... | /content/code_sandbox/packages/jq/src/methods/removeAttr.ts | xml | 2016-07-11T17:39:02 | 2024-08-16T07:12:34 | mdui | zdhxiong/mdui | 4,077 | 208 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="path_to_url"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height... | /content/code_sandbox/app/src/main/res/layout/pop_layout1.xml | xml | 2016-11-30T15:02:37 | 2024-08-06T06:46:04 | CustomPopwindow | pinguo-zhouwei/CustomPopwindow | 1,419 | 216 |
```xml
import { ApolloError } from "apollo-server-express";
import {
DocumentNode,
GraphQLFormattedError,
OperationDefinitionNode,
OperationTypeNode,
} from "graphql";
import { merge } from "lodash";
import {
CoralError,
InternalDevelopmentError,
WrappedInternalError,
} from "coral-server/errors";
import... | /content/code_sandbox/server/src/core/server/graph/plugins/helpers.ts | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 1,035 |
```xml
import { HttpClientModule } from '@angular/common/http';
import { TestBed } from '@angular/core/testing';
import { InMemoryCache } from '@apollo/client/core';
import { mockSingleLink } from '@apollo/client/testing';
import { Apollo, APOLLO_OPTIONS, ApolloModule } from '../src';
describe('Integration', () => {
... | /content/code_sandbox/packages/apollo-angular/tests/integration.spec.ts | xml | 2016-04-16T00:10:50 | 2024-08-15T11:41:24 | apollo-angular | kamilkisiela/apollo-angular | 1,497 | 183 |
```xml
import React from 'react';
import {
TouchableOpacity,
Modal,
View,
StatusBar,
I18nManager,
ViewStyle,
StyleProp,
ColorValue,
Platform,
Dimensions,
Pressable,
} from 'react-native';
import Triangle from './components/Triangle';
import { ScreenWidth, isIOS, RneFunctionComponent } from '../hel... | /content/code_sandbox/packages/base/src/Tooltip/Tooltip.tsx | xml | 2016-09-08T14:21:41 | 2024-08-16T10:11:29 | react-native-elements | react-native-elements/react-native-elements | 24,875 | 1,955 |
```xml
export interface IMeeting {
id: string;
subject: string;
start: Date;
end: Date;
webLink: string;
isAllDay: boolean;
location: string;
organizer: string;
status: string;
}
``` | /content/code_sandbox/samples/react-aad-implicitflow/src/webparts/upcomingMeetings/components/IMeeting.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 56 |
```xml
import * as React from 'react';
import { styled } from '@fluentui/react/lib/Utilities';
import {
IHorizontalBarChartProps,
IHorizontalBarChartStyleProps,
IHorizontalBarChartStyles,
} from './HorizontalBarChart.types';
import { HorizontalBarChartBase } from './HorizontalBarChart.base';
import { getHorizonta... | /content/code_sandbox/packages/react-charting/src/components/HorizontalBarChart/HorizontalBarChart.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 171 |
```xml
import { addProjectConfiguration, ProjectType, stripIndents, writeJson } from '@nx/devkit';
import { createTreeWithEmptyWorkspace } from '@nx/devkit/testing';
import { execSync, spawnSync, SpawnSyncReturns } from 'child_process';
import { workspacePaths } from '../../utils';
import epicGenerator from './index';
... | /content/code_sandbox/tools/workspace-plugin/src/generators/epic-generator/index.spec.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 2,142 |
```xml
import { nextTestSetup } from 'e2e-utils'
import { check } from 'next-test-utils'
describe('RSC binary serialization', () => {
const { next, skipped } = nextTestSetup({
files: __dirname,
skipDeployment: true,
dependencies: {
react: '19.0.0-beta-04b058868c-20240508',
'react-dom': '19.0.... | /content/code_sandbox/test/e2e/app-dir/binary/rsc-binary.test.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 244 |
```xml
import { Text, TextProps } from './Text';
export { Text };
export type { TextProps };
``` | /content/code_sandbox/packages/base/src/Text/index.tsx | xml | 2016-09-08T14:21:41 | 2024-08-16T10:11:29 | react-native-elements | react-native-elements/react-native-elements | 24,875 | 22 |
```xml
import Spinner from "@erxes/ui/src/components/Spinner";
import { IField } from "@erxes/ui/src/types";
import { gql } from "@apollo/client";
import React from "react";
import { useQuery } from "@apollo/client";
import RelationForm from "../components/RelationForm";
import queries from "../queries";
type Props =... | /content/code_sandbox/packages/core-ui/src/modules/forms/containers/RelationForm.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 192 |
```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
/**
* Tests if a value is ndarray-like.
*
* @param v - value to test
* @returns boolea... | /content/code_sandbox/lib/node_modules/@stdlib/assert/is-ndarray-like/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 214 |
```xml
import * as nls from "vscode-nls";
import { basicCheck, createNotFoundMessage } from "../util";
import { IValidation, ValidationCategoryE, ValidationResultT } from "./types";
nls.config({
messageFormat: nls.MessageFormat.bundle,
bundleFormat: nls.BundleFormat.standalone,
})();
const locale = nls.loadMe... | /content/code_sandbox/src/extension/services/validationService/checks/xcodecli.ts | xml | 2016-01-20T21:10:07 | 2024-08-16T15:29:52 | vscode-react-native | microsoft/vscode-react-native | 2,617 | 217 |
```xml
export * from './SQLite';
export * from './SQLite.types';
``` | /content/code_sandbox/packages/expo-sqlite/src/legacy/index.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 14 |
```xml
import { Model, model } from 'mongoose';
import { ICover, ICoverDocument, coverSchema } from './definitions/covers';
export interface ICoverModel extends Model<ICoverDocument> {
getCover(_id: string): Promise<ICoverDocument>;
createCover(doc: ICover): Promise<ICoverDocument>;
updateCover(_id: string, doc:... | /content/code_sandbox/packages/plugin-pos-api/src/models/Covers.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 274 |
```xml
<clickhouse>
<logger>
<level>test</level>
</logger>
<storage_configuration>
<disks>
<s3>
<type>s3</type>
<!-- Use custom S3 endpoint -->
<endpoint>path_to_url
<access_key_id>minio</access_key_id>
... | /content/code_sandbox/tests/integration/test_s3_aws_sdk_has_slightly_unreliable_behaviour/configs/storage_conf.xml | xml | 2016-06-02T08:28:18 | 2024-08-16T18:39:33 | ClickHouse | ClickHouse/ClickHouse | 36,234 | 236 |
```xml
import { zoneDetailMock } from 'stories/mockData';
import {
dateToDatetimeString,
getCarbonIntensity,
getCO2IntensityByMode,
getFossilFuelRatio,
getProductionCo2Intensity,
getRenewableRatio,
} from './helpers';
describe('getCO2IntensityByMode', () => {
// Tests for consumption
describe('consump... | /content/code_sandbox/web/src/utils/helpers.test.ts | xml | 2016-05-21T16:36:17 | 2024-08-16T17:56:07 | electricitymaps-contrib | electricitymaps/electricitymaps-contrib | 3,437 | 1,701 |
```xml
import { IContext } from '../..';
import { IObjectTypeResolver } from '@graphql-tools/utils';
//forumCpMySubscriptionOrders: [ForumSubscriptionOrder!]
const subscriptionOrderQueries: IObjectTypeResolver<any, IContext> = {
async forumCpMySubscriptionOrders(
_,
__,
{ models: { SubscriptionOrder }, ... | /content/code_sandbox/packages/plugin-forum-api/src/graphql/resolvers/Query/subscriptionOrderQueries.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 99 |
```xml
import {clone, isObject, Timer} from '../utils'
describe('Timer', () => {
it('should init timer', (done) => {
// eslint-disable-next-line @typescript-eslint/no-empty-function
let time = 0
const spy = jest.fn()
const timer = new Timer(40, spy)
expect(timer.remainingTim... | /content/code_sandbox/src/tests/utils.spec.ts | xml | 2016-04-18T14:42:12 | 2024-08-13T16:26:17 | reapop | LouisBarranqueiro/reapop | 1,547 | 434 |
```xml
// Soft validation to prevent invalid API calls
export function isValidName(name: string = ''): boolean {
// The name must have at least one different character.
// We need to do it this way to still allow project names
// with different characters, like other languages, but
// prevent API calls like `pa... | /content/code_sandbox/packages/cli/src/util/is-valid-name.ts | xml | 2016-09-09T01:12:08 | 2024-08-16T17:39:45 | vercel | vercel/vercel | 12,545 | 101 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android="path_to_url"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
and... | /content/code_sandbox/app/src/main/res/layout/dialog_locked_accounts.xml | xml | 2016-05-04T11:46:20 | 2024-08-15T16:29:10 | android | meganz/android | 1,537 | 412 |
```xml
/*
*
* See the LICENSE file at the top-level directory of this distribution
* for licensing information.
*
* Unless otherwise agreed in a custom licensing agreement with the Lisk Foundation,
* no part of this software, including this file, may be copied, modified,
* propagated, or distributed except accor... | /content/code_sandbox/framework/src/modules/reward/constants.ts | xml | 2016-02-01T21:45:35 | 2024-08-15T19:16:48 | lisk-sdk | LiskArchive/lisk-sdk | 2,721 | 261 |
```xml
import React from 'react';
import { render } from '@testing-library/react';
import Icon from '../index';
const Right = (props) => (
<svg
viewBox="0 0 32 24"
fill="currentColor"
stroke="currentColor"
width="1em"
height="1em"
{...props}
>
<path
d="M1 12.376l8.8 9.114L30.431 1... | /content/code_sandbox/packages/zarm/src/icon/__tests__/index.test.tsx | xml | 2016-07-13T11:45:37 | 2024-08-12T19:23:48 | zarm | ZhongAnTech/zarm | 1,707 | 284 |
```xml
import { Component } from 'react';
import { NumberProp } from '../../lib/extract/types';
import { warnUnimplementedFilter } from '../../lib/util';
export interface FeDistantLightProps {
azimuth?: NumberProp;
elevation?: NumberProp;
}
export default class FeDistantLight extends Component<FeDistantLightProps... | /content/code_sandbox/src/elements/filters/FeDistantLight.tsx | xml | 2016-01-17T14:29:21 | 2024-08-16T13:35:44 | react-native-svg | software-mansion/react-native-svg | 7,397 | 103 |
```xml
import { Typed } from "../typed.js";
import { Coder } from "./abstract-coder.js";
import type { BigNumberish } from "../../utils/index.js";
import type { Reader, Writer } from "./abstract-coder.js";
/**
* @_ignore
*/
export declare class NumberCoder extends Coder {
readonly size: number;
readonly sign... | /content/code_sandbox/lib.commonjs/abi/coders/number.d.ts | xml | 2016-07-16T04:35:37 | 2024-08-16T13:37:46 | ethers.js | ethers-io/ethers.js | 7,843 | 128 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id=":base" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android-gradle" name="Android-G... | /content/code_sandbox/Android/AndroidInstantApps/base/base.iml | xml | 2016-05-02T05:43:21 | 2024-08-16T06:51:39 | journaldev | WebJournal/journaldev | 1,314 | 3,521 |
```xml
export { default } from "./Quantizer"
``` | /content/code_sandbox/app/src/quantizer/index.ts | xml | 2016-03-06T15:19:53 | 2024-08-15T14:27:10 | signal | ryohey/signal | 1,238 | 10 |
```xml
import WorkerMessageBroker from 'proton-pass-extension/app/worker/channel';
import store from 'proton-pass-extension/app/worker/store';
import { validateFormCredentials } from 'proton-pass-extension/lib/utils/form-entry';
import { c } from 'ttag';
import { itemBuilder } from '@proton/pass/lib/items/item.builder... | /content/code_sandbox/applications/pass-extension/src/app/worker/services/autosave.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 1,437 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>FloatingActionButtonSettingsForm</class>
<widget class="QWidget" name="FloatingActionButtonSettingsForm">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>599</width>
<height>418</height>
</rect>
</property>
... | /content/code_sandbox/examples/fabsettingsform.ui | xml | 2016-03-18T08:58:04 | 2024-08-16T14:50:20 | qt-material-widgets | laserpants/qt-material-widgets | 2,898 | 1,897 |
```xml
<vector android:height="48dp" android:viewportHeight="128"
android:viewportWidth="128" android:width="48dp" xmlns:android="path_to_url">
<path
android:fillColor="#bacfef"
android:pathData="m38,28v88h20v4h12v-4h20v-88z" />
<path
android:fillColor="#859dbf"
android:pathD... | /content/code_sandbox/app/src/main/res/drawable/ic_building_office.xml | xml | 2016-07-02T10:44:04 | 2024-08-16T18:55:54 | StreetComplete | streetcomplete/StreetComplete | 3,781 | 332 |
```xml
import {
colorToFunctionalRgbaString,
IntColor,
mapRange,
readIntColorString,
} from '@tweakpane/core';
import {presetToState, stateToPreset} from 'ts/preset';
import {Pane} from 'tweakpane';
import {Sketch} from '../sketch.js';
import {Environment} from '../sketch.js';
import {selectContainer} from '../uti... | /content/code_sandbox/packages/tweakpane/src/doc/ts/route/index.ts | xml | 2016-05-10T15:45:13 | 2024-08-16T19:57:27 | tweakpane | cocopon/tweakpane | 3,480 | 1,566 |
```xml
/* eslint-disable testing-library/no-node-access */
import React from 'react';
import sinon from 'sinon';
import { render, screen, fireEvent, waitFor } from '@testing-library/react';
import { mockTreeData } from '@test/mocks/data-mock';
import { testStandardProps } from '@test/utils';
import CheckTree from '../i... | /content/code_sandbox/src/CheckTree/test/CheckTreeSpec.tsx | xml | 2016-06-06T02:27:46 | 2024-08-16T16:41:54 | rsuite | rsuite/rsuite | 8,263 | 3,036 |
```xml
import type { TreeNode } from '../types';
export function findNodeOfTree(data, check) {
const findNode = (nodes: readonly TreeNode[] = []) => {
for (let i = 0; i < nodes.length; i += 1) {
const item = nodes[i];
if (Array.isArray(item.children)) {
const node = findNode(item.children);
... | /content/code_sandbox/src/internals/Tree/utils/findNodeOfTree.ts | xml | 2016-06-06T02:27:46 | 2024-08-16T16:41:54 | rsuite | rsuite/rsuite | 8,263 | 123 |
```xml
import { ExpoConfig } from '@expo/config-types';
import { AndroidManifest } from './Manifest';
export type IntentFilterProps = {
actions: string[];
categories: string[];
data: {
scheme: string;
host?: string;
}[];
};
export declare const withScheme: import("..").ConfigPlugin;
expo... | /content/code_sandbox/packages/@expo/config-plugins/build/android/Scheme.d.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 211 |
```xml
import { StreamEntry, pino } from '../../pino'
import { join } from 'node:path'
import { tmpdir } from 'node:os'
import pinoPretty from 'pino-pretty'
const destination = join(
tmpdir(),
'_' + Math.random().toString(36).substr(2, 9)
)
// Single
const transport = pino.transport({
target: 'pino-pretty... | /content/code_sandbox/test/types/pino.ts | xml | 2016-02-16T14:14:29 | 2024-08-16T17:25:00 | pino | pinojs/pino | 13,839 | 477 |
```xml
// ***********************************************
// This example commands.js shows you how to
// create various custom commands and overwrite
// existing commands.
//
// For more comprehensive examples of custom
// commands please read more here:
// path_to_url
// **********************************************... | /content/code_sandbox/apps/docs-e2e/src/support/commands.ts | xml | 2016-07-11T23:30:52 | 2024-08-15T15:20:45 | covalent | Teradata/covalent | 2,228 | 237 |
```xml
import * as React from 'react';
import { Calendar, defaultCalendarStrings } from '@fluentui/react';
export const CalendarInlineOverlaidMonthExample: React.FunctionComponent = () => {
const [selectedDate, setSelectedDate] = React.useState<Date>();
const onSelectDate = React.useCallback((date: Date, dateRang... | /content/code_sandbox/packages/react-examples/src/react/Calendar/Calendar.Inline.OverlaidMonthPicker.Example.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 195 |
```xml
/*~ On this line, import the module which this module adds to */
import * as m from 'someModule';
/*~ You can also import other modules if needed */
import * as other from 'anotherModule';
/*~ Here, declare the same module as the one you imported above */
declare module 'someModule' {
/*~ Inside, add new f... | /content/code_sandbox/templates/module-plugin.d.ts | xml | 2016-08-25T21:07:14 | 2024-07-29T17:30:13 | dts-gen | microsoft/dts-gen | 2,431 | 197 |
```xml
import * as React from 'react';
import { makeStyles, CompoundButton } from '@fluentui/react-components';
import { bundleIcon, CalendarMonthFilled, CalendarMonthRegular } from '@fluentui/react-icons';
const CalendarMonth = bundleIcon(CalendarMonthFilled, CalendarMonthRegular);
const useStyles = makeStyles({
w... | /content/code_sandbox/packages/react-components/react-button/stories/src/CompoundButton/CompoundButtonAppearance.stories.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 363 |
```xml
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage
x:Class="Xamarin.Forms.Controls.Issues.Issue9734"
xmlns="path_to_url"
xmlns:x="path_to_url"
Title="Issue 9734"
x:Name="Issue9734Page">
<ContentPage.Content>
<Grid
RowSpacing="0"
ColumnSpacing="0"
... | /content/code_sandbox/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue9734.xaml | xml | 2016-03-18T15:52:03 | 2024-08-16T16:25:43 | Xamarin.Forms | xamarin/Xamarin.Forms | 5,637 | 676 |
```xml
import "reflect-metadata"
import { expect } from "chai"
import { DataSource } from "../../src/data-source/DataSource"
import { Repository } from "../../src/repository/Repository"
import { PostDetails } from "../../sample/sample3-many-to-one/entity/PostDetails"
import { Post } from "../../sample/sample3-many-to-o... | /content/code_sandbox/test/integration/sample3-many-to-one.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 4,164 |
```xml
<menu xmlns:tools="path_to_url"
xmlns:android="path_to_url"
xmlns:app="path_to_url">
<item
android:id="@+id/action_photos_filter"
android:icon="@drawable/ic_filter"
android:orderInCategory="75"
android:visible="false"
app:iconTint="?attr/colorControlNormal"
... | /content/code_sandbox/app/src/main/res/menu/fragment_photos_toolbar.xml | xml | 2016-05-04T11:46:20 | 2024-08-15T16:29:10 | android | meganz/android | 1,537 | 592 |
```xml
#import <ReactCommon/RCTTurboModule.h>
#import <ExpoModulesCore/ExpoBridgeModule.h>
#import <ExpoModulesCore/Swift.h>
// The runtime executor is included as of React Native 0.74 in bridgeless mode.
#if __has_include(<ReactCommon/RCTRuntimeExecutor.h>)
#import <ReactCommon/RCTRuntimeExecutor.h>
#endif // React ... | /content/code_sandbox/packages/expo-modules-core/ios/Core/ExpoBridgeModule.mm | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 628 |
```xml
import { html, ref } from '@microsoft/fast-element';
import type { ElementViewTemplate } from '@microsoft/fast-element';
import { staticallyCompose } from '../utils/template-helpers.js';
import type { SliderOptions } from './slider.options.js';
import type { Slider } from './slider.js';
export function sliderTe... | /content/code_sandbox/packages/web-components/src/slider/slider.template.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 264 |
```xml
import { EventOccurrence, Refiner, RefinerValue } from "model";
import { Moment } from "moment-timezone";
import { IEventCommands } from "../events/IEventCommands";
import { IViewCommands } from "./IViewCommands";
export interface IViewProps {
anchorDate: Moment;
cccurrences: readonly EventOccurrence[];... | /content/code_sandbox/samples/react-rhythm-of-business-calendar/src/components/views/IViewProps.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 112 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.... | /content/code_sandbox/application/src/main/data/lwm2m-registry/3405.xml | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 1,042 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.