text stringlengths 9 39.2M | dir stringlengths 26 295 | lang stringclasses 185
values | created_date timestamp[us] | updated_date timestamp[us] | repo_name stringlengths 1 97 | repo_full_name stringlengths 7 106 | star int64 1k 183k | len_tokens int64 1 13.8M |
|---|---|---|---|---|---|---|---|---|
```xml
import { AnnouncementBanner, Box, Icon } from '@components';
import { getKBHelpArticle, KB_HELP_ARTICLE, LATEST_NEWS_URL } from '@config';
import { COLORS, SPACING } from '@theme';
import { TopItem } from './components';
export const TopNav = ({
isMobile,
isTrayOpen,
openTray
}: {
current: string;
is... | /content/code_sandbox/src/features/Layout/Navigation/TopNav.tsx | xml | 2016-12-04T01:35:27 | 2024-08-14T21:41:58 | MyCrypto | MyCryptoHQ/MyCrypto | 1,347 | 432 |
```xml
import { c } from 'ttag';
import clsx from '@proton/utils/clsx';
interface Props {
columnLayout: boolean;
isCompactView: boolean;
}
const AutoDeleteEnabledBanner = ({ columnLayout, isCompactView }: Props) => {
return (
<div
data-testid="auto-delete:banner:enabled"
c... | /content/code_sandbox/applications/mail/src/app/components/list/banners/auto-delete/variations/AutoDeleteEnabledBanner.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 168 |
```xml
import { chartOptionsChangeData as render } from '../plots/api/chart-options-change-data';
import { createNodeGCanvas } from './utils/createNodeGCanvas';
import { sleep } from './utils/sleep';
import './utils/useSnapshotMatchers';
import './utils/useCustomFetch';
describe('chart.options.changeData', () => {
c... | /content/code_sandbox/__tests__/integration/api-chart-options-change-data.spec.ts | xml | 2016-05-26T09:21:04 | 2024-08-15T16:11:17 | G2 | antvis/G2 | 12,060 | 201 |
```xml
import Benchmark, {type Deferred, type Event} from 'benchmark';
import PQueue from './source/index.js';
const suite = new Benchmark.Suite();
// Benchmark typings aren't up to date, let's help out manually
type Resolvable = Deferred & {resolve: () => void};
suite
.add('baseline', {
defer: true,
async fn(... | /content/code_sandbox/bench.ts | xml | 2016-10-28T10:57:52 | 2024-08-16T17:39:44 | p-queue | sindresorhus/p-queue | 3,377 | 436 |
```xml
import { EditorInterface } from '../interfaces/editor'
import { NORMALIZING } from '../utils/weak-maps'
export const isNormalizing: EditorInterface['isNormalizing'] = editor => {
const isNormalizing = NORMALIZING.get(editor)
return isNormalizing === undefined ? true : isNormalizing
}
``` | /content/code_sandbox/packages/slate/src/editor/is-normalizing.ts | xml | 2016-06-18T01:52:42 | 2024-08-16T18:43:42 | slate | ianstormtaylor/slate | 29,492 | 69 |
```xml
import type { CompatibleString } from 'storybook/internal/types';
import type {
BuilderOptions,
StorybookConfigWebpack,
TypescriptOptions as TypescriptOptionsBuilder,
} from '@storybook/builder-webpack5';
import type {
ReactOptions,
StorybookConfig as StorybookConfigBase,
TypescriptOptions as Typesc... | /content/code_sandbox/code/frameworks/react-webpack5/src/types.ts | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 281 |
```xml
import { CryptoProxy } from '@proton/crypto';
import { KEYGEN_CONFIGS, KEYGEN_TYPES } from '../../lib/constants';
import type { Address } from '../../lib/interfaces';
import { getResetAddressesKeysV2 } from '../../lib/keys';
describe('reset keys v2', () => {
it('should return an empty result', async () => ... | /content/code_sandbox/packages/shared/test/keys/resetKeys.spec.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 457 |
```xml
<?xml version="1.0" encoding="utf-8"?>
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<selector xmlns:android="path_to_url">
<item android:color="@color/light_active_color"/>
</selector>
``` | /content/code_sandbox/libraries_res/chrome_res/src/main/res/color/blue_mode_tint.xml | xml | 2016-07-04T07:28:36 | 2024-08-15T05:20:42 | AndroidChromium | JackyAndroid/AndroidChromium | 3,090 | 65 |
```xml
//
import React from 'react';
import {LumaExample} from '../react-luma';
import AnimationApp from '../../../examples/api/animation/app';
import CubemapApp from '../../../examples/api/cubemap/app';
import Texture3DApp from '../../../examples/api/texture-3d/app';
// import PerformanceApp from '../../../example... | /content/code_sandbox/website/src/examples/templates.tsx | xml | 2016-01-25T09:41:59 | 2024-08-16T10:03:05 | luma.gl | visgl/luma.gl | 2,280 | 1,795 |
```xml
import { useEffect, useState } from 'react';
import { c, msgid } from 'ttag';
import { Button } from '@proton/atoms';
import type { ModalProps } from '@proton/components';
import { AppLink, Checkbox, Label, Prompt } from '@proton/components';
import { APPS } from '@proton/shared/lib/constants';
import type { M... | /content/code_sandbox/applications/mail/src/app/components/message/modals/BlockSenderModal.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 969 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="path_to_url">
<item android:drawable="@drawable/ic_main_nav_music_selected" android:state_checked="true"/>
<item android:drawable="@drawable/ic_main_nav_music"/>
</selector>
``` | /content/code_sandbox/app/src/main/res/drawable/selector_main_nav_music.xml | xml | 2016-09-13T14:38:32 | 2024-08-16T12:30:58 | StylishMusicPlayer | ryanhoo/StylishMusicPlayer | 3,699 | 62 |
```xml
import {
ArrowTrendingUpIcon,
BuildingOfficeIcon,
MapPinIcon,
} from '@heroicons/react/20/solid';
import { JobType } from '@prisma/client';
import { JobTypeLabel } from '~/components/offers/constants';
import CompanyProfileImage from '~/components/shared/CompanyProfileImage';
import type { JobTitleType } ... | /content/code_sandbox/apps/portal/src/components/offers/dashboard/DashboardOfferCard.tsx | xml | 2016-07-05T05:00:48 | 2024-08-16T19:01:19 | tech-interview-handbook | yangshun/tech-interview-handbook | 115,302 | 692 |
```xml
// eslint-disable-next-line eslint-comments/disable-enable-pair
/* eslint-disable import/order */
import type {Immutable} from 'seamless-immutable';
import type Client from '../lib/utils/rpc';
declare global {
interface Window {
__rpcId: string;
rpc: Client;
focusActiveTerm: (uid?: string) => void... | /content/code_sandbox/typings/hyper.d.ts | xml | 2016-07-01T06:01:21 | 2024-08-16T16:05:22 | hyper | vercel/hyper | 43,095 | 2,864 |
```xml
import React from 'react';
const colors = {
primary: '#2089dc',
secondary: '#ca71eb',
background: '#ffffff',
white: '#ffffff',
black: '#242424',
grey0: '#393e42',
grey1: '#43484d',
grey2: '#5e6977',
grey3: '#86939e',
grey4: '#bdc6cf',
grey5: '#e1e8ee',
greyOutline: '#bbb',
searchBg: '#... | /content/code_sandbox/website/versioned_docs/version-4.0.0-rc.2/customization/Color.tsx | xml | 2016-09-08T14:21:41 | 2024-08-16T10:11:29 | react-native-elements | react-native-elements/react-native-elements | 24,875 | 291 |
```xml
import React from 'react'
import { Browser } from '../../libs/browser'
import { Linking } from '../../libs/linking'
import { Platform } from '../../libs/platform'
import { Button, ButtonProps } from './Button'
import { Link, LinkProps } from './Link'
export type ButtonLinkProps = ButtonProps & {
href?: LinkP... | /content/code_sandbox/packages/components/src/components/common/ButtonLink.tsx | xml | 2016-11-30T23:24:21 | 2024-08-16T00:24:59 | devhub | devhubapp/devhub | 9,652 | 259 |
```xml
// See LICENSE.txt for license information.
import {Database, Q} from '@nozbe/watermelondb';
import {of as of$, combineLatest} from 'rxjs';
import {switchMap, distinctUntilChanged} from 'rxjs/operators';
import {Database as DatabaseConstants, General, Permissions} from '@constants';
import {isDMorGM} from '@ut... | /content/code_sandbox/app/queries/servers/role.ts | xml | 2016-10-07T16:52:32 | 2024-08-16T12:08:38 | mattermost-mobile | mattermost/mattermost-mobile | 2,155 | 993 |
```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 { Directive, OnDestroy } from '@angular/core';
import { PageComponent } from '@shared/components/page.component';
im... | /content/code_sandbox/ui-ngx/src/app/shared/components/dialog.component.ts | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 267 |
```xml
import React from 'react';
import { Navbar } from '~/components/Navbar';
export default function RSuite() {
return (
<div>
<h1>A RSuite page with default style</h1>
<Navbar />
</div>
);
}
``` | /content/code_sandbox/examples/with-remix/app/routes/rsuite.tsx | xml | 2016-06-06T02:27:46 | 2024-08-16T16:41:54 | rsuite | rsuite/rsuite | 8,263 | 57 |
```xml
//
//
// path_to_url
//
// Unless required by applicable law or agreed to in writing, software
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
export const description = "Analyze property chain #21";
const o1 = { c: 2, d: 3 };
const o2 = { a: 1, b: o1 };
const o3 = { a: 1, b: o1... | /content/code_sandbox/sdk/nodejs/tests/runtime/testdata/closure-tests/cases/143-Analyze-property-chain-21/index.ts | xml | 2016-10-31T21:02:47 | 2024-08-16T19:47:04 | pulumi | pulumi/pulumi | 20,743 | 122 |
```xml
/** @jsx jsx */
import { jsx } from 'slate-hyperscript'
export const input = (
<editor>
<element>
one
<cursor />
</element>
</editor>
)
export const output = {
children: [
{
children: [
{
text: 'one',
},
],
},
],
selection: {
anchor... | /content/code_sandbox/packages/slate-hyperscript/test/fixtures/cursor-element-end.tsx | xml | 2016-06-18T01:52:42 | 2024-08-16T18:43:42 | slate | ianstormtaylor/slate | 29,492 | 128 |
```xml
<project xmlns="path_to_url" xmlns:xsi="path_to_url" xsi:schemaLocation="path_to_url path_to_url">
<modelVersion>4.0.0</modelVersion>
<groupId>foo.bar</groupId>
<artifactId>multimodule2</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<par... | /content/code_sandbox/org.eclipse.jdt.ls.tests/projects/maven/multimodule2/pom.xml | xml | 2016-06-27T13:06:53 | 2024-08-16T00:38:32 | eclipse.jdt.ls | eclipse-jdtls/eclipse.jdt.ls | 1,726 | 238 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definition"
xmlns="path_to_url"
targetNamespace="Examples">
<process id="parallelMultiInstanceSubProcess">
<startEvent id="theStart"/>
<sequenceFlow id="flow1" sourceRef="theStart" targetRef="parallelSubProces... | /content/code_sandbox/modules/flowable-engine/src/test/resources/org/flowable/engine/test/api/multiInstanceParallelSubProcess.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 322 |
```xml
type Foo =
// prettier-ignore
(
aa
);
``` | /content/code_sandbox/tests/format/typescript/prettier-ignore/prettier-ignore-parenthesized-type.ts | xml | 2016-11-29T17:13:37 | 2024-08-16T17:29:57 | prettier | prettier/prettier | 48,913 | 17 |
```xml
/*
* Wire
*
* This program is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPO... | /content/code_sandbox/src/script/components/MessagesList/Message/ContentMessage/asset/TextMessageRenderer/TextMessageRenderer.test.tsx | xml | 2016-07-21T15:34:05 | 2024-08-16T11:40:13 | wire-webapp | wireapp/wire-webapp | 1,125 | 904 |
```xml
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<strings>
<string id="1000">General</string>
<string id="1020">Pre wait time [sec]</string>
<string id="1030">Post wait time [sec]</string>
<string id="1040">Enable userhdhomerun logging</string>
<string id="1050">Enable libhdhomerun logging</stri... | /content/code_sandbox/packages/addons/driver/hdhomerun/source/resources/language/English/strings.xml | xml | 2016-03-13T01:46:18 | 2024-08-16T11:58:29 | LibreELEC.tv | LibreELEC/LibreELEC.tv | 2,216 | 212 |
```xml
import React, { useMemo } from 'react'
import { getColumnHeaderDetails } from '@devhub/core'
import {
IssueOrPullRequestCardsContainer,
IssueOrPullRequestCardsContainerProps,
} from '../../containers/IssueOrPullRequestCardsContainer'
import { IconProp } from '../../libs/vector-icons'
import { ColumnRenderer... | /content/code_sandbox/packages/components/src/components/columns/IssueOrPullRequestColumn.tsx | xml | 2016-11-30T23:24:21 | 2024-08-16T00:24:59 | devhub | devhubapp/devhub | 9,652 | 457 |
```xml
<?xml version='1.0' encoding='UTF-8'?>
<definitions xmlns="path_to_url" xmlns:xsi="path_to_url" xmlns:xsd="path_to_url" xmlns:activiti="path_to_url" xmlns:bpmndi="path_to_url" xmlns:omgdc="path_to_url" xmlns:omgdi="path_to_url" typeLanguage="path_to_url" expressionLanguage="path_to_url" targetNamespace="path_to_... | /content/code_sandbox/modules/flowable-engine/src/test/resources/org/flowable/engine/test/bpmn/event/end/TerminateMultiInstanceEndEventTest.testTerminateNestedMiEmbeddedSubprocessWithOneLoopCardinality.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 6,972 |
```xml
<layout xmlns:android="path_to_url"
xmlns:app="path_to_url">
<data>
<import type="com.base.util.helper.RouterHelper" />
<import type="com.base.entity.DataExtra" />
<import type="com.C" />
<variable
name="item"
type="com.model.CommentInfo" />
... | /content/code_sandbox/app/src/main/res/layout/list_item_user_comment.xml | xml | 2016-05-09T05:55:34 | 2024-07-26T07:43:48 | T-MVP | north2016/T-MVP | 2,709 | 392 |
```xml
import { NativeModule } from 'expo-modules-core';
import type { ExponentFileSystemModule, FileSystemEvents } from './types';
export default class FileSystemShim
extends NativeModule<FileSystemEvents>
implements ExponentFileSystemModule
{
documentDirectory = null;
cacheDirectory = null;
bundleDirector... | /content/code_sandbox/packages/expo-file-system/src/ExponentFileSystemShim.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 69 |
```xml
<?xml version="1.0"?>
<clickhouse>
<!-- See also the files in users.d directory where the settings can be overridden. -->
<!-- Profiles of settings. -->
<profiles>
<!-- Default settings. -->
<default>
<!-- Maximum memory usage for processing single query, in bytes. -->
... | /content/code_sandbox/examples/r2dbc/misc/docker/clickhouse-docker-mount/users.xml | xml | 2016-07-15T12:48:27 | 2024-08-16T15:57:09 | clickhouse-java | ClickHouse/clickhouse-java | 1,413 | 1,307 |
```xml
import * as React from 'react';
import { makeStyles, tokens, Divider } from '@fluentui/react-components';
const useStyles = makeStyles({
root: {
display: 'flex',
flexDirection: 'column',
rowGap: '5px',
},
example: {
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
... | /content/code_sandbox/packages/react-components/react-divider/stories/src/Divider/DividerInset.stories.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 267 |
```xml
import { animate, style, transition, trigger } from '@angular/animations';
import { CommonModule } from '@angular/common';
import {
AfterContentInit,
ChangeDetectionStrategy,
ChangeDetectorRef,
Component,
ContentChildren,
ElementRef,
EventEmitter,
Input,
NgModule,
OnDestro... | /content/code_sandbox/src/app/components/messages/messages.ts | xml | 2016-01-16T09:23:28 | 2024-08-16T19:58:20 | primeng | primefaces/primeng | 9,969 | 2,399 |
```xml
import React from 'react';
import { StyleSheet, View, TouchableOpacity, Text, Alert } from 'react-native';
import { NavigationProps } from 'react-native-navigation';
interface Props extends NavigationProps {
title: string;
}
export default class CustomTextButton extends React.Component<Props> {
render() {
... | /content/code_sandbox/playground/src/screens/CustomTextButton.tsx | xml | 2016-03-11T11:22:54 | 2024-08-15T09:05:44 | react-native-navigation | wix/react-native-navigation | 13,021 | 195 |
```xml
import { IAccessRequests, IFile } from "../../types";
import { __, renderUserFullName } from "@erxes/ui/src/utils/core";
import Button from "@erxes/ui/src/components/Button";
import EmptyState from "@erxes/ui/src/components/EmptyState";
import { ItemName } from "../../styles";
import Label from "@erxes/ui/src/c... | /content/code_sandbox/packages/plugin-filemanager-ui/src/components/file/RequestedFilesList.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 863 |
```xml
import { $$asyncIterator } from 'iterall';
export type FilterFn<TSource = any, TArgs = any, TContext = any> = (rootValue?: TSource, args?: TArgs, context?: TContext, info?: any) => boolean | Promise<boolean>;
export type ResolverFn<TSource = any, TArgs = any, TContext = any> = (rootValue?: TSource, args?: TArgs... | /content/code_sandbox/src/with-filter.ts | xml | 2016-08-19T19:08:00 | 2024-07-04T19:27:14 | graphql-subscriptions | apollographql/graphql-subscriptions | 1,584 | 532 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>TransfersStatusWidget</class>
<widget class="QWidget" name="TransfersStatusWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>24</width>
<height>24</height>
</rect>
</property>
<property name="minimumS... | /content/code_sandbox/src/MEGASync/transfers/gui/linux/TransfersStatusWidget.ui | xml | 2016-02-10T18:28:05 | 2024-08-16T19:36:44 | MEGAsync | meganz/MEGAsync | 1,593 | 501 |
```xml
describe("hello world", () => {
it("works", () => {
expect(true).toBe(true)
})
})
``` | /content/code_sandbox/lib/reactotron-react-js/test/replaceme.test.ts | xml | 2016-04-15T21:58:32 | 2024-08-16T11:39:46 | reactotron | infinitered/reactotron | 14,757 | 27 |
```xml
import { inject } from "@angular/core";
import { ActivatedRouteSnapshot, CanActivateFn, createUrlTreeFromSnapshot } from "@angular/router";
import { firstValueFrom } from "rxjs";
import { ProviderService } from "@bitwarden/common/admin-console/abstractions/provider.service";
import { ProviderStatusType } from "... | /content/code_sandbox/bitwarden_license/bit-web/src/app/billing/providers/guards/has-consolidated-billing.guard.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 249 |
```xml
import { type FC, type ReactNode, useEffect, useRef } from 'react';
import { useSelector } from 'react-redux';
import { Form, FormikProvider, useFormik } from 'formik';
import { c } from 'ttag';
import { Button } from '@proton/atoms/Button';
import { Icon, type IconName } from '@proton/components/components';
... | /content/code_sandbox/packages/pass/components/Invite/VaultInviteCreate.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 1,586 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<WixLocalization Culture="zh-cn" xmlns="path_to_url">
<String Id="Locale" Overridable="yes">zh_CN</String>
<String Id="ProductName" Overridable="yes">Aspia </String>
<String Id="ShortcutName" Overridable="yes">Aspia </String>
<String Id="DowngradeErrorMessag... | /content/code_sandbox/installer/translations/console.zh-cn.wxl | xml | 2016-10-26T16:17:31 | 2024-08-16T13:37:42 | aspia | dchapyshev/aspia | 1,579 | 167 |
```xml
import spawnAsync, { SpawnResult } from '@expo/spawn-async';
import path from 'path';
import { env } from '../../../utils/env';
import { AbortCommandError } from '../../../utils/errors';
const debug = require('debug')('expo:start:platforms:android:gradle') as typeof console.log;
function upperFirst(name: stri... | /content/code_sandbox/packages/@expo/cli/src/start/platforms/android/gradle.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 955 |
```xml
import React from 'react';
type IconProps = React.SVGProps<SVGSVGElement>;
export declare const IcStarSlash: (props: IconProps) => React.JSX.Element;
export {};
``` | /content/code_sandbox/packages/icons/lib/icStarSlash.d.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 43 |
```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 { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnInit, Inject } from '@angular/core';
import { FormBuilder, FormG... | /content/code_sandbox/maxkey-web-frontend/maxkey-web-app/src/app/routes/config/password/password.component.ts | xml | 2016-11-16T03:06:50 | 2024-08-16T09:22:42 | MaxKey | dromara/MaxKey | 1,423 | 1,535 |
```xml
<Project>
<PropertyGroup>
<RepositoryDirectory>$(MSBuildThisFileDirectory)</RepositoryDirectory>
<BuildToolsDirectory>$(RepositoryDirectory)build\</BuildToolsDirectory>
</PropertyGroup>
<Import Project="$(BuildToolsDirectory)Windows.Toolkit.Common.props" />
<Choose>
<When Condition="$(IsCo... | /content/code_sandbox/Directory.Build.props | xml | 2016-06-17T21:29:46 | 2024-08-16T09:32:00 | WindowsCommunityToolkit | CommunityToolkit/WindowsCommunityToolkit | 5,842 | 764 |
```xml
<resources>
<string name="download_file_error"></string>
<string name="downloading_toast"> %1$s</string>
<string name="no_rw_storage"></string>
<string name="no_thanks"></string>
<string name="yes"></string>
<string name="ok"></string>
</resources>
``` | /content/code_sandbox/src/main/res/values-zh-rCN/strings.xml | xml | 2016-08-05T16:58:55 | 2024-08-16T16:39:40 | MagiskManager | topjohnwu/MagiskManager | 1,489 | 74 |
```xml
<clickhouse>
<profiles>
<default>
<distributed_ddl_entry_format_version>6</distributed_ddl_entry_format_version>
</default>
</profiles>
</clickhouse>
``` | /content/code_sandbox/tests/config/users.d/replicated_ddl_entry.xml | xml | 2016-06-02T08:28:18 | 2024-08-16T18:39:33 | ClickHouse | ClickHouse/ClickHouse | 36,234 | 43 |
```xml
import { Range } from 'slate'
export const input = {
anchor: {
path: [0],
offset: 0,
},
focus: {
path: [3],
offset: 0,
},
}
export const test = range => {
return Range.isExpanded(range)
}
export const output = true
``` | /content/code_sandbox/packages/slate/test/interfaces/Range/isExpanded/expanded.tsx | xml | 2016-06-18T01:52:42 | 2024-08-16T18:43:42 | slate | ianstormtaylor/slate | 29,492 | 73 |
```xml
export * from './ig-action-spam.error';
export * from './ig-challenge-wrong-code.error';
export * from './ig-checkpoint.error';
export * from './ig-client.error';
export * from './ig-cookie-not-found.error';
export * from './ig-exact-user-not-found-error';
export * from './ig-inactive-user.error';
export * from ... | /content/code_sandbox/src/errors/index.ts | xml | 2016-06-09T12:14:48 | 2024-08-16T10:07:22 | instagram-private-api | dilame/instagram-private-api | 5,877 | 261 |
```xml
export { PushBranchCommits } from './push-branch-commits'
export { BranchList } from './branch-list'
export { BranchesContainer } from './branches-container'
export { PullRequestBadge } from './pull-request-badge'
export { groupBranches, IBranchListItem } from './group-branches'
export { BranchListItem } from '.... | /content/code_sandbox/app/src/ui/branches/index.ts | xml | 2016-05-11T15:59:00 | 2024-08-16T17:00:41 | desktop | desktop/desktop | 19,544 | 88 |
```xml
import { Routes } from '@angular/router';
export const routes: Routes = [];
``` | /content/code_sandbox/packages/static-build/test/fixtures/angular-v17/src/app/app.routes.ts | xml | 2016-09-09T01:12:08 | 2024-08-16T17:39:45 | vercel | vercel/vercel | 12,545 | 17 |
```xml
type T00 = bigint;
``` | /content/code_sandbox/tests/format/typescript/bigint/bigint.ts | xml | 2016-11-29T17:13:37 | 2024-08-16T17:29:57 | prettier | prettier/prettier | 48,913 | 7 |
```xml
<?xml version="1.0"?>
<doc>
<assembly>
<name>Microsoft.AppCenter.Crashes</name>
</assembly>
<members>
<member name="T:Microsoft.AppCenter.Crashes.Utils.ErrorLogHelper">
<summary>
ErrorLogHelper to help constructing, serializing, and de-serializing locally store... | /content/code_sandbox/Libraries/AppCenter/Microsoft.AppCenter.Crashes.xml | xml | 2016-05-23T09:03:33 | 2024-08-16T16:17:48 | Unigram | UnigramDev/Unigram | 3,744 | 11,327 |
```xml
import * as Viewer from '../viewer.js';
import * as UI from '../ui.js';
import * as NARC from '../nns_g3d/narc.js';
import * as BYML from '../byml.js';
import * as LZ77 from './lz77.js';
import * as BMD from './sm64ds_bmd.js';
import * as BCA from './sm64ds_bca.js';
import { GfxDevice, GfxBindingLayoutDescrip... | /content/code_sandbox/src/SuperMario64DS/scenes.ts | xml | 2016-10-06T21:43:45 | 2024-08-16T17:03:52 | noclip.website | magcius/noclip.website | 3,206 | 27,504 |
```xml
/**
* @license
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at path_to_url
*/
import {Directive, Output, Input, EventEmitter, AfterContentInit, OnDestroy} from '@angular/core';
import {Direction, Directionality, _resolveDirectionality} from './dir... | /content/code_sandbox/src/cdk/bidi/dir.ts | xml | 2016-01-04T18:50:02 | 2024-08-16T11:21:13 | components | angular/components | 24,263 | 482 |
```xml
/// <reference types="../../../../types/cypress" />
// Components
import { VAppBar } from '..'
import { VLayout } from '@/components/VLayout'
import { VMain } from '@/components/VMain'
// Utilities
import { ref } from 'vue'
// Constants
const SCROLL_OPTIONS = { ensureScrollable: true, duration: 50 }
describe... | /content/code_sandbox/packages/vuetify/src/components/VAppBar/__tests__/VAppBar.spec.cy.tsx | xml | 2016-09-12T00:39:35 | 2024-08-16T20:06:39 | vuetify | vuetifyjs/vuetify | 39,539 | 1,825 |
```xml
import {
unscramblePaperWalletMnemonic,
scramblePaperWalletMnemonic,
generateMnemonic,
} from '../../utils/crypto';
import { PAPER_WALLET_WRITTEN_WORDS_COUNT } from '../../config/cryptoConfig';
type MnemonicsParams = {
passphrase: string;
// 9-word mnemonic
scrambledInput: string; // 18-word scrambl... | /content/code_sandbox/source/renderer/app/api/utils/mnemonics.ts | xml | 2016-10-05T13:48:54 | 2024-08-13T22:03:19 | daedalus | input-output-hk/daedalus | 1,230 | 228 |
```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.
-->
<FrameLayout xmlns:android="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="... | /content/code_sandbox/catalog/java/io/material/catalog/search/res/layout/cat_search_nav_drawer_header.xml | xml | 2016-12-05T16:11:29 | 2024-08-16T17:51:42 | material-components-android | material-components/material-components-android | 16,176 | 401 |
```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 { HttpClientModule } from "@angular/common/http";
import { type ComponentFixture, TestBed, tick, fakeAsync } from "@angular/core/test... | /content/code_sandbox/experimental/traffic-portal/src/app/core/deliveryservice/invalidation-jobs/new-invalidation-job-dialog/new-invalidation-job-dialog.component.spec.ts | xml | 2016-09-02T07:00:06 | 2024-08-16T03:50:21 | trafficcontrol | apache/trafficcontrol | 1,043 | 1,603 |
```xml
//
//
// Microsoft Bot Framework: path_to_url
//
// Bot Framework Emulator Github:
// path_to_url
//
// All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software witho... | /content/code_sandbox/packages/app/client/src/state/sagas/servicesExplorerSagas.ts | xml | 2016-11-11T23:15:09 | 2024-08-16T12:45:29 | BotFramework-Emulator | microsoft/BotFramework-Emulator | 1,803 | 3,601 |
```xml
/** @jsx jsx */
import { Node } from 'slate'
import { jsx } from 'slate-hyperscript'
export const input = (
<editor>
<element>
<text key="a" />
<text key="b" />
</element>
</editor>
)
export const test = value => {
return Array.from(Node.descendants(value, { from: [0, 1] }))
}
export ... | /content/code_sandbox/packages/slate/test/interfaces/Node/descendants/from.tsx | xml | 2016-06-18T01:52:42 | 2024-08-16T18:43:42 | slate | ianstormtaylor/slate | 29,492 | 146 |
```xml
import { useHistory } from 'react-router-dom';
import { c } from 'ttag';
import { useSecurityCheckup } from '@proton/components';
import { getFormattedValue } from '@proton/components/components/v2/phone/helper';
import { SECURITY_CHECKUP_PATHS } from '@proton/shared/lib/constants';
import {
getIsPerfectEm... | /content/code_sandbox/applications/account/src/app/containers/securityCheckup/Actions.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 1,582 |
```xml
import supertest from 'supertest';
import { beforeEach, describe, expect, test } from 'vitest';
import { API_MESSAGE, HEADERS, HEADER_TYPE, HTTP_STATUS } from '@verdaccio/core';
import { getDisTags, initializeServer, publishVersion } from './_helper';
describe('package', () => {
let app;
beforeEach(async ... | /content/code_sandbox/packages/api/test/integration/distTag.spec.ts | xml | 2016-04-15T16:21:12 | 2024-08-16T09:38:01 | verdaccio | verdaccio/verdaccio | 16,189 | 818 |
```xml
import { DecryptedTransferPayload, EncryptedTransferPayload } from '../TransferPayload'
import { BackupFileDecryptedContextualPayload } from './BackupFileDecryptedContextualPayload'
import { BackupFileEncryptedContextualPayload } from './BackupFileEncryptedContextualPayload'
export function CreateEncryptedBack... | /content/code_sandbox/packages/models/src/Domain/Abstract/Contextual/Functions.ts | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 361 |
```xml
export { FormSectionTitle } from './FormSectionTitle';
``` | /content/code_sandbox/app/react/components/form-components/FormSectionTitle/index.ts | xml | 2016-05-19T20:15:28 | 2024-08-16T19:15:14 | portainer | portainer/portainer | 30,083 | 13 |
```xml
// path_to_url
type Tail<T extends Array<any>> =
((...t: T) => void) extends (h: any, ...rest: infer R) => void ? R : never;
/**
* Return a list of Args such that the corresponding value is undefined.
* @example PartialArgs<[number, string, boolean], [number, undefined, undefined]>
* equals to [st... | /content/code_sandbox/packages/function-partial/index.d.ts | xml | 2016-06-26T02:04:54 | 2024-08-15T00:08:43 | just | angus-c/just | 5,974 | 244 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<!--
-->
<resources>
<item name="toggle" type="id"/>
<item name="checkbox" type="id"/>
</resources>
``` | /content/code_sandbox/modules/material-lists/src/androidMain/res/values/view_ids.xml | xml | 2016-08-12T14:22:12 | 2024-08-13T16:15:24 | Splitties | LouisCAD/Splitties | 2,498 | 46 |
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<definitions id="definitions" targetNamespace="path_to_url"
xmlns="path_to_url" xmlns:xsi="path_to_url"
xmlns:activiti="path_to_url" xmlns:cell="path_to_url">
<process id="testBatchDeleteOfTask">
<startEvent id="start"></startEvent>
<sequence... | /content/code_sandbox/modules/flowable5-test/src/test/resources/org/activiti/engine/test/api/task/TaskBatchDeleteTest.testDeleteCancelledMultiInstanceTasks.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 193 |
```xml
import type { Dictionary } from '@vercel/client';
// Converts `env` Arrays, Strings and Objects into env Objects.
export const parseEnv = (env?: string | string[] | Dictionary<string>) => {
if (!env) {
return {};
}
if (typeof env === 'string') {
// a single `--env` arg comes in as a String
en... | /content/code_sandbox/packages/cli/src/util/parse-env.ts | xml | 2016-09-09T01:12:08 | 2024-08-16T17:39:45 | vercel | vercel/vercel | 12,545 | 230 |
```xml
import ServerModule from '@gqlapp/module-server-ts';
import mailer from './mailer';
export { mailer };
export default new ServerModule({
createContextFunc: [() => ({ mailer })],
});
``` | /content/code_sandbox/modules/mailer/server-ts/index.ts | xml | 2016-09-08T16:44:45 | 2024-08-16T06:17:16 | apollo-universal-starter-kit | sysgears/apollo-universal-starter-kit | 1,684 | 44 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions xmlns:xsi="path_to_url" xmlns:activiti="path_to_url" xmlns:bpmn2="path_to_url" xmlns:bpmndi="path_to_url" xmlns:dc="path_to_url" xmlns:di="path_to_url" xsi:schemaLocation="path_to_url BPMN20.xsd" id="Definitions_1" targetNamespace="path_to_url">
<bpmn2:... | /content/code_sandbox/modules/flowable5-test/src/test/resources/org/activiti/engine/test/bpmn/event/end/TerminateEndEventTest.subProcessConcurrentTerminateTerminateAll.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 1,486 |
```xml
import chalk from 'chalk';
export function time(label?: string): void {
console.time(label);
}
export function timeEnd(label?: string): void {
console.timeEnd(label);
}
export function error(...message: string[]): void {
console.error(...message);
}
/** Print an error and provide additional info (the s... | /content/code_sandbox/packages/@expo/cli/src/log.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 421 |
```xml
import { AppPage } from './app.po';
describe('angular-cli-libs-externas App', () => {
let page: AppPage;
beforeEach(() => {
page = new AppPage();
});
it('should display welcome message', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('Welcome to app!');
});
});
``` | /content/code_sandbox/angular-cli-libs-externas/e2e/app.e2e-spec.ts | xml | 2016-07-02T18:58:48 | 2024-08-15T23:36:46 | curso-angular | loiane/curso-angular | 1,910 | 77 |
```xml
export { PRICING } from "./constants/pricing";
export { PricingTable } from "./components/PricingTable";
export { PricingModal } from "./components/PricingModal";
export { UpgradeWorkspaceMenu } from "./components/UpgradeWorkspaceMenu";
export { PremiumFeature } from "./components/PremiumFeature";
export { Prici... | /content/code_sandbox/app/src/features/pricing/index.ts | xml | 2016-12-01T04:36:06 | 2024-08-16T19:12:19 | requestly | requestly/requestly | 2,121 | 87 |
```xml
import { pxToRem } from '../../../../utils';
import { SiteVariablesPrepared } from '@fluentui/styles';
export interface SliderVariables {
height: string;
length: string;
railColor: string;
railHeight: string;
disabledRailColor: string;
thumbColor: string;
activeThumbColor: string;
disabledThum... | /content/code_sandbox/packages/fluentui/react-northstar/src/themes/teams/components/Slider/sliderVariables.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 322 |
```xml
declare interface IComboChartDemoWebPartStrings {
ChartTitle: string;
DataSetLabel: string;
ChartLabels: string[];
RandomizeCommandLabel: string;
WebPartDescription: string;
MoreInfoLinkUrl: string;
}
declare module 'ComboChartDemoWebPartStrings' {
const strings: IComboChartDemoWebPartStrings;
e... | /content/code_sandbox/samples/react-chartcontrol/src/webparts/comboChartDemo/loc/mystrings.d.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 82 |
```xml
import { CameraType } from '@antv/g';
import { Renderer as WebGLRenderer } from '@antv/g-webgl';
import { Plugin as ThreeDPlugin, DirectionalLight } from '@antv/g-plugin-3d';
import { Plugin as ControlPlugin } from '@antv/g-plugin-control';
import { threedlib } from '@antv/g2-extension-3d';
import { Runtime, ext... | /content/code_sandbox/__tests__/plots/api/chart-3d.ts | xml | 2016-05-26T09:21:04 | 2024-08-15T16:11:17 | G2 | antvis/G2 | 12,060 | 510 |
```xml
import StockData from '../StockData';
import HammerPattern from './HammerPattern';
export default class HammerPatternUnconfirmed extends HammerPattern {
constructor();
logic(data: StockData): boolean;
}
export declare function hammerpatternunconfirmed(data: StockData): any;
``` | /content/code_sandbox/declarations/candlestick/HammerPatternUnconfirmed.d.ts | xml | 2016-05-02T19:16:32 | 2024-08-15T14:25:09 | technicalindicators | anandanand84/technicalindicators | 2,137 | 56 |
```xml
29 January 2024
``` | /content/code_sandbox/libs/neon/doc/date.xml | xml | 2016-06-22T17:19:44 | 2024-08-16T02:15:29 | winscp | winscp/winscp | 2,528 | 6 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="path_to_url"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="true"
colors="true"
bootstrap="test/bootstrap.php"
cacheResult="false"
beStrictAboutOutputDuringTests="tr... | /content/code_sandbox/phpunit.xml | xml | 2016-04-26T06:48:39 | 2024-08-15T19:35:09 | sentry-laravel | getsentry/sentry-laravel | 1,229 | 123 |
```xml
import Vue from 'vue';
import Icon from './Icon.vue';
Vue.component('web-font', Icon);
``` | /content/code_sandbox/plugins/web-font/index.ts | xml | 2016-02-28T13:16:17 | 2024-08-16T01:48:50 | iBlog | eshengsky/iBlog | 1,337 | 22 |
```xml
/**
* COUNT_SELECTOR is a css selector used to identify elements that
* will be replaced by the story count.
*/
export const COUNT_SELECTOR = ".coral-count";
/**
* COMMENT_EMBED_SELECTOR is a css selector used to identify elements that
* will be replaced by the comment embed.
*/
export const COMMENT_EMBED... | /content/code_sandbox/client/src/core/client/framework/constants.ts | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 188 |
```xml
/**
* Sneak/index.tsx
*
* Entry point for sneak functionality
*/
import { Colors } from "./../Colors"
import { CallbackCommand, CommandManager } from "./../CommandManager"
import { Configuration } from "./../Configuration"
import { AchievementsManager } from "./../Learning/Achievements"
import { OverlayMana... | /content/code_sandbox/browser/src/Services/Sneak/index.tsx | xml | 2016-11-16T14:42:55 | 2024-08-14T11:48:05 | oni | onivim/oni | 11,355 | 616 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/// <reference types="@stdlib/types"/>
import * as random from '@stdlib/types/random'... | /content/code_sandbox/lib/node_modules/@stdlib/random/strided/chisquare/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 1,382 |
```xml
<?xml version="1.0"?>
<!DOCTYPE target SYSTEM "osdata.dtd">
<osdata type="types">
<item>
<column name="Type">cfwversion</column>
<column name="Description">Listing of the Luma3DS version, commit hash, etc.</column>
<column name="Title">CFW</column>
</item>
<item>
<column name="Type">memory<... | /content/code_sandbox/sysmodules/rosalina/source/gdb/xml/osdata.xml | xml | 2016-02-08T02:26:12 | 2024-08-16T18:01:26 | Luma3DS | LumaTeam/Luma3DS | 5,123 | 176 |
```xml
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
// path_to_url
export default defineConfig({
plugins: [react()],
});
``` | /content/code_sandbox/examples/tutorial/vite.config.ts | xml | 2016-07-13T07:58:54 | 2024-08-16T18:32:27 | react-admin | marmelab/react-admin | 24,624 | 38 |
```xml
export { DemoBanner } from './Demo';
``` | /content/code_sandbox/src/features/Layout/Banners/index.ts | xml | 2016-12-04T01:35:27 | 2024-08-14T21:41:58 | MyCrypto | MyCryptoHQ/MyCrypto | 1,347 | 10 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="path_to_url"
xmlns:app="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.design.widget.AppBarLayout
... | /content/code_sandbox/samples/VSAndroidApp/Resources/layout/activity_main.xml | xml | 2016-03-30T15:37:14 | 2024-08-16T19:22:13 | android | dotnet/android | 1,905 | 270 |
```xml
/** @jsx jsx */
import { Transforms } from 'slate'
import { jsx } from '../../..'
export const run = (editor, options = {}) => {
Transforms.insertFragment(
editor,
<block>
<block>
<block>
<block>
<block>1</block>
</block>
<block>
<blo... | /content/code_sandbox/packages/slate/test/transforms/insertFragment/of-tables/merge-cells-with-nested-blocks.tsx | xml | 2016-06-18T01:52:42 | 2024-08-16T18:43:42 | slate | ianstormtaylor/slate | 29,492 | 310 |
```xml
import React from 'react';
import { render } from '@testing-library/react-native';
import { NativeBaseProvider } from '../../../../core/NativeBaseProvider';
import Switch from '../index';
jest.useFakeTimers();
describe('Switch', () => {
it('can be default checked', () => {
let { getAllByRole } = render(
... | /content/code_sandbox/src/components/primitives/Switch/test/switch.test.tsx | xml | 2016-04-15T11:37:23 | 2024-08-14T16:16:44 | NativeBase | GeekyAnts/NativeBase | 20,132 | 300 |
```xml
/*
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
*/
import {CSSProperties} from 'react';
import {Column, UseSortByColumnProps, UseSortByOptions} from 'react-table';
import {t} from 'translation';
impo... | /content/code_sandbox/optimize/client/src/modules/components/Table/service.ts | xml | 2016-03-20T03:38:04 | 2024-08-16T19:59:58 | camunda | camunda/camunda | 3,172 | 606 |
```xml
<vector xmlns:android="path_to_url"
android:width="20dp"
android:height="12dp"
android:viewportWidth="20"
android:viewportHeight="12">
<path
android:pathData="M6,7H14V5H6V7ZM1.9,6C1.9,3.73 3.74,1.9 6,1.9H9V0H6C2.686,0 0,2.686 0,6C0,9.314 2.686,12 6,12H9V10.1H6C3.74,10.1 1.9,8.26 1.9,6ZM14... | /content/code_sandbox/app/src/main/res/drawable/ic_meeting_link_info.xml | xml | 2016-05-04T11:46:20 | 2024-08-15T16:29:10 | android | meganz/android | 1,537 | 277 |
```xml
import {Buffer, Framebuffer} from '@luma.gl/core';
import {
AnimationLoopTemplate,
AnimationProps,
Model,
BufferTransform,
Swap,
makeRandomGenerator
} from '@luma.gl/engine';
import {picking} from '@luma.gl/shadertools';
// Ensure repeatable rendertests
const random = makeRandomGenerator();
// esli... | /content/code_sandbox/examples/tutorials/transform/app.ts | xml | 2016-01-25T09:41:59 | 2024-08-16T10:03:05 | luma.gl | visgl/luma.gl | 2,280 | 2,515 |
```xml
import { MigrationInterface } from "../../../../src/migration/MigrationInterface"
import { QueryRunner } from "../../../../src/query-runner/QueryRunner"
import { User } from "../entity/user"
export class InsertUser0000000000003 implements MigrationInterface {
public up(queryRunner: QueryRunner): Promise<any... | /content/code_sandbox/test/github-issues/2693/migration/0000000000003-InsertUser.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 109 |
```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
/**
* Interface describing `srot`.
*/
interface Routine {
/**
* Applies a plane rota... | /content/code_sandbox/lib/node_modules/@stdlib/blas/base/srot/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 1,337 |
```xml
import { alpha, createTheme, PaletteOptions, Theme } from '@mui/material';
import { RaThemeOptions } from './types';
/**
* Radiant: A theme emphasizing clarity and ease of use.
*
* Uses generous margins, outlined inputs and buttons, no uppercase, and an acid color palette.
*/
const componentsOverrides = (t... | /content/code_sandbox/packages/ra-ui-materialui/src/theme/radiantTheme.ts | xml | 2016-07-13T07:58:54 | 2024-08-16T18:32:27 | react-admin | marmelab/react-admin | 24,624 | 1,243 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="path_to_url">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
... | /content/code_sandbox/third_party/WebKit/Source/modules/modules_testing.vcxproj | xml | 2016-09-27T03:41:10 | 2024-08-16T10:42:57 | miniblink49 | weolar/miniblink49 | 7,069 | 13,985 |
```xml
const isRequired = validate => {
if (validate && validate.isRequired) {
return true;
}
if (Array.isArray(validate)) {
return validate.some(it => it.isRequired);
}
return false;
};
export default isRequired;
``` | /content/code_sandbox/packages/ra-core/src/form/isRequired.ts | xml | 2016-07-13T07:58:54 | 2024-08-16T18:32:27 | react-admin | marmelab/react-admin | 24,624 | 52 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<data-sources>
<data-source id="fxxpipe">
<maximum-pool-size>20</maximum-pool-size>
<connection-timeout>1s</connection-timeout>
<idle-timeout>1m</idle-timeout>
<statement-cache-size>1000</statement-cache-size>
<properties>
<driver>c... | /content/code_sandbox/redis/dockerPackage/xpipe-console/config/datasources.xml | xml | 2016-03-29T12:22:36 | 2024-08-12T11:25:42 | x-pipe | ctripcorp/x-pipe | 1,977 | 176 |
```xml
<snippet>
<content><![CDATA[/*
* @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.
*/
]]></content>
<!-- Tab trigger to activate the snippet -->
<tabTrigger>std... | /content/code_sandbox/docs/editors/sublime-text/snippets/stdlib-license-ts.sublime-snippet | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 125 |
```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 { Shape5D } from '@stdlib/types/ndarray... | /content/code_sandbox/lib/node_modules/@stdlib/array/base/ones5d/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 217 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.