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
/*
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
*/
import {ActionableNotification} from '@carbon/react';
import {storeStateLocally} from 'modules/utils/localStorage';
type Props = {
type: 'Input' | ... | /content/code_sandbox/operate/client/src/App/ProcessInstance/BottomPanel/VariablePanel/InputOutputMappings/IOMappingInfoBanner.tsx | xml | 2016-03-20T03:38:04 | 2024-08-16T19:59:58 | camunda | camunda/camunda | 3,172 | 208 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<paths>
<external-path
name="external_files"
path="." />
<root-path
name="external_files"
path="/storage/" />
</paths>
``` | /content/code_sandbox/library/src/main/res/xml/provider_paths.xml | xml | 2016-08-05T07:54:00 | 2024-08-08T09:38:05 | ImageSelector | smuyyh/ImageSelector | 1,599 | 54 |
```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/ALC269/Platforms188.xml | xml | 2016-03-07T20:45:58 | 2024-08-14T08:57:03 | AppleALC | acidanthera/AppleALC | 3,420 | 1,752 |
```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 { HttpClient } from '@angular/common/http';
import { Injectable, Inject } from '@angular/core';
import { Router } from '@an... | /content/code_sandbox/maxkey-web-frontend/maxkey-web-app/src/app/service/authn.service.ts | xml | 2016-11-16T03:06:50 | 2024-08-16T09:22:42 | MaxKey | dromara/MaxKey | 1,423 | 1,260 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<navigation xmlns:android="path_to_url"
xmlns:app="path_to_url"
xmlns:tools="path_to_url"
android:id="@+id/nav_graph_kotlin"
app:startDestination="@id/MainFragment">
<fragment
android:id="@+id/MainFragment"
android:name="com.google.fireb... | /content/code_sandbox/firestore/app/src/main/res/navigation/nav_graph_kotlin.xml | xml | 2016-04-26T17:13:27 | 2024-08-16T18:37:58 | quickstart-android | firebase/quickstart-android | 8,797 | 266 |
```xml
import React from 'react';
type IconProps = React.SVGProps<SVGSVGElement>;
export declare const IcBrandTwitter: (props: IconProps) => React.JSX.Element;
export {};
``` | /content/code_sandbox/packages/icons/lib/icBrandTwitter.d.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 43 |
```xml
import { useCallback, useMemo, useEffect, useState, useRef } from 'react';
import { parse, stringify } from 'query-string';
import lodashDebounce from 'lodash/debounce';
import { useNavigate, useLocation } from 'react-router-dom';
import { useStore } from '../../store';
import queryReducer, {
SET_FILTER,
... | /content/code_sandbox/packages/ra-core/src/controller/list/useListParams.ts | xml | 2016-07-13T07:58:54 | 2024-08-16T18:32:27 | react-admin | marmelab/react-admin | 24,624 | 2,535 |
```xml
import { screen } from '@testing-library/react';
import { addDays } from 'date-fns';
import { CHECKLIST_DISPLAY_TYPE } from '@proton/shared/lib/interfaces';
import type { ContextState } from '../../../containers/onboardingChecklist/provider/GetStartedChecklistProvider';
import { useGetStartedChecklist } from '... | /content/code_sandbox/applications/mail/src/app/containers/mailbox/tests/MailboxContainerPlaceholder.test.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 580 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="tensorflow/python/kernel_tests/gradient_correctness_test" tests="1" failures="0" errors="0">
<testcase name="tensorflow/python/kernel_tests/gradient_correctness_test" status="run"></testcase>
</testsuite>
</testsuites>
``` | /content/code_sandbox/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/gradient_correctness_test/test.xml | xml | 2016-03-12T06:26:47 | 2024-08-12T19:21:52 | tensorflow-on-raspberry-pi | samjabrahams/tensorflow-on-raspberry-pi | 2,242 | 81 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definitions"
xmlns="path_to_url"
xmlns:activiti="path_to_url"
targetNamespace="Examples">
<process id="throwSignal">
<startEvent id="start" />
<sequenceFlow sourceRef="start" targetRef="signalEvent" />
<intermediateThrowEvent id="signalEvent... | /content/code_sandbox/modules/flowable-engine/src/test/resources/org/flowable/engine/test/bpmn/event/signal/SignalEventTests.throwAlertSignalExpression.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 157 |
```xml
import { type JestConfigWithTsJest, TS_JS_TRANSFORM_PATTERN } from 'ts-jest'
export default {
displayName: 'extend-ts-jest-compiler-cjs',
transform: {
[TS_JS_TRANSFORM_PATTERN]: [
'ts-jest',
{
tsconfig: '<rootDir>/tsconfig-cjs.spec.json',
},
],
},
} satisfies JestConfigWi... | /content/code_sandbox/e2e/extend-ts-jest/jest-compiler-cjs.config.ts | xml | 2016-08-30T13:47:17 | 2024-08-16T15:05:40 | ts-jest | kulshekhar/ts-jest | 6,902 | 88 |
```xml
<resources>
<string name="app_name">MvpApp</string>
<string name="title_activity_test">TestActivity</string>
<string name="navigation_drawer_open">Open navigation drawer</string>
<string name="navigation_drawer_close">Close navigation drawer</string>
<string name="action_settings">Settings<... | /content/code_sandbox/app/src/main/res/values/strings.xml | xml | 2016-08-19T09:59:38 | 2024-07-21T15:24:26 | MvpApp | Rukey7/MvpApp | 2,342 | 101 |
```xml
<LinearLayout xmlns:android="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_horizontal"
android:orientation="vertical">
<include layout="@layout/toolbar"/>
<ScrollView
android:... | /content/code_sandbox/demo/src/main/res/layout/fragment_register.xml | xml | 2016-02-23T08:54:55 | 2024-08-15T05:22:10 | Fragmentation | YoKeyword/Fragmentation | 9,719 | 531 |
```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/server/Server.ts | xml | 2016-07-21T15:34:05 | 2024-08-16T11:40:13 | wire-webapp | wireapp/wire-webapp | 1,125 | 2,067 |
```xml
export type PassedElementType = 'text' | 'select-one' | 'select-multiple';
//# sourceMappingURL=passed-element-type.d.ts.map
``` | /content/code_sandbox/public/types/src/scripts/interfaces/passed-element-type.d.ts | xml | 2016-03-15T14:02:08 | 2024-08-15T07:08:50 | Choices | Choices-js/Choices | 6,092 | 29 |
```xml
export type Tessellation1D<T> = T[];
export type Tessellation2DNode<T> = [T,T,T]; //just a triangle
export type Tessellation2D<T> = Tessellation2DNode<T>[];
export interface FaceTessellation {
positions: number[];
indices: number[];
normals: number[];
uvs: number[];
}
export interface EdgeTessellatio... | /content/code_sandbox/modules/engine/tessellation.ts | xml | 2016-08-26T21:55:19 | 2024-08-15T01:02:53 | jsketcher | xibyte/jsketcher | 1,461 | 102 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<!--
~ All Rights Reserved.
-->
<vector
xmlns:android="path_to_url"
android:width="36dp"
android:height="36dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="#FFFFFFFF"
android:pathData="M19,6.... | /content/code_sandbox/app/src/main/res/drawable/close_icon_white_36dp.xml | xml | 2016-02-01T13:44:19 | 2024-08-15T05:23:34 | Douya | zhanghai/Douya | 4,549 | 163 |
```xml
import { Location, LocationDescriptorObject, useRouter } from "found";
import React, { useEffect } from "react";
import { useCoralContext } from "coral-framework/lib/bootstrap";
/**
* TransitionControlData allows controlling router transition.
*/
export interface TransitionControlData {
/** allowTransition... | /content/code_sandbox/client/src/core/client/framework/testHelpers/TransitionControl.tsx | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 231 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="path_to_url"
android:orientation="vertical"
android:layout_width="350dp"
android:gravity="right"
android:layout_height="425dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_con... | /content/code_sandbox/app/src/main/res/layout/tinder_swipe_out_msg_view.xml | xml | 2016-08-18T16:21:50 | 2024-07-28T12:22:42 | PlaceHolderView | janishar/PlaceHolderView | 2,109 | 127 |
```xml
import type { Meta } from '@storybook/react';
import type { StoryObj } from '@storybook/react';
import { expect, userEvent, within } from '@storybook/test';
import { cookies, headers } from '@storybook/experimental-nextjs-vite/headers.mock';
import NextHeader from './NextHeader';
export default {
component:... | /content/code_sandbox/code/frameworks/experimental-nextjs-vite/template/stories/NextHeader.stories.tsx | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 364 |
```xml
/**
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
export type RouteProps = {
path: string;
searchParams: URLSearchParams;
};
export declare function getComponentIds(path: string): readonly string[];
export declare func... | /content/code_sandbox/packages/expo-router/build/rsc/router/common.d.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 158 |
```xml
import assert from 'assert';
import tape from 'tape';
import * as fs from 'fs';
import * as path from 'path';
import * as semver from 'semver';
import solc from '../';
import smtchecker from '../smtchecker';
import smtsolver from '../smtsolver';
function collectErrors (solOutput) {
if (solOutput === undefine... | /content/code_sandbox/test/smtcallback.ts | xml | 2016-04-04T13:32:01 | 2024-08-14T13:23:32 | solc-js | ethereum/solc-js | 1,439 | 2,050 |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:test-suite xmlns:ns2="urn:model.allure.qatools.yandex.ru" start="1412949538851" stop="1412949560112" version="1.4.4-SNAPSHOT">
<name>my.company.ManyInfoTest</name>
<description type="text">Testsuite has testcases with many steps
and
many li... | /content/code_sandbox/allure-generator/src/test/resources/allure1data/c32503a8-2981-43da-afa5-e0d82dacfefd-testsuite.xml | xml | 2016-05-27T14:06:05 | 2024-08-16T20:00:51 | allure2 | allure-framework/allure2 | 4,013 | 2,796 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="path_to_url">
<ItemGroup>
<ClCompile Include="NSudoDevilMode.cpp" />
<ClCompile Include="detours.cpp">
<Filter>Detours</Filter>
</ClCompile>
<ClCompile Include="disasm.cpp">
<Filter>Detours</Filter>
</ClCo... | /content/code_sandbox/Source/Native/NSudoDevilMode/NSudoDevilMode.vcxproj.filters | xml | 2016-06-29T07:49:09 | 2024-08-16T15:36:29 | NSudo | M2TeamArchived/NSudo | 1,833 | 201 |
```xml
import Warning from './Warning'
import SyntaxError from './Error'
import { normalizeSourceMap, normalizeSourceMapAfterPostcss } from './utils'
/**
* **PostCSS Loader**
*
* Loads && processes CSS with [PostCSS](path_to_url
*/
export default async function loader(
this: any,
/** Source */
content: strin... | /content/code_sandbox/packages/next/src/build/webpack/loaders/postcss-loader/src/index.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 771 |
```xml
export * from "./SharePointServiceDescriptor";
export { IPagedListDataStream } from './IPagedListDataStream';
``` | /content/code_sandbox/samples/react-rhythm-of-business-calendar/src/common/services/sharepoint/index.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 22 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="path_to_url"
xmlns:xsi="path_to_url"
xmlns:context="path_to_url"
xsi:schemaLocation="path_to_url path_to_url
path_to_url path_to_url"
default-autowire="byName" default-autowire-candidates="*" >
<bean name="employee" class="com.journaldev.spring.auto... | /content/code_sandbox/Spring/SpringBeanAutowiring/src/main/resources/spring.xml | xml | 2016-05-02T05:43:21 | 2024-08-16T06:51:39 | journaldev | WebJournal/journaldev | 1,314 | 381 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<!--EXPORTED BY TOOL, DON'T MODIFY IT!-->
<!--Source File: node_test\query_subtree_1.xml-->
<behavior name="node_test/query_subtree_1" agenttype="AgentNodeTest" version="4">
<property DescriptorRefs="1:{Descriptor=int Self.AgentNodeTest::testVar_1;Reference=const int 50;}... | /content/code_sandbox/integration/unity/Assets/Resources/behaviac/exported/node_test/query_subtree_1.xml | xml | 2016-11-21T05:08:08 | 2024-08-16T07:18:30 | behaviac | Tencent/behaviac | 2,831 | 178 |
```xml
import * as React from 'react';
import createSvgIcon from '../utils/createSvgIcon';
const HistoricalWeatherIcon = createSvgIcon({
svg: ({ classes }) => (
<svg xmlns="path_to_url" viewBox="0 0 2048 2048" className={classes.svg} focusable="false">
<path d="M128 1664h1920v128H0V256h128v441l525-263 340 ... | /content/code_sandbox/packages/react-icons-mdl2/src/components/HistoricalWeatherIcon.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 190 |
```xml
<shapes name="mxgraph.floorplan">
<shape aspect="variable" h="60" name="Bathtub" strokewidth="inherit" w="180">
<connections/>
<background>
<rect h="60" w="180" x="0" y="0"/>
</background>
<foreground>
<fillstroke/>
<path>
<move x="10" y="15"/>
<arc... | /content/code_sandbox/src/main/webapp/stencils/floorplan.xml | xml | 2016-09-06T12:59:15 | 2024-08-16T13:28:41 | drawio | jgraph/drawio | 40,265 | 30,797 |
```xml
import { ExtendedSpecConfig } from '../cli';
import { Tsoa, assertNever, Swagger } from '@tsoa/runtime';
import * as handlebars from 'handlebars';
export abstract class SpecGenerator {
constructor(protected readonly metadata: Tsoa.Metadata, protected readonly config: ExtendedSpecConfig) {}
protected buildA... | /content/code_sandbox/packages/cli/src/swagger/specGenerator.ts | xml | 2016-06-17T10:42:50 | 2024-08-16T05:57:17 | tsoa | lukeautry/tsoa | 3,408 | 2,138 |
```xml
import { GroupPermission } from 'app/model/group.model';
import { ProjectIntegration } from 'app/model/integration.model';
import { RetentionDryRunEvent } from 'app/model/purge.model';
import {
WNode,
WNodeHook,
WNodeTrigger,
Workflow,
WorkflowNotification,
WorkflowProjectIntegration
} fr... | /content/code_sandbox/ui/src/app/store/workflow.action.ts | xml | 2016-10-11T08:28:23 | 2024-08-16T01:55:31 | cds | ovh/cds | 4,535 | 1,970 |
```xml
<?xml version="1.0"?>
<ruleset name="Coding standard">
<description>Coding standard</description>
<!-- display progress -->
<arg value="p" />
<arg name="colors" />
<!-- inherit rules from: -->
<rule ref="Shlinkio" />
<!-- Paths to check -->
<file>bin</file>
<file>module</fi... | /content/code_sandbox/phpcs.xml | xml | 2016-04-08T18:44:25 | 2024-08-16T09:16:04 | shlink | shlinkio/shlink | 3,041 | 136 |
```xml
import * as fs from 'fs-extra';
import * as path from 'path';
import * as url from 'url';
import { CancellationToken, DocumentLink, DocumentLinkProvider, Position, Range, TextDocument, Uri } from 'vscode';
import * as Constants from '../common/constants';
import { getWorkspaceRootPath } from '../utils/workspaceU... | /content/code_sandbox/src/providers/documentLinkProvider.ts | xml | 2016-03-30T08:12:52 | 2024-08-16T05:00:34 | vscode-restclient | Huachao/vscode-restclient | 5,163 | 490 |
```xml
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { BlockUIDocModule } from '@doc/blockui/blockuidoc.module';
import { BlockUIDemo } from './blockuidemo';
import { BlockUIDemoRoutingModule } from './blockuidemo-routing.module';
@NgModule({
imports: [CommonModul... | /content/code_sandbox/src/app/showcase/pages/blockui/blockuidemo.module.ts | xml | 2016-01-16T09:23:28 | 2024-08-16T19:58:20 | primeng | primefaces/primeng | 9,969 | 98 |
```xml
/**
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext'
import { ReactNode, useEffect, useRef, useState } from 'react'
import { createPortal } fr... | /content/code_sandbox/packages/web/src/javascripts/Components/SuperEditor/Lexical/UI/Modal.tsx | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 737 |
```xml
<RelativeLayout xmlns:android="path_to_url"
xmlns:app="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/colorDark"
android:clickable="true"
tools:context="com.sdsmdg.harjot.MusicDNA.fragments.All... | /content/code_sandbox/app/src/main/res/layout/fragment_play_list.xml | xml | 2016-04-30T20:12:34 | 2024-08-15T10:56:34 | MusicDNA | harjot-oberai/MusicDNA | 2,822 | 1,573 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
{auto_gen_header}
<project xmlns:xsi="path_to_url"
xmlns="path_to_url"
xsi:schemaLocation="path_to_url path_to_url">
<parent>
<groupId>io.ray</groupId>
<artifactId>ray-superpom</artifactId>
<version>2.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.... | /content/code_sandbox/java/serve/pom_template.xml | xml | 2016-10-25T19:38:30 | 2024-08-16T19:46:34 | ray | ray-project/ray | 32,670 | 245 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Behavior Version="5">
<Node Class="Behaviac.Design.Nodes.Behavior" AgentType="AgentNodeTest" Domains="" Enable="true" HasOwnPrefabData="false" Id="-1" PrefabName="" PrefabNodeId="-1">
<Comment Background="NoColor" Text="" />
<DescriptorRefs value="0:" />
<Con... | /content/code_sandbox/integration/unity/Assets/behaviac/workspace/behaviors/node_test/selector_loop_ut_1.xml | xml | 2016-11-21T05:08:08 | 2024-08-16T07:18:30 | behaviac | Tencent/behaviac | 2,831 | 597 |
```xml
import {
ITranslator,
nullTranslator,
TranslationBundle
} from '@jupyterlab/translation';
import {
caretDownEmptyThinIcon,
caretDownIcon,
caretRightIcon,
caretUpEmptyThinIcon,
caseSensitiveIcon,
classes,
closeIcon,
filterDotIcon,
filterIcon,
regexIcon,
VDomRenderer,
wordIcon
} from... | /content/code_sandbox/packages/documentsearch/src/searchview.tsx | xml | 2016-06-03T20:09:17 | 2024-08-16T19:12:44 | jupyterlab | jupyterlab/jupyterlab | 14,019 | 6,314 |
```xml
import { spawnSync } from 'child_process';
import { MainIpcChannel } from './lib/MainIpcChannel';
import { INTROSPECT_ADDRESS_CHANNEL } from '../../common/ipc/api';
import type {
IntrospectAddressRendererRequest,
IntrospectAddressMainResponse,
} from '../../common/ipc/api';
// IpcChannel<Incoming, Outgoing>
... | /content/code_sandbox/source/main/ipc/introspect-address.ts | xml | 2016-10-05T13:48:54 | 2024-08-13T22:03:19 | daedalus | input-output-hk/daedalus | 1,230 | 257 |
```xml
import type { Reducer } from 'redux';
import { inviteAcceptSuccess, inviteRejectSuccess, syncInvites } from '@proton/pass/store/actions';
import type { Invite } from '@proton/pass/types/data/invites';
import { or } from '@proton/pass/utils/fp/predicates';
import { objectDelete } from '@proton/pass/utils/object/... | /content/code_sandbox/packages/pass/store/reducers/invites.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 159 |
```xml
/**
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* path_to_url#L1
*/
type ResolvedConfig = any;
export type RenderRscArgs = {
config: ResolvedConfig;
input: string;
searchParams: URLSearchParams;
platform: st... | /content/code_sandbox/packages/@expo/server/build/middleware/rsc.d.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 223 |
```xml
import {
Component,
HostListener,
ViewChild,
ElementRef,
Input,
Output,
EventEmitter,
AfterViewInit,
OnChanges,
} from '@angular/core';
import { Location, LocationStrategy } from '@angular/common';
let uniqueId = 0;
const VIEW_BOX_SIZE = 300;
@Component({
selector: 'ngx-temperature-dragger'... | /content/code_sandbox/src/app/pages/dashboard/temperature/temperature-dragger/temperature-dragger.component.ts | xml | 2016-05-25T10:09:03 | 2024-08-16T16:34:03 | ngx-admin | akveo/ngx-admin | 25,169 | 2,839 |
```xml
import { createElement, Fragment, ReactNode, useMemo } from 'react'
import {
// @ts-ignore
bindDefs,
useDimensions,
Container,
SvgWrapper,
} from '@nivo/core'
import { InheritedColorConfig, OrdinalColorScaleConfig } from '@nivo/colors'
import { CirclePackingLayerId, CirclePackingSvgProps, Com... | /content/code_sandbox/packages/circle-packing/src/CirclePacking.tsx | xml | 2016-04-16T03:27:56 | 2024-08-16T03:38:37 | nivo | plouc/nivo | 13,010 | 1,195 |
```xml
import { Component, TemplateRef } from '@angular/core';
import { AbstractControl, UntypedFormControl } from '@angular/forms';
import { ITdDynamicElementConfig } from '@covalent/dynamic-forms';
@Component({
selector: 'td-dynamic-input-test',
template: `
<td-code-editor
[style.height.px]="300"
... | /content/code_sandbox/apps/docs-app/src/app/content/components/component-demos/dynamic-forms/demos/dynamic-forms-demo-custom-elements/dynamic-forms-demo-custom-elements.component.ts | xml | 2016-07-11T23:30:52 | 2024-08-15T15:20:45 | covalent | Teradata/covalent | 2,228 | 393 |
```xml
// luma.gl
import {Device} from '@luma.gl/core';
import {Timeline} from '../animation/timeline';
import type {AnimationLoop} from './animation-loop';
/** Properties passed to every render frame */
export type AnimationProps = {
device: Device;
animationLoop: AnimationLoop;
/** @todo Should be canvasCon... | /content/code_sandbox/modules/engine/src/animation-loop/animation-props.ts | xml | 2016-01-25T09:41:59 | 2024-08-16T10:03:05 | luma.gl | visgl/luma.gl | 2,280 | 187 |
```xml
import {join} from "path";
import {getEngine, getEngines} from "./getEngines.js";
import "../index.js";
const rootDir = __dirname; // automatically replaced by import.meta.dirname on build
describe("getEngines", () => {
describe("getEngine()", () => {
describe("render file", () => {
it("should retu... | /content/code_sandbox/packages/engines/src/utils/getEngines.spec.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 718 |
```xml
import React from 'dom-chef';
import * as pageDetect from 'github-url-detection';
import delegate, {DelegateEvent} from 'delegate-it';
import {CachedFunction} from 'webext-storage-cache';
import api from '../github-helpers/api.js';
import features from '../feature-manager.js';
import {buildRepoURL, cacheByRepo}... | /content/code_sandbox/source/features/releases-dropdown.tsx | xml | 2016-02-15T16:45:02 | 2024-08-16T18:39:26 | refined-github | refined-github/refined-github | 24,013 | 487 |
```xml
import ThirdPartyReact from "supertokens-auth-react/recipe/thirdparty";
import EmailPasswordReact from "supertokens-auth-react/recipe/emailpassword";
import Session from "supertokens-auth-react/recipe/session";
import { appInfo } from "./appInfo";
import { useRouter } from "next/navigation";
import { SuperTokens... | /content/code_sandbox/examples/with-supertokens/app/config/frontend.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 379 |
```xml
import {getFormioSchema} from "../utils/getFormioSchema.js";
import {CustomConditional} from "./customConditional.js";
describe("@CustomConditional", () => {
it("should add a custom conditional rule on field (1)", async () => {
class Model {
@CustomConditional(({value}) => value === 1)
test: s... | /content/code_sandbox/packages/third-parties/schema-formio/src/decorators/customConditional.spec.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 523 |
```xml
<vector xmlns:android="path_to_url"
android:width="24dp"
android:height="24dp"
android:viewportWidth="473"
android:viewportHeight="473">
<group
android:scaleX="0.9"
android:scaleY="0.9"
android:translateX="24"
android:translateY="24">
<path
android:pathData="... | /content/code_sandbox/app/src/main/res/drawable/ic_lego_face_24dp.xml | xml | 2016-02-01T23:48:36 | 2024-08-15T03:35:42 | TagMo | HiddenRamblings/TagMo | 2,976 | 1,462 |
```xml
import { Subject } from "../Subject"
import { ObjectLiteral } from "../../common/ObjectLiteral"
import { ObjectUtils } from "../../util/ObjectUtils"
/**
* Finds all cascade operations of the given subject and cascade operations of the found cascaded subjects,
* e.g. builds a cascade tree and creates a subject... | /content/code_sandbox/src/persistence/subject-builder/CascadesSubjectBuilder.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 960 |
```xml
import sinon from "sinon";
import { pureMerge } from "coral-common/common/lib/utils";
import { GQLResolver } from "coral-framework/schema";
import {
act,
createAccessToken,
createResolversStub,
CreateTestRendererParams,
wait,
waitForElement,
within,
} from "coral-framework/testHelpers";
import cr... | /content/code_sandbox/client/src/core/client/auth/test/linkAccount.spec.tsx | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 881 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="my.company.tests.SearchTest" time="0.201" tests="3" errors="3" skipped="0" failures="0">
<testcase name="searchTest" classname="my.company.tests.SearchTest" time="0.201">
<error message="message-root" type="java.lang.IllegalStateException">trace... | /content/code_sandbox/plugins/junit-xml-plugin/src/test/resources/junitdata/TEST-test.RetryTest.xml | xml | 2016-05-27T14:06:05 | 2024-08-16T20:00:51 | allure2 | allure-framework/allure2 | 4,013 | 200 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="SubsamplingScaleImageViewSharedTransition">
<attr name="imageViewScaleType" format="enum">
<enum name="fitCenter" value="0" />
<enum name="centerCrop" value="1" />
</attr>
<attr name="s... | /content/code_sandbox/app/src/main/res/values-v21/attrs_transition.xml | xml | 2016-01-15T03:31:07 | 2024-08-14T02:03:47 | BasePopup | razerdp/BasePopup | 5,179 | 183 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/**
* Generates a logarithmically spaced numeric array.
*
* @param a - exponent of sta... | /content/code_sandbox/lib/node_modules/@stdlib/array/base/logspace/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 195 |
```xml
/* eslint-disable no-empty */
import { SchematicsException, Tree } from '@angular-devkit/schematics';
import got from 'got';
import {
API_DEFINITION_ENDPOINT,
PROXY_CONFIG_PATH,
PROXY_PATH,
PROXY_WARNING,
PROXY_WARNING_PATH,
} from '../constants';
import { Exception } from '../enums';
import { ApiDefin... | /content/code_sandbox/npm/ng-packs/packages/schematics/src/utils/source.ts | xml | 2016-12-03T22:56:24 | 2024-08-16T16:24:05 | abp | abpframework/abp | 12,657 | 1,308 |
```xml
import { TemplateRef } from '@angular/core';
import { Calendar } from './calendar';
/**
* Defines valid templates in Calendar.
* @group Templates
*/
export interface CalendarTemplates {
/**
* Custom header template.
* @param {Object} context - date value instance.
*/
date(context: {
... | /content/code_sandbox/src/app/components/calendar/calendar.interface.ts | xml | 2016-01-16T09:23:28 | 2024-08-16T19:58:20 | primeng | primefaces/primeng | 9,969 | 901 |
```xml
export function unquote(str: string): string {
const car = str.charAt(0);
const end = str.length - 1;
const isQuoteStart = car === '"' || car === "'";
if (isQuoteStart && car === str.charAt(end)) {
return str.slice(1, end);
}
return str;
}
``` | /content/code_sandbox/packages/miniapp-runtime/src/dom-external/inner-html/utils.ts | xml | 2016-11-03T06:59:15 | 2024-08-16T10:11:29 | ice | alibaba/ice | 17,815 | 73 |
```xml
import { fireEvent } from '@testing-library/react';
import { act } from '@testing-library/react';
import loudRejection from 'loud-rejection';
import { getModelState } from '@proton/account/test';
import { MIME_TYPES } from '@proton/shared/lib/constants';
import type { MailSettings } from '@proton/shared/lib/int... | /content/code_sandbox/applications/mail/src/app/components/composer/tests/Composer.reply.test.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 962 |
```xml
import { observer } from "mobx-react";
import * as React from "react";
import { useEffect } from "react";
import { useTranslation } from "react-i18next";
import { useHistory, useLocation, useRouteMatch } from "react-router-dom";
import { toast } from "sonner";
import { UserPreference } from "@shared/types";
impo... | /content/code_sandbox/app/scenes/DocumentNew.tsx | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 545 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="AWSSDK.Core" Version="3.7.106.10" />
... | /content/code_sandbox/dotnetv3/ECS/ECSScenario/ECSScenario.csproj | xml | 2016-08-18T19:06:57 | 2024-08-16T18:59:44 | aws-doc-sdk-examples | awsdocs/aws-doc-sdk-examples | 9,298 | 148 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/**
* Returns the skewness of an inverse gamma distribution.
*
* ## Notes
*
* - If `... | /content/code_sandbox/lib/node_modules/@stdlib/stats/base/dists/invgamma/skewness/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 337 |
```xml
import { Rule } from './rule';
export type InputFile = {
name: string;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
data: any;
};
export type PrepareFn<TPrepared> = (files: InputFile[]) => TPrepared;
export type PluginDescription<TPrepared> = {
prepare?: PrepareFn<TPrepared>;
// esl... | /content/code_sandbox/packages/stats-validator/src/plugin.ts | xml | 2016-11-30T14:09:21 | 2024-08-15T18:52:57 | statoscope | statoscope/statoscope | 1,423 | 122 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.disab... | /content/code_sandbox/toolbox/org.lamport.tla.toolbox.product.product/entitlements.plist | xml | 2016-02-02T08:48:27 | 2024-08-16T16:50:00 | tlaplus | tlaplus/tlaplus | 2,271 | 172 |
```xml
import React from 'react';
type IconProps = React.SVGProps<SVGSVGElement>;
export declare const IcPassBookmark: (props: IconProps) => React.JSX.Element;
export {};
``` | /content/code_sandbox/packages/icons/lib/icPassBookmark.d.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 43 |
```xml
/* your_sha256_hash-------------
|your_sha256_hash------------*/
import * as path from 'path';
import * as utils from './utils';
import packageJson from 'package-json';
import { program as commander } from 'commander';
import semver from 'semver';
/**
* Handle an individual package on the path - update the de... | /content/code_sandbox/buildutils/src/update-dist-tag.ts | xml | 2016-06-03T20:09:17 | 2024-08-16T19:12:44 | jupyterlab | jupyterlab/jupyterlab | 14,019 | 650 |
```xml
/**
* WaitForModeStage
*
* Stage that just waits for a mode to complete
*/
import * as Oni from "oni-api"
import { ITutorialContext, ITutorialStage } from "./../ITutorial"
export class WaitForModeStage implements ITutorialStage {
public get goalName(): string {
return this._goalName
}
... | /content/code_sandbox/browser/src/Services/Learning/Tutorial/Stages/WaitForModeStage.tsx | xml | 2016-11-16T14:42:55 | 2024-08-14T11:48:05 | oni | onivim/oni | 11,355 | 138 |
```xml
import { observer } from 'mobx-react-lite'
import { useCallback, useRef, useState } from 'react'
import Icon from '@/Components/Icon/Icon'
import { KeyboardKey } from '@standardnotes/ui-services'
import Popover from '../Popover/Popover'
import { classNames, DecryptedItemInterface, VaultListingInterface } from '@... | /content/code_sandbox/packages/web/src/javascripts/Components/Vaults/AddToVaultMenuOption.tsx | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 1,121 |
```xml
import * as React from 'react';
import cx from 'classnames';
import { createSvgIcon } from '../utils/createSvgIcon';
import { iconClassNames } from '../utils/iconClassNames';
export const SpotlightStopIcon = createSvgIcon({
svg: ({ classes }) => (
<svg
style={{ overflow: 'visible' }}
className... | /content/code_sandbox/packages/fluentui/react-icons-northstar/src/components/SpotlightStopIcon.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 2,527 |
```xml
import { createContext } from './createContext';
import * as ReactIs from 'react-is';
describe('createContext', () => {
it('creates a Provider component', () => {
const Context = createContext(null);
expect(ReactIs.isValidElementType(Context.Provider)).toBeTruthy();
});
});
``` | /content/code_sandbox/packages/react-components/react-context-selector/src/createContext.test.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 61 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/**
* Returns an array of an object's inherited symbol properties.
*
* ## Notes
*
* - ... | /content/code_sandbox/lib/node_modules/@stdlib/utils/inherited-property-symbols/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 180 |
```xml
<Documentation>
<Docs DocId="T:UIKit.UIGraphicsPdfRenderer">
<summary>A <see cref="T:UIKit.UIGraphicsRenderer" /> that creates PDFs.</summary>
<remarks>
<para>
Introduced in iOS 10, the <see cref="T:UIKit.UIGraphicsPdfRenderer" /> allows custom drawing code that utilitizes wide color and ou... | /content/code_sandbox/docs/api/UIKit/UIGraphicsPdfRenderer.xml | xml | 2016-04-20T18:24:26 | 2024-08-16T13:29:19 | xamarin-macios | xamarin/xamarin-macios | 2,436 | 479 |
```xml
import {
arrow,
autoUpdate,
flip,
hide,
limitShift,
offset,
shift,
useFloating,
} from '@floating-ui/react-dom';
import {Controls} from '../utils/Controls';
import {useSize} from '../utils/useSize';
const arrowEl = document.createElement('div');
export function Perf() {
const {x, y, refs, st... | /content/code_sandbox/packages/dom/test/visual/spec/Perf.tsx | xml | 2016-03-29T17:00:47 | 2024-08-16T16:29:40 | floating-ui | floating-ui/floating-ui | 29,450 | 478 |
```xml
import { Box, Typography } from "@mui/material";
import React from "react";
import {
CodeDialogButton,
CodeDialogButtonWithPreview,
} from "../../common/CodeDialogButton";
import { DurationText } from "../../common/DurationText";
import { formatDateFromTimeMs } from "../../common/formatUtils";
import { JobSt... | /content/code_sandbox/python/ray/dashboard/client/src/pages/job/JobDetailInfoPage.tsx | xml | 2016-10-25T19:38:30 | 2024-08-16T19:46:34 | ray | ray-project/ray | 32,670 | 1,144 |
```xml
import { IContext } from '../../../connectionResolver';
import { ILotteryCampaignDocument } from '../../../models/definitions/lotteryCampaigns';
export default {
async lotteriesCount(
lotteryCampaign: ILotteryCampaignDocument,
_args,
{ models }: IContext
) {
return models.Lotteries.find({
... | /content/code_sandbox/packages/plugin-loyalties-api/src/graphql/resolvers/customResolvers/lotteryCampaign.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 90 |
```xml
<manifest xmlns:android="path_to_url"
package="com.github.glomadrian.roadrunner"
>
<application
android:allowBackup="true"
android:label="@string/app_name"
android:supportsRtl="true"
>
</application>
</manifest>
``` | /content/code_sandbox/roadrunner/src/main/AndroidManifest.xml | xml | 2016-03-20T10:19:01 | 2024-07-13T02:37:17 | RoadRunner | glomadrian/RoadRunner | 1,154 | 66 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="path_to_url" xmlns:xsi="path_to_url" xsi:schemaLocation="path_to_url path_to_url">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.camunda</groupId>
<artifactId>zeebe-parent</artifactId>
<version>8.6.0-SNAPSHOT</version>
<relati... | /content/code_sandbox/zeebe/broker/pom.xml | xml | 2016-03-20T03:38:04 | 2024-08-16T19:59:58 | camunda | camunda/camunda | 3,172 | 3,178 |
```xml
import React from 'react';
import Image from 'next/legacy/image';
import Accessibility from '../../assets/accessibility.svg';
export default {
component: Image,
args: {
src: Accessibility,
alt: 'Accessibility',
},
};
export const Default = {};
export const BlurredPlaceholder = {
args: {
... | /content/code_sandbox/code/frameworks/experimental-nextjs-vite/template/stories/ImageLegacy.stories.tsx | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 1,028 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:layout_width="@dimen/file_list_item_icon_size"
android:layout_height="@dimen/file_l... | /content/code_sandbox/app/src/main/res/layout/listitem_files.xml | xml | 2016-10-14T02:54:01 | 2024-08-16T16:01:33 | MGit | maks/MGit | 1,193 | 262 |
```xml
import { Bookmark } from '../bookmark/bookmark.interface';
export interface UpgradeProvider {
upgradeApp: (upgradingFromVersion?: string) => ng.IPromise<void>;
upgradeBookmarks: (bookmarks: Bookmark[], upgradingFromVersion?: string) => ng.IPromise<Bookmark[]>;
}
``` | /content/code_sandbox/src/modules/shared/upgrade/upgrade.interface.ts | xml | 2016-05-05T20:59:25 | 2024-08-13T14:13:34 | app | xbrowsersync/app | 1,478 | 61 |
```xml
import { ITaskList } from '../models/ICommonObjects';
import {
IPropertyPaneDropdownOption,
} from '@microsoft/sp-property-pane';
export class Utils {
public GetKeyFroDropdown(list: ITaskList): string {
return list.Id + "#" + list.ListItemEntityTypeFullName;
}
public GetListId(option:... | /content/code_sandbox/samples/vuejs-todo-single-file-component/src/common/Utils.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 187 |
```xml
import * as vscode from 'vscode';
import * as path from 'path';
import * as fs from 'fs';
import {
toFilePath,
getTestCommand,
isCreateReactAppTestCommand,
escapeRegExp,
parseCmdLine,
toAbsoluteRootPath,
} from './helpers';
import { platform } from 'os';
import { PluginResourceSettings } from './Set... | /content/code_sandbox/src/DebugConfigurationProvider.ts | xml | 2016-10-09T13:06:02 | 2024-08-13T18:32:04 | vscode-jest | jest-community/vscode-jest | 2,819 | 2,033 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="action_settings">Ajustes</string>
<string name="action_about">Acerca de</string>
<string name="action_delete">Eliminar</string>
<string name="action_transfer">Transferir</string>
<string name="action_edit_icon">Editar icono</str... | /content/code_sandbox/app/src/main/res/values-es-rES/strings.xml | xml | 2016-08-15T19:10:31 | 2024-08-16T19:34:19 | Aegis | beemdevelopment/Aegis | 8,651 | 12,866 |
```xml
import type { MiddlewareArguments } from '@floating-ui/dom';
import type { PositioningOptions } from '../types';
import { isHTMLElement } from '@fluentui/react-utilities';
import { listScrollParents } from './listScrollParents';
import { fromFloatingUIPlacement } from './fromFloatingUIPlacement';
export const d... | /content/code_sandbox/packages/react-components/react-positioning/src/utils/devtools.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 311 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="15dp"
android:orientation="vertical"
android:paddingBottom="16dp"
android:paddingTop="15dp">
<TextView
... | /content/code_sandbox/app/src/main/res/layout/layout_about_dialog.xml | xml | 2016-06-02T11:11:55 | 2024-08-02T07:34:23 | AlgorithmVisualizer-Android | naman14/AlgorithmVisualizer-Android | 1,129 | 750 |
```xml
import {
Component,
EventEmitter,
Input,
Output,
ViewChild,
} from '@angular/core';
import { AddWebhookFormComponent } from '../add-webhook-form/add-webhook-form.component';
import { WebhookPolicy } from '../../../../../../ng-swagger-gen/models/webhook-policy';
import { SupportedWebhookEventT... | /content/code_sandbox/src/portal/src/app/base/project/webhook/add-webhook/add-webhook.component.ts | xml | 2016-01-28T21:10:28 | 2024-08-16T15:28:34 | harbor | goharbor/harbor | 23,335 | 279 |
```xml
<resources>
<string name="pathmorph_plusminus_plus_path">M 5,11 L 11,11 L 11,5 L 13,5 L 13,11 L 19,11 L 19,13 L 13,13 L 13,19 L 11,19 L 11,13 L 5,13 Z</string>
<string name="pathmorph_plusminus_minus_path">M 5,11 L 11,11 L 11,11 L 13,11 L 13,11 L 19,11 L 19,13 L 13,13 L 13,13 L 11,13 L 11,13 L 5,13 Z</strin... | /content/code_sandbox/app/src/main/res/values/pathmorph_plusminus.xml | xml | 2016-11-04T14:23:35 | 2024-08-12T07:50:44 | adp-delightful-details | alexjlockwood/adp-delightful-details | 1,070 | 159 |
```xml
import {
Box,
Divider,
Flex,
Grid,
GridItem,
Heading,
Icon,
IconButton,
Text,
VStack,
} from '@chakra-ui/react';
import { Tooltip } from '@electrocrud/feedback';
import memoize from 'proxy-memoize';
import * as R from 'ramda';
import { FC, useContext, useEffect, useMemo, useState } from 'reac... | /content/code_sandbox/src/renderer/views/admin/views/add/designer/tabs/details/index.tsx | xml | 2016-05-14T02:18:49 | 2024-08-16T02:46:28 | ElectroCRUD | garrylachman/ElectroCRUD | 1,538 | 1,502 |
```xml
import test from 'ava'
import {link} from '../src/linker'
import {Parent} from '../src/types/JSONSchema'
import {input} from './e2e/basics'
export function run() {
test("linker should link to each node's parent schema", t => {
const schema = link(input) as any
t.is(schema[Parent], null)
t.is(schem... | /content/code_sandbox/test/testLinker.ts | xml | 2016-03-22T03:56:58 | 2024-08-12T18:37:05 | json-schema-to-typescript | bcherny/json-schema-to-typescript | 2,877 | 181 |
```xml
/**
* Indicates whether the given string is empty or consists only of white-space
* characters.
*/
export const isEmptyOrWhitespace = (s: string) =>
s.length === 0 || !/\S/.test(s)
``` | /content/code_sandbox/app/src/lib/is-empty-or-whitespace.ts | xml | 2016-05-11T15:59:00 | 2024-08-16T17:00:41 | desktop | desktop/desktop | 19,544 | 47 |
```xml
#import "AppDelegate.h"
#import <React/RCTBundleURLProvider.h>
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.moduleName = @"TestsExample";
// You can add your custom initial props in the dictionary below.
/... | /content/code_sandbox/tests-example/ios/TestsExample/AppDelegate.mm | xml | 2016-01-17T14:29:21 | 2024-08-16T13:35:44 | react-native-svg | software-mansion/react-native-svg | 7,397 | 176 |
```xml
import {
Command,
Flags,
flags,
ProjectInfo,
Output,
Project,
} from 'prisma-cli-engine'
import chalk from 'chalk'
import { Cluster } from 'prisma-yml'
import { satisfiesVersion } from '../../utils/satisfiesVersion'
import { printAdminLink } from '../../utils/util'
export interface Service {
proje... | /content/code_sandbox/cli/packages/prisma-cli-core/src/commands/info/index.ts | xml | 2016-09-25T12:54:40 | 2024-08-16T11:41:23 | prisma1 | prisma/prisma1 | 16,549 | 699 |
```xml
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { TestBed, waitForAsync } from '@angular/core/testing';
import { FormsModule } from '@angular/forms';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { Toast } from '../../lib/... | /content/code_sandbox/src/app/home/home.component.spec.ts | xml | 2016-07-28T17:19:43 | 2024-08-12T13:14:04 | ngx-toastr | scttcper/ngx-toastr | 2,491 | 1,026 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true"
xmlns:android="path_to_url">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
a... | /content/code_sandbox/android/GTDemo/app/src/main/res/layout/activity_main.xml | xml | 2016-01-13T10:29:55 | 2024-08-13T06:40:00 | GT | Tencent/GT | 4,384 | 572 |
```xml
import ts from 'typescript';
interface ParsedMetadata {
isPrimary: boolean;
componentName: string;
title: string;
selector: string;
templateUrl: string;
styleUrls: string[];
}
interface ParsedMetadataResults {
primaryComponent: ParsedMetadata | undefined;
secondaryComponents: ParsedMetadata[];
... | /content/code_sandbox/tools/example-module/parse-example-file.ts | xml | 2016-01-04T18:50:02 | 2024-08-16T11:21:13 | components | angular/components | 24,263 | 629 |
```xml
// See LICENSE.txt for license information.
import React, {useCallback, useState} from 'react';
import {StyleSheet, View} from 'react-native';
import {searchCustomEmojis} from '@actions/remote/custom_emoji';
import {useServerUrl} from '@context/server';
import {useTheme} from '@context/theme';
import {debounce... | /content/code_sandbox/app/screens/emoji_picker/picker/picker.tsx | xml | 2016-10-07T16:52:32 | 2024-08-16T12:08:38 | mattermost-mobile | mattermost/mattermost-mobile | 2,155 | 635 |
```xml
import { useState, useCallback } from 'react';
import i18n from 'i18next';
import { ReactSwal } from '../swal';
import { Html5ifyMode } from '../../../../types';
import Checkbox from '../components/Checkbox';
// eslint-disable-next-line import/prefer-default-export
export async function askForHtml5ifySpeed({ ... | /content/code_sandbox/src/renderer/src/dialogs/html5ify.tsx | xml | 2016-10-30T10:49:56 | 2024-08-16T19:12:59 | lossless-cut | mifi/lossless-cut | 25,459 | 787 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="path_to_url">
<alpha
android:duration="200"
android:fromAlpha="1.0"
android:interpolator="@android:anim/decelerate_interpolator"
android:toAlpha="1.0" />
</set>
``` | /content/code_sandbox/app/src/main/res/anim/activity_up_out.xml | xml | 2016-11-20T11:59:25 | 2024-08-14T13:24:02 | CloudReader | youlookwhat/CloudReader | 4,933 | 75 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.