text stringlengths 9 39.2M | dir stringlengths 26 295 | lang stringclasses 185
values | created_date timestamp[us] | updated_date timestamp[us] | repo_name stringlengths 1 97 | repo_full_name stringlengths 7 106 | star int64 1k 183k | len_tokens int64 1 13.8M |
|---|---|---|---|---|---|---|---|---|
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item name="splashBackground" type="color"><%= splashBackgroundColor %></item>
</resources>
``` | /content/code_sandbox/generators/assets/templates/android/colors.xml | xml | 2016-09-07T23:19:39 | 2024-08-09T08:09:53 | generator-rn-toolbox | bamlab/generator-rn-toolbox | 1,194 | 40 |
```xml
<?xml version="1.0"?>
<package format="2">
<name>moveit_ros_occupancy_map_monitor</name>
<version>1.1.14</version>
<description>Components of MoveIt connecting to occupancy map</description>
<author email="isucan@google.com">Ioan Sucan</author>
<author email="jon.binney@gmail.com">Jon Binney</author>
... | /content/code_sandbox/moveit_ros/occupancy_map_monitor/package.xml | xml | 2016-07-27T20:38:09 | 2024-08-15T02:08:44 | moveit | moveit/moveit | 1,626 | 310 |
```xml
import { isDev } from "grafast";
import type { PgSelectStep, PgUnionAllStep } from "./index";
export type PgLockableParameter =
| "orderBy"
| "first"
| "last"
| "offset"
| "groupBy";
export type PgLockCallback<
TStep extends PgSelectStep<any> | PgUnionAllStep<any, any>,
> = (step: TStep) => void;
... | /content/code_sandbox/grafast/dataplan-pg/src/pgLocker.ts | xml | 2016-04-14T21:29:19 | 2024-08-16T17:12:51 | crystal | graphile/crystal | 12,539 | 1,215 |
```xml
import { MockProxy } from "jest-mock-extended";
import { MigrationHelper } from "../migration-helper";
import { mockMigrationHelper } from "../migration-helper.spec";
import { RemoveLegacyEtmKeyMigrator } from "./6-remove-legacy-etm-key";
function exampleJSON() {
return {
global: {
stateVersion: 5... | /content/code_sandbox/libs/common/src/state-migrations/migrations/6-remove-legacy-etm-key.spec.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 627 |
```xml
declare var __DEV__: boolean;
import hyphenate from "./hyphenate-style-name";
import {validateNoMixedHand} from "./validate-no-mixed-hand";
import {prefix} from "inline-style-prefixer";
import type {StyleObject} from "styletron-standard";
import {MultiCache} from "./cache";
export default function injectStyl... | /content/code_sandbox/packages/styletron-engine-atomic/src/inject-style-prefixed.ts | xml | 2016-04-01T00:00:06 | 2024-08-14T21:28:45 | styletron | styletron/styletron | 3,317 | 886 |
```xml
export interface ISetUtils {
/**
* @param {Set<T>} set
* @returns {T | undefined}
*/
getLastElement <T> (set: Set<T>): T | undefined;
}
``` | /content/code_sandbox/src/interfaces/utils/ISetUtils.ts | xml | 2016-05-09T08:16:53 | 2024-08-16T19:43:07 | javascript-obfuscator | javascript-obfuscator/javascript-obfuscator | 13,358 | 47 |
```xml
import {
Environment,
FetchFunction,
fetchQuery,
graphql,
Network,
RecordSource,
Store,
} from 'relay-runtime'
import { GetServerSideProps } from 'next'
import { pagesBQuery } from '../__generated__/pagesBQuery.graphql'
type Props = { greeting: string }
export default function Index({ greeting }:... | /content/code_sandbox/test/integration/relay-graphql-swc-multi-project/project-b/pages/index.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 326 |
```xml
set ORIG; # origins
set DEST; # destinations
param supply {ORIG} >= 0; # amounts available at origins
param demand {DEST} >= 0; # amounts required at destinations
check: sum {i in ORIG} supply[i] = sum {j in DEST} demand[j];
param rate {ORIG,DEST} >= 0; # base shipment costs per unit
param limit ... | /content/code_sandbox/examples/pyomo/amplbook2/nltransb.mod | xml | 2016-05-27T19:33:45 | 2024-08-16T08:09:25 | pyomo | Pyomo/pyomo | 1,945 | 232 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.0 -->
<interface>
<requires lib="gtk+" version="3.10"/>
<object class="GtkAdjustment" id="adjNumOfProfiles">
<property name="lower">2</property>
<property name="upper">10</property>
<property name="value">2</property>
<prop... | /content/code_sandbox/glade/ae/recent_list.glade | xml | 2016-04-24T07:57:04 | 2024-08-12T02:37:39 | sc-controller | kozec/sc-controller | 1,522 | 501 |
```xml
//
//
// Microsoft Bot Framework: path_to_url
//
// Bot Framework Emulator Github:
// path_to_url
//
// All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software witho... | /content/code_sandbox/packages/app/client/src/ui/shell/mdi/tabbedDocument/index.ts | xml | 2016-11-11T23:15:09 | 2024-08-16T12:45:29 | BotFramework-Emulator | microsoft/BotFramework-Emulator | 1,803 | 302 |
```xml
import { IInvitation } from './IInvitation';
import { IExternalUser } from './IExternalUser';
export interface IInvitationManagerState {
loading: boolean;
error: string;
invitation: IInvitation;
signedIn: boolean;
sendInvitationMessage: boolean;
redirectUrl: string;
displayName: string;
emailAdd... | /content/code_sandbox/samples/react-invitation-manager/src/webparts/invitationManager/components/IInvitationManagerState.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 101 |
```xml
import type { Action } from 'redux';
import { type WithMeta, withMetaFactory } from './meta';
export type SettingsMeta = { settings: true };
export type WithSettingsAction<A = Action> = WithMeta<SettingsMeta, A>;
export const withSettings = withMetaFactory<SettingsMeta>({ settings: true });
export const isSe... | /content/code_sandbox/packages/pass/store/actions/enhancers/settings.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 103 |
```xml
import React from 'react';
import { BrowserRouter as Router } from 'react-router-dom';
import { render } from '../../test/test-react-testing-library';
import Link from './Link';
describe('<Link /> component', () => {
test('should render the component in default state', () => {
const { container } = rende... | /content/code_sandbox/packages/ui-components/src/components/Link/Link.test.tsx | xml | 2016-04-15T16:21:12 | 2024-08-16T09:38:01 | verdaccio | verdaccio/verdaccio | 16,189 | 150 |
```xml
import { TypeORMError } from "./TypeORMError"
/**
* Thrown when consumer tries to connect when he already connected.
*/
export class CannotConnectAlreadyConnectedError extends TypeORMError {
constructor(connectionName: string) {
super(
`Cannot create a "${connectionName}" connection be... | /content/code_sandbox/src/error/CannotConnectAlreadyConnectedError.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 74 |
```xml
import { render, screen, within } from "@testing-library/react";
import userEvent from "@testing-library/user-event";
import React from "react";
import {
MultiTabLogViewer,
MultiTabLogViewerTabDetails,
} from "../../common/MultiTabLogViewer";
import { TEST_APP_WRAPPER } from "../../util/test-utils";
import {... | /content/code_sandbox/python/ray/dashboard/client/src/pages/serve/ServeEntityLogViewer.component.test.tsx | xml | 2016-10-25T19:38:30 | 2024-08-16T19:46:34 | ray | ray-project/ray | 32,670 | 2,339 |
```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 classNames from "classnames";
import * as React from "react";
import { type Alignment, AnchorButton, Button, Code, Divider... | /content/code_sandbox/packages/docs-app/src/examples/core-examples/buttonsExample.tsx | xml | 2016-10-25T21:17:50 | 2024-08-16T15:14:48 | blueprint | palantir/blueprint | 20,593 | 1,336 |
```xml
import { Html, Head, Main, NextScript } from 'next/document';
export default function Document() {
return (
<Html lang="en">
<Head />
<body>
<Main />
<NextScript />
</body>
</Html>
);
}
``` | /content/code_sandbox/examples/with-nextjs-pages-and-less/src/pages/_document.tsx | xml | 2016-06-06T02:27:46 | 2024-08-16T16:41:54 | rsuite | rsuite/rsuite | 8,263 | 61 |
```xml
import { foldTo } from 'fractal-objects';
import { merge } from 'lodash';
import { DocumentNode } from 'graphql';
import { PubSub } from 'graphql-subscriptions';
import { Express } from 'express';
import { ConnectionParamsOptions } from 'subscriptions-transport-ws';
import { IResolvers } from 'graphql-tools';
i... | /content/code_sandbox/modules/module/server-ts/ServerModule.ts | xml | 2016-09-08T16:44:45 | 2024-08-16T06:17:16 | apollo-universal-starter-kit | sysgears/apollo-universal-starter-kit | 1,684 | 997 |
```xml
/* eslint-disable no-underscore-dangle */
import { describe, expect, it } from 'vitest';
import { dedent } from 'ts-dedent';
import { formatCsf, loadCsf } from './CsfFile';
import type { EnrichCsfOptions } from './enrichCsf';
import { enrichCsf, extractSource } from './enrichCsf';
expect.addSnapshotSerializer... | /content/code_sandbox/code/core/src/csf-tools/enrichCsf.test.ts | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 4,773 |
```xml
<clickhouse>
<merge_tree>
<wait_for_unique_parts_send_before_shutdown_ms>3000</wait_for_unique_parts_send_before_shutdown_ms>
</merge_tree>
</clickhouse>
``` | /content/code_sandbox/tests/config/config.d/enable_wait_for_shutdown_replicated_tables.xml | xml | 2016-06-02T08:28:18 | 2024-08-16T18:39:33 | ClickHouse | ClickHouse/ClickHouse | 36,234 | 42 |
```xml
import { css, unsafeCSS } from 'lit';
import { customElement } from 'lit/decorators.js';
import { DrawerBase } from '@material/mwc-drawer/mwc-drawer-base';
import { styles as baseStyles } from '@material/mwc-drawer/mwc-drawer.css';
import styles from './drawer.scss?inline';
declare global {
interface HTMLElem... | /content/code_sandbox/libs/components/src/drawer/drawer.ts | xml | 2016-07-11T23:30:52 | 2024-08-15T15:20:45 | covalent | Teradata/covalent | 2,228 | 138 |
```xml
// See LICENSE.txt for license information.
import React, {useCallback} from 'react';
import {useIntl} from 'react-intl';
import {Navigation} from 'react-native-navigation';
import {logout} from '@actions/remote/session';
import OptionItem from '@components/option_item';
import {Screens} from '@constants';
imp... | /content/code_sandbox/app/screens/home/account/components/options/logout/index.tsx | xml | 2016-10-07T16:52:32 | 2024-08-16T12:08:38 | mattermost-mobile | mattermost/mattermost-mobile | 2,155 | 400 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="path_to_url" xmlns:xsi="path_to_url" xmlns:xsd="path_to_url" xmlns:flowable="path_to_url" xmlns:bpmndi="path_to_url" xmlns:omgdc="path_to_url" xmlns:omgdi="path_to_url" typeLanguage="path_to_url" expressionLanguage="path_to_url" targetNamespace="path_to_... | /content/code_sandbox/modules/flowable-http/src/test/resources/org/flowable/http/bpmn/HttpServiceTaskTest.testRequestTimeout3.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 957 |
```xml
import { program } from "commander";
import { getPrivateKey } from "@probot/get-private-key";
import type { Options as PinoOptions } from "@probot/pino";
import type { Options } from "../types.js";
export function readCliOptions(
argv: string[],
): Options & PinoOptions & { args: string[] } {
program
.... | /content/code_sandbox/src/bin/read-cli-options.ts | xml | 2016-09-16T20:56:13 | 2024-08-16T13:00:34 | probot | probot/probot | 8,862 | 717 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="path_to_url"
android:layout_width="match_parent"
android:layout_height="250dp"
android:background="?attr/colorPrimary"
android:orientation="vertical"
android:theme="@style/ThemeOverlay.AppCompat.Dark">
<ImageView
... | /content/code_sandbox/app/src/main/res/layout/nav_header_main.xml | xml | 2016-05-09T05:55:34 | 2024-07-26T07:43:48 | T-MVP | north2016/T-MVP | 2,709 | 219 |
```xml
import { makeEnvironmentProviders } from '@angular/core';
import { IDENTITY_ROUTE_PROVIDERS } from './';
export function provideIdentityConfig() {
return makeEnvironmentProviders([IDENTITY_ROUTE_PROVIDERS]);
}
``` | /content/code_sandbox/npm/ng-packs/packages/identity/config/src/providers/identity-config.provider.ts | xml | 2016-12-03T22:56:24 | 2024-08-16T16:24:05 | abp | abpframework/abp | 12,657 | 43 |
```xml
// The program should produce a TSError
thisIsNotADeclaredVariableAndShouldCreateATSError
``` | /content/code_sandbox/tests/integration/nodejs/omit-stacktrace/ts-error/index.ts | xml | 2016-10-31T21:02:47 | 2024-08-16T19:47:04 | pulumi | pulumi/pulumi | 20,743 | 24 |
```xml
import { chartRenderClearAnimation as render } from '../plots/api/chart-render-clear-animation';
import { createNodeGCanvas } from './utils/createNodeGCanvas';
import './utils/useSnapshotMatchers';
// Skip it, because debounce of chart.render.
describe.skip('chart.render', () => {
const canvas = createNodeGCa... | /content/code_sandbox/__tests__/integration/api-chart-render-clear-animation.spec.ts | xml | 2016-05-26T09:21:04 | 2024-08-15T16:11:17 | G2 | antvis/G2 | 12,060 | 197 |
```xml
import {css, CSSResult, html, LitElement, PropertyValues, TemplateResult, unsafeCSS} from "lit";
import {customElement, property, state} from "lit/decorators.js";
import {Asset, AssetModelUtil, Attribute, AttributeRef} from "@openremote/model";
import {style} from "../style";
import {when} from "lit/directives/w... | /content/code_sandbox/ui/component/or-dashboard-builder/src/panels/attributes-panel.ts | xml | 2016-02-03T11:14:02 | 2024-08-16T12:45:50 | openremote | openremote/openremote | 1,184 | 2,266 |
```xml
export * from './Text';
export * from './Text.types';
export * from './renderText';
export * from './useText';
export * from './useTextStyles.styles';
``` | /content/code_sandbox/packages/react-components/react-text/library/src/components/Text/index.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 37 |
```xml
import { HttpRequest } from '@angular/common/http';
import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing';
import { TestBed, waitForAsync } from '@angular/core/testing';
import {RouterTestingModule} from '@angular/router/testing';
import {TranslateLoader, TranslateModule, ... | /content/code_sandbox/ui/src/app/views/workflow/run/node/artifact/artifact.list.spec.ts | xml | 2016-10-11T08:28:23 | 2024-08-16T01:55:31 | cds | ovh/cds | 4,535 | 622 |
```xml
import { HttpClient, HttpParams } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { ProjectIntegration } from 'app/model/integration.model';
import { Schema } from 'app/model/json-schema.model';
import { Key } from 'app/model/keys.model';
import { LoadOpts, Project, ProjectReposi... | /content/code_sandbox/ui/src/app/service/project/project.service.ts | xml | 2016-10-11T08:28:23 | 2024-08-16T01:55:31 | cds | ovh/cds | 4,535 | 2,023 |
```xml
import { memo, useEffect } from 'react';
import { DragMoveContainer, TableRow } from '@proton/components';
import { isEquivalent } from '@proton/shared/lib/helpers/object';
import clsx from '@proton/utils/clsx';
import shallowEqual from '@proton/utils/shallowEqual';
import useDragAndDrop from '../hooks/useDrag... | /content/code_sandbox/packages/drive-store/components/FileBrowser/ListView/ItemRow.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 726 |
```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.
-->
<androidx.coordinatorlayout.widget.CoordinatorLayout
xmlns:android="path_to_url"
xmlns:ap... | /content/code_sandbox/catalog/java/io/material/catalog/topappbar/res/layout/cat_topappbar_scrolling_fragment.xml | xml | 2016-12-05T16:11:29 | 2024-08-16T17:51:42 | material-components-android | material-components/material-components-android | 16,176 | 332 |
```xml
import { ReversePipe } from './reverse';
describe('ReversePipe', () => {
let pipe: ReversePipe;
beforeEach(() => {
pipe = new ReversePipe();
});
it('should not do anything when not an array or string', () => {
expect(pipe.transform(null)).toEqual(null);
expect(pipe.transform(undefined)).to... | /content/code_sandbox/src/ng-pipes/pipes/array/reverse.spec.ts | xml | 2016-11-24T22:03:44 | 2024-08-15T12:52:49 | ngx-pipes | danrevah/ngx-pipes | 1,589 | 366 |
```xml
import { XmlComponent } from "./xml-components";
import { Document, IDocumentOptions } from "./document";
import { Footer } from "./footer/footer";
import { FootNotes } from "./footnotes";
import { Header } from "./header/header";
import { Relationships } from "./relationships";
export interface IViewWrapper {
... | /content/code_sandbox/src/file/document-wrapper.ts | xml | 2016-03-26T23:43:56 | 2024-08-16T13:02:47 | docx | dolanmiu/docx | 4,139 | 169 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
<file source-language="en" target-language="sl" datatype="plaintext" original="plugins.en.xlf">
<body>
<trans-unit id="vFSLi54" resname="plugin.none_installed">
<source>plugin.none_insta... | /content/code_sandbox/translations/plugins.sl.xlf | xml | 2016-10-20T17:06:34 | 2024-08-16T18:27:30 | kimai | kimai/kimai | 3,084 | 189 |
```xml
import * as karma from 'karma';
declare module 'karma' {
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
interface Config extends karma.ConfigOptions {}
interface ConfigOptions {
detached?: boolean;
configFile?: string;
}
interface Reporter {
adapters: any[];
}
}
//# s... | /content/code_sandbox/packages/karma-runner/typings/karmaTypes.d.ts | xml | 2016-02-12T13:14:28 | 2024-08-15T18:38:25 | stryker-js | stryker-mutator/stryker-js | 2,561 | 77 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="path_to_url" android:versionName="1.0" package="com.companyname.skiasharpsample" android:versionCode="1">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="33" />
<application android:allowBackup="true" android:icon="@mipmap/ic_launch... | /content/code_sandbox/samples/Basic/Android/SkiaSharpSample/Properties/AndroidManifest.xml | xml | 2016-02-22T17:54:43 | 2024-08-16T17:53:42 | SkiaSharp | mono/SkiaSharp | 4,347 | 123 |
```xml
import fs from 'fs';
import path from 'path';
import { Readable, Writable } from 'stream';
import pako from 'pako';
import { parseChunked, stringifyStream, TReplacer } from '@discoveryjs/json-ext';
import HTMLWriter, { encodeBinaryJSON, Options } from './';
export function waitFinished(stream: Readable | Writab... | /content/code_sandbox/packages/report-writer/src/utils.ts | xml | 2016-11-30T14:09:21 | 2024-08-15T18:52:57 | statoscope | statoscope/statoscope | 1,423 | 700 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Nextcloud - Android Client
~
-->
<resources>
<color name="list_item_lastmod_and_filesize_text">@color/secondary_text_color</color>
<color name="black">#000000</color>
<color name="white">#ffffff</color>
<color name="white_helper_text">#B3FFFFFF</c... | /content/code_sandbox/app/src/main/res/values/colors.xml | xml | 2016-06-06T21:23:36 | 2024-08-16T18:22:36 | android | nextcloud/android | 4,122 | 841 |
```xml
import { createReadableStreamWrapper } from '@mattiasbuelens/web-streams-adapter';
import { ReadableStream } from 'web-streams-polyfill';
import { retryHandler } from '@proton/shared/lib/api/helpers/retryHandler';
import { getClientID } from '@proton/shared/lib/apps/helper';
import { HTTP_STATUS_CODE } from '@p... | /content/code_sandbox/packages/drive-store/store/_downloads/download/downloadBlock.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 719 |
```xml
<!--
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~
~ path_to_url
~
~ Unless required by applicable law or agreed to in writing, software
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expre... | /content/code_sandbox/test/e2e/sql/src/test/resources/cases/dml/dataset/readwrite_splitting/delete_with_sharding_value.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 4,508 |
```xml
<local:ProfileTabPage x:Class="Telegram.Views.Profile.ProfileChannelsTabPage"
xmlns="path_to_url"
xmlns:d="path_to_url"
xmlns:x="path_to_url"
xmlns:mc="path_to_url"
xmlns:controls="using:Telegram.Control... | /content/code_sandbox/Telegram/Views/Profile/ProfileChannelsTabPage.xaml | xml | 2016-05-23T09:03:33 | 2024-08-16T16:17:48 | Unigram | UnigramDev/Unigram | 3,744 | 640 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<argument name="argument_name" is_required="0" is_array="0">
<description>argument description</description>
<defaults>
<default>default_value</default>
</defaults>
</argument>
``` | /content/code_sandbox/samples/development-frameworks/laravel/vendor/symfony/console/Tests/Fixtures/input_argument_3.xml | xml | 2016-03-11T21:42:56 | 2024-08-16T09:31:00 | sql-server-samples | microsoft/sql-server-samples | 9,855 | 61 |
```xml
/* eslint-disable */
// @ts-nocheck
var xt=new Uint8Array([0,0,74,83,79,78,88,76]),at=0,Ct=255,Yt=65535,Pt=16777215,lt=268435455,St=1073741823;var $=4294967295,Vt=-127,Bt=127,Dt=-32767,Lt=32767,Gt=-8388607,jt=8388607,vt=-2147483647,Xt=2147483647,qt=127,Ft=16383,Kt=2097151,tt=0,zt=1,G=2,b=4,L=8,E=16,K=32,z=64,y=1... | /content/code_sandbox/packages/report-writer/src/jsonxl.min.ts | xml | 2016-11-30T14:09:21 | 2024-08-15T18:52:57 | statoscope | statoscope/statoscope | 1,423 | 8,040 |
```xml
import { renderTableHeader_unstable } from '../TableHeader/renderTableHeader';
import type { DataGridHeaderState } from './DataGridHeader.types';
/**
* Render the final JSX of DataGridHeader
*/
export const renderDataGridHeader_unstable = (state: DataGridHeaderState) => {
return renderTableHeader_unstable(s... | /content/code_sandbox/packages/react-components/react-table/library/src/components/DataGridHeader/renderDataGridHeader.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 73 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="path_to_url">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Gaming.Xbox.Scarlett.x64">
<Configuration>Debug</Configuration>
<Platform>Gaming.Xbox.Scarlett.x64</Plat... | /content/code_sandbox/DirectXTK_GDK_2019.vcxproj | xml | 2016-06-17T00:54:50 | 2024-08-16T11:50:38 | DirectXTK12 | microsoft/DirectXTK12 | 1,473 | 10,856 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="path_to_url"
android:id="@+id/ll_foot_view"
android:layout_width="match_parent"
android:layout_height="0dp"
android:gravity="center_horizontal"
android:orientation="vertical">... | /content/code_sandbox/app/src/main/res/layout/layout_pull_scrollview_foot.xml | xml | 2016-08-19T09:59:38 | 2024-07-21T15:24:26 | MvpApp | Rukey7/MvpApp | 2,342 | 208 |
```xml
export interface Question {
id?: number
title?: string
type: string
}
``` | /content/code_sandbox/test/functional/repository/basic-methods/model/Question.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 21 |
```xml
import React from 'react';
import { Popover, Button, Input, FormControl, Box } from 'native-base';
export function Example() {
const initialFocusRef = React.useRef(null);
return (
<Box w="100%" alignItems="center">
<Popover
initialFocusRef={initialFocusRef}
trigger={(triggerProps) ... | /content/code_sandbox/example/storybook/stories/components/composites/Popover/RefEg.tsx | xml | 2016-04-15T11:37:23 | 2024-08-14T16:16:44 | NativeBase | GeekyAnts/NativeBase | 20,132 | 321 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<!--
~ All Rights Reserved.
-->
<merge xmlns:android="path_to_url">
<!--
~ Unable to use a SwipeRefreshLayout here, because web page can set an onTouchListener for
~ custom scrolling, but SwipeRefreshLayout has no knowledge of this and will intercept ... | /content/code_sandbox/app/src/main/res/layout/webview_activity.xml | xml | 2016-02-01T13:44:19 | 2024-08-15T05:23:34 | Douya | zhanghai/Douya | 4,549 | 253 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="path_to_url"
xmlns:tools="path_to_url"
xmlns:app="path_to_url"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
<FrameLayout
android:id="@+id/layou... | /content/code_sandbox/app/src/main/res/layout/item_play_list_footer.xml | xml | 2016-09-13T14:38:32 | 2024-08-16T12:30:58 | StylishMusicPlayer | ryanhoo/StylishMusicPlayer | 3,699 | 368 |
```xml
export * from './components/Link/index';
``` | /content/code_sandbox/packages/react-components/react-link/library/src/Link.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 10 |
```xml
import { mount, ReactWrapper } from 'enzyme';
import * as React from 'react';
import {
IDatasetBlobDiff,
IPathDatasetComponentBlob,
IPathDatasetBlobDiff,
IPathDatasetBlobDiffData,
} from 'shared/models/Versioning/Blob/DatasetBlob';
import {
DiffType,
elementDiffMakers,
} from 'shared/models/Version... | /content/code_sandbox/webapp/client/src/features/versioning/compareCommits/view/DiffView/DatasetDiffView/__tests__/DatasetDiffView.test.tsx | xml | 2016-10-19T01:07:26 | 2024-08-14T03:53:55 | modeldb | VertaAI/modeldb | 1,689 | 1,886 |
```xml
export type Role = {
uuid: string
name: string
}
``` | /content/code_sandbox/packages/responses/src/Domain/Temp/Role.ts | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 17 |
```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 UNICODE_MAX = require( './index' );
// TESTS //
// The variable is a number...
{
// eslint-disable-next... | /content/code_sandbox/lib/node_modules/@stdlib/constants/unicode/max/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 97 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina3_5" orienta... | /content/code_sandbox/iOSClient/Select/NCSelectCommandViewSelect+CreateFolder.xib | xml | 2016-12-01T11:50:14 | 2024-08-16T18:43:54 | ios | nextcloud/ios | 1,920 | 1,664 |
```xml
import { IModels } from '../../connectionResolver';
import { CUSTOM_DATE_FREQUENCY_TYPES, DATERANGE_BY_TYPES, DATERANGE_TYPES, DIMENSION_OPTIONS, INBOX_TAG_TYPE, INTEGRATION_TYPES, STATUS_KIND, STATUS_TYPES } from '../constants';
import {
buildMatchFilter,
getDimensionPipeline,
getIntegrationsKinds
}... | /content/code_sandbox/packages/plugin-inbox-api/src/reports/template/chart.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 7,724 |
```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,
forwardRef,
HostBinding,
Input,
OnInit,
QueryList,
ViewChildren,
ViewEncapsulation
} fr... | /content/code_sandbox/ui-ngx/src/app/modules/home/pages/scada-symbol/metadata-components/scada-symbol-properties.component.ts | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 1,417 |
```xml
export const initiateSessionRecovery = () => ({
url: 'account/v1/recovery/session',
method: 'POST',
});
export const abortSessionRecovery = () => ({
url: 'account/v1/recovery/session/abort',
method: 'POST',
});
export const consumeSessionRecovery = (data: {
UserKeys: {
ID: string;
... | /content/code_sandbox/packages/shared/lib/api/sessionRecovery.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 175 |
```xml
<!--
~ Nextcloud - Android Client
~
-->
<vector xmlns:android="path_to_url"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="#000"
android:pathData="M14 2H6C4.9 2 4 2.9 4 4V20C4 21.1 4.9 22 6 22H18C... | /content/code_sandbox/app/src/main/res/drawable/ic_export.xml | xml | 2016-06-06T21:23:36 | 2024-08-16T18:22:36 | android | nextcloud/android | 4,122 | 202 |
```xml
// See LICENSE.txt for license information.
import {deleteCategory, storeCategories} from '@actions/local/category';
import {fetchCategories} from '@actions/remote/category';
import DatabaseManager from '@database/manager';
import {queryCategoriesById} from '@queries/servers/categories';
import {logError} from ... | /content/code_sandbox/app/actions/websocket/category.ts | xml | 2016-10-07T16:52:32 | 2024-08-16T12:08:38 | mattermost-mobile | mattermost/mattermost-mobile | 2,155 | 691 |
```xml
<resources xmlns:tools="path_to_url">
<!-- app. -->
<string name="app_name">Hava Durumu</string>
<string name="geometric_weather">Geometrik Hava Durumu</string>
<!-- keyword. -->
<string name="current_location">Bulunduunuz konumu</string>
<string name="default_location">varsaylan konum</... | /content/code_sandbox/app/src/main/res/values-tr/strings.xml | xml | 2016-02-21T04:39:19 | 2024-08-16T13:35:51 | GeometricWeather | WangDaYeeeeee/GeometricWeather | 2,420 | 2,144 |
```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/conversation/ConversationEphemeralHandler.ts | xml | 2016-07-21T15:34:05 | 2024-08-16T11:40:13 | wire-webapp | wireapp/wire-webapp | 1,125 | 2,454 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="3.0" toolsVersion="13196" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none" colorMatched="YES">
<dependencies>
<deployment version="1792" identifier="iOS"/>
<plugIn ... | /content/code_sandbox/Pods/UMengSocial/Umeng_SDK_Social_iOS_ARM64_4.4/UMSocial_Sdk_4.4/SocialSDKXib/UMShareEditViewControlleriPad.xib | xml | 2016-01-06T10:41:47 | 2024-08-14T06:31:30 | MobileProject | wujunyang/MobileProject | 2,036 | 2,406 |
```xml
import { v4 as uuid } from 'uuid';
import { useReducer, useState } from 'react';
import { Environment } from '@/react/portainer/environments/types';
import { EdgeScriptForm } from '@/react/edge/components/EdgeScriptForm';
import { CommandTab } from '@/react/edge/components/EdgeScriptForm/scripts';
import { OS, ... | /content/code_sandbox/app/react/portainer/environments/wizard/EnvironmentsCreationView/shared/EdgeAgentTab/EdgeAgentTab.tsx | xml | 2016-05-19T20:15:28 | 2024-08-16T19:15:14 | portainer | portainer/portainer | 30,083 | 468 |
```xml
<project xmlns="path_to_url" xmlns:xsi="path_to_url" xsi:schemaLocation="path_to_url path_to_url">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.carbondata</groupId>
<artifactId>carbondata-parent</artifactId>
<version>2.3.2-SNAPSHOT</version>
<relativePath>../../pom.xml</r... | /content/code_sandbox/sdk/sdk/pom.xml | xml | 2016-06-28T07:00:06 | 2024-08-08T08:07:55 | carbondata | apache/carbondata | 1,430 | 1,870 |
```xml
import type { PayloadAction } from '@reduxjs/toolkit';
import type { Draft } from 'immer';
import { canonicalizeEmail } from '@proton/shared/lib/helpers/email';
import { toMap } from '@proton/shared/lib/helpers/object';
import type { ContactEmail, ContactGroup } from '@proton/shared/lib/interfaces/contacts';
i... | /content/code_sandbox/applications/mail/src/app/store/contacts/contactsReducers.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 530 |
```xml
import React, { useState, useEffect, useRef } from 'react'
import { useRouter } from '../../cloud/lib/router'
import { ThemeProvider } from 'styled-components'
import { useGlobalData } from '../../cloud/lib/stores/globalData'
import { getGlobalData } from '../../cloud/api/global'
import { useEffectOnce } from 'r... | /content/code_sandbox/src/mobile/components/Router.tsx | xml | 2016-11-19T14:30:34 | 2024-08-16T03:13:45 | BoostNote-App | BoostIO/BoostNote-App | 3,745 | 2,698 |
```xml
import { Accessibility } from '../../types';
/**
* @description
* toolbar menu divider is used only visualy to separate and distinguish groups of menuitems.
*
* @specification
* Adds role='presentation'.
*/
export const toolbarMenuDividerBehavior: Accessibility<ToolbarMenuDividerBehaviorProps> = () => ({
... | /content/code_sandbox/packages/fluentui/accessibility/src/behaviors/Toolbar/toolbarMenuDividerBehavior.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 93 |
```xml
import { PrimaryGeneratedColumn } from "../../../../src/decorator/columns/PrimaryGeneratedColumn"
import { Entity } from "../../../../src/decorator/entity/Entity"
import { Column } from "../../../../src/decorator/columns/Column"
@Entity()
export class Company {
@PrimaryGeneratedColumn()
id: number
... | /content/code_sandbox/test/github-issues/3120/entity/Company.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 76 |
```xml
import parseTitle from "./parseTitle";
it("should trim the title", () => {
expect(parseTitle(`# Lots of space `).title).toBe("Lots of space");
});
it("should extract first title", () => {
expect(parseTitle(`# Title one\n# Title two`).title).toBe("Title one");
});
it("should parse emoji if first chara... | /content/code_sandbox/shared/utils/parseTitle.test.ts | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 157 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_launcher_name">Calendar_debug</string>
</resources>
``` | /content/code_sandbox/app/src/debug/res/values/strings.xml | xml | 2016-01-26T21:02:54 | 2024-08-15T00:35:32 | Simple-Calendar | SimpleMobileTools/Simple-Calendar | 3,512 | 35 |
```xml
import React from 'react';
import { Tabs } from '../list/ContractForm';
import { __ } from 'coreui/utils';
import { IContract } from '../../types';
import SavingInfo from './SavingInfo';
import TransactionsInfo from './TransactionsInfo';
interface IProps {
contract: IContract;
}
function PolarisData(props: I... | /content/code_sandbox/packages/plugin-savings-ui/src/contracts/components/polaris/index.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 146 |
```xml
import React from 'react';
type IconProps = React.SVGProps<SVGSVGElement>;
export declare const IcUserCircle: (props: IconProps) => React.JSX.Element;
export {};
``` | /content/code_sandbox/packages/icons/lib/icUserCircle.d.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 43 |
```xml
export * from './Toast';
export * from './types';
``` | /content/code_sandbox/src/components/composites/Toast/index.ts | xml | 2016-04-15T11:37:23 | 2024-08-14T16:16:44 | NativeBase | GeekyAnts/NativeBase | 20,132 | 13 |
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<root>
<section name="Keyword">
<name>break</name>
<name>do</name>
<name>else</name>
<name>elseif</name>
<name>end</name>
<name>false</name>
<name>for</name>
<name>function</name>
<name>if</name>
... | /content/code_sandbox/3rdparty/QCodeEditor/resources/languages/lua.xml | xml | 2016-03-01T21:05:42 | 2024-08-16T08:37:27 | PlotJuggler | facontidavide/PlotJuggler | 4,294 | 382 |
```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:
'<g><path d="M... | /content/code_sandbox/packages/core/src/icon/shapes/detail-collapse.ts | xml | 2016-09-29T17:24:17 | 2024-08-11T17:06:15 | clarity | vmware-archive/clarity | 6,431 | 302 |
```xml
import { format, fromUnixTime } from 'date-fns';
import { dateLocale } from '@proton/shared/lib/i18n';
import type { Referral } from '@proton/shared/lib/interfaces';
import { ReferralState } from '@proton/shared/lib/interfaces';
interface Props {
referral: Referral;
}
const DateCell = ({ referral }: Props... | /content/code_sandbox/packages/components/containers/referral/rewards/table/DateCell.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 232 |
```xml
export class Chunk {
id: string;
payload: Uint8Array;
}
``` | /content/code_sandbox/libs/importer/src/importers/lastpass/access/models/chunk.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 18 |
```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/ALC897/Platforms23.xml | xml | 2016-03-07T20:45:58 | 2024-08-14T08:57:03 | AppleALC | acidanthera/AppleALC | 3,420 | 2,018 |
```xml
import * as React from 'react';
import { useState } from 'react';
import {
CoreAdminContext,
RecordContextProvider,
ResourceContextProvider,
ResourceDefinitionContextProvider,
ListContextProvider,
useRecordContext,
I18nContextProvider,
Resource,
TestMemoryRouter,
} from 'ra-c... | /content/code_sandbox/packages/ra-ui-materialui/src/field/ReferenceField.stories.tsx | xml | 2016-07-13T07:58:54 | 2024-08-16T18:32:27 | react-admin | marmelab/react-admin | 24,624 | 3,884 |
```xml
import fs from 'fs-extra';
import { join, resolve } from 'path';
import _execa, { ExecaChildProcess, type Options } from 'execa';
import fetch, { type RequestInit, type Response } from 'node-fetch';
import retry from 'async-retry';
import { satisfies } from 'semver';
import stripAnsi from 'strip-ansi';
import { ... | /content/code_sandbox/packages/cli/test/dev/utils.ts | xml | 2016-09-09T01:12:08 | 2024-08-16T17:39:45 | vercel | vercel/vercel | 12,545 | 4,478 |
```xml
import { CartesianChart, IChildProps, IModifiedCartesianChartProps } from '../../components/CommonComponents/index';
import { IAccessibilityProps, IHeatMapChartData, IHeatMapChartDataPoint } from '../../types/IDataPoint';
import { scaleLinear as d3ScaleLinear } from 'd3-scale';
import { classNamesFunction, getId... | /content/code_sandbox/packages/react-charting/src/components/HeatMapChart/HeatMapChart.base.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 7,000 |
```xml
import { DebouncedFunc } from 'lodash'
import { Editor, Node, Path, Point, Range, Text, Transforms } from 'slate'
import { ReactEditor } from '../../plugin/react-editor'
import {
applyStringDiff,
mergeStringDiffs,
normalizePoint,
normalizeRange,
normalizeStringDiff,
StringDiff,
targetRange,
TextD... | /content/code_sandbox/packages/slate-react/src/hooks/android-input-manager/android-input-manager.ts | xml | 2016-06-18T01:52:42 | 2024-08-16T18:43:42 | slate | ianstormtaylor/slate | 29,492 | 5,240 |
```xml
import BoardSettings from "./settings/boards/routes";
import PurchaseRotes from "./purchases/routes";
import React from "react";
const routes = () => {
return (
<>
<PurchaseRotes />
<BoardSettings />
</>
);
};
export default routes;
``` | /content/code_sandbox/packages/plugin-purchases-ui/src/routes.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 58 |
```xml
import type { RxCollection, RxDatabase, RxDocumentData, RxLocalDocument, RxLocalDocumentData } from '../../types/index.d.ts';
declare const RxDocumentParent: any;
declare class RxLocalDocumentClass<DocData = any> extends RxDocumentParent {
readonly id: string;
readonly parent: RxCollection | RxDatabase;
... | /content/code_sandbox/dist/types/plugins/local-documents/rx-local-document.d.ts | xml | 2016-12-02T19:34:42 | 2024-08-16T15:47:20 | rxdb | pubkey/rxdb | 21,054 | 190 |
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "path_to_url" >
<mapper namespace="com.megagao.production.ssm.mapper.TechnologyRequirementMapper" >
<resultMap id="BaseResultMap" type="com.megagao.production.ssm.domain.TechnologyRequirement" >
<id column=... | /content/code_sandbox/src/main/java/com/megagao/production/ssm/mapper/TechnologyRequirementMapper.xml | xml | 2016-09-14T07:36:31 | 2024-08-01T03:17:34 | production_ssm | megagao/production_ssm | 1,070 | 2,697 |
```xml
import { parseRelativeUrl } from './parse-relative-url'
describe('relative urls', () => {
it('should return valid pathname', () => {
expect(parseRelativeUrl('/').pathname).toBe('/')
expect(parseRelativeUrl('/abc').pathname).toBe('/abc')
})
it('should throw for invalid pathname', () => {
expec... | /content/code_sandbox/packages/next/src/shared/lib/router/utils/parse-relative-url.test.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 165 |
```xml
import { AsyncIterableX } from '../../asynciterable/asynciterablex.js';
import { onErrorResumeNext } from '../../asynciterable/onerrorresumenext.js';
/**
* @ignore
*/
export function onErrorResumeNextProto<TSource>(
this: AsyncIterableX<TSource>,
...args: AsyncIterable<TSource>[]
): AsyncIterableX<TSource... | /content/code_sandbox/src/add/asynciterable-operators/onerrorresumenext.ts | xml | 2016-02-22T20:04:19 | 2024-08-09T18:46:41 | IxJS | ReactiveX/IxJS | 1,319 | 134 |
```xml
import { CommentIcon } from "outline-icons";
import { EditorState } from "prosemirror-state";
import * as React from "react";
import { isMarkActive } from "@shared/editor/queries/isMarkActive";
import { MenuItem } from "@shared/editor/types";
import { Dictionary } from "~/hooks/useDictionary";
export default fu... | /content/code_sandbox/app/editor/menus/readOnly.tsx | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 155 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="path_to_url"
xmlns:app="path_to_url"
xmlns:tools="path_to_url"
android:id="@+id/coordinator_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context... | /content/code_sandbox/app/src/main/res/layout/activity_add_site.xml | xml | 2016-08-08T13:25:41 | 2024-08-15T07:21:04 | H-Viewer | PureDark/H-Viewer | 1,738 | 1,155 |
```xml
import { useState } from 'react';
import { formatTimeDifference, useInterval } from '@utils';
const TimeElapsed = ({ value }: { value: number }) => {
const [timeElapsed, setTimeElapsed] = useState(formatTimeDifference(value));
useInterval(
() => {
setTimeElapsed(formatTimeDifference(value));
... | /content/code_sandbox/src/components/TimeElapsed.tsx | xml | 2016-12-04T01:35:27 | 2024-08-14T21:41:58 | MyCrypto | MyCryptoHQ/MyCrypto | 1,347 | 98 |
```xml
import { c } from 'ttag';
import { Button } from '@proton/atoms';
import type { ModalProps } from '@proton/components';
import { Prompt } from '@proton/components';
const CsvFormatErrorModal = ({ onClose, children, ...rest }: ModalProps) => {
return (
<Prompt
title={c('Title').t`Couldnt... | /content/code_sandbox/packages/components/containers/members/multipleUserCreation/UploadCSVFileButton/CsvFormatErrorModal.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 130 |
```xml
import {
NativeFeatureIdentifier,
FindNativeFeature,
IframeComponentFeatureDescription,
UIFeatureDescriptionTypes,
} from '@standardnotes/features'
import { DoesEditorChangeRequireAlertUseCase } from './DoesEditorChangeRequireAlert'
import { UIFeature } from '@standardnotes/models'
const nativeFeatureAs... | /content/code_sandbox/packages/snjs/lib/Services/ComponentManager/UseCase/DoesEditorChangeRequireAlert.spec.ts | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 826 |
```xml
import { Model } from "mongoose";
import { IModels } from "../../connectionResolver";
import {
activityLogSchema,
IActivityLogDocument,
IActivityLogInput
} from "./definitions/activityLogs";
export interface IActivityLogModel extends Model<IActivityLogDocument> {
addActivityLog(doc: IActivityLogInput): ... | /content/code_sandbox/packages/core/src/db/models/ActivityLogs.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 314 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder.AppleTV.XIB" version="3.0" toolsVersion="15705" targetRuntime="AppleTV" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="appleTV" appearance="light"/>
<dependencies>... | /content/code_sandbox/PopcornTime/UI/tvOS/Views/SidePanelIntroduction.xib | xml | 2016-08-07T10:18:41 | 2024-08-16T13:03:46 | PopcornTimeTV | PopcornTimeTV/PopcornTimeTV | 1,357 | 1,647 |
```xml
import { expect } from '@playwright/test';
import { parallelTest as test } from '../../../../../parallelTest';
import WpAdminPage from '../../../../../pages/wp-admin-page';
/**
* Test that conditioned responsive controls appear when their conditioning control inherits a value from a parent.
*/
test( 'Editor ... | /content/code_sandbox/tests/playwright/sanity/assets/dev/js/editor/controls-conditions.test.ts | xml | 2016-05-30T13:05:46 | 2024-08-16T13:13:10 | elementor | elementor/elementor | 6,507 | 642 |
```xml
import * as React from 'react';
import { createSvgIcon } from '@fluentui/react-icons-mdl2';
const ToDoLogoBottomIcon = createSvgIcon({
svg: ({ classes }) => (
<svg xmlns="path_to_url" viewBox="0 0 2048 2048" className={classes.svg}>
<path d="M894 1082l-353 353h-89L55 1038l397-397 442 441z" />
</... | /content/code_sandbox/packages/react-icons-mdl2-branded/src/components/ToDoLogoBottomIcon.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 127 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.