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
export const tintColor = 'pink';
export const tintColor2 = 'purple';
export const jsOnlyAnimationDriver = 'js-only';
export const anyAnimationDriver = 'any';
``` | /content/code_sandbox/apps/native-component-list/src/screens/Image/tests/constants.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 38 |
```xml
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
<AWSProjectType>Lambda</AWSProjectType>
<!-- This property makes the build directory similar to a publish directory and hel... | /content/code_sandbox/Blueprints/BlueprintDefinitions/vs2019/AspNetCoreWebAPI-Image/template/src/BlueprintBaseName.1/BlueprintBaseName.1.csproj | xml | 2016-11-11T20:43:34 | 2024-08-15T16:57:53 | aws-lambda-dotnet | aws/aws-lambda-dotnet | 1,558 | 137 |
```xml
import React, { memo, forwardRef } from 'react';
import { View } from 'react-native';
import { usePropsResolution } from '../../../hooks/useThemeProps';
import { getColor } from '../../../theme';
import { useTheme } from '../../../hooks';
import { makeStyledComponent } from '../../../utils/styled';
import { wrap... | /content/code_sandbox/src/components/primitives/Box/index.tsx | xml | 2016-04-15T11:37:23 | 2024-08-14T16:16:44 | NativeBase | GeekyAnts/NativeBase | 20,132 | 851 |
```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-plugins/lisk-framework-monitor-plugin/src/middlewares/errors.ts | xml | 2016-02-01T21:45:35 | 2024-08-15T19:16:48 | lisk-sdk | LiskArchive/lisk-sdk | 2,721 | 340 |
```xml
<vector xmlns:android="path_to_url"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M7.4,13.2C7.84,12.87 8.465,12.958 8.797,13.396L8.802,13.402C8.808,13.409 8.819,13.423 8.835,13.443C8.869,13.483 8.922,13.544 8.995... | /content/code_sandbox/shared/original-core-ui/src/main/res/drawable/ic_emoji_smile_medium_regular.xml | xml | 2016-05-04T11:46:20 | 2024-08-15T16:29:10 | android | meganz/android | 1,537 | 1,052 |
```xml
// See LICENSE in the project root for license information.
import type { IPackageJson } from '@rushstack/node-core-library';
import { VersionPolicyConfiguration } from '../VersionPolicyConfiguration';
import { VersionPolicy, LockStepVersionPolicy, IndividualVersionPolicy, BumpType } from '../VersionPolicy';
... | /content/code_sandbox/libraries/rush-lib/src/api/test/VersionPolicy.test.ts | xml | 2016-09-30T00:28:20 | 2024-08-16T18:54:35 | rushstack | microsoft/rushstack | 5,790 | 1,550 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="path_to_url">
<item android:state_pressed="true">
<shape android:shape="rectangle">
<solid android:color="#10000000"/>
</shape>
</item>
<item>
<shape android:shape="rectangle">
<solid andro... | /content/code_sandbox/app/src/main/res/drawable/selector_remote_views_action_background.xml | xml | 2016-09-13T14:38:32 | 2024-08-16T12:30:58 | StylishMusicPlayer | ryanhoo/StylishMusicPlayer | 3,699 | 98 |
```xml
<!--
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~
~ path_to_url
~
~ Unless required by applicable law or agreed to in writing, software
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expre... | /content/code_sandbox/test/e2e/sql/src/test/resources/cases/dql/dataset/empty_storage_units/mysql/select_mysql_performance_schema_user_defined_functions.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 138 |
```xml
// Definitions by: Richard Tan <path_to_url
declare function get(item: any[] | {}, target: string | string[], defaultValue?: any): any;
export default get;
``` | /content/code_sandbox/packages/object-safe-get/index.d.ts | xml | 2016-06-26T02:04:54 | 2024-08-15T00:08:43 | just | angus-c/just | 5,974 | 37 |
```xml
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ProtectedLazyRoutingModule } from './protected-lazy-routing.module';
import { ProtectedLazyComponent } from './protected-lazy.component';
@NgModule({
declarations: [ProtectedLazyComponent],
imports: [
Co... | /content/code_sandbox/samples/compat/src/app/protected-lazy/protected-lazy.module.ts | xml | 2016-01-11T20:47:23 | 2024-08-14T12:09:31 | angularfire | angular/angularfire | 7,648 | 78 |
```xml
import periodLockMutations from './periodLocks';
import contractMutations from './contracts';
import contractTypeMutations from './contractTypes';
import transactionMutations from './transactions';
import blockMutations from './block';
export default {
...periodLockMutations,
...contractTypeMutations,
...... | /content/code_sandbox/packages/plugin-savings-api/src/graphql/resolvers/mutations/index.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 82 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/**
* Evaluates the natural logarithm of the probability mass function (PMF) for a Poi... | /content/code_sandbox/lib/node_modules/@stdlib/stats/base/dists/poisson/logpmf/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 796 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="path_to_url">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
<ProjectTypeGuids>{FEACFB... | /content/code_sandbox/tests/common/TestProjects/MyiOSAppWithBinding/MyiOSAppWithBinding.csproj | xml | 2016-04-20T18:24:26 | 2024-08-16T13:29:19 | xamarin-macios | xamarin/xamarin-macios | 2,436 | 1,146 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="path_to_url"
xmlns:app="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:ignore="MissingDefaultResource">
<TextView
android:id="@+id/test2"
... | /content/code_sandbox/app/src/main/res/layout/test.xml | xml | 2016-08-08T08:52:10 | 2024-08-12T19:24:13 | AndroidAnimationExercise | REBOOTERS/AndroidAnimationExercise | 1,868 | 175 |
```xml
<Project>
<Import Project="$(MSBuildThisFileDirectory)..\source\SkiaSharp.Build.targets" />
</Project>
``` | /content/code_sandbox/benchmarks/Directory.Build.targets | xml | 2016-02-22T17:54:43 | 2024-08-16T17:53:42 | SkiaSharp | mono/SkiaSharp | 4,347 | 27 |
```xml
import { describe, expect, it } from 'vitest';
import { scrubArgv } from '../../../../src/util/build/scrub-argv';
describe('scrubArgv()', () => {
describe('--build-env', () => {
it('should scrub --build-env <key=value>', () => {
const result = scrubArgv(['foo', '--build-env', 'bar=wiz', 'baz']);
... | /content/code_sandbox/packages/cli/test/unit/util/build/scrub-argv.test.ts | xml | 2016-09-09T01:12:08 | 2024-08-16T17:39:45 | vercel | vercel/vercel | 12,545 | 1,558 |
```xml
import { ConfigPlugin, withPlugins } from '@expo/config-plugins';
import {
withIosModulesAppDelegate,
withIosModulesAppDelegateObjcHeader,
withIosModulesSwiftBridgingHeader,
} from './withIosModulesAppDelegate';
import { withIosModulesPodfile } from './withIosModulesPodfile';
export const withIosModules:... | /content/code_sandbox/packages/install-expo-modules/src/plugins/ios/withIosModules.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 133 |
```xml
import * as React from 'react';
import { IDocPageProps } from '@fluentui/react/lib/common/DocPage.types';
import { HoverCardBasicExample } from './HoverCard.Basic.Example';
import { HoverCardPlainCardExample } from './HoverCard.PlainCard.Example';
import { HoverCardTargetExample } from './HoverCard.Target.Examp... | /content/code_sandbox/packages/react-examples/src/react/HoverCard/HoverCard.doc.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 716 |
```xml
import { EditorPlugin } from '@draft-js-plugins/editor';
import { EditorState } from 'draft-js';
import UploadPlaceholder from './components/UploadPlaceholder';
import handleDroppedFiles, { FileData } from './handleDroppedFiles';
export { readFile, readFiles } from './utils/file';
export type PlaceholderBlockT... | /content/code_sandbox/packages/drag-n-drop-upload/src/index.ts | xml | 2016-02-26T09:54:56 | 2024-08-16T18:16:31 | draft-js-plugins | draft-js-plugins/draft-js-plugins | 4,087 | 389 |
```xml
class ResizeObserver {
observe() {
// do nothing
}
unobserve() {
// do nothing
}
disconnect() {
// do nothing
}
}
export default ResizeObserver;
``` | /content/code_sandbox/packages/activation/src/tests/mock/ResizeObserver.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 45 |
```xml
<!--
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~
~ path_to_url
~
~ Unless required by applicable law or agreed to in writing, software
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expre... | /content/code_sandbox/test/e2e/sql/src/test/resources/cases/dql/dataset/empty_storage_units/mysql/select_mysql_sys_schema_object_overview.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 108 |
```xml
import * as React from 'react';
import {
FolderRegular,
EditRegular,
OpenRegular,
DocumentRegular,
PeopleRegular,
DocumentPdfRegular,
VideoRegular,
} from '@fluentui/react-icons';
import {
PresenceBadgeStatus,
Avatar,
DataGridBody,
DataGridRow,
DataGrid,
DataGridHeader,
DataGridHeader... | /content/code_sandbox/packages/react-components/react-table/stories/src/DataGrid/SingleSelectControlled.stories.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 1,236 |
```xml
import { vtkAlgorithm, vtkObject } from '../../../interfaces';
import { Vector3 } from '../../../types';
export enum ShapeType {
TRIANGLE,
STAR,
ARROW_4,
ARROW_6,
}
/**
*
*/
export interface IArrow2DSourceInitialValues {
base?: number;
height?: number;
width?: number;
thickness?: number;
ce... | /content/code_sandbox/Sources/Filters/Sources/Arrow2DSource/index.d.ts | xml | 2016-05-02T15:44:11 | 2024-08-15T19:53:44 | vtk-js | Kitware/vtk-js | 1,200 | 1,312 |
```xml
import {store} from "../store";
import socket from "../socket";
socket.on("disconnect", handleDisconnect);
socket.on("connect_error", handleDisconnect);
socket.on("error", handleDisconnect);
socket.io.on("reconnect_attempt", function (attempt) {
store.commit("currentUserVisibleError", `Reconnecting (attempt $... | /content/code_sandbox/client/js/socket-events/connection.ts | xml | 2016-02-09T03:16:03 | 2024-08-16T10:52:38 | thelounge | thelounge/thelounge | 5,518 | 485 |
```xml
import React, { useMemo } from 'react'
import { CompleteTheme } from '@nivo/core'
import { ResponsiveHeatMap } from '@nivo/heatmap'
import { generateXYSeries } from '@nivo/generators'
export const ThemedHeatMap = ({ theme }: { theme: CompleteTheme }) => {
const data = useMemo(
() =>
gene... | /content/code_sandbox/website/src/components/guides/theming/ThemedHeatMap.tsx | xml | 2016-04-16T03:27:56 | 2024-08-16T03:38:37 | nivo | plouc/nivo | 13,010 | 475 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11542" systemVersion="16B2657" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewControll... | /content/code_sandbox/Dash/Base.lproj/Main.storyboard | xml | 2016-11-06T17:31:43 | 2024-08-13T17:54:00 | Dash-iOS | Kapeli/Dash-iOS | 7,131 | 15,462 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/* eslint-disable max-lines */
import assert = require( '@stdlib/math/base/assert' );... | /content/code_sandbox/lib/node_modules/@stdlib/math/base/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 264 |
```xml
import React from 'react';
import PropTypes from 'prop-types';
import * as Utils from '../flux/models/utils';
export default function BoldedSearchResult({ query = '', value = '' } = {}) {
const searchTerm = (query || '').trim();
if (searchTerm.length === 0) return <span>{value}</span>;
const re = Utils.... | /content/code_sandbox/app/src/components/bolded-search-result.tsx | xml | 2016-10-13T06:45:50 | 2024-08-16T18:14:37 | Mailspring | Foundry376/Mailspring | 15,331 | 254 |
```xml
/* eslint-disable max-len */
/// <reference types="../../../types/cypress" />
// Components
import { VBanner } from '@/components/VBanner/VBanner'
import { VLayout } from '@/components/VLayout/VLayout'
import { VMain } from '@/components/VMain'
import { VNavigationDrawer } from '@/components/VNavigationDrawer/V... | /content/code_sandbox/packages/vuetify/src/composables/__tests__/display.spec.cy.tsx | xml | 2016-09-12T00:39:35 | 2024-08-16T20:06:39 | vuetify | vuetifyjs/vuetify | 39,539 | 407 |
```xml
import { GeneralTransforms } from './general'
import { NodeTransforms } from './node'
import { SelectionTransforms } from './selection'
import { TextTransforms } from './text'
export const Transforms: GeneralTransforms &
NodeTransforms &
SelectionTransforms &
TextTransforms = {
...GeneralTransforms,
.... | /content/code_sandbox/packages/slate/src/interfaces/transforms/index.ts | xml | 2016-06-18T01:52:42 | 2024-08-16T18:43:42 | slate | ianstormtaylor/slate | 29,492 | 91 |
```xml
<!--
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~
~ path_to_url
~
~ Unless required by applicable law or agreed to in writing, software
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expre... | /content/code_sandbox/test/e2e/sql/src/test/resources/cases/ddl/dataset/tbl/create_broadcast_index.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 159 |
```xml
<ui version="4.0" >
<class>Form</class>
<widget class="QWidget" name="Form" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>911</width>
<height>688</height>
</rect>
</property>
<property name="windowTitle" >
<string>Form</string>
</property>
<layout class="QHBox... | /content/code_sandbox/src/pyqt-official/webkit/previewer/previewer.ui | xml | 2016-10-13T07:03:35 | 2024-08-15T15:36:27 | examples | pyqt/examples | 2,313 | 682 |
```xml
/**
* Created by hustcc on 18/5/20.
* Contract: i@hust.cc
*/
import { format } from '../src/';
describe('format', () => {
test('format', () => {
const now = new Date();
expect(format(+now - 5000)).toBe('just now');
expect(format(+now - 5000, undefined, { relativeDate: now })).toBe('just now');... | /content/code_sandbox/__tests__/format.spec.ts | xml | 2016-06-23T02:06:23 | 2024-08-16T02:07:26 | timeago.js | hustcc/timeago.js | 5,267 | 179 |
```xml
export interface IDummyObject {
firstItem: string;
secondItem: string;
}
export interface IDummyQueryArgs {
itemId: string;
}
export interface IDummyMutationArgs {
input: {
firstInput: string;
secondInput: string;
};
}
``` | /content/code_sandbox/aws-node-typescript-apollo-lambda/src/graphql/resolvers/typings.ts | xml | 2016-11-12T02:14:55 | 2024-08-15T16:35:14 | examples | serverless/examples | 11,377 | 59 |
```xml
import {
byteLength as bigIntByteLength,
bigIntToUint8Array,
mod,
modExp,
uint8ArrayToBigInt,
} from '@proton/crypto/lib/bigInteger';
import { arrayToBinaryString, binaryStringToArray, decodeBase64, encodeBase64 } from '@proton/crypto/lib/utils';
import mergeUint8Arrays from '@proton/utils/me... | /content/code_sandbox/packages/srp/lib/srp.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 2,245 |
```xml
import {browser, by, element, ExpectedConditions} from 'protractor';
describe('hydration e2e', () => {
beforeEach(async () => {
await browser.waitForAngularEnabled(false);
await browser.get('/');
await browser.wait(ExpectedConditions.presenceOf(element(by.css('.render-marker'))), 5000);
});
i... | /content/code_sandbox/src/universal-app/hydration.e2e.spec.ts | xml | 2016-01-04T18:50:02 | 2024-08-16T11:21:13 | components | angular/components | 24,263 | 276 |
```xml
import { Field, FormikErrors } from 'formik';
import { string } from 'yup';
import { useMemo } from 'react';
import { FormControl } from '@@/form-components/FormControl';
import { Input } from '@@/form-components/Input';
import { useEdgeJobs } from '../../queries/useEdgeJobs';
import { EdgeJob } from '../../ty... | /content/code_sandbox/app/react/edge/edge-jobs/components/EdgeJobForm/NameField.tsx | xml | 2016-05-19T20:15:28 | 2024-08-16T19:15:14 | portainer | portainer/portainer | 30,083 | 317 |
```xml
// path_to_url
@decorator()
enum Direction {
Up = 1,
Down,
Left,
Right
}
``` | /content/code_sandbox/tests/format/misc/errors/invalid-typescript-decorators/enums.ts | xml | 2016-11-29T17:13:37 | 2024-08-16T17:29:57 | prettier | prettier/prettier | 48,913 | 29 |
```xml
import { createElement, Fragment, ReactNode } from 'react'
import { Container, SvgWrapper, useDimensions } from '@nivo/core'
import { VoronoiSvgProps, VoronoiLayerId } from './types'
import { defaultVoronoiProps } from './props'
import { useVoronoi, useVoronoiLayerContext } from './hooks'
type InnerVoronoiProps... | /content/code_sandbox/packages/voronoi/src/Voronoi.tsx | xml | 2016-04-16T03:27:56 | 2024-08-16T03:38:37 | nivo | plouc/nivo | 13,010 | 887 |
```xml
// *** WARNING: this file was generated by test. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
export const OutputOnlyEnumType = {
Foo: "foo",
Bar: "bar",
} as const;
export type OutputOnlyEnumType = (typeof OutputOnlyEnumType)[keyof typeof OutputOnlyEnumType];
... | /content/code_sandbox/tests/testdata/codegen/simple-yaml-schema/nodejs/types/enums/index.ts | xml | 2016-10-31T21:02:47 | 2024-08-16T19:47:04 | pulumi | pulumi/pulumi | 20,743 | 182 |
```xml
import { useEffect, useRef } from 'react';
export interface UseClickOutsideOptions {
enabled?: boolean;
isOutside: (event: MouseEvent) => boolean;
handle: (event: MouseEvent) => void;
}
export function useClickOutside({ enabled = true, isOutside, handle }: UseClickOutsideOptions) {
const isOutsideRef =... | /content/code_sandbox/src/internals/hooks/useClickOutside.ts | xml | 2016-06-06T02:27:46 | 2024-08-16T16:41:54 | rsuite | rsuite/rsuite | 8,263 | 225 |
```xml
import React from 'react';
import resources from './locales';
import CounterModule from '../CounterModule';
import ServerCounter from './containers/ServerCounter';
export default new CounterModule({
localization: [{ ns: 'serverCounter', resources }],
counterComponent: [<ServerCounter />],
});
``` | /content/code_sandbox/modules/counter/client-react/serverCounter/index.tsx | xml | 2016-09-08T16:44:45 | 2024-08-16T06:17:16 | apollo-universal-starter-kit | sysgears/apollo-universal-starter-kit | 1,684 | 59 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11201" systemVersion="16B2555" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<dependencies>
<deployment ... | /content/code_sandbox/12306ForMac/Preferences/ReminderPreferenceViewController.xib | xml | 2016-02-02T11:18:26 | 2024-08-06T03:21:50 | 12306ForMac | fancymax/12306ForMac | 2,848 | 5,315 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="path_to_url">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<F... | /content/code_sandbox/59_01_MaxInSlidingWindow/59_01_MaxInSlidingWindow.vcxproj.filters | xml | 2016-11-21T05:04:57 | 2024-08-14T04:03:23 | CodingInterviewChinese2 | zhedahht/CodingInterviewChinese2 | 5,289 | 312 |
```xml
<!--
Description: feed copyright - base64 escaped markup
-->
<feed version="0.3" xmlns="path_to_url#">
<copyright mode="base64">Jmx0O3AmZ3Q7RmVlZCBDb3B5cmlnaHQmbHQ7L3AmZ3Q7</copyright>
</feed>
``` | /content/code_sandbox/testdata/parser/atom/atom03_feed_copyright_base64_escaped_markup.xml | xml | 2016-01-23T02:44:34 | 2024-08-16T15:16:03 | gofeed | mmcdole/gofeed | 2,547 | 77 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/* eslint-disable max-lines */
import isSameValuef = require( '@stdlib/number/float32... | /content/code_sandbox/lib/node_modules/@stdlib/number/float32/base/assert/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 926 |
```xml
import { getClient } from '../client'
import { createOrRetrieveCustomerInputSchema } from '../misc/custom-schemas'
import type { IntegrationProps } from '../misc/types'
export const createOrRetrieveCustomer: IntegrationProps['actions']['createOrRetrieveCustomer'] = async ({
ctx,
logger,
input,
}) => {
c... | /content/code_sandbox/integrations/stripe/src/actions/create-or-retrieve-customer.ts | xml | 2016-11-16T21:57:59 | 2024-08-16T18:45:35 | botpress | botpress/botpress | 12,401 | 290 |
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"path_to_url" >
<!--
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
... | /content/code_sandbox/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-postgresql/src/main/resources/org/apache/guacamole/auth/jdbc/connection/ConnectionParameterMapper.xml | xml | 2016-03-22T07:00:06 | 2024-08-16T13:03:48 | guacamole-client | apache/guacamole-client | 1,369 | 457 |
```xml
export default function Layout(props) {
return props.children
}
export const metadata = {
title: {
template: '%s | Extra Layout',
default: 'extra layout default',
},
}
``` | /content/code_sandbox/test/e2e/app-dir/metadata/app/title-template/extra/layout.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 43 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/// <reference types="@stdlib/types"/>
import { Complex64 } from '@stdlib/types/compl... | /content/code_sandbox/lib/node_modules/@stdlib/constants/complex64/zero/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 132 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="path_to_url"
package="com.journaldev.passingdatabetweenfragments">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_lau... | /content/code_sandbox/Android/PassingDataBetweenFragments/app/src/main/AndroidManifest.xml | xml | 2016-05-02T05:43:21 | 2024-08-16T06:51:39 | journaldev | WebJournal/journaldev | 1,314 | 177 |
```xml
import Nav from "react-bootstrap/Nav";
export { Nav };
import Navbar from "react-bootstrap/Navbar";
export { Navbar };
import Form from "react-bootstrap/Form";
export { Form };
import Stack from "react-bootstrap/Stack";
export { Stack };
import Container from "react-bootstrap/Container";
export { Container }... | /content/code_sandbox/website/src/website/components/bootstrap.tsx | xml | 2016-06-07T16:56:31 | 2024-08-16T17:17:05 | monaco-editor | microsoft/monaco-editor | 39,508 | 147 |
```xml
import { Document, Schema } from "mongoose";
import {
customFieldSchema,
ICustomField,
ILink
} from "@erxes/api-utils/src/definitions/common";
import { CUSTOMER_SELECT_OPTIONS } from "./constants";
import { field, schemaWrapper } from "@erxes/api-utils/src/definitions/utils";
export interface ILocation ... | /content/code_sandbox/packages/core/src/db/models/definitions/customers.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 2,328 |
```xml
<?xml version="1.0"?>
<ruleset xmlns:xsi="path_to_url" name="Android Application Rules"
xmlns="path_to_url"
xsi:noNamespaceSchemaLocation="path_to_url"
xsi:schemaLocation="path_to_url path_to_url">
<description>Custom ruleset for ribot Evokly application</description>
<exclude-pattern>.*/R.... | /content/code_sandbox/config/quality/pmd/pmd-ruleset.xml | xml | 2016-07-06T23:47:52 | 2024-06-17T10:31:05 | Pulsator4Droid | booncol/Pulsator4Droid | 1,002 | 390 |
```xml
import { WebPartContext } from "@microsoft/sp-webpart-base";
// import pnp and pnp logging system
import { spfi, SPFI, SPFx } from "@pnp/sp";
let _sp: SPFI = null;
export const getSP = (context?: WebPartContext): SPFI => {
if (context) {
_sp = spfi().using(SPFx(context));
}
return _sp;
};
``` | /content/code_sandbox/samples/react-add-js-css-ref/src/webparts/addJsCssReference/pnpjsConfig.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 95 |
```xml
/*
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
*/
import {ChangeEventHandler, Component} from 'react';
import {Button, Form, Stack, TextInput} from '@carbon/react';
import {Modal, Select} from 'compo... | /content/code_sandbox/optimize/client/src/modules/filter/modals/duration/DurationFilter.tsx | xml | 2016-03-20T03:38:04 | 2024-08-16T19:59:58 | camunda | camunda/camunda | 3,172 | 1,063 |
```xml
// @generated by protobuf-ts 2.1.0 with parameter client_grpc1,generate_dependencies
// @generated from protobuf file "org/apache/beam/model/pipeline/v1/schema.proto" (package "org.apache.beam.model.pipeline.v1", syntax proto3)
// tslint:disable
//
//
// or more contributor license agreements. See the NOTICE fi... | /content/code_sandbox/sdks/typescript/src/apache_beam/proto/org/apache/beam/model/pipeline/v1/schema.ts | xml | 2016-02-02T08:00:06 | 2024-08-16T18:58:11 | beam | apache/beam | 7,730 | 16,850 |
```xml
import fs from 'fs-extra';
import minimatch from 'minimatch';
import path from 'path';
import { ANDROID_VENDORED_DIR, EXPO_DIR, IOS_VENDORED_DIR } from '../../Constants';
import { GitFileDiff } from '../../Git';
import logger from '../../Logger';
import { getListOfPackagesAsync, Package } from '../../Packages';... | /content/code_sandbox/tools/src/code-review/reviewers/checkMissingChangelogs.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 833 |
```xml
import http from 'node:http';
import type { AddressInfo } from 'node:net';
import { promisify } from 'node:util';
import { BrowserPool, PuppeteerPlugin, PlaywrightPlugin } from '@crawlee/browser-pool';
import playwright from 'playwright';
import type { Server as ProxyChainServer } from 'proxy-chain';
import pup... | /content/code_sandbox/packages/browser-pool/test/proxy-sugar.test.ts | xml | 2016-08-26T18:35:03 | 2024-08-16T16:40:08 | crawlee | apify/crawlee | 14,153 | 465 |
```xml
import { test, expect } from '@playwright/test'
test.describe('embeds example', () => {
const slateEditor = 'div[data-slate-editor="true"]'
test.beforeEach(async ({ page }) => {
await page.goto('path_to_url
})
test('contains embeded', async ({ page }) => {
await expect(page.locator(slateEditor... | /content/code_sandbox/playwright/integration/examples/embeds.test.ts | xml | 2016-06-18T01:52:42 | 2024-08-16T18:43:42 | slate | ianstormtaylor/slate | 29,492 | 94 |
```xml
/* eslint-disable react/jsx-key */
import React, { TableHTMLAttributes, ThHTMLAttributes, useMemo, useState } from 'react';
import cx from 'classnames';
import { useTable, Column, useRowSelect, useSortBy, HeaderGroup, UseSortByColumnProps, TableState, UseSortByState, useGlobalFilter, TableInstance, UseGlobalFilt... | /content/code_sandbox/packages/ui/lib/components/TrackTable/index.tsx | xml | 2016-09-22T22:58:21 | 2024-08-16T15:47:39 | nuclear | nukeop/nuclear | 11,862 | 1,802 |
```xml
interface IPacking {
pack(): string;
}
export default IPacking;
``` | /content/code_sandbox/samples/react-designpatterns-typescript/Builder/src/webparts/builder/components/IPacking.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 16 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<RollForward>Major</RollForward>
</PropertyGroup>
<ItemGroup>
<Compile Include="src/main.fs" />
</ItemGroup>
<ItemGroup>
<!-- <ProjectReference Include="../Fable.... | /content/code_sandbox/src/quicktest-rust/Quicktest.Rust.fsproj | xml | 2016-01-11T10:10:13 | 2024-08-15T11:42:55 | Fable | fable-compiler/Fable | 2,874 | 104 |
```xml
import * as React from 'react';
import { Stack, Text } from '@fluentui/react';
import { PersonaTestImages } from '@fluentui/react-experiments/lib/common/TestImages';
import { mergeStyles } from '@fluentui/style-utilities';
import { Persona } from '@fluentui/react-experiments';
const tokens = {
sectionStack: {... | /content/code_sandbox/packages/react-examples/src/react-experiments/Persona/VerticalPersona.Example.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 714 |
```xml
export const assertSystemRequirementsAsync = jest.fn(async () => {});
``` | /content/code_sandbox/packages/@expo/cli/src/start/platforms/ios/__mocks__/assertSystemRequirements.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 14 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<manifest package="sample.github.nisrulz.custombroadcastpermissions"
xmlns:android="path_to_url">
<permission android:name="com.abc.permission.GET_DATA"/>
<uses-permission android:name="com.abc.permission.GET_DATA"/>
<application
android:al... | /content/code_sandbox/CustomBroadcastPermissions/app/src/app1/AndroidManifest.xml | xml | 2016-02-25T11:06:48 | 2024-08-07T21:41:59 | android-examples | nisrulz/android-examples | 1,747 | 181 |
```xml
import { Nullable } from '../../../types';
/**
* Get the endianness
*/
export function getEndianness(): Nullable<string>;
export const ENDIANNESS: string;
/**
*
* @param {ArrayBuffer} buffer
* @param {Number} wordSize
*/
export function swapBytes(buffer: ArrayBuffer, wordSize: number): void;
``` | /content/code_sandbox/Sources/Common/Core/Endian/index.d.ts | xml | 2016-05-02T15:44:11 | 2024-08-15T19:53:44 | vtk-js | Kitware/vtk-js | 1,200 | 72 |
```xml
import Trace from './Trace.js';
export default {
Trace
};
``` | /content/code_sandbox/src/lib/lib.ts | xml | 2016-06-10T12:58:57 | 2024-08-15T07:16:18 | lance | lance-gg/lance | 1,570 | 15 |
```xml
export type ConfirmationModalOptions = {
modal: "confirmation";
title: string;
message: string;
onCancel: () => void;
onContinue: () => void;
};
export type BlockPickerOptions = {
modal: "block-picker";
criteriaInstanceId: string;
paramName: string;
};
export type ImportChecklis... | /content/code_sandbox/teachertool/src/types/modalOptions.ts | xml | 2016-01-24T19:35:52 | 2024-08-16T16:39:39 | pxt | microsoft/pxt | 2,069 | 118 |
```xml
import { describe, expect, it } from "vitest";
import { Formatter } from "@export/formatter";
import { Column, Columns } from ".";
describe("Columns", () => {
describe("#constructor()", () => {
it("should create columns of equal width if equalWidth is true", () => {
const columns = new... | /content/code_sandbox/src/file/document/body/section-properties/properties/columns.spec.ts | xml | 2016-03-26T23:43:56 | 2024-08-16T13:02:47 | docx | dolanmiu/docx | 4,139 | 505 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>17E199</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>USBInjectAll</st... | /content/code_sandbox/Clover-Configs/Asus/FL5900/CLOVER/kexts/Other/USBInjectAll.kext/Contents/Info.plist | xml | 2016-11-05T04:22:54 | 2024-08-12T19:25:53 | Hackintosh-Installer-University | huangyz0918/Hackintosh-Installer-University | 3,937 | 85,065 |
```xml
import {ParamTypes} from "../domain/ParamTypes.js";
import {Context} from "./context.js";
import {JsonParameterStore} from "@tsed/schema";
describe("@Context ", () => {
it("should call ParamFilter.useParam method with the correct parameters", () => {
class Ctrl {
test(@Context("expression") test: an... | /content/code_sandbox/packages/platform/platform-params/src/decorators/context.spec.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 120 |
```xml
<resources>
<declare-styleable name="ButtonBarContainerTheme">
<attr name="metaButtonBarStyle" format="reference" />
<attr name="metaButtonBarButtonStyle" format="reference" />
</declare-styleable>
</resources>
``` | /content/code_sandbox/paper-onboarding-simple-example/src/main/res/values/attrs.xml | xml | 2016-04-25T09:31:20 | 2024-08-07T21:44:08 | paper-onboarding-android | Ramotion/paper-onboarding-android | 2,559 | 55 |
```xml
import { Component } from '@angular/core';
@Component({
selector: 'app-actions',
templateUrl: './actions.component.html',
styleUrls: ['./actions.component.scss']
})
export class ActionsComponent {
actionMapping = `
import { TREE_ACTIONS, KEYS, IActionMapping } from 'angular-tree-component';
const acti... | /content/code_sandbox/projects/docs-app/src/app/fundamentals/actions/actions.component.ts | xml | 2016-03-10T21:29:15 | 2024-08-15T07:07:30 | angular-tree-component | CirclonGroup/angular-tree-component | 1,093 | 474 |
```xml
import { nextTestSetup } from 'e2e-utils'
describe('app dir - hooks', () => {
const { next, isNextDeploy } = nextTestSetup({
files: __dirname,
})
describe('from pages', () => {
it.each([
{ pathname: '/adapter-hooks/static' },
{ pathname: '/adapter-hooks/1' },
{ pathname: '/adapt... | /content/code_sandbox/test/e2e/app-dir/hooks/hooks.test.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 1,687 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/**
* Restricts a double-precision floating-point number to a specified range.
*
* @pa... | /content/code_sandbox/lib/node_modules/@stdlib/math/base/special/clamp/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 356 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="path_to_url"
xmlns:app="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dim... | /content/code_sandbox/app/src/main/res/layout/activity_item_dns.xml | xml | 2016-10-15T15:27:17 | 2024-08-16T06:53:53 | dns66 | julian-klode/dns66 | 2,104 | 538 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/* eslint-disable max-lines */
import cdf = require( '@stdlib/stats/base/dists/arcsin... | /content/code_sandbox/lib/node_modules/@stdlib/stats/base/dists/arcsine/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 3,365 |
```xml
import * as React from 'react';
import * as moment from 'moment';
import { css } from 'office-ui-fabric-react/lib/Utilities';
import { DatePicker, DayOfWeek, IDatePickerProps, IDatePickerStrings } from 'office-ui-fabric-react/lib/DatePicker';
import { ComboBox, IComboBoxOption, IComboBox } from 'office-ui-fabri... | /content/code_sandbox/samples/react-list-form/src/webparts/listForm/components/formFields/DateFormField.tsx | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 1,373 |
```xml
import {Constraint} from '../constraint/constraint.js';
import {Emitter} from './emitter.js';
import {Value, ValueChangeOptions, ValueEvents} from './value.js';
interface Config<T> {
constraint?: Constraint<T>;
equals?: (v1: T, v2: T) => boolean;
}
/**
* A complex value that has constraint and comparator.
... | /content/code_sandbox/packages/core/src/common/model/complex-value.ts | xml | 2016-05-10T15:45:13 | 2024-08-16T19:57:27 | tweakpane | cocopon/tweakpane | 3,480 | 442 |
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "path_to_url">
<mapper namespace="com.us.dao.EventDao">
<resultMap id="eventMap" type="com.us.bean.Event">
<id property="id" column="id"/>
<result property="rawEventId" column="raw_event_id"/>
<resul... | /content/code_sandbox/springboot-shiro/src/main/resources/mapper/EventDaoMapper.xml | xml | 2016-11-07T02:13:31 | 2024-08-16T08:17:57 | springBoot | 527515025/springBoot | 6,488 | 1,783 |
```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>13F1077</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>IntelMausiEther... | /content/code_sandbox/Clover-Configs/Acer/E1-570/CLOVER/kexts/10.11/IntelMausiEthernet.kext/Contents/Info.plist | xml | 2016-11-05T04:22:54 | 2024-08-12T19:25:53 | Hackintosh-Installer-University | huangyz0918/Hackintosh-Installer-University | 3,937 | 946 |
```xml
import * as React from 'react';
import { Image } from '../Image';
const icon = require('../../assets/chevron-right-icon.png');
export function ChevronRightIcon(props: Partial<React.ComponentProps<typeof Image>>) {
return <Image source={icon} {...props} />;
}
``` | /content/code_sandbox/packages/expo-dev-client-components/src/icons/ChevronRightIcon.tsx | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 59 |
```xml
import "reflect-metadata"
import { expect } from "chai"
import {
closeTestingConnections,
createTestingConnections,
reloadTestingDatabases,
} from "../../../utils/test-utils"
import { DataSource } from "../../../../src/data-source/DataSource"
import { User } from "./entity/User"
import { Photo } from... | /content/code_sandbox/test/functional/query-builder/insert/query-builder-insert.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 1,133 |
```xml
import { sort as semverSort, SemVer } from 'semver'
import { getLogLines } from '../changelog/git'
import {
convertToChangelogFormat,
getChangelogEntriesSince,
} from '../changelog/parser'
import { Channel } from './channel'
import { getNextVersionNumber } from './version'
import { execSync } from 'child_p... | /content/code_sandbox/script/draft-release/run.ts | xml | 2016-05-11T15:59:00 | 2024-08-16T17:00:41 | desktop | desktop/desktop | 19,544 | 1,841 |
```xml
import * as React from "react";
type Props = {
/** The size of the icon, 24px is default to match standard icons */
size?: number;
/** The color of the icon, defaults to the current text color */
fill?: string;
className?: string;
};
function GoogleLogo({ size = 24, fill = "currentColor", className }... | /content/code_sandbox/plugins/googleanalytics/client/Icon.tsx | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 421 |
```xml
import { GPU } from 'gpu.js';
import { NeuralNetwork } from './neural-network';
import { FeedForward } from './feed-forward';
import {
input,
output,
target,
Target,
Sigmoid,
arthurFeedForward,
ILayer,
ILayerSettings,
feedForward as feedForwardLayer,
} from './layer';
import { momentumRootMean... | /content/code_sandbox/src/feed-forward.end-to-end.test.ts | xml | 2016-02-13T18:09:44 | 2024-08-15T20:41:49 | brain.js | BrainJS/brain.js | 14,300 | 4,358 |
```xml
import React, { useCallback, useContext, useEffect, useRef } from 'react';
import PropTypes from 'prop-types';
import isNil from 'lodash/isNil';
import { useUniqueId } from '../hooks';
import MenuContext, { MenuActionTypes, MoveFocusTo } from './MenuContext';
export interface MenuItemProps {
/** Active the cu... | /content/code_sandbox/src/internals/Menu/MenuItem.tsx | xml | 2016-06-06T02:27:46 | 2024-08-16T16:41:54 | rsuite | rsuite/rsuite | 8,263 | 927 |
```xml
import { isMac } from "@shared/utils/browser";
export const altDisplay = isMac() ? "" : "Alt";
export const metaDisplay = isMac() ? "" : "Ctrl";
export const meta = isMac() ? "cmd" : "ctrl";
export function isModKey(
event: KeyboardEvent | MouseEvent | React.KeyboardEvent
) {
return isMac() ? event.metaK... | /content/code_sandbox/app/utils/keyboard.ts | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 90 |
```xml
import React, { memo, forwardRef } from 'react';
import { Modal } from '../../composites/Modal';
import type { IActionsheetFooterProps } from './types';
import { usePropsResolution } from '../../../hooks';
import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps';
const ActionsheetFooter = (p... | /content/code_sandbox/src/components/composites/Actionsheet/ActionsheetFooter.tsx | xml | 2016-04-15T11:37:23 | 2024-08-14T16:16:44 | NativeBase | GeekyAnts/NativeBase | 20,132 | 149 |
```xml
import * as React from 'react';
import { IContextualMenuProps } from '@fluentui/react/lib/ContextualMenu';
import { DefaultButton } from '@fluentui/react/lib/Button';
import { useConst } from '@fluentui/react-hooks';
export const ContextualMenuPersistedExample: React.FunctionComponent = () => {
const menuProp... | /content/code_sandbox/packages/react-examples/src/react/ContextualMenu/ContextualMenu.Persisted.Example.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 271 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
path_to_url
Unless required by applicable law or agreed to in writing, software
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-->
<resources xmlns:android="path_to_url"
xmlns:xliff="urn:oasis:names:tc:xliff:docum... | /content/code_sandbox/bottomsheetpickers/src/main/res/values-cs/strings.xml | xml | 2016-10-06T01:20:05 | 2024-08-05T10:12:07 | BottomSheetPickers | philliphsu/BottomSheetPickers | 1,101 | 430 |
```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="vi" datatype="plaintext" original="wizard.en.xlf">
<body>
</body>
</file>
</xliff>
``` | /content/code_sandbox/translations/wizard.vi.xlf | xml | 2016-10-20T17:06:34 | 2024-08-16T18:27:30 | kimai | kimai/kimai | 3,084 | 83 |
```xml
declare interface PwmPin {
/**
* Emits a Pulse-width modulation (PWM) signal for a given duration.
* @param name the pin that modulate
* @param frequency frequency to modulate in Hz.
* @param ms duration of the pitch in milli seconds.
*/
//% blockId=pin_analog_pitch block="analog... | /content/code_sandbox/tests/decompile-test/cases/testBlocks/cp.ts | xml | 2016-01-24T19:35:52 | 2024-08-16T16:39:39 | pxt | microsoft/pxt | 2,069 | 251 |
```xml
<controls:CorePage x:Class="Telegram.Views.Authorization.AuthorizationRecoveryPage"
xmlns="path_to_url"
xmlns:d="path_to_url"
xmlns:x="path_to_url"
xmlns:mc="path_to_url"
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
... | /content/code_sandbox/Telegram/Views/Authorization/AuthorizationRecoveryPage.xaml | xml | 2016-05-23T09:03:33 | 2024-08-16T16:17:48 | Unigram | UnigramDev/Unigram | 3,744 | 766 |
```xml
import pino from 'pino';
import { Writable } from 'stream';
import { createLogger } from '../src';
describe('logger test', () => {
describe('json format', () => {
test('should write json to a stream', () => {
const stream = new Writable({
write(chunk, encoding, callback) {
expect(... | /content/code_sandbox/packages/logger/logger-commons/test/createLogger.spec.ts | xml | 2016-04-15T16:21:12 | 2024-08-16T09:38:01 | verdaccio | verdaccio/verdaccio | 16,189 | 140 |
```xml
export type { IExtendedEffects, IExtendedSemanticColors } from './types';
export { Fluent2WebDarkTheme } from './fluent2WebDarkTheme';
export { Fluent2WebLightTheme } from './fluent2WebLightTheme';
export { fluent2ComponentStyles } from './fluent2ComponentStyles';
export { getFluent2InputDisabledStyles, getFluen... | /content/code_sandbox/packages/fluent2-theme/src/index.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 93 |
```xml
import { ComponentViewerEvent } from './ComponentViewerEvent'
export type ComponentEventObserver = (event: ComponentViewerEvent) => void
``` | /content/code_sandbox/packages/models/src/Domain/Abstract/Component/ComponentEventObserver.ts | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 29 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="path_to_url"
android:fillAfter="true"
android:interpolator="@android:anim/bounce_interpolator">
<scale
android:duration="500"
android:fromXScale="1.0"
android:fromYScale="0.0"
android:toXScale="1.0"
an... | /content/code_sandbox/Android/Animations/app/src/main/res/anim/bounce.xml | xml | 2016-05-02T05:43:21 | 2024-08-16T06:51:39 | journaldev | WebJournal/journaldev | 1,314 | 106 |
```xml
import { MSGraphClient } from "@microsoft/sp-http";
import * as MicrosoftGraph from "@microsoft/microsoft-graph-types";
import { WebPartContext } from "@microsoft/sp-webpart-base";
import { IGroup, IGroupCollection } from "../models";
import { GraphRequest } from "@microsoft/microsoft-graph-client";
export cla... | /content/code_sandbox/samples/react-my-groups/src/services/GroupService.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 493 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.