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 <test> <settings> <max_memory_usage>35G</max_memory_usage> </settings> <create_query>CREATE TABLE t (x UInt64, d32 Decimal32(3), d64 Decimal64(4), d128 Decimal128(5)) ENGINE = Memory</create_query> <!-- use less threads and several queries to save memory --> <fill_query>INSERT INTO t...
/content/code_sandbox/tests/performance/decimal_aggregates.xml
xml
2016-06-02T08:28:18
2024-08-16T18:39:33
ClickHouse
ClickHouse/ClickHouse
36,234
1,306
```xml const foo1: your_sha256_hashoooooo<never> = a; const foo2: your_sha256_hashoooooo<object> = a; const foo3: your_sha256_hashoooooo<undefined> = a; const foo4: your_sha256_hashoooooo<unknown> = a; ```
/content/code_sandbox/tests/format/typescript/typeparams/consistent/typescript-only.ts
xml
2016-11-29T17:13:37
2024-08-16T17:29:57
prettier
prettier/prettier
48,913
64
```xml <?xml version="1.0" encoding="UTF-8"?> <project xsi:schemaLocation="path_to_url path_to_url" xmlns="path_to_url" xmlns:xsi="path_to_url"> <modelVersion>4.0.0</modelVersion> <parent> <artifactId>parent</artifactId> <groupId>tlatoolbox</groupId> <version>0.0.1-SNAPSHOT</version> <relativePa...
/content/code_sandbox/toolbox/org.lamport.tla.toolbox.product.product/pom.xml
xml
2016-02-02T08:48:27
2024-08-16T16:50:00
tlaplus
tlaplus/tlaplus
2,271
1,595
```xml <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> <command> <transfer op="reject"> <domain:transfer xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"> <domain:name>example.tld</domain:name> <domain:authInfo> <domain:pw roid="JD1234-REP">2fooBAR</domain:pw> </domain:...
/content/code_sandbox/core/src/test/resources/google/registry/flows/domain/domain_transfer_reject_contact_authinfo.xml
xml
2016-02-29T20:16:48
2024-08-15T19:49:29
nomulus
google/nomulus
1,685
139
```xml import { $getRoot, CLEAR_EDITOR_COMMAND, ParagraphNode, TextNode } from 'lexical' import { LinkNode } from '@lexical/link' import { getDocxChildrenFromElementNode } from './getDocxChildrenFromElementNode' import { ExternalHyperlink, TextRun } from 'docx' import { createHeadlessEditor } from '@lexical/headless' i...
/content/code_sandbox/applications/docs-editor/src/app/Conversion/Exporter/DocxExport/LexicalToDocx/getDocxChildrenFromElementNode.spec.ts
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
380
```xml export {}; //# sourceMappingURL=list.test.d.ts.map ```
/content/code_sandbox/public/types/src/scripts/components/list.test.d.ts
xml
2016-03-15T14:02:08
2024-08-15T07:08:50
Choices
Choices-js/Choices
6,092
10
```xml import * as Sentry from "@sentry/node"; import env from "@server/env"; import { AppContext } from "@server/types"; if (env.SENTRY_DSN) { Sentry.init({ dsn: env.SENTRY_DSN, environment: env.ENVIRONMENT, release: env.RELEASE, maxBreadcrumbs: 0, ignoreErrors: [ // These errors are expec...
/content/code_sandbox/server/logging/sentry.ts
xml
2016-05-22T21:31:47
2024-08-16T19:57:22
outline
outline/outline
26,751
462
```xml export function applyScaleDefaults(defaults: any): void; ```
/content/code_sandbox/cachecloud-web/src/main/resources/assets/vendor/chart.js/core/core.scale.defaults.d.ts
xml
2016-01-26T05:46:01
2024-08-16T09:41:37
cachecloud
sohutv/cachecloud
8,737
13
```xml import { Component, ChangeDetectionStrategy } from '@angular/core'; import { CalendarEvent, CalendarView, DAYS_OF_WEEK } from 'angular-calendar'; import dayjs from 'dayjs'; import en from 'dayjs/locale/en'; dayjs.locale({ ...en, weekStart: DAYS_OF_WEEK.MONDAY, }); @Component({ selector: 'mwl-demo-compone...
/content/code_sandbox/projects/demos/app/demo-modules/dayjs/component.ts
xml
2016-04-26T15:19:33
2024-08-08T14:23:40
angular-calendar
mattlewis92/angular-calendar
2,717
129
```xml /** * @license * * 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 type { TypedArray } from "#src/util/array.js"; import type { Uint64 } from "#src/util/uint64.js"; export functi...
/content/code_sandbox/src/util/zorder.ts
xml
2016-05-27T02:37:25
2024-08-16T07:24:25
neuroglancer
google/neuroglancer
1,045
1,369
```xml import { useQuery } from '@tanstack/react-query'; import { withError } from '@/react-tools/react-query'; import { getPublicSettings } from '../settings.service'; import { PublicSettingsResponse } from '../types'; import { queryKeys } from './queryKeys'; export function usePublicSettings<T = PublicSettingsRes...
/content/code_sandbox/app/react/portainer/settings/queries/usePublicSettings.ts
xml
2016-05-19T20:15:28
2024-08-16T19:15:14
portainer
portainer/portainer
30,083
147
```xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url"> <plist version="1.0"> <dict> <key>BuildMachineOSBuild</key> <string>17B25c</string> <key>CFBundleDevelopmentRegion</key> <string>English</string> <key>CFBundleExecutable</key> <string>ACPIBatteryManag...
/content/code_sandbox/Clover-Configs/Lenovo/ThinkPad X270 /CLOVER/kexts/Other/ACPIBatteryManager.kext/Contents/Info.plist
xml
2016-11-05T04:22:54
2024-08-12T19:25:53
Hackintosh-Installer-University
huangyz0918/Hackintosh-Installer-University
3,937
1,241
```xml import { setContext } from '@apollo/client/link/context'; import { ApolloLink } from '@apollo/client/link/core'; import { createPersistedQueryLink as _createPersistedQueryLink } from '@apollo/client/link/persisted-queries'; export type Options = Parameters<typeof _createPersistedQueryLink>[0]; const transformL...
/content/code_sandbox/packages/apollo-angular/persisted-queries/src/index.ts
xml
2016-04-16T00:10:50
2024-08-15T11:41:24
apollo-angular
kamilkisiela/apollo-angular
1,497
175
```xml <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>$(CurrentTargetFramework)</TargetFramework> <ProjectGuid>{C91F7F4C-47ED-4D1C-8990-B2E886B0FAD9}</ProjectGuid> <EnableDefaultItems>false</EnableDefaultItems> </PropertyGroup> <!-- Host configurat...
/content/code_sandbox/test/TestAssets/TestProjects/KitchenSink/TestApp/TestApp.csproj
xml
2016-07-22T21:26:02
2024-08-16T17:23:58
sdk
dotnet/sdk
2,627
1,273
```xml import { MockProxy, any } from "jest-mock-extended"; import { MigrationHelper } from "../migration-helper"; import { mockMigrationHelper } from "../migration-helper.spec"; import { ANONYMOUS_APP_ID_KEY, APP_ID_KEY, AppIdMigrator, } from "./33-move-app-id-to-state-providers"; function exampleJSON() { r...
/content/code_sandbox/libs/common/src/state-migrations/migrations/33-move-app-id-to-state-providers.spec.ts
xml
2016-03-09T23:14:01
2024-08-16T15:07:51
clients
bitwarden/clients
8,877
1,471
```xml import type { TreeViewVisibilityChangeEvent } from 'vscode'; import { Disposable } from 'vscode'; import type { TreeViewSubscribableNodeTypes } from '../../../constants'; import type { GitUri } from '../../../git/gitUri'; import { gate } from '../../../system/decorators/gate'; import { debug } from '../../../sys...
/content/code_sandbox/src/views/nodes/abstract/subscribeableViewNode.ts
xml
2016-08-08T14:50:30
2024-08-15T21:25:09
vscode-gitlens
gitkraken/vscode-gitlens
8,889
1,180
```xml import isWildcardAlias from './is-wildcard-alias'; export default function extractDomain(alias: string) { return isWildcardAlias(alias) ? alias.slice(2) : alias; } ```
/content/code_sandbox/packages/cli/src/util/alias/extract-domain.ts
xml
2016-09-09T01:12:08
2024-08-16T17:39:45
vercel
vercel/vercel
12,545
41
```xml <?xml version="1.0" encoding="utf-8"?> <!-- ~ ~ ~ path_to_url ~ ~ Unless required by applicable law or agreed to in writing, software ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --> <resources> <string name="icon_content_description">Icne de bote de dialogue</str...
/content/code_sandbox/lib/java/com/google/android/material/dialog/res/values-fr-rCA/strings.xml
xml
2016-12-05T16:11:29
2024-08-16T17:51:42
material-components-android
material-components/material-components-android
16,176
89
```xml <?xml version="1.0" encoding="utf-8"?> <Project> <PropertyGroup> <OutputType>Exe</OutputType> <DefineConstants>$(DefineConstants);NET</DefineConstants> <RootNamespace>xcframeworktest</RootNamespace> <RootTestsDirectory>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)\..\..'))</Root...
/content/code_sandbox/tests/xcframework-test/dotnet/shared.csproj
xml
2016-04-20T18:24:26
2024-08-16T13:29:19
xamarin-macios
xamarin/xamarin-macios
2,436
509
```xml <?xml version="1.0" encoding="UTF-8"?> <!-- or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file path_to_url Unless required by applicable law or agreed to in writing, "AS IS" BASIS, WITHO...
/content/code_sandbox/docs/impala.ditamap
xml
2016-04-13T07:00:08
2024-08-16T10:10:44
impala
apache/impala
1,115
5,466
```xml import * as React from 'react' import { IBaseInputDescriptionProps, InputDescription, InputDescriptionType, } from './input-description' /** * An caption element with app-standard styles for captions to be used with inputs. * * Provide `children` elements to render as the content for the error element....
/content/code_sandbox/app/src/ui/lib/input-description/input-caption.tsx
xml
2016-05-11T15:59:00
2024-08-16T17:00:41
desktop
desktop/desktop
19,544
128
```xml <?xml version="1.0" encoding="utf-8"?> <manifest package="com.robinhood.ticker.sample" xmlns:android="path_to_url"> <application android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme"> <activity android:name=".MainActivity"> ...
/content/code_sandbox/ticker-sample/src/main/AndroidManifest.xml
xml
2016-07-15T21:37:52
2024-08-15T03:39:40
ticker
robinhood/ticker
4,386
142
```xml <?xml version="1.0" encoding="utf-8"?> <vector xmlns:android="path_to_url" android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24"> <path android:fillColor="?colorOnSurface" android:pathData="M12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0...
/content/code_sandbox/app/apk/src/main/res/drawable/ic_settings_outlined_md2.xml
xml
2016-09-08T12:42:53
2024-08-16T19:41:25
Magisk
topjohnwu/Magisk
46,424
1,009
```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 tabulate = require( './index' ); // TESTS // // The function returns an array of arrays... { tabulate( ...
/content/code_sandbox/lib/node_modules/@stdlib/utils/tabulate/docs/types/test.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
277
```xml /* * one or more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. */ import {useMutation, UseMutationOptions} from '@tanstack/react-query'; import {api} from 'modules/api'; import {request, RequestError} from 'modules/r...
/content/code_sandbox/tasklist/client/src/modules/mutations/useStartProcess.tsx
xml
2016-03-20T03:38:04
2024-08-16T19:59:58
camunda
camunda/camunda
3,172
296
```xml import Container from "../components/container"; import Image from "next/image"; function HomePage() { return ( <> <Container> <div className="space-y-6"> <h1 className="text-2xl font-bold"> Hey, I'm a Senior Software Engineer at Company. I enjoy working with ...
/content/code_sandbox/examples/blog-with-comment/pages/index.tsx
xml
2016-10-05T23:32:51
2024-08-16T19:44:30
next.js
vercel/next.js
124,056
216
```xml import * as ts from 'typescript'; import { getInitializerValue, isNonUndefinedInitializerValue } from './initializer-value'; import { MetadataGenerator } from './metadataGenerator'; import { Tsoa } from '@tsoa/runtime'; import { safeFromJson } from '../utils/jsonUtils'; export function getExtensions(decorators:...
/content/code_sandbox/packages/cli/src/metadataGeneration/extension.ts
xml
2016-06-17T10:42:50
2024-08-16T05:57:17
tsoa
lukeautry/tsoa
3,408
467
```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 { getElementLanguageDirection } from './utils.js'; import { createTestElement } from '@cds/core/test'; describe('getElementLanguageDirection', () => { i...
/content/code_sandbox/packages/core/src/internal/i18n/utils.spec.ts
xml
2016-09-29T17:24:17
2024-08-11T17:06:15
clarity
vmware-archive/clarity
6,431
123
```xml /* global window */ /// <reference path="../types.d.ts" /> describe('tests', () => { beforeEach(() => { cy.visit('cypress/fixtures/test.html') }) it('test custom command', () => { cy.clickLink('click me') }) it('test extending AUTWindow', () => { // Test Runner window object doesn't have...
/content/code_sandbox/examples/fundamentals__typescript/cypress/e2e/tests.spec.cy.ts
xml
2016-11-29T17:36:56
2024-08-14T16:32:21
cypress-example-recipes
cypress-io/cypress-example-recipes
3,418
166
```xml /* eslint-disable max-len */ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { CoreModule } from '~/app/core/core.module'; import { MaterialModule } from '~/app/material.module'; import { DiskDatatablePageComponent } from '~/app/pages/storage/disks/disk-datatable...
/content/code_sandbox/deb/openmediavault/workbench/src/app/pages/storage/storage.module.ts
xml
2016-05-03T10:35:34
2024-08-16T08:03:04
openmediavault
openmediavault/openmediavault
4,954
745
```xml import { shell as electronShell } from 'electron' import * as Path from 'path' import { Repository } from '../models/repository' import { showItemInFolder, showFolderContents, openExternal, moveItemToTrash, } from '../ui/main-process-proxy' export interface IAppShell { readonly moveItemToTrash: (path...
/content/code_sandbox/app/src/lib/app-shell.ts
xml
2016-05-11T15:59:00
2024-08-16T17:00:41
desktop
desktop/desktop
19,544
484
```xml <UserControl x:Class="Dopamine.Views.Common.CompactPlaybackControls" xmlns="path_to_url" xmlns:d="path_to_url" xmlns:x="path_to_url" xmlns:mc="path_to_url" xmlns:dc="clr-namespace:Digimezzo.Foundation.WPF.Controls;assembly=Digimezzo.Foundation.WPF"...
/content/code_sandbox/Dopamine/Views/Common/CompactPlaybackControls.xaml
xml
2016-07-13T21:34:42
2024-08-15T03:30:43
dopamine-windows
digimezzo/dopamine-windows
1,786
1,049
```xml export * from "./BackgroundMaterial"; export * from "./BrowserWindowConstructorOptionsProvider"; export * from "./DefaultBrowserWindowConstructorOptionsProvider"; export * from "./defaultWindowSize"; export * from "./LinuxBrowserWindowConstructorOptionsProvider"; export * from "./MacOsBrowserWindowConstructorOpt...
/content/code_sandbox/src/main/Core/BrowserWindow/BrowserWindowConstructorOptionsProvider/index.ts
xml
2016-10-11T04:59:52
2024-08-16T11:53:31
ueli
oliverschwendener/ueli
3,543
78
```xml import _ from 'lodash' import { useCallback } from 'react' import { EnhancedLoadState } from '@devhub/core' import * as selectors from '../redux/selectors' import { useColumn } from './use-column' import { useReduxState } from './use-redux-state' export function useColumnLoadingState(columnId: string): Enhance...
/content/code_sandbox/packages/components/src/hooks/use-column-loading-state.ts
xml
2016-11-30T23:24:21
2024-08-16T00:24:59
devhub
devhubapp/devhub
9,652
246
```xml import { defineRule } from '../utils/define-rule' import NodeAttributes from '../utils/node-attributes' const SUPPORTED_SRCS = [ 'www.google-analytics.com/analytics.js', 'www.googletagmanager.com/gtag/js', ] const SUPPORTED_HTML_CONTENT_URLS = [ 'www.google-analytics.com/analytics.js', 'www.googletagman...
/content/code_sandbox/packages/eslint-plugin-next/src/rules/next-script-for-ga.ts
xml
2016-10-05T23:32:51
2024-08-16T19:44:30
next.js
vercel/next.js
124,056
500
```xml import { StoryContext } from './types'; import { prepareData } from './sandbox-utils'; // eslint-disable-next-line @typescript-eslint/no-empty-function const noop = () => {}; describe(`sabdbox-utils`, () => { const context = { story: 'Showcase', componentId: '', name: 'Showcase', title: 'Defa...
/content/code_sandbox/packages/react-components/react-storybook-addon-export-to-sandbox/src/sandbox-utils.spec.ts
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
486
```xml // @vitest-environment jsdom import * as fs from 'node:fs'; import { assert } from 'vitest'; import { compile_directory, should_update_expected } from '../helpers.js'; import { assert_html_equal } from '../html_equal.js'; import { suite, assert_ok, type BaseTest } from '../suite.js'; import { createClassCompone...
/content/code_sandbox/packages/svelte/tests/hydration/test.ts
xml
2016-11-20T18:13:05
2024-08-16T19:51:56
svelte
sveltejs/svelte
77,924
1,182
```xml import { MouseEvent, MouseEventHandler, RefObject, useState } from "react" type TwoCoordinates = [number, number] export interface UseAttachedMenuReturn { open: boolean x: TwoCoordinates y: TwoCoordinates handleClick: () => void handleMousedown: MouseEventHandler handleClose: () => void } export functio...
/content/code_sandbox/optimize/c4/src/hooks/useAttachedMenu.tsx
xml
2016-03-20T03:38:04
2024-08-16T19:59:58
camunda
camunda/camunda
3,172
300
```xml /* * LiskHQ/lisk-commander * * See the LICENSE file at the top-level directory of this distribution * for licensing information. * * Unless otherwise agreed in a custom licensing agreement with the Lisk Foundation, * no part of this software, including this file, may be copied, modified, * propagated, or...
/content/code_sandbox/commander/src/commands/console.ts
xml
2016-02-01T21:45:35
2024-08-15T19:16:48
lisk-sdk
LiskArchive/lisk-sdk
2,721
110
```xml export { Auth, AuthInstances, authInstance$ } from './auth'; export { provideAuth, AuthModule } from './auth.module'; export * from './rxfire'; export * from './firebase'; ```
/content/code_sandbox/src/auth/public_api.ts
xml
2016-01-11T20:47:23
2024-08-14T12:09:31
angularfire
angular/angularfire
7,648
43
```xml // See LICENSE.txt for license information. import {Alert, type AlertButton} from 'react-native'; import {getUsersCountFromMentions} from '@actions/local/post'; import {General, Post} from '@constants'; import {SPECIAL_MENTIONS_REGEX} from '@constants/autocomplete'; import {POST_TIME_TO_FAIL} from '@constants/...
/content/code_sandbox/app/utils/post/index.ts
xml
2016-10-07T16:52:32
2024-08-16T12:08:38
mattermost-mobile
mattermost/mattermost-mobile
2,155
1,755
```xml <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- ~ ~ ~ path_to_url ~ ~ Unless required by applicable law or agreed to in writing, software ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --> <window xmlns="path_to_url" messagesPack="spec.cuba.gui.c...
/content/code_sandbox/modules/web/test/spec/cuba/gui/components/beanvalidation/screens/date-validation-screen.xml
xml
2016-03-24T07:55:56
2024-07-14T05:13:48
cuba
cuba-platform/cuba
1,342
340
```xml import { fireEvent, getByTestId } from '@testing-library/react'; import { act } from '@testing-library/react'; import { getModelState } from '@proton/account/test'; import { ROOSTER_EDITOR_ID } from '@proton/components/components/editor/constants'; import { MIME_TYPES } from '@proton/shared/lib/constants'; impo...
/content/code_sandbox/applications/mail/src/app/components/composer/tests/Composer.autosave.test.tsx
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
1,343
```xml <!-- Description: feed generator name --> <feed xmlns="path_to_url"> <generator url="path_to_url" version="1.2">Feed Generator</generator> </feed> ```
/content/code_sandbox/testdata/translator/atom/feed_generator_-_atom10_feed_generator_name.xml
xml
2016-01-23T02:44:34
2024-08-16T15:16:03
gofeed
mmcdole/gofeed
2,547
40
```xml <test> <!-- lat swings roughly from -90 to 90, lon swings from -180 to 180, and their tempo does not match. --> <query>SELECT count() FROM numbers(1000000) WHERE NOT ignore(geohashEncode((number % 150)*1.1 - 75, (number * 3.14 % 300)*1.1 - 150))</query> <query>SELECT count() FROM numbers(1000000) W...
/content/code_sandbox/tests/performance/functions_geo.xml
xml
2016-06-02T08:28:18
2024-08-16T18:39:33
ClickHouse
ClickHouse/ClickHouse
36,234
271
```xml <?xml version="1.0" encoding="UTF-8"?> <!-- path_to_url Unless required by applicable law or agreed to in writing, software WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --> <resources xmlns:android="path_to_url" xmlns:xliff="urn:oasis:names:tc:xliff:docum...
/content/code_sandbox/bottomsheetpickers/src/main/res/values-zu/strings.xml
xml
2016-10-06T01:20:05
2024-08-05T10:12:07
BottomSheetPickers
philliphsu/BottomSheetPickers
1,101
456
```xml /* * Wire * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPO...
/content/code_sandbox/src/script/auth/page/EntropyContainer.tsx
xml
2016-07-21T15:34:05
2024-08-16T11:40:13
wire-webapp
wireapp/wire-webapp
1,125
800
```xml // ag-grid-ng2 v6.2.0 import { EventEmitter, ViewContainerRef, ElementRef, QueryList, OnInit, AfterViewInit } from '@angular/core'; import { GridOptions, GridApi, ColumnApi } from 'ag-grid/main'; import { Ng2FrameworkFactory } from "./ng2FrameworkFactory"; import { AgGridColumn } from "./agGridColumn"; export de...
/content/code_sandbox/services/dashboard/assets-dev/js/vendor/ag-grid-ng2/lib/agGridNg2.d.ts
xml
2016-06-21T19:39:58
2024-08-12T19:23:26
mylg
mehrdadrad/mylg
2,691
1,525
```xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout 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:layout_gravity="center" android:layout_margin="16dp" android:gravity="cen...
/content/code_sandbox/Android/AndroidSensors/app/src/main/res/layout/activity_main.xml
xml
2016-05-02T05:43:21
2024-08-16T06:51:39
journaldev
WebJournal/journaldev
1,314
473
```xml <?xml version="1.0" encoding="UTF-8"?> <module external.linked.project.id=":binder-hook" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="understand-plugin-framework" external.system.module.version="unspecified" typ...
/content/code_sandbox/binder-hook/binder-hook.iml
xml
2016-01-28T02:51:45
2024-08-16T11:36:48
understand-plugin-framework
tiann/understand-plugin-framework
2,633
4,986
```xml // / export { default as rect } from './intervalView'; // export { default as pyramid } from './polygonView'; // export { default as funnel } from './polygonView'; ```
/content/code_sandbox/packages/f2/src/components/interval/view/index.tsx
xml
2016-08-29T06:26:23
2024-08-16T15:50:14
F2
antvis/F2
7,877
40
```xml import { PluginManager, Hook } from "@server/utils/PluginManager"; import config from "../plugin.json"; import webhookSubscriptions from "./api/webhookSubscriptions"; import WebhookProcessor from "./processors/WebhookProcessor"; import CleanupWebhookDeliveriesTask from "./tasks/CleanupWebhookDeliveriesTask"; imp...
/content/code_sandbox/plugins/webhooks/server/index.ts
xml
2016-05-22T21:31:47
2024-08-16T19:57:22
outline
outline/outline
26,751
164
```xml <?xml version="1.0" encoding="utf-8"?><!-- --> <LinearLayout xmlns:android="path_to_url" xmlns:tools="path_to_url" android:id="@+id/activity_main" android:layout_width="match_parent" android:layout_height="match_parent" tools:context="dodola.appsofix.MainActivity" android:orientation="v...
/content/code_sandbox/appsofix/src/main/res/layout/activity_main.xml
xml
2016-05-25T11:58:00
2024-08-11T00:32:36
RocooFix
dodola/RocooFix
1,573
288
```xml <vector xmlns:android="path_to_url" android:width="24dp" android:height="24dp" android:viewportWidth="24.0" android:viewportHeight="24.0"> <path android:fillColor="#FF000000" android:pathData="M11.99,2C6.47,2 2,6.48 2,12s4.47,10 9.99,10C17.52,22 22,17.52 22,12S...
/content/code_sandbox/app/src/main/res/drawable/ic_star.xml
xml
2016-07-08T03:18:40
2024-08-14T02:54:51
talon-for-twitter-android
klinker24/talon-for-twitter-android
1,189
208
```xml import { DashboardQuery } from './DashboardQuery'; export interface Result<TModel> { etag: string; model: TModel; } export interface Mapper<TModel, TPartitionKeyFields extends keyof TModel, TRowKeyFields extends keyof TModel> { createStorageIfNotExists(): Promise<void>; insertOrMerge(model: TModel): Promis...
/content/code_sandbox/e2e/test/jest-with-ts/src/data-access/mappers/Mapper.ts
xml
2016-02-12T13:14:28
2024-08-15T18:38:25
stryker-js
stryker-mutator/stryker-js
2,561
157
```xml // @ts-ignore: uses flow import normalizeColor from '@react-native/normalize-colors'; import { ExpoConfig } from 'expo/config'; import { ConfigPlugin, InfoPlist, withInfoPlist } from 'expo/config-plugins'; // Maps to the template AppDelegate.m const BACKGROUND_COLOR_KEY = 'RCTRootViewBackgroundColor'; const de...
/content/code_sandbox/packages/expo-system-ui/plugin/src/withIosRootViewBackgroundColor.ts
xml
2016-08-15T17:14:25
2024-08-16T19:54:44
expo
expo/expo
32,004
331
```xml export default { schemaNames: ['Conversations', 'ConversationsTag'], types: ['Conversations', 'ConversationsTag'] }; ```
/content/code_sandbox/packages/plugin-inbox-api/src/dashboards.ts
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
30
```xml <?xml version="1.0" encoding="utf-8"?> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="path_to_url" xmlns:app="path_to_url" xmlns:tools="path_to_url" android:layout_width="match_parent" android:layout_height="match_parent" android:fitsSystemWindows="true" tools:con...
/content/code_sandbox/UnitTestingWithRoboelectric/app/src/main/res/layout/activity_main.xml
xml
2016-02-25T11:06:48
2024-08-07T21:41:59
android-examples
nisrulz/android-examples
1,747
238
```xml <?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="path_to_url"> <ItemGroup Label="ProjectConfigurations"> <ProjectConfiguration Include="Debug-Dynamic|ARM"> <Configuration>Debug-Dynamic</Configuration> <Platform>ARM</Platform> </ProjectConfigu...
/content/code_sandbox/pjsip/build/pjsip_core.vcxproj
xml
2016-01-24T05:00:33
2024-08-16T03:31:21
pjproject
pjsip/pjproject
1,960
10,414
```xml import * as React from 'react'; import { classNamesFunction } from '@fluentui/react'; import { Page, PlatformContext, IPageSectionProps, MarkdownHeader, ColorPalette, IColorSwatch, } from '@fluentui/react-docsite-components/lib/index2'; import { Platforms } from '../../../interfaces/Platforms'; impor...
/content/code_sandbox/apps/public-docsite/src/pages/Styles/ThemeSlotsPage/ThemeSlotsPage.base.tsx
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
604
```xml import * as React from 'react'; /* eslint-disable @typescript-eslint/explicit-function-return-type */ import { registerIcons } from '@uifabric/styling'; export const registerSVGIcons = () => { registerIcons({ icons: { arrivalsSVG: ( <svg xmlns="path_to_url" version="1.0" viewBox="0 0 512 51...
/content/code_sandbox/samples/react-flighttracker/src/helpers/registerSVGIcons.tsx
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
13,114
```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 { EngineEvent } from "./events"; import { LocalWorkspace } from "./localWorkspace"; import { DestroyResult, OutputMap, PreviewResu...
/content/code_sandbox/sdk/nodejs/automation/remoteStack.ts
xml
2016-10-31T21:02:47
2024-08-16T19:47:04
pulumi
pulumi/pulumi
20,743
1,109
```xml /* * one or more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. */ import { ResizablePanel, SplitDirection, } from 'modules/components/ResizablePanel'; import {Container, PanelContainer} from './styled'; import {o...
/content/code_sandbox/operate/client/src/App/Layout/InstancesList/index.tsx
xml
2016-03-20T03:38:04
2024-08-16T19:59:58
camunda
camunda/camunda
3,172
444
```xml <?xml version="1.0" encoding="utf-8"?> <!-- path_to_url Unless required by applicable law or agreed to in writing, software WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --> <resources> <dimen name="cat_toc_tall_toolbar_height">112dp</dimen> <dimen name="cat_toc_too...
/content/code_sandbox/catalog/java/io/material/catalog/tableofcontents/res/values/dimens.xml
xml
2016-12-05T16:11:29
2024-08-16T17:51:42
material-components-android
material-components/material-components-android
16,176
155
```xml <?xml version="1.0" encoding="utf-8"?> <cn.droidlover.xrecyclerview.XRecyclerContentLayout xmlns:android="path_to_url" xmlns:app="path_to_url" android:id="@+id/contentLayout" android:layout_width="match_parent" android:layout_height="match_parent" app:recyclerBackgroundColor="#f5f5f5" app...
/content/code_sandbox/app/src/main/res/layout/fragment_base_pager.xml
xml
2016-11-27T05:38:20
2024-08-13T15:07:36
XDroid
limedroid/XDroid
1,299
108
```xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url"> <plist version="1.0"> <dict> <key>BuildMachineOSBuild</key> <string>17E199</string> <key>CFBundleIdentifier</key> <string>org.rehabman.injector.FakePCIID-Intel-HD-Graphics</string> <key>CFBundleInfoDic...
/content/code_sandbox/Clover-Configs/Asus/FL5900/CLOVER/kexts/Other/FakePCIID_Intel_HD_Graphics.kext/Contents/Info.plist
xml
2016-11-05T04:22:54
2024-08-12T19:25:53
Hackintosh-Installer-University
huangyz0918/Hackintosh-Installer-University
3,937
2,234
```xml import { Pipe, PipeTransform } from '@angular/core'; import * as _ from 'lodash'; @Pipe({ name: 'nl2br' }) export class Nl2brPipe implements PipeTransform { transform(value: any): any { if (!_.isString(value)) { return value; } return value.replace(/\r\n|\n/g, '<br>\n'); } } ```
/content/code_sandbox/deb/openmediavault/workbench/src/app/shared/pipes/nl2br.pipe.ts
xml
2016-05-03T10:35:34
2024-08-16T08:03:04
openmediavault
openmediavault/openmediavault
4,954
86
```xml import { DecryptedParameters, ErrorDecryptingParameters, EncryptionOperatorsInterface } from '@standardnotes/encryption' import { ContentTypeUsesKeySystemRootKeyEncryption, EncryptedPayloadInterface, ItemContent, KeySystemRootKeyInterface, RootKeyInterface, } from '@standardnotes/models' import { Decr...
/content/code_sandbox/packages/services/src/Domain/Encryption/UseCase/TypeA/DecryptPayloadWithKeyLookup.ts
xml
2016-12-05T23:31:33
2024-08-16T06:51:19
app
standardnotes/app
5,180
434
```xml import ResizeObserver from "resize-observer-polyfill"; import { parseQuery } from "coral-common/common/lib/utils"; import { FrameHeightMessage } from "coral-framework/components/Frame"; import { getBrowserInfo } from "coral-framework/lib/browserInfo"; import { PostMessageService } from "coral-framework/lib/post...
/content/code_sandbox/client/src/core/client/frame/frame.ts
xml
2016-10-31T16:14:05
2024-08-06T16:15:57
talk
coralproject/talk
1,881
388
```xml import 'reflect-metadata'; import { assert } from 'chai'; import { ServiceIdentifiers } from '../../../../src/container/ServiceIdentifiers'; import { IIdentifierNamesGenerator } from '../../../../src/interfaces/generators/identifier-names-generators/IIdentifierNamesGenerator'; import { IInversifyContainerFaca...
/content/code_sandbox/test/unit-tests/generators/identifier-names-generators/DictionarylIdentifierNamesGenerator.spec.ts
xml
2016-05-09T08:16:53
2024-08-16T19:43:07
javascript-obfuscator
javascript-obfuscator/javascript-obfuscator
13,358
1,900
```xml class Base { constructor(num: number) { } public instanceM() { console.log(1) } public static staticM() { console.log(2) } } class Sub extends Base { constructor() { super(5) } public instanceM() { super.instanceM()...
/content/code_sandbox/tests/pyconverter-test/baselines/class_super.ts
xml
2016-01-24T19:35:52
2024-08-16T16:39:39
pxt
microsoft/pxt
2,069
115
```xml import * as React from 'react'; import { CSSModule } from './utils'; export interface AccordionProps extends React.HTMLAttributes<HTMLElement> { tag?: React.ElementType; cssModule?: CSSModule; flush?: boolean; innerRef?: React.Ref<HTMLElement>; open: string | string[]; toggle: (targetId: string) => ...
/content/code_sandbox/types/lib/Accordion.d.ts
xml
2016-02-19T08:01:36
2024-08-16T11:48:48
reactstrap
reactstrap/reactstrap
10,591
128
```xml // Type definitions for Chalk // Definitions by: Thomas Sauer <path_to_url export const enum Level { None = 0, Basic = 1, Ansi256 = 2, TrueColor = 3 } export interface ChalkOptions { enabled?: boolean; level?: Level; } export interface ChalkConstructor { new (options?: ChalkOptions): Chalk; (options?:...
/content/code_sandbox/deps/node-10.15.3/tools/node_modules/babel-eslint/node_modules/chalk/types/index.d.ts
xml
2016-09-05T10:18:44
2024-08-11T13:21:40
LiquidCore
LiquidPlayer/LiquidCore
1,010
645
```xml import path from "path"; import JSZip from "jszip"; import escapeRegExp from "lodash/escapeRegExp"; import { FileOperationFormat, NavigationNode } from "@shared/types"; import Logger from "@server/logging/Logger"; import { Collection } from "@server/models"; import Attachment from "@server/models/Attachment"; im...
/content/code_sandbox/server/queues/tasks/ExportDocumentTreeTask.ts
xml
2016-05-22T21:31:47
2024-08-16T19:57:22
outline
outline/outline
26,751
1,519
```xml import type { DirectLineCardAction } from 'botframework-webchat-core'; import FunctionMiddleware from './FunctionMiddleware'; type PerformCardAction = (cardAction: DirectLineCardAction, event?: { target: EventTarget }) => void; type CardActionMiddleware = FunctionMiddleware< [{ dispatch: (action: any) => vo...
/content/code_sandbox/packages/api/src/types/CardActionMiddleware.ts
xml
2016-07-07T23:16:57
2024-08-16T00:12:37
BotFramework-WebChat
microsoft/BotFramework-WebChat
1,567
116
```xml import type { FileReader } from './file-reader' interface FileReaderBatch { completed: boolean directories: Array<string> callbacks: Array<{ resolve: (value: ReadonlyArray<string>) => void reject: (err: any) => void }> } /** * CachedFileReader will deduplicate requests made to the same folder ...
/content/code_sandbox/packages/next/src/server/route-matcher-providers/dev/helpers/file-reader/batched-file-reader.ts
xml
2016-10-05T23:32:51
2024-08-16T19:44:30
next.js
vercel/next.js
124,056
776
```xml /** Symbol.observable addition */ declare global { interface SymbolConstructor { readonly observable: symbol; } } /** Symbol.observable or a string "@@observable". Used for interop */ export declare const observable: string | symbol; ```
/content/code_sandbox/deps/node-10.15.3/tools/node_modules/eslint/node_modules/rxjs/internal/symbol/observable.d.ts
xml
2016-09-05T10:18:44
2024-08-11T13:21:40
LiquidCore
LiquidPlayer/LiquidCore
1,010
47
```xml import { jsx, Canvas, Chart, Axis, Interval, Tooltip } from '../../src'; import { delay } from '../util'; import { Renderer } from '@antv/g-mobile-svg'; const container = document.createElement('div'); container.style.width = '300px'; container.style.height = '200px'; document.body.appendChild(container); cons...
/content/code_sandbox/packages/f2/test/chart/svg.test.tsx
xml
2016-08-29T06:26:23
2024-08-16T15:50:14
F2
antvis/F2
7,877
3,273
```xml <vector android:height="24dp" android:tint="#F42A13" android:viewportHeight="24.0" android:viewportWidth="24.0" android:width="24dp" xmlns:android="path_to_url"> <path android:fillColor="#FF000000" android:pathData="M12,21.35l-1.45,-1.32C5.4,15.36 2,12.28 2,8.5 2,5.42 4.42,3 7.5,3c1.74,0 3.41,0.81 4....
/content/code_sandbox/Android/app/src/main/res/drawable/ic_favorite_red_full_24dp.xml
xml
2016-01-30T13:42:30
2024-08-12T19:21:10
Travel-Mate
project-travel-mate/Travel-Mate
1,292
215
```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/sequence_stochastic_ut_3.xml
xml
2016-11-21T05:08:08
2024-08-16T07:18:30
behaviac
Tencent/behaviac
2,831
369
```xml import { Component, HostBinding } from '@angular/core'; import { slideInUpAnimation } from '../../../app.animations'; @Component({ selector: 'docs-deployment', styleUrls: ['./deployment.component.scss'], templateUrl: './deployment.component.html', animations: [slideInUpAnimation], }) export class Deplo...
/content/code_sandbox/apps/docs-app/src/app/content/docs/deployment/deployment.component.ts
xml
2016-07-11T23:30:52
2024-08-15T15:20:45
covalent
Teradata/covalent
2,228
96
```xml import { EnhancedItem } from '@devhub/core' import { EMPTY_ARRAY, EMPTY_OBJ } from '../../utils/constants' import { RootState } from '../types' import { createShallowEqualSelector } from './helpers' const s = (state: RootState) => state.data || EMPTY_OBJ export const dataByNodeIdOrId = (state: RootState) => s...
/content/code_sandbox/packages/components/src/redux/selectors/data.ts
xml
2016-11-30T23:24:21
2024-08-16T00:24:59
devhub
devhubapp/devhub
9,652
392
```xml import * as React from 'react'; import { useBadge_unstable } from './useBadge'; import { useBadgeStyles_unstable } from './useBadgeStyles.styles'; import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts'; import { renderBadge_unstable } from './renderBadge'; import type { BadgeProps } from '...
/content/code_sandbox/packages/react-components/react-badge/library/src/components/Badge/Badge.tsx
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
185
```xml <clickhouse> <storage_configuration> <disks> <s3> <type>s3</type> <endpoint>path_to_url <access_key_id>minio</access_key_id> <secret_access_key>minio123</secret_access_key> <s3_max_single_part_upload_size>3355...
/content/code_sandbox/tests/integration/test_scheduler/configs/storage_configuration.xml
xml
2016-06-02T08:28:18
2024-08-16T18:39:33
ClickHouse
ClickHouse/ClickHouse
36,234
208
```xml <?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="path_to_url"> <ItemGroup Label="ProjectConfigurations"> <ProjectConfiguration Include="debug|x64"> <Configuration>debug</Configuration> <Platform>x64</Platform> </ProjectConfiguration> <ProjectConfigura...
/content/code_sandbox/APEX_1.4/compiler/vc12win64-PhysX_3.4/ApexShared.vcxproj
xml
2016-10-12T16:34:31
2024-08-16T09:40:38
PhysX-3.4
NVIDIAGameWorks/PhysX-3.4
2,343
7,968
```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. --> <menu xmlns:android="path_to_url" xmlns:talon="path_to_url"> <item android:id="@+id/...
/content/code_sandbox/app/src/main/res/menu/browser_activity.xml
xml
2016-07-08T03:18:40
2024-08-14T02:54:51
talon-for-twitter-android
klinker24/talon-for-twitter-android
1,189
126
```xml import React, { Component, ReactElement, ReactNode } from 'react'; import PropTypes from 'prop-types'; import { EmojiPluginTheme } from '../../../../../index'; interface EntryParams { theme: EmojiPluginTheme; icon: ReactNode; groupIndex: number; isActive: boolean; onGroupSelect(index: number): void; }...
/content/code_sandbox/packages/emoji/src/components/EmojiSelect/Popover/Nav/Entry/index.tsx
xml
2016-02-26T09:54:56
2024-08-16T18:16:31
draft-js-plugins
draft-js-plugins/draft-js-plugins
4,087
301
```xml import type { Uri } from 'vscode'; import { TabInputCustom, TabInputNotebook, TabInputNotebookDiff, TabInputText, TabInputTextDiff, window } from 'vscode'; import { Commands } from '../constants'; import type { Container } from '../container'; import { showGenericErrorMessage } from '../messages'; import { getRe...
/content/code_sandbox/src/commands/openOnlyChangedFiles.ts
xml
2016-08-08T14:50:30
2024-08-15T21:25:09
vscode-gitlens
gitkraken/vscode-gitlens
8,889
656
```xml // This file is part of Background Music. // // Background Music is free software: you can redistribute it and/or // published by the Free Software Foundation, either version 2 of the // // Background Music is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied w...
/content/code_sandbox/BGMApp/BGMXPCHelper/BGMXPCHelperService.mm
xml
2016-02-24T07:19:32
2024-08-16T15:21:10
BackgroundMusic
kyleneideck/BackgroundMusic
15,709
2,575
```xml // // // Microsoft Bot Framework: path_to_url // // Bot Framework Emulator Github: // path_to_url // // All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software witho...
/content/code_sandbox/packages/app/main/src/main.ts
xml
2016-11-11T23:15:09
2024-08-16T12:45:29
BotFramework-Emulator
microsoft/BotFramework-Emulator
1,803
3,087
```xml // Creates an event log. You can write to this during testing and then assert // on the result. // // The main use case is for asynchronous e2e tests. It provides a `waitFor` // method that resolves when the log matches some expected asynchronous sequence // of events. This is an alternative to setting up a time...
/content/code_sandbox/test/lib/test-log.ts
xml
2016-10-05T23:32:51
2024-08-16T19:44:30
next.js
vercel/next.js
124,056
1,011
```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>Author</key> <string>bb1045</string> <key>Description</key> <string>Boot Camp</string> <key>Theme</key> <dict> <key>Anime</key> <array> <dict> <key>ID</key> ...
/content/code_sandbox/Clover-Configs/Acer/Aspire VN7-591G/CLOVER/themes/Boot/theme.plist
xml
2016-11-05T04:22:54
2024-08-12T19:25:53
Hackintosh-Installer-University
huangyz0918/Hackintosh-Installer-University
3,937
1,416
```xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="path_to_url" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="#ffffff" android:orientation="vertical" android:paddingLeft="2dp" android:paddingRight="2dp" android:paddingTop...
/content/code_sandbox/app/src/main/res/layout/adapter_girl.xml
xml
2016-11-27T05:38:20
2024-08-13T15:07:36
XDroid
limedroid/XDroid
1,299
139
```xml /* eslint-disable @typescript-eslint/naming-convention */ import type { ProjectAnnotations, Renderer, StoryContext, StoryId, StrictArgTypes, Tag, } from '@storybook/csf'; import type { AnnotatedStoryFn, Args, ComponentAnnotations, Parameters, StoryAnnotations, StoryAnnotationsOrFn, } fro...
/content/code_sandbox/code/core/src/types/modules/composedStory.ts
xml
2016-03-18T04:23:44
2024-08-16T19:22:08
storybook
storybookjs/storybook
83,755
710
```xml import type { DependencyList, RefObject } from 'react'; import { useEffect, useMemo, useRef } from 'react'; import debounce from '@proton/utils/debounce'; import throttle from '@proton/utils/throttle'; import useEventManager from './useEventManager'; export type Handler = (...args: any[]) => void; export int...
/content/code_sandbox/packages/components/hooks/useHandler.ts
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
609
```xml import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { Store } from '@ngxs/store'; import { ProjectState } from 'app/store/project.state'; import { finalize } from 'rxjs/operators'; import { AutoUnsubscr...
/content/code_sandbox/ui/src/app/views/projectv2/explore/explore-repository-add.component.ts
xml
2016-10-11T08:28:23
2024-08-16T01:55:31
cds
ovh/cds
4,535
871
```xml import * as React from "react"; import {styled} from "styletron-react"; const MyComponent: React.ComponentType<{ foo: 42; }> = _props => { return null; }; const MyStyledComponent = styled(MyComponent, {color: "red"}); <MyStyledComponent foo={42} />; // @ts-expect-error <MyStyledComponent foo={42} invalid...
/content/code_sandbox/packages/typescript-type-tests/src/exact-props.tsx
xml
2016-04-01T00:00:06
2024-08-14T21:28:45
styletron
styletron/styletron
3,317
98
```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>com.neo</groupId> <artifactId>spring-boot-admin-simple</artifactId> <version>1.0.0.BUILD-SNAPSHOT</version> </pa...
/content/code_sandbox/1.x/spring-boot-admin-simple/spring-boot-admin-client/pom.xml
xml
2016-11-05T05:32:33
2024-08-16T13:11:30
spring-boot-examples
ityouknow/spring-boot-examples
30,137
247
```xml "use client" import Link from "next/link" import { useRouter } from "next/navigation" import { uiOptionsAtom } from "@/store/config.store" import { orderTypeAtom } from "@/store/order.store" import { useAtomValue, useSetAtom } from "jotai" import { ArrowLeft, PhoneIcon, ShoppingBagIcon, SoupIcon } from "lucide-...
/content/code_sandbox/pos/app/(main)/choose-type/page.tsx
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
694
```xml import { isEnabled } from "@erxes/api-utils/src/serviceDiscovery"; import graphqlPubsub from "@erxes/api-utils/src/graphqlPubsub"; import { sendCardsMessage, sendCoreMessage, sendPricingMessage, sendProductsMessage } from "./messageBroker"; import { setPlace } from "./utils/setPlace"; import { splitData ...
/content/code_sandbox/packages/plugin-productplaces-api/src/afterMutations.ts
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
1,645