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 { waitFor } from '@testing-library/react';
import { buildStoreState } from '../../../test/storeBuilders';
import { mountedComponentFactory, setupI18Next, uuidRegex } from '../../../test/testUtils';
describe('Library view container', () => {
beforeAll(() => {
setupI18Next();
});
it('should dis... | /content/code_sandbox/packages/app/app/containers/LibraryViewContainer/LibraryViewContainer.test.tsx | xml | 2016-09-22T22:58:21 | 2024-08-16T15:47:39 | nuclear | nukeop/nuclear | 11,862 | 1,002 |
```xml
import { Post } from "@/interfaces/post";
import { PostPreview } from "./post-preview";
type Props = {
posts: Post[];
};
export function MoreStories({ posts }: Props) {
return (
<section>
<h2 className="mb-8 text-5xl md:text-7xl font-bold tracking-tighter leading-tight">
More Stories
... | /content/code_sandbox/examples/blog-starter/src/app/_components/more-stories.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 199 |
```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, EventEmitter, forwardRef, Input, OnInit, Output } from '@angular/core';
import { ControlValueAccessor, ... | /content/code_sandbox/ui-ngx/src/app/modules/home/components/widget/lib/settings/cards/label-widget-label.component.ts | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 648 |
```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>salut6</artifactId>
<version>0.0.1-SNAPSHOT</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncodin... | /content/code_sandbox/org.eclipse.jdt.ls.tests/projects/maven/salut6/pom.xml | xml | 2016-06-27T13:06:53 | 2024-08-16T00:38:32 | eclipse.jdt.ls | eclipse-jdtls/eclipse.jdt.ls | 1,726 | 266 |
```xml
import React from "react";
import {OperationParamsErrorReporter, ValueResolver} from "cad/craft/schema/schema";
import {ApplicationContext} from "cad/context";
import {ObjectTypeSchema} from "cad/craft/schema/types/objectType";
import {AxisBasedWidgetDefinition, AxisBasedWidgetProps, AxisInput, AxisResolver} fro... | /content/code_sandbox/web/app/cad/mdf/ui/DirectionWidget.tsx | xml | 2016-08-26T21:55:19 | 2024-08-15T01:02:53 | jsketcher | xibyte/jsketcher | 1,461 | 196 |
```xml
import styled from "@emotion/styled"
import { FC, PropsWithChildren } from "react"
import { CircularProgress } from "../ui/CircularProgress"
import { Dialog, DialogContent } from "./Dialog"
const Message = styled.div`
color: ${({ theme }) => theme.textColor};
margin-left: 1rem;
display: flex;
align-item... | /content/code_sandbox/app/src/components/Dialog/LoadingDialog.tsx | xml | 2016-03-06T15:19:53 | 2024-08-15T14:27:10 | signal | ryohey/signal | 1,238 | 182 |
```xml
/**
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
type HunkGroup = {
common: string[];
removed: string[];
added: string[];
};
/**
* We must find the groups within `lines` so that multiline sequences of
* modified lin... | /content/code_sandbox/eden/contrib/shared/SplitDiffView/organizeLinesIntoGroups.ts | xml | 2016-05-05T16:53:47 | 2024-08-16T19:12:02 | sapling | facebook/sapling | 5,987 | 394 |
```xml
import { createContext, useContext, useEffect, useState } from 'react';
import { c } from 'ttag';
import { useNotifications } from '@proton/components/hooks';
import { useLoading } from '@proton/hooks';
import { sendErrorReport } from '../../utils/errorHandling';
import { EnrichedError } from '../../utils/err... | /content/code_sandbox/applications/drive/src/app/store/_devices/useDevicesListing.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 912 |
```xml
export const pi = 3 + 0.14;
export function add(num1: number, num2: number) {
return num1 + num2;
}
export function addOne(number: number) {
number++;
return number;
}
export function negate(number: number) {
return -number;
}
export function isNegativeNumber(number: number) {
var isNegative = fals... | /content/code_sandbox/packages/vitest-runner/testResources/simple-project/math.orig.ts | xml | 2016-02-12T13:14:28 | 2024-08-15T18:38:25 | stryker-js | stryker-mutator/stryker-js | 2,561 | 107 |
```xml
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { SignupPage } from './signup';
const routes: Routes = [
{
path: '',
component: SignupPage
}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class... | /content/code_sandbox/examples/ionic-angular/src/app/pages/signup/signup-routing.module.ts | xml | 2016-09-09T01:12:08 | 2024-08-16T17:39:45 | vercel | vercel/vercel | 12,545 | 75 |
```xml
import { buildStatementCommand } from "./command-helper.js";
const command = buildStatementCommand("select * from items");
export { command };
``` | /content/code_sandbox/javascriptv3/example_code/cross-services/aurora-serverless-app/src/statement-commands/get-all-items.ts | xml | 2016-08-18T19:06:57 | 2024-08-16T18:59:44 | aws-doc-sdk-examples | awsdocs/aws-doc-sdk-examples | 9,298 | 29 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="path_to_url"
xmlns:app="path_to_url"
android:id="@+id/bottom_sheet"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#fff"
android:orientation="vertical"
app:behavior_hideab... | /content/code_sandbox/Android/app/src/main/res/layout/bottomsheet_map_cards.xml | xml | 2016-01-30T13:42:30 | 2024-08-12T19:21:10 | Travel-Mate | project-travel-mate/Travel-Mate | 1,292 | 451 |
```xml
import { CollectionPermission } from "@shared/types";
import { View, UserMembership } from "@server/models";
import {
buildAdmin,
buildCollection,
buildDocument,
buildTeam,
buildUser,
} from "@server/test/factories";
import { getTestServer } from "@server/test/support";
const server = getTestServer();... | /content/code_sandbox/server/routes/api/views/views.test.ts | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 1,262 |
```xml
import * as React from 'react';
import { makeStyles, Text } from '@fluentui/react-components';
const useStyles = makeStyles({
container: {
gap: '16px',
display: 'flex',
flexDirection: 'column',
},
});
export const Font = () => {
const styles = useStyles();
return (
<div className={styl... | /content/code_sandbox/packages/react-components/react-text/stories/src/Text/TextFont.stories.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 130 |
```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="vi" datatype="plaintext" original="invoice-calculator.en.xlf">
<body>
<trans-unit id="MviRJeB" resname="invoice_calculator">
<source>invoice_c... | /content/code_sandbox/translations/invoice-calculator.vi.xlf | xml | 2016-10-20T17:06:34 | 2024-08-16T18:27:30 | kimai | kimai/kimai | 3,084 | 545 |
```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 pmf = require( './index' );
// TESTS //
// The function returns a number...
{
pmf( 2, 0.4 ); // $Expect... | /content/code_sandbox/lib/node_modules/@stdlib/stats/base/dists/geometric/pmf/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 781 |
```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/application.spec.ts | xml | 2016-02-01T21:45:35 | 2024-08-15T19:16:48 | lisk-sdk | LiskArchive/lisk-sdk | 2,721 | 3,676 |
```xml
/**
* Truncates multi-line text to fit within an html element based on a set max-height.
* It then stores the diff of the original text string in a hidden <span> element following the visible text.
* This means the original text remains intact!
*/
export default function shave(
target: string | Element | E... | /content/code_sandbox/types/index.d.ts | xml | 2016-10-19T21:54:46 | 2024-07-24T09:13:19 | shave | dollarshaveclub/shave | 2,110 | 121 |
```xml
import { Then } from 'cucumber';
import { expect } from 'chai';
import { getVisibleTextsForSelector } from '../../../common/e2e/steps/helpers';
import { getWalletUtxosTotalAmount } from '../../../../source/renderer/app/utils/utxoUtils';
const container = '.WalletUtxo_container';
const selectors = {
container,... | /content/code_sandbox/tests/transactions/e2e/steps/utxos.ts | xml | 2016-10-05T13:48:54 | 2024-08-13T22:03:19 | daedalus | input-output-hk/daedalus | 1,230 | 516 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Application xmlns="path_to_url" xmlns:x="path_to_url" xmlns:d="path_to_url" xmlns:mc="path_to_url" mc:Ignorable="d" x:Class="MyXamarinFormsApp.App">
<Application.Resources>
</Application.Resources>
</Application>
``` | /content/code_sandbox/tests/common/TestProjects/MyCatalystFormsApp/MyCatalystFormsAppNS/App.xaml | xml | 2016-04-20T18:24:26 | 2024-08-16T13:29:19 | xamarin-macios | xamarin/xamarin-macios | 2,436 | 75 |
```xml
import * as React from 'react';
import { css, createArray } from '@fluentui/react/lib/Utilities';
import { Checkbox } from '@fluentui/react/lib/Checkbox';
import { MarqueeSelection, Selection, IObjectWithKey } from '@fluentui/react/lib/MarqueeSelection';
import { getTheme, mergeStyleSets } from '@fluentui/react/... | /content/code_sandbox/packages/react-examples/src/react/MarqueeSelection/MarqueeSelection.Basic.Example.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 641 |
```xml
import * as slash from 'slash';
import {join} from 'path';
import {APP_BASE, APP_DEST, ENV} from '../config';
let injectables: string[] = [];
export function injectableAssetsRef() {
return injectables;
}
export function registerInjectableAssetsRef(paths: string[], target: string = '') {
injectables = inje... | /content/code_sandbox/tools/utils/template-injectables.ts | xml | 2016-01-04T01:19:52 | 2024-08-15T22:13:36 | pev | AlexTatiyants/pev | 2,757 | 170 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>15C50</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>ACPIBatteryManage... | /content/code_sandbox/Clover-Configs/Dell/Dell XPS 13 9350/CLOVER/kexts/10.11/ACPIBatteryManager.kext/Contents/Info.plist | xml | 2016-11-05T04:22:54 | 2024-08-12T19:25:53 | Hackintosh-Installer-University | huangyz0918/Hackintosh-Installer-University | 3,937 | 1,221 |
```xml
<?xml version="1.0"?>
<!--
~ 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 ... | /content/code_sandbox/test/native/src/test/resources/logback-test.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 235 |
```xml
export class OtpResult {
static cancel = new OtpResult("cancel", false);
constructor(
public passcode: string,
public rememberMe: boolean,
) {}
}
``` | /content/code_sandbox/libs/importer/src/importers/lastpass/access/models/otp-result.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 41 |
```xml
export class CipherCollectionsRequest {
collectionIds: string[];
constructor(collectionIds: string[]) {
this.collectionIds = collectionIds == null ? [] : collectionIds;
}
}
``` | /content/code_sandbox/libs/common/src/vault/models/request/cipher-collections.request.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 39 |
```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 { Iterator as Iter, IterableIterator } ... | /content/code_sandbox/lib/node_modules/@stdlib/iter/do-until-each/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 840 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~
~ path_to_url
~
~ Unless required by applicable law or agreed to in writing, software
~ WITHOUT WARRANTIES ... | /content/code_sandbox/test/it/parser/src/main/resources/case/ddl/create-trigger.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 389 |
```xml
import path from 'path';
import { expect } from 'chai';
import sinon from 'sinon';
import { testInjector } from '@stryker-mutator/test-helpers';
import type { requireResolve } from '@stryker-mutator/util';
import { ReactScriptsJestConfigLoader } from '../../../src/config-loaders/react-scripts-jest-config-loade... | /content/code_sandbox/packages/jest-runner/test/unit/config-loaders/react-scripts-jest-config-loader.spec.ts | xml | 2016-02-12T13:14:28 | 2024-08-15T18:38:25 | stryker-js | stryker-mutator/stryker-js | 2,561 | 770 |
```xml
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ToastComponent } from './toast.component';
import { GlobalService } from '../../../services/global.service';
describe('ToastComponent', () => {
let component: ToastComponent;
let fixture: ComponentFixture<ToastComponent>;
... | /content/code_sandbox/frontend_v2/src/app/components/utility/toast/toast.component.spec.ts | xml | 2016-10-21T00:51:45 | 2024-08-16T14:41:56 | EvalAI | Cloud-CV/EvalAI | 1,736 | 134 |
```xml
import {Inject, Req} from "@tsed/common";
import {Unauthorized} from "@tsed/exceptions";
import {Arg, OnVerify, Protocol} from "@tsed/passport";
import {GraphQLLocalStrategy} from "graphql-passport";
import {UsersRepository} from "../services/UsersRepository.js";
@Protocol<any>({
name: "graphql-local",
useS... | /content/code_sandbox/packages/graphql/typegraphql/test/app/protocols/GraphQLProtocol.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 173 |
```xml
export { default, default as CreateUsername } from "./CreateUsername";
``` | /content/code_sandbox/client/src/core/client/auth/views/CreateUsername/index.ts | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 15 |
```xml
import * as React from 'react';
import { getAccessibilityChecker, TestType } from '../../utils/getAccessibilityChecker';
import { AccessibilityContrastChip } from '../ColorTokens/AccessibilityList';
import { BrandVariants, createLightTheme, Label, Theme, tokens } from '@fluentui/react-components';
import { creat... | /content/code_sandbox/packages/react-components/theme-designer/src/components/Sidebar/AccessibilityPanel.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 334 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definition"
xmlns="path_to_url"
xmlns:xsi="path_to_url"
xmlns:activiti="path_to_url"
targetNamespace="Examples">
<process id="miSequentialScriptTask">
<startEvent id="theStart" />
<sequenceFlow id="flow1" sourceRef="theStart" target... | /content/code_sandbox/modules/flowable5-test/src/test/resources/org/activiti/engine/test/bpmn/multiinstance/MultiInstanceTest.testSequentialScriptTasks.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 281 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it
published by the Free Software Foundation. Oracle designates this
particular file as subject to the "Classpath" exception as provided
by... | /content/code_sandbox/visualvm/libs.profiler/profiler.attach/build.xml | xml | 2016-09-12T14:44:30 | 2024-08-16T14:41:50 | visualvm | oracle/visualvm | 2,821 | 265 |
```xml
import {getEphemeralServerTarget} from "@temporalio/core-bridge";
import {Runtime} from "@temporalio/worker";
import {PlatformTest} from "@tsed/common";
import {TemporalClient} from "../src/index.js";
import {Server} from "./helpers/Server.js";
describe("Temporal Client", () => {
let server: any;
let client... | /content/code_sandbox/packages/third-parties/temporal/test/client.integration.spec.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 252 |
```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
/**
* Evaluates the quantile function for a binomial distribution.
*
* ## Notes
*
* - ... | /content/code_sandbox/lib/node_modules/@stdlib/stats/base/dists/binomial/quantile/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 1,082 |
```xml
import { pureMerge } from "coral-common/common/lib/utils";
import { DeepPartial } from "coral-framework/types";
/**
* Callbackify turns Fields e.g. `{a: string}`
* to also allow a callback `{a: string | () => string}`
*/
export type Callbackify<T> = T extends object
?
| {
[P in keyof T]: T[... | /content/code_sandbox/client/src/core/client/framework/testHelpers/createFixture.ts | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 477 |
```xml
import "reflect-metadata"
import { DataSource, Table } from "../../../src"
import {
closeTestingConnections,
createTestingConnections,
reloadTestingDatabases,
} from "../../utils/test-utils"
import { TableExclusion } from "../../../src/schema-builder/table/TableExclusion"
describe("query runner > cr... | /content/code_sandbox/test/functional/query-runner/create-exclusion-constraint.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 468 |
```xml
type allowedAudiences = "me" | "organization" | "groupMembers" | "everyone";
export interface IAward {
id: string;
displayName: string;
allowedAudiences: allowedAudiences;
description: string;
issuedDate: string;
issuingAuthority: string;
thumbnailUrl: string;
webUrl: string;
}
`... | /content/code_sandbox/samples/react-graph-profile-awards/src/models/IAward.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 76 |
```xml
import * as assert from 'assert'
import * as sinon from 'sinon'
import * as proxyquire from 'proxyquire'
import * as PgPromise from 'pg-promise'
import { TableDefinition } from '../../src/schemaInterfaces'
import Options from '../../src/options'
const options = new Options({})
const pgp = PgPromise()
describe(... | /content/code_sandbox/test/unit/schemaPostgres.test.ts | xml | 2016-08-15T17:54:26 | 2024-08-08T15:46:34 | schemats | SweetIQ/schemats | 1,032 | 4,445 |
```xml
export * from "./relationships";
``` | /content/code_sandbox/src/file/relationships/index.ts | xml | 2016-03-26T23:43:56 | 2024-08-16T13:02:47 | docx | dolanmiu/docx | 4,139 | 7 |
```xml
const tree = [
{
List: ['include', 'environment', 'variables', 'relational', 'comparator-i;ascii-numeric', 'spamtest'],
Type: 'Require',
},
{
List: ['fileinto', 'imap4flags'],
Type: 'Require',
},
{
Text: '# Generated: Do not run this script on spam mess... | /content/code_sandbox/packages/sieve/fixtures/v2SpamOnly.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 262 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>CFBundleDisplayName</key>
<string>BasicPCLTest</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleIconFile</key>
<string></string>
<key>C... | /content/code_sandbox/tests/common/TestProjects/BasicPCLTest/BasicPCLTest/Info.plist | xml | 2016-04-20T18:24:26 | 2024-08-16T13:29:19 | xamarin-macios | xamarin/xamarin-macios | 2,436 | 291 |
```xml
import React, { useMemo, useCallback, useState } from 'react'
import { usePage } from '../../../../../../cloud/lib/stores/pageStore'
import { SerializedUser } from '../../../../../../cloud/interfaces/db/user'
import { FormSelectOption } from '../../../../../../design/components/molecules/Form/atoms/FormSelect'
i... | /content/code_sandbox/src/mobile/components/organisms/modals/organisms/DocContextMenu/DocAssigneeSelect.tsx | xml | 2016-11-19T14:30:34 | 2024-08-16T03:13:45 | BoostNote-App | BoostIO/BoostNote-App | 3,745 | 1,700 |
```xml
import * as vscode from 'vscode';
import { DebugConfigurationProvider, DebugConfigOptions } from '../DebugConfigurationProvider';
import { JestExtOutput } from '../JestExt/output-terminal';
import { WorkspaceManager } from '../workspace-manager';
export interface WizardContext {
debugConfigProvider: DebugConf... | /content/code_sandbox/src/setup-wizard/types.ts | xml | 2016-10-09T13:06:02 | 2024-08-13T18:32:04 | vscode-jest | jest-community/vscode-jest | 2,819 | 583 |
```xml
import { Choice } from './choice';
import { Group } from './group';
import { Item } from './item';
export interface State {
choices: Choice[];
groups: Group[];
items: Item[];
loading: boolean;
}
//# sourceMappingURL=state.d.ts.map
``` | /content/code_sandbox/public/types/src/scripts/interfaces/state.d.ts | xml | 2016-03-15T14:02:08 | 2024-08-15T07:08:50 | Choices | Choices-js/Choices | 6,092 | 57 |
```xml
export default function Layout({
children,
slot,
}: {
children: React.ReactNode
slot: React.ReactNode
}) {
return (
<html>
<body>
{children}
{slot}
</body>
</html>
)
}
``` | /content/code_sandbox/test/e2e/app-dir/parallel-routes-root-slot/app/layout.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 58 |
```xml
// Please leave 'en' where it is, as it's our fallback language in case no translation can be found
export const SupportedTranslationLocales: string[] = [
"en",
"af",
"ar",
"az",
"be",
"bg",
"bn",
"bs",
"ca",
"cs",
"cy",
"da",
"de",
"el",
"en-GB",
"en-IN",
"eo",
"es",
"et",
... | /content/code_sandbox/apps/web/src/translation-constants.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 295 |
```xml
import type { Logger } from '@apollo/utils.logger';
import type { GraphQLSchema } from 'graphql';
import type {
GatewayExecutor,
GatewayInterface,
GatewayUnsubscriber,
} from '@apollo/server-gateway-interface';
import type { SchemaDerivedData } from '../ApolloServer.js';
import type {
ApolloConfig,
Gra... | /content/code_sandbox/packages/server/src/utils/schemaManager.ts | xml | 2016-04-21T09:26:01 | 2024-08-16T19:32:15 | apollo-server | apollographql/apollo-server | 13,742 | 1,582 |
```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" xmlns:bpmn2="path_to_url" xmlns:dc="path_to_url" xmlns:di="path_to_url" typeLanguage=... | /content/code_sandbox/modules/flowable5-test/src/test/resources/org/activiti/engine/test/bpmn/event/end/TerminateEndEventTest.testTerminateInSubProcessConcurrentMultiInstanceTerminateAll.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 3,553 |
```xml
import chalk from 'chalk';
import { Tree, ProjectConfiguration, logger } from '@nx/devkit';
interface Options<T extends ProjectConfiguration> {
title: string;
projects: Map<string, T>;
shouldProcessPackage: (tree: Tree, project: ProjectConfiguration) => boolean;
isMigratedCheck: (tree: Tree, project: Pr... | /content/code_sandbox/tools/workspace-plugin/src/generators/print-stats.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 581 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="path_to_url"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<WebView
android:layout_width="match_parent"
android:layout_height="match_parent"
andr... | /content/code_sandbox/app/src/main/res/layout/fragment_top.xml | xml | 2016-03-24T06:20:39 | 2024-08-15T11:37:10 | remusic | aa112901/remusic | 6,266 | 86 |
```xml
import React from 'react';
import { Rubik_Puddles } from 'next/font/google';
import localFont from 'next/font/local';
const rubik = Rubik_Puddles({
subsets: ['latin'],
variable: '--font-latin-rubik',
weight: '400',
});
export const localRubikStorm = localFont({
src: '/fonts/RubikStorm-Regular.ttf',
... | /content/code_sandbox/code/frameworks/experimental-nextjs-vite/template/stories/Font.tsx | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 424 |
```xml
export interface Subscriber {
/**
* Subscribe to incoming events.
*
* @param {Function} callback
* @return {void}
*/
subscribe(callback: Function): Promise<any>;
/**
* Unsubscribe from incoming events
*
* @return {Promise}
*/
unsubscribe(): Promise<a... | /content/code_sandbox/src/subscribers/subscriber.ts | xml | 2016-05-14T23:52:18 | 2024-08-10T15:38:49 | laravel-echo-server | tlaverdure/laravel-echo-server | 2,645 | 72 |
```xml
import clsx from 'clsx';
import { createContext, PropsWithChildren, Ref, useContext } from 'react';
const Context = createContext<null | boolean>(null);
Context.displayName = 'WidgetContext';
export function useWidgetContext() {
const context = useContext(Context);
if (context == null) {
throw new Err... | /content/code_sandbox/app/react/components/Widget/Widget.tsx | xml | 2016-05-19T20:15:28 | 2024-08-16T19:15:14 | portainer | portainer/portainer | 30,083 | 198 |
```xml
import fs from 'fs-extra';
// @ts-ignore
import Jimp from 'jimp-compact';
import path from 'path';
import stream from 'stream';
import type { ReadableStream } from 'stream/web';
import tempDir from 'temp-dir';
import uniqueString from 'unique-string';
import util from 'util';
// cache downloaded images into mem... | /content/code_sandbox/packages/@expo/image-utils/src/Download.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 476 |
```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 { getTimezoneOffset } from "date-fns-tz";
import type { Timezone, TimezoneWithoutOffset } from "./timezoneTypes";
/**
* ... | /content/code_sandbox/packages/datetime/src/common/timezoneOffsetUtils.ts | xml | 2016-10-25T21:17:50 | 2024-08-16T15:14:48 | blueprint | palantir/blueprint | 20,593 | 294 |
```xml
// Type definitions for iview 3.3.1
// Project: path_to_url
// Definitions by: yangdan
// Definitions: path_to_url
import Vue, { VNode } from 'vue';
export declare class Upload extends Vue {
/**
*
*/
action?: string;
/**
*
* @default {}
*/
headers?: object;
/**
*
* @default fal... | /content/code_sandbox/types/upload.d.ts | xml | 2016-07-28T01:52:59 | 2024-08-16T10:15:08 | iview | iview/iview | 23,980 | 598 |
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"path_to_url" >
<!--
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
... | /content/code_sandbox/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-sqlserver/src/main/resources/org/apache/guacamole/auth/jdbc/user/UserRecordMapper.xml | xml | 2016-03-22T07:00:06 | 2024-08-16T13:03:48 | guacamole-client | apache/guacamole-client | 1,369 | 1,557 |
```xml
import { Node } from 'slate'
export const input = [
{
text: '',
},
]
export const test = value => {
return Node.isNodeList(value)
}
export const output = true
``` | /content/code_sandbox/packages/slate/test/interfaces/Node/isNodeList/full-text.tsx | xml | 2016-06-18T01:52:42 | 2024-08-16T18:43:42 | slate | ianstormtaylor/slate | 29,492 | 46 |
```xml
import type { CachePolicy } from '@apollo/cache-control-types';
import { newCachePolicy } from '../cachePolicy.js';
import { describe, it, expect, beforeEach } from '@jest/globals';
describe('newCachePolicy', () => {
let cachePolicy: CachePolicy;
beforeEach(() => {
cachePolicy = newCachePolicy();
});
... | /content/code_sandbox/packages/server/src/__tests__/cachePolicy.test.ts | xml | 2016-04-21T09:26:01 | 2024-08-16T19:32:15 | apollo-server | apollographql/apollo-server | 13,742 | 768 |
```xml
<vector xmlns:android="path_to_url"
android:width="16dp"
android:height="16dp"
android:viewportHeight="16"
android:viewportWidth="16">
<group>
<clip-path android:pathData="M0,0h16v16h-16z" />
<path
android:fillColor="#ffffff"
android:pathData="M10.5,5C1... | /content/code_sandbox/app/src/main/res/drawable/ic_send_pending_delete.xml | xml | 2016-04-30T16:43:17 | 2024-08-16T19:45:08 | android | bitwarden/android | 6,085 | 925 |
```xml
// Feel free to extend this interface
// depending on your app specific config.
export interface EnvConfig {
API?: string;
ENV?: string;
}
export interface IPlatforms {
WEB: string;
MOBILE_NATIVE: string;
MOBILE_HYBRID: string;
DESKTOP: string;
}
export class Config {
public static PageClass: an... | /content/code_sandbox/src/client/app/modules/core/utils/config.ts | xml | 2016-01-27T07:12:46 | 2024-08-15T11:32:04 | angular-seed-advanced | NathanWalker/angular-seed-advanced | 2,261 | 547 |
```xml
import React from 'react';
import resources from './locales';
import DownloadReport from './containers/DownloadReport';
import ReportModule from '../ReportModule';
export default new ReportModule({
localization: [{ ns: 'ExcelReport', resources }],
reportComponent: [<DownloadReport />],
});
``` | /content/code_sandbox/modules/reports/client-react/excel/index.tsx | xml | 2016-09-08T16:44:45 | 2024-08-16T06:17:16 | apollo-universal-starter-kit | sysgears/apollo-universal-starter-kit | 1,684 | 59 |
```xml
import type { ConfigurationChangeEvent, MessageItem, TreeViewVisibilityChangeEvent } from 'vscode';
import { Disposable, ThemeIcon, TreeItem, TreeItemCollapsibleState, Uri, window } from 'vscode';
import type { OpenWalkthroughCommandArgs } from '../commands/walkthroughs';
import type { LaunchpadViewConfig, ViewF... | /content/code_sandbox/src/views/launchpadView.ts | xml | 2016-08-08T14:50:30 | 2024-08-15T21:25:09 | vscode-gitlens | gitkraken/vscode-gitlens | 8,889 | 2,242 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<!-- -->
</configuration>
``` | /content/code_sandbox/spring-boot-demo-05-2/src/main/resources/log4j2-prod.xml | xml | 2016-08-22T02:54:02 | 2024-08-09T03:02:00 | spring-boot-demo | roncoo/spring-boot-demo | 1,718 | 25 |
```xml
#include <Security/Security.h>
int main() {
return static_cast<int>(kSecAccessControlTouchIDCurrentSet);
}
``` | /content/code_sandbox/cmake/compiler-checks/macos/control_touch_id_support.mm | xml | 2016-02-28T15:52:40 | 2024-08-16T19:26:56 | keepassxc | keepassxreboot/keepassxc | 20,477 | 28 |
```xml
import 'mocha';
import chai = require("chai");
import cronstrue from "../src/cronstrue";
let assert = chai.assert;
describe("Cronstrue", function () {
describe("every", function () {
it("* * * * * *", function () {
assert.equal(cronstrue.toString(this.test?.title as string), "Every second");
});... | /content/code_sandbox/test/cronstrue.ts | xml | 2016-06-14T21:46:51 | 2024-08-15T07:46:18 | cRonstrue | bradymholt/cRonstrue | 1,261 | 7,570 |
```xml
import {
BlurMask,
vec,
Canvas,
Circle,
Fill,
Group,
polar2Canvas,
mix,
} from '@shopify/react-native-skia';
import { useEffect, useMemo } from 'react';
import { StyleSheet, useWindowDimensions } from 'react-native';
import {
Easing,
cancelAnimation,
useDerivedValue,
useSharedValue,
wit... | /content/code_sandbox/apps/native-component-list/src/screens/Skia/Breathe.tsx | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 642 |
```xml
import path from 'path';
import { testInjector } from '@stryker-mutator/test-helpers';
import { expect } from 'chai';
import { FilePreprocessor, createPreprocessor } from '../../../src/sandbox/index.js';
import { FileSystemTestDouble } from '../../helpers/file-system-test-double.js';
import { serializeTSConfig... | /content/code_sandbox/packages/core/test/unit/sandbox/create-preprocessor.spec.ts | xml | 2016-02-12T13:14:28 | 2024-08-15T18:38:25 | stryker-js | stryker-mutator/stryker-js | 2,561 | 466 |
```xml
/**
* need to update test environment so trackEmissions works appropriately
* @jest-environment ../shared/test.environment.ts
*/
import { mock } from "jest-mock-extended";
import { firstValueFrom, of } from "rxjs";
import { Jsonify } from "type-fest";
import { trackEmissions, awaitAsync } from "../../../../... | /content/code_sandbox/libs/common/src/platform/state/implementations/default-global-state.spec.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 2,705 |
```xml
export interface IPropertyPaneHTMLHostProps {
html: string;
}
``` | /content/code_sandbox/samples/react-enhanced-powerapps/src/controls/PropertyPaneHTML/IPropertyPaneHTMLHostProps.tsx | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 17 |
```xml
<ResourceDictionary xmlns="path_to_url"
xmlns:x="path_to_url"
xmlns:System="clr-namespace:System;assembly=mscorlib"
xmlns:controls="clr-namespace:Xamarin.Forms.Platform.WPF.Controls">
<ResourceDictionary.MergedDictionaries>
<ResourceDiction... | /content/code_sandbox/Xamarin.Forms.Platform.WPF/Themes/FormsContentDialog.xaml | xml | 2016-03-18T15:52:03 | 2024-08-16T16:25:43 | Xamarin.Forms | xamarin/Xamarin.Forms | 5,637 | 935 |
```xml
import * as React from 'react';
import createSvgIcon from '../utils/createSvgIcon';
const LineIcon = createSvgIcon({
svg: ({ classes }) => (
<svg xmlns="path_to_url" viewBox="0 0 2048 2048" className={classes.svg} focusable="false">
<path d="M2029 1939l-90 90L19 109l90-90 1920 1920z" />
</svg>
... | /content/code_sandbox/packages/react-icons-mdl2/src/components/LineIcon.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 119 |
```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>com.journaldev.hsqldb</groupId>
<artifactId>HSQLDB-Example</artifactId>
<version>0.0.1-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>org.hsqldb</gr... | /content/code_sandbox/HSQLDB-Example/pom.xml | xml | 2016-05-02T05:43:21 | 2024-08-16T06:51:39 | journaldev | WebJournal/journaldev | 1,314 | 220 |
```xml
import { InjectionToken } from '@angular/core';
export const LOADER_DELAY = new InjectionToken<number>('LOADER_DELAY');
``` | /content/code_sandbox/npm/ng-packs/packages/core/src/lib/tokens/lodaer-delay.token.ts | xml | 2016-12-03T22:56:24 | 2024-08-16T16:24:05 | abp | abpframework/abp | 12,657 | 26 |
```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:fitsSystemWindows="true"
tools:context="io... | /content/code_sandbox/Android/app/src/main/res/layout/activity_check_list.xml | xml | 2016-01-30T13:42:30 | 2024-08-12T19:21:10 | Travel-Mate | project-travel-mate/Travel-Mate | 1,292 | 264 |
```xml
// Fake interfaces that are required for web workers to work around
// tsconfig's DOM and WebWorker lib options being mutally exclusive.
// path_to_url
interface DedicatedWorkerGlobalScope {}
``` | /content/code_sandbox/typings/webworker.fix.d.ts | xml | 2016-01-19T10:50:01 | 2024-08-12T21:05:24 | pythonVSCode | DonJayamanne/pythonVSCode | 2,078 | 41 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="ExpandingCollection">
<attr name="cardWidth" format="dimension" />
<attr name="cardHeight" format="dimension" />
<attr name="cardHeaderHeightExpanded" format="dimension" />
</declare-styleable>
</resources... | /content/code_sandbox/expanding-collection/src/main/res/values/attrs.xml | xml | 2016-10-06T13:30:26 | 2024-08-15T19:22:08 | expanding-collection-android | Ramotion/expanding-collection-android | 2,022 | 79 |
```xml
import sinon from 'sinon';
import { testInjector } from '@stryker-mutator/test-helpers';
import { ParserContext } from '../../src/parsers/parser-context.js';
import { PrinterContext } from '../../src/printers/index.js';
import { TransformerContext } from '../../src/transformers/index.js';
import { createTrans... | /content/code_sandbox/packages/instrumenter/test/helpers/stubs.ts | xml | 2016-02-12T13:14:28 | 2024-08-15T18:38:25 | stryker-js | stryker-mutator/stryker-js | 2,561 | 196 |
```xml
import "reflect-metadata"
import { Post } from "./entity/Post"
import { DataSource } from "../../../../../src/data-source/DataSource"
import {
closeTestingConnections,
createTestingConnections,
reloadTestingDatabases,
} from "../../../../utils/test-utils"
describe("database schema > column collation... | /content/code_sandbox/test/functional/database-schema/column-collation/cockroach/column-collation-cockroach.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 260 |
```xml
import {ErrorDTO} from './Error';
export class Message<T> {
public error: ErrorDTO = null;
public result: T = null;
constructor(error: ErrorDTO, result: T) {
this.error = error;
this.result = result;
}
}
``` | /content/code_sandbox/src/common/entities/Message.ts | xml | 2016-03-12T11:46:41 | 2024-08-16T19:56:44 | pigallery2 | bpatrik/pigallery2 | 1,727 | 60 |
```xml
export interface ITab {
id: string;
name: string;
icon: React.ReactElement;
}
``` | /content/code_sandbox/samples/react-my-dashboard/src/src/models/ITab.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 25 |
```xml
type A = {
// commentA
[a in A]: string;
}
type B = {
/* commentB */ [b in B]: string
}
type C = {
[/* commentC */ c in C]: string
}
type D = {
[d /* commentD */ in D]: string
}
type E = {
[e in /* commentE */ E]: string
}
type F = {
[f in F /* commentF */]: string
}
type G = {
[g in G] /* ... | /content/code_sandbox/tests/format/typescript/comments/mapped_types.ts | xml | 2016-11-29T17:13:37 | 2024-08-16T17:29:57 | prettier | prettier/prettier | 48,913 | 213 |
```xml
import {Column, Entity, ManyToOne, PrimaryGeneratedColumn} from 'typeorm';
import {SharingDTO} from '../../../../common/entities/SharingDTO';
import {UserEntity} from './UserEntity';
import {UserDTO} from '../../../../common/entities/UserDTO';
@Entity()
export class SharingEntity implements SharingDTO {
@Prim... | /content/code_sandbox/src/backend/model/database/enitites/SharingEntity.ts | xml | 2016-03-12T11:46:41 | 2024-08-16T19:56:44 | pigallery2 | bpatrik/pigallery2 | 1,727 | 245 |
```xml
<fxlayout help_file="SubtractIno.pdf">
<page name="Subtract Ino">
<control>opacity</control>
<control>clipping_mask</control>
<control>alpha_rendering</control>
<separator/>
<control>colorSpaceMode</control>
<vbox modeSensitive="colorSpaceMode" mode="1">
<control>gamma</control>
... | /content/code_sandbox/stuff/profiles/layouts/fxs/STD_inoSubtractFx.xml | xml | 2016-03-18T17:55:48 | 2024-08-15T18:11:38 | opentoonz | opentoonz/opentoonz | 4,445 | 120 |
```xml
export type ReactRouterFeatureOptions = {
/**
* The React module.
*
* This is needed for the react router feature to wrap subapp's component inside
* the Router component.
*/
React: Partial<{ createElement: unknown }>;
/**
* A custom browser history object and control which Router to use.... | /content/code_sandbox/packages/xarc-react-router/src/common/index.ts | xml | 2016-09-06T19:02:39 | 2024-08-11T11:43:11 | electrode | electrode-io/electrode | 2,103 | 274 |
```xml
<?xml version="1.0" encoding="utf-8"?>
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<resources>
<!-- Link Preview dimensions -->
<dimen name="link_preview_overlay_radius">7dp</dimen>
</resources>
``` | /content/code_sandbox/libraries_res/content_res/src/main/res/values/dimens.xml | xml | 2016-07-04T07:28:36 | 2024-08-15T05:20:42 | AndroidChromium | JackyAndroid/AndroidChromium | 3,090 | 70 |
```xml
import type { InternalStoreDocType, PlainJsonError } from '../../types/index.d.ts';
export type RxMigrationStatus = {
collectionName: string;
status: 'RUNNING' | 'DONE' | 'ERROR';
error?: PlainJsonError;
/**
* Counters so that you can display
* the migration state to your user in the UI... | /content/code_sandbox/dist/types/plugins/migration-schema/migration-types.d.ts | xml | 2016-12-02T19:34:42 | 2024-08-16T15:47:20 | rxdb | pubkey/rxdb | 21,054 | 227 |
```xml
import PackagesGraphEdge from './PackagesGraphEdge';
import { DefaultDependencyKind, DependencyKind, Package } from '../Packages';
/**
* A graph node that refers to the single package.
*/
export default class PackagesGraphNode {
/**
* The package represented by the node.
*/
pkg: Package;
/**
*... | /content/code_sandbox/tools/src/packages-graph/PackagesGraphNode.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 639 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\PowerShell.Common.props"/>
<PropertyGroup>
<Description>PowerShell top-level project with .NET CLI host</Description>
<AssemblyName>pwsh</AssemblyName>
<OutputType>Exe</OutputType>
<TieredCompilation>true</TieredCompilation>
<Tier... | /content/code_sandbox/src/powershell-unix/powershell-unix.csproj | xml | 2016-01-13T23:41:35 | 2024-08-16T19:59:07 | PowerShell | PowerShell/PowerShell | 44,388 | 529 |
```xml
'use client';
import React from 'react';
import { View, StyleSheet } from 'react-native';
import { Image } from './Image';
import { ImageBackgroundProps } from './Image.types';
export function ImageBackground({ style, imageStyle, children, ...props }: ImageBackgroundProps) {
return (
<View style={style}... | /content/code_sandbox/packages/expo-image/src/ImageBackground.tsx | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 97 |
```xml
<!--
Description: entry id
-->
<feed xmlns="path_to_url">
<entry>
<id>path_to_url
</entry>
</feed>
``` | /content/code_sandbox/testdata/translator/atom/feed_item_guid_-_atom10_feed_entry_id.xml | xml | 2016-01-23T02:44:34 | 2024-08-16T15:16:03 | gofeed | mmcdole/gofeed | 2,547 | 35 |
```xml
import React from 'react';
import { Text } from 'react-native';
import { render } from '@testing-library/react-native';
import withTheme from '../withTheme';
describe('withTheme', () => {
it('passes theme props to function component', () => {
const Component = withTheme(() => <Text testID="myText" />);
... | /content/code_sandbox/packages/themed/src/config/__tests__/withTheme.test.tsx | xml | 2016-09-08T14:21:41 | 2024-08-16T10:11:29 | react-native-elements | react-native-elements/react-native-elements | 24,875 | 382 |
```xml
import { useState, useMemo } from 'react'
import cloneDeep from 'lodash/cloneDeep'
import { sankey as d3Sankey } from 'd3-sankey'
import { useTheme, usePropertyAccessor, useValueFormatter } from '@nivo/core'
import { useOrdinalColorScale, useInheritedColor } from '@nivo/colors'
import { sankeyAlignmentFromProp }... | /content/code_sandbox/packages/sankey/src/hooks.ts | xml | 2016-04-16T03:27:56 | 2024-08-16T03:38:37 | nivo | plouc/nivo | 13,010 | 1,777 |
```xml
import { __ } from '@erxes/ui/src/utils/core';
import React from 'react';
import { ModalFooter } from '@erxes/ui/src/styles/main';
import Button from '@erxes/ui/src/components/Button';
import { ILeadIntegration } from '@erxes/ui-leads/src/types';
import { ITrigger } from '../../../../types';
import Select from '... | /content/code_sandbox/packages/plugin-automations-ui/src/components/forms/triggers/subForms/FormSubmit.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 660 |
```xml
import type { ActionHandler } from "@Core/ActionHandler";
import type { Logger } from "@Core/Logger";
import type { SearchResultItemAction } from "@common/Core";
import { WorkflowActionArgumentDecoder } from "./Utility";
import type { WorkflowActionHandler } from "./WorkflowActionHandler";
export class Workflow... | /content/code_sandbox/src/main/Extensions/Workflow/WorkflowHandler.ts | xml | 2016-10-11T04:59:52 | 2024-08-16T11:53:31 | ueli | oliverschwendener/ueli | 3,543 | 244 |
```xml
import * as Blockly from "blockly";
import { ConstantProvider } from "./constants";
export class CollapsedInputRow extends Blockly.blockRendering.InputRow {
constructor(constants: ConstantProvider) {
super(constants);
this.type |= Blockly.blockRendering.Types.INPUT_ROW | Blockly.blockRenderi... | /content/code_sandbox/pxtblocks/plugins/renderer/collapsedInputRow.ts | xml | 2016-01-24T19:35:52 | 2024-08-16T16:39:39 | pxt | microsoft/pxt | 2,069 | 140 |
```xml
<?xml version="1.0" encoding="utf-8" ?>
<services version="1.0">
<admin version="2.0">
<adminserver hostalias="node1"/>
<slobroks>
<slobrok hostalias="node1"/>
<slobrok hostalias="node2"/>
</slobroks>
</admin>
<container version="1.0">
<nodes>
<node hostalias="node1" />
... | /content/code_sandbox/config-model/src/test/cfg/application/app_complicated_deployment_spec/services.xml | xml | 2016-06-03T20:54:20 | 2024-08-16T15:32:01 | vespa | vespa-engine/vespa | 5,524 | 200 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.