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
import * as React from 'react';
import cx from 'classnames';
import { createSvgIcon } from '../utils/createSvgIcon';
import { iconClassNames } from '../utils/iconClassNames';
export const ListIcon = createSvgIcon({
svg: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="2 2 16 16" clas... | /content/code_sandbox/packages/fluentui/react-icons-northstar/src/components/ListIcon.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 1,052 |
```xml
import { getGlobalClassNames } from '../../Styling';
import type { IFabricStyleProps, IFabricStyles } from './Fabric.types';
const inheritFont = { fontFamily: 'inherit' };
const GlobalClassNames = {
root: 'ms-Fabric',
bodyThemed: 'ms-Fabric-bodyThemed',
};
export interface IFabricClassNames {
root: stri... | /content/code_sandbox/packages/react/src/components/Fabric/Fabric.styles.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 270 |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" datatype="plaintext" original="ng2.template">
<body>
<trans-unit id="6641024648411549335" datatype="html">
<source>Host</source>
<cont... | /content/code_sandbox/src/frontend/translate/messages.de.xlf | xml | 2016-03-12T11:46:41 | 2024-08-16T19:56:44 | pigallery2 | bpatrik/pigallery2 | 1,727 | 70,584 |
```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/entity/message/LinkPreview.ts | xml | 2016-07-21T15:34:05 | 2024-08-16T11:40:13 | wire-webapp | wireapp/wire-webapp | 1,125 | 282 |
```xml
import { css } from 'linaria';
const entryShared = `
padding: 7px 10px 3px 10px;
transition: background-color 0.4s cubic-bezier(.27,1.27,.48,.56);
&:active {
background-color: #cce7ff;
}
`;
export interface MentionPluginTheme {
mention?: string;
mentionSuggestions?: string;
mentionSuggestions... | /content/code_sandbox/packages/mention/src/theme.ts | xml | 2016-02-26T09:54:56 | 2024-08-16T18:16:31 | draft-js-plugins | draft-js-plugins/draft-js-plugins | 4,087 | 659 |
```xml
<resources>
<!--Sections-->
<string name="modules"></string>
<string name="superuser">Superuser</string>
<string name="logs"></string>
<string name="settings"></string>
<string name="install"></string>
<string name="section_home"> </string>
<string name="section_theme"></string>
... | /content/code_sandbox/app/core/src/main/res/values-kk/strings.xml | xml | 2016-09-08T12:42:53 | 2024-08-16T19:41:25 | Magisk | topjohnwu/Magisk | 46,424 | 3,214 |
```xml
import { EnvironmentType } from '../../config/EnvironmentType';
import { IPublicConfig } from '../../config/IConfig';
import { IRunProps } from '../../config/IRunProps';
import { createContext } from '../../core/context';
import '../../utils/test_utils';
import { createDevServerConfig } from '../devServerProps';... | /content/code_sandbox/src/devServer/__tests__/devServerProps.test.ts | xml | 2016-10-28T10:37:16 | 2024-07-27T15:17:43 | fuse-box | fuse-box/fuse-box | 4,003 | 1,069 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="path_to_url" android:opacity="opaque">
<item android:drawable="?attr/colorPrimaryVariant"/>
<item>
<bitmap
android:src="@mipmap/ic_launcher"
android:gravity="center" />
</item>
</layer-list>
``` | /content/code_sandbox/app/src/main/res/drawable/splash_screen.xml | xml | 2016-10-18T15:38:44 | 2024-08-16T19:19:31 | libretorrent | proninyaroslav/libretorrent | 1,973 | 78 |
```xml
export interface ParseOptions {
/**
Decode the keys and values. URI components are decoded with [`decode-uri-component`](path_to_url
@default true
*/
readonly decode?: boolean;
/**
@default 'none'
- `bracket`: Parse arrays with bracket representation:
```
queryString.parse('foo[]=1&foo[]=2&foo[]=... | /content/code_sandbox/lts/deps/npm/node_modules/query-string/index.d.ts | xml | 2016-10-10T12:09:49 | 2024-08-11T15:13:17 | node-packer | pmq20/node-packer | 3,069 | 1,555 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Amazon.Lambda.Core" Version="2.1.0" />
<PackageReference Include="Amazon.Lambda.TestUtilities" Version="2.0.0" />
<PackageReference Include="Am... | /content/code_sandbox/Blueprints/BlueprintDefinitions/vs2019/EmptyServerless-Image/template/test/BlueprintBaseName.1.Tests/BlueprintBaseName.1.Tests.csproj | xml | 2016-11-11T20:43:34 | 2024-08-15T16:57:53 | aws-lambda-dotnet | aws/aws-lambda-dotnet | 1,558 | 200 |
```xml
import type { MultiStats } from '@rspack/core';
import { logger } from '../../utils/logger.js';
import { getOutputPaths, removeServerOutput } from '../config/output.js';
import type { BuildOptions, CompileResults } from '../types.js';
import formatStats from './formatStats.js';
async function build(options: Bui... | /content/code_sandbox/packages/ice/src/bundler/rspack/build.ts | xml | 2016-11-03T06:59:15 | 2024-08-16T10:11:29 | ice | alibaba/ice | 17,815 | 544 |
```xml
import * as React from 'react';
import { Platform } from 'react-native';
import { DeepLinkModal } from '../components/DeepLinkModal';
import { addDeepLinkListener, getPendingDeepLink } from '../native-modules/DevLauncherInternal';
import { useModalStack } from '../providers/ModalStackProvider';
type PendingDee... | /content/code_sandbox/packages/expo-dev-launcher/bundle/providers/PendingDeepLinkProvider.tsx | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 369 |
```xml
declare const clipboard: {
/**
Write (copy) to the clipboard asynchronously.
@param text - The text to write to the clipboard.
@example
```
import clipboard from 'clipboardy';
await clipboard.write('');
await clipboard.read();
//=> ''
```
*/
write(text: string): Promise<void>;
/**
Read (paste)... | /content/code_sandbox/index.d.ts | xml | 2016-12-04T13:14:35 | 2024-08-14T15:33:28 | clipboardy | sindresorhus/clipboardy | 1,759 | 251 |
```xml
import { TFabricPlatformPageProps } from '../../../interfaces/Platforms';
import { DetailsListKeyboardAccessibleResizeAndReorderProps as ExternalProps } from '@fluentui/react-examples/lib/react/DetailsList/DetailsList.doc';
export const DetailsListKeyboardDragDropPageProps: TFabricPlatformPageProps = {
web: {... | /content/code_sandbox/apps/public-docsite/src/pages/Controls/DetailsListPage/DetailsListKeyboardDragDropPage.doc.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 94 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<ContentPage xmlns="path_to_url" xmlns:x="path_to_url" xmlns:d="path_to_url" xmlns:mc="path_to_url" mc:Ignorable="d" x:Class="MyXamarinFormsApp.MainPage">
<StackLayout>
<!-- Place new controls here -->
<Label Text="Welcome to Xamarin.Forms!" HorizontalOp... | /content/code_sandbox/tests/common/TestProjects/MyCatalystFormsApp/MyCatalystFormsAppNS/MainPage.xaml | xml | 2016-04-20T18:24:26 | 2024-08-16T13:29:19 | xamarin-macios | xamarin/xamarin-macios | 2,436 | 109 |
```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>SchemeUserState</key>
<dict>
<key>EZAudio.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
</dict>
<key>Pods-SnowboyTest.xcscheme</key>
<dict>
<key>is... | /content/code_sandbox/examples/iOS/Obj-C/Pods/Pods.xcodeproj/xcuserdata/patrickquinn.xcuserdatad/xcschemes/xcschememanagement.plist | xml | 2016-05-10T00:54:30 | 2024-08-15T07:09:11 | snowboy | Kitt-AI/snowboy | 3,052 | 364 |
```xml
<View id="root" frame="0, 0, sys.contW, sys.contH*2.5" css="{flex-direction='column'}" >
<View css="{height=sys.contH/10}" bg="0x004B97">
<Text css="{flex=1, margin=10}" text="Color" fontSize="20" textColor="0xffffff"></Text>
</View>
<View css="{flex-direction='column', flex=1, margin-top=5, ... | /content/code_sandbox/IOS/luaviewEx/Example/luaviewEx/playground/widget/label_item.xml | xml | 2016-01-07T08:55:50 | 2024-08-16T13:34:26 | LuaViewSDK | alibaba/LuaViewSDK | 3,733 | 1,166 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<com.jiang.android.lib.widget.SwipeItemLayout xmlns:android="path_to_url"
xmlns:app="path_to_url"
android:id="@+id/item_contact_swipe_root"
android:layout_width="match_parent"
android:layout_height="48dp"
app:bga_sil_bottomMode="pullOut"
app:bga_sil... | /content/code_sandbox/app/src/main/res/layout/item_contact.xml | xml | 2016-02-02T05:51:58 | 2024-06-09T03:30:10 | IndexRecyclerView | jiang111/IndexRecyclerView | 1,157 | 346 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="path_to_url">
<ItemGroup>
<Filter Include="..">
<UniqueIdentifier>{739DB09A-CC57-A953-A6CF-F64FA08E4FA7}</UniqueIdentifier>
</Filter>
<Filter Include="..\gin">
<UniqueIdentifier>{5196A5EE-F646-E232-A628-4AF20897A9... | /content/code_sandbox/gin/gin_v8_snapshot_fingerprint.vcxproj.filters | xml | 2016-09-27T03:41:10 | 2024-08-16T10:42:57 | miniblink49 | weolar/miniblink49 | 7,069 | 359 |
```xml
import axios from "axios";
import mockStore from "../../utils/mockStore";
import userList, {
initialState,
getRequesting,
getSuccess,
getFailure,
fetchUserList,
} from "../userList";
jest.mock("axios");
const mockData = [
{
id: 1,
name: "Welly",
phone: "+886 0970...",
email: "hivoi... | /content/code_sandbox/src/store/__tests__/userList.ts | xml | 2016-08-29T10:26:56 | 2024-08-12T08:38:34 | react-cool-starter | wellyshen/react-cool-starter | 1,309 | 498 |
```xml
import React, { Component } from 'react';
import { observer } from 'mobx-react';
import styles from './WalletRecoveryPhraseMnemonic.scss';
type Props = {
phrase: string;
};
@observer
class WalletRecoveryPhraseMnemonic extends Component<Props> {
render() {
const { phrase } = this.props;
return <div ... | /content/code_sandbox/source/renderer/app/components/wallet/backup-recovery/WalletRecoveryPhraseMnemonic.tsx | xml | 2016-10-05T13:48:54 | 2024-08-13T22:03:19 | daedalus | input-output-hk/daedalus | 1,230 | 95 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\..\common.test.props" />
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace />
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="Volo\Abp\TextTemplating\Scriban\SampleTemplates\**\*.tpl... | /content/code_sandbox/framework/test/Volo.Abp.TextTemplating.Scriban.Tests/Volo.Abp.TextTemplating.Scriban.Tests.csproj | xml | 2016-12-03T22:56:24 | 2024-08-16T16:24:05 | abp | abpframework/abp | 12,657 | 189 |
```xml
<manifest xmlns:android="path_to_url"
package="com.github.javiersantos.appupdater">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
</manifest>
``` | /content/code_sandbox/library/src/main/AndroidManifest.xml | xml | 2016-02-02T18:10:59 | 2024-08-08T01:46:33 | AppUpdater | javiersantos/AppUpdater | 1,975 | 56 |
```xml
/*
* Squidex Headless CMS
*
* @license
*/
/* eslint-disable @typescript-eslint/naming-convention */
import { ColorHelper } from './color-helper';
describe('ColorHelper', () => {
[
{ r: 1, g: 0, b: 0, h: 0, name: 'red' },
{ r: 1, g: 1, b: 0, h: 60, name: 'yellow' },
{ r: 0, g: 1... | /content/code_sandbox/frontend/src/app/framework/utils/color-helper.spec.ts | xml | 2016-08-29T05:53:40 | 2024-08-16T17:39:38 | squidex | Squidex/squidex | 2,222 | 413 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<androidx.drawerlayout.widget.DrawerLayout
android:id="@+id/drawer_layout"
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:fitsSystemWi... | /content/code_sandbox/demo/src/main/res/layout/activity_main.xml | xml | 2016-02-23T08:54:55 | 2024-08-15T05:22:10 | Fragmentation | YoKeyword/Fragmentation | 9,719 | 229 |
```xml
chrome.runtime.onMessage.addListener(function (msg, sender, sendResponse) {
if (msg.color) {
console.log("Receive color = " + msg.color);
document.body.style.backgroundColor = msg.color;
sendResponse("Change color to " + msg.color);
} else {
sendResponse("Color message is none.");
}
});
``... | /content/code_sandbox/src/content_script.tsx | xml | 2016-11-23T13:11:41 | 2024-08-13T10:56:00 | chrome-extension-typescript-starter | chibat/chrome-extension-typescript-starter | 2,433 | 72 |
```xml
import { NgForOf, NgIf } from "@angular/common";
import {
Component,
ElementRef,
EventEmitter,
forwardRef,
Input,
Output,
ViewChild,
} from "@angular/core";
import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
import {
ControlValueAccessor,
FormBuilder,
NG_VALUE_ACCESSOR,
Reacti... | /content/code_sandbox/libs/vault/src/cipher-form/components/autofill-options/uri-option.component.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 1,147 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
import iterCosh = require( './index' );
/**
* Returns an iterator protocol-compliant object.
*
* @returns iterato... | /content/code_sandbox/lib/node_modules/@stdlib/math/iter/special/cosh/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 328 |
```xml
import type { CustomListDOMType, CustomListStyleType } from './CustomListTypes'
export function listStyleTypeToDOMType(listStyleType: CustomListStyleType): CustomListDOMType {
switch (listStyleType) {
case 'lower-alpha':
return 'a'
case 'upper-alpha':
return 'A'
case 'upper-roman':
... | /content/code_sandbox/applications/docs-editor/src/app/Plugins/CustomList/listStyleTypeToDOMType.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 87 |
```xml
import { createContext } from 'react';
/**
* A React context that provides access to a SimpleFormIterator item meta (its index and the total number of items) and mutators (reorder and remove this remove).
* Useful to create custom array input iterators.
* @see {SimpleFormIterator}
* @see {ArrayInput}
*/
ex... | /content/code_sandbox/packages/ra-ui-materialui/src/input/ArrayInput/SimpleFormIteratorItemContext.ts | xml | 2016-07-13T07:58:54 | 2024-08-16T18:32:27 | react-admin | marmelab/react-admin | 24,624 | 134 |
```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.
-->
<vector xmlns:android="path_to_url"
xmlns:tools="path_to_url"
android:widt... | /content/code_sandbox/catalog/java/io/material/catalog/imageview/res/drawable-nodpi/ic_pets_24dp.xml | xml | 2016-12-05T16:11:29 | 2024-08-16T17:51:42 | material-components-android | material-components/material-components-android | 16,176 | 787 |
```xml
import { Box, Typography } from "@mui/material";
import React from "react";
import { useParams } from "react-router-dom";
import { CodeDialogButtonWithPreview } from "../../common/CodeDialogButton";
import { CollapsibleSection } from "../../common/CollapsibleSection";
import { DurationText } from "../../common/D... | /content/code_sandbox/python/ray/dashboard/client/src/pages/task/TaskPage.tsx | xml | 2016-10-25T19:38:30 | 2024-08-16T19:46:34 | ray | ray-project/ray | 32,670 | 1,785 |
```xml
export enum RedirectStatusCode {
SeeOther = 303,
TemporaryRedirect = 307,
PermanentRedirect = 308,
}
``` | /content/code_sandbox/packages/next/src/client/components/redirect-status-code.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 28 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="favicon/mstile-150x150.png"/>
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
</browserconfig>
``` | /content/code_sandbox/packages/web/src/favicon/browserconfig.xml | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 71 |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="10117" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
<dependencies>
<plugIn... | /content/code_sandbox/PixPic/Classes/Flow/Settings/SwitchView.xib | xml | 2016-07-25T10:27:11 | 2024-07-18T06:56:55 | PixPic | Yalantis/PixPic | 1,351 | 1,590 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
import increwvariance = require( './index' );
// TESTS //
// The function returns an accumulator function...
{
... | /content/code_sandbox/lib/node_modules/@stdlib/stats/incr/ewvariance/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 383 |
```xml
import React from 'react';
import { PinInput, Stack } from 'native-base';
export const Example = () => {
return (
<Stack space={5}>
<PinInput size="2xl">
<PinInput.Field />
<PinInput.Field />
<PinInput.Field />
</PinInput>
<PinInput size="xl">
<PinInput.Fi... | /content/code_sandbox/example/storybook/stories/components/composites/PinInput/Size.tsx | xml | 2016-04-15T11:37:23 | 2024-08-14T16:16:44 | NativeBase | GeekyAnts/NativeBase | 20,132 | 230 |
```xml
<!--
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
path_to_url
Unless required by applicable law or agreed to in writing,
"AS IS" BASIS, WITHOUT WARRANTIES ... | /content/code_sandbox/pulsar-io/dynamodb/pom.xml | xml | 2016-06-28T07:00:03 | 2024-08-16T17:12:43 | pulsar | apache/pulsar | 14,047 | 707 |
```xml
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"path_to_url" >
<plist version='1.0'>
<dict>
<key>Label</key><string>org.macports.xymon-server</string>
<key>UserName</key>
<string>@XYMONUSER@</string>
<key>ProgramArguments</key>
<array>
<string>@XYMONLAUNCH@<... | /content/code_sandbox/net/xymon-server/files/org.macports.xymon-server.plist | xml | 2016-10-09T00:31:44 | 2024-08-16T18:11:47 | macports-ports | macports/macports-ports | 1,499 | 200 |
```xml
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-curso-detalhe',
templateUrl: './curso-detalhe.component.html',
styleUrls: ['./curso-detalhe.component.css']
})
export class CursoDetalheComponent implements OnInit {
constructor() { }
ngOnInit() {
}
}
``` | /content/code_sandbox/primeiro-projeto/src/app/cursos/curso-detalhe/curso-detalhe.component.ts | xml | 2016-07-02T18:58:48 | 2024-08-15T23:36:46 | curso-angular | loiane/curso-angular | 1,910 | 70 |
```xml
import { filtersSlice } from './filters.reducer';
export const { actions, reducer, name } = filtersSlice('temporaryFilters');
export { getSelectors } from './filters.reducer';
``` | /content/code_sandbox/src/renderer/store/reducers/temporary-filters.reducer.ts | xml | 2016-05-14T02:18:49 | 2024-08-16T02:46:28 | ElectroCRUD | garrylachman/ElectroCRUD | 1,538 | 37 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_... | /content/code_sandbox/Sources/Differentiator/Info.plist | xml | 2016-01-01T18:03:22 | 2024-08-14T17:25:12 | RxDataSources | RxSwiftCommunity/RxDataSources | 3,080 | 231 |
```xml
<ResourceDictionary xmlns="path_to_url"
xmlns:x="path_to_url">
<Style x:Key="SubMenuSlideInAnimation" TargetType="{x:Type Panel}">
<Style.Triggers>
<Trigger Property="Visibility" Value="Visible">
<Trigger.EnterActions>
<BeginStoryboard>
... | /content/code_sandbox/Dopamine/Resources/Styles/Animations.xaml | xml | 2016-07-13T21:34:42 | 2024-08-15T03:30:43 | dopamine-windows | digimezzo/dopamine-windows | 1,786 | 182 |
```xml
import { getTheme } from '@fluentui/react/lib/Styling';
import { IStyleFunction } from '@fluentui/react/lib/Utilities';
import { IAppStyleProps, IAppStyles } from './App.types';
import { ResponsiveMode } from '@fluentui/react/lib/ResponsiveMode';
const globalClassNames = {
root: 'ms-App',
header: 'ms-App-he... | /content/code_sandbox/packages/react-docsite-components/src/components/App/App.styles.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 890 |
```xml
/* eslint-disable import/no-extraneous-dependencies */
import { expect } from "chai";
import z from "zod";
import FormInterface from "../../../../src/models/FormInterface";
import OptionsModel from "../../../../src/models/OptionsModel";
import { Form } from "../../../../src";
import zod from "../../../../src/val... | /content/code_sandbox/tests/data/forms/nested/form.z1.ts | xml | 2016-06-20T22:10:41 | 2024-08-10T13:14:33 | mobx-react-form | foxhound87/mobx-react-form | 1,093 | 615 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="path_to_url"
xmlns:stv="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<ScrollView
android:layout_width="match_parent"
android:layout_hei... | /content/code_sandbox/app/src/main/res/layout/layout1.xml | xml | 2016-10-19T04:06:54 | 2024-08-12T03:29:20 | SuperTextView | lygttpod/SuperTextView | 3,768 | 531 |
```xml
import { renderPopover_unstable } from '@fluentui/react-popover';
/**
* Render the final JSX of TeachingPopover
*/
export const renderTeachingPopover_unstable = renderPopover_unstable;
``` | /content/code_sandbox/packages/react-components/react-teaching-popover/library/src/components/TeachingPopover/renderTeachingPopover.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 42 |
```xml
import Link from 'next/link'
export default function Page() {
return (
<div>
<Link href="/baz/modal">Open Interception Modal</Link>
</div>
)
}
``` | /content/code_sandbox/test/e2e/app-dir/interception-route-prefetch-cache/app/baz/page.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 43 |
```xml
import { observable } from "mobx";
import Document from "./Document";
import User from "./User";
import Model from "./base/Model";
import Field from "./decorators/Field";
import Relation from "./decorators/Relation";
/**
* A subscription represents a request for a user to receive notifications for a document.
... | /content/code_sandbox/app/models/Subscription.ts | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 180 |
```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 { PropertyName } from '@stdlib/types/ob... | /content/code_sandbox/lib/node_modules/@stdlib/utils/define-memoized-configurable-read-only-property/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 267 |
```xml
// APIS
import {
deleteSource,
getSources as getSourcesAJAX,
getKapacitors as getKapacitorsAJAX,
updateKapacitor as updateKapacitorAJAX,
deleteKapacitor as deleteKapacitorAJAX,
} from 'src/shared/apis'
// Constants
import {HTTP_NOT_FOUND} from 'src/shared/constants'
import {
notifyServerError,
not... | /content/code_sandbox/ui/src/shared/actions/sources.ts | xml | 2016-08-24T23:28:56 | 2024-08-13T19:50:03 | chronograf | influxdata/chronograf | 1,494 | 1,430 |
```xml
export * from './base.module';
export { TdChartComponent } from './chart.component';
export { TdChartAxisDirective } from './axis/axis.component';
export { TdChartYAxisComponent } from './axis/y-axis.component';
export { TdChartXAxisComponent } from './axis/x-axis.component';
export { TdDatasetComponent } from '... | /content/code_sandbox/libs/angular-echarts/base/src/public_api.ts | xml | 2016-07-11T23:30:52 | 2024-08-15T15:20:45 | covalent | Teradata/covalent | 2,228 | 483 |
```xml
import { types, typecheck, IAnyModelType } from "../../src"
import { expect, spyOn, test } from "bun:test"
if (process.env.NODE_ENV !== "production") {
test("it should throw if late doesnt received a function as parameter", () => {
expect(() => {
types.model({
after: types.late(1 as any)
... | /content/code_sandbox/__tests__/core/late.test.ts | xml | 2016-09-04T18:28:25 | 2024-08-16T08:48:55 | mobx-state-tree | mobxjs/mobx-state-tree | 6,917 | 983 |
```xml
/**
*/
import Vue from 'vue'
import Router from 'vue-router'
import { generateUrl } from '@nextcloud/router'
import routes from './routes.ts'
Vue.use(Router)
const router = new Router({
mode: 'history',
// if index.php is in the url AND we got this far, then it's working:
// let's keep using index.php in ... | /content/code_sandbox/apps/settings/src/router/index.ts | xml | 2016-06-02T07:44:14 | 2024-08-16T18:23:54 | server | nextcloud/server | 26,415 | 103 |
```xml
import type { RequestHeader } from '../../models/request';
export function getBasicAuthHeader(
username?: string | null,
password?: string | null,
encoding = 'utf8',
) {
const name = 'Authorization';
const header = `${username || ''}:${password || ''}`;
// @ts-expect-error -- TSCONVERSION appears to... | /content/code_sandbox/packages/insomnia/src/network/basic-auth/get-header.ts | xml | 2016-04-23T03:54:26 | 2024-08-16T16:50:44 | insomnia | Kong/insomnia | 34,054 | 130 |
```xml
import { commonSetup } from './Common.js';
import { SFAClass } from './SFAClass.js';
import { ObjectInstance, CommonObjectParams_SIZE, ObjectUpdateContext } from '../objects.js';
import { Plane } from '../../Geometry.js';
import { dataSubarray, getCamPos, mat4FromSRT } from '../util.js';
import { vec3, mat4 } fr... | /content/code_sandbox/src/StarFoxAdventures/Objects/Triggers.ts | xml | 2016-10-06T21:43:45 | 2024-08-16T17:03:52 | noclip.website | magcius/noclip.website | 3,206 | 1,236 |
```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/shared/src/types/fileTypes.ts | xml | 2016-11-11T23:15:09 | 2024-08-16T12:45:29 | BotFramework-Emulator | microsoft/BotFramework-Emulator | 1,803 | 279 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="path_to_url"
xmlns:tools="path_to_url"
package="me.jessyan.mvparms.demo">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permissi... | /content/code_sandbox/demo/src/main/AndroidManifest.xml | xml | 2016-08-06T08:49:56 | 2024-08-16T07:41:17 | MVPArms | JessYanCoding/MVPArms | 10,273 | 410 |
```xml
import type { CancellationToken, Command } from 'vscode';
import { MarkdownString, ThemeColor, ThemeIcon, TreeItem, TreeItemCollapsibleState } from 'vscode';
import type { DiffWithPreviousCommandArgs } from '../../commands/diffWithPrevious';
import type { Colors } from '../../constants';
import { Commands } from... | /content/code_sandbox/src/views/nodes/commitNode.ts | xml | 2016-08-08T14:50:30 | 2024-08-15T21:25:09 | vscode-gitlens | gitkraken/vscode-gitlens | 8,889 | 2,463 |
```xml
export default {
name: 'high-contrast-light',
displayName: 'High Contrast',
theme: {
background: {
default: '#ffffff',
success: '#000',
notice: '#000',
warning: '#000',
danger: '#000',
surprise: '#000',
info: '#000',
},
foreground: {
default: '#00... | /content/code_sandbox/packages/insomnia/src/plugins/themes/high-contrast-light.ts | xml | 2016-04-23T03:54:26 | 2024-08-16T16:50:44 | insomnia | Kong/insomnia | 34,054 | 430 |
```xml
import path from 'path'
import { type Config } from '@pnpm/config'
import { globalInfo } from '@pnpm/logger'
import { serverConnectionInfoDir, tryLoadServerJson } from '@pnpm/store-connection-manager'
import { getStorePath } from '@pnpm/store-path'
export async function status (
opts: Pick<Config, 'dir' | 'pn... | /content/code_sandbox/store/plugin-commands-server/src/status.ts | xml | 2016-01-28T07:40:43 | 2024-08-16T12:38:47 | pnpm | pnpm/pnpm | 28,869 | 244 |
```xml
import { RefreshButton } from '../../components/RefreshButton'
export default function Page() {
return (
<>
<span>Login Page</span>
<RefreshButton />
Random Number: <span id="login-page-random">{Math.random()}</span>
</>
)
}
``` | /content/code_sandbox/test/e2e/app-dir/parallel-routes-revalidation/app/refreshing/login/page.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 59 |
```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 { Component, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChanges, ViewChild } from '@angular/core';
import... | /content/code_sandbox/ui-ngx/src/app/modules/home/components/dashboard-page/edit-widget.component.ts | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 1,317 |
```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/conversation/userClientsUtils.test.ts | xml | 2016-07-21T15:34:05 | 2024-08-16T11:40:13 | wire-webapp | wireapp/wire-webapp | 1,125 | 265 |
```xml
export * from './useOpenDocument';
export * from './useDocumentActions';
export * from './useDriveDocsFeatureFlag';
export * from './useOpenInDocs';
``` | /content/code_sandbox/packages/drive-store/store/_documents/index.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 36 |
```xml
import {clearCache, getFromCache, setToCache} from "./cache.js";
describe("cache", () => {
describe("setToCache()", () => {
it("should set result to cache", () => {
setToCache("key", "value");
expect(getFromCache("key")).toEqual("value");
clearCache();
expect(getFromCache("key")).... | /content/code_sandbox/packages/engines/src/utils/cache.spec.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 90 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Behavior Version="5" NoError="true">
<Node Class="Behaviac.Design.Nodes.Behavior" AgentType="AgentNodeTest" Domains="" Enable="true" HasOwnPrefabData="false" Id="-1" PrefabName="" PrefabNodeId="-1">
<Comment Background="NoColor" Text="" />
<Parameters>
<Par... | /content/code_sandbox/integration/unity/Assets/behaviac/workspace/behaviors/node_test/end_ut_2.xml | xml | 2016-11-21T05:08:08 | 2024-08-16T07:18:30 | behaviac | Tencent/behaviac | 2,831 | 542 |
```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.
-->
<set xmlns:android="path_to_url">
<objectAnimator
android:propertyName="opacity"
... | /content/code_sandbox/lib/java/com/google/android/material/floatingactionbutton/res/animator/design_fab_hide_motion_spec.xml | xml | 2016-12-05T16:11:29 | 2024-08-16T17:51:42 | material-components-android | material-components/material-components-android | 16,176 | 188 |
```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.
-->
<launch>
<arg name="bag_filenames"/>
<arg name="no_rviz" default="false"/>
<arg name="rviz_config" default="$(find cartographer_ro... | /content/code_sandbox/cartographer_ros/launch/offline_backpack_2d.launch | xml | 2016-08-03T10:43:23 | 2024-08-15T23:40:22 | cartographer_ros | cartographer-project/cartographer_ros | 1,628 | 316 |
```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="cs" original="../LocalizableSt... | /content/code_sandbox/src/Cli/dotnet/commands/dotnet-tool/update/xlf/LocalizableStrings.cs.xlf | xml | 2016-07-22T21:26:02 | 2024-08-16T17:23:58 | sdk | dotnet/sdk | 2,627 | 2,663 |
```xml
import { MAX_COLOR_RGB } from './consts';
import type { IRGB } from './interfaces';
/** Converts HSV components to an RGB color. Does not set the alpha value. */
export function hsv2rgb(h: number, s: number, v: number): IRGB {
s = s / 100;
v = v / 100;
let rgb: number[] = [];
const c = v * s;
const ... | /content/code_sandbox/packages/react/src/utilities/color/hsv2rgb.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 308 |
```xml
// Use of this source code is governed by the license that can be found in the
// LICENSE file.
#include "nativeui/mac/nu_window.h"
#include <objc/objc-runtime.h>
#include "nativeui/mac/nu_private.h"
#include "nativeui/mac/nu_responder.h"
#include "nativeui/window.h"
namespace nu {
namespace {
bool NUWindo... | /content/code_sandbox/nativeui/mac/nu_window.mm | xml | 2016-08-07T07:53:56 | 2024-08-16T06:07:30 | yue | yue/yue | 3,415 | 1,021 |
```xml
function topfun() {
function subfun() {
let a = 12
}
let a = 13
}
``` | /content/code_sandbox/tests/pyconverter-test/baselines/scope_enclosed.ts | xml | 2016-01-24T19:35:52 | 2024-08-16T16:39:39 | pxt | microsoft/pxt | 2,069 | 30 |
```xml
import { Store } from './javascripts/Main/Store/Store'
import { StoreKeys } from './javascripts/Main/Store/StoreKeys'
import { Paths, Urls } from './javascripts/Main/Types/Paths'
import { UpdateState } from './javascripts/Main/UpdateManager'
import { WindowState } from './javascripts/Main/Window'
export class A... | /content/code_sandbox/packages/desktop/app/AppState.ts | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 257 |
```xml
export * from "./auth";
``` | /content/code_sandbox/client/src/core/client/framework/lib/auth/index.ts | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 7 |
```xml
<!--
Description: feed entry contributor - mixed content
-->
<feed version="0.3" xmlns="path_to_url#">
<entry>
<contributor>
<name>Contributor Name</name>
Mixed content
</contributor>
</entry>
</feed>
``` | /content/code_sandbox/testdata/parser/atom/atom03_feed_entry_contributor_mixed_content.xml | xml | 2016-01-23T02:44:34 | 2024-08-16T15:16:03 | gofeed | mmcdole/gofeed | 2,547 | 62 |
```xml
<LinearLayout xmlns:android="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<include
android:id="@+id/toolbar"
layout="@layout/toolbar_home"/>
<Button
android:id="@+id/collapse"
android:lay... | /content/code_sandbox/app/src/main/res/layout/activity_test.xml | xml | 2016-08-18T16:21:50 | 2024-07-28T12:22:42 | PlaceHolderView | janishar/PlaceHolderView | 2,109 | 190 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
path_to_url
Unless required by applicable law or agreed to in writing,
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
specific language governing permissions and limitations
-->
<!DOCTYPE suite SYSTEM "path_to_url" >
<suite name="ballerina-tools-test-suite... | /content/code_sandbox/compiler/ballerina-tools-api/src/test/resources/testng.xml | xml | 2016-11-16T14:58:44 | 2024-08-15T15:15:21 | ballerina-lang | ballerina-platform/ballerina-lang | 3,561 | 119 |
```xml
/*
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
*/
import {
render,
screen,
waitFor,
waitForElementToBeRemoved,
} from 'modules/testing-library';
import {mockFetchProcessInstances} from 'module... | /content/code_sandbox/operate/client/src/modules/components/Operations/tests/spinner.test.tsx | xml | 2016-03-20T03:38:04 | 2024-08-16T19:59:58 | camunda | camunda/camunda | 3,172 | 571 |
```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/opengauss/select_opengauss_pg_catalog_gs_wlm_resource_pool.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 166 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="path_to_url"
xmlns:rounded="path_to_url"
android:id="@+id/layout"
android:layout_width="match_parent"
android:layout_height="56dp"
android:descendantFocusability="blocksDescendants">
<RelativeLayout
android:id=... | /content/code_sandbox/app/src/main/res/layout/user_reaction_item.xml | xml | 2016-05-04T11:46:20 | 2024-08-15T16:29:10 | android | meganz/android | 1,537 | 321 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<!--
path_to_url
Unless required by applicable law or agreed to in writing, software
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-->
<com.google.android.material.textfield.TextInputLayout xmlns:android="path_to_url"
xml... | /content/code_sandbox/lib/java/com/google/android/material/timepicker/res/layout/material_time_input.xml | xml | 2016-12-05T16:11:29 | 2024-08-16T17:51:42 | material-components-android | material-components/material-components-android | 16,176 | 210 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1493</width>
<height>1346</height>
... | /content/code_sandbox/Desktop_Interface/ui_files_desktop/mainwindow.ui | xml | 2016-09-07T00:13:08 | 2024-07-27T19:14:43 | Labrador | EspoTek/Labrador | 1,099 | 33,233 |
```xml
import { render } from "./render";
export interface CodeCardRenderOptions {
hideHeader?: boolean;
shortName?: boolean;
role?: string;
}
export function renderCodeCard(card: pxt.CodeCard, options: CodeCardRenderOptions = {}): HTMLElement {
const url = card.url ? /^[^:]+:\/\//.test(card.url) ? ca... | /content/code_sandbox/pxtblocks/codecardRenderer.ts | xml | 2016-01-24T19:35:52 | 2024-08-16T16:39:39 | pxt | microsoft/pxt | 2,069 | 954 |
```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="hu" datatype="plaintext" original="flashmessages.en.xlf">
<body>
<trans-unit id="S9k1S7Z" resname="warning">
<source>warning</source>
... | /content/code_sandbox/translations/flashmessages.hu.xlf | xml | 2016-10-20T17:06:34 | 2024-08-16T18:27:30 | kimai | kimai/kimai | 3,084 | 812 |
```xml
type T = [("a" | "b")?];
type TupleWithOptional = [number, (1 extends 2 ? string[] : number[])?];
``` | /content/code_sandbox/tests/format/typescript/optional-type/complex.ts | xml | 2016-11-29T17:13:37 | 2024-08-16T17:29:57 | prettier | prettier/prettier | 48,913 | 34 |
```xml
import { addAttributeOptions } from '../model/column/attribute-service';
/**
* Will not allow values, that match the string regex or real regex
*/
export function Not(
arg:
| string
| (string | RegExp)[]
| RegExp
| { msg: string; args: string | (string | RegExp)[] | RegExp }
): Function {
... | /content/code_sandbox/src/validation/not.ts | xml | 2016-01-27T11:25:52 | 2024-08-13T16:56:45 | sequelize-typescript | sequelize/sequelize-typescript | 2,768 | 113 |
```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>classNames</key>
<dict>
<key>SwiftOCRTests</key>
<dict>
<key>testBigImageSwiftOCR()</key>
<dict>
<key>com.apple.XCTPerformanceMetric_WallClockTime</key>
... | /content/code_sandbox/framework/SwiftOCR.xcodeproj/xcshareddata/xcbaselines/373ED0EE1CC909A500C4758B.xcbaseline/2F43AF13-D7AD-4BA4-B835-E9DADEFD5F86.plist | xml | 2016-04-22T08:39:02 | 2024-08-16T08:32:39 | SwiftOCR | NMAC427/SwiftOCR | 4,616 | 880 |
```xml
export * from './auth.constants';
``` | /content/code_sandbox/src/Presentation/Web/ClientApp/src/app/shared/constants/index.ts | xml | 2016-06-03T17:49:56 | 2024-08-14T02:53:24 | AspNetCoreSpa | fullstackproltd/AspNetCoreSpa | 1,472 | 8 |
```xml
import { CALENDAR_CARD_TYPE } from '@proton/shared/lib/calendar/constants';
import { unwrap } from '@proton/shared/lib/calendar/helper';
import { parse } from '@proton/shared/lib/calendar/vcal';
import type { CalendarEvent } from '@proton/shared/lib/interfaces/calendar';
import type { VcalVeventComponent } from ... | /content/code_sandbox/applications/calendar/src/app/containers/calendar/event/parseMainEventData.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 210 |
```xml
import * as React from 'react';
import { styled } from '../../Utilities';
import { IDonutChartProps, IDonutChartStyleProps, IDonutChartStyles } from './DonutChart.types';
import { DonutChartBase } from './DonutChart.base';
import { getStyles } from './DonutChart.styles';
// Create a DonutChart variant which use... | /content/code_sandbox/packages/react-charting/src/components/DonutChart/DonutChart.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 154 |
```xml
import React from "react";
import { graphql } from "react-relay";
import { withRouteConfig } from "coral-framework/lib/router";
import { MainRouteQueryResponse } from "coral-admin/__generated__/MainRouteQuery.graphql";
import ErrorReporterSetUserContainer from "./ErrorReporterSetUserContainer";
import Main fr... | /content/code_sandbox/client/src/core/client/admin/App/MainRoute.tsx | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 258 |
```xml
import { tokens } from '@fluentui/react-theme';
import { SlotClassNames } from '@fluentui/react-utilities';
import { makeStyles, mergeClasses } from '@griffel/react';
import type { OptionGroupSlots, OptionGroupState } from './OptionGroup.types';
export const optionGroupClassNames: SlotClassNames<OptionGroupSlot... | /content/code_sandbox/packages/react-components/react-combobox/library/src/components/OptionGroup/useOptionGroupStyles.styles.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 389 |
```xml
/*
* Squidex Headless CMS
*
* @license
*/
import { CdkDrag, CdkDragDrop, CdkDragHandle, CdkDropList } from '@angular/cdk/drag-drop';
import { Component, Input } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { AppLanguageDto, ConfirmClickDirective, EditLangu... | /content/code_sandbox/frontend/src/app/features/settings/pages/languages/language.component.ts | xml | 2016-08-29T05:53:40 | 2024-08-16T17:39:38 | squidex | Squidex/squidex | 2,222 | 641 |
```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 { BaseEntity } from './BaseEntity';
export class PasswordPolicy extends BaseEntity {
minLength!: Number;
maxLength!: N... | /content/code_sandbox/maxkey-web-frontend/maxkey-web-app/src/app/entity/PasswordPolicy.ts | xml | 2016-11-16T03:06:50 | 2024-08-16T09:22:42 | MaxKey | dromara/MaxKey | 1,423 | 476 |
```xml
import * as React from 'react'
import { Dialog, DialogContent, DialogFooter } from '../dialog'
import { Dispatcher } from '../dispatcher'
import { OkCancelButtonGroup } from '../dialog/ok-cancel-button-group'
import { RetryAction } from '../../models/retry-actions'
import { SignInResult } from '../../lib/stores'... | /content/code_sandbox/app/src/ui/saml-reauth-required/saml-reauth-required.tsx | xml | 2016-05-11T15:59:00 | 2024-08-16T17:00:41 | desktop | desktop/desktop | 19,544 | 543 |
```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 * as React from "react";
import { Slider } from "@blueprintjs/core";
import { ExampleCard } from "./ExampleCard";
interf... | /content/code_sandbox/packages/demo-app/src/examples/SliderExample.tsx | xml | 2016-10-25T21:17:50 | 2024-08-16T15:14:48 | blueprint | palantir/blueprint | 20,593 | 302 |
```xml
import { spawnSync } from 'child_process';
import { workspaceRoot } from '../../utils';
/**
* It is necessary to run corresponding Gulp task in a separate process.
* This task relies on Webpack to crawl the imported modules, but when this is run from DangerJS process,
* there is no crawling happening. This i... | /content/code_sandbox/scripts/dangerjs/src/detectNonApprovedDependencies/utils/getRuntimeDependencies.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 264 |
```xml
import { createContext } from './createContext';
import { useContextSelector } from './useContextSelector';
import * as ReactDOM from 'react-dom';
import { act } from 'react-dom/test-utils';
import * as React from 'react';
const TestContext = createContext<{ index: number }>({ index: -1 });
const TestComponent... | /content/code_sandbox/packages/react-components/react-context-selector/src/useContextSelector.test.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 741 |
```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.
-->
<LinearLayout xmlns:android="path_to_url"
android:id="@+id/progress_indicator"
android:layout_width="wrap_content"
andro... | /content/code_sandbox/ByWebView/src/main/res/layout/by_video_loading_progress.xml | xml | 2016-11-15T15:34:54 | 2024-08-15T03:56:07 | ByWebView | youlookwhat/ByWebView | 1,497 | 218 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.