text
stringlengths
9
39.2M
dir
stringlengths
26
295
lang
stringclasses
185 values
created_date
timestamp[us]
updated_date
timestamp[us]
repo_name
stringlengths
1
97
repo_full_name
stringlengths
7
106
star
int64
1k
183k
len_tokens
int64
1
13.8M
```xml <?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="path_to_url" tools:ignore="TypographyEllipsis,TypographyDashes"> <string name="about">Honi buruz</string> <string name="add">Gehitu</string> <string name="add_folder">Gehitu karpeta</string> <string name="add_item">Gehitu elementua</string> ...
/content/code_sandbox/app/src/main/res/values-eu-rES/strings.xml
xml
2016-04-30T16:43:17
2024-08-16T19:45:08
android
bitwarden/android
6,085
24,672
```xml import { Entity, PrimaryGeneratedColumn, ManyToMany, JoinTable, } from "../../../../src" import { Column } from "../../../../src/decorator/columns/Column" import { Category } from "./Category" @Entity() export class Question { @PrimaryGeneratedColumn() id: number @Column() name:...
/content/code_sandbox/test/github-issues/4190/entity/Question.ts
xml
2016-02-29T07:41:14
2024-08-16T18:28:52
typeorm
typeorm/typeorm
33,875
91
```xml // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import { PROF_COLS, UNICODE_BLOCK } from "../src/constants"; import { SelectionBroker } from "../src/selection-broker"; import { TextView } from "../src/text-view"; import { MySelection } from "./selection"; ...
/content/code_sandbox/lts/deps/v8/tools/turbolizer/src/disassembly-view.ts
xml
2016-10-10T12:09:49
2024-08-11T15:13:17
node-packer
pmq20/node-packer
3,069
3,549
```xml import { IContext } from "../../connectionResolver"; import { sendCoreMessage } from "../../messageBroker"; import { IReportDocument } from "../../models/definitions/reports"; export default { async charts( report: IReportDocument, {}, { models }: IContext, { queryParams } ) { try { ...
/content/code_sandbox/packages/plugin-reports-api/src/graphql/resolvers/reports.ts
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
369
```xml /* * Planck.js * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, ...
/content/code_sandbox/src/dynamics/Position.ts
xml
2016-03-22T04:46:05
2024-08-16T07:41:00
planck.js
piqnt/planck.js
4,864
545
```xml export { buttonVariables as buttonContentVariables } from './buttonVariables'; ```
/content/code_sandbox/packages/fluentui/react-northstar/src/themes/teams/components/Button/buttonContentVariables.ts
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
15
```xml import * as React from 'react'; import { render } from '@testing-library/react'; import { OptionGroup } from './OptionGroup'; import { isConformant } from '../../testing/isConformant'; describe('OptionGroup', () => { isConformant({ Component: OptionGroup, displayName: 'OptionGroup', testOptions: {...
/content/code_sandbox/packages/react-components/react-combobox/library/src/components/OptionGroup/OptionGroup.test.tsx
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
258
```xml /* * one or more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. */ import {AxeResults} from 'axe-core'; import {isNil} from 'lodash'; import {expect} from '@playwright/test'; function validateResults(results: AxeResu...
/content/code_sandbox/operate/client/e2e-playwright/a11y/validateResults.ts
xml
2016-03-20T03:38:04
2024-08-16T19:59:58
camunda
camunda/camunda
3,172
133
```xml import {IrcEventHandler} from "../../client"; import Msg from "../../models/msg"; export default <IrcEventHandler>function (irc, network) { const client = this; irc.on("registered", function (data) { network.setNick(data.nick); const lobby = network.getLobby(); const msg = new Msg({ text: "You're ...
/content/code_sandbox/server/plugins/irc-events/welcome.ts
xml
2016-02-09T03:16:03
2024-08-16T10:52:38
thelounge
thelounge/thelounge
5,518
129
```xml // See LICENSE.txt for license information. import {General} from '@constants'; import type ClientBase from './base'; export interface ClientNPSMix { npsGiveFeedbackAction: () => Promise<Post>; } const ClientNPS = <TBase extends Constructor<ClientBase>>(superclass: TBase) => class extends superclass { ...
/content/code_sandbox/app/client/rest/nps.ts
xml
2016-10-07T16:52:32
2024-08-16T12:08:38
mattermost-mobile
mattermost/mattermost-mobile
2,155
125
```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. --> <com.google.android.flexbox.FlexboxLayout xmlns:android="path_to_url" xmlns:app="path_to_url...
/content/code_sandbox/flexbox/src/androidTest/res/layout/activity_divider_test_direction_column.xml
xml
2016-05-04T08:11:22
2024-08-15T12:27:34
flexbox-layout
google/flexbox-layout
18,226
362
```xml import chalk from 'chalk' import * as fs from 'fs' import * as pathlib from 'path' import type commandDefinitions from '../command-definitions' import * as consts from '../consts' import * as errors from '../errors' import * as utils from '../utils' import { GlobalCommand } from './global-command' type ProjectT...
/content/code_sandbox/packages/cli/src/command-implementations/init-command.ts
xml
2016-11-16T21:57:59
2024-08-16T18:45:35
botpress
botpress/botpress
12,401
1,021
```xml import React from 'react'; import type { AppContext, RunClientAppOptions, } from '@ice/runtime'; import { AppContextProvider, getAppData, getAppConfig, Runtime } from '@ice/runtime'; import { Current } from '../index.js'; import { eventCenter } from '../emitter/emitter.js'; import { APP_DATA_READY } from '../c...
/content/code_sandbox/packages/miniapp-runtime/src/app/runClientApp.tsx
xml
2016-11-03T06:59:15
2024-08-16T10:11:29
ice
alibaba/ice
17,815
459
```xml export { Chart, type ChartOptions, type MarkNode, type CompositionNode, } from './chart'; export { register } from './library'; export { Runtime } from './runtime'; export { extend } from './extend'; ```
/content/code_sandbox/src/api/index.ts
xml
2016-05-26T09:21:04
2024-08-15T16:11:17
G2
antvis/G2
12,060
50
```xml import type { ExpoConfig } from 'expo/config'; import type { EASConfig as ManifestsEASConfig, ExpoGoConfig as ManifestsExpoGoConfig, ExpoUpdatesManifest, EmbeddedManifest, ManifestAsset as ManifestAssetForReExport, ManifestExtra as ManifestExtraForReExport, ClientScopingConfig as ClientScopingConfi...
/content/code_sandbox/packages/expo-constants/src/Constants.types.ts
xml
2016-08-15T17:14:25
2024-08-16T19:54:44
expo
expo/expo
32,004
1,903
```xml <?xml version="1.0" standalone="no"?> <!--*- mode: xml -*--> <glade-interface> <widget class="GtkWindow" id="window1"> <property name="visible">True</property> <property name="title" translatable="yes">Gtk Buildroot Configurator</property> <property name="type">GTK_WINDOW_TOPLEVEL</property> <property ...
/content/code_sandbox/buildroot/support/kconfig/gconf.glade
xml
2016-03-19T14:59:48
2024-08-15T01:49:02
pinn
procount/pinn
1,085
6,644
```xml <shapes name="mxgraph.gcp.machine_learning"> <shape aspect="variable" h="113.93" name="Cloud Machine Learning" strokewidth="inherit" w="129.03"> <connections/> <foreground> <save/> <path> <move x="28.3" y="108.18"/> <line x="2.05" y="62.72"/> <arc large...
/content/code_sandbox/src/main/webapp/stencils/gcp/machine_learning.xml
xml
2016-09-06T12:59:15
2024-08-16T13:28:41
drawio
jgraph/drawio
40,265
9,921
```xml <Project Sdk="Microsoft.NET.Sdk"> <Import Project="..\..\..\common.test.props" /> <PropertyGroup> <TargetFramework>net8.0</TargetFramework> <LangVersion>latest</LangVersion> <AssemblyName>Volo.Abp.AspNetCore.Authentication.OAuth.Tests</AssemblyName> <PackageId>Volo.Abp.AspNetCore.Authentica...
/content/code_sandbox/framework/test/Volo.Abp.AspNetCore.Authentication.OAuth.Tests/Volo.Abp.AspNetCore.Authentication.OAuth.Tests.csproj
xml
2016-12-03T22:56:24
2024-08-16T16:24:05
abp
abpframework/abp
12,657
220
```xml export * from 'rxjs-compat/operators/take'; ```
/content/code_sandbox/deps/node-10.15.3/tools/node_modules/eslint/node_modules/rxjs/operators/take.d.ts
xml
2016-09-05T10:18:44
2024-08-11T13:21:40
LiquidCore
LiquidPlayer/LiquidCore
1,010
12
```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-ml-rIN/strings.xml
xml
2016-10-06T01:20:05
2024-08-05T10:12:07
BottomSheetPickers
philliphsu/BottomSheetPickers
1,101
378
```xml import ScrollView from './ScrollView'; export type { ScrollViewProps } from './ScrollView'; export default ScrollView; ```
/content/code_sandbox/src/internals/ScrollView/index.tsx
xml
2016-06-06T02:27:46
2024-08-16T16:41:54
rsuite
rsuite/rsuite
8,263
21
```xml import { Component } from '@angular/core'; import { Code } from '@domain/code'; @Component({ selector: 'accessibility-doc', template: ` <div> <app-docsectiontext> <h3>Screen Reader</h3> <p> Value to describe the component can either be provided via <i>labe...
/content/code_sandbox/src/app/showcase/doc/inputnumber/accessibilitydoc.ts
xml
2016-01-16T09:23:28
2024-08-16T19:58:20
primeng
primefaces/primeng
9,969
537
```xml import React, {Component} from 'react' import classnames from 'classnames' import chroma from 'chroma-js' import {isCellUntitled} from 'src/dashboards/utils/cellGetters' import {DEFAULT_CELL_BG_COLOR} from 'src/dashboards/constants' import {ErrorHandling} from 'src/shared/decorators/errors' interface Props { ...
/content/code_sandbox/ui/src/shared/components/LayoutCellHeader.tsx
xml
2016-08-24T23:28:56
2024-08-13T19:50:03
chronograf
influxdata/chronograf
1,494
476
```xml <LinearLayout android:orientation="vertical" android:layout_height="match_parent" android:layout_width="match_parent" xmlns:android="path_to_url" xmlns:app="path_to_url"> <app.dinus.com.loadingdrawable.LoadingView android:id="@+id/circle_brood_view" android:layout_weight="1" ...
/content/code_sandbox/app/src/main/res/layout/activity_shape_change.xml
xml
2016-04-16T07:33:57
2024-08-15T05:21:58
LoadingDrawable
dinuscxj/LoadingDrawable
4,099
193
```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>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.7.18</version> ...
/content/code_sandbox/quickstarts/languages/java/pom.xml
xml
2016-03-17T18:40:42
2024-08-16T15:47:17
kubernetes-engine-samples
GoogleCloudPlatform/kubernetes-engine-samples
1,213
340
```xml import { useFocusEffect } from '@react-navigation/native'; import { BlurView } from 'expo-blur'; import * as Location from 'expo-location'; import * as Notifications from 'expo-notifications'; import * as TaskManager from 'expo-task-manager'; import React from 'react'; import { NativeSyntheticEvent, StyleSheet, ...
/content/code_sandbox/apps/native-component-list/src/screens/Location/GeofencingScreen.tsx
xml
2016-08-15T17:14:25
2024-08-16T19:54:44
expo
expo/expo
32,004
1,748
```xml <?xml version="1.0" encoding="UTF-8"?> <definitions xmlns="path_to_url" xmlns:activiti="path_to_url" targetNamespace="Examples"> <process id="suspendProcess" name="The One Task Process"> <startEvent id="theStart" /> <sequenceFlow id="flow1" sourceRef="theStart" targetRef="theTask" /> <userTa...
/content/code_sandbox/modules/flowable5-test/src/test/resources/org/activiti/engine/test/db/ProcessInstanceSuspensionTest.testSuspendedProcessTimerExecution.bpmn20.xml
xml
2016-10-13T07:21:43
2024-08-16T15:23:14
flowable-engine
flowable/flowable-engine
7,715
220
```xml import Constants, { AppOwnership } from 'expo-constants'; import { requireOptionalNativeModule } from 'expo-modules-core'; // @ts-ignore -- optional interface, will gracefully degrade to `any` if not installed import type { ExpoUpdatesModule } from 'expo-updates'; import { getManifestBaseUrl } from './AssetUris...
/content/code_sandbox/packages/expo-asset/src/PlatformUtils.ts
xml
2016-08-15T17:14:25
2024-08-16T19:54:44
expo
expo/expo
32,004
384
```xml import { strict as assert } from "assert"; import * as path from "path"; import * as vs from "vscode"; import { Sdks } from "../../shared/interfaces"; import { fsPath } from "../../shared/utils/fs"; import { activateWithoutAnalysis, ext, extApi, flutterHelloWorldFolder, helloWorldFolder, helloWorldMainFile } fro...
/content/code_sandbox/src/test/multi_root/extension.test.ts
xml
2016-07-30T13:49:11
2024-08-10T16:23:15
Dart-Code
Dart-Code/Dart-Code
1,472
558
```xml <ResourceDictionary xmlns="path_to_url" xmlns:x="path_to_url" xmlns:animatedvisuals="using:Microsoft.UI.Xaml.Controls.AnimatedVisuals" xmlns:local="using:Microsoft.UI.Xaml.Controls"> <x:Double x:Key="CheckBoxBorderThickness">1</x:Double> <x:Dou...
/content/code_sandbox/Telegram/Themes/CheckBox_themeresources.xaml
xml
2016-05-23T09:03:33
2024-08-16T16:17:48
Unigram
UnigramDev/Unigram
3,744
11,986
```xml <?xml version="1.0" encoding="utf-8" ?> <local:TestContentPage xmlns="path_to_url" xmlns:x="path_to_url" xmlns:d="path_to_url" xmlns:mc="path_to_url" mc:Ignorable="d" Title="Test 11413" xmlns:local="using:Xamarin.Forms.Controls" x:Class="Xamarin.Forms.Controls.Issues.Issue11413"> ...
/content/code_sandbox/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue11413.xaml
xml
2016-03-18T15:52:03
2024-08-16T16:25:43
Xamarin.Forms
xamarin/Xamarin.Forms
5,637
224
```xml import React from 'react'; import {SvgFromUri, SvgFromXml, SvgUri, SvgXml} from 'react-native-svg'; import { SvgCss, SvgCssUri, SvgWithCss, SvgWithCssUri, WithLocalSvg, LocalSvg, } from 'react-native-svg/css'; const asset = require('../assets/ruby.svg'); const normalUri = 'path_to_url const uriWit...
/content/code_sandbox/apps/test-examples/src/Test1813.tsx
xml
2016-01-17T14:29:21
2024-08-16T13:35:44
react-native-svg
software-mansion/react-native-svg
7,397
1,026
```xml import { Component } from "@angular/core"; import { ComponentFixture, TestBed, waitForAsync } from "@angular/core/testing"; import { By } from "@angular/platform-browser"; import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service"; import { I18nMockService } from "../utils/i18n-mock.ser...
/content/code_sandbox/libs/components/src/radio-button/radio-button.component.spec.ts
xml
2016-03-09T23:14:01
2024-08-16T15:07:51
clients
bitwarden/clients
8,877
541
```xml import { useLayoutEffect, useState } from 'react'; const useWindowSize = (): [number, number] => { const [size, setSize] = useState([0, 0] as [number, number]); useLayoutEffect(() => { function updateSize() { setSize([document.documentElement.clientWidth, document.documentElement.clientHeight]); ...
/content/code_sandbox/pmm-app/src/shared/components/hooks/WindowSize.hooks.ts
xml
2016-01-22T07:14:23
2024-08-13T13:01:59
grafana-dashboards
percona/grafana-dashboards
2,661
110
```xml import * as settings from "coral-server/models/settings"; import { GQLExternalModerationPhaseTypeResolver } from "coral-server/graph/schema/__generated__/types"; export const ExternalModerationPhase: GQLExternalModerationPhaseTypeResolver<settings.ExternalModerationPhase> = { signingSecret: ({ signingSec...
/content/code_sandbox/server/src/core/server/graph/resolvers/ExternalModerationPhase.ts
xml
2016-10-31T16:14:05
2024-08-06T16:15:57
talk
coralproject/talk
1,881
88
```xml import { ReactElement } from 'react'; import BigNumber from 'bignumber.js'; import { InlineMessage, TranslateMarkdown } from '@components'; import { Fiats, getKBHelpArticle, KB_HELP_ARTICLE } from '@config'; import { TxFeeResponseType, validateTxFee } from '@services/EthService/validators'; import { useRates }...
/content/code_sandbox/src/features/SendAssets/components/TxFeeValidation.tsx
xml
2016-12-04T01:35:27
2024-08-14T21:41:58
MyCrypto
MyCryptoHQ/MyCrypto
1,347
794
```xml /// <reference path='..\..\src\compiler\tsc.ts'/> namespace TypeScript.WebTsc { declare var RealActiveXObject: { new (s: string): any }; function getWScriptSystem() { const fso = new RealActiveXObject("Scripting.FileSystemObject"); const fileStream = new ActiveXObject("ADODB.Stream");...
/content/code_sandbox/tests/format/typescript/webhost/webtsc.ts
xml
2016-11-29T17:13:37
2024-08-16T17:29:57
prettier
prettier/prettier
48,913
763
```xml import '@testing-library/jest-dom'; import { cleanup } from '@testing-library/react'; import { vi } from 'vitest'; import '@proton/testing/lib/vitest/mockMatchMedia'; import '@proton/testing/lib/vitest/mockUnleash'; afterEach(cleanup); // TODO double check if needed; see path_to_url // Silence warnings on expe...
/content/code_sandbox/applications/wallet/vitest.setup.ts
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
538
```xml declare module 'react-native-ble-plx' { // TypeDefinition.js ************************************************************************************************* /** * [Android only] ConnectionOptions parameter to describe when to call BluetoothGatt.refresh() */ export type RefreshGattMoment = 'OnConne...
/content/code_sandbox/src/index.d.ts
xml
2016-07-27T10:57:27
2024-08-14T16:51:53
react-native-ble-plx
dotintent/react-native-ble-plx
3,006
15,689
```xml import 'intersection-observer'; import { useEffect, useState } from 'react'; import { BasicTarget, getTargetElement } from '../utils/getTargetElement'; interface Options { rootMargin?: string; threshold?: number | number[]; root?: BasicTarget<Element>; } function useInViewport(target: BasicTarget, option...
/content/code_sandbox/packages/zarm/src/use-in-viewport/index.ts
xml
2016-07-13T11:45:37
2024-08-12T19:23:48
zarm
ZhongAnTech/zarm
1,707
224
```xml /* eslint-disable react/jsx-key, react-native/no-inline-styles */ import React from "react" import { TextStyle, View, ViewStyle } from "react-native" import { Icon, ListItem, ListView, Text } from "../../../components" import { colors, spacing } from "../../../theme" import { Demo } from "../DemoShowroomScreen" ...
/content/code_sandbox/boilerplate/app/screens/DemoShowroomScreen/demos/DemoListItem.tsx
xml
2016-02-10T16:06:07
2024-08-16T19:52:51
ignite
infinitered/ignite
17,196
1,637
```xml import { ExpoConfig } from '@expo/config-types'; import plist, { PlistObject } from '@expo/plist'; import assert from 'assert'; import fs from 'fs'; import xcode, { XCBuildConfiguration } from 'xcode'; import { InfoPlist } from './IosConfig.types'; import { getAllInfoPlistPaths, getAllPBXProjectPaths, getPBXPro...
/content/code_sandbox/packages/@expo/config-plugins/src/ios/BundleIdentifier.ts
xml
2016-08-15T17:14:25
2024-08-16T19:54:44
expo
expo/expo
32,004
1,727
```xml <?xml version="1.0" encoding="utf-8"?> <layout xmlns:android="path_to_url" xmlns:app="path_to_url" xmlns:tools="path_to_url"> <data> <variable name="viewModel" type="com.topjohnwu.magisk.ui.module.ModuleViewModel" /> </data> <FrameLayout android:lay...
/content/code_sandbox/app/apk/src/main/res/layout/fragment_module_md2.xml
xml
2016-09-08T12:42:53
2024-08-16T19:41:25
Magisk
topjohnwu/Magisk
46,424
455
```xml <?xml version="1.0" encoding="utf-8"?> <animation-list xmlns:android="path_to_url"> <item android:drawable="@drawable/page_loading_01" android:duration="100" /> <item android:drawable="@drawable/page_loading_02" android:duration="100" /> <item android:drawable=...
/content/code_sandbox/app/src/main/res/drawable/frame_anim2.xml
xml
2016-08-08T08:52:10
2024-08-12T19:24:13
AndroidAnimationExercise
REBOOTERS/AndroidAnimationExercise
1,868
352
```xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "path_to_url"> <plist version="1.0"><dict><key>ret</key><integer>0</integer><key>msg</key><string>ok</string><key>minutes</key><array><dict><key>id</key><string>899002-0</string><key>index</key><integer>0</intege...
/content/code_sandbox/YYStockDemo/YYStockDemo/minuteData.plist
xml
2016-10-17T14:56:24
2024-05-28T11:12:26
YYStock
WillkYang/YYStock
1,188
31,275
```xml import { Component, isEqual, jsx } from '@antv/f-engine'; import { ChartChildProps } from '../../chart'; import { updateRange, updateFollow } from './zoomUtil'; import { Scale, ScaleConfig } from '../../deps/f2-scale/src'; import { each, isNumberEqual, isArray } from '@antv/util'; import { quadraticOut as easein...
/content/code_sandbox/packages/f2/src/components/zoom/index.tsx
xml
2016-08-29T06:26:23
2024-08-16T15:50:14
F2
antvis/F2
7,877
4,316
```xml /** * setup rootPath and jestCommandLine */ import * as vscode from 'vscode'; import { showActionInputBox, showActionMenu, getWizardSettings, createSaveConfig, validateCommandLine, selectWorkspaceFolder, toActionButton, validateRootPath, toVirtualFolderSettings, } from '../wizard-helper'; im...
/content/code_sandbox/src/setup-wizard/tasks/setup-jest-cmdline.ts
xml
2016-10-09T13:06:02
2024-08-13T18:32:04
vscode-jest
jest-community/vscode-jest
2,819
1,118
```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/topics/impala_processes.xml
xml
2016-04-13T07:00:08
2024-08-16T10:10:44
impala
apache/impala
1,115
925
```xml import { describe, expect, it } from 'vitest'; import { join, sep } from 'path'; // @ts-ignore - Missing types for "alpha-sort" import { asc as alpha } from 'alpha-sort'; import { staticFiles as getStaticFiles_ } from '../../../src/util/get-files'; import { client } from '../../mocks/client'; const prefix = `${...
/content/code_sandbox/packages/cli/test/unit/util/get-files.test.ts
xml
2016-09-09T01:12:08
2024-08-16T17:39:45
vercel
vercel/vercel
12,545
538
```xml <mxfile host="app.diagrams.net" modified="2020-06-30T06:41:58.039Z" agent="5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36" etag="eN_aVuXlrJnozz_3bGs0" version="13.3.5"><diagram id="R2lEEEUBdFMjLlhIrx00" name="Page-1">your_sha256_hashshRDJoy+gChyh...
/content/code_sandbox/src/main/webapp/templates/basic/erd.xml
xml
2016-09-06T12:59:15
2024-08-16T13:28:41
drawio
jgraph/drawio
40,265
802
```xml <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout 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" tools:context=".MainActivity"> <EditText and...
/content/code_sandbox/Android/AndroidIntentService-BroadcastReceiver/app/src/main/res/layout/activity_main.xml
xml
2016-05-02T05:43:21
2024-08-16T06:51:39
journaldev
WebJournal/journaldev
1,314
355
```xml <code_scheme name="flowable profile" version="173"> <option name="RIGHT_MARGIN" value="160" /> <JavaCodeStyleSettings> <option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="99" /> <option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="99" /> <option name="IMPORT_LAYOUT_TABLE"> ...
/content/code_sandbox/ide-settings/idea/idea-code-style-configuration.xml
xml
2016-10-13T07:21:43
2024-08-16T15:23:14
flowable-engine
flowable/flowable-engine
7,715
673
```xml /* eslint-disable @typescript-eslint/no-explicit-any */ import { FieldError } from '~/components/offers/constants'; /** * Removes empty objects, empty strings, `null`, `undefined`, and `NaN` values from an object. * Does not remove empty arrays. * @param object * @returns object without empty values or obj...
/content/code_sandbox/apps/portal/src/utils/offers/form.tsx
xml
2016-07-05T05:00:48
2024-08-16T19:01:19
tech-interview-handbook
yangshun/tech-interview-handbook
115,302
581
```xml <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <AssemblyName>peach</AssemblyName> <OutputType>Exe</OutputType> <PackageId>peach</PackageId> <!--RuntimeIdentifiers>win;win7;win7-anycpu;ubuntu.14.04;ubuntu.14.04-anycpu;osx.10.10;osx.10.10-anycpu</RuntimeIdentifiers--> </PropertyGroup> <I...
/content/code_sandbox/src/Compiler/peach/peach.csproj
xml
2016-02-05T16:22:55
2024-08-16T17:42:35
peachpie
peachpiecompiler/peachpie
2,317
209
```xml export interface PatchFile { path: string hash: string } export interface PatchInfo { strict: boolean file: PatchFile } ```
/content/code_sandbox/patching/types/src/index.ts
xml
2016-01-28T07:40:43
2024-08-16T12:38:47
pnpm
pnpm/pnpm
28,869
34
```xml import { getWindow } from './dom/getWindow'; let isMacResult: boolean | undefined; /** * Returns true if the user is on a Mac. Caches the result value. * @param reset - Reset the cached result value (mainly for testing). */ export function isMac(reset?: boolean): boolean { if (typeof isMacResult === 'unde...
/content/code_sandbox/packages/utilities/src/osDetector.ts
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
152
```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/client/ClientUtils.test.ts
xml
2016-07-21T15:34:05
2024-08-16T11:40:13
wire-webapp
wireapp/wire-webapp
1,125
397
```xml import { ComponentFixture, TestBed } from '@angular/core/testing'; import { ColumnsExampleComponent } from './columns-example.component'; describe('ColumnsExampleComponent', () => { let component: ColumnsExampleComponent; let fixture: ComponentFixture<ColumnsExampleComponent>; beforeEach(async () => { ...
/content/code_sandbox/projects/docs-app/src/app/examples/columns-example/columns-example.component.spec.ts
xml
2016-03-10T21:29:15
2024-08-15T07:07:30
angular-tree-component
CirclonGroup/angular-tree-component
1,093
124
```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/components/calling/CallParticipantsListItem/index.ts
xml
2016-07-21T15:34:05
2024-08-16T11:40:13
wire-webapp
wireapp/wire-webapp
1,125
96
```xml export * from "./WorkflowSettings"; ```
/content/code_sandbox/src/renderer/Extensions/Workflow/index.ts
xml
2016-10-11T04:59:52
2024-08-16T11:53:31
ueli
oliverschwendener/ueli
3,543
8
```xml import { jest } from '@jest/globals'; import { render, Screen, screen } from '@testing-library/react'; import fs from 'fs-extra'; import path from 'path'; import { fileURLToPath } from 'url'; import { DiffBlock } from '.'; const dirname = path.dirname(fileURLToPath(import.meta.url)); const DIFF_PATH = '/stati...
/content/code_sandbox/docs/ui/components/Snippet/DiffBlock.test.tsx
xml
2016-08-15T17:14:25
2024-08-16T19:54:44
expo
expo/expo
32,004
605
```xml const GITHUB_REPO_CONTRIB_ENDPOINT = 'path_to_url export const GITHUB_CONTRIB_START = 'GITHUB_CONTRIB_START'; export const GITHUB_CONTRIB_SUCCESS = 'GITHUB_CONTRIB_SUCCESS'; export const GITHUB_CONTRIB_ERROR = 'GITHUB_CONTRIB_ERROR'; function githubContribStart() { return { type: GITHUB_CONTRIB_START ...
/content/code_sandbox/packages/app/app/actions/githubContrib.tsx
xml
2016-09-22T22:58:21
2024-08-16T15:47:39
nuclear
nukeop/nuclear
11,862
246
```xml import * as React from 'react'; import createSvgIcon from '../utils/createSvgIcon'; const BaseballIcon = createSvgIcon({ svg: ({ classes }) => ( <svg xmlns="path_to_url" viewBox="0 0 2048 2048" className={classes.svg} focusable="false"> <path d="M1024 0q141 0 272 36t245 103 207 160 160 208 103 245 3...
/content/code_sandbox/packages/react-icons-mdl2/src/components/BaseballIcon.tsx
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
1,000
```xml <?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="path_to_url" tools:ignore="ImpliedQuantity, ExtraTranslation, MissingTranslation"> <!-- Title of the Rename Device Dialog --> <string name="device_center_rename_device_dialog_title">Gert umbenennen</string> <!-- The name of the Positive B...
/content/code_sandbox/feature/devicecenter/src/main/res/values-de/strings_device_center_feature.xml
xml
2016-05-04T11:46:20
2024-08-15T16:29:10
android
meganz/android
1,537
4,036
```xml import { Component, OnInit } from '@angular/core'; import { Code } from '@domain/code'; import { PhotoService } from '@service/photoservice'; @Component({ selector: 'positioned-doc', template: ` <app-docsectiontext> <p> Indicators can be placed at four different sides...
/content/code_sandbox/src/app/showcase/doc/galleria/indicator/positioneddoc.ts
xml
2016-01-16T09:23:28
2024-08-16T19:58:20
primeng
primefaces/primeng
9,969
1,494
```xml export * from 'storybook/internal/channels'; export type * from 'storybook/internal/channels'; ```
/content/code_sandbox/code/deprecated/channels/shim.d.ts
xml
2016-03-18T04:23:44
2024-08-16T19:22:08
storybook
storybookjs/storybook
83,755
20
```xml <code_scheme name="wasabi"> <option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="99" /> <option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="99" /> <XML> <option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" /> </XML> <codeStyleSettings language="HTML"> <indentOptions> <optio...
/content/code_sandbox/bin/codestyle/wasabi.xml
xml
2016-06-21T21:21:06
2024-08-06T13:29:36
wasabi
intuit/wasabi
1,133
114
```xml import React from "react"; import { AppState, TodoValue } from './reducer' import { useSelector } from "react-redux"; import { useFirebase } from 'react-redux-firebase' interface TodoProps { todoId: string } function Todo({ todoId }: TodoProps) { const todo: TodoValue = useSelector((state: AppState) => { ...
/content/code_sandbox/examples/complete/typescript/src/Todo.tsx
xml
2016-10-14T00:47:53
2024-08-14T11:31:02
react-redux-firebase
prescottprue/react-redux-firebase
2,545
167
```xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns:xsi="path_to_url" xmlns="path_to_url" xsi:schemaLocation="path_to_url path_to_url"> <modelVersion>4.0.0</modelVersion> <groupId>com.tobe</groupId> <artifactId>predict</artifactId> <version>1.0-SNAPSHOT</version> <depend...
/content/code_sandbox/java_predict_client/pom.xml
xml
2016-07-18T10:54:20
2024-08-05T07:01:20
tensorflow_template_application
tobegit3hub/tensorflow_template_application
1,869
1,492
```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. export const description = "Capture all props if prototype is and uses this #1.1"; class C { a: number; b: number; construc...
/content/code_sandbox/sdk/nodejs/tests/runtime/testdata/closure-tests/cases/109-Capture-all-props-if-prototype-is-and-uses-this-1-1/index.ts
xml
2016-10-31T21:02:47
2024-08-16T19:47:04
pulumi
pulumi/pulumi
20,743
119
```xml import { Button, FormControl, Form, FormGroup, ControlLabel } from '@erxes/ui/src/components'; import { ModalFooter } from '@erxes/ui/src/styles/main'; import { IButtonMutateProps, IFormProps } from '@erxes/ui/src/types'; import React, { useState } from 'react'; import { IUom } from '../../types'; impo...
/content/code_sandbox/packages/plugin-products-ui/src/components/config/UomsForm.tsx
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
1,199
```xml import React from 'react' import { create } from 'react-test-renderer' import CountryPicker from '../src/' it('CountryPicker can be created', () => { const picker = create( <CountryPicker countryCode={'US'} onSelect={() => {}} />, ) expect(picker).toBeDefined() }) ```
/content/code_sandbox/__tests__/CountryPicker.test.tsx
xml
2016-03-03T20:13:50
2024-08-05T11:57:19
react-native-country-picker-modal
xcarpentier/react-native-country-picker-modal
1,066
66
```xml import { screen, fireEvent } from '@testing-library/react'; import { AreaChart } from '../src/components/AreaChart/index'; import { getById, testWithoutWait, isTimezoneSet, forEachTimezone } from '../src/utilities/TestUtility.test'; import { resetIds } from '@fluentui/react'; import { DarkTheme } from '@fluentui...
/content/code_sandbox/packages/react-charting/UnitTests/AreaChartUT.test.tsx
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
4,363
```xml <?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="path_to_url"> <ItemGroup Label="ProjectConfigurations"> <ProjectConfiguration Include="Debug-c++17|Win32"> <Configuration>Debug-c++17</Configuration> <Platform>Win32</Platform> </ProjectConfigu...
/content/code_sandbox/extern/libcds/projects/Win/vc141/stress-queue-pushpop.vcxproj
xml
2016-03-16T06:10:37
2024-08-16T14:13:51
firebird
FirebirdSQL/firebird
1,223
12,168
```xml <!-- *********************************************************************************************** Xamarin.TVOS.CSharp.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 impossible to load or bui...
/content/code_sandbox/msbuild/Xamarin.Shared/Xamarin.TVOS.CSharp.targets
xml
2016-04-20T18:24:26
2024-08-16T13:29:19
xamarin-macios
xamarin/xamarin-macios
2,436
368
```xml import * as React from 'react'; import styles from './DownloadMultipleDocuments.module.scss'; import { IDownloadMultipleDocumentsProps } from './IDownloadMultipleDocumentsProps'; import { MarqueeSelection, PrimaryButton } from 'office-ui-fabric-react'; import * as JSZip from 'jszip'; import { DetailsList, Detail...
/content/code_sandbox/samples/react-download-multiple-documents/src/webparts/downloadMultipleDocuments/components/DownloadMultipleDocuments.tsx
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
1,275
```xml import moment from 'moment'; import classnames from 'classnames'; import React from 'react'; import { PropTypes, DateUtils } from 'mailspring-exports'; import { MiniMonthView } from 'mailspring-component-kit'; type DatePickerProps = { value?: number; onChange?: (...args: any[]) => any; dateFormat?: string...
/content/code_sandbox/app/src/components/date-picker.tsx
xml
2016-10-13T06:45:50
2024-08-16T18:14:37
Mailspring
Foundry376/Mailspring
15,331
655
```xml import { type AttachmentForScreenReaderMiddleware, type AttachmentMiddleware, type StyleOptions } from 'botframework-webchat-api'; import { singleToArray, warnOnce, type OneOrMany } from 'botframework-webchat-core'; import React, { type ReactNode } from 'react'; import AdaptiveCardsComposer from './adapti...
/content/code_sandbox/packages/bundle/src/AddFullBundle.tsx
xml
2016-07-07T23:16:57
2024-08-16T00:12:37
BotFramework-WebChat
microsoft/BotFramework-WebChat
1,567
543
```xml import * as React from 'react'; import createSvgIcon from '../utils/createSvgIcon'; const ProFootballIcon = createSvgIcon({ svg: ({ classes }) => ( <svg xmlns="path_to_url" viewBox="0 0 2048 2048" className={classes.svg} focusable="false"> <path d="M1536 0q106 0 199 40t163 109 110 163 40 200q0 212-5...
/content/code_sandbox/packages/react-icons-mdl2/src/components/ProFootballIcon.tsx
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
422
```xml import * as Navi from 'navi'; import React from 'react'; import ReactDOM from 'react-dom'; import { NaviProvider } from 'react-navi'; import App from './App'; import routes from './routes'; it('renders without crashing', () => { const div = document.createElement('div'); const navigation = Navi.createMemory...
/content/code_sandbox/packages/navi-scripts/template-typescript/src/App.test.tsx
xml
2016-09-24T07:44:26
2024-07-11T14:52:12
navi
frontarm/navi
2,070
123
```xml import { Team, User } from "@server/models"; import { Event, TeamEvent, UserEvent } from "@server/types"; import UploadTeamAvatarTask from "../tasks/UploadTeamAvatarTask"; import UploadUserAvatarTask from "../tasks/UploadUserAvatarTask"; import BaseProcessor from "./BaseProcessor"; export default class AvatarPr...
/content/code_sandbox/server/queues/processors/AvatarProcessor.ts
xml
2016-05-22T21:31:47
2024-08-16T19:57:22
outline
outline/outline
26,751
278
```xml import type { FC } from 'react'; import { Icon, type IconName } from '@proton/components/index'; import clsx from '@proton/utils/clsx'; import './CardIcon.scss'; type Props = { className?: string; icon: IconName }; export const CardIcon: FC<Props> = ({ className, icon }) => ( <div className={clsx('pass-c...
/content/code_sandbox/packages/pass/components/Layout/Card/CardIcon.tsx
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
111
```xml import * as React from "react"; import { toUpper } from "lodash"; import moment from "moment"; import { Customizer, FontIcon, IStackTokens, Label, mergeStyleSets, Stack, Text } from "office-ui-fabric-react"; import strings from "RestaurantMenuWebPartStrings"; import { DisplayMode } from "@microso...
/content/code_sandbox/samples/react-restaurant-menu/src/webparts/restaurantMenu/components/RestaurantMenu.tsx
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
2,200
```xml // // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, a...
/content/code_sandbox/spec/v1/utils.spec.ts
xml
2016-09-22T23:13:54
2024-08-16T17:59:09
firebase-functions
firebase/firebase-functions
1,015
473
```xml import {showErrorToast} from './modules/toast.ts'; // path_to_url#htmx import 'idiomorph/dist/idiomorph-ext.js'; // path_to_url#config window.htmx.config.requestClass = 'is-loading'; window.htmx.config.scrollIntoViewOnBoost = false; // path_to_url#htmx:sendError document.body.addEventListener('htmx:sendError'...
/content/code_sandbox/web_src/js/htmx.ts
xml
2016-11-01T02:13:26
2024-08-16T19:51:49
gitea
go-gitea/gitea
43,694
169
```xml <?xml version="1.0" encoding="UTF-8"?> <layer-list xmlns:android="path_to_url"> <item> <shape android:shape="rectangle"> <solid android:color="@color/import_export_item_background_shadow_light" /> <corners android:radius="@dimen/message_bubble_corner_radius" /> </shap...
/content/code_sandbox/src/main/res/drawable/import_export_item_background_light.xml
xml
2016-07-03T07:32:36
2024-08-16T16:51:15
deltachat-android
deltachat/deltachat-android
1,082
143
```xml export interface ColumnOpts { columnType: "idColumn" | "string" | "number" | "boolean"; options: any; } ```
/content/code_sandbox/packages/orm/objection/src/domain/ColumnOpts.ts
xml
2016-02-21T18:38:47
2024-08-14T21:19:48
tsed
tsedio/tsed
2,817
32
```xml import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { FormsModule } from '@angular/forms'; import { RouterModule } from '@angular/router'; import { DialogModule } from 'primeng/dialog'; import { DockModule } from 'primeng/dock'; import { GalleriaModule } from 'primeng...
/content/code_sandbox/src/app/showcase/doc/dock/dockdoc.module.ts
xml
2016-01-16T09:23:28
2024-08-16T19:58:20
primeng
primefaces/primeng
9,969
298
```xml export default function () { return null; } ```
/content/code_sandbox/packages/@expo/cli/e2e/fixtures/with-router-typed-routes/app/(a)/fruit/[fruit]/[...other].tsx
xml
2016-08-15T17:14:25
2024-08-16T19:54:44
expo
expo/expo
32,004
11
```xml <?xml version="1.0" encoding="UTF-8" standalone="no"?> <document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="11134" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" initialViewController="B8D-0N-5wS"> <dependencies> <plugIn identifi...
/content/code_sandbox/Example/SwiftyMarkdownExample macOS/Base.lproj/Main.storyboard
xml
2016-03-05T09:09:08
2024-08-12T07:21:37
SwiftyMarkdown
SimonFairbairn/SwiftyMarkdown
1,621
8,883
```xml import * as React from 'react'; import { DiffType } from 'shared/models/Versioning/Blob/Diff'; import { makeDockerImage } from 'shared/models/Versioning/Blob/EnvironmentBlob'; import { BlobDataBox } from 'shared/view/domain/Versioning/Blob/BlobBox/BlobBox'; import { IComparedCommitsInfo } from '../../../model'...
/content/code_sandbox/webapp/client/src/features/versioning/compareCommits/view/DiffView/EnvironmentDiffView/DockerDiff/DockerDiff.tsx
xml
2016-10-19T01:07:26
2024-08-14T03:53:55
modeldb
VertaAI/modeldb
1,689
391
```xml export * from './FlatTree'; export * from './FlatTree.types'; export * from './useHeadlessFlatTree'; export * from './useFlatTree'; export * from './useFlatTreeStyles.styles'; export * from './useFlatTreeContextValues'; export * from './renderFlatTree'; ```
/content/code_sandbox/packages/react-components/react-tree/library/src/components/FlatTree/index.ts
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
62
```xml <?xml version="1.0" encoding="utf-8"?> <!-- ***************************************************************************** ** ** Contact: path_to_url ** ** This file is part of the Qt VS Tools. ** ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ ** accordance with the commercial license agreement ...
/content/code_sandbox/GlosSIConfig/QtMsBuild/rcc/qtrcc_v3.xml
xml
2016-11-18T00:46:26
2024-08-12T19:26:08
GlosSI
Alia5/GlosSI
1,642
13,358
```xml import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; // import components import { LoginComponent } from './login/login.component'; import { SignupComponent } from './signup/signup.component'; import { ResetPasswordConfirmComponent } from './reset-password-confirm/reset-pass...
/content/code_sandbox/frontend_v2/src/app/components/auth/auth.module.ts
xml
2016-10-21T00:51:45
2024-08-16T14:41:56
EvalAI
Cloud-CV/EvalAI
1,736
231
```xml <?xml version="1.0" encoding="utf-8"?> <litepal> <dbname value="cool_weather" /> <version value="1" /> <list> <mapping class="com.coolweather.android.db.Province" /> <mapping class="com.coolweather.android.db.City" /> <mapping class="com.coolweather.android.db.County" /> ...
/content/code_sandbox/chapter14/CoolWeather/app/src/main/assets/litepal.xml
xml
2016-10-04T02:55:57
2024-08-16T11:00:26
booksource
guolindev/booksource
3,105
92
```xml import { css, unsafeCSS } from 'lit'; import { customElement } from 'lit/decorators.js'; import { ListBase } from '@material/mwc-list/mwc-list-base'; import { styles as baseStyles } from '@material/mwc-list/mwc-list.css'; import styles from './list.scss?inline'; declare global { interface HTMLElementTagNameMa...
/content/code_sandbox/libs/components/src/list/list.ts
xml
2016-07-11T23:30:52
2024-08-15T15:20:45
covalent
Teradata/covalent
2,228
138
```xml import { World, Vec2, Edge, Box } from "../../src/index"; import { TestFactory } from "../benchmark"; export const planckFactory: TestFactory = (gravity, edgeV1, edgeV2, edgeDensity) => { const world = new World({ gravity: new Vec2(gravity.x, gravity.y), }); const ground = world.createBody(...
/content/code_sandbox/benchmark/tests/planck.ts
xml
2016-03-22T04:46:05
2024-08-16T07:41:00
planck.js
piqnt/planck.js
4,864
257
```xml import type { Meta, StoryObj } from '@storybook/react' import { useState, useEffect } from 'react' import { line, curveLinearClosed } from 'd3-shape' import { Voronoi, VoronoiCustomLayerProps } from '@nivo/voronoi' const meta: Meta<typeof Voronoi> = { title: 'Voronoi', component: Voronoi, tags: ['au...
/content/code_sandbox/storybook/stories/voronoi/Voronoi.stories.tsx
xml
2016-04-16T03:27:56
2024-08-16T03:38:37
nivo
plouc/nivo
13,010
1,975
```xml import { GlyphChars } from '../../constants'; import type { Container } from '../../container'; import { createReference, getReferenceLabel } from '../../git/models/reference'; import type { Repository } from '../../git/models/repository'; import type { GitStatus } from '../../git/models/status'; import { Comman...
/content/code_sandbox/src/commands/git/status.ts
xml
2016-08-08T14:50:30
2024-08-15T21:25:09
vscode-gitlens
gitkraken/vscode-gitlens
8,889
834
```xml import type { WidgetTracker } from '@jupyterlab/apputils'; import type { IStateDB } from '@jupyterlab/statedb'; import { Token } from '@lumino/coreutils'; import type { FileBrowser } from './browser'; /** * The file browser factory token. */ export const IFileBrowserFactory = new Token<IFileBrowserFactory>( ...
/content/code_sandbox/packages/filebrowser/src/tokens.ts
xml
2016-06-03T20:09:17
2024-08-16T19:12:44
jupyterlab
jupyterlab/jupyterlab
14,019
908