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"?>
<Project ToolsVersion="16.0" DefaultTargets="Build" xmlns="path_to_url">
<Import Project="..\packages\Microsoft.Windows.CppWinRT.2.0.200316.3\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.200316.3\build\native... | /content/code_sandbox/Example/windows/ConfigExample/ConfigExample.vcxproj | xml | 2016-02-23T00:19:11 | 2024-08-13T06:33:50 | react-native-config | lugg/react-native-config | 4,789 | 2,593 |
```xml
import {Menu} from 'electron';
import {MenuItemId, MenuOptions} from './utils';
import {getAboutMenuItem, getExportHistoryMenuItem, getOpenFileMenuItem, getPreferencesMenuItem, getSendFeedbackMenuItem} from './common';
import {plugins} from '../plugins';
import {getAudioDevices, getDefaultInputDevice} from '../u... | /content/code_sandbox/main/menus/cog.ts | xml | 2016-08-10T19:37:08 | 2024-08-16T07:01:58 | Kap | wulkano/Kap | 17,864 | 649 |
```xml
/**
* This file includes polyfills needed by Angular and is loaded before the app.
* You can add your own extra polyfills to this file.
*
* This file is divided into 2 sections:
* 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
* 2. Application imports. Files i... | /content/code_sandbox/ui/src/polyfills.ts | xml | 2016-10-11T08:28:23 | 2024-08-16T01:55:31 | cds | ovh/cds | 4,535 | 389 |
```xml
import FormControl from './Control';
import Form from './Form';
import FormGroup from './Group';
import ControlLabel from './Label';
import Textarea from './Textarea';
export { FormControl, ControlLabel, FormGroup, Textarea, Form };
``` | /content/code_sandbox/packages/erxes-ui/src/components/form/index.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 47 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v4.view.ViewPager
android:id="@+id/view_pager"
android:layout_width="match_parent"
android:layout_hei... | /content/code_sandbox/app/src/main/res/layout/activity_main.xml | xml | 2016-09-01T13:02:40 | 2024-08-02T07:38:11 | CreditSesameRingView | HotBitmapGG/CreditSesameRingView | 1,176 | 86 |
```xml
/*
* path_to_url
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
*/
import { Response } from 'ask-sdk-model';
import { ErrorHandler } from 'ask-sdk-runtime';
import { HandlerInput } from '../../re... | /content/code_sandbox/ask-sdk-core/lib/dispatcher/error/handler/CustomSkillErrorHandler.ts | xml | 2016-06-24T06:26:05 | 2024-08-14T12:39:19 | alexa-skills-kit-sdk-for-nodejs | alexa/alexa-skills-kit-sdk-for-nodejs | 3,118 | 94 |
```xml
import { itemBuilder } from '@proton/pass/lib/items/item.builder';
import { MOCK_FIELDS, MOCK_SECTIONS } from './identity.mocks';
import { buildContentSections } from './useIdentityContent';
import * as utils from './utils';
describe('`buildContentSections`', () => {
beforeEach(() => {
jest.spyOn(u... | /content/code_sandbox/packages/pass/hooks/identity/useIdentityContent.spec.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 874 |
```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>
<groupId>com.baeldung</groupId>
<artifactId>spring-security-login-and-registration</artifactId>
<version>1.0.1-SNAPSHOT</version>
<n... | /content/code_sandbox/pom.xml | xml | 2016-03-02T09:10:48 | 2024-08-15T22:10:39 | spring-security-registration | Baeldung/spring-security-registration | 1,632 | 1,880 |
```xml
/*
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
*/
class Viewer {
destroy = jest.fn();
}
export default Viewer;
``` | /content/code_sandbox/operate/client/src/__mocks__/dmn-js-decision-table/lib/Viewer.ts | xml | 2016-03-20T03:38:04 | 2024-08-16T19:59:58 | camunda | camunda/camunda | 3,172 | 42 |
```xml
<!--
***********************************************************************************************
Sdk.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/src/WebSdk/Publish/Sdk/Sdk.targets | xml | 2016-07-22T21:26:02 | 2024-08-16T17:23:58 | sdk | dotnet/sdk | 2,627 | 121 |
```xml
import { generateModels } from "./connectionResolver";
import {
sendContactsMessage,
sendCoreMessage,
sendProductsMessage
} from "./messageBroker";
import * as _ from "lodash";
const toMoney = value => {
return new Intl.NumberFormat().format(value);
};
const getCustomFields = async ({ subdomain }) => {... | /content/code_sandbox/packages/plugin-purchases-api/src/documents.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 3,137 |
```xml
import { Text, Spacer, View } from 'expo-dev-client-components';
import * as React from 'react';
import { BaseModal } from './BaseModal';
export function DevServerExplainerModal() {
return (
<BaseModal title="Development servers">
<Spacer.Vertical size="small" />
<Text size="medium">Start a l... | /content/code_sandbox/packages/expo-dev-launcher/bundle/components/DevServerExplainerModal.tsx | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 202 |
```xml
#import "RNSVGConvert.h"
#ifdef RCT_NEW_ARCH_ENABLED
@implementation RNSVGConvert
+ (RNSVGUnits)RNSVGUnitsFromFilterUnitsCppEquivalent:(react::RNSVGFilterFilterUnits)svgUnits
{
switch (svgUnits) {
case react::RNSVGFilterFilterUnits::UserSpaceOnUse:
return kRNSVGUnitsUserSpaceOnUse;
case react::... | /content/code_sandbox/apple/Utils/RNSVGConvert.mm | xml | 2016-01-17T14:29:21 | 2024-08-16T13:35:44 | react-native-svg | software-mansion/react-native-svg | 7,397 | 509 |
```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 {
coerceArray as coerceArrayAngular,
coerceBooleanProperty,
coerceCssPixelValue as coerceCssPixelValueAngular,... | /content/code_sandbox/ui-ngx/src/app/shared/decorators/coercion.ts | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 847 |
```xml
import * as dayjs from 'dayjs';
import T from 'i18n-react';
import { FieldValue } from './form/types';
import { ENV, IBrowserInfo, IRule } from './types';
export const getEnv = (): ENV => {
return (window as any).erxesEnv;
};
declare const window: any;
export const postMessage = (source: string, message: st... | /content/code_sandbox/widgets/client/utils.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 2,823 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="path_to_url"
xmlns:flowable="path_to_url"
targetNamespace="path_to_url">
<process id="test-timers" name="Test timers process">
<startEvent id="start" name="Start Process" />
<sequenceFlow id="flow1" source... | /content/code_sandbox/modules/flowable-engine/src/test/resources/org/flowable/engine/test/bpmn/event/timer/BoundaryTimerEventTest.testNullDueDateWithRepetition.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 328 |
```xml
export interface Store {
getRecord(collectionName: string, documentPath: string): TaskEither<Error, Option<GenericRecord>>;
}
export default class StoreImpl extends Service implements Store {
getRecord(collectionName: string, documentPath: string): TaskEither<Error, Option<GenericRecord>> {
// Do some s... | /content/code_sandbox/tests/format/typescript/method/issue-10352-consistency.ts | xml | 2016-11-29T17:13:37 | 2024-08-16T17:29:57 | prettier | prettier/prettier | 48,913 | 102 |
```xml
// luma.gl MIT license
import type {Binding, RenderPass, VertexArray} from '@luma.gl/core';
import {RenderPipeline, RenderPipelineProps, log} from '@luma.gl/core';
import {applyParametersToRenderPipelineDescriptor} from '../helpers/webgpu-parameters';
import {getWebGPUTextureFormat} from '../helpers/convert-tex... | /content/code_sandbox/modules/webgpu/src/adapter/resources/webgpu-render-pipeline.ts | xml | 2016-01-25T09:41:59 | 2024-08-16T10:03:05 | luma.gl | visgl/luma.gl | 2,280 | 1,617 |
```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 { CreatedData } from "cypress/support/testing.data";
describe("Region edit/creation page", () => {
beforeEach(() => {
cy.... | /content/code_sandbox/experimental/traffic-portal/cypress/e2e/cacheGroups/regions/detail.cy.ts | xml | 2016-09-02T07:00:06 | 2024-08-16T03:50:21 | trafficcontrol | apache/trafficcontrol | 1,043 | 368 |
```xml
import { Type } from '@angular/core';
import { TestBed } from '@angular/core/testing';
import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing';
import { QuoteService } from './quote.service';
describe('QuoteService', () => {
let quoteService: QuoteService;
let httpMock... | /content/code_sandbox/generators/app/templates/src/app/home/quote.service.spec.ts | xml | 2016-04-27T19:11:10 | 2024-08-15T11:32:04 | generator-ngx-rocket | ngx-rocket/generator-ngx-rocket | 1,525 | 351 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Sad Musiqi alar</string>
<string name="app_launcher_name">Musiqi alar</string>
<string name="playlist_empty">Oynatma siyahs bodur</string>
<string name="rename_song">Yenidn adlandr</string>
<string name="rename_song_er... | /content/code_sandbox/app/src/main/res/values-az/strings.xml | xml | 2016-01-10T12:21:23 | 2024-08-16T13:03:46 | Simple-Music-Player | SimpleMobileTools/Simple-Music-Player | 1,277 | 1,537 |
```xml
import { CMS_NAME, CMS_URL } from "../lib/constants";
export default function Intro() {
return (
<section className="flex flex-col items-center mt-16 mb-16 md:flex-row md:justify-between md:mb-12">
<h1 className="text-6xl font-bold leading-tight tracking-tighter md:text-8xl md:pr-8">
Blog.
... | /content/code_sandbox/examples/cms-webiny/components/intro.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 209 |
```xml
import React, { useState } from 'react';
import poapImage from '@assets/images/winter-poap.svg';
import { Body, Box, Button, Heading, LinkApp, Text } from '@components';
import { PoapClaimService } from '@services/ApiService/PoapClaim';
import { claimPromo, getAnalyticsUserID, getPromoPoap, useDispatch, useSele... | /content/code_sandbox/src/features/NotificationsPanel/components/WinterNotification.tsx | xml | 2016-12-04T01:35:27 | 2024-08-14T21:41:58 | MyCrypto | MyCryptoHQ/MyCrypto | 1,347 | 727 |
```xml
import { Html, Head, Main, NextScript } from "next/document";
export default function Document() {
const meta = {
title: "Next.js Blog Starter Kit",
description: "Clone and deploy your own Next.js portfolio in minutes.",
image: "path_to_url",
};
return (
<Html lang="en">
<Head>
... | /content/code_sandbox/examples/blog/pages/_document.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 263 |
```xml
import "reflect-metadata"
import { DataSource } from "../../../../src/data-source/DataSource"
import {
closeTestingConnections,
createTestingConnections,
reloadTestingDatabases,
} from "../../../utils/test-utils"
import { PostIncrement } from "./entity/PostIncrement"
import { PostUuid } from "./entit... | /content/code_sandbox/test/functional/persistence/entity-updation/persistence-entity-updation.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 1,007 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
<file source-language="en" target-language="en" datatype="plaintext" original="teams.en.xlf">
<body>
<trans-unit id="A_4Fc7c" resname="teams.project_access">
<source>teams.project_access... | /content/code_sandbox/translations/teams.en.xlf | xml | 2016-10-20T17:06:34 | 2024-08-16T18:27:30 | kimai | kimai/kimai | 3,084 | 484 |
```xml
import React from 'react';
// @ts-ignore ts-migrate(2305) FIXME: Module '"react"' has no exported member 'Node'.
import type { Node } from 'react';
import { ThemeProvider } from 'react-polymorph/lib/components/ThemeProvider';
import { IntlProvider } from 'react-intl';
import { SimpleSkins } from 'react-polymorph... | /content/code_sandbox/tests/_utils/TestDecorator.tsx | xml | 2016-10-05T13:48:54 | 2024-08-13T22:03:19 | daedalus | input-output-hk/daedalus | 1,230 | 233 |
```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/page/RightSidebar/GuestServicesOptions/components/GuestOptions/GuestOptions.tsx | xml | 2016-07-21T15:34:05 | 2024-08-16T11:40:13 | wire-webapp | wireapp/wire-webapp | 1,125 | 2,990 |
```xml
export enum EmergencyAccessStatusType {
Invited = 0,
Accepted = 1,
Confirmed = 2,
RecoveryInitiated = 3,
RecoveryApproved = 4,
}
``` | /content/code_sandbox/apps/web/src/app/auth/emergency-access/enums/emergency-access-status-type.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 44 |
```xml
import { KeySystemIdentifier } from '../../Syncable/KeySystemRootKey/KeySystemIdentifier'
export type ExclusionaryOptions = { exclude: KeySystemIdentifier[]; locked: KeySystemIdentifier[] }
export type ExclusiveOptions = { exclusive: KeySystemIdentifier }
export function isExclusionaryOptionsValue(
options: ... | /content/code_sandbox/packages/models/src/Domain/Runtime/Display/VaultDisplayOptionsTypes.ts | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 114 |
```xml
import { createReducer, ActionType } from 'typesafe-actions';
import * as actions from './actions';
import { IWorkspaces } from './types';
export default createReducer<IWorkspaces, ActionType<typeof actions>>({
data: {
currentWorkspace: { type: 'user' },
},
}) as any;
``` | /content/code_sandbox/webapp/client/src/features/workspaces/store/reducer.ts | xml | 2016-10-19T01:07:26 | 2024-08-14T03:53:55 | modeldb | VertaAI/modeldb | 1,689 | 66 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<list id="chemicalElement" convention="bodr:elements"
title="properties of the elements"
xmlns="path_to_url"
xmlns:xml="path_to_url"
xmlns:xsi="path_to_url"
xmlns:bo="path_to_url"
xmlns:boUnits="path_to_url"
xmlns:units="path_to_ur... | /content/code_sandbox/Utilities/XMLConverter/chemistry/elements.xml | xml | 2016-05-02T15:44:11 | 2024-08-15T19:53:44 | vtk-js | Kitware/vtk-js | 1,200 | 66,614 |
```xml
/**
* @license
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at path_to_url
*/
import {Direction} from '@angular/cdk/bidi';
const KEY = 'MAT_DEV_APP_STATE';
/** State of the appearance of the dev app. */
export interface DevAppState {
density: s... | /content/code_sandbox/src/dev-app/dev-app/dev-app-state.ts | xml | 2016-01-04T18:50:02 | 2024-08-16T11:21:13 | components | angular/components | 24,263 | 450 |
```xml
/**
* @file Automatically generated by @tsed/barrels.
*/
export * from "./components/async-api/channelsMapper.js";
export * from "./components/async-api/generate.js";
export * from "./components/async-api/messageMapper.js";
export * from "./components/async-api/payloadMapper.js";
export * from "./components/as... | /content/code_sandbox/packages/specs/schema/src/index.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 1,932 |
```xml
<sty:FlatWindow
x:Class="SidebarDiagnostics.Settings"
xmlns="path_to_url"
xmlns:x="path_to_url"
xmlns:d="path_to_url"
xmlns:mc="path_to_url"
xmlns:xctk="path_to_url"
xmlns:dd="clr-namespace:GongSolutions.Wpf.DragDrop;assembly=GongSolutions.Wpf.DragDrop"
... | /content/code_sandbox/SidebarDiagnostics/Settings.xaml | xml | 2016-01-20T07:41:58 | 2024-08-16T15:40:57 | SidebarDiagnostics | ArcadeRenegade/SidebarDiagnostics | 2,273 | 6,407 |
```xml
/* eslint-env browser */
import { useEffect } from 'storybook/internal/preview-api';
import type {
Renderer,
StoryContext,
PartialStoryFn as StoryFunction,
} from 'storybook/internal/types';
import { destroy, init, rescale } from './box-model/canvas';
import { drawSelectedElement } from './box-model/visua... | /content/code_sandbox/code/addons/measure/src/withMeasure.ts | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 418 |
```xml
<resources>
<string name="app_name">MarqueeView</string>
</resources>
``` | /content/code_sandbox/marqueeview/src/main/res/values/strings.xml | xml | 2016-06-01T06:50:46 | 2024-08-15T10:30:01 | MarqueeView | sunfusheng/MarqueeView | 3,773 | 21 |
```xml
import {AngleBetweenDimension, DiameterDimension, LinearDimension} from "../dim";
import {Styles} from "../../styles";
import {ConstraintAnnotation} from "../../constr/constraintAnnotation";
import {AlgNumConstraint} from "../../constr/ANConstraints";
export class AngleBetweenAnnotation extends AngleBetweenDime... | /content/code_sandbox/web/app/sketcher/shapes/annotations/angleAnnotation.ts | xml | 2016-08-26T21:55:19 | 2024-08-15T01:02:53 | jsketcher | xibyte/jsketcher | 1,461 | 759 |
```xml
<shapes name="mxgraph.electrical.iec417">
<shape aspect="variable" h="85" name="AC-AC Converter" strokewidth="inherit" w="80">
<connections>
<constraint name="in" perimeter="0" x="0" y="0.5"/>
<constraint name="out" perimeter="0" x="1" y="0.5"/>
</connections>
<background>
<rect h="80" w="80" x="... | /content/code_sandbox/src/main/webapp/stencils/electrical/iec417.xml | xml | 2016-09-06T12:59:15 | 2024-08-16T13:28:41 | drawio | jgraph/drawio | 40,265 | 13,613 |
```xml
import { S3 } from '@aws-sdk/client-s3';
import { Command } from '@expo/commander';
import chalk from 'chalk';
import fs from 'fs-extra';
import inquirer from 'inquirer';
import path from 'path';
import { EXPO_DIR } from '../Constants';
import { link } from '../Formatter';
import Git from '../Git';
import logge... | /content/code_sandbox/tools/src/commands/ClientBuild.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 1,380 |
```xml
<vector xmlns:android="path_to_url"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M4,2C2.343,2 1,3.343 1,5V19C1,20.657 2.343,22 4,22H20C21.657,22 23,20.657 23,19V7C23,5.343 21.657,4 20,4H13.828C13.298,4 12.789,3.... | /content/code_sandbox/icon-pack/src/main/res/drawable/ic_folder_medium_regular_outline.xml | xml | 2016-05-04T11:46:20 | 2024-08-15T16:29:10 | android | meganz/android | 1,537 | 280 |
```xml
Version 2.0, January 2004
path_to_url
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definitio... | /content/code_sandbox/application/src/main/data/lwm2m-registry/3382.xml | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 923 |
```xml
import { FluentDesignSystem } from '../fluent-design-system.js';
import { Badge } from './badge.js';
import { styles } from './badge.styles.js';
import { template } from './badge.template.js';
/**
*
* @public
* @remarks
* HTML Element: \<fluent-badge\>
*/
export const definition = Badge.compose({
name: `... | /content/code_sandbox/packages/web-components/src/badge/badge.definition.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 91 |
```xml
/** @ignore */
export * from './Ix.js';
export type {
ReadableBYOBStreamOptions,
ReadableByteStreamOptions,
} from './asynciterable/todomstream.js';
export {
fromDOMStream,
AsyncIterableReadableStream,
AsyncIterableReadableByteStream,
} from './asynciterable/fromdomstream.js';
``` | /content/code_sandbox/src/dom.ts | xml | 2016-02-22T20:04:19 | 2024-08-09T18:46:41 | IxJS | ReactiveX/IxJS | 1,319 | 72 |
```xml
import * as React from 'react';
import { Dropdown, Label, makeStyles, Option, useId } from '@fluentui/react-components';
const useStyles = makeStyles({
root: {
display: 'grid',
gridTemplateRows: 'repeat(1fr)',
justifyItems: 'start',
gap: '2px',
maxWidth: '400px',
},
});
export const Cle... | /content/code_sandbox/packages/react-components/react-combobox/stories/src/Dropdown/DropdownClearable.stories.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 227 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="path_to_url">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration ... | /content/code_sandbox/tools/windows/DatadogAgentInstaller/CustomActions.Tests/CustomActions.Tests.csproj | xml | 2016-01-19T17:40:41 | 2024-08-16T08:20:22 | datadog-agent | DataDog/datadog-agent | 2,766 | 1,727 |
```xml
// your-component.stories.ts
import {
Args,
Meta,
StoryObj,
componentWrapperDecorator,
moduleMetadata,
} from '@storybook/angular';
import ChildComponent from './child.component';
import ParentComponent from './parent.component';
const meta: Meta<ChildComponent> = {
// title: 'Core / Decorators / C... | /content/code_sandbox/code/frameworks/angular/template/stories/core/decorators/componentWrapperDecorator/decorators.stories.ts | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 631 |
```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>14E46</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>ACPIBacklight</st... | /content/code_sandbox/Clover-Configs/Acer/E1-572G/CLOVER/kexts/10.12/ACPIBacklight.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,526 |
```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="" />
<Parameters>
<Parameter Name="l_... | /content/code_sandbox/integration/unity/Assets/behaviac/workspace/behaviors/node_test/wait_ut_2.xml | xml | 2016-11-21T05:08:08 | 2024-08-16T07:18:30 | behaviac | Tencent/behaviac | 2,831 | 782 |
```xml
import config from "common/config";
import { APP_MESSAGES, EXTENSION_MESSAGES, STORAGE_TYPE } from "common/constants";
import { clearAllRecords, getAllRecords, getRecord, getSuperObject, removeRecord, saveObject } from "common/storage";
import { isAppURL } from "../../utils";
interface ContentScriptMessage {
... | /content/code_sandbox/browser-extension/mv3/src/content-scripts/app/messageHandler.ts | xml | 2016-12-01T04:36:06 | 2024-08-16T19:12:19 | requestly | requestly/requestly | 2,121 | 890 |
```xml
import { c } from 'ttag';
import { Price } from '@proton/components/components';
import clsx from '@proton/utils/clsx';
import { useDealContext } from '../deal/DealContext';
const DealPrice = () => {
const {
deal: { prices, cycle, dealSuffixPrice, suffixOnNewLine },
currency,
} = useDe... | /content/code_sandbox/packages/components/containers/offers/components/shared/deal/DealPrice.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 284 |
```xml
import React, { Component } from 'react';
import { observer, inject } from 'mobx-react';
import SuccessDialog from '../../../../components/wallet/wallet-restore/SuccessDialog';
import type { InjectedDialogContainerStepProps } from '../../../../types/injectedPropsType';
import { InjectedDialogContainerStepDefault... | /content/code_sandbox/source/renderer/app/containers/wallet/dialogs/wallet-restore/StepSuccessContainer.tsx | xml | 2016-10-05T13:48:54 | 2024-08-13T22:03:19 | daedalus | input-output-hk/daedalus | 1,230 | 226 |
```xml
import * as React from 'react';
import { styled } from '@mui/material/styles';
import type { SxProps } from '@mui/material';
import { isValidElement, ReactNode, ReactElement } from 'react';
import {
Avatar,
List,
ListProps,
ListItem,
ListItemAvatar,
ListItemButton,
ListItemIcon,
L... | /content/code_sandbox/packages/ra-ui-materialui/src/list/SimpleList/SimpleList.tsx | xml | 2016-07-13T07:58:54 | 2024-08-16T18:32:27 | react-admin | marmelab/react-admin | 24,624 | 2,013 |
```xml
while (true) {
console.log("hi")
break
}
``` | /content/code_sandbox/tests/runtime-trace-tests/cases/while_loop.ts | xml | 2016-01-24T19:35:52 | 2024-08-16T16:39:39 | pxt | microsoft/pxt | 2,069 | 16 |
```xml
import type { Theme } from '@fluentui/react-theme';
import { resetIdsForTests } from '@fluentui/react-utilities';
import { renderHook } from '@testing-library/react-hooks';
import { useFluentProviderThemeStyleTag } from './useFluentProviderThemeStyleTag';
jest.mock('@fluentui/react-theme');
const createDocumen... | /content/code_sandbox/packages/react-components/react-provider/library/src/components/FluentProvider/useFluentProviderThemeStyleTag.test.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 973 |
```xml
import { MAIL_APP_NAME } from '@proton/shared/lib/constants';
import type { Parameters } from './interface';
import { getSignupDescription, getSignupTitle } from './interface';
const data = (): Parameters => ({
title: getSignupTitle(MAIL_APP_NAME),
description: getSignupDescription(MAIL_APP_NAME),
});
... | /content/code_sandbox/applications/account/src/pages/mail.signup.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 72 |
```xml
import globalMessages from '../i18n/global-messages';
export const PROFILE_SETTINGS = [
'locale',
'numberFormat',
'dateFormat',
'timeFormat',
];
export const LANGUAGE_OPTIONS = [
{
value: 'en-US',
label: globalMessages.languageEnglish,
},
{
value: 'ja-JP',
label: globalMessages.lan... | /content/code_sandbox/source/renderer/app/config/profileConfig.ts | xml | 2016-10-05T13:48:54 | 2024-08-13T22:03:19 | daedalus | input-output-hk/daedalus | 1,230 | 529 |
```xml
import { isNight, loadThemeBase, Theme, ThemePair } from '@devhub/core/src'
import { Appearance } from '../../libs/appearence'
import { Platform } from '../../libs/platform'
const _window = typeof window !== 'undefined' ? (window as any) : undefined
export const supportsCSSVariables =
Platform.OS === 'web' &&... | /content/code_sandbox/packages/components/src/utils/helpers/theme.ts | xml | 2016-11-30T23:24:21 | 2024-08-16T00:24:59 | devhub | devhubapp/devhub | 9,652 | 234 |
```xml
<?xml version="1.0" ?><!DOCTYPE TS><TS version="2.1" language="pt">
<context>
<name>about_ui_tr</name>
<message>
<location filename="../../persepolis/gui/about_ui.py" line="248"/>
<source>About Persepolis</source>
<translation>Sobre o Persepolis</translation>
</message>
<m... | /content/code_sandbox/resources/locales/ui_pt.ts | xml | 2016-07-15T14:20:23 | 2024-08-16T16:58:07 | persepolis | persepolisdm/persepolis | 6,200 | 18,887 |
```xml
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
import { MatIconModule } from '@angular/material/icon';
import { MatListModule } from '@angular/material/list';
import { CovalentMenuModule } from '../../../menu/src/menu.module';
import { TdUserProfileMenuComponent } from './user... | /content/code_sandbox/libs/angular/user-profile/src/user-profile-menu/user-profile-menu.component.spec.ts | xml | 2016-07-11T23:30:52 | 2024-08-15T15:20:45 | covalent | Teradata/covalent | 2,228 | 317 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="path_to_url"
xmlns:app="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clipToPadding="false"
android:paddingBot... | /content/code_sandbox/internal/chooserx/src/main/res/layout/item_choice.xml | xml | 2016-04-26T17:13:27 | 2024-08-16T18:37:58 | quickstart-android | firebase/quickstart-android | 8,797 | 584 |
```xml
import { fetchPolaris, getFullDate } from '../utils';
const getMethod = (method) => {
switch (method) {
case 'equal':
return '3';
case 'fixed':
return '1';
case 'custom':
return '4';
default:
break;
}
};
const getHolidayMethod = (method) => {
switch (method) {
... | /content/code_sandbox/packages/plugin-syncpolaris-api/src/utils/loan/createSchedule.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 266 |
```xml
import { c } from 'ttag';
import { SERVER_FEATURES } from '@proton/shared/lib/constants';
import type { GatewayDto } from './GatewayDto';
import type { GatewayLogical } from './GatewayLogical';
import type { GatewayServer } from './GatewayServer';
import type { GatewayUser } from './GatewayUser';
export const... | /content/code_sandbox/packages/components/containers/vpn/gateways/helpers.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 574 |
```xml
import {JsonEntityFn} from "./jsonEntityFn.js";
/**
* Add title metadata on the decorated element.
*
* ::: warning
* For v6 user, use @@Title@@ from @tsed/schema instead of @tsed/common.
* :::
*
* ## Example
*
* ```typescript
* class Model {
* @Title("title")
* id: string;
* }
* ```
*
* Wi... | /content/code_sandbox/packages/specs/schema/src/decorators/common/title.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 206 |
```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/server/utils/openIdMetadata.ts | xml | 2016-11-11T23:15:09 | 2024-08-16T12:45:29 | BotFramework-Emulator | microsoft/BotFramework-Emulator | 1,803 | 766 |
```xml
// See LICENSE in the project root for license information.
import { AlreadyReportedError } from '@rushstack/node-core-library';
import { Colorize, type ITerminal } from '@rushstack/terminal';
import type { RushConfiguration } from '../../api/RushConfiguration';
import { type PackageJsonDependency, DependencyT... | /content/code_sandbox/libraries/rush-lib/src/logic/versionMismatch/VersionMismatchFinder.ts | xml | 2016-09-30T00:28:20 | 2024-08-16T18:54:35 | rushstack | microsoft/rushstack | 5,790 | 2,585 |
```xml
// Technically this should be shades and tints, but for simplicity we'll call everything a shade.
/*
* This utility module is used with theming. Given a color to shade, whether the theme is inverted
* (i.e. is a dark color), and the desired shade enum, this will return an appropriate shade of that color.
*/
i... | /content/code_sandbox/packages/react/src/utilities/color/shades.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 2,171 |
```xml
import {
ChangeDetectionStrategy,
ChangeDetectorRef,
Component,
Inject,
LOCALE_ID,
OnDestroy,
OnInit,
} from '@angular/core';
import { AuthService } from '~modules/auth/shared/auth.service';
import { ObservableInput, Subject, takeUntil, throwError as observableThrowError } from 'rxjs';
import { Aut... | /content/code_sandbox/src/app/app.component.ts | xml | 2016-11-22T17:10:18 | 2024-08-14T21:36:59 | angular-example-app | Ismaestro/angular-example-app | 2,150 | 1,339 |
```xml
<vector xmlns:android="path_to_url"
android:width="24dp"
android:height="24dp"
android:viewportHeight="48.0"
android:viewportWidth="48.0">
<path
android:fillColor="#F5F5F5"
android:pathData="M24,24m-24,0a24,24 0,1 1,48 0a24,24 0,1 1,-48 0"
android:strokeColor="#0000000... | /content/code_sandbox/sample/src/main/res/drawable/ic_shortcut_animated_app_tutorial.xml | xml | 2016-10-06T22:42:42 | 2024-08-16T18:32:58 | lottie-android | airbnb/lottie-android | 34,892 | 359 |
```xml
import { extractStyleParts } from './extractStyleParts';
import { IStyle, IStyleBaseArray } from './IStyle';
import { IStyleOptions } from './IStyleOptions';
import { isShadowConfig, ShadowConfig } from './shadowConfig';
import { getStyleOptions } from './StyleOptionsState';
import { Stylesheet } from './Stylesh... | /content/code_sandbox/packages/merge-styles/src/mergeStyles.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 384 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "path_to_url">
<mapper namespace="org.maxkey.persistence.mapper.GroupMemberMapper">
<sql id="where_statement">
<if test="id != null and id != ''">
and id = #{id}
</if>
<if ... | /content/code_sandbox/maxkey-persistence/src/main/resources/org/dromara/maxkey/persistence/mapper/xml/postgresql/GroupMemberMapper.xml | xml | 2016-11-16T03:06:50 | 2024-08-16T09:22:42 | MaxKey | dromara/MaxKey | 1,423 | 1,777 |
```xml
<fxlayout>
<page name="Directional Blur">
<control>angle</control>
<control>intensity</control>
<control>bidirectional</control>
<control>spread</control>
</page>
</fxlayout>
``` | /content/code_sandbox/stuff/profiles/layouts/fxs/STD_directionalBlurFx.xml | xml | 2016-03-18T17:55:48 | 2024-08-15T18:11:38 | opentoonz | opentoonz/opentoonz | 4,445 | 56 |
```xml
export * from '@storybook/core/server-errors';
export type * from '@storybook/core/server-errors';
``` | /content/code_sandbox/code/lib/cli/core/server-errors.d.ts | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 20 |
```xml
import { EnvironmentParams } from './environment.d';
import {
getRxStorageMemory
} from 'rxdb/plugins/storage-memory';
import {
SYNC_PORT,
DATABASE_NAME
} from '../shared';
export const environment: EnvironmentParams = {
name: 'ssr-prod',
production: true,
isCapacitor: false,
isServe... | /content/code_sandbox/examples/angular/src/environments/environment.ssr.prod.ts | xml | 2016-12-02T19:34:42 | 2024-08-16T15:47:20 | rxdb | pubkey/rxdb | 21,054 | 130 |
```xml
import * as React from 'react';
import { Grid } from '@fluentui/react-northstar';
import { EmojiIcon, CallVideoIcon } from '@fluentui/react-icons-northstar';
const SvgIconExampleSize = () => (
<Grid rows={2} styles={{ textAlign: 'center' }}>
<EmojiIcon size="smallest" />
<CallVideoIcon size="smallest"... | /content/code_sandbox/packages/fluentui/docs/src/examples/components/SvgIcon/Variations/SvgIconExampleSize.shorthand.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 212 |
```xml
import validate from '../src/alpha_spaces';
test('validates that the string may only contain alphabetic characters and spaces', () => {
expect(validate('a', [undefined])).toBe(true);
expect(validate('abcdefgHijklMnOpqRsTUVwxYZ', [undefined])).toBe(true);
expect(validate('', [undefined])).toBe(true);
exp... | /content/code_sandbox/packages/rules/tests/alpha_spaces.spec.ts | xml | 2016-07-30T01:10:44 | 2024-08-16T10:19:58 | vee-validate | logaretm/vee-validate | 10,699 | 406 |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<vector xmlns:android="path_to_url" android:height="24dp" android:viewportHeight="24.0" android:viewportWidth="24.0" android:width="24dp">
<path android:fillColor="#FFFFFF" android:pathData="M18,16.08c-0.76,0 -1.44,0.3 -1.96,0.77L8.91,12.7c0.05,-0.23 0.0... | /content/code_sandbox/app/src/main/res/drawable/ic_share_white.xml | xml | 2016-04-09T15:47:45 | 2024-08-14T04:30:04 | MusicLake | caiyonglong/MusicLake | 2,654 | 417 |
```xml
import { Component } from '@angular/core';
@Component({
selector: 'json-formatter-demo',
styleUrls: ['./json-formatter-demo.component.scss'],
templateUrl: './json-formatter-demo.component.html',
})
export class JsonFormatterDemoComponent {}
``` | /content/code_sandbox/apps/docs-app/src/app/content/components/component-demos/json-formatter/demos/json-formatter-demo.component.ts | xml | 2016-07-11T23:30:52 | 2024-08-15T15:20:45 | covalent | Teradata/covalent | 2,228 | 51 |
```xml
// See LICENSE in the project root for license information.
import type { WebpackPluginInstance, Compiler } from 'webpack';
import type { WorkspaceLayoutCache } from './WorkspaceLayoutCache';
import { KnownDescriptionFilePlugin } from './KnownDescriptionFilePlugin';
import { KnownPackageDependenciesPlugin } fr... | /content/code_sandbox/webpack/webpack-workspace-resolve-plugin/src/WorkspaceResolvePlugin.ts | xml | 2016-09-30T00:28:20 | 2024-08-16T18:54:35 | rushstack | microsoft/rushstack | 5,790 | 480 |
```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/infra/database/type/oracle/pom.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 326 |
```xml
/* eslint-env jest */
import { sandbox } from 'development-sandbox'
import { FileRef, nextTestSetup } from 'e2e-utils'
import path from 'path'
import { outdent } from 'outdent'
describe('dynamic = "error" in devmode', () => {
const { next } = nextTestSetup({
files: new FileRef(path.join(__dirname, 'fixtur... | /content/code_sandbox/test/development/acceptance-app/dynamic-error.test.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 285 |
```xml
import React, { useState } from "react"
import Stepper from "../Stepper"
import FeedbackTabs from "./FeedbackTabs"
type Props = {
setToggleView: (view: boolean) => void
}
const FeedbackForm = ({ setToggleView }: Props) => {
const [tab, setTab] = useState("feedback")
const [currentStep, setCurrentStep] =... | /content/code_sandbox/exm-web/modules/discover/components/feedback/form/FeedbackForm.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 327 |
```xml
import { Folder, TItem, ItemType, TItemLocation, ItemLocation, hydrate } from './Tree'
import Mappings, { MappingSnapshot } from './Mappings'
import Ordering from './interfaces/Ordering'
import batchingToposort from 'batching-toposort'
import Logger from './Logger'
export const ActionType = {
CREATE: 'CREATE'... | /content/code_sandbox/src/lib/Diff.ts | xml | 2016-06-04T23:37:43 | 2024-08-16T18:50:46 | floccus | floccusaddon/floccus | 5,473 | 2,997 |
```xml
import * as React from 'react';
import * as ReactDom from 'react-dom';
import { Version } from '@microsoft/sp-core-library';
import { BaseClientSideWebPart } from '@microsoft/sp-webpart-base';
import { IPropertyPaneConfiguration, PropertyPaneTextField, PropertyPaneToggle } from '@microsoft/sp-property-pane';
imp... | /content/code_sandbox/samples/react-functional-stateful-component/src/webparts/romanNumerals/RomanNumeralsWebPart.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 418 |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<persistence xmlns="path_to_url" xmlns:xsi="path_to_url" version="2.0" xsi:schemaLocation="path_to_url path_to_url">
<persistence-unit name="hibernate.jpa" transaction-type="RESOURCE_LOCAL">
<provider>org.hibernate.ejb.HibernatePersistence</provider>... | /content/code_sandbox/PrimeFaces/Primefaces-SpringRoo-Hibernate-Sample/src/main/resources/META-INF/persistence.xml | xml | 2016-05-02T05:43:21 | 2024-08-16T06:51:39 | journaldev | WebJournal/journaldev | 1,314 | 293 |
```xml
import assert from 'assert';
import { describe, it, beforeEach } from 'node:test';
import '../../src';
import MaskedDynamic from '../../src/masked/dynamic';
import { type MaskedPatternOptions } from '../../src/masked/pattern';
describe('MaskedDynamic', function () {
const masked = new MaskedDynamic();
be... | /content/code_sandbox/packages/imask/test/masked/dynamic.ts | xml | 2016-11-10T13:04:29 | 2024-08-16T15:16:18 | imaskjs | uNmAnNeR/imaskjs | 4,881 | 1,103 |
```xml
import {
PropSubType,
PropType,
StaticPropType,
} from '../../../interfaces/db/props'
import { callApi } from '../../../lib/client'
export type ListPropertySuggestionsRequestBody = {
team: string
workspace?: string
doc?: string
folder?: string
smartView?: string
propertyType?: string
propert... | /content/code_sandbox/src/cloud/api/teams/props/index.ts | xml | 2016-11-19T14:30:34 | 2024-08-16T03:13:45 | BoostNote-App | BoostIO/BoostNote-App | 3,745 | 173 |
```xml
import JSZip from "jszip";
import { FileOperationFormat } from "@shared/types";
import { Collection, FileOperation } from "@server/models";
import ExportDocumentTreeTask from "./ExportDocumentTreeTask";
export default class ExportMarkdownZipTask extends ExportDocumentTreeTask {
public async export(collections... | /content/code_sandbox/server/queues/tasks/ExportMarkdownZipTask.ts | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 117 |
```xml
/**
* Window
*/
interface CommonConfig {
/** HexColor
* @default: "#000000"
*/
navigationBarBackgroundColor?: string;
/** black/white
* @default: "white"
*/
navigationBarTextStyle?: 'white' | 'black';
/** */
navigationBarTitleText?: string;
/**
* - default
* - custom
... | /content/code_sandbox/packages/miniapp-runtime/src/types.ts | xml | 2016-11-03T06:59:15 | 2024-08-16T10:11:29 | ice | alibaba/ice | 17,815 | 2,359 |
```xml
export function generateSocialImage({
title,
tagline,
cloudName = 'logaretm',
imagePublicID,
cloudinaryUrlBase = 'path_to_url
version = null,
titleFont = 'montserrat',
titleExtraConfig = 'bold',
taglineExtraConfig = '',
taglineFont = 'montserrat',
imageWidth = 1280,
imageHeight = 669,
t... | /content/code_sandbox/docs/src/utils/seo.ts | xml | 2016-07-30T01:10:44 | 2024-08-16T10:19:58 | vee-validate | logaretm/vee-validate | 10,699 | 1,108 |
```xml
import { create, act } from 'react-test-renderer'
import { Globals } from '@react-spring/web'
import { linearGradientDef, radiansToDegrees } from '@nivo/core'
import {
ArcShape,
ArcLabelsLayer,
ArcLabelComponent as ArcLabel,
ArcLinkLabelsLayer,
ArcLinkLabelComponent as ArcLinkLabel,
} from '@... | /content/code_sandbox/packages/pie/tests/Pie.test.tsx | xml | 2016-04-16T03:27:56 | 2024-08-16T03:38:37 | nivo | plouc/nivo | 13,010 | 6,118 |
```xml
<dict>
<key>CommonPeripheralDSP</key>
<array>
<dict>
<key>DeviceID</key>
<integer>0</integer>
<key>DeviceType</key>
<string>Headphone</string>
</dict>
<dict>
<key>DeviceID</key>
<integer>1</integer>
<key>DeviceType</key>
<string>Headphone</string>
</dict>
<dict>
<key>Device... | /content/code_sandbox/Resources/ALC272/Platforms12.xml | xml | 2016-03-07T20:45:58 | 2024-08-14T08:57:03 | AppleALC | acidanthera/AppleALC | 3,420 | 20,276 |
```xml
#!/usr/bin/env ./node_modules/.bin/tsnd
//
// Based on the script written by @cristiandean
//
// Source: path_to_url
//
import { FluentResource } from "@fluent/bundle";
import fs from "fs";
import path from "path";
const PROJECT_ROOT = path.resolve(__dirname, "..", "..");
const LOCALE_DIRECTORIES = [
path.... | /content/code_sandbox/client/scripts/i18n/validate.ts | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 943 |
```xml
import { FluentDesignSystem } from '../fluent-design-system.js';
import { RatingDisplay } from './rating-display.js';
import { styles } from './rating-display.styles.js';
import { template } from './rating-display.template.js';
/**
* The definition for the Fluent Rating Display component.
*
* @public
* @rem... | /content/code_sandbox/packages/web-components/src/rating-display/rating-display.definition.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 107 |
```xml
import { Entity, OneToMany, PrimaryGeneratedColumn } from "../../../../src"
import { Document } from "./Document"
@Entity()
export class User {
@PrimaryGeneratedColumn("uuid")
id: string
@OneToMany(() => Document, (doc) => doc.owner, { onDelete: "CASCADE" })
docs: Document[]
}
``` | /content/code_sandbox/test/github-issues/5898/entity/User.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 70 |
```xml
/*
*
* 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 distributed except accor... | /content/code_sandbox/framework/src/modules/auth/module.ts | xml | 2016-02-01T21:45:35 | 2024-08-15T19:16:48 | lisk-sdk | LiskArchive/lisk-sdk | 2,721 | 1,774 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="path_to_url" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="ko" original="../DependencyMan... | /content/code_sandbox/src/fcs-fable/src/Compiler/DependencyManager/xlf/DependencyManager.txt.ko.xlf | xml | 2016-01-11T10:10:13 | 2024-08-15T11:42:55 | Fable | fable-compiler/Fable | 2,874 | 295 |
```xml
import { createTestSuite } from "../../testlib";
import { FeatureSet } from "../../testutil";
import { RtorrentClient } from "../../../src/scripts/bittorrent"
createTestSuite({
client: new RtorrentClient(),
fixture: "fixtures/rutorrent",
port: 8080,
proxyPort: 80,
acceptHttpStatus: 200,
username: "a... | /content/code_sandbox/test/fixtures/rutorrent/rtorrent.spec.ts | xml | 2016-06-18T15:04:41 | 2024-08-16T07:12:27 | Electorrent | tympanix/Electorrent | 1,016 | 98 |
```xml
import { joinWithCommasAnd } from '../strings';
describe(joinWithCommasAnd, () => {
it(`joins 3+ items with an oxford comma`, () => {
expect(joinWithCommasAnd(['a', 'b', 'c'])).toEqual('a, b, and c');
});
it(`joins 2 items with an 'and'`, () => {
expect(joinWithCommasAnd(['a', 'b'])).toEqual('a a... | /content/code_sandbox/packages/@expo/cli/src/utils/__tests__/strings-test.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 397 |
```xml
import * as React from 'react';
import { mount as mountBase } from '@cypress/react';
import {
FluentProvider,
teamsLightTheme,
Popover,
PopoverTrigger,
PopoverSurface,
Menu,
MenuTrigger,
MenuPopover,
MenuList,
MenuItem,
Dialog,
DialogSurface,
DialogTrigger,
DialogBody,
} from '@fluent... | /content/code_sandbox/apps/react-18-tests-v9/src/Portal.cy.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 483 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.