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
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="path_to_url" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-US">
<!-- This style was edited with the Visual CSL Editor (path_to_url -->
<info>
<title>Association for Computing Machinery</title>
<title-shor... | /content/code_sandbox/docs/references/csl/acm.csl | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 1,620 |
```xml
export { pointTemperatures } from './point-temperatures';
export { intervalAlphabet } from './interval-alphabet';
``` | /content/code_sandbox/scripts/bench/tests/chart/index.ts | xml | 2016-05-26T09:21:04 | 2024-08-15T16:11:17 | G2 | antvis/G2 | 12,060 | 28 |
```xml
import { Connect } from 'dob-react';
import * as React from 'react';
import * as Styled from './index.style';
import * as typings from './index.type';
@Connect
class Crumbs extends React.Component<typings.Props, typings.State> {
public static defaultProps = new typings.Props();
public state = new typings.S... | /content/code_sandbox/src/plugins/crumbs/index.tsx | xml | 2016-09-20T11:57:51 | 2024-07-23T03:40:11 | gaea-editor | ascoders/gaea-editor | 1,339 | 399 |
```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/dynamic_reward/stores/end_of_round_timestamp.ts | xml | 2016-02-01T21:45:35 | 2024-08-15T19:16:48 | lisk-sdk | LiskArchive/lisk-sdk | 2,721 | 197 |
```xml
import "reflect-metadata"
import { DataSource } from "../../../src/index"
import {
closeTestingConnections,
createTestingConnections,
} from "../../utils/test-utils"
describe("github issues > #9601 view+schema+synchronize broken for oracle", () => {
let connections: DataSource[]
before(
... | /content/code_sandbox/test/github-issues/9601/issue-9601.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 291 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<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>com.itextpdf</groupId>
<artifactId>root</artifactId>
<version>9.0.0-SNAPSHOT</version>
</parent>
<ar... | /content/code_sandbox/sign/pom.xml | xml | 2016-05-03T07:45:39 | 2024-08-16T04:01:29 | itext-java | itext/itext-java | 1,943 | 568 |
```xml
if (performance.getEntriesByName('next-start').length === 0) {
performance.mark('next-start')
}
import '../next'
import '../require-hook'
import type { IncomingMessage, ServerResponse } from 'http'
import type { SelfSignedCertificate } from '../../lib/mkcert'
import type { WorkerRequestHandler, WorkerUpgradeH... | /content/code_sandbox/packages/next/src/server/lib/start-server.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 2,785 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="path_to_url"
android:shape="rectangle">
<stroke
android:width="1dp"
android:color="@color/core_dark_70" />
<solid
android:color="@color/core_dark_85" />
<corners
android:radius="20dp" />
</shape>
... | /content/code_sandbox/src/main/res/drawable/compose_background_dark.xml | xml | 2016-07-03T07:32:36 | 2024-08-16T16:51:15 | deltachat-android | deltachat/deltachat-android | 1,082 | 91 |
```xml
import * as React from 'react';
import { INavPage, LoadingComponent } from '@fluentui/react-docsite-components/lib/index2';
import {
controlsPagesWeb,
controlsPagesWc,
controlsPagesIos,
controlsPagesAndroid,
controlsPagesMac,
controlsPagesWindows,
controlsPagesCrossPlatform,
} from './index';
expo... | /content/code_sandbox/apps/public-docsite/src/SiteDefinition/SiteDefinition.pages/Controls/Controls.pages.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 232 |
```xml
import { MetadataArgsStorage } from "./metadata-args/MetadataArgsStorage"
import { PlatformTools } from "./platform/PlatformTools"
import { DataSourceOptions } from "./data-source/DataSourceOptions"
import { ConnectionOptionsReader } from "./connection/ConnectionOptionsReader"
import { ConnectionManager } from "... | /content/code_sandbox/src/globals.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 1,579 |
```xml
import { IlNotesIcon } from '@standardnotes/icons'
import { observer } from 'mobx-react-lite'
import Button from '../Button/Button'
import { useCallback } from 'react'
import FileOptionsPanel from '../FileContextMenu/FileOptionsPanel'
import { ItemListController } from '@/Controllers/ItemList/ItemListController'... | /content/code_sandbox/packages/web/src/javascripts/Components/MultipleSelectedFiles/MultipleSelectedFiles.tsx | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 337 |
```xml
export interface GetAuthenticatorAuthenticationOptionsDTO {
username: string
}
``` | /content/code_sandbox/packages/snjs/lib/Domain/UseCase/GetAuthenticatorAuthenticationOptions/GetAuthenticatorAuthenticationOptionsDTO.ts | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 16 |
```xml
import { Component } from '@angular/core';
import { Code } from '@domain/code';
@Component({
selector: 'import-doc',
template: ` <app-code [code]="code" [hideToggleCode]="true"></app-code> `
})
export class ImportDoc {
code: Code = {
typescript: `import { BreadcrumbModule } from 'primeng/bre... | /content/code_sandbox/src/app/showcase/doc/breadcrumb/importdoc.ts | xml | 2016-01-16T09:23:28 | 2024-08-16T19:58:20 | primeng | primefaces/primeng | 9,969 | 85 |
```xml
import { useState } from 'react';
import reactLogo from './assets/react.svg';
import rsuiteLogo from './assets/rsuite.svg';
import viteLogo from '/vite.svg';
import './App.css';
import { Button, Stack } from 'rsuite';
function App() {
const [count, setCount] = useState(0);
return (
<>
<Stack spac... | /content/code_sandbox/examples/with-vite/src/App.tsx | xml | 2016-06-06T02:27:46 | 2024-08-16T16:41:54 | rsuite | rsuite/rsuite | 8,263 | 314 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "path_to_url">
<suite name="RAY suite" verbose="2" configfailurepolicy="continue">
<test name = "RAY test">
<classes>
<class name="io.ray.test.CrossLanguageInvocationTest">
<methods>
<include... | /content/code_sandbox/java/testng_custom_template.xml | xml | 2016-10-25T19:38:30 | 2024-08-16T19:46:34 | ray | ray-project/ray | 32,670 | 158 |
```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/test/unit/modules/interoperability/sidechain/commands/initialize_state_recovery.spec.ts | xml | 2016-02-01T21:45:35 | 2024-08-15T19:16:48 | lisk-sdk | LiskArchive/lisk-sdk | 2,721 | 4,716 |
```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.
-->
<android.support.design.widget.CoordinatorLayout
xmlns:android="path_to_url"
xmlns:app... | /content/code_sandbox/supportSample/src/main/res/layout/activity_group_layout.xml | xml | 2016-08-03T15:43:34 | 2024-08-14T01:11:22 | SwipeRecyclerView | yanzhenjie/SwipeRecyclerView | 5,605 | 1,902 |
```xml
import path from 'path'
import prompts from 'prompts'
import { file } from './core'
import { Context } from './types'
/**
* Confirm destination.
*/
export default async (ctx: Context): Promise<void> => {
// resolve dest path
ctx.dest = path.resolve(ctx.project)
// exist
const exists = await file.exis... | /content/code_sandbox/src/confirm.ts | xml | 2016-09-23T19:24:33 | 2024-08-09T05:04:06 | caz | zce/caz | 2,452 | 426 |
```xml
<Project>
<ItemGroup>
<PackageDownload Include="Microsoft.NETCore.Platforms" Version="[$(MicrosoftNETCorePlatformsPackageVersion)]" />
</ItemGroup>
<Target Name="PublishPortableRuntimeIdentifierGraph"
BeforeTargets="Build">
<Copy SourceFiles="$(NuGetPackageRoot)/microsoft.netcore.platf... | /content/code_sandbox/src/Layout/redist/targets/GenerateLayout.targets | xml | 2016-07-22T21:26:02 | 2024-08-16T17:23:58 | sdk | dotnet/sdk | 2,627 | 6,996 |
```xml
/*
* Squidex Headless CMS
*
* @license
*/
/* eslint-disable @typescript-eslint/naming-convention */
import { AbstractControl, UntypedFormArray } from '@angular/forms';
import { MathHelper } from '@app/framework';
import { AppLanguageDto, createProperties, EditContentForm, getContentValue, HtmlValue, Langua... | /content/code_sandbox/frontend/src/app/shared/state/contents.forms.spec.ts | xml | 2016-08-29T05:53:40 | 2024-08-16T17:39:38 | squidex | Squidex/squidex | 2,222 | 7,958 |
```xml
<cobra document="path_to_url">
<cve id="CVE-2003-0417" level="LOW">
<product>son_hserver:0.2</product>
</cve>
<cve id="CVE-2003-0416" level="MEDIUM">
<product>bandmin:1.4</product>
</cve>
<cve id="CVE-2003-0415" level="LOW">
<product>remote_pc_access:2.2</product>
</cve>
<cve id="CVE-2003-0414" leve... | /content/code_sandbox/rules/CVI-999003.xml | xml | 2016-04-15T08:41:15 | 2024-08-16T10:33:17 | Cobra | FeeiCN/Cobra | 3,133 | 85,965 |
```xml
<clickhouse>
<dictionary>
<name>clickhouse_flat</name>
<source>
<clickhouse>
<host>localhost</host>
<port>9000</port>
<user>default</user>
<password></password>
<db>default</db>
<table... | /content/code_sandbox/tests/integration/test_system_queries/configs/dictionaries/dictionary_clickhouse_flat.xml | xml | 2016-06-02T08:28:18 | 2024-08-16T18:39:33 | ClickHouse | ClickHouse/ClickHouse | 36,234 | 188 |
```xml
import 'json-diff-kit/dist/viewer.css';
import { Differ, Viewer } from 'json-diff-kit';
import React, { useEffect, useState } from 'react';
import { Button, Dialog, GridList, GridListItem, Heading, Label, Modal, ModalOverlay, TextArea, TextField, Tooltip, TooltipTrigger } from 'react-aria-components';
import { ... | /content/code_sandbox/packages/insomnia/src/ui/components/modals/sync-staging-modal.tsx | xml | 2016-04-23T03:54:26 | 2024-08-16T16:50:44 | insomnia | Kong/insomnia | 34,054 | 3,649 |
```xml
import "@tsed/ajv";
import {BodyParams, Context, Controller, HeaderParams, PlatformTest, RawBodyParams} from "@tsed/common";
import {
Post,
Default,
Description,
GenericOf,
Generics,
Maximum,
Minimum,
Nullable,
Property,
Required,
Status,
Consumes
} from "@tsed/schema";
import SuperTest f... | /content/code_sandbox/packages/platform/platform-test-sdk/src/tests/testBodyParams.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 3,400 |
```xml
import { requireOptionalNativeModule } from 'expo-modules-core';
import ExponentFileSystemShim from './ExponentFileSystemShim';
export default requireOptionalNativeModule('ExponentFileSystem') ?? ExponentFileSystemShim;
``` | /content/code_sandbox/packages/expo-file-system/src/ExponentFileSystem.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 46 |
```xml
import * as React from 'react';
import {
AccessibilityState,
ColorValue,
GestureResponderEvent,
PressableAndroidRippleConfig,
StyleProp,
StyleSheet,
TextStyle,
View,
ViewStyle,
} from 'react-native';
import {
getContentMaxWidth,
getMenuItemColor,
MAX_WIDTH,
MIN_WIDTH,
} from './utils';... | /content/code_sandbox/src/components/Menu/MenuItem.tsx | xml | 2016-10-19T05:56:53 | 2024-08-16T08:48:04 | react-native-paper | callstack/react-native-paper | 12,646 | 1,542 |
```xml
import { XmlComponent } from "@file/xml-components";
import { PicLocks } from "./pic-locks/pic-locks";
export class ChildNonVisualProperties extends XmlComponent {
public constructor() {
super("pic:cNvPicPr");
this.root.push(new PicLocks());
}
}
``` | /content/code_sandbox/src/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/child-non-visual-pic-properties/child-non-visual-pic-properties.ts | xml | 2016-03-26T23:43:56 | 2024-08-16T13:02:47 | docx | dolanmiu/docx | 4,139 | 65 |
```xml
/*
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
*/
import {AppHeader} from 'App/Layout/AppHeader';
import {render, screen, waitFor, within} from 'modules/testing-library';
import {groupedDecisions} fro... | /content/code_sandbox/operate/client/src/App/Decisions/Filters/tests/index.test.tsx | xml | 2016-03-20T03:38:04 | 2024-08-16T19:59:58 | camunda | camunda/camunda | 3,172 | 3,734 |
```xml
import { PrimaryGeneratedColumn } from "../../../../src/decorator/columns/PrimaryGeneratedColumn"
import { Entity } from "../../../../src/decorator/entity/Entity"
import { Column } from "../../../../src/decorator/columns/Column"
@Entity()
export class ActionDetails {
@PrimaryGeneratedColumn()
id: number... | /content/code_sandbox/test/github-issues/3120/entity/ActionDetails.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 77 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="path_to_url"
android:layout_width="match_parent"
android:background="#44ff0000"
android:layout_height="wrap_content">
<TextView
android:id="@+id/id_num"
android:layout_width="match_parent"
android:layout_h... | /content/code_sandbox/app/src/main/res/layout/item_home.xml | xml | 2016-03-24T06:20:39 | 2024-08-15T11:37:10 | remusic | aa112901/remusic | 6,266 | 103 |
```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="es" original="../LocalizableSt... | /content/code_sandbox/src/Cli/dotnet/commands/dotnet-build/xlf/LocalizableStrings.es.xlf | xml | 2016-07-22T21:26:02 | 2024-08-16T17:23:58 | sdk | dotnet/sdk | 2,627 | 732 |
```xml
import * as Path from 'path'
import { git } from './core'
import { GitError } from 'dugite'
import { Repository } from '../../models/repository'
import { pathExists } from '../../ui/lib/path-exists'
export enum MergeResult {
/** The merge completed successfully */
Success,
/**
* The merge was a noop s... | /content/code_sandbox/app/src/lib/git/merge.ts | xml | 2016-05-11T15:59:00 | 2024-08-16T17:00:41 | desktop | desktop/desktop | 19,544 | 792 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
import someInBy = require( './index' );
const hasUpperCase = ( v: string, key: string ): boolean => {
return ( k... | /content/code_sandbox/lib/node_modules/@stdlib/utils/some-in-by/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 841 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definitions"
xmlns="path_to_url"
xmlns:flowable="path_to_url"
targetNamespace="Examples">
<process id="parallelIntermediateTimers" name="Parallel timer intermediate events">
<startEvent id="theStart"/>
... | /content/code_sandbox/modules/flowable-engine/src/test/resources/org/flowable/engine/test/bpmn/event/timer/IntermediateTimerEventTest.testParallelTimerEvents.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 419 |
```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
/* eslint-disable max-lines */
import cdf = require( '@stdlib/stats/base/dists/chi/cd... | /content/code_sandbox/lib/node_modules/@stdlib/stats/base/dists/chi/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 2,172 |
```xml
import { Meta, StoryObj } from '@storybook/react';
import EmptyBarBreakdownChart from './EmptyBarBreakdownChart';
const meta: Meta<typeof EmptyBarBreakdownChart> = {
title: 'charts/EmptyBarBreakdownChart',
component: EmptyBarBreakdownChart,
};
type Story = StoryObj<typeof EmptyBarBreakdownChart>;
export ... | /content/code_sandbox/web/src/features/charts/bar-breakdown/EmptyBarBreakdownChart.stories.ts | xml | 2016-05-21T16:36:17 | 2024-08-16T17:56:07 | electricitymaps-contrib | electricitymaps/electricitymaps-contrib | 3,437 | 114 |
```xml
import { Position } from '@stryker-mutator/api/core';
export class ParseError extends Error {
constructor(message: string, fileName: string, location: Position) {
super(`Parse error in ${fileName} (${location.line}:${location.column}) ${message}`);
}
}
``` | /content/code_sandbox/packages/instrumenter/src/parsers/parse-error.ts | xml | 2016-02-12T13:14:28 | 2024-08-15T18:38:25 | stryker-js | stryker-mutator/stryker-js | 2,561 | 59 |
```xml
/*your_sha256_hash-----------------------------
*your_sha256_hash----------------------------*/
import { NodeInfo } from './nodeInfo';
import { RequestType, NotificationType } from 'vscode-languageclient';
// ------------------------------- < Expand Node Response > --------------------------------------------... | /content/code_sandbox/src/models/contracts/objectExplorer/expandNodeRequest.ts | xml | 2016-06-26T04:38:04 | 2024-08-16T20:04:12 | vscode-mssql | microsoft/vscode-mssql | 1,523 | 340 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
import dcbrt = require( './index' );
// TESTS //
// The function returns a Float64Array...
{
const x = new Flo... | /content/code_sandbox/lib/node_modules/@stdlib/math/strided/special/dcbrt/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 3,720 |
```xml
import { PropsWithChildren } from 'react';
import { ViewProps } from 'react-native';
export type NativeLinearGradientProps = ViewProps & PropsWithChildren<{
colors: readonly number[];
locations?: readonly number[] | null;
startPoint?: NativeLinearGradientPoint | null;
endPoint?: NativeLinearGradi... | /content/code_sandbox/packages/expo-linear-gradient/build/NativeLinearGradient.types.d.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 151 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<com.stepstone.stepper.StepperLayout xmlns:android="path_to_url"
xmlns:app="path_to_url"
xmlns:tools="path_to_url"
android:id="@+id/stepperLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:ms_stepperType="progress_b... | /content/code_sandbox/sample/src/main/res/layout/activity_default_progress_bar.xml | xml | 2016-06-28T08:27:15 | 2024-08-05T10:12:04 | android-material-stepper | stepstone-tech/android-material-stepper | 1,781 | 102 |
```xml
import { Nullable } from '../../../types';
import vtkAbstractMapper, {
IAbstractMapperInitialValues,
} from '../AbstractMapper';
export enum ColorMode {
DEFAULT,
MAP_SCALARS,
DIRECT_SCALARS,
}
export enum ScalarMode {
DEFAULT,
USE_POINT_DATA,
USE_CELL_DATA,
USE_POINT_FIELD_DATA,
USE_CELL_FIEL... | /content/code_sandbox/Sources/Rendering/Core/Mapper2D/index.d.ts | xml | 2016-05-02T15:44:11 | 2024-08-15T19:53:44 | vtk-js | Kitware/vtk-js | 1,200 | 2,784 |
```xml
import { CSSProperties, memo } from 'react'
interface ChipProps {
size?: number
color: string
style?: CSSProperties
}
export const Chip = memo<ChipProps>(({ size = 12, color, style = {} }) => (
<span style={{ display: 'block', width: size, height: size, background: color, ...style }} />
))
``` | /content/code_sandbox/packages/tooltip/src/Chip.tsx | xml | 2016-04-16T03:27:56 | 2024-08-16T03:38:37 | nivo | plouc/nivo | 13,010 | 83 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/// <reference types="@stdlib/types"/>
import { Collection } from '@stdlib/types/arra... | /content/code_sandbox/lib/node_modules/@stdlib/utils/map-reduce/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 1,854 |
```xml
<ResourceDictionary xmlns="path_to_url"
xmlns:x="path_to_url"
xmlns:controls="using:Microsoft.Toolkit.Uwp.UI.Controls"
xmlns:ui="using:Microsoft.Toolkit.Uwp.UI">
<Style TargetType="controls:ImageCropper">
<Setter Property="IsTabStop" Value="... | /content/code_sandbox/Microsoft.Toolkit.Uwp.UI.Controls.Media/ImageCropper/ImageCropper.xaml | xml | 2016-06-17T21:29:46 | 2024-08-16T09:32:00 | WindowsCommunityToolkit | CommunityToolkit/WindowsCommunityToolkit | 5,842 | 667 |
```xml
/* eslint-disable @typescript-eslint/no-use-before-define */
import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
import { getConfig, getInfo } from '~/data/api';
import { IConfig, IInfo, LoadingStatus, StorageType } from '~/types/Meta';
import { Theme } from '~/types/Preferences';
interface IMetaS... | /content/code_sandbox/ui/src/app/meta/metaSlice.ts | xml | 2016-11-05T00:09:07 | 2024-08-16T13:44:10 | flipt | flipt-io/flipt | 3,489 | 537 |
```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/dml/dataset/shadow/postgresql/pro_update_order_by_user_id.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 576 |
```xml
#!/usr/bin/env node
import * as cdk from "@aws-cdk/core";
import * as cognito from "@aws-cdk/aws-cognito";
import * as iam from "@aws-cdk/aws-iam";
import { Effect, PolicyStatement } from "@aws-cdk/aws-iam";
export class SetupStack extends cdk.Stack {
constructor(scope: cdk.App, id: string, props?: cdk.Stack... | /content/code_sandbox/resources/cdk/javascript_example_code_polly_aws_service/setup.ts | xml | 2016-08-18T19:06:57 | 2024-08-16T18:59:44 | aws-doc-sdk-examples | awsdocs/aws-doc-sdk-examples | 9,298 | 419 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/toolbar_spinner_ripple"
android:orientation="horizontal">
<TextView
... | /content/code_sandbox/app/src/main/res/layout/filemanager_storage_spinner_item.xml | xml | 2016-10-18T15:38:44 | 2024-08-16T19:19:31 | libretorrent | proninyaroslav/libretorrent | 1,973 | 254 |
```xml
// This code uses a lot of `.then` instead of `await` and TSLint doesn't like it.
// tslint:disable:no-floating-promises
import { AbortError, DefaultHttpClient, HttpClient, HttpRequest, HttpResponse, HttpTransportType, HubConnectionBuilder, IHttpConnectionOptions, JsonHubProtocol, NullLogger } from "@aspnet/si... | /content/code_sandbox/clients/ts/FunctionalTests/ts/HubConnectionTests.ts | xml | 2016-10-17T16:39:15 | 2024-08-15T16:33:14 | SignalR | aspnet/SignalR | 2,383 | 5,201 |
```xml
import { Guid } from '@microsoft/sp-core-library';
import { Entity, IManyToOneRelationship, ManyToOneRelationship, IOneToManyRelationship, OneToManyRelationship } from 'common';
import { flatten } from 'lodash';
interface IState<T> {
termId: Guid;
label: string;
labels: string[];
parent: T;
}
e... | /content/code_sandbox/samples/react-rhythm-of-business-calendar/src/common/sharepoint/TaxonomyTermEntity.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 402 |
```xml
<manifest
package="com.flyco.tablayout">
</manifest>
``` | /content/code_sandbox/flycotablayout/src/main/AndroidManifest.xml | xml | 2016-11-21T02:35:32 | 2024-07-16T14:34:43 | likequanmintv | chenchengyin/likequanmintv | 1,050 | 17 |
```xml
import createSendAction from "./sendAction"
import { defaultReactotronMock } from "./testHelpers"
describe("sendAction", () => {
it("should send a basic action to reactotron", () => {
const mockReactotron = {
...defaultReactotronMock,
send: jest.fn(),
}
const sendAction = createSendAct... | /content/code_sandbox/lib/reactotron-redux/src/sendAction.test.ts | xml | 2016-04-15T21:58:32 | 2024-08-16T11:39:46 | reactotron | infinitered/reactotron | 14,757 | 266 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<IsPackable>false</IsPackable>
<TargetFramework>netcoreapp2.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Amazon.Lambda.Core" Version="2.1.0" />
<PackageReference Include="Am... | /content/code_sandbox/Blueprints/BlueprintDefinitions/vs2017/StepFunctionsHelloWorld-FSharp/template/test/BlueprintBaseName.1.Tests/BlueprintBaseName.1.Tests.fsproj | xml | 2016-11-11T20:43:34 | 2024-08-15T16:57:53 | aws-lambda-dotnet | aws/aws-lambda-dotnet | 1,558 | 221 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="path_to_url">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug-Dynamic|ARM">
<Configuration>Debug-Dynamic</Configuration>
<Platform>ARM</Platform>
</ProjectConfigu... | /content/code_sandbox/pjsip/build/pjsua_lib.vcxproj | xml | 2016-01-24T05:00:33 | 2024-08-16T03:31:21 | pjproject | pjsip/pjproject | 1,960 | 9,896 |
```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 sum of three double-precision floating-point numbers.
*
* @param x ... | /content/code_sandbox/lib/node_modules/@stdlib/math/base/ops/add3/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 298 |
```xml
import angular from 'angular';
import { r2a } from '@/react-tools/react2angular';
import { withUIRouter } from '@/react-tools/withUIRouter';
import { withReactQuery } from '@/react-tools/withReactQuery';
import { AuthenticationLogsTable } from '@/react/portainer/logs/AuthenticationLogsView/AuthenticationLogsTab... | /content/code_sandbox/app/portainer/react/components/activity-logs.ts | xml | 2016-05-19T20:15:28 | 2024-08-16T19:15:14 | portainer | portainer/portainer | 30,083 | 171 |
```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/engine/consensus/consensus.ts | xml | 2016-02-01T21:45:35 | 2024-08-15T19:16:48 | lisk-sdk | LiskArchive/lisk-sdk | 2,721 | 8,466 |
```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/dml/dataset/shadow/batch_insert_without_generate_key_column.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 2,946 |
```xml
import {JobProgress} from './JobProgress';
import {IJob} from './IJob';
import {JobProgressStates} from '../../../../common/entities/job/JobProgressDTO';
export interface IJobListener {
onJobFinished(
job: IJob,
state: JobProgressStates,
soloRun: boolean
): void;
onProgressUpdate(progre... | /content/code_sandbox/src/backend/model/jobs/jobs/IJobListener.ts | xml | 2016-03-12T11:46:41 | 2024-08-16T19:56:44 | pigallery2 | bpatrik/pigallery2 | 1,727 | 83 |
```xml
import React, { Component } from 'react';
import { defineMessages, intlShape, FormattedHTMLMessage } from 'react-intl';
import { observer } from 'mobx-react';
import { Button } from 'react-polymorph/lib/components/Button';
import { ButtonSkin } from 'react-polymorph/lib/skins/simple/ButtonSkin';
import { Link } ... | /content/code_sandbox/source/renderer/app/components/wallet/wallet-import/WalletImportFileDialog.tsx | xml | 2016-10-05T13:48:54 | 2024-08-13T22:03:19 | daedalus | input-output-hk/daedalus | 1,230 | 2,429 |
```xml
// See LICENSE.txt for license information.
import {defineMessages} from 'react-intl';
export const iosPermissions = defineMessages({
NSAppleMusicUsageDescription: {
id: 'mobile.ios.plist.NSAppleMusicUsageDescription',
defaultMessage: 'Enabling access to your media library means you can att... | /content/code_sandbox/app/constants/permissions.ts | xml | 2016-10-07T16:52:32 | 2024-08-16T12:08:38 | mattermost-mobile | mattermost/mattermost-mobile | 2,155 | 1,826 |
```xml
// Styles
import './VDataTableFooter.sass'
// Components
import { VPagination } from '@/components/VPagination'
import { VSelect } from '@/components/VSelect'
// Composables
import { usePagination } from './composables/paginate'
import { IconValue } from '@/composables/icons'
import { useLocale } from '@/compo... | /content/code_sandbox/packages/vuetify/src/components/VDataTable/VDataTableFooter.tsx | xml | 2016-09-12T00:39:35 | 2024-08-16T20:06:39 | vuetify | vuetifyjs/vuetify | 39,539 | 961 |
```xml
// luma.gl
import type {UniformValue, Binding} from '@luma.gl/core';
import {isNumericArray} from '@math.gl/types';
export function isUniformValue(value: unknown): value is UniformValue {
return isNumericArray(value) !== null || typeof value === 'number' || typeof value === 'boolean';
}
type UniformsAndBind... | /content/code_sandbox/modules/webgl/src/utils/split-uniforms-and-bindings.ts | xml | 2016-01-25T09:41:59 | 2024-08-16T10:03:05 | luma.gl | visgl/luma.gl | 2,280 | 197 |
```xml
<wixsharp:WpfDialog
x:Class="WixSharp.UI.WPF.FeaturesDialog"
xmlns="path_to_url"
xmlns:x="path_to_url"
xmlns:cal="path_to_url"
xmlns:d="path_to_url"
xmlns:mc="path_to_url"
xmlns:wixsharp="clr-namespace:WixSharp.UI.WPF"
d:DesignHeight="408"
d:DesignWidth="512"
DialogTitle="... | /content/code_sandbox/Source/src/WixSharp.UI.WPF/Dialogs/FeaturesDialog.xaml | xml | 2016-01-16T05:51:01 | 2024-08-16T12:26:25 | wixsharp | oleg-shilo/wixsharp | 1,077 | 1,175 |
```xml
/*
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
*/
import {ReactElement, ReactNode} from 'react';
export default function isReactElement<P = any>(child: ReactNode): child is ReactElement<P> {
return... | /content/code_sandbox/optimize/client/src/modules/services/isReactElement.ts | xml | 2016-03-20T03:38:04 | 2024-08-16T19:59:58 | camunda | camunda/camunda | 3,172 | 81 |
```xml
import * as React from 'react';
import type { StackNavigationProp } from '@react-navigation/stack';
import { List } from 'react-native-paper';
import {
SegmentedButtonDefault,
SegmentedButtonDisabled,
SegmentedButtonMultiselect,
SegmentedButtonMultiselectIcons,
SegmentedButtonOnlyIcons,
SegmentedBu... | /content/code_sandbox/example/src/Examples/SegmentedButtonsExample.tsx | xml | 2016-10-19T05:56:53 | 2024-08-16T08:48:04 | react-native-paper | callstack/react-native-paper | 12,646 | 384 |
```xml
import { createBEM } from '@zarm-design/bem';
import React, { FC, useContext, useEffect, useState } from 'react';
import isEqual from 'lodash/isEqual';
import { ConfigContext } from '../config-provider';
import List from '../list';
import type { HTMLProps } from '../utils/utilityTypes';
import { CheckboxGroupCon... | /content/code_sandbox/packages/zarm/src/checkbox/CheckboxGroup.tsx | xml | 2016-07-13T11:45:37 | 2024-08-12T19:23:48 | zarm | ZhongAnTech/zarm | 1,707 | 515 |
```xml
import { c } from 'ttag';
import { updatePageSize } from '@proton/shared/lib/api/mailSettings';
import { DEFAULT_MAIL_PAGE_SIZE } from '@proton/shared/lib/constants';
import { MAIL_PAGE_SIZE } from '@proton/shared/lib/mail/mailSettings';
import type { DropdownProps } from '../../components';
import { Option, S... | /content/code_sandbox/packages/components/containers/messages/PageSizeSelector.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 427 |
```xml
import { nextTestSetup } from 'e2e-utils'
describe('app edge middleware', () => {
describe('without node.js modules', () => {
const { next } = nextTestSetup({
files: {
'app/page.js': `
export default function Page() {
return <p>hello world</p>
}
`,
... | /content/code_sandbox/test/production/app-dir/app-edge-middleware/app-edge-middleware.test.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 394 |
```xml
import { Injectable } from '@angular/core';
import { Subject } from 'rxjs';
import { OperateInfo } from './operate';
@Injectable({
providedIn: 'root',
})
export class OperationService {
subjects: Subject<any> = null;
operationInfoSource = new Subject<OperateInfo>();
operationInfo$ = this.operat... | /content/code_sandbox/src/portal/src/app/shared/components/operation/operation.service.ts | xml | 2016-01-28T21:10:28 | 2024-08-16T15:28:34 | harbor | goharbor/harbor | 23,335 | 254 |
```xml
import { Element, Text, Operation } from 'slate'
import { CustomText, CustomOperation, HeadingElement } from './custom-types'
export const isBoldText = (text: Text): text is CustomText =>
!!(text as CustomText).bold
export const isCustomText = (text: Text): text is CustomText =>
!!(text as CustomText).plac... | /content/code_sandbox/packages/slate/test/interfaces/CustomTypes/type-guards.ts | xml | 2016-06-18T01:52:42 | 2024-08-16T18:43:42 | slate | ianstormtaylor/slate | 29,492 | 135 |
```xml
import { Observable, Subscription } from "rxjs";
import { ThemeType } from "@bitwarden/common/platform/enums";
/**
* A service for managing and observing the current application theme.
*/
// FIXME: Rename to ThemingService
export abstract class AbstractThemingService {
/**
* The effective theme based on... | /content/code_sandbox/libs/angular/src/platform/services/theming/theming.service.abstraction.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 171 |
```xml
export * from "./anchor";
export * from "./anchor-attributes";
``` | /content/code_sandbox/src/file/drawing/anchor/index.ts | xml | 2016-03-26T23:43:56 | 2024-08-16T13:02:47 | docx | dolanmiu/docx | 4,139 | 15 |
```xml
<!--
***********************************************************************************************
Microsoft.Cpp.Android.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
impossible to load or b... | /content/code_sandbox/src/Xamarin.Android.Build.Tasks/MSBuild/Xamarin/Android/Xamarin.Android.Common/ImportAfter/Microsoft.Cpp.Android.targets | xml | 2016-03-30T15:37:14 | 2024-08-16T19:22:13 | android | dotnet/android | 1,905 | 1,078 |
```xml
import fs from 'fs';
import { vol } from 'memfs';
import path from 'path';
import * as Updates from '../Updates';
const fsReal = jest.requireActual('fs') as typeof fs;
jest.mock('fs');
jest.mock('resolve-from');
const { silent } = require('resolve-from');
const fixturesPath = path.resolve(__dirname, 'fixture... | /content/code_sandbox/packages/@expo/config-plugins/src/ios/__tests__/Updates-test.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 475 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="path_to_url"
android:height="24dp"
android:width="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path android:fillColor="#8f8f8f" android:pathData="M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,... | /content/code_sandbox/app/src/main/res/drawable/ic_wishlist.xml | xml | 2016-05-11T16:25:10 | 2024-07-24T10:40:56 | ScratchView | sharish/ScratchView | 1,119 | 153 |
```xml
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
import { Component } from '@angular/core';
@Component({
selector: 'app-guard-auth',
template: ` <p>user1</p> `
})
export... | /content/code_sandbox/maxkey-web-frontend/maxkey-web-app/src/app/routes/delon/guard/auth.component.ts | xml | 2016-11-16T03:06:50 | 2024-08-16T09:22:42 | MaxKey | dromara/MaxKey | 1,423 | 83 |
```xml
export {};
//# sourceMappingURL=groups.test.d.ts.map
``` | /content/code_sandbox/public/types/src/scripts/actions/groups.test.d.ts | xml | 2016-03-15T14:02:08 | 2024-08-15T07:08:50 | Choices | Choices-js/Choices | 6,092 | 11 |
```xml
import { ComponentProps } from 'react';
import { FilesTable } from '@/react/docker/components/FilesTable';
import { createPersistedStore } from '@@/datatables/types';
import { useTableState } from '@@/datatables/useTableState';
const tableKey = 'host-browser';
const settingsStore = createPersistedStore(table... | /content/code_sandbox/app/react/docker/volumes/BrowseView/AgentVolumeBrowser.tsx | xml | 2016-05-19T20:15:28 | 2024-08-16T19:15:14 | portainer | portainer/portainer | 30,083 | 286 |
```xml
import { BuilderOptions, CLIOptions, LoadOptions } from 'storybook/internal/types';
import { BuilderContext } from '@angular-devkit/architect';
import {
AssetPattern,
SourceMapUnion,
StyleElement,
StylePreprocessorOptions,
} from '@angular-devkit/build-angular/src/builders/browser/schema';
export type ... | /content/code_sandbox/code/frameworks/angular/src/builders/utils/standalone-options.ts | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 181 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<clickhouse>
<keeper_server>
<tcp_port>9181</tcp_port>
<server_id>1</server_id>
<log_storage_path>/var/lib/clickhouse/coordination/log</log_storage_path>
<snapshot_storage_path>/var/lib/clickhouse/coordination/snapshots</snapshot_storage_... | /content/code_sandbox/tests/integration/test_keeper_compression/configs/keeper.xml | xml | 2016-06-02T08:28:18 | 2024-08-16T18:39:33 | ClickHouse | ClickHouse/ClickHouse | 36,234 | 247 |
```xml
import React from 'react';
import type { Meta, StoryObj } from '@storybook/react';
import { fn } from '@storybook/test';
import { ManagerContext } from '@storybook/core/manager-api';
import { UpgradeBlock } from './UpgradeBlock';
const meta = {
component: UpgradeBlock,
title: 'UpgradeBlock',
decorators... | /content/code_sandbox/code/core/src/manager/components/upgrade/UpgradeBlock.stories.tsx | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 187 |
```xml
/* eslint-disable no-console */
import axios from "axios";
import https from "https";
import fs from "fs";
import { sampleSize, shuffle } from "lodash";
import { shelleyMnemonics } from "./mnemonics";
const names = ['Laura', 'Layla', 'Leia', 'Lily', 'Linda', 'Louise', 'Lorraine', 'Lucille', 'Luz', 'Lyn'];
const... | /content/code_sandbox/utils/api-importer/shelley-wallet-importer.ts | xml | 2016-10-05T13:48:54 | 2024-08-13T22:03:19 | daedalus | input-output-hk/daedalus | 1,230 | 501 |
```xml
export class GlobalState {
enableDuckDuckGoBrowserIntegration?: boolean;
}
``` | /content/code_sandbox/libs/common/src/platform/models/domain/global-state.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 19 |
```xml
// See LICENSE in the project root for license information.
import { KnownPackageDependenciesPlugin } from '../KnownPackageDependenciesPlugin';
import { createResolveForTests, parsedJson, type WrappedResolve } from './createResolveForTests';
function createResolve(separator: '/' | '\\'): WrappedResolve {
ret... | /content/code_sandbox/webpack/webpack-workspace-resolve-plugin/src/test/KnownPackageDependenciesPlugin.test.ts | xml | 2016-09-30T00:28:20 | 2024-08-16T18:54:35 | rushstack | microsoft/rushstack | 5,790 | 946 |
```xml
import * as React from 'react'
import classNames from 'classnames'
import { Tooltip, TooltipDirection } from './tooltip'
import { createObservableRef } from './observable-ref'
import { AriaHasPopupType } from './aria-types'
export interface IButtonProps {
/**
* A callback which is invoked when the button i... | /content/code_sandbox/app/src/ui/lib/button.tsx | xml | 2016-05-11T15:59:00 | 2024-08-16T17:00:41 | desktop | desktop/desktop | 19,544 | 2,295 |
```xml
/* eslint react/no-danger: "off" */
import { hooks } from 'botframework-webchat-api';
import { onErrorResumeNext } from 'botframework-webchat-core';
import MarkdownIt from 'markdown-it';
import React, { memo, useMemo } from 'react';
import betterLinks, { type BetterLinkEnv, type LinkOptions } from './betterLink... | /content/code_sandbox/packages/component/src/Utils/LocalizedString.tsx | xml | 2016-07-07T23:16:57 | 2024-08-16T00:12:37 | BotFramework-WebChat | microsoft/BotFramework-WebChat | 1,567 | 1,159 |
```xml
import { ActionButtons } from '@erxes/ui-settings/src/styles';
import { colors } from '@erxes/ui/src/styles';
import styled from 'styled-components';
import styledTS from 'styled-components-ts';
const Categories = styled.ul`
margin: 0;
padding: 0;
list-style: none;
border-top: 1px solid ${colors.borderP... | /content/code_sandbox/packages/plugin-knowledgebase-ui/src/components/category/styles.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 418 |
```xml
import { useState, useEffect, FunctionComponent, useMemo } from 'react'
import { CalendarActivity } from './CalendarActivity'
import CalendarDay from './CalendarDay'
import { CalendarDays, CalendarDaysLeap, CalendarDaysOfTheWeek } from './Constants'
import { createActivityRecord, dateToDateOnlyString, isLeapYear... | /content/code_sandbox/packages/web/src/javascripts/Components/ContentListView/Calendar/Calendar.tsx | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 605 |
```xml
import {PlatformTest} from "@tsed/common";
import {TestMongooseContext} from "@tsed/testing-mongoose";
import {User} from "./helpers/entity/User.js";
import {UserRepository} from "./helpers/repository/UserRepository.js";
import {Server} from "./helpers/Server.js";
import {UserService} from "./helpers/services/Us... | /content/code_sandbox/packages/orm/typeorm/test/integration.spec.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 371 |
```xml
import { Context, Next } from "koa";
import { addTags, getRootSpanFromRequestContext } from "@server/logging/tracer";
export default function apiTracer() {
return async function apiTracerMiddleware(ctx: Context, next: Next) {
const params = ctx.request.body ?? ctx.request.query;
for (const key in par... | /content/code_sandbox/server/routes/api/middlewares/apiTracer.ts | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 149 |
```xml
export interface IRenderQuestionProps {
question: string;
}
``` | /content/code_sandbox/samples/react-chatgpt-app/src/models/IRenderQuestionProps.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 14 |
```xml
import { CalendarYearLegendsProps } from './types'
import { memo } from 'react'
export const CalendarYearLegends = memo(({ years, legend, theme }: CalendarYearLegendsProps) => {
return (
<>
{years.map(year => {
return (
<text
ke... | /content/code_sandbox/packages/calendar/src/CalendarYearLegends.tsx | xml | 2016-04-16T03:27:56 | 2024-08-16T03:38:37 | nivo | plouc/nivo | 13,010 | 120 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
<file source-language="en" target-language="ko" datatype="plaintext" original="actions.en.xlf">
<body>
<trans-unit id="bEXLcqN" resname="stop">
<source>stop</source>
<target stat... | /content/code_sandbox/translations/actions.ko.xlf | xml | 2016-10-20T17:06:34 | 2024-08-16T18:27:30 | kimai | kimai/kimai | 3,084 | 1,106 |
```xml
import esbuild from 'esbuild'
import glob from 'glob'
const entryPoints = glob.sync('./src/**/*.ts')
void esbuild.build({
entryPoints,
bundle: false,
platform: 'node',
format: 'cjs',
external: [],
outdir: './dist',
sourcemap: true,
})
``` | /content/code_sandbox/packages/cli/build.ts | xml | 2016-11-16T21:57:59 | 2024-08-16T18:45:35 | botpress | botpress/botpress | 12,401 | 72 |
```xml
import * as React from 'react';
import * as ReactIcons from '@fluentui/react-icons-mdl2';
import { PrimaryButton } from '@fluentui/react/lib/Button';
import { mergeStyleSets } from '@fluentui/react/lib/Styling';
const classes = mergeStyleSets({
cell: {
display: 'flex',
flexDirection: 'column',
ali... | /content/code_sandbox/packages/react-examples/src/react/Icon/Icon.SvgFactory.Example.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 610 |
```xml
"use client"
import { currentUserAtom } from "@/modules/JotaiProiveder"
import { IUser } from "@/modules/auth/types"
import { useAtomValue } from "jotai"
import { IChat } from "../types"
import AddParticipant from "./AddParticipant"
import ParticipantItem from "./ParticipantItem"
const ParticipantList = ({ ch... | /content/code_sandbox/exm-web/modules/chat/component/ParticipantList.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 223 |
```xml
import {StoreFn} from "../../decorators/storeFn.js";
import {Store} from "../../domain/Store.js";
import {useDecorators} from "./useDecorators.js";
import {useMethodDecorator, useMethodDecorators} from "./useMethodDecorators.js";
describe("useMethodDecorators", () => {
it("should apply all decorators", () => ... | /content/code_sandbox/packages/core/src/utils/decorators/useMethodDecorator.spec.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 288 |
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<!--
* 2017 and later: Unicode, Inc. and others.
-->
<!-- This file was generated from: cooked/allversions.xml ./xml/2_2.xml ./xml/3_0.xml ./xml/3_2.xml ./xml/3_4_1.xml ./xml/3_4.xml ./xml/3_6.xml ./xml/3_8_1.xml ./xml/3_8.xml ./xml/4_0_1.xml ./xml/4_0.xml ./xml/4_1_1... | /content/code_sandbox/tools/multi/proj/icu4cscan/icucaps.xml | xml | 2016-01-08T02:42:32 | 2024-08-16T18:14:55 | icu | unicode-org/icu | 2,693 | 178,677 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.