text
stringlengths
9
39.2M
dir
stringlengths
26
295
lang
stringclasses
185 values
created_date
timestamp[us]
updated_date
timestamp[us]
repo_name
stringlengths
1
97
repo_full_name
stringlengths
7
106
star
int64
1k
183k
len_tokens
int64
1
13.8M
```xml <?xml version="1.0" encoding="utf-8"?> <RelativeLayout android:id="@+id/rootView" xmlns:android="path_to_url" android:layout_width="match_parent" android:layout_height="240dp" android:background="@drawable/selector_item" android:clickable="true" android:focusable="true"> <TextVie...
/content/code_sandbox/app/src/main/res/layout/section_ex8_empty.xml
xml
2016-02-07T19:27:52
2024-07-19T03:29:48
SectionedRecyclerViewAdapter
luizgrp/SectionedRecyclerViewAdapter
1,678
131
```xml <!-- ~ ~ ~ path_to_url ~ ~ Unless required by applicable law or agreed to in writing, software ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --> <project xmlns:xsi="path_to_url" xmlns="path_to_url" xsi:schemaLocation="path_to_url path_to_url"> <modelV...
/content/code_sandbox/http-entity/pom.xml
xml
2016-09-09T22:28:14
2024-08-14T17:35:43
light-4j
networknt/light-4j
3,614
402
```xml import { SPHttpClient } from "@microsoft/sp-http"; import { WebPartContext } from "@microsoft/sp-webpart-base"; export class RestService{ public async GetMethod(context:WebPartContext, endPoint:string, headers:Headers){ try{ const response = await context.spHttpClient.get(endPoint, SPHtt...
/content/code_sandbox/samples/react-manage-hublevel-subscriptions/src/webparts/reactManageHublevelSubscriptions/Services/RestService.ts
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
365
```xml export { Source, Loader } from '@graphql-tools/utils'; export { GraphQLConfig, loadConfig, loadConfigSync } from './config.js'; export { GraphQLProjectConfig } from './project-config.js'; export { GraphQLExtensionDeclaration } from './extension.js'; export * from './types.js'; export * from './errors.js'; export...
/content/code_sandbox/src/index.ts
xml
2016-07-29T09:54:26
2024-08-08T15:15:52
graphql-config
kamilkisiela/graphql-config
1,160
79
```xml import { NextApiRequest, NextApiResponse } from "next"; import dbConnect from "../../../lib/dbConnect"; import Pet from "../../../models/Pet"; export default async function handler( req: NextApiRequest, res: NextApiResponse, ) { const { query: { id }, method, } = req; await dbConnect(); sw...
/content/code_sandbox/examples/with-mongodb-mongoose/pages/api/pets/[id].ts
xml
2016-10-05T23:32:51
2024-08-16T19:44:30
next.js
vercel/next.js
124,056
386
```xml import { IAttachment, QueryResponse } from '@erxes/ui/src/types'; import { IUser, IUserDetails, IUserDoc, IUserLinks, } from '@erxes/ui/src/auth/types'; export type IInvitationEntry = { email: string; password: string; groupId: string; channelIds: string[]; departmentId: string; unitId: stri...
/content/code_sandbox/packages/erxes-ui/src/team/types.ts
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
989
```xml import {SearchQueryTypes} from './SearchQueryDTO'; export interface IAutoCompleteItem { text: string; type?: SearchQueryTypes; } export class AutoCompleteItem implements IAutoCompleteItem { constructor(public text: string, public type: SearchQueryTypes = null) { } equals(other: AutoCompleteItem): bo...
/content/code_sandbox/src/common/entities/AutoCompleteItem.ts
xml
2016-03-12T11:46:41
2024-08-16T19:56:44
pigallery2
bpatrik/pigallery2
1,727
90
```xml import { HeadlineOneButton, HeadlineThreeButton, HeadlineTwoButton } from 'draft-js-buttons'; import React from 'react'; import styled from 'styled-components'; const HeadButton = styled.button` display: inline-block; border: 0; height: 36px; outline: 0; `; type Props = { onOverrideContent: (e)...
/content/code_sandbox/packages/erxes-ui/src/components/editor/HeadlinesButton.tsx
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
277
```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 isBoolean = require( './index' ); // TESTS // // The function returns a boolean... { isBoolean( 'beep' ...
/content/code_sandbox/lib/node_modules/@stdlib/assert/is-boolean/docs/types/test.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
348
```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="M6,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2zM18,10c...
/content/code_sandbox/app/core/src/main/res/drawable/ic_more.xml
xml
2016-09-08T12:42:53
2024-08-16T19:41:25
Magisk
topjohnwu/Magisk
46,424
223
```xml import { ExpoConfig, getConfig, getNameFromConfig } from '@expo/config'; import fs from 'fs'; import path from 'path'; import { TEMPLATES } from '../../customize/templates'; import { appendLinkToHtml, appendScriptsToHtml } from '../../export/html'; import { env } from '../../utils/env'; /** * Create a static ...
/content/code_sandbox/packages/@expo/cli/src/start/server/webTemplate.ts
xml
2016-08-15T17:14:25
2024-08-16T19:54:44
expo
expo/expo
32,004
783
```xml const commonInput = ` code: String content: String description: String title: String thumbnail: String custom: JSON customIndexed: JSON listOrder: Float `; const forumPageMutations = ` forumCreatePage( ${commonInput} ): ForumPage forumPatchPage( _id: ID! ${commonInput} ):...
/content/code_sandbox/packages/plugin-forum-api/src/graphql/typeDefs/Mutation/page.ts
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
105
```xml import { ICheckboxStyleProps, ICheckboxStyles } from '@fluentui/react/lib/Checkbox'; import { IExtendedSemanticColors } from '../IExtendedSemanticColors'; import { BaseColors } from '../AzureColors'; import * as StyleConstants from '../Constants'; export const CheckboxStyles = (props: ICheckboxStyleProps): Part...
/content/code_sandbox/packages/azure-themes/src/azure/styles/Checkbox.styles.ts
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
790
```xml /** * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use client'; import * as React from 'react'; import { NativeEventEmitter } from 'react-native'; import { LogBoxLog, StackType } from './LogBoxLog'; import type { LogLevel }...
/content/code_sandbox/packages/@expo/metro-runtime/src/error-overlay/Data/LogBoxData.tsx
xml
2016-08-15T17:14:25
2024-08-16T19:54:44
expo
expo/expo
32,004
2,831
```xml export * from './filterslash'; ```
/content/code_sandbox/src/app/components/icons/filterslash/public_api.ts
xml
2016-01-16T09:23:28
2024-08-16T19:58:20
primeng
primefaces/primeng
9,969
8
```xml import Checkbox from './Checkbox'; export type { CheckboxProps, ValueType } from './Checkbox'; export default Checkbox; ```
/content/code_sandbox/src/Checkbox/index.tsx
xml
2016-06-06T02:27:46
2024-08-16T16:41:54
rsuite
rsuite/rsuite
8,263
23
```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>CFBundleDevelopmentRegion</key> <string>$(DEVELOPMENT_LANGUAGE)</string> <key>CFBundleDisplayName</key> <string>CFAlertViewControllerShareExtensionDemo</string> <key>C...
/content/code_sandbox/Demo/CFAlertViewControllerShareExtensionDemo/Info.plist
xml
2016-06-20T07:31:24
2024-08-08T15:21:31
CFAlertViewController
Codigami/CFAlertViewController
1,058
411
```xml import * as dotenv from "dotenv"; dotenv.config(); import { Collection, Db, MongoClient } from "mongodb"; const { MONGO_URL } = process.env; if (!MONGO_URL) { throw new Error(`Environment variable MONGO_URL not set.`); } const client = new MongoClient(MONGO_URL); let db: Db; let Segments: Collection<any...
/content/code_sandbox/packages/core/src/commands/migrateContentType.ts
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
1,034
```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 tmpdir = require( './index' ); // TESTS // // The function returns a string... { tmpdir(); // $ExpectTy...
/content/code_sandbox/lib/node_modules/@stdlib/os/tmpdir/docs/types/test.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
127
```xml import { Component } from '@angular/core'; import { ColumnMode } from 'projects/swimlane/ngx-datatable/src/public-api'; @Component({ selector: 'multiple-tables-demo', template: ` <div> <h3> Multiple Tables <small> <a href="path_to_url" target="_bla...
/content/code_sandbox/src/app/basic/multiple.component.ts
xml
2016-05-31T19:25:47
2024-08-06T15:02:47
ngx-datatable
swimlane/ngx-datatable
4,624
364
```xml import { existsSync } from 'node:fs' import { addTemplate, addTypeTemplate, addVitePlugin, addWebpackPlugin, defineNuxtModule, isIgnored, logger, resolveAlias, tryResolveModule, updateTemplates, useNuxt } from '@nuxt/kit' import { isAbsolute, join, normalize, relative, resolve } from 'pathe' import type { Import...
/content/code_sandbox/packages/nuxt/src/imports/module.ts
xml
2016-10-26T11:18:47
2024-08-16T19:32:46
nuxt
nuxt/nuxt
53,705
1,764
```xml <?xml version="1.0" encoding="utf-8"?> <android.support.v4.widget.SwipeRefreshLayout xmlns:android="path_to_url" xmlns:app="path_to_url" android:id="@+id/swipeRefreshLayout" android:layout_width="match_parent" android:layout_height="fill_parent" android:layout_marginTop="?attr/actionBarSize" android:orientation=...
/content/code_sandbox/src/full/res/layout/fragment_magisk_hide.xml
xml
2016-08-05T16:58:55
2024-08-16T16:39:40
MagiskManager
topjohnwu/MagiskManager
1,489
199
```xml import * as $RefParser from '@stoplight/json-schema-ref-parser'; import { decycle } from '@stoplight/json'; import { get, camelCase, forOwn } from 'lodash'; import { JSONSchemaFaker } from 'json-schema-faker'; import type { JSONSchemaFakerOptions } from 'json-schema-faker'; import { resetJSONSchemaGenerator } fr...
/content/code_sandbox/packages/cli/src/extensions.ts
xml
2016-03-18T03:52:09
2024-08-16T09:16:35
prism
stoplightio/prism
4,175
344
```xml import { ComponentArea, ComponentPermission, EditorFeatureDescription, FindNativeFeature, NativeFeatureIdentifier, NoteType, ThemeDockIcon, UIFeatureDescriptionTypes, isEditorFeatureDescription, isIframeComponentFeatureDescription, isThemeFeatureDescription, } from '@standardnotes/features'...
/content/code_sandbox/packages/models/src/Domain/Runtime/Feature/UIFeature.ts
xml
2016-12-05T23:31:33
2024-08-16T06:51:19
app
standardnotes/app
5,180
1,046
```xml // # Phishing Detection // // This is a simple package to notify N1 users if an email is a potential // phishing scam. // You can access Mailspring dependencies by requiring 'mailspring-exports' import React from 'react'; import { PropTypes, // The ComponentRegistry manages all React components in N1. Com...
/content/code_sandbox/app/internal_packages/phishing-detection/docs/main.tsx
xml
2016-10-13T06:45:50
2024-08-16T18:14:37
Mailspring
Foundry376/Mailspring
15,331
882
```xml import { JSONContent } from '@tiptap/core'; export function replaceSpanWithMention(doc: JSONContent) { function replaceMentions(node: JSONContent) { if (node.type === 'text' && node.marks) { // Filter marks with type spanMark and data-type mention const mentionMarks = node.marks.find( ...
/content/code_sandbox/packages/erxes-ui/src/components/richTextEditor/utils/replaceMentionNode.ts
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
473
```xml import { buttonClassName, chatMessageSlotClassNames, chatItemSlotClassNames, chatItemClassName, chatMessageClassName, chatMessageContentClassName, } from '@fluentui/react-northstar'; const classNames = { threadedMessage: { thread: `${chatMessageClassName}__thread`, threadBody: `${chatMessa...
/content/code_sandbox/packages/fluentui/react-northstar-prototypes/src/prototypes/chatMessages/ThreadedMessages/classNames.ts
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
209
```xml declare interface IModernCalendarStrings { PropertyPaneDescription: string; BasicGroupName: string; DescriptionFieldLabel: string; } declare module 'modernCalendarStrings' { const strings: IModernCalendarStrings; export = strings; } ```
/content/code_sandbox/samples/js-modern-calendar/src/webparts/modernCalendar/loc/mystrings.d.ts
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
52
```xml <?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration type="com.tasking.cdt.launch.localCLaunch"> <booleanAttribute key="com.tasking.debug.cdt.core.BREAK_ON_EXIT" value="true"/> <booleanAttribute key="com.tasking.debug.cdt.core.CACHE_TARGET_ACCESS" value="false"/> <stringAttribute key="com....
/content/code_sandbox/libs/STM32_USB-FS-Device_Lib_V4.0.0/Projects/JoyStickMouse/TASKING/STM3210E-EVAL_XL/STM3210E-EVAL_XL.launch
xml
2016-08-10T15:31:26
2024-08-16T13:06:40
Avem
avem-labs/Avem
1,930
813
```xml function doSomething (list: any[]) { list.reverse() } let list = [0, 1] doSomething(list) ```
/content/code_sandbox/tests/blocklycompiler-test/baselines/array_parameter_variable.ts
xml
2016-01-24T19:35:52
2024-08-16T16:39:39
pxt
microsoft/pxt
2,069
28
```xml import { parseThing } from './Thing'; describe('Thing', () => { test('should parse', () => { expect( parseThing({ '@type': 'Thing', name: 'John Doe' }) ).toEqual({ '@type': 'Thing', name: 'John Doe' }); }); test('should parse unknown @type', () => { ...
/content/code_sandbox/packages/core/src/types/external/OrgSchema/Thing.parseThing.spec.ts
xml
2016-07-07T23:16:57
2024-08-16T00:12:37
BotFramework-WebChat
microsoft/BotFramework-WebChat
1,567
285
```xml <dict> <key>LayoutID</key> <integer>15</integer> <key>PathMapRef</key> <array> <dict> <key>CodecID</key> <array> <integer>283902592</integer> </array> <key>Headphone</key> <dict/> <key>Inputs</key> <array> <string>Mic</string> <string>LineIn</string> </array> <key>Int...
/content/code_sandbox/Resources/ALC280/layout15.xml
xml
2016-03-07T20:45:58
2024-08-14T08:57:03
AppleALC
acidanthera/AppleALC
3,420
7,841
```xml import { defineConfig } from 'vitest/config' export default defineConfig({ test: { }, }) ```
/content/code_sandbox/packages/vitest-runner/testResources/deep-project/vitest.config.ts
xml
2016-02-12T13:14:28
2024-08-15T18:38:25
stryker-js
stryker-mutator/stryker-js
2,561
24
```xml export * from './utilities'; export * from './variants'; export * from './variantThemeType'; import './version'; ```
/content/code_sandbox/packages/scheme-utilities/src/index.ts
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
25
```xml import * as React from 'react'; import type { Meta } from '@storybook/react'; import { Link, LinkProps } from '@fluentui/react-link'; import { InvertedBackground, steps } from './utils'; import { DARK_MODE, getStoryVariant, HIGH_CONTRAST, RTL, withStoryWrightSteps } from '../../utilities'; const SpanLink = (pr...
/content/code_sandbox/apps/vr-tests-react-components/src/stories/Link/SpanLink.stories.tsx
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
582
```xml import { c } from 'ttag'; import { Button } from '@proton/atoms'; import { Badge, Checkbox, FileNameDisplay, Icon } from '@proton/components'; import clsx from '@proton/utils/clsx'; import { stopPropagation } from '../../../utils/stopPropagation'; import { useCheckbox, useItemContextMenu, useSelection } from '...
/content/code_sandbox/applications/drive/src/app/components/sections/FileBrowser/GridViewItem.tsx
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
864
```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 /** * Interface describing `scuminabs`. */ interface Routine { /** * Computes the cu...
/content/code_sandbox/lib/node_modules/@stdlib/stats/base/scuminabs/docs/types/index.d.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
888
```xml /* * This software is released under MIT license. * The full license information can be found in LICENSE in the root directory of this project. */ import { renderIcon } from '../icon.renderer.js'; import { IconShapeTuple } from '../interfaces/icon.interfaces.js'; const icon = { outline: '<path d="M27,27H9...
/content/code_sandbox/packages/core/src/icon/shapes/window-min.ts
xml
2016-09-29T17:24:17
2024-08-11T17:06:15
clarity
vmware-archive/clarity
6,431
136
```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:orientation="vertical" android:gravity="center" tools:context=".MainActiv...
/content/code_sandbox/Android/AndroidExtendedFAB/app/src/main/res/layout/activity_main.xml
xml
2016-05-02T05:43:21
2024-08-16T06:51:39
journaldev
WebJournal/journaldev
1,314
849
```xml import { OrganizationCreateRequest } from "../../../models/request/organization-create.request"; export class ProviderOrganizationCreateRequest { constructor( public clientOwnerEmail: string, public organizationCreateRequest: OrganizationCreateRequest, ) {} } ```
/content/code_sandbox/libs/common/src/admin-console/models/request/provider/provider-organization-create.request.ts
xml
2016-03-09T23:14:01
2024-08-16T15:07:51
clients
bitwarden/clients
8,877
48
```xml 'use strict'; import { EnvironmentVariables } from '../variables/types'; export enum Architecture { Unknown = 1, x86 = 2, x64 = 3, } export enum OSType { Unknown = 'Unknown', Windows = 'Windows', OSX = 'OSX', Linux = 'Linux', } // Return the OS type for the given platform string. ...
/content/code_sandbox/src/client/common/utils/platform.ts
xml
2016-01-19T10:50:01
2024-08-12T21:05:24
pythonVSCode
DonJayamanne/pythonVSCode
2,078
392
```xml import { G2Spec } from '../../../src'; import { fruits } from '../../data/fruits'; export function fruitsIntervalStackEnterColorX(): G2Spec { return { type: 'interval', data: fruits, transform: [{ type: 'stackEnter', groupBy: ['color', 'x'] }], encode: { x: 'year', y: 'value', ...
/content/code_sandbox/__tests__/plots/animation/fruits-interval-stack-enter-color-x.ts
xml
2016-05-26T09:21:04
2024-08-15T16:11:17
G2
antvis/G2
12,060
157
```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 /** * F distribution. */ declare class F { /** * F distribution constructor. * * @...
/content/code_sandbox/lib/node_modules/@stdlib/stats/base/dists/f/ctor/docs/types/index.d.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
659
```xml import { Collection } from '../../common'; import EditorModel from '../../editor/model/Editor'; import Page from './Page'; export default class Pages extends Collection<Page> { constructor(models: any, em: EditorModel) { super(models); this.on('reset', this.onReset); this.on('remove', this.onRemov...
/content/code_sandbox/src/pages/model/Pages.ts
xml
2016-01-22T00:23:19
2024-08-16T11:20:59
grapesjs
GrapesJS/grapesjs
21,687
174
```xml import { TestBed, inject, ComponentFixture, waitForAsync } from "@angular/core/testing"; import { DebugElement } from "@angular/core"; import { UntypedFormGroup, UntypedFormControl } from "@angular/forms"; import { By } from "@angular/platform-browser"; import { AutoComplete } from "primeng/autocomplete"; import...
/content/code_sandbox/projects/ng-dynamic-forms/ui-primeng/src/lib/autocomplete/dynamic-primeng-autocomplete.component.spec.ts
xml
2016-06-01T20:26:33
2024-08-05T16:40:39
ng-dynamic-forms
udos86/ng-dynamic-forms
1,315
667
```xml <?xml version="1.0"?> <wayfire> <plugin name="switcher"> <_short>Switcher</_short> <_long>A plugin to change active window with an animation.</_long> <category>Window Management</category> <!-- Key-bindings --> <option name="next_view" type="key"> <_short>Next view</_short> <_long>Switches to th...
/content/code_sandbox/metadata/switcher.xml
xml
2016-03-04T15:00:44
2024-08-16T19:04:29
wayfire
WayfireWM/wayfire
2,346
367
```xml import { StorageKey } from './StorageKeys' export interface KeyValueStoreInterface<T> { setValue(key: StorageKey, value: T): void getValue(key: StorageKey): T | undefined removeValue(key: StorageKey): void } ```
/content/code_sandbox/packages/services/src/Domain/Storage/KeyValueStoreInterface.ts
xml
2016-12-05T23:31:33
2024-08-16T06:51:19
app
standardnotes/app
5,180
54
```xml import type { ComponentProps } from 'react'; import React from 'react'; import { TooltipLinkList } from '@storybook/core/components'; import { styled } from '@storybook/core/theming'; import { LinkIcon } from '@storybook/icons'; import type { Meta, StoryObj } from '@storybook/react'; import { expect, screen, us...
/content/code_sandbox/code/core/src/manager/components/sidebar/Menu.stories.tsx
xml
2016-03-18T04:23:44
2024-08-16T19:22:08
storybook
storybookjs/storybook
83,755
897
```xml <?xml version='1.0'?> <!--*-nxml-*--> <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "path_to_url"> <refentry id="flatpak-create-usb"> <refentryinfo> <title>flatpak create-usb</title> <productname>flatpak</productname> <authorgroup> <author> ...
/content/code_sandbox/doc/flatpak-create-usb.xml
xml
2016-05-19T14:19:21
2024-08-16T16:20:45
flatpak
flatpak/flatpak
4,157
2,067
```xml export default function NextLogo() { return ( <svg aria-label="Next.js logotype" height="68" role="img" viewBox="0 0 394 79" width="100" > <path d="M261.919 0.0330722H330.547V12.7H303.323V79.339H289.71V12.7H261.919V0.0330722Z" fill="currentColor" ...
/content/code_sandbox/examples/with-supabase/components/NextLogo.tsx
xml
2016-10-05T23:32:51
2024-08-16T19:44:30
next.js
vercel/next.js
124,056
2,041
```xml /** * Default system fonts based on current platform. * * @remarks If you are using Expo, use `Constants.systemFonts` instead. */ const defaultSystemFonts = ['Arial', 'Courier New', 'Georgia']; export default defaultSystemFonts; ```
/content/code_sandbox/packages/render-html/src/defaultSystemFonts.ts
xml
2016-11-29T10:50:53
2024-08-08T06:53:22
react-native-render-html
meliorence/react-native-render-html
3,445
51
```xml import * as React from 'react'; import { useBreadcrumbDivider_unstable } from './useBreadcrumbDivider'; import { renderBreadcrumbDivider_unstable } from './renderBreadcrumbDivider'; import { useBreadcrumbDividerStyles_unstable } from './useBreadcrumbDividerStyles.styles'; import type { BreadcrumbDividerProps } f...
/content/code_sandbox/packages/react-components/react-breadcrumb/library/src/components/BreadcrumbDivider/BreadcrumbDivider.tsx
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
199
```xml import * as React from 'react'; import type { Meta } from '@storybook/react'; import { Steps } from 'storywright'; import { getStoryVariant, RTL, StoryWrightDecorator, TestWrapperDecoratorTall, } from '../../utilities'; import { IButtonProps, CommandBarButton } from '@fluentui/react/lib/Button'; const c...
/content/code_sandbox/apps/vr-tests/src/stories/Button/CommandButton.stories.tsx
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
425
```xml // luma.gl import {isNumberArray} from './is-array'; /** Test if two arrays are deep equal, with a length limit that defaults to 16 */ export function arrayEqual(a: unknown, b: unknown, limit: number = 16) { if (a !== b) { return false; } const arrayA = a; const arrayB = b; if (!isNumberArray(arr...
/content/code_sandbox/modules/core/src/utils/array-equal.ts
xml
2016-01-25T09:41:59
2024-08-16T10:03:05
luma.gl
visgl/luma.gl
2,280
207
```xml import { DisplayObject } from '@antv/g'; import { lowerFirst, upperFirst, isPlainObject } from '@antv/util'; export function identity<T>(x: T): T { return x; } type Func<R> = (x: R, ...args: any[]) => R; /** * Composes functions from left to right. */ export function compose<R>(fns: Func<R>[]): Func<R> { ...
/content/code_sandbox/src/utils/helper.ts
xml
2016-05-26T09:21:04
2024-08-15T16:11:17
G2
antvis/G2
12,060
1,121
```xml <!-- *********************************************************************************************** Microsoft.TestPlatform.ImportAfter.targets WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have created a backup copy. Incorrect changes to this file will make it ...
/content/code_sandbox/src/Layout/redist/MSBuildImports/Current/Microsoft.Common.targets/ImportAfter/Microsoft.TestPlatform.ImportAfter.targets
xml
2016-07-22T21:26:02
2024-08-16T17:23:58
sdk
dotnet/sdk
2,627
283
```xml import ActionButtons from '@erxes/ui/src/components/ActionButtons'; import Button from '@erxes/ui/src/components/Button'; import Tip from '@erxes/ui/src/components/Tip'; import React from 'react'; import { IPage } from '../../types'; type Props = { page: IPage; accountId: string; remove: (pageId: string) ...
/content/code_sandbox/packages/plugin-calendar-ui/src/settings/components/scheduler/PageRow.tsx
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
331
```xml import { renderHook } from '@testing-library/react-hooks'; import { RESPONSE_CODE } from '@proton/shared/lib/drive/constants'; import isTruthy from '@proton/utils/isTruthy'; import { VolumesStateProvider } from '../_volumes/useVolumesState'; import { useLinksActions } from './useLinksActions'; jest.mock('@pro...
/content/code_sandbox/packages/drive-store/store/_links/useLinksActions.test.tsx
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
1,956
```xml import { RuntimeError } from '@botpress/client' import { Activity, ConversationReference, BotFrameworkAdapter, CardFactory, CardAction, ActionTypes, Attachment, MessageFactory, } from 'botbuilder' import * as bp from '.botpress' type TeamsConfig = bp.configuration.Configuration type Choice = bp...
/content/code_sandbox/integrations/teams/src/channels.ts
xml
2016-11-16T21:57:59
2024-08-16T18:45:35
botpress
botpress/botpress
12,401
1,315
```xml /// <reference types="../../../../types/cypress" /> // Components import { VBottomNavigation } from '..' import { VLayout } from '@/components/VLayout' describe('VBottomNavigation', () => { it('should allow custom height', () => { cy.mount(() => ( <VLayout> <VBottomNavigation height="200" /...
/content/code_sandbox/packages/vuetify/src/components/VBottomNavigation/__tests__/VBottomNavigation.spec.cy.tsx
xml
2016-09-12T00:39:35
2024-08-16T20:06:39
vuetify
vuetifyjs/vuetify
39,539
296
```xml /* * Tencent is pleased to support the open source community by making * WCDB available. * * All rights reserved. * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #import <WCDB...
/content/code_sandbox/Pods/WCDB/objc/WCDB/interface/core/WCTStatement.mm
xml
2016-01-25T12:21:28
2024-08-15T03:10:31
TLChat
tbl00c/TLChat
1,402
1,357
```xml <?xml version="1.0" encoding="UTF-8"?> <!-- ~ contributor license agreements. See the NOTICE file distributed with ~ this work for additional information regarding copyright ownership. ~ ~ path_to_url ~ ~ Unless required by applicable law or agreed to in writing, software ~ WITHOUT WARRANTIES ...
/content/code_sandbox/test/it/rewriter/src/test/resources/scenario/encrypt/case/query-with-cipher/ddl/alter/alter-table.xml
xml
2016-01-18T12:49:26
2024-08-16T15:48:11
shardingsphere
apache/shardingsphere
19,707
479
```xml // Styles import './VDatePickerControls.sass' // Components import { VBtn } from '@/components/VBtn' import { VSpacer } from '@/components/VGrid' // Composables import { IconValue } from '@/composables/icons' // Utilities import { computed } from 'vue' import { genericComponent, propsFactory, useRender } from...
/content/code_sandbox/packages/vuetify/src/components/VDatePicker/VDatePickerControls.tsx
xml
2016-09-12T00:39:35
2024-08-16T20:06:39
vuetify
vuetifyjs/vuetify
39,539
809
```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> <!-- Side sheet accessibility pane title --> <string name="side_she...
/content/code_sandbox/lib/java/com/google/android/material/sidesheet/res/values/strings.xml
xml
2016-12-05T16:11:29
2024-08-16T17:51:42
material-components-android
material-components/material-components-android
16,176
165
```xml //# sourceMappingURL=select-multiple.spec.d.ts.map ```
/content/code_sandbox/public/types/cypress/integration/select-multiple.spec.d.ts
xml
2016-03-15T14:02:08
2024-08-15T07:08:50
Choices
Choices-js/Choices
6,092
11
```xml import React from 'react'; import { IonApp, IonContent, IonPage, setupIonicReact } from '@ionic/react'; import '@ionic/react/css/core.css'; setupIonicReact(); const App: React.FC = () => ( <IonApp> <IonPage> <IonContent><h1>Hello, World!</h1></IonContent> </IonPage> </IonApp> ); export defa...
/content/code_sandbox/packages/static-build/test/fixtures/ionic-react-v7/src/App.tsx
xml
2016-09-09T01:12:08
2024-08-16T17:39:45
vercel
vercel/vercel
12,545
90
```xml import { Pipe, PipeTransform, LOCALE_ID, Inject } from '@angular/core'; import { CalendarDateFormatter } from '../calendar-date-formatter/calendar-date-formatter.provider'; /** * This pipe is primarily for rendering the current view title. Example usage: * ```typescript * // where `viewDate` is a `Date` and ...
/content/code_sandbox/projects/angular-calendar/src/modules/common/calendar-date/calendar-date.pipe.ts
xml
2016-04-26T15:19:33
2024-08-08T14:23:40
angular-calendar
mattlewis92/angular-calendar
2,717
319
```xml // escape delimiters used by path-to-regexp export default function escapePathDelimiters( segment: string, escapeEncoded?: boolean ): string { return segment.replace( new RegExp(`([/#?]${escapeEncoded ? '|%(2f|23|3f|5c)' : ''})`, 'gi'), (char: string) => encodeURIComponent(char) ) } ```
/content/code_sandbox/packages/next/src/shared/lib/router/utils/escape-path-delimiters.ts
xml
2016-10-05T23:32:51
2024-08-16T19:44:30
next.js
vercel/next.js
124,056
82
```xml <?xml version="1.0" encoding="UTF-8"?> <?import com.jfoenix.controls.JFXButton?> <?import com.jfoenix.controls.JFXTextField?> <?import javafx.geometry.Insets?> <?import javafx.scene.control.Label?> <?import javafx.scene.control.TextArea?> <?import javafx.scene.layout.AnchorPane?> <?import javafx.scene.layout.HB...
/content/code_sandbox/src/main/resources/fxml/FileEditorView.fxml
xml
2016-05-11T07:52:42
2024-08-16T16:05:37
vdm
ingbyr/vdm
1,914
493
```xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="path_to_url" package="com.rxjava2.android.samples"> <uses-permission android:name="android.permission.INTERNET" /> <application android:name=".MyApplication" android:allowBackup="true" android:icon="@mipmap/ic_l...
/content/code_sandbox/app/src/main/AndroidManifest.xml
xml
2016-08-27T08:21:37
2024-08-06T07:35:34
RxJava2-Android-Samples
amitshekhariitbhu/RxJava2-Android-Samples
4,957
1,189
```xml import '@expo/server/install'; import type { ExpoRoutesManifestV1, RouteInfo } from 'expo-router/build/routes-manifest'; import fs from 'node:fs'; import path from 'node:path'; import { ExpoRouterServerManifestV1FunctionRoute } from './types'; const debug = process.env.NODE_ENV === 'development' ? (requ...
/content/code_sandbox/packages/@expo/server/src/index.ts
xml
2016-08-15T17:14:25
2024-08-16T19:54:44
expo
expo/expo
32,004
1,621
```xml import * as pulumi from "@pulumi/pulumi"; import * as random from "@pulumi/random"; export class AnotherComponent extends pulumi.ComponentResource { constructor(name: string, opts?: pulumi.ComponentResourceOptions) { super("components:index:AnotherComponent", name, {}, opts); const firstPass...
/content/code_sandbox/tests/testdata/codegen/components-pp/nodejs/another-component.ts
xml
2016-10-31T21:02:47
2024-08-16T19:47:04
pulumi
pulumi/pulumi
20,743
104
```xml import { TBlock, TPhrasing, TText } from '@native-html/transient-render-engine'; import React from 'react'; import { TextProps, ViewProps } from 'react-native'; import { TDefaultRendererProps } from '../shared-types'; const empty: any = {}; /** * Extract React Native props for a given {@link TNode}, such as t...
/content/code_sandbox/packages/render-html/src/helpers/getNativePropsForTNode.ts
xml
2016-11-29T10:50:53
2024-08-08T06:53:22
react-native-render-html
meliorence/react-native-render-html
3,445
612
```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 isSignedIntegerDataType = require( './index' ); // TESTS // // The function returns a boolean... { isSi...
/content/code_sandbox/lib/node_modules/@stdlib/ndarray/base/assert/is-signed-integer-data-type/docs/types/test.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
149
```xml <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "path_to_url" > <!-- or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file ...
/content/code_sandbox/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-sqlserver/src/main/resources/org/apache/guacamole/auth/jdbc/permission/SharingProfilePermissionMapper.xml
xml
2016-03-22T07:00:06
2024-08-16T13:03:48
guacamole-client
apache/guacamole-client
1,369
1,130
```xml import { Meta, StoryObj, moduleMetadata } from "@storybook/angular"; import { AnchorLinkDirective, ButtonLinkDirective } from "./link.directive"; import { LinkModule } from "./link.module"; export default { title: "Component Library/Link", decorators: [ moduleMetadata({ imports: [LinkModule], ...
/content/code_sandbox/libs/components/src/link/link.stories.ts
xml
2016-03-09T23:14:01
2024-08-16T15:07:51
clients
bitwarden/clients
8,877
962
```xml <?xml version='1.1' encoding='UTF-8'?> <flow-definition plugin="workflow-job@2.38"> <actions> <org.jenkinsci.plugins.pipeline.modeldefinition.actions.DeclarativeJobAction plugin="pipeline-model-definition@1.6.0"/> <org.jenkinsci.plugins.pipeline.modeldefinition.actions.DeclarativeJobPropertyTrackerActi...
/content/code_sandbox/setup/jenkins-job.xml
xml
2016-01-17T12:44:26
2024-08-16T18:46:08
DevOps-Bash-tools
HariSekhon/DevOps-Bash-tools
2,744
597
```xml import { addToCartAtom } from "@/store/cart.store" import { changeFocusAtom, searchPopoverAtom } from "@/store/ui.store" import { useSetAtom } from "jotai" import { SearchIcon } from "lucide-react" import { IProduct } from "@/types/product.types" import { CommandItem } from "@/components/ui/command" const Prod...
/content/code_sandbox/pos/modules/products/components/productItem/productItem.market.tsx
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
228
```xml /** * Formatting.ts */ /// <reference path="./../../../../node_modules/typescript/lib/protocol.d.ts" /> import * as os from "os" import * as path from "path" import * as types from "vscode-languageserver-types" import * as Oni from "oni-api" import { IDocumentRangeFormattingParams } from "./Types" import ...
/content/code_sandbox/vim/core/oni-plugin-typescript/src/Formatting.ts
xml
2016-11-16T14:42:55
2024-08-14T11:48:05
oni
onivim/oni
11,355
279
```xml export default function Page() { return 'main catchall' } ```
/content/code_sandbox/test/e2e/app-dir/parallel-routes-and-interception/app/parallel-nested-catchall/[...catchAll]/page.tsx
xml
2016-10-05T23:32:51
2024-08-16T19:44:30
next.js
vercel/next.js
124,056
15
```xml import {engines} from "../../src/index.js"; import fs from "fs"; import {join} from "path"; const rootDir = join(__dirname, ".."); export function test(name: string) { const engine = engines.get(name)!; const user = {name: "Tobi"}; describe(name, () => { // Use case: return upper case string. it...
/content/code_sandbox/packages/engines/test/shared/filters.ts
xml
2016-02-21T18:38:47
2024-08-14T21:19:48
tsed
tsedio/tsed
2,817
170
```xml import { Signature, compareVersions } from "./signature"; import { LoadoutFile, signature } from "./loadout"; import { Widget, WidgetType } from "./widget"; import { Readout, migrateReadout } from "./readout"; import { Graph, migrateGraph } from "./graph"; export function migrateLoadout(file: LoadoutFile): voi...
/content/code_sandbox/IntelPresentMon/AppCef/Web/src/core/loadout-migration.ts
xml
2016-03-09T18:44:16
2024-08-15T19:51:10
PresentMon
GameTechDev/PresentMon
1,580
273
```xml import { createContext, useContext } from 'react'; import { WebPartContext } from '@microsoft/sp-webpart-base'; import { ISPEventObserver } from '@microsoft/sp-core-library'; import { IAdaptiveCardViewerState, AdaptiveCardViewerStateAction } from '../webparts/adaptiveCardViewer/components/IAdaptiveCardViewerStat...
/content/code_sandbox/samples/react-adaptivecards-hooks/src/services/AppContext.ts
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
150
```xml import * as React from 'react'; const defaultProps2 = { id: 123 }; const defaultProps = { id: defaultProps2.id, disabled: false }; interface SeparateDefaultPropsIndividualProps { id: number; disabled: boolean; } /** SeparateDefaultPropsIndividual description */ export const SeparateDefaultPropsIndi...
/content/code_sandbox/src/__tests__/data/SeparateDefaultPropsIndividual.tsx
xml
2016-05-06T14:40:29
2024-08-15T13:51:56
react-docgen-typescript
styleguidist/react-docgen-typescript
1,176
110
```xml function onChat(event: string, handler: () => void) { handler() } onChat("foo", () => console.log("bar")) ```
/content/code_sandbox/tests/runtime-trace-tests/cases/TODO_function_types.ts
xml
2016-01-24T19:35:52
2024-08-16T16:39:39
pxt
microsoft/pxt
2,069
31
```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/msgpack-value/pom.xml
xml
2016-03-20T03:38:04
2024-08-16T19:59:58
camunda
camunda/camunda
3,172
442
```xml <?xml version="1.0" encoding="UTF-8"?> <!-- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. This code is free software; you can redistribute it and/or modify it published by the Free Software Foundation. Oracle designates this particular file as subject to the "Classpath" exception as provid...
/content/code_sandbox/plugins/glassfish/amx-api/build.xml
xml
2016-09-12T14:44:30
2024-08-16T14:41:50
visualvm
oracle/visualvm
2,821
314
```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. ** ** ** 5-row layout for English Dvorak. ** Trevor Bergeron, mallegonian@gmail.com ** U...
/content/code_sandbox/app/src/main/res/values-en-rDV/donottranslate-keymap.xml
xml
2016-01-22T21:40:54
2024-08-16T11:54:30
hackerskeyboard
klausw/hackerskeyboard
1,807
2,327
```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. --> <animated-vector xmlns:android="path_to_url" xmlns:aapt="path_to_url" xmlns:tools="path_to_url" android:drawable="@drawable/vd_...
/content/code_sandbox/catalog/java/io/material/catalog/assets/res/drawable/avd_clock_alarm.xml
xml
2016-12-05T16:11:29
2024-08-16T17:51:42
material-components-android
material-components/material-components-android
16,176
569
```xml <ToggleButton x:Class="Telegram.Controls.PollOptionControl" xmlns="path_to_url" xmlns:d="path_to_url" xmlns:x="path_to_url" xmlns:mc="path_to_url" xmlns:muxc="using:Microsoft.UI.Xaml.Controls" Style="{StaticResource PollOptionBut...
/content/code_sandbox/Telegram/Controls/PollOptionControl.xaml
xml
2016-05-23T09:03:33
2024-08-16T16:17:48
Unigram
UnigramDev/Unigram
3,744
1,023
```xml import last from "lodash/last"; import { observer } from "mobx-react"; import * as React from "react"; import { useTranslation } from "react-i18next"; import { mergeRefs } from "react-merge-refs"; import { useHistory, useRouteMatch } from "react-router-dom"; import { richExtensions, withComments } from "@shared/...
/content/code_sandbox/app/scenes/Document/components/Editor.tsx
xml
2016-05-22T21:31:47
2024-08-16T19:57:22
outline
outline/outline
26,751
1,709
```xml // See LICENSE in the project root for license information. import JSZip from 'jszip'; import { FileSystem, type FileSystemStats, Path } from '@rushstack/node-core-library'; // 755 are default permissions to allow read/write/execute for owner and read/execute for group and others. const DEFAULT_FILE_PERMISSION...
/content/code_sandbox/libraries/package-extractor/src/ArchiveManager.ts
xml
2016-09-30T00:28:20
2024-08-16T18:54:35
rushstack
microsoft/rushstack
5,790
495
```xml import * as React from 'react'; import cx from 'classnames'; import { createSvgIcon } from '../utils/createSvgIcon'; import { iconClassNames } from '../utils/iconClassNames'; export const RedoIcon = createSvgIcon({ svg: ({ classes }) => ( <svg role="presentation" focusable="false" viewBox="2 2 16 16" clas...
/content/code_sandbox/packages/fluentui/react-icons-northstar/src/components/RedoIcon.tsx
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
885
```xml export { FocusZone, FocusZoneDirection, FocusZoneTabbableElements } from '@fluentui/react-focus'; export type { IFocusZone, IFocusZoneProps } from '@fluentui/react-focus'; ```
/content/code_sandbox/packages/react/src/FocusZone.ts
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
44
```xml <!-- ~ contributor license agreements. See the NOTICE file distributed with ~ this work for additional information regarding copyright ownership. ~ ~ path_to_url ~ ~ Unless required by applicable law or agreed to in writing, software ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expre...
/content/code_sandbox/test/e2e/sql/src/test/resources/env/scenario/mask_encrypt/authority.xml
xml
2016-01-18T12:49:26
2024-08-16T15:48:11
shardingsphere
apache/shardingsphere
19,707
855
```xml /****************************************************************************** Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING...
/content/code_sandbox/node_modules/tslib/tslib.d.ts
xml
2016-03-11T09:28:00
2024-08-16T17:55:54
antSword
AntSwordProject/antSword
3,579
3,353
```xml type a= { // prettier-ignore [A in B]: C | D } type a= { [ // prettier-ignore A in B ]: C | D } type a= { [ A in // prettier-ignore B ]: C | D } type a= { [A in B]: // prettier-ignore C | D } type a= { [ /* pretti...
/content/code_sandbox/tests/format/typescript/prettier-ignore/mapped-types.ts
xml
2016-11-29T17:13:37
2024-08-16T17:29:57
prettier
prettier/prettier
48,913
308
```xml import clsx from 'clsx'; import { Icon, IconProps } from '@@/Icon'; type Props = IconProps; export function LogoIcon({ icon, iconClass }: Props) { return ( <div className={` inline-flex h-14 w-14 items-center justify-center text-7xl `} > <Icon icon={icon} className={clsx('!flex', i...
/content/code_sandbox/app/react/components/BoxSelector/LogoIcon.tsx
xml
2016-05-19T20:15:28
2024-08-16T19:15:14
portainer
portainer/portainer
30,083
101
```xml export interface PathLocale { detectedLocale?: string pathname: string } /** * For a pathname that may include a locale from a list of locales, it * removes the locale from the pathname returning it alongside with the * detected locale. * * @param pathname A pathname that may include a locale. * @para...
/content/code_sandbox/packages/next/src/shared/lib/i18n/normalize-locale-path.ts
xml
2016-10-05T23:32:51
2024-08-16T19:44:30
next.js
vercel/next.js
124,056
226
```xml import { PromiseDelegate } from '@lumino/coreutils'; import { DisposableDelegate } from '@lumino/disposable'; import * as Kernel from './kernel'; import * as KernelMessage from './messages'; declare let setImmediate: any; /** * Implementation of a kernel future. * * If a reply is expected, the Future is co...
/content/code_sandbox/packages/services/src/kernel/future.ts
xml
2016-06-03T20:09:17
2024-08-16T19:12:44
jupyterlab
jupyterlab/jupyterlab
14,019
3,437