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 * as React from 'react';
import { Tag } from '@fluentui/react-tags';
import type { Meta } from '@storybook/react';
import { getStoryVariant, withStoryWrightSteps, RTL } from '../../utilities';
import { Avatar } from '@fluentui/react-avatar';
import { Steps } from 'storywright';
const tagId = 'tag-id';
co... | /content/code_sandbox/apps/vr-tests-react-components/src/stories/Tag/TagShape.stories.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 517 |
```xml
/**
* @file Universal date
* @author Surmon <path_to_url
*/
import { defineComponent, PropType } from 'vue'
import { useEnhancer } from '/@/app/enhancer'
import { dateToYMD } from '/@/transforms/moment'
import { LanguageKey } from '/@/language'
export default defineComponent({
name: 'Udate',
props: {
... | /content/code_sandbox/src/components/common/udate.ts | xml | 2016-09-23T02:02:33 | 2024-08-16T03:13:52 | surmon.me | surmon-china/surmon.me | 2,092 | 703 |
```xml
import { TestBed } from "@angular/core/testing";
import { mock } from "jest-mock-extended";
import { BehaviorSubject, first, Subject } from "rxjs";
import { SearchService } from "@bitwarden/common/abstractions/search.service";
import { SendView } from "@bitwarden/common/tools/send/models/view/send.view";
import... | /content/code_sandbox/libs/tools/send/send-ui/src/services/send-items.service.spec.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 888 |
```xml
import fs from 'fs'
import path from 'path'
import { createIndexedPkgImporter } from '@pnpm/fs.indexed-pkg-importer'
import gfs from '@pnpm/graceful-fs'
import { globalInfo } from '@pnpm/logger'
const testOnLinuxOnly = (process.platform === 'darwin' || process.platform === 'win32') ? test.skip : test
jest.mock... | /content/code_sandbox/fs/indexed-pkg-importer/test/createImportPackage.test.ts | xml | 2016-01-28T07:40:43 | 2024-08-16T12:38:47 | pnpm | pnpm/pnpm | 28,869 | 2,052 |
```xml
import * as nodeutil from './nodeutil';
import * as path from 'path';
import * as fs from 'fs';
export const GOOGLE_API_KEY = "GOOGLE_API_KEY";
function checkApiKey() {
if (!pxt.youtube.apiKey) {
const k = process.env[GOOGLE_API_KEY];
if (!k) {
throw new Error(`Missing ${GOOGLE... | /content/code_sandbox/cli/youtube.ts | xml | 2016-01-24T19:35:52 | 2024-08-16T16:39:39 | pxt | microsoft/pxt | 2,069 | 553 |
```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/auth/component/LoginForm.tsx | xml | 2016-07-21T15:34:05 | 2024-08-16T11:40:13 | wire-webapp | wireapp/wire-webapp | 1,125 | 911 |
```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.
-->
<!-- Exported to vector from path_to_url under Creative Commons Zero v1.0 Universal license -->
<vector xmlns:android="pat... | /content/code_sandbox/services/producthunt/src/main/res/drawable/catchup_service_ph_logo.xml | xml | 2016-04-25T09:33:27 | 2024-08-16T02:22:21 | CatchUp | ZacSweers/CatchUp | 1,958 | 284 |
```xml
import { Entity } from '../core/entity';
import { LiveRtmpSettings } from '../types/live.obs-settings';
export class LiveEntity extends Entity {
public static getUrlAndKey(info: { upload_url: string; broadcast_id: string }): LiveRtmpSettings {
const parts = info.upload_url.split(new RegExp(info.broadcast_... | /content/code_sandbox/src/entities/live.entity.ts | xml | 2016-06-09T12:14:48 | 2024-08-16T10:07:22 | instagram-private-api | dilame/instagram-private-api | 5,877 | 94 |
```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 {Observable, isObservable, of as observableOf} from 'rxjs';
import {DataSource} from './data-source';
/** DataSource wrapper for a native array. */
export class A... | /content/code_sandbox/src/cdk/collections/array-data-source.ts | xml | 2016-01-04T18:50:02 | 2024-08-16T11:21:13 | components | angular/components | 24,263 | 138 |
```xml
import * as React from 'react';
import { useConst } from '@fluentui/react-hooks';
import {
IFloatingSuggestionItemProps,
IFloatingSuggestionItem,
IFloatingPeopleSuggestionsProps,
} from '@fluentui/react-experiments/lib/FloatingPeopleSuggestionsComposite';
import { UnifiedPeoplePicker } from '@fluentui/reac... | /content/code_sandbox/packages/react-examples/src/react-experiments/UnifiedPeoplePicker/UnifiedPeoplePicker.WithEdit.Example.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 3,218 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<countries>
<country id="4" alpha2="af" alpha3="afg" name=""/>
<country id="8" alpha2="al" alpha3="alb" name=""/>
<country id="12" alpha2="dz" alpha3="dza" name=""/>
<country id="20" alpha2="ad" alpha3="and" name=""/>
<country id="24" alpha2="ao" alpha3=... | /content/code_sandbox/data/countries/zh-tw/countries.xml | xml | 2016-01-27T21:41:04 | 2024-08-16T10:07:17 | world_countries | stefangabos/world_countries | 1,364 | 3,808 |
```xml
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<UserSecretsId>54e8ce16-db31-4c81-a83f-e7f742cb59d9</UserSecretsId>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<WarningsAsErrors />
</PropertyGrou... | /content/code_sandbox/samples/features/security/always-encrypted-with-secure-enclaves/source/ContosoHR/ContosoHR.csproj | xml | 2016-03-11T21:42:56 | 2024-08-16T09:31:00 | sql-server-samples | microsoft/sql-server-samples | 9,855 | 461 |
```xml
import { Tooltip as OriginalTooltip, TooltipProps } from '@chakra-ui/react';
import chroma from 'chroma-js';
import { FC } from 'react';
export const Tooltip: FC<TooltipProps> = ({ children, ...rest }) => (
<OriginalTooltip
hasArrow
color="white"
borderRadius="xl"
boxShadow="lg"
py={2}
... | /content/code_sandbox/packages/feedback/src/tooltip.tsx | xml | 2016-05-14T02:18:49 | 2024-08-16T02:46:28 | ElectroCRUD | garrylachman/ElectroCRUD | 1,538 | 149 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="path_to_url"
android:shareInterpolator="false">
<translate
android:fromXDelta="0%" android:toXDelta="-100%"
android:fromYDelta="0%" android:toYDelta="0%"
android:duration="500"/>
</set>
``` | /content/code_sandbox/Xamarin.Forms.ControlGallery.Android/Resources/anim/exit_to_left.xml | xml | 2016-03-18T15:52:03 | 2024-08-16T16:25:43 | Xamarin.Forms | xamarin/Xamarin.Forms | 5,637 | 81 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="path_to_url" xmlns:xsi="path_to_url" xmlns:flowable="path_to_url" xmlns:cmmndi="path_to_url" xmlns:dc="path_to_url" xmlns:di="path_to_url" xmlns:design="path_to_url" targetNamespace="path_to_url" design:palette="flowable-core-case-palette">
<case id="m... | /content/code_sandbox/modules/flowable-cmmn-engine/src/test/resources/org/flowable/cmmn/test/migration/case-with-active-stage.cmmn.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 367 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="path_to_url"
xmlns:app="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<android.support.v7.widget.CardView
android:layout_width="match_parent... | /content/code_sandbox/app/src/main/res/layout/dialog_set_password.xml | xml | 2016-01-07T17:24:12 | 2024-08-16T06:55:33 | LeafPic | UnevenSoftware/LeafPic | 3,258 | 531 |
```xml
import {
ResponsiveScatterPlot,
ResponsiveScatterPlotCanvas,
} from '@nivo/scatterplot'
import { random, range } from '../utils'
import { useChart } from '../hooks'
const suffix = (suffix: 'cm' | 'kg') => (value: unknown) => `${value} ${suffix}`
const cm = suffix('cm')
const kg = suffix('kg')
const props =... | /content/code_sandbox/examples/codesandbox/src/charts/ScatterPlot.tsx | xml | 2016-04-16T03:27:56 | 2024-08-16T03:38:37 | nivo | plouc/nivo | 13,010 | 452 |
```xml
import React, { Component } from 'react';
import SVGInline from 'react-svg-inline';
import closeCross from '../../assets/images/close-cross.inline.svg';
import styles from './DialogCloseButton.scss';
type Props = {
onClose?: (...args: Array<any>) => any;
icon?: string;
disabled?: boolean;
className?: st... | /content/code_sandbox/source/renderer/app/components/widgets/DialogCloseButton.tsx | xml | 2016-10-05T13:48:54 | 2024-08-13T22:03:19 | daedalus | input-output-hk/daedalus | 1,230 | 194 |
```xml
import * as path from 'path';
import { TscTaskOptions, logger, tscTask } from 'just-scripts';
import { getJustArgv } from './argv';
import { getTsPathAliasesConfig, getTsPathAliasesConfigUsedOnlyForDx } from './utils';
const libPath = path.resolve(process.cwd(), 'lib');
const srcPath = path.resolve(process.cw... | /content/code_sandbox/scripts/tasks/src/ts.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 661 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="path_to_url">
<xs:element name="schemaMeta">
<xs:complexType>
<xs:sequence>
<xs:element ref="comments" minOccurs="0"/>
<xs:element ref="tables"/>
</xs:sequence>
</xs:complexType... | /content/code_sandbox/src/main/resources/schemaspy.meta.xsd | xml | 2016-07-25T05:30:58 | 2024-08-16T18:45:23 | schemaspy | schemaspy/schemaspy | 3,128 | 1,519 |
```xml
import { useEffect, useRef } from 'react';
import { useLoading } from '@proton/hooks';
import { SORT_DIRECTION } from '@proton/shared/lib/constants';
import { sendErrorReport } from '../../utils/errorHandling';
import { useLinksListing } from '../_links';
import { useUserSettings } from '../_settings';
import ... | /content/code_sandbox/packages/drive-store/store/_views/useTrashView.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 423 |
```xml
export * from './icons';
export * from './Button';
export * from './Image';
export * from './Text';
export * from './theme';
export * from './View';
export * from './useExpoTheme';
``` | /content/code_sandbox/packages/expo-dev-client-components/src/index.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 46 |
```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, Input, OnChanges, SimpleChanges } from '@angular/core';
import { TranslateService } from '@ngx-translat... | /content/code_sandbox/ui-ngx/src/app/modules/home/components/profile/tenant/rate-limits/rate-limits-text.component.ts | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 291 |
```xml
const commonFields = `
_id: String!
contentType: String!
createdAt: Date
`;
export const types = `
type InternalNote {
${commonFields}
contentTypeId: String
content: String
createdUserId: String
createdUser: User
}
type ModifiedNote {
${commonFields}
createdBy: String
... | /content/code_sandbox/packages/core/src/data/schema/internalNote.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 274 |
```xml
const topicCommonParamsDef = `$doc: KnowledgeBaseTopicDoc!`;
const categoryCommonParamsDef = `$doc: KnowledgeBaseCategoryDoc!`;
const articleCommonParamsDef = `$doc: KnowledgeBaseArticleDoc!`;
const commonParams = `doc: $doc`;
const knowledgeBaseTopicsAdd = `
mutation knowledgeBaseTopicsAdd(${topicCommonPara... | /content/code_sandbox/packages/ui-knowledgebase/src/graphql/mutations.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 480 |
```xml
export const JOURNALS_KEY_LABELS = {
otherReceivable: 'Other Receivable',
transAccount: 'transactionAccount',
savingAccount: 'savingAccount',
interestAccount: 'interestAccount',
storedInterestAccount: 'storedInterestAccount',
minInterest: 'Min interest of month',
maxInterest: 'Max interest of month... | /content/code_sandbox/packages/plugin-savings-ui/src/contractTypes/constants.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 122 |
```xml
import { ValidatorFn } from '@angular/forms';
export enum FieldTypes {
Textbox = 'input',
InputGroup = 'inputgroup',
FileUpload = 'file',
FilePathUpload = 'filepath',
Password = 'password',
Email = 'email',
Number = 'number',
Date = 'date',
Time = 'time',
Textarea = 'textarea',
Radiolist =... | /content/code_sandbox/src/Presentation/Web/ClientApp/src/app/shared/models/forms.ts | xml | 2016-06-03T17:49:56 | 2024-08-14T02:53:24 | AspNetCoreSpa | fullstackproltd/AspNetCoreSpa | 1,472 | 276 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/**
* Tests whether an input value is a supported array numeric data type.
*
* @param ... | /content/code_sandbox/lib/node_modules/@stdlib/array/base/assert/is-numeric-data-type/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 326 |
```xml
// See LICENSE in the project root for license information.
import type { CommandLineFlagParameter } from '@rushstack/ts-command-line';
import { BaseInstallAction } from './BaseInstallAction';
import type { IInstallManagerOptions } from '../../logic/base/BaseInstallManagerTypes';
import type { RushCommandLineP... | /content/code_sandbox/libraries/rush-lib/src/cli/actions/UpdateAction.ts | xml | 2016-09-30T00:28:20 | 2024-08-16T18:54:35 | rushstack | microsoft/rushstack | 5,790 | 1,124 |
```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 hacoversin = require( './index' );
// TESTS //
// The function returns a number...
{
hacoversin( 8 ); /... | /content/code_sandbox/lib/node_modules/@stdlib/math/base/special/hacoversin/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 239 |
```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 { Array2D } from '@stdlib/types/array';... | /content/code_sandbox/lib/node_modules/@stdlib/array/base/quinary2d/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 590 |
```xml
/**
* PI constant
* See {@link Todo} for service using it
*/
export const PI: number = 3.14;
/**
* @deprecated This variable is deprecated
*/
export let PIT = 4;
/**
* A foo bar function. Test link for other class {@link ListComponent}
*
* @param {string} status A status
*/
export function foo(status:... | /content/code_sandbox/test/fixtures/todomvc-ng2-deprecated/src/app/shared/miscellaneous/miscellaneous.ts | xml | 2016-10-17T07:09:28 | 2024-08-14T16:30:10 | compodoc | compodoc/compodoc | 3,980 | 337 |
```xml
export * from './progressspinner';
``` | /content/code_sandbox/src/app/components/progressspinner/public_api.ts | xml | 2016-01-16T09:23:28 | 2024-08-16T19:58:20 | primeng | primefaces/primeng | 9,969 | 8 |
```xml
import { colors, dimensions, SidebarList } from '@erxes/ui/src';
import styled from 'styled-components';
import styledTS from 'styled-components-ts';
const CollateralsTableWrapper = styled.div`
td {
max-width: 250px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
`;
const... | /content/code_sandbox/packages/plugin-loans-ui/src/collaterals/styles.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 1,129 |
```xml
// automatically generated by the FlatBuffers compiler, do not modify
import * as flatbuffers from 'flatbuffers';
export class List {
bb: flatbuffers.ByteBuffer|null = null;
bb_pos = 0;
__init(i:number, bb:flatbuffers.ByteBuffer):List {
this.bb_pos = i;
this.bb = bb;
return this;
}
static getRootA... | /content/code_sandbox/js/src/fb/list.ts | xml | 2016-02-17T08:00:23 | 2024-08-16T19:00:48 | arrow | apache/arrow | 14,094 | 248 |
```xml
// luma.gl
import {RenderPass} from '@luma.gl/core';
import {ScenegraphNode, ScenegraphNodeProps} from './scenegraph-node';
import {Model} from '../model/model';
export type ModelNodeProps = ScenegraphNodeProps & {
model: Model;
managedResources?: any[];
bounds?: [number[], number[]];
};
export class Mo... | /content/code_sandbox/modules/engine/src/scenegraph/model-node.ts | xml | 2016-01-25T09:41:59 | 2024-08-16T10:03:05 | luma.gl | visgl/luma.gl | 2,280 | 327 |
```xml
import { useRouter } from '@uirouter/react';
import { useEffect } from 'react';
import { useAuthorizations } from './useUser';
type AuthorizationOptions = {
authorizations: string | string[];
adminOnlyCE?: boolean;
};
type RedirectOptions = {
to: string;
params?: Record<string, unknown>;
};
/**
* Re... | /content/code_sandbox/app/react/hooks/useUnauthorizedRedirect.ts | xml | 2016-05-19T20:15:28 | 2024-08-16T19:15:14 | portainer | portainer/portainer | 30,083 | 243 |
```xml
export const queryDomains = (params?: { Page: number; PageSize: number }) => ({
url: 'domains',
method: 'get',
params,
});
export const getDomain = (domainID: string) => ({
url: `domains/${domainID}`,
method: 'get',
});
export const queryDomainAddresses = (domainID: string, params?: { Page:... | /content/code_sandbox/packages/shared/lib/api/domains.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 289 |
```xml
export { NavBasicExample as Basic } from './Nav.Basic.Example';
export { NavCustomGroupHeadersExample as CustomGroupHeaders } from './Nav.CustomGroupHeaders.Example';
export { NavFabricDemoAppExample as FabricDemoApp } from './Nav.FabricDemoApp.Example';
export { NavFocusZoneExample as FocusZone } from './Nav... | /content/code_sandbox/packages/react-examples/src/react/Nav/index.stories.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 121 |
```xml
/** @jsx jsx */
import { Transforms } from 'slate'
import { jsx } from '../../..'
export const input = (
<editor>
<block>
<cursor />
word
</block>
</editor>
)
export const run = (editor, options = {}) => {
Transforms.insertNodes(editor, <text>another</text>, {
at: [0, 0],
...op... | /content/code_sandbox/packages/slate/test/transforms/insertNodes/path/text.tsx | xml | 2016-06-18T01:52:42 | 2024-08-16T18:43:42 | slate | ianstormtaylor/slate | 29,492 | 128 |
```xml
import chokidar from "chokidar";
import { promises as fs } from "fs";
import { parse, relative, resolve } from "path";
import WS, { WebSocketServer } from "ws";
let wss: WS.Server | null = null;
const files: {
substance: string[];
style: string[];
domain: string[];
trio: string[];
} = {
substance: []... | /content/code_sandbox/packages/roger/watch.ts | xml | 2016-09-22T04:47:19 | 2024-08-16T13:00:54 | penrose | penrose/penrose | 6,760 | 1,202 |
```xml
<?xml version="1.0" encoding="utf-8"?>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
... | /content/code_sandbox/application/src/main/data/lwm2m-registry/10378.xml | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 989 |
```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.
-->
<resources>
<color name="scratch_start_gradient">#e5e5e5</color>
<color name="scratch_end_gradien... | /content/code_sandbox/views/src/main/res/values/colors.xml | xml | 2016-05-11T16:25:10 | 2024-07-24T10:40:56 | ScratchView | sharish/ScratchView | 1,119 | 87 |
```xml
<resources>
<string name="app_name">AndroidFire</string>
<!--menu-->
<string name="news">AndroidFire</string>
<string name="zhihu"></string>
<string name="photo"></string>
<string name="video"></string>
<string name="tools"></string>
<string name="no_photo_mode"></string>
<st... | /content/code_sandbox/app/src/main/res/values/strings.xml | xml | 2016-09-26T09:42:41 | 2024-08-12T07:09:06 | AndroidFire | jaydenxiao2016/AndroidFire | 2,634 | 554 |
```xml
import * as Viewer from '../viewer.js';
import { vec3, mat4 } from 'gl-matrix';
// Table and algorithm provided by:
// path_to_url
// path_to_url
let CRC_TABLE: number[] = [
0x00000000, 0x04C11DB7, 0x09823B6E, 0x0D4326D9,
0x130476DC, 0x17C56B6B, 0x1A864DB2, 0x1E475005,
0x2608EDB8, 0x22C9F00F, 0x2F8... | /content/code_sandbox/src/Glover/util.ts | xml | 2016-10-06T21:43:45 | 2024-08-16T17:03:52 | noclip.website | magcius/noclip.website | 3,206 | 3,173 |
```xml
<!--
Description: rss webMaster
-->
<rss version="2.0">
<channel>
<webMaster>Feed WebMaster</webMaster>
</channel>
</rss>
``` | /content/code_sandbox/testdata/parser/rss/rss_channel_webMaster.xml | xml | 2016-01-23T02:44:34 | 2024-08-16T15:16:03 | gofeed | mmcdole/gofeed | 2,547 | 40 |
```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.
///
/* eslint-disable max-len */
import * as AngularAnimations from '@angular/animations';
import * as AngularCore from '@angu... | /content/code_sandbox/ui-ngx/src/app/modules/common/modules-map.ts | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 9,935 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="path_to_url" xmlns:xsi="path_to_url" xsi:schemaLocation="path_to_url path_to_url">
<modelVersion>4.0.0</modelVersion>
<groupId>com.itextpdf</groupId>
<artifactId>root</artifactId>
<version>9.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<na... | /content/code_sandbox/pom.xml | xml | 2016-05-03T07:45:39 | 2024-08-16T04:01:29 | itext-java | itext/itext-java | 1,943 | 6,293 |
```xml
import { WorkflowTemplate } from 'app/model/workflow-template.model';
import { Base64 } from 'app/shared/base64.utils';
import { Item } from 'app/shared/diff/list/diff.list.component';
export function calculateWorkflowTemplateDiff(before: WorkflowTemplate, after: WorkflowTemplate): Array<Item> {
let before... | /content/code_sandbox/ui/src/app/shared/diff/diff.ts | xml | 2016-10-11T08:28:23 | 2024-08-16T01:55:31 | cds | ovh/cds | 4,535 | 812 |
```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 isSyntaxError = require( './index' );
// TESTS //
// The function returns a boolean...
{
isSyntaxError(... | /content/code_sandbox/lib/node_modules/@stdlib/assert/is-syntax-error/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 148 |
```xml
import { CollectionSortProperty } from '../../Runtime/Collection/CollectionSort'
import { SystemViewId } from '../SmartView'
import { TagPreferences } from '../Tag'
import { NewNoteTitleFormat } from './NewNoteTitleFormat'
import { EditorLineHeight } from './EditorLineHeight'
import { EditorLineWidth } from './E... | /content/code_sandbox/packages/models/src/Domain/Syncable/UserPrefs/PrefKey.ts | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 1,250 |
```xml
/**
* This file is required by node, it should be valid node js code.
* We keep the `.ts` extension to keep the types.
*/
import colors from "./colors";
import { compat } from "./compatibility";
const variables = {
/** Use this to remove round corners or make them more round. */
roundCorners: "3px",
/... | /content/code_sandbox/client/src/core/client/ui/theme/sharedVariables.ts | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 1,273 |
```xml
import type { SearchResultItem } from "@common/Core";
import { describe, expect, it, vi } from "vitest";
import { getSearchResult } from "./getSearchResult";
describe(getSearchResult, () => {
it("should return an array of instant search result items, favorites and other matches if a search term is given", (... | /content/code_sandbox/src/renderer/Core/Search/Helpers/getSearchResult.test.ts | xml | 2016-10-11T04:59:52 | 2024-08-16T11:53:31 | ueli | oliverschwendener/ueli | 3,543 | 818 |
```xml
import { Component, OnInit } from '@angular/core';
import { DialogService, DynamicDialogRef } from 'primeng/dynamicdialog';
import { Product } from '@domain/product';
import { ProductService } from '@service/productservice';
import { InfoDemo } from './infodemo';
@Component({
template: ` <div class="flex jus... | /content/code_sandbox/src/app/showcase/doc/dynamicdialog/productlistdemo.ts | xml | 2016-01-16T09:23:28 | 2024-08-16T19:58:20 | primeng | primefaces/primeng | 9,969 | 586 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<androidx.recyclerview.widget.RecyclerView
xmlns:android="path_to_url"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:tools="path_to_url"
android:paddingStart="4dp"
android:paddingEnd="4dp"
android:clipChildren="fa... | /content/code_sandbox/app/src/main/res/layout/quest_note_discussion_items.xml | xml | 2016-07-02T10:44:04 | 2024-08-16T18:55:54 | StreetComplete | streetcomplete/StreetComplete | 3,781 | 106 |
```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/tracking/Countly.helpers.ts | xml | 2016-07-21T15:34:05 | 2024-08-16T11:40:13 | wire-webapp | wireapp/wire-webapp | 1,125 | 189 |
```xml
//
//
// Microsoft Bot Framework: path_to_url
//
// Bot Framework Emulator Github:
// path_to_url
//
// All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software witho... | /content/code_sandbox/packages/app/shared/src/state/reducers/theme.ts | xml | 2016-11-11T23:15:09 | 2024-08-16T12:45:29 | BotFramework-Emulator | microsoft/BotFramework-Emulator | 1,803 | 363 |
```xml
// Numbered lists - Add parent number in sub number
import * as fs from "fs";
import { AlignmentType, convertInchesToTwip, Document, HeadingLevel, LevelFormat, Packer, Paragraph } from "docx";
const doc = new Document({
numbering: {
config: [
{
levels: [
... | /content/code_sandbox/demo/57-add-parent-numbered-lists.ts | xml | 2016-03-26T23:43:56 | 2024-08-16T13:02:47 | docx | dolanmiu/docx | 4,139 | 511 |
```xml
declare module '*.svg';
declare module '*.jpg';
declare module '*.png';
declare module '*.webm';
declare module '*.mp4';
declare module '*.md';
// TODO: Import from @proton/shared
declare module 'ical.js';
declare module 'pm-srp';
declare module 'is-valid-domain';
// Used to replace Node bundled punycode ... | /content/code_sandbox/packages/components/typings/index.d.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 97 |
```xml
import { IterableX } from './iterablex.js';
class RangeIterable extends IterableX<number> {
private _start: number;
private _count: number;
constructor(start: number, count: number) {
super();
this._start = start;
this._count = count;
}
*[Symbol.iterator]() {
for (let current = this.... | /content/code_sandbox/src/iterable/range.ts | xml | 2016-02-22T20:04:19 | 2024-08-09T18:46:41 | IxJS | ReactiveX/IxJS | 1,319 | 202 |
```xml
import React from 'react';
import type { StoryObj } from '@storybook/react';
import CreativeIcon from '@rsuite/icons/Creative';
import VisuallyHidden from '../';
import Button from '../../Button';
import { createMeta } from '@/storybook/utils';
import '../styles/index.less';
import '../../Button/styles/index.les... | /content/code_sandbox/src/VisuallyHidden/stories/VisuallyHidden.stories.tsx | xml | 2016-06-06T02:27:46 | 2024-08-16T16:41:54 | rsuite | rsuite/rsuite | 8,263 | 160 |
```xml
<!--
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~
~ path_to_url
~
~ Unless required by applicable law or agreed to in writing, software
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expre... | /content/code_sandbox/test/e2e/sql/src/test/resources/cases/dql/dataset/empty_storage_units/postgresql/select_postgresql_information_schema_routine_sequence_usage.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 167 |
```xml
// Import from package name instead of relative path
// This will be resolved to src or dist by esbuild depending on bundle settings
// dist has TS transformers applied
export * from '@luma.gl/core';
``` | /content/code_sandbox/modules/core/bundle.ts | xml | 2016-01-25T09:41:59 | 2024-08-16T10:03:05 | luma.gl | visgl/luma.gl | 2,280 | 44 |
```xml
import { resolve } from 'node:path';
import type * as storage from '@crawlee/types';
import { s } from '@sapphire/shapeshift';
import { KeyValueStoreClient } from './key-value-store';
import { scheduleBackgroundTask } from '../background-handler';
import { findOrCacheKeyValueStoreByPossibleId } from '../cache-... | /content/code_sandbox/packages/memory-storage/src/resource-clients/key-value-store-collection.ts | xml | 2016-08-26T18:35:03 | 2024-08-16T16:40:08 | crawlee | apify/crawlee | 14,153 | 494 |
```xml
import React from 'react';
import { mount } from 'enzyme';
import { NonTimeMetric, TimeMetric } from './MetricColumns';
jest.mock('shared/components/helpers/notification-manager');
jest.mock('antd/es/tooltip', () => <div className="tooltip" />);
jest.mock('shared/components/helpers/getPmmTheme', () => ({
get... | /content/code_sandbox/pmm-app/src/pmm-qan/panel/components/Overview/components/MetricColumns/MetricColumns.test.tsx | xml | 2016-01-22T07:14:23 | 2024-08-13T13:01:59 | grafana-dashboards | percona/grafana-dashboards | 2,661 | 211 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<!--
mingkuang
2018-04-21
VC-LTL helper for Visual Studio.props
-->
<Project ToolsVersion="4.0" xmlns="path_to_url" InitialTargets="VC_LTL_PlatformPrepareForBuild_Shared">
<PropertyGroup>
<!--Shared.propsVC-LTL-->
<VC_LTL_Root Condition=" ('$(VC_LTL_Root)'=='... | /content/code_sandbox/Shared.props | xml | 2016-06-14T03:01:16 | 2024-08-12T19:23:19 | VC-LTL | Chuyu-Team/VC-LTL | 1,052 | 629 |
```xml
import { createEpicMiddleware } from "redux-observable";
import configureMockStore from "redux-mock-store";
import { Record } from "immutable";
import { AnyAction as Action } from "typescript-fsa";
import { marbles } from "rxjs-marbles";
import { Observable } from "rxjs/Observable";
import pm from "../helpers/p... | /content/code_sandbox/src/redux/backend-session.spec.ts | xml | 2016-01-21T17:02:22 | 2024-08-12T19:21:02 | datacamp-light | datacamp/datacamp-light | 1,304 | 1,503 |
```xml
export * from './DocumentCard';
export * from './DocumentCard.types';
export * from './DocumentCardActions';
export * from './DocumentCardActions.types';
export * from './DocumentCardActivity';
export * from './DocumentCardActivity.types';
export * from './DocumentCardDetails';
export * from './DocumentCardDetai... | /content/code_sandbox/packages/react/src/components/DocumentCard/index.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 169 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<definitions id="taskListenerExample"
xmlns="path_to_url"
xmlns:activiti="path_to_url"
targetNamespace="Examples">
<process id="overrideAssigneeInListener" name="Custom task assignment Example">
<startEvent id="theStart" />
<sequenceFlow id="flow1" sourceR... | /content/code_sandbox/modules/flowable5-test/src/test/resources/org/activiti/examples/bpmn/tasklistener/CustomTaskAssignmentTest.testOverwriteExistingAssignments.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 227 |
```xml
import { ListContextValues, ListState } from './List.types';
export function useListContextValues_unstable(state: ListState): ListContextValues {
const { navigable, selection, as, truncateContent, truncateHeader } = state;
const listContext = {
navigable,
selection,
as,
truncateContent,
... | /content/code_sandbox/packages/react-components/react-migration-v0-v9/library/src/components/List/List/useListContextValues.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 87 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/// <reference types="@stdlib/types"/>
import { Collection, AccessorArrayLike } from ... | /content/code_sandbox/lib/node_modules/@stdlib/array/base/count-if/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 594 |
```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/elements/lisk-cryptography/src/nacl/slow.ts | xml | 2016-02-01T21:45:35 | 2024-08-15T19:16:48 | lisk-sdk | LiskArchive/lisk-sdk | 2,721 | 592 |
```xml
<LinearLayout xmlns:android="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="github.nisrulz.loadhtmlintowebview.HTMLStringFragment">
<WebView
android:id="@+id/webvie... | /content/code_sandbox/LoadHtmlIntoWebview/app/src/main/res/layout/fragment_htmlstring.xml | xml | 2016-02-25T11:06:48 | 2024-08-07T21:41:59 | android-examples | nisrulz/android-examples | 1,747 | 97 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
path_to_url
Unless required by applicable law or agreed to in writing,
"AS IS" BASIS, WITHO... | /content/code_sandbox/docs/topics/impala_boolean.xml | xml | 2016-04-13T07:00:08 | 2024-08-16T10:10:44 | impala | apache/impala | 1,115 | 1,966 |
```xml
/*
* This software is released under MIT license.
* The full license information can be found in LICENSE in the root directory of this project.
*/
import { html } from 'lit';
import { CdsCheckbox } from '@cds/core/checkbox';
import styles from '../shared/selection-panel.element.scss';
import { property } fro... | /content/code_sandbox/packages/core/src/selection-panels/checkbox/checkbox-panel.element.ts | xml | 2016-09-29T17:24:17 | 2024-08-11T17:06:15 | clarity | vmware-archive/clarity | 6,431 | 339 |
```xml
import React, { useMemo } from 'react';
import classNames from 'classnames';
import { isNil, pick, isFunction, omit } from 'lodash';
import { PickerLocale } from '../locales';
import { useCustom, useClassNames, useEventCallback } from '@/internals/hooks';
import { createChainedFunction, mergeRefs } from '@/inter... | /content/code_sandbox/src/CheckTreePicker/CheckTreePicker.tsx | xml | 2016-06-06T02:27:46 | 2024-08-16T16:41:54 | rsuite | rsuite/rsuite | 8,263 | 2,311 |
```xml
// luma.gl
// @todo texture refactor
// - [ ] cube texture init params P1
// - [ ] 3d texture init params P1
// - [ ] GPU memory tracking
// - [ ] raw data inputs
// - [ ] video (external) textures
// import {TypedArray} from '@math.gl/types';
import type {
Device,
TextureProps,
TextureViewProps,
Sampl... | /content/code_sandbox/modules/webgl/src/adapter/resources/webgl-texture.ts | xml | 2016-01-25T09:41:59 | 2024-08-16T10:03:05 | luma.gl | visgl/luma.gl | 2,280 | 5,106 |
```xml
// @ts-ignore - its taken straight from RN
export { customDirectEventTypes } from 'react-native/Libraries/Renderer/shims/ReactNativeViewConfigRegistry';
``` | /content/code_sandbox/src/handlers/customDirectEventTypes.ts | xml | 2016-10-27T08:31:38 | 2024-08-16T12:03:40 | react-native-gesture-handler | software-mansion/react-native-gesture-handler | 5,989 | 36 |
```xml
import { SoundFontSynth } from "@signal-app/player"
import { makeObservable, observable } from "mobx"
import { makePersistable } from "mobx-persist-store"
import { basename } from "../helpers/path"
import { isRunningInElectron } from "../helpers/platform"
import { IndexedDBStorage } from "../services/IndexedDBSt... | /content/code_sandbox/app/src/stores/SoundFontStore.ts | xml | 2016-03-06T15:19:53 | 2024-08-15T14:27:10 | signal | ryohey/signal | 1,238 | 1,176 |
```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.
-->
<animated-vector xmlns:android="path_to_url"
xmlns:aapt="path_to_url"
xmlns:too... | /content/code_sandbox/lib/java/com/google/android/material/checkbox/res/drawable/mtrl_checkbox_button_icon_checked_unchecked.xml | xml | 2016-12-05T16:11:29 | 2024-08-16T17:51:42 | material-components-android | material-components/material-components-android | 16,176 | 441 |
```xml
import React from 'react';
import Select from 'react-select';
import { __ } from '@erxes/ui/src/utils/core';
import FormGroup from '@erxes/ui/src/components/form/Group';
import FormControl from '@erxes/ui/src/components/form/Control';
import { UnEnroll } from '../../../styles';
type Props = {};
class UnEnrollm... | /content/code_sandbox/packages/plugin-automations-ui/src/components/forms/settings/UnEnrollment.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 540 |
```xml
import {getFormioSchema} from "../utils/getFormioSchema.js";
import {CustomClass} from "./customClass.js";
describe("@CustomClass", () => {
it("should add a custom css class on field", async () => {
class Model {
@CustomClass("css-class")
test: string;
}
expect(await getFormioSchema(M... | /content/code_sandbox/packages/third-parties/schema-formio/src/decorators/customClass.spec.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 188 |
```xml
<manifest xmlns:tools="path_to_url"
package="com.oasisfeng.island.installer" xmlns:android="path_to_url">
<permission android:name="com.oasisfeng.island.permission.INSTALLER" android:protectionLevel="signature" />
<uses-permission android:name="com.oasisfeng.island.permission.INSTALLER" />
... | /content/code_sandbox/installer/src/main/AndroidManifest.xml | xml | 2016-04-23T11:30:18 | 2024-08-16T16:08:51 | island | oasisfeng/island | 2,532 | 541 |
```xml
declare module '*.png' {}
``` | /content/code_sandbox/packages/components/src/types.d.ts | xml | 2016-11-30T23:24:21 | 2024-08-16T00:24:59 | devhub | devhubapp/devhub | 9,652 | 7 |
```xml
/** @internal */
export type TODO = any;
``` | /content/code_sandbox/src/utilities/types/TODO.ts | xml | 2016-02-26T20:25:00 | 2024-08-16T10:56:57 | apollo-client | apollographql/apollo-client | 19,304 | 11 |
```xml
import React from 'react';
type CircularProgressBarProps = {
progress: number;
};
export function CircularProgressBar({ progress }: CircularProgressBarProps) {
const strokeWidth = 2;
const size = 14;
const radius = (size - strokeWidth) / 2;
const circumference = Math.PI * 2 * radius;
const strokeDa... | /content/code_sandbox/docs/ui/components/ProgressTracker/CircularProgressBar.tsx | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 276 |
```xml
import { JoinColumnOptions } from "../decorator/options/JoinColumnOptions"
import { RelationType } from "../metadata/types/RelationTypes"
import { JoinTableMultipleColumnsOptions } from "../decorator/options/JoinTableMultipleColumnsOptions"
import { DeferrableType } from "../metadata/types/DeferrableType"
import... | /content/code_sandbox/src/entity-schema/EntitySchemaRelationOptions.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 858 |
```xml
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="path_to_url">
<channel>
<title>Getting-starteds on Mail For Good</title>
<link>path_to_url
<description>Recent content in Getting-starteds on Mail For Good</description>
<generator>Hugo -- gohugo.io</generat... | /content/code_sandbox/docs/getting-started/index.xml | xml | 2016-09-01T20:34:38 | 2024-08-01T16:50:36 | mail-for-good | freeCodeCamp/mail-for-good | 3,833 | 325 |
```xml
export * from './BLEService/BLEService'
``` | /content/code_sandbox/example/src/services/index.ts | xml | 2016-07-27T10:57:27 | 2024-08-14T16:51:53 | react-native-ble-plx | dotintent/react-native-ble-plx | 3,006 | 11 |
```xml
import type { ById, ReplicationOptions, ReplicationPullOptions, ReplicationPushOptions } from '../../types/index.d.ts';
export type CouchDBCheckpointType = {
sequence: number;
};
export type FetchMethodType = typeof fetch;
export type SyncOptionsCouchDB<RxDocType> = Omit<ReplicationOptions<RxDocType, any>, '... | /content/code_sandbox/dist/types/plugins/replication-couchdb/couchdb-types.d.ts | xml | 2016-12-02T19:34:42 | 2024-08-16T15:47:20 | rxdb | pubkey/rxdb | 21,054 | 222 |
```xml
import * as angular from 'angular';
import { DisplayMode } from '@microsoft/sp-client-base';
export interface IConfigControllerState {
isEditMode: boolean;
configure: ($event: MouseEvent) => void;
}
export class ConfigController implements IConfigControllerState {
public static $inject: string[] = ['$sta... | /content/code_sandbox/samples/angular-multipage/src/webparts/poll/app/config/ConfigController.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 166 |
```xml
import { expect } from 'chai';
import $ from './data/_.fixes'; // FORMS
describe('Form submit() decoupled callback', () => {
// $L
it('$L.submit() should call onError callback on invalid form', (done) => {
$.$L.submit({
onError: (form) => {
form.state.options.set({ validateOnChange: true ... | /content/code_sandbox/tests/fixes.submit.ts | xml | 2016-06-20T22:10:41 | 2024-08-10T13:14:33 | mobx-react-form | foxhound87/mobx-react-form | 1,093 | 479 |
```xml
import { applySnapshot, getSnapshot, types } from "../../src"
import { Hook } from "../../src/internal"
import { describe, expect, it, jest, test } from "bun:test"
describe("Model instantiation", () => {
describe("Model name", () => {
test("Providing a string as the first argument should set it as the mod... | /content/code_sandbox/__tests__/core/model.test.ts | xml | 2016-09-04T18:28:25 | 2024-08-16T08:48:55 | mobx-state-tree | mobxjs/mobx-state-tree | 6,917 | 4,743 |
```xml
import * as React from "react";
import * as ReactDOM from "react-dom";
import { App } from "./app";
ReactDOM.render(<App />, document.getElementById("root"));
``` | /content/code_sandbox/hooks/13_LoginForm/src/index.tsx | xml | 2016-02-28T11:58:58 | 2024-07-21T08:53:34 | react-typescript-samples | Lemoncode/react-typescript-samples | 1,846 | 36 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definitions"
xmlns="path_to_url"
xmlns:activiti="path_to_url"
targetNamespace="Examples">
<process id="forkJoin">
<startEvent id="theStart" />
<sequenceFlow id="flow1" sourceRef="theStart" targetRef="fork" />
<parallelGateway... | /content/code_sandbox/modules/flowable5-test/src/test/resources/org/activiti/engine/test/history/HistoricActivityInstanceTest.testParallelJoinEndTime.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 273 |
```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/message/MessageCategorization.ts | xml | 2016-07-21T15:34:05 | 2024-08-16T11:40:13 | wire-webapp | wireapp/wire-webapp | 1,125 | 688 |
```xml
<vector xmlns:android="path_to_url"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="@color/action_icon"
android:pathData="M14,6l-3.75,5 2.85,3.8 -1.6,1.2C9.81,13.75 7,10 7,10l-6,8h2... | /content/code_sandbox/shared/src/main/res/drawable/ic_landscape_black_24dp.xml | xml | 2016-04-23T11:30:18 | 2024-08-16T16:08:51 | island | oasisfeng/island | 2,532 | 124 |
```xml
export interface ConfigBaseProps {
persistNavigation: "always" | "dev" | "prod" | "never"
catchErrors: "always" | "dev" | "prod" | "never"
exitRoutes: string[]
}
export type PersistNavigationConfig = ConfigBaseProps["persistNavigation"]
const BaseConfig: ConfigBaseProps = {
// This feature is particula... | /content/code_sandbox/boilerplate/app/config/config.base.ts | xml | 2016-02-10T16:06:07 | 2024-08-16T19:52:51 | ignite | infinitered/ignite | 17,196 | 183 |
```xml
import { Repository } from '../core/repository';
import { ChallengeStateResponse } from '../responses';
import { IgChallengeWrongCodeError, IgNoCheckpointError, IgResponseError } from '../errors';
/**
* All methods expects [[State.checkpoint]] to be filled with [[CheckpointResponse]].
* It is filled in automa... | /content/code_sandbox/src/repositories/challenge.repository.ts | xml | 2016-06-09T12:14:48 | 2024-08-16T10:07:22 | instagram-private-api | dilame/instagram-private-api | 5,877 | 1,044 |
```xml
import { TestBed, inject, ComponentFixture, waitForAsync } from "@angular/core/testing";
import { DebugElement } from "@angular/core";
import { UntypedFormGroup, UntypedFormControl } from "@angular/forms";
import { By } from "@angular/platform-browser";
import { MultiSelect } from "primeng/multiselect";
import {... | /content/code_sandbox/projects/ng-dynamic-forms/ui-primeng/src/lib/multiselect/dynamic-primeng-multiselect.component.spec.ts | xml | 2016-06-01T20:26:33 | 2024-08-05T16:40:39 | ng-dynamic-forms | udos86/ng-dynamic-forms | 1,315 | 619 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.