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 create from "zustand";
import { WorkItem, workItemService } from "./work-item/WorkItemService";
export type WorkItemsFilter = "archived" | "active" | "";
interface ItemTrackerState {
items: WorkItem[];
selectedItems: WorkItem["id"][];
filter: WorkItemsFilter;
error: string;
loading: boolean;
... | /content/code_sandbox/resources/clients/react/elwing/src/plugins/item-tracker/ItemTrackerStore.ts | xml | 2016-08-18T19:06:57 | 2024-08-16T18:59:44 | aws-doc-sdk-examples | awsdocs/aws-doc-sdk-examples | 9,298 | 431 |
```xml
// copied from path_to_url
const ALLOWED_SCALES: { [key: string]: number[] } = {
ios: [1, 2, 3],
};
export function filterPlatformAssetScales(platform: string, scales: number[]): number[] {
const whitelist = ALLOWED_SCALES[platform];
if (!whitelist) {
return scales;
}
const result = scales.filter... | /content/code_sandbox/packages/expo-updates/utils/src/filterPlatformAssetScales.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 254 |
```xml
import { promises } from 'fs';
import path from 'path';
import { ForwardedBaseModOptions, provider, withGeneratedBaseMods } from './createBaseMod';
import { ExportedConfig, ModConfig } from '../Plugin.types';
import { Colors, Manifest, Paths, Properties, Resources, Strings, Styles } from '../android';
import { ... | /content/code_sandbox/packages/@expo/config-plugins/src/plugins/withAndroidBaseMods.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 2,746 |
```xml
// This code is originally from path_to_url
import Prompt from './prompt';
import EscapeException from '../utils/escapeException';
import VscodeWrapper from '../controllers/vscodeWrapper';
import * as figures from 'figures';
export default class CheckboxPrompt extends Prompt {
constructor(
question: any,
... | /content/code_sandbox/src/prompts/checkbox.ts | xml | 2016-06-26T04:38:04 | 2024-08-16T20:04:12 | vscode-mssql | microsoft/vscode-mssql | 1,523 | 319 |
```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.
-->
<resources>
<string name="app_name">RecyclerView</string>
<!--TODO (1) Add a String for the title of the menu item, "Res... | /content/code_sandbox/Lesson03-Green-Recycler-View/T03.06-Exercise-RefreshMenuButton/app/src/main/res/values/strings.xml | xml | 2016-11-02T04:41:25 | 2024-08-12T19:38:05 | ud851-Exercises | udacity/ud851-Exercises | 2,039 | 76 |
```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.
-->
<selector xmlns:android="path_to_url">
<item android:alpha="@dimen/m3_ripple_pressed_al... | /content/code_sandbox/lib/java/com/google/android/material/color/res/color/m3_tonal_button_ripple_color_selector.xml | xml | 2016-12-05T16:11:29 | 2024-08-16T17:51:42 | material-components-android | material-components/material-components-android | 16,176 | 193 |
```xml
import type { BridgeMessage } from './www-types';
export declare const NATIVE_ACTION = "$$native_action";
export declare const NATIVE_ACTION_RESULT = "$$native_action_result";
export declare const DOM_EVENT = "$$dom_event";
export declare const getInjectEventScript: <T extends BridgeMessage<any>>(detail: T) => s... | /content/code_sandbox/packages/expo/build/dom/injection.d.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 89 |
```xml
/* eslint-disable no-unused-expressions, @typescript-eslint/no-unused-expressions */
import React from 'react'
import Router, { withRouter } from 'next/router'
export default withRouter(({ router }) => {
React.useEffect(() => {
Router.events.on('routeChangeComplete', () => {})
//@ts-expect-error
R... | /content/code_sandbox/test/integration/typescript/components/router.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 156 |
```xml
import { Injectable } from '@angular/core';
import { Observable, BehaviorSubject } from 'rxjs';
import { ParticipantModel } from '../../models/participant.model';
@Injectable({
providedIn: 'root'
})
export class ParticipantServiceMock {
OVUsers: Observable<ParticipantModel[]>;
screenShareState: Observable<b... | /content/code_sandbox/openvidu-components-angular/projects/openvidu-components-angular/src/lib/services/participant/participant.service.mock.ts | xml | 2016-10-10T13:31:27 | 2024-08-15T12:14:04 | openvidu | OpenVidu/openvidu | 1,859 | 399 |
```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.
-->
<vector xmlns:android="path_to_url"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
... | /content/code_sandbox/app-scaffold/src/debug/res/drawable/ic_check_black_24dp.xml | xml | 2016-04-25T09:33:27 | 2024-08-16T02:22:21 | CatchUp | ZacSweers/CatchUp | 1,958 | 157 |
```xml
<Activity mc:Ignorable="sap sap2010" x:Class="IfThenElseBranchWithVars"
xmlns="path_to_url"
xmlns:mc="path_to_url"
xmlns:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities"
xmlns:sap="path_to_url"
xmlns:sap2010="path_to_url"
... | /content/code_sandbox/src/Test/TestCases.Workflows/TestXamls/IfThenElseBranchWithVars.xaml | xml | 2016-08-25T20:07:20 | 2024-08-13T22:23:35 | CoreWF | UiPath/CoreWF | 1,126 | 915 |
```xml
<vector xmlns:android="path_to_url"
android:width="200dp"
android:height="200dp"
android:viewportWidth="200"
android:viewportHeight="200">
<path
android:pathData="M21,16.62C21,9.65 26.65,4 33.62,4H93.31C100.29,4 105.94,9.65 105.94,16.62V41.26C105.94,42.36 105.04,43.26 103.94,43.26C102.83,... | /content/code_sandbox/app/src/main/res/drawable/welcome_2.xml | xml | 2016-04-30T16:43:17 | 2024-08-16T19:45:08 | android | bitwarden/android | 6,085 | 4,052 |
```xml
declare module 'csstype' {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
interface Properties<T> {
// allow css variables
[index: string]: unknown;
}
}
``` | /content/code_sandbox/packages/components/typings/css.d.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 44 |
```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 iterSome = require( '@stdlib/iter/some' );
import iterThunk = require( './index' );
/**
* Returns an itera... | /content/code_sandbox/lib/node_modules/@stdlib/iter/pipeline-thunk/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 384 |
```xml
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<LangVersion>latest</LangVersion>
<AssemblyName>Microsoft.BotBuilderSamples.SkillBot</AssemblyName>
<RootNamespace>Microsoft.BotBuilderSamples.SkillBot</RootNamespace>
</PropertyGroup>
<... | /content/code_sandbox/experimental/sso-with-skills/SkillBot/SkillBot.csproj | xml | 2016-09-20T16:17:28 | 2024-08-16T02:44:00 | BotBuilder-Samples | microsoft/BotBuilder-Samples | 4,323 | 230 |
```xml
import { Component } from '@angular/core';
import { BasicDoc } from '@doc/inputswitch/basicdoc';
import { ImportDoc } from '@doc/inputswitch/importdoc';
import { DisabledDoc } from '@doc/inputswitch/disableddoc';
import { PreselectionDoc } from '@doc/inputswitch/preselectiondoc';
import { StyleDoc } from '@doc/i... | /content/code_sandbox/src/app/showcase/pages/inputswitch/inputswitchdemo.ts | xml | 2016-01-16T09:23:28 | 2024-08-16T19:58:20 | primeng | primefaces/primeng | 9,969 | 335 |
```xml
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { GcComponent } from './gc-page/gc/gc.component';
import { GcHistoryComponent } from './gc-page/gc/gc-history/gc-history.component';
import { SharedModule } from '../../../shared/shared.module';
import { SetJ... | /content/code_sandbox/src/portal/src/app/base/left-side-nav/clearing-job/clearing-job.module.ts | xml | 2016-01-28T21:10:28 | 2024-08-16T15:28:34 | harbor | goharbor/harbor | 23,335 | 260 |
```xml
<Project>
<ItemGroup>
<ProjectReference Include="$(XamarinFormsSource)Xamarin.Forms.Platform.WPF\Xamarin.Forms.Platform.WPF.csproj">
<Name>Xamarin.Forms.Platform.WPF</Name>
</ProjectReference>
</ItemGroup>
</Project>
``` | /content/code_sandbox/SampleImports/WPF.Build.targets | xml | 2016-03-18T15:52:03 | 2024-08-16T16:25:43 | Xamarin.Forms | xamarin/Xamarin.Forms | 5,637 | 60 |
```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/QuoteEntity.ts | xml | 2016-07-21T15:34:05 | 2024-08-16T11:40:13 | wire-webapp | wireapp/wire-webapp | 1,125 | 303 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<cobra document="path_to_url">
<name value="webshell16"/>
<language value="php"/>
<match mode="regex-only-match"><![CDATA[\b(filter_var|filter_var_array)\b\s*\(.*FILTER_CALLBACK[^;]*((\$_(GET|POST|REQUEST|COOKIE|SERVER).{0,25})|(eval|assert|ass\\x65rt|system|exe... | /content/code_sandbox/rules/CVI-360016.xml | xml | 2016-04-15T08:41:15 | 2024-08-16T10:33:17 | Cobra | FeeiCN/Cobra | 3,133 | 261 |
```xml
import * as React from 'react';
import { Menu } from '@fluentui/react-northstar';
const items = [
{ key: 'editorials', content: 'Editorials' },
{ key: 'divider-1', kind: 'divider' as const },
{ key: 'review', content: 'Reviews' },
{ key: 'divider-2', kind: 'divider' as const, content: '...' },
{ key: ... | /content/code_sandbox/packages/fluentui/docs/src/examples/components/Menu/Slots/MenuExampleDivider.shorthand.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 142 |
```xml
import {generateId, prepareNotification, resetNotificationsConfig, setUpNotifications} from '../notifications'
import {CONFIG} from '../../constants'
describe('setUpNotifications()', () => {
afterAll(() => {
resetNotificationsConfig()
})
it('should update the config', () => {
const ... | /content/code_sandbox/src/services/tests/notification.spec.ts | xml | 2016-04-18T14:42:12 | 2024-08-13T16:26:17 | reapop | LouisBarranqueiro/reapop | 1,547 | 595 |
```xml
import React from 'react';
import { Checkbox } from 'react-polymorph/lib/components/Checkbox';
import { CheckboxSkin } from 'react-polymorph/lib/skins/simple/CheckboxSkin';
import { Input } from 'react-polymorph/lib/components/Input';
import { InputSkin } from 'react-polymorph/lib/skins/simple/InputSkin';
import... | /content/code_sandbox/source/renderer/app/components/wallet/settings/DeleteWalletConfirmation.tsx | xml | 2016-10-05T13:48:54 | 2024-08-13T22:03:19 | daedalus | input-output-hk/daedalus | 1,230 | 330 |
```xml
import angular from 'angular';
import { ExceptionHandler } from '../../../shared/errors/errors.interface';
import Globals from '../../../shared/global-shared.constants';
import { PlatformService } from '../../../shared/global-shared.interface';
import { LogService } from '../../../shared/log/log.service';
import... | /content/code_sandbox/src/modules/app/shared/app-helper/app-helper.service.ts | xml | 2016-05-05T20:59:25 | 2024-08-13T14:13:34 | app | xbrowsersync/app | 1,478 | 1,097 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="path_to_url" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="ru" original="../LocalizableSt... | /content/code_sandbox/src/Cli/dotnet/commands/dotnet-workload/elevate/xlf/LocalizableStrings.ru.xlf | xml | 2016-07-22T21:26:02 | 2024-08-16T17:23:58 | sdk | dotnet/sdk | 2,627 | 215 |
```xml
<vector xmlns:android="path_to_url"
android:width="240dp"
android:height="160dp"
android:viewportWidth="120"
android:viewportHeight="80">
<path
android:pathData="M0,0h120v80h-120z"
android:fillColor="#E70013"/>
<path
android:pathData="M60,40m-20,0a20,20 0,1 1,40 0a20,20 0,1 ... | /content/code_sandbox/app/src/main/res/drawable/ic_flag_tn.xml | xml | 2016-07-02T10:44:04 | 2024-08-16T18:55:54 | StreetComplete | streetcomplete/StreetComplete | 3,781 | 301 |
```xml
/*
* Tencent is pleased to support the open source community by making
* WCDB available.
*
* All rights reserved.
*
*
* 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 <WCDB... | /content/code_sandbox/Pods/WCDB/objc/WCDB/interface/orm/binding/WCTColumnBinding.mm | xml | 2016-01-25T12:21:28 | 2024-08-15T03:10:31 | TLChat | tbl00c/TLChat | 1,402 | 569 |
```xml
import { Component } from '@angular/core';
import { NewsService } from '../news.service';
@Component({
selector: 'ngx-infinite-list',
templateUrl: 'infinite-list.component.html',
styleUrls: ['infinite-list.component.scss'],
})
export class InfiniteListComponent {
firstCard = {
news: [],
placeh... | /content/code_sandbox/src/app/pages/layout/infinite-list/infinite-list.component.ts | xml | 2016-05-25T10:09:03 | 2024-08-16T16:34:03 | ngx-admin | akveo/ngx-admin | 25,169 | 225 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.SwipeRefreshLayout xmlns:android="path_to_url"
android:id="@+id/refresh_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ListView
android:id="@+id/lv"
android:layout_width="match_p... | /content/code_sandbox/sample/src/main/res/layout/activity_listview.xml | xml | 2016-09-13T08:26:29 | 2024-08-15T09:49:27 | XBanner | xiaohaibin/XBanner | 2,159 | 102 |
```xml
// The following enum was initially taken from
// path_to_url
export enum KeyboardKey {
Backspace = 'Backspace',
Tab = 'Tab',
Enter = 'Enter',
Shift = 'Shift',
Control = 'Control',
Alt = 'Alt',
CapsLock = 'CapsLock',
Escape = 'Escape',
Space = ' ',
Spacebar = ' ',
Page... | /content/code_sandbox/packages/shared/lib/interfaces/Hotkeys.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 986 |
```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/page/components/FeatureConfigChange/FeatureConfigChangeHandler/Features/MLS.ts | xml | 2016-07-21T15:34:05 | 2024-08-16T11:40:13 | wire-webapp | wireapp/wire-webapp | 1,125 | 162 |
```xml
export enum SubscriptionManagerEvent {
DidFetchSubscription = 'Subscription:DidFetchSubscription',
}
``` | /content/code_sandbox/packages/services/src/Domain/Subscription/SubscriptionManagerEvent.ts | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 20 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
-/-/-
Dockerfile Maven Plugin
%%
%%
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.
-\-\-
-->
<project xmlns="path_to_url" xmlns:xsi="... | /content/code_sandbox/plugin/src/it/build-with-custom-dockerfile/pom.xml | xml | 2016-03-16T12:42:37 | 2024-08-14T21:23:10 | dockerfile-maven | spotify/dockerfile-maven | 2,747 | 342 |
```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 { DataToValueType, GetValueAction, GetValueSettings } from '@shared/models/action-widget-settings.models';
import { ... | /content/code_sandbox/ui-ngx/src/app/modules/home/components/widget/lib/indicator/status-widget.models.ts | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 1,309 |
```xml
<resources>
<!--Sections-->
<string name="modules">M-un</string>
<string name="superuser">Superuser</string>
<string name="logs">Nht k</string>
<string name="settings">Ci t</string>
<string name="install">Ci t</string>
<string name="section_home">Trang ch</string>
<string name="s... | /content/code_sandbox/app/core/src/main/res/values-vi/strings.xml | xml | 2016-09-08T12:42:53 | 2024-08-16T19:41:25 | Magisk | topjohnwu/Magisk | 46,424 | 4,375 |
```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 { renderIcon } from '../icon.renderer.js';
import { IconShapeTuple } from '../interfaces/icon.interfaces.js';
const icon = {
outline:
'<path d="M8.0... | /content/code_sandbox/packages/core/src/icon/shapes/play.ts | xml | 2016-09-29T17:24:17 | 2024-08-11T17:06:15 | clarity | vmware-archive/clarity | 6,431 | 347 |
```xml
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { SharedModule } from '../shared/shared.module';
import { PageNotFoundComponent } from './not-found.component';
const routes: Routes = [
{
path: '',
component: PageNotFoundComponent,
}... | /content/code_sandbox/src/portal/src/app/not-found/not-found.module.ts | xml | 2016-01-28T21:10:28 | 2024-08-16T15:28:34 | harbor | goharbor/harbor | 23,335 | 92 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="path_to_url"
android:id="@+id/empty_view"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
style="@style/MultipleStatusView.Content"
android:id="@+id/empty_view_tv"
an... | /content/code_sandbox/multiple-status-view/src/main/res/layout/empty_view.xml | xml | 2016-01-17T06:48:05 | 2024-08-06T07:27:56 | MultipleStatusView | qyxxjd/MultipleStatusView | 1,688 | 91 |
```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/mysql/select_mysql_performance_schema_events_statements_summary_by_digest.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 485 |
```xml
<vector xmlns:android="path_to_url"
android:width="112dp"
android:height="112dp"
android:viewportWidth="112"
android:viewportHeight="112">
<path
android:pathData="M56,56m-56,0a56,56 0,1 1,112 0a56,56 0,1 1,-112 0"
android:fillColor="#fff"/>
<path
android:pathData="m56,2c-29.... | /content/code_sandbox/app/src/main/res/drawable/ic_no_entry_sign_arrow.xml | xml | 2016-07-02T10:44:04 | 2024-08-16T18:55:54 | StreetComplete | streetcomplete/StreetComplete | 3,781 | 331 |
```xml
import {
AvatarWrapper,
CustomerState,
Name,
NameContainer,
} from "../../styles";
import { InfoWrapper, Links } from "@erxes/ui/src/styles/main";
import CustomerForm from "../../containers/CustomerForm";
import { ICustomer } from "../../types";
import Icon from "@erxes/ui/src/components/Icon";
import M... | /content/code_sandbox/packages/ui-contacts/src/customers/components/common/InfoSection.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 629 |
```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/integration/controller/ipc/ipc_server.spec.ts | xml | 2016-02-01T21:45:35 | 2024-08-15T19:16:48 | lisk-sdk | LiskArchive/lisk-sdk | 2,721 | 565 |
```xml
import type { List as ImmutableList } from 'immutable';
import { apiGetDirectory } from 'mastodon/api/directory';
import { createDataLoadingThunk } from 'mastodon/store/typed_functions';
import { fetchRelationships } from './accounts';
import { importFetchedAccounts } from './importer';
export const fetchDire... | /content/code_sandbox/app/javascript/mastodon/actions/directory.ts | xml | 2016-02-22T15:01:25 | 2024-08-16T19:27:35 | mastodon | mastodon/mastodon | 46,560 | 262 |
```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 strided2array4d = require( './index' );
// TESTS //
// The function returns a four-dimensional nested ar... | /content/code_sandbox/lib/node_modules/@stdlib/array/base/strided2array4d/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 1,657 |
```xml
import React, { useCallback, useMemo, useState } from 'react'
import { mdiFileDocumentOutline } from '@mdi/js'
import { useDebounce } from 'react-use'
import {
GlobalSearchHistory,
GlobalSearchResult,
} from '../../design/components/organisms/SearchLayout'
import useApi from '../../design/lib/hooks/useApi'
i... | /content/code_sandbox/src/cloud/components/CloudGlobalSearch.tsx | xml | 2016-11-19T14:30:34 | 2024-08-16T03:13:45 | BoostNote-App | BoostIO/BoostNote-App | 3,745 | 1,552 |
```xml
import { ControllerInputResponse, ControllerInputResponseType } from '@xoutput/api';
import { websocket, WebSocketSession } from '../websocket';
export const inputDeviceClient = {
connect(id: string, onFeedback: (feedback: ControllerInputResponse) => void): Promise<WebSocketSession> {
return websocket.con... | /content/code_sandbox/@xoutput/client/src/websocket/emulation/EmulatedControllerFeedbackClient.ts | xml | 2016-11-22T21:13:16 | 2024-08-16T10:35:33 | XOutput | csutorasa/XOutput | 1,103 | 103 |
```xml
<?xml version="1.0" ?><!DOCTYPE TS><TS version="2.1" language="fil">
<context>
<name>AboutDialog</name>
<message>
<source>About KeePassXC</source>
<translation>Tungkol sa KeePassXC</translation>
</message>
<message>
<source>About</source>
<translation>Tungkol</tran... | /content/code_sandbox/share/translations/keepassxc_fil.ts | xml | 2016-02-28T15:52:40 | 2024-08-16T19:26:56 | keepassxc | keepassxreboot/keepassxc | 20,477 | 86,852 |
```xml
/**
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import type {DiffId, DiffSummary} from '../types';
import {PullRequestState} from '../../../isl-server/src/github/generated/graphql';
import App from '../App';
import platfor... | /content/code_sandbox/addons/isl/src/__tests__/GitHubPRBadge.test.tsx | xml | 2016-05-05T16:53:47 | 2024-08-16T19:12:02 | sapling | facebook/sapling | 5,987 | 2,003 |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
~
~
~ 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.
-->
<window xmlns="path_to_url"
focusComponent="table">
<... | /content/code_sandbox/modules/web/test/spec/cuba/web/masterdetail/screens/user-masterdetail.xml | xml | 2016-03-24T07:55:56 | 2024-07-14T05:13:48 | cuba | cuba-platform/cuba | 1,342 | 724 |
```xml
export * from './ISimpleColorPickerState';
export * from './ISimpleColorPickerProps';
export * from './SimpleColorPicker';
``` | /content/code_sandbox/samples/react-tiles-v2/src/webparts/Tiles/components/colorpicker/index.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 29 |
```xml
<shape xmlns:android="path_to_url"
android:shape="rectangle">
<solid android:color="#5cb85c"></solid>
<stroke android:color="#C4CDE0"></stroke>
<corners
android:bottomRightRadius="10dp"
android:topRightRadius="10dp"></corners>
</shape>
``` | /content/code_sandbox/tastytoast/src/main/res/drawable/success_toast.xml | xml | 2016-07-17T05:03:31 | 2024-08-16T02:11:31 | TastyToast | yadav-rahul/TastyToast | 2,041 | 78 |
```xml
import type { ReactNode } from 'react';
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
import { useLocation } from 'react-router-dom';
import { c } from 'ttag';
import type { HotkeyTuple } from '@proton/components';
import {
Icon,
SidebarList,
SidebarListItem,
Simple... | /content/code_sandbox/applications/mail/src/app/components/sidebar/MailSidebarList.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 3,318 |
```xml
import { cssRule, style, getStyles, reinit, media } from '../index';
import * as assert from 'assert';
describe("media query", () => {
it("standard freestyle", () => {
reinit();
style({
color: 'red',
$nest: {
'@media (min-width: 400px)': { color: 'red' }
}
});
const s... | /content/code_sandbox/src/tests/media.ts | xml | 2016-10-13T23:50:52 | 2024-08-12T20:53:46 | typestyle | typestyle/typestyle | 3,048 | 706 |
```xml
<vector xmlns:android="path_to_url" android:height="34.0dp" android:tint="?attr/colorControlNormal" android:viewportHeight="15" android:viewportWidth="15" android:width="34.0dp">
<path android:fillColor="@android:color/white" android:pathData="M0 10L0 5L5.5 5L5.5 10L0 10ZM9.5 10L9.5 5L15 5L15 10L9.5 10ZM6 0L... | /content/code_sandbox/app/src/main/res/drawable/ic_preset_temaki_crossing_tram_solid.xml | xml | 2016-07-02T10:44:04 | 2024-08-16T18:55:54 | StreetComplete | streetcomplete/StreetComplete | 3,781 | 167 |
```xml
<dict>
<key>CommonPeripheralDSP</key>
<array>
<dict>
<key>DeviceID</key>
<integer>0</integer>
<key>DeviceType</key>
<string>Headphone</string>
</dict>
<dict>
<key>DeviceID</key>
<integer>0</integer>
<key>DeviceType</key>
<string>Microphone</string>
</dict>
</array>
<key>PathMa... | /content/code_sandbox/Resources/ALC662/Platforms66.xml | xml | 2016-03-07T20:45:58 | 2024-08-14T08:57:03 | AppleALC | acidanthera/AppleALC | 3,420 | 1,943 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<entries>
<task>
<url>/_dr/task/rdeStaging</url>
<name>rdeStaging</name>
<description>
This job generates a full RDE escrow deposit as a single gigantic XML document
and streams it to cloud storage. When this job has finished successfully, it'll
... | /content/code_sandbox/core/src/main/java/google/registry/env/sandbox/default/WEB-INF/cloud-scheduler-tasks.xml | xml | 2016-02-29T20:16:48 | 2024-08-15T19:49:29 | nomulus | google/nomulus | 1,685 | 1,901 |
```xml
<?xml version="1.0" encoding="utf-8"?><!--
~
~
~ Permission is hereby granted, free of charge, to any person obtaining a copy
~ of this software and associated documentation files (the "Software"), to deal
~ in the Software without restriction, including without limitation the rights
~ to use, copy, ... | /content/code_sandbox/library/src/main/res/values-es/strings.xml | xml | 2016-02-18T21:20:47 | 2024-07-30T10:09:54 | material-intro | janheinrichmerker/material-intro | 1,737 | 399 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="path_to_url" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="cs" original="../SymbolStrings... | /content/code_sandbox/src/Cli/Microsoft.TemplateEngine.Cli/Commands/xlf/SymbolStrings.cs.xlf | xml | 2016-07-22T21:26:02 | 2024-08-16T17:23:58 | sdk | dotnet/sdk | 2,627 | 3,412 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<!--
~
~
~ path_to_url
~
~ Unless required by applicable law or agreed to in writing, software
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-->
<FrameLayout xmlns:android="path_to_url"
android:layout_width="match_parent"
... | /content/code_sandbox/app/src/main/res/layout/frame.xml | xml | 2016-03-18T15:35:45 | 2024-08-16T06:43:09 | PaperPlane | TonnyL/PaperPlane | 1,141 | 102 |
```xml
import {
// canCompileGLGSExtension,
hasFeature,
hasFeatures,
getFeatures,
FEATURES
} from '@luma.gl/webgl-legacy';
import test from 'tape-promise/tape';
// import {makeSpy} from '@probe.gl/test-utils';
import {fixture} from 'test/setup';
// true: always supported in WebGL2, false: never supported in... | /content/code_sandbox/wip/modules-wip/webgl-legacy/test/classic/context/features.spec.ts | xml | 2016-01-25T09:41:59 | 2024-08-16T10:03:05 | luma.gl | visgl/luma.gl | 2,280 | 1,226 |
```xml
import type { FC, PropsWithChildren } from 'react';
import React from 'react';
import { H2 } from 'storybook/internal/components';
import { HeaderMdx } from './mdx';
export interface HeadingProps {
disableAnchor?: boolean;
}
export const Heading: FC<PropsWithChildren<HeadingProps>> = ({
children,
disab... | /content/code_sandbox/code/lib/blocks/src/blocks/Heading.tsx | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 163 |
```xml
import vscode from 'vscode';
import { sameLineRange } from '../../../util';
import { testDiagnostics, testNoDiagnostics } from '../../../diagnosticHelper';
import { getDocUri } from '../../path';
describe('Should find template-diagnostics in <template> region', () => {
const tests: TemplateDiagnosticTest[] = ... | /content/code_sandbox/test/interpolation/features/diagnostics/basic.test.ts | xml | 2016-10-29T23:20:43 | 2024-08-16T03:59:58 | vetur | vuejs/vetur | 5,739 | 1,973 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/white"
android:fitsSystemWindows="true">
<ScrollView
android:layout_width="match_parent"
... | /content/code_sandbox/app/src/main/res/layout/activity_setting.xml | xml | 2016-11-04T02:04:13 | 2024-08-07T01:13:41 | MyDiary | DaxiaK/MyDiary | 1,580 | 1,868 |
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<r:routes xmlns:r="path_to_url"
xmlns:xsi="path_to_url"
xsi:schemaLocation="path_to_url path_to_url">
<r:route id="blog_show" path="/blog/{slug}" host="{_locale}.example.com">
<r:default key="_controller">MyBundle:Blog:show</r:default>
<requir... | /content/code_sandbox/samples/development-frameworks/laravel/vendor/symfony/routing/Tests/Fixtures/namespaceprefix.xml | xml | 2016-03-11T21:42:56 | 2024-08-16T09:31:00 | sql-server-samples | microsoft/sql-server-samples | 9,855 | 170 |
```xml
import express from 'express';
import nock from 'nock';
import { join } from 'path';
import supertest from 'supertest';
import { Config, parseConfigFile } from '@verdaccio/config';
import { logger, setup } from '@verdaccio/logger';
import { HTTP_STATUS } from '../../local-storage/node_modules/@verdaccio/core/b... | /content/code_sandbox/packages/plugins/audit/tests/audit.spec.ts | xml | 2016-04-15T16:21:12 | 2024-08-16T09:38:01 | verdaccio | verdaccio/verdaccio | 16,189 | 842 |
```xml
import { setStringArray, getStringArray } from '../../local-storage'
import { Repository } from '../../../models/repository'
/**
* Store in localStorage the tags to push for the given repository
*
* @param repository the repository object
* @param tagsToPush array with the tags to push
*/
export function s... | /content/code_sandbox/app/src/lib/stores/helpers/tags-to-push-storage.ts | xml | 2016-05-11T15:59:00 | 2024-08-16T17:00:41 | desktop | desktop/desktop | 19,544 | 242 |
```xml
<resources>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
<dimen name="fab_margin">16dp</dimen>
<dimen name="messageTextSize">16dp</dimen>
<dimen name="chat_ite... | /content/code_sandbox/PieMessage-Android/app/src/main/res/values/dimens.xml | xml | 2016-05-02T22:12:23 | 2024-08-12T19:22:38 | PieMessage | bboyairwreck/PieMessage | 1,038 | 99 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<layoutAnimation xmlns:android="path_to_url"
android:animation="@anim/item_fade_in_from_bottom"
android:animationOrder="normal"
android:delay="15%" />
``` | /content/code_sandbox/app/src/main/res/anim/layout_items_fade_in_from_bottom.xml | xml | 2016-07-02T10:44:04 | 2024-08-16T18:55:54 | StreetComplete | streetcomplete/StreetComplete | 3,781 | 55 |
```xml
import {doc, p, h1, hr, em, strong, img, blockquote, schema} from "prosemirror-test-builder"
import {Plugin, TextSelection} from "prosemirror-state"
import {Schema} from "prosemirror-model"
import {DecorationSet, Decoration, EditorView, DecorationSource} from "prosemirror-view"
import {tempEditor} from "./view"
... | /content/code_sandbox/test/webtest-draw-decoration.ts | xml | 2016-09-07T15:20:43 | 2024-08-16T07:16:15 | prosemirror-view | ProseMirror/prosemirror-view | 1,616 | 5,460 |
```xml
import {CdkComboboxPopup} from '@angular/cdk-experimental/combobox/combobox-popup';
import {DOWN_ARROW, ESCAPE} from '@angular/cdk/keycodes';
import {dispatchKeyboardEvent, dispatchMouseEvent} from '@angular/cdk/testing/private';
import {Component, DebugElement, ElementRef, ViewChild, signal} from '@angular/core... | /content/code_sandbox/src/cdk-experimental/combobox/combobox.spec.ts | xml | 2016-01-04T18:50:02 | 2024-08-16T11:21:13 | components | angular/components | 24,263 | 2,536 |
```xml
<!--
This file contains Runtime Directives used by .NET Native. The defaults here are suitable for most
developers. However, you can modify these parameters to modify the behavior of the .NET Native
optimizer.
Runtime Directives are documented at path_to_url
To fully enable reflection for A... | /content/code_sandbox/Microsoft.Toolkit.Uwp.SampleApp/Properties/Default.rd.xml | xml | 2016-06-17T21:29:46 | 2024-08-16T09:32:00 | WindowsCommunityToolkit | CommunityToolkit/WindowsCommunityToolkit | 5,842 | 289 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="path_to_url" android:opacity="opaque">
<item android:drawable="?attr/colorPrimaryVariant"/>
<item
android:drawable="@mipmap/ic_launcher"
android:width="144dp"
android:height="144dp"
android:gravity="center"/... | /content/code_sandbox/app/src/main/res/drawable-v26/splash_screen.xml | xml | 2016-10-18T15:38:44 | 2024-08-16T19:19:31 | libretorrent | proninyaroslav/libretorrent | 1,973 | 85 |
```xml
import { useEffect, useState } from 'react';
import debounce from 'lodash/debounce';
import { c } from 'ttag';
import { validateEmailAddress } from '@proton/shared/lib/helpers/email';
import type { CreateModalFormState } from '../../interface';
type FormErrors = Partial<Record<keyof CreateModalFormState, str... | /content/code_sandbox/packages/components/components/drawer/views/SecurityCenter/PassAliases/modals/CreatePassAliasesForm/useCreatePassAliasesForm.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 632 |
```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/main/src/migrator.spec.ts | xml | 2016-11-11T23:15:09 | 2024-08-16T12:45:29 | BotFramework-Emulator | microsoft/BotFramework-Emulator | 1,803 | 1,941 |
```xml
import { now } from '../../core/util';
import { preventDefault, getEventContainerPoint } from '../../core/util/dom';
import Handler from '../../handler/Handler';
import DragHandler from '../../handler/Drag';
import Map from '../Map';
import { type Param } from './CommonType';
class MapDragHandler extends Handl... | /content/code_sandbox/src/map/handler/Map.Drag.ts | xml | 2016-02-03T02:41:32 | 2024-08-15T16:51:49 | maptalks.js | maptalks/maptalks.js | 4,272 | 2,354 |
```xml
import "reflect-metadata"
import { Post } from "./entity/Post"
import { Counters } from "./entity/Counters"
import { DataSource } from "../../../../src/data-source/DataSource"
import { expect } from "chai"
import {
closeTestingConnections,
createTestingConnections,
reloadTestingDatabases,
} from "../... | /content/code_sandbox/test/functional/embedded/embedded-many-to-one-case4/embedded-many-to-one-case4.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 2,749 |
```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.
-->
<!-- Material3 alternative to textColorPrimary for light theme -->
<selector xmlns:... | /content/code_sandbox/lib/java/com/google/android/material/color/res/color/m3_default_color_primary_text.xml | xml | 2016-12-05T16:11:29 | 2024-08-16T17:51:42 | material-components-android | material-components/material-components-android | 16,176 | 138 |
```xml
const os = jest.requireActual('os');
os.homedir = jest.fn(() => '/home');
module.exports = os;
``` | /content/code_sandbox/packages/@expo/config/__mocks__/os.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 27 |
```xml
import {ExpandableCalendarProps, Positions} from '../index';
import {toMarkingFormat, xdateToData} from '../../interface';
import {ExpandableCalendarDriver} from '../driver';
import {generateExpandableCalendarWithContext, testIdExpandableCalendar} from './expandableCalendarTestKit';
import {getMonthTitle} from '... | /content/code_sandbox/src/expandableCalendar/__test__/index.spec.ts | xml | 2016-11-11T12:17:27 | 2024-08-16T16:43:58 | react-native-calendars | wix/react-native-calendars | 9,403 | 2,823 |
```xml
import type { ReactElement } from 'react';
import { cloneElement, useEffect, useRef } from 'react';
import Footer from '@proton/components/components/footer/Footer';
import { useElementRect, useNotifications } from '@proton/components/hooks';
import { modalTwoBackdropRootClassName } from '@proton/shared/lib/bus... | /content/code_sandbox/packages/components/containers/drawer/DrawerAppFooter.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 503 |
```xml
import React, { useState } from "react";
import { Button, Col, Input, Row } from "antd";
import { RQModal } from "lib/design-system/components";
interface DeleteWorkspaceModalProps {
name: string;
isOpen: boolean;
deleteInProgress: boolean;
handleModalClose: () => void;
handleDeleteTeam: () => Promise... | /content/code_sandbox/app/src/features/settings/components/Profile/ManageTeams/TeamViewer/TeamSettings/DeleteWorkspaceModal/index.tsx | xml | 2016-12-01T04:36:06 | 2024-08-16T19:12:19 | requestly | requestly/requestly | 2,121 | 476 |
```xml
export type FilterFn = (rootValue?: any, args?: any, context?: any, info?: any) => boolean;
export const withFilter = (asyncIteratorFn: () => AsyncIterableIterator<any>, filterFn: FilterFn) => {
return (rootValue: any, args: any, context: any, info: any): AsyncIterator<any> => {
const asyncIterator = asyn... | /content/code_sandbox/src/with-filter.ts | xml | 2016-09-01T19:08:18 | 2024-07-28T08:10:04 | graphql-redis-subscriptions | davidyaha/graphql-redis-subscriptions | 1,103 | 246 |
```xml
/** @jest-environment node */
import React from "react";
import {
print,
graphql as execute,
GraphQLSchema,
GraphQLObjectType,
GraphQLList,
GraphQLString,
GraphQLID,
} from "graphql";
import gql from "graphql-tag";
import { ApolloClient } from "../../../../core";
import { InMemoryCache as Cache } ... | /content/code_sandbox/src/react/components/__tests__/ssr/server.test.tsx | xml | 2016-02-26T20:25:00 | 2024-08-16T10:56:57 | apollo-client | apollographql/apollo-client | 19,304 | 1,221 |
```xml
/* eslint no-magic-numbers: ["error", { "ignore": [2, 5, 36] }] */
import { useMemo } from 'react';
import random from 'math-random';
export default function useUniqueId(prefix?: string): string {
const id = useMemo(() => random().toString(36).substr(2, 5), []);
prefix = prefix ? `${prefix}--` : '';
re... | /content/code_sandbox/packages/bundle/src/adaptiveCards/hooks/internal/useUniqueId.ts | xml | 2016-07-07T23:16:57 | 2024-08-16T00:12:37 | BotFramework-WebChat | microsoft/BotFramework-WebChat | 1,567 | 94 |
```xml
import { FC, ReactElement } from 'react';
import styled from 'styled-components';
import champagneIcon from '@assets/images/icn-champagne-2.svg';
import dontLoseCryptoIcon from '@assets/images/icn-don-t-lose-crypto.svg';
import howBuyIcon from '@assets/images/icn-how-do-i-buy-crypto.svg';
import questionsIcon ... | /content/code_sandbox/src/features/NotificationsPanel/components/WalletCreatedNotification.tsx | xml | 2016-12-04T01:35:27 | 2024-08-14T21:41:58 | MyCrypto | MyCryptoHQ/MyCrypto | 1,347 | 637 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme.Exponent.Dark" parent="Theme.MaterialComponents.Light.NoActionBar">
<item name="android:windowLightStatusBar">false</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="colorPrimary">@color/col... | /content/code_sandbox/apps/expo-go/android/expoview/src/main/res/values-v23/styles.xml | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 295 |
```xml
import * as _ from "lodash";
import {
BoardSelectWrapper,
FormFooter,
HeaderContent,
HeaderRow
} from "../../styles/item";
import { IAttachment, IField } from "@erxes/ui/src/types";
import { IItem, IItemParams, IOptions, IStage } from "../../types";
import { Alert } from "@erxes/ui/src/utils";
import B... | /content/code_sandbox/packages/ui-tasks/src/boards/components/portable/AddForm.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 2,472 |
```xml
/*
* Tencent is pleased to support the open source community by making
* WCDB available.
*
* All rights reserved.
*
*
* 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 <WCDB... | /content/code_sandbox/Pods/WCDB/objc/WCDB/interface/fts/WCTDatabase+FTS.mm | xml | 2016-01-25T12:21:28 | 2024-08-15T03:10:31 | TLChat | tbl00c/TLChat | 1,402 | 222 |
```xml
import { LegacyAnonymousReference } from './LegacyAnonymousReference'
import { Reference } from './Reference'
export type ContentReference = LegacyAnonymousReference | Reference
``` | /content/code_sandbox/packages/models/src/Domain/Abstract/Reference/ContentReference.ts | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 32 |
```xml
// See LICENSE in the project root for license information.
import type * as ts from 'typescript';
import { Path } from './Path';
import { PackletAnalyzer } from './PackletAnalyzer';
enum RefFileKind {
Import,
ReferenceFile,
TypeReferenceDirective
}
// TypeScript compiler internal:
// Version range: >=... | /content/code_sandbox/eslint/eslint-plugin-packlets/src/DependencyAnalyzer.ts | xml | 2016-09-30T00:28:20 | 2024-08-16T18:54:35 | rushstack | microsoft/rushstack | 5,790 | 2,216 |
```xml
import moment from 'moment-timezone';
import { ICachingOptions } from '@pnp/odata';
import { extractWebUrl, sp } from '@pnp/sp';
import "@pnp/sp/regional-settings";
import { IWeb } from '@pnp/sp/webs/types';
import { arrayToMap, cloneWeb, now, } from '../../Utils';
import { DeveloperService, DeveloperServiceProp... | /content/code_sandbox/samples/react-rhythm-of-business-calendar/src/common/services/timezones/OnlineTimeZoneService.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 1,131 |
```xml
import { useHandler } from '@proton/components';
import {
conversationCountsActions,
messageCountsActions,
selectConversationCounts,
selectMessageCounts,
} from '@proton/mail';
import type { LabelCount } from '@proton/shared/lib/interfaces/Label';
import { useMailDispatch, useMailStore } from 'p... | /content/code_sandbox/applications/mail/src/app/hooks/optimistic/useOptimisticEmptyLabel.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 891 |
```xml
import { Base64String } from '../Types/Base64String'
import { HexString } from '../Types/HexString'
/**
* @param iv initialization vector as a hex string
* @param tag authentication tag as a hex string
* @param ciphertext as a base64 string
* @param encoding that will be applied after decrypting
* @param a... | /content/code_sandbox/packages/sncrypto-common/src/AES-GCM/Aes256GcmEncrypted.ts | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 132 |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="11134" systemVersion="15F34" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" initialViewController="B8D-0N-5wS">
<dependencies>
... | /content/code_sandbox/dotnet/Templates/Microsoft.macOS.Templates/macos/visualbasic/Main.storyboard | xml | 2016-04-20T18:24:26 | 2024-08-16T13:29:19 | xamarin-macios | xamarin/xamarin-macios | 2,436 | 8,893 |
```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.
-->
<project xmlns:xsi="path_to_url" xmlns="path_to_url"
xsi:schemaLocation="path_to_url path_to_url">
<modelV... | /content/code_sandbox/http-url/pom.xml | xml | 2016-09-09T22:28:14 | 2024-08-14T17:35:43 | light-4j | networknt/light-4j | 3,614 | 333 |
```xml
export interface IXmlAttribute {
readonly [key: string]: string | number | boolean;
}
export interface IXmlableObject extends Record<string, unknown> {
// readonly _attr?: IXmlAttribute;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
readonly [key: string]: any;
}
// Needed becau... | /content/code_sandbox/src/file/xml-components/xmlable-object.ts | xml | 2016-03-26T23:43:56 | 2024-08-16T13:02:47 | docx | dolanmiu/docx | 4,139 | 88 |
```xml
/**
* @packageDocumentation
* @module services
*/
export * from './basemanager';
export * from './config';
export * from './contents';
export * from './event';
export * from './kernel';
export * from './kernelspec';
export * from './manager';
export * from './serverconnection';
export * from './session';
exp... | /content/code_sandbox/packages/services/src/index.ts | xml | 2016-06-03T20:09:17 | 2024-08-16T19:12:44 | jupyterlab | jupyterlab/jupyterlab | 14,019 | 111 |
```xml
import * as React from 'react';
const Scenario = () => <button>I am a button</button>;
export default Scenario;
``` | /content/code_sandbox/apps/perf-test/src/scenarios/buttonNative.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 27 |
```xml
<vector xmlns:android="path_to_url"
android:width="24dp"
android:height="25dp"
android:viewportWidth="24"
android:viewportHeight="25">
<path
android:pathData="M16.659,6.845C15.21,5.395 13.21,4.5 11,4.5C6.582,4.5 3,8.082 3,12.5C3,16.306 5.659,19.493 9.221,20.302C9.76,20.424 10.097,20.96 9.... | /content/code_sandbox/app/src/main/res/drawable/ic_player_15_plus.xml | xml | 2016-05-04T11:46:20 | 2024-08-15T16:29:10 | android | meganz/android | 1,537 | 951 |
```xml
import {AdditionalProperties, Property} from "@tsed/schema";
@AdditionalProperties({type: "string"})
export class Model {
@Property()
id: string;
[key: string]: string;
}
``` | /content/code_sandbox/docs/docs/snippets/model/additional-properties-with-schema.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 45 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.