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
describe('App component', () => {
it('first test', () => {
expect(1).toEqual(1);
});
});
``` | /content/code_sandbox/src/app/app.component.spec.ts | xml | 2016-09-23T20:44:28 | 2024-08-15T12:52:51 | ngx-mask | JsDaddy/ngx-mask | 1,150 | 30 |
```xml
import { userRoutes } from '~modules/user/shared/user-routes';
import { inject } from '@angular/core';
import { Router } from '@angular/router';
import { AuthRepository } from '~modules/auth/store/auth.repository';
export const noAuthenticationGuard = () => {
const authRepository: AuthRepository = inject(Auth... | /content/code_sandbox/src/app/modules/shared/guards/no-authentication.guard.ts | xml | 2016-11-22T17:10:18 | 2024-08-14T21:36:59 | angular-example-app | Ismaestro/angular-example-app | 2,150 | 109 |
```xml
import React from 'react';
import { WorkspaceStore, ComponentRegistry } from 'mailspring-exports';
import { QuickEventButton } from './quick-event-button';
import { MailspringCalendar } from './core/mailspring-calendar';
const Notice = () =>
AppEnv.inDevMode() ? (
<span />
) : (
<div className="prev... | /content/code_sandbox/app/internal_packages/main-calendar/lib/main.tsx | xml | 2016-10-13T06:45:50 | 2024-08-16T18:14:37 | Mailspring | Foundry376/Mailspring | 15,331 | 204 |
```xml
/**
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import type {Dag, DagCommitInfo} from './dag/dag';
import type {ExtendedGraphRow} from './dag/render';
import type {HashSet} from './dag/set';
import type {ReactNode} from 're... | /content/code_sandbox/addons/isl/src/RenderDag.tsx | xml | 2016-05-05T16:53:47 | 2024-08-16T19:12:02 | sapling | facebook/sapling | 5,987 | 6,281 |
```xml
import ITodoDataProvider from '../../../../dataProviders/ITodoDataProvider';
import { DisplayMode } from '@microsoft/sp-core-library';
export interface ITodoProps {
dataProvider: ITodoDataProvider;
webPartDisplayMode: DisplayMode;
}
``` | /content/code_sandbox/samples/vuejs-todo-single-file-component/src/webparts/todo/components/todo/ITodoProps.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 52 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"path_to_url">
<mapper namespace="com.soecode.lyf.dao.AppointmentDao">
<insert id="insertAppointment">
<!-- ignore -->
INSERT ignore INTO appointment (book_id, student_id)
VALUES (#{bookId}, #{stud... | /content/code_sandbox/src/main/resources/mapper/AppointmentDao.xml | xml | 2016-06-18T17:58:56 | 2024-08-08T06:30:53 | ssm | liyifeng1994/ssm | 5,913 | 223 |
```xml
import {
onIdTokenChanged,
beforeAuthStateChanged,
type User,
type Auth,
} from 'firebase/auth'
import { defineNuxtPlugin } from '#imports'
/**
* Sets up a watcher that mints a cookie based auth session. On the server, it reads the cookie to
* generate the proper auth state. **Must be added after the ... | /content/code_sandbox/packages/nuxt/src/runtime/auth/plugin-mint-cookie.client.ts | xml | 2016-01-07T22:57:53 | 2024-08-16T14:23:27 | vuefire | vuejs/vuefire | 3,833 | 359 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\configureawait.props" />
<Import Project="..\..\common.props" />
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<None Remove="Volo.Abp.IdentityServer.SourceCode.zip" />
... | /content/code_sandbox/source-code/Volo.Abp.IdentityServer.SourceCode/Volo.Abp.IdentityServer.SourceCode.csproj | xml | 2016-12-03T22:56:24 | 2024-08-16T16:24:05 | abp | abpframework/abp | 12,657 | 121 |
```xml
import {Inject, Injectable, PlatformTest} from "@tsed/common";
import {getJsonSchema, Groups, Name, Property, ReadOnly, Required} from "@tsed/schema";
import {TestMongooseContext} from "@tsed/testing-mongoose";
import {Immutable, Model, MongooseModel, ObjectID, SchemaIgnore} from "../src/index.js";
class BaseMo... | /content/code_sandbox/packages/orm/mongoose/test/readonly.integration.spec.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 392 |
```xml
import fs from 'fs';
import { parseChunked } from '@discoveryjs/json-ext';
import { API } from '@statoscope/types/types/validation/api';
import { Result } from '@statoscope/types/types/validation/result';
import { Config } from '@statoscope/types/types/validation/config';
import {
ExecMode,
ExecParams,
Nor... | /content/code_sandbox/packages/stats-validator/src/index.ts | xml | 2016-11-30T14:09:21 | 2024-08-15T18:52:57 | statoscope | statoscope/statoscope | 1,423 | 1,138 |
```xml
// import lazyload from "utils/lazyload";
// export default lazyload(() => import(/* webpackChunkName: "InviteView" */ "./InviteView"));
export { default } from "./InviteView";
``` | /content/code_sandbox/app/src/views/misc/Invite/index.ts | xml | 2016-12-01T04:36:06 | 2024-08-16T19:12:19 | requestly | requestly/requestly | 2,121 | 43 |
```xml
// custom typing for import assets
declare module "*.png" {
const value: any;
export default value;
}
declare module "*.styl" {
const value: any;
export default value;
}
declare module "*.css" {
const value: any;
export default value;
}
``` | /content/code_sandbox/packages/xarc-create-app/template/src/import-assets.d.ts | xml | 2016-09-06T19:02:39 | 2024-08-11T11:43:11 | electrode | electrode-io/electrode | 2,103 | 62 |
```xml
import { addRegistry, initialSetup } from '@verdaccio/test-cli-commons';
import { npm } from './utils';
describe('search a package', () => {
jest.setTimeout(20000);
let registry;
beforeAll(async () => {
const setup = await initialSetup();
registry = setup.registry;
await registry.init();
}... | /content/code_sandbox/e2e/cli/e2e-npm6/search.spec.ts | xml | 2016-04-15T16:21:12 | 2024-08-16T09:38:01 | verdaccio | verdaccio/verdaccio | 16,189 | 194 |
```xml
import { each } from 'underscore';
import { HTMLParserOptions } from '../config/config';
const htmlType = 'text/html';
const defaultType = htmlType; // 'application/xml';
export default (str: string, config: HTMLParserOptions = {}) => {
const parser = new DOMParser();
const mimeType = config.htmlType || de... | /content/code_sandbox/src/parser/model/BrowserParserHtml.ts | xml | 2016-01-22T00:23:19 | 2024-08-16T11:20:59 | grapesjs | GrapesJS/grapesjs | 21,687 | 717 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<PackageId>FluentFTP</PackageId>
<Title>FluentFTP</Title>
<Description>An FTP and FTPS client for .NET & .NET Standard, optimized for speed. Provides extensive FTP commands, File uploads/downloads, SSL/TLS connections, Directory l... | /content/code_sandbox/FluentFTP/FluentFTP.csproj | xml | 2016-10-29T06:28:31 | 2024-08-16T09:29:04 | FluentFTP | robinrodricks/FluentFTP | 3,047 | 565 |
```xml
import * as React from 'react';
import { connect } from 'react-redux';
import { hashHistory } from 'react-router';
import * as toastr from 'toastr';
import objectAssign = require('object-assign');
import MemberEntity from './../../api/memberEntity';
import MemberForm from './memberForm';
import MemberErrors from... | /content/code_sandbox/old_class_components_samples/16 Custom Middleware/src/components/member/memberPage.tsx | xml | 2016-02-28T11:58:58 | 2024-07-21T08:53:34 | react-typescript-samples | Lemoncode/react-typescript-samples | 1,846 | 702 |
```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/auth/page/Login.test.tsx | xml | 2016-07-21T15:34:05 | 2024-08-16T11:40:13 | wire-webapp | wireapp/wire-webapp | 1,125 | 1,284 |
```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.
-->
<configuration scan="true" scanPeriod="30 seconds">
<logger name="io.pravega.cli.admin.dataRecovery" ... | /content/code_sandbox/config/admin-cli-logback.xml | xml | 2016-07-11T19:41:03 | 2024-08-14T22:06:01 | pravega | pravega/pravega | 1,980 | 465 |
```xml
/**
* @license
*
* 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.
*/
/**
* @file Simple signal dispatch mechanism.
*/
/**
* This class provides a simple signal dispatch mechanism. Han... | /content/code_sandbox/src/util/signal.ts | xml | 2016-05-27T02:37:25 | 2024-08-16T07:24:25 | neuroglancer | google/neuroglancer | 1,045 | 810 |
```xml
import { constants, Theme, ThemeColors } from '@devhub/core'
import React, {
AnchorHTMLAttributes,
useCallback,
useEffect,
useLayoutEffect,
useRef,
} from 'react'
import { GestureResponderEvent, StyleSheet, View } from 'react-native'
import { useHover } from '../../hooks/use-hover'
import { Browser } ... | /content/code_sandbox/packages/components/src/components/common/Link.tsx | xml | 2016-11-30T23:24:21 | 2024-08-16T00:24:59 | devhub | devhubapp/devhub | 9,652 | 1,816 |
```xml
<?xml version="1.0" encoding="UTF-8"?> <!-- KATE Syntax Highlighting for RSI IDL -->
<!DOCTYPE language SYSTEM "language.dtd"><!-- Created by Markus Fraenz,fraenz@linmpi.mpg.de Aug 2002 -->
<language name="RSI IDL" version="3" kateversion="2.3" section="Sources" extensions="*.pro" mimetype="text/x-rsiidl-src... | /content/code_sandbox/src/data/extra/syntax-highlighting/syntax/rsiidl.xml | xml | 2016-10-05T07:24:54 | 2024-08-16T05:03:40 | vnote | vnotex/vnote | 11,687 | 4,404 |
```xml
import {ChangeDetectionStrategy, Component} from '@angular/core';
import {ScrollingModule} from '@angular/cdk/scrolling';
/** @title Virtual scroll context variables */
@Component({
selector: 'cdk-virtual-scroll-context-example',
styleUrl: 'cdk-virtual-scroll-context-example.css',
templateUrl: 'cdk-virtua... | /content/code_sandbox/src/components-examples/cdk/scrolling/cdk-virtual-scroll-context/cdk-virtual-scroll-context-example.ts | xml | 2016-01-04T18:50:02 | 2024-08-16T11:21:13 | components | angular/components | 24,263 | 136 |
```xml
import chalk from 'chalk';
import checkForUpdate from 'update-check';
export default async function shouldUpdate(): Promise<void> {
const packageJson = () => require('../package.json');
const update = checkForUpdate(packageJson()).catch(() => null);
try {
const res = await update;
if (res && res... | /content/code_sandbox/packages/uri-scheme/src/update.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 154 |
```xml
import styled from "styled-components";
import { spacing03 } from "@carbon/themes";
import { FC, ReactNode } from "react";
import { TransitionGroup } from "react-transition-group";
const NotificationWrapper = styled.div`
position: fixed;
top: 3.5rem;
right: ${spacing03};
z-index: 10000;
max-width: 100... | /content/code_sandbox/identity/client/src/components/notifications/NotificationContainer.tsx | xml | 2016-03-20T03:38:04 | 2024-08-16T19:59:58 | camunda | camunda/camunda | 3,172 | 127 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="path_to_url"
xmlns:xsi="path_to_url" xmlns:activiti="path_to_url"
xmlns:bpmndi="path_to_url" xmlns:omgdc="path_to_url"
xmlns:omgdi="path_to_url" typeLanguage="path_to_url"
expressionLanguage="path_to_url" targetNamespace="path_to_url">
<process id=... | /content/code_sandbox/modules/flowable-engine/src/test/resources/org/flowable/standalone/parsing/CustomListenerFactoryTest.testCustomListenerFactory.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 246 |
```xml
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<response>
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<resData>
<domain:infData
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>fakesite.example</domain:name>
<domain:roid>%R... | /content/code_sandbox/core/src/test/resources/google/registry/flows/domain_info_response_fakesite_ok_post_host_update.xml | xml | 2016-02-29T20:16:48 | 2024-08-15T19:49:29 | nomulus | google/nomulus | 1,685 | 426 |
```xml
import { Subscriber } from './Subscriber';
import { TeardownLogic } from './types';
export interface Operator<T, R> {
call(subscriber: Subscriber<R>, source: any): TeardownLogic;
}
``` | /content/code_sandbox/deps/node-10.15.3/tools/node_modules/eslint/node_modules/rxjs/internal/Operator.d.ts | xml | 2016-09-05T10:18:44 | 2024-08-11T13:21:40 | LiquidCore | LiquidPlayer/LiquidCore | 1,010 | 44 |
```xml
import { Model } from 'mongoose';
import { getUniqueValue } from '@erxes/api-utils/src/core';
import { WEBHOOK_STATUS } from './definitions/constants';
import {
IWebhook,
IWebhookDocument,
webhookSchema
} from './definitions/webhooks';
import { IModels } from '../connectionResolver';
export interface IWeb... | /content/code_sandbox/packages/plugin-webhooks-api/src/models/Webhooks.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 579 |
```xml
import React from 'react';
import { storiesOf } from '@storybook/react-native';
import { withKnobs } from '@storybook/addon-knobs';
import Wrapper from './../../Wrapper';
import { Example as UnorderedList } from './UnorderedList';
import { Example as StylingList } from './StylingList';
import { Example as Ordere... | /content/code_sandbox/example/storybook/stories/components/primitives/List/index.tsx | xml | 2016-04-15T11:37:23 | 2024-08-14T16:16:44 | NativeBase | GeekyAnts/NativeBase | 20,132 | 265 |
```xml
<configuration>
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
<file>target/google-fcm.log</file>
<append>false</append>
<encoder>
<pattern>%d{ISO8601} %-5level [%thread] [%logger{36}] %msg%n</pattern>
</encoder>
</appender>
<appender nam... | /content/code_sandbox/google-fcm/src/test/resources/logback-test.xml | xml | 2016-10-13T13:08:14 | 2024-08-15T07:57:42 | alpakka | akka/alpakka | 1,265 | 280 |
```xml
import type { RxStorage, RxTestStorage } from '../../types';
export type TestConfig = {
storage: RxTestStorage;
};
export declare const isDeno: boolean;
export declare const isBun: boolean;
export declare const isNode: boolean;
export declare function setConfig(newConfig: TestConfig): void;
export declare fu... | /content/code_sandbox/dist/types/plugins/test-utils/config.d.ts | xml | 2016-12-02T19:34:42 | 2024-08-16T15:47:20 | rxdb | pubkey/rxdb | 21,054 | 159 |
```xml
<?xml version="1.0" encoding="utf-8"?><HelpTOCNode Title="LoadCode Method " Url="html/9c4ff282-5122-0716-f5e3-75f6b857506a.htm"><HelpTOCNode Title="LoadCode Method (String, Object[])" Url="html/ea230527-cb73-5f65-3758-3cefe73be216.htm" /><HelpTOCNode Title="LoadCode(T) Method (String, Object[])" Url="html/10aa6c... | /content/code_sandbox/docs/help/toc/9c4ff282-5122-0716-f5e3-75f6b857506a.xml | xml | 2016-01-16T05:50:23 | 2024-08-14T17:35:38 | cs-script | oleg-shilo/cs-script | 1,583 | 148 |
```xml
<vector xmlns:android="path_to_url"
android:width="24dp"
android:height="24dp"
android:viewportHeight="24.0"
android:viewportWidth="24.0">
<path
android:fillColor="#FF000000"
android:pathData="M19,6.41L17.59,5 12,10.59 6.41,5 5,6.41 10.59,12 5,17.59 6.41,19 12,13.41 17.59,19 1... | /content/code_sandbox/app/src/main/res/drawable/ic_close_search.xml | xml | 2016-09-21T08:56:16 | 2024-08-06T13:58:15 | susi_android | fossasia/susi_android | 2,419 | 143 |
```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.
*/
/* eslint-disable @typescript-eslint/no-unused-expressions */
import Uint8Array = require( './index' );
// TEST... | /content/code_sandbox/lib/node_modules/@stdlib/array/uint8/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 182 |
```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="de" original="../LocalizableSt... | /content/code_sandbox/src/Cli/dotnet/commands/dotnet-workload/repair/xlf/LocalizableStrings.de.xlf | xml | 2016-07-22T21:26:02 | 2024-08-16T17:23:58 | sdk | dotnet/sdk | 2,627 | 440 |
```xml
import * as React from 'react';
import { IPageSectionProps, Markdown } from '@fluentui/react-docsite-components/lib/index2';
import { ControlsAreaPage, IControlsPageProps } from '../ControlsAreaPage';
import { PivotPageProps } from './PivotPage.doc';
import { Platforms } from '../../../interfaces/Platforms';
co... | /content/code_sandbox/apps/public-docsite/src/pages/Controls/PivotPage/PivotPage.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 258 |
```xml
import { app, nativeImage, BrowserWindow } from 'electron';
import installExtension, {REDUX_DEVTOOLS, REACT_DEVELOPER_TOOLS} from 'electron-devtools-installer';
import { inject, injectable } from 'inversify';
import path from 'path';
import url from 'url';
import { Env } from '../../utils/env';
import Config fr... | /content/code_sandbox/packages/main/src/services/window/index.ts | xml | 2016-09-22T22:58:21 | 2024-08-16T15:47:39 | nuclear | nukeop/nuclear | 11,862 | 1,151 |
```xml
import { Pipe, PipeTransform } from '@angular/core';
import { isString } from '../helpers/helpers';
@Pipe({ name: 'shorten' })
export class ShortenPipe implements PipeTransform {
transform(input: string, length?: number, suffix?: string, wordBreak?: boolean): string;
transform(input: any, length?: number, s... | /content/code_sandbox/src/ng-pipes/pipes/string/shorten.ts | xml | 2016-11-24T22:03:44 | 2024-08-15T12:52:49 | ngx-pipes | danrevah/ngx-pipes | 1,589 | 203 |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="10117" systemVersion="15E65" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
<dependencies>
<deploy... | /content/code_sandbox/Wuxianda/Classes/Src/Home/Sub/live/Views/YPLiveContentTableViewCell.xib | xml | 2016-07-21T14:47:27 | 2024-08-15T07:32:25 | Bilibili_Wuxianda | MichaelHuyp/Bilibili_Wuxianda | 2,685 | 871 |
```xml
import Settings from './containers/Settings';
import React from 'react';
import { Route, Routes, useLocation } from 'react-router-dom';
import asyncComponent from '@erxes/ui/src/components/AsyncComponent';
import queryString from 'query-string';
const GeneralSettings = asyncComponent(() =>
import(
/* webp... | /content/code_sandbox/packages/plugin-multierkhet-ui/src/routes.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 1,005 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="path_to_url">
<Import Condition="'$(ChakraBuildPathImported)'!='true'" Project="$(SolutionDir)Chakra.Build.Paths.props"/>
<Import Project="$(BuildConfigPropsPath)Chakra.Build.ProjectConfiguration.props" />
<Pr... | /content/code_sandbox/manifests/CoreManifests.vcxproj | xml | 2016-01-05T19:05:31 | 2024-08-16T17:20:00 | ChakraCore | chakra-core/ChakraCore | 9,079 | 504 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<RadioGroup xmlns:android="path_to_url"
android:id="@+id/radio_group_themes"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<RadioButton
android:id="@+id/theme_system"
android:lay... | /content/code_sandbox/app/src/main/res/layout/dialog_theme_default.xml | xml | 2016-02-22T10:00:46 | 2024-08-16T15:37:50 | Images-to-PDF | Swati4star/Images-to-PDF | 1,174 | 227 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.Toolbar
xmlns:android="path_to_url"
xmlns:app="path_to_url"
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="@android:color/transparent"
andro... | /content/code_sandbox/app/src/main/res/layout/toolbar.xml | xml | 2016-06-02T11:11:55 | 2024-08-02T07:34:23 | AlgorithmVisualizer-Android | naman14/AlgorithmVisualizer-Android | 1,129 | 117 |
```xml
import { c } from 'ttag';
import { getKnowledgeBaseUrl } from '@proton/shared/lib/helpers/url';
import { SettingsParagraph, SettingsSectionWide } from '../account';
import Spams from './spams/Spams';
const SpamFiltersSection = () => (
<SettingsSectionWide>
<SettingsParagraph learnMoreUrl={getKnowl... | /content/code_sandbox/packages/components/containers/filters/SpamFiltersSection.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 285 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="path_to_url">
<PropertyGroup>
<IncludePath>$(MSBuildThisFileDirectory);$(IncludePath)</IncludePath>
</PropertyGroup>
<ItemDefinitionGroup>
<Link>
<AdditionalDependencies>$(OutDir)MoPlugin.lib;%(AdditionalDependencies)</... | /content/code_sandbox/Source/Native/MouriOptimizationPlugin/MouriOptimizationPlugin.props | xml | 2016-06-29T07:49:09 | 2024-08-16T15:36:29 | NSudo | M2TeamArchived/NSudo | 1,833 | 101 |
```xml
import * as React from 'react';
import AsyncStorage from '@react-native-async-storage/async-storage';
import { createDrawerNavigator } from '@react-navigation/drawer';
import {
InitialState,
NavigationContainer,
DarkTheme as NavigationDarkTheme,
DefaultTheme as NavigationDefaultTheme,
} from '@react-nav... | /content/code_sandbox/example/src/index.tsx | xml | 2016-10-19T05:56:53 | 2024-08-16T08:48:04 | react-native-paper | callstack/react-native-paper | 12,646 | 1,396 |
```xml
import { c } from 'ttag';
import { Href } from '@proton/atoms/Href';
import { Toggle } from '@proton/components/components';
import type { SampleBreach } from '@proton/components/containers';
import { getUpsellText } from '@proton/components/containers/credentialLeak/helpers';
import { DARK_WEB_MONITORING_NAME ... | /content/code_sandbox/packages/components/components/drawer/views/SecurityCenter/BreachAlerts/FreeUserBreachToggle.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 584 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/shape_white_corner4"
android:orientation="vertical"
android:paddingBottom="10dp"
android:paddingLeft=... | /content/code_sandbox/library/selectordialog/src/main/res/layout/widget_edit_dialog.xml | xml | 2016-09-26T09:42:41 | 2024-08-12T07:09:06 | AndroidFire | jaydenxiao2016/AndroidFire | 2,634 | 628 |
```xml
// @ts-nocheck
import { Flex, Tag, TagLabel } from '@chakra-ui/react';
import { chakraComponents } from 'chakra-react-select';
import { ReactElement } from 'react';
import { findType } from 'renderer/defenitions/record-object/data-types';
export const ReactSelectColumnOption = {
Option: ({
children,
.... | /content/code_sandbox/src/renderer/containers/filter-builder/components/react-select-column-option.tsx | xml | 2016-05-14T02:18:49 | 2024-08-16T02:46:28 | ElectroCRUD | garrylachman/ElectroCRUD | 1,538 | 203 |
```xml
import { GreetingService } from "./Greetings.service";
export class GreetingController {
public userName: string = "";
public userJobTitle: string = "";
public webSiteTitle: string = "";
public welComeMessage: string = "";
public userImageUrl: string = "";
public greetingMessage: string = "";
pub... | /content/code_sandbox/samples/angular-greeting/src/webparts/greetingsWebpart/app/Greetings.component.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 566 |
```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" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" ... | /content/code_sandbox/TouchBarClient/Base.lproj/LaunchScreen.storyboard | xml | 2016-11-04T13:54:34 | 2024-07-30T06:54:33 | TouchBarDemoApp | bikkelbroeders/TouchBarDemoApp | 1,656 | 480 |
```xml
import './fit-textareas.css';
import {isSafari} from 'webext-detect';
import fitTextarea from 'fit-textarea';
import * as pageDetect from 'github-url-detection';
import features from '../feature-manager.js';
import observe from '../helpers/selector-observer.js';
const nativeFit = CSS.supports('field-sizing', '... | /content/code_sandbox/source/features/fit-textareas.tsx | xml | 2016-02-15T16:45:02 | 2024-08-16T18:39:26 | refined-github | refined-github/refined-github | 24,013 | 486 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="path_to_url"
package="com.vincent.filepickersample">
<application
android:name=".TheApplication"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:... | /content/code_sandbox/app/src/main/AndroidManifest.xml | xml | 2016-10-26T08:46:20 | 2024-08-02T07:35:09 | MultiType-FilePicker | fishwjy/MultiType-FilePicker | 1,398 | 149 |
```xml
import { NgModule } from "@angular/core";
import { SecretsManagerSharedModule } from "../shared/sm-shared.module";
import { SecretsManagerImportErrorDialogComponent } from "./dialog/sm-import-error-dialog.component";
import { SecretsManagerExportComponent } from "./porting/sm-export.component";
import { Secret... | /content/code_sandbox/bitwarden_license/bit-web/src/app/secrets-manager/settings/settings.module.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 157 |
```xml
/*
* This software is released under MIT license.
* The full license information can be found in LICENSE in the root directory of this project.
*/
import { renderIcon } from '../icon.renderer.js';
import { IconShapeTuple } from '../interfaces/icon.interfaces.js';
const icon = {
outline:
'<path d="M15.... | /content/code_sandbox/packages/core/src/icon/shapes/portrait.ts | xml | 2016-09-29T17:24:17 | 2024-08-11T17:06:15 | clarity | vmware-archive/clarity | 6,431 | 610 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="path_to_url"
xmlns:app="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical">
<com.kofigyan.stateprogressbar.StateProgressBar
... | /content/code_sandbox/sample/src/main/res/layout/activity_changing_states_size.xml | xml | 2016-08-16T12:50:30 | 2024-08-13T08:27:46 | StateProgressBar | kofigyan/StateProgressBar | 1,537 | 166 |
```xml
import React from 'react'
import { View } from 'react-native'
import { Theme, ThemeColors } from '@devhub/core'
import { sharedStyles } from '../../styles/shared'
import { useTheme } from '../context/ThemeContext'
import { getThemeColorOrItself } from '../themed/helpers'
import { GradientLayerOverlay } from './... | /content/code_sandbox/packages/components/src/components/common/TransparentTextOverlay.tsx | xml | 2016-11-30T23:24:21 | 2024-08-16T00:24:59 | devhub | devhubapp/devhub | 9,652 | 469 |
```xml
/* your_sha256_hash-------------
|your_sha256_hash------------*/
import { CellType } from '@jupyterlab/nbformat';
import { IDataConnector } from '@jupyterlab/statedb';
import {
PartialJSONObject,
PartialJSONValue,
ReadonlyPartialJSONObject,
ReadonlyPartialJSONValue,
Token
} from '@lumino/coreutils';
i... | /content/code_sandbox/packages/settingregistry/src/tokens.ts | xml | 2016-06-03T20:09:17 | 2024-08-16T19:12:44 | jupyterlab | jupyterlab/jupyterlab | 14,019 | 4,311 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="path_to_url" xmlns:xsi="path_to_url"
xsi:schemaLocation="path_to_url path_to_url">
<modelVersion>4.0.0</modelVersion>
<artifactId>microservice-provider-user</artifactId>
<packaging>jar</packaging>
<parent>
<groupId>com.itmuch.cloud</groupId>
... | /content/code_sandbox/2016-Brixton/microservice-provider-user/pom.xml | xml | 2016-08-26T09:35:58 | 2024-08-12T06:14:53 | spring-cloud-study | eacdy/spring-cloud-study | 1,042 | 278 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="path_to_url">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="debug|Win32">
<Configuration>debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfi... | /content/code_sandbox/PhysX_3.4/Source/compiler/vc15win32/PhysXVehicle.vcxproj | xml | 2016-10-12T16:34:31 | 2024-08-16T09:40:38 | PhysX-3.4 | NVIDIAGameWorks/PhysX-3.4 | 2,343 | 5,067 |
```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.
-->
<ripple
xmlns:android="path_to_url"
android:color="@color/ripple_dark">
<item>
... | /content/code_sandbox/app/src/main/res/drawable/fab.xml | xml | 2016-08-20T00:57:24 | 2024-08-09T02:01:01 | LookLook | xinghongfei/LookLook | 2,211 | 114 |
```xml
import React, { useState } from "react";
import { RQButton } from "lib/design-system/components";
import { IoMdCopy } from "@react-icons/all-files/io/IoMdCopy";
import { PiBracketsCurlyBold } from "@react-icons/all-files/pi/PiBracketsCurlyBold";
import { BsFiletypeRaw } from "@react-icons/all-files/bs/BsFiletype... | /content/code_sandbox/app/src/componentsV2/CodeEditor/components/Editor/components/Toolbar/Toolbar.tsx | xml | 2016-12-01T04:36:06 | 2024-08-16T19:12:19 | requestly | requestly/requestly | 2,121 | 1,036 |
```xml
import React from 'react';
import cx from 'classnames';
import {
Button as SUIButton,
ButtonProps as SUIButtonProps
} from 'semantic-ui-react';
import Tooltip, { TooltipProps } from '../../Tooltip';
import common from '../../../common.scss';
import styles from './styles.scss';
export type UserPanelButtonPr... | /content/code_sandbox/packages/ui/lib/components/UserPanel/UserPanelButton/index.tsx | xml | 2016-09-22T22:58:21 | 2024-08-16T15:47:39 | nuclear | nukeop/nuclear | 11,862 | 179 |
```xml
<vector android:height="24dp" android:tint="#FFFFFF"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="path_to_url">
<path android:fillColor="#FF000000" android:pathData="M14.24,12.01l2.32,2.32c0.28,-0.72 0.44,-1.51 0.44,-2.33 0,-0.82 -0.16,-1.59 -0.43,-2.... | /content/code_sandbox/java-sample/src/main/res/drawable/ic_bluetooth_audio_black_24dp.xml | xml | 2016-11-29T06:15:08 | 2024-08-16T11:21:28 | Android-BLE | aicareles/Android-BLE | 2,623 | 395 |
```xml
import { prefixToObjectMap } from '@bpinternal/const'
import * as uuid from 'uuid'
const ULID_LENGTH = 26 // Reference: path_to_url#canonical-string-representation
export function isValidID(id: string) {
// Note: UUIDs were used first and then prefixed ULIDs were introduced.
return isPrefixedULID(id) || uu... | /content/code_sandbox/packages/cli/src/utils/id-utils.ts | xml | 2016-11-16T21:57:59 | 2024-08-16T18:45:35 | botpress | botpress/botpress | 12,401 | 161 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE >
< _id="Foozle <![CDATA[<greeting>Hello, world!"</greeting>]]>Barzle">
<:barzle>
<name foo:bar="birmese"> </name>
<nickname>Owl of Shame</nickname>
<data>More CDATA <![CDATA[<greeting>Hello, world!</greeting><![CDATA] <$]]> Nonsense.</data>
</:barzle>
``` | /content/code_sandbox/tests/core/assets/XML/utf8.xml | xml | 2016-11-23T14:22:10 | 2024-08-16T19:27:14 | Odin | odin-lang/Odin | 6,364 | 111 |
```xml
<!--
This MSBuild file detects the Stardew Valley install path if possible, and sets the 'GamePath'
property.
-->
<Project xmlns="path_to_url">
<!-- import developer's custom path (if any) -->
<Import Condition="$(OS) != 'Windows_NT' AND Exists('$(HOME)\stardewvalley.targets')" Project="$(HOME)\stardewvall... | /content/code_sandbox/build/find-game-folder.targets | xml | 2016-03-02T14:12:15 | 2024-08-16T05:34:53 | SMAPI | Pathoschild/SMAPI | 1,755 | 1,236 |
```xml
import Datetime from '@nateradebaugh/react-datetime';
import Icon from '@erxes/ui/src/components/Icon';
import { rgba } from '@erxes/ui/src/styles/ecolor';
import colors from '@erxes/ui/src/styles/colors';
import * as React from 'react';
import styled from 'styled-components';
import styledTS from 'styled-compon... | /content/code_sandbox/packages/ui-tasks/src/boards/components/DueDateChanger.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 684 |
```xml
import { Component } from '@angular/core';
@Component({
selector: 'accessibility-doc',
template: ` <app-docsectiontext>
<h3>Screen Reader</h3>
<p>
Default role of the table is <i>table</i>. Header, body and footer elements use <i>rowgroup</i>, rows use <i>row</i> role, header... | /content/code_sandbox/src/app/showcase/doc/table/accessibilitydoc.ts | xml | 2016-01-16T09:23:28 | 2024-08-16T19:58:20 | primeng | primefaces/primeng | 9,969 | 1,837 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="path_to_url">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|ARM64">
<Configuration>Debug</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
<... | /content/code_sandbox/current/tools/msvs/msi/custom_actions.vcxproj | xml | 2016-10-10T12:09:49 | 2024-08-11T15:13:17 | node-packer | pmq20/node-packer | 3,069 | 3,289 |
```xml
import { mat4, quat, vec3 } from "gl-matrix";
import { computeViewSpaceDepthFromWorldSpacePoint } from "../Camera.js";
import { Color, colorNewCopy, Magenta } from "../Color.js";
import { drawWorldSpaceAABB, drawWorldSpaceCircle, drawWorldSpacePoint, getDebugOverlayCanvas2D } from "../DebugJunk.js";
import { Gf... | /content/code_sandbox/src/TheWitness/Entity.ts | xml | 2016-10-06T21:43:45 | 2024-08-16T17:03:52 | noclip.website | magcius/noclip.website | 3,206 | 2,777 |
```xml
import { getMediaInfo } from './getMediaInfo';
describe('makeThumbnail', () => {
it('does nothing when mime type is not supported', async () => {
await expect(getMediaInfo(new Promise((resolve) => resolve('png')), new Blob(), true)).resolves.toEqual(
undefined
);
await ex... | /content/code_sandbox/packages/drive-store/store/_uploads/media/getMediaInfo.test.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 105 |
```xml
import { IContext } from '..';
import { IObjectTypeResolver } from '@graphql-tools/utils';
import { ICategory } from '../../db/models/category';
import { buildPostsQuery } from './Query/postQueries';
const ForumCategory: IObjectTypeResolver<ICategory, IContext> = {
async parent({ parentId }, _, { models: { Ca... | /content/code_sandbox/packages/plugin-forum-api/src/graphql/resolvers/ForumCategory.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 378 |
```xml
export { Classic } from './classic';
export { ClassicDark } from './classicDark';
export { Academy } from './academy';
export { Light } from './light';
export { Dark } from './dark';
``` | /content/code_sandbox/src/theme/index.ts | xml | 2016-05-26T09:21:04 | 2024-08-15T16:11:17 | G2 | antvis/G2 | 12,060 | 44 |
```xml
import * as exported from "./JitsiConferenceEvents";
// this test is brittle on purpose because it's designed to ensure that the TypeScript conversion maintains backward compatibility
describe( "/JitsiConferenceEvents members", () => {
const {
AUDIO_INPUT_STATE_CHANGE,
AUDIO_UNMUTE_PERMISSI... | /content/code_sandbox/JitsiConferenceEvents.spec.ts | xml | 2016-01-27T22:44:09 | 2024-08-16T02:51:56 | lib-jitsi-meet | jitsi/lib-jitsi-meet | 1,328 | 4,009 |
```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"/>
/**
* If provided a value, returns an updated ... | /content/code_sandbox/lib/node_modules/@stdlib/stats/incr/sumabs/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 302 |
```xml
import { Custom } from '../../../src/data';
describe('custom', () => {
it('Custom({...}) returns function preprocess data by specified callback', async () => {
const data = [
{ a: 1, b: 2, c: 3 },
{ a: 2, b: 3, c: 4 },
{ a: 3, b: 4, c: 1 },
{ a: 4, b: 1, c: 2 },
];
const c... | /content/code_sandbox/__tests__/unit/data/custom.spec.ts | xml | 2016-05-26T09:21:04 | 2024-08-15T16:11:17 | G2 | antvis/G2 | 12,060 | 186 |
```xml
import { mock, mockReset, MockProxy } from "jest-mock-extended";
import { BehaviorSubject, of, Subject } from "rxjs";
import { AuthService } from "@bitwarden/common/auth/abstractions/auth.service";
import { AuthenticationStatus } from "@bitwarden/common/auth/enums/authentication-status";
import { UserVerificati... | /content/code_sandbox/apps/browser/src/autofill/services/autofill.service.spec.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 37,839 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="tensorflow/python/kernel_tests/concat_op_test" tests="1" failures="0" errors="1">
<testcase name="tensorflow/python/kernel_tests/concat_op_test" status="run"><error message="exited with error code 1"></error></testcase>
</testsuite>
</t... | /content/code_sandbox/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/concat_op_test/test.xml | xml | 2016-03-12T06:26:47 | 2024-08-12T19:21:52 | tensorflow-on-raspberry-pi | samjabrahams/tensorflow-on-raspberry-pi | 2,242 | 92 |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10116" systemVersion="15E65" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="Z... | /content/code_sandbox/Tutorial10-平截体优化/LearnOpenGLES/Base.lproj/Main.storyboard | xml | 2016-03-11T07:58:04 | 2024-08-16T03:42:56 | LearnOpenGLES | loyinglin/LearnOpenGLES | 1,618 | 413 |
```xml
import React, { useContext, useMemo, useReducer } from 'react';
import PropTypes from 'prop-types';
import omit from 'lodash/omit';
import pick from 'lodash/pick';
import DropdownMenu from './DropdownMenu';
import { PLACEMENT_8 } from '@/internals/constants';
import { useClassNames } from '@/internals/hooks';
im... | /content/code_sandbox/src/Dropdown/Dropdown.tsx | xml | 2016-06-06T02:27:46 | 2024-08-16T16:41:54 | rsuite | rsuite/rsuite | 8,263 | 1,868 |
```xml
import * as React from 'react';
import { Position } from '../../Positioning';
import type { IButtonStyles, IButtonProps } from '../../Button';
import type { IIconProps } from '../../Icon';
import type { ITheme, IStyle, IShadowDomStyle } from '../../Styling';
import type { IKeytipProps } from '../../Keytip';
impo... | /content/code_sandbox/packages/react/src/components/SpinButton/SpinButton.types.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 2,046 |
```xml
import * as React from 'react';
import createSvgIcon from '../utils/createSvgIcon';
const Link12Icon = createSvgIcon({
svg: ({ classes }) => (
<svg xmlns="path_to_url" viewBox="0 0 2048 2048" className={classes.svg} focusable="false">
<path d="M1707 715q76 27 139 75t108 111 69 138 25 156q0 106-40 19... | /content/code_sandbox/packages/react-icons-mdl2/src/components/Link12Icon.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 479 |
```xml
/* eslint-disable @typescript-eslint/no-unused-vars */
import {
combineReducers,
reduceReducers,
Loop,
LoopReducer,
LoopReducerWithDefinedState,
getModel,
getCmd,
CmdType,
} from '../../index';
import { Action } from 'redux';
type ReducedState = {
add: number;
mult: number;
};
const initial... | /content/code_sandbox/test/typescript/reduce-reducers.ts | xml | 2016-01-05T20:46:03 | 2024-08-02T02:20:10 | redux-loop | redux-loop/redux-loop | 1,960 | 358 |
```xml
// See LICENSE.txt for license information.
import React from 'react';
import {StyleSheet} from 'react-native';
import Tag, {BotTag, GuestTag} from '@components/tag';
import {t} from '@i18n';
type HeaderTagProps = {
isAutomation?: boolean;
isAutoResponder?: boolean;
showGuestTag?: boolean;
}
cons... | /content/code_sandbox/app/components/post_list/post/header/tag/index.tsx | xml | 2016-10-07T16:52:32 | 2024-08-16T12:08:38 | mattermost-mobile | mattermost/mattermost-mobile | 2,155 | 270 |
```xml
import React from 'react';
import { Dropdown } from '../..';
export default {
title: 'Components/Dropdown'
};
export const Search = () => <Dropdown
search
selection
options={[{
text: 'abc',
value: 'abc'
}, {
text: 'qwe',
value: 'qwe'
}, {
text: 'zxc',
value: 'zxc'
}]}
de... | /content/code_sandbox/packages/ui/stories/components/dropdown.stories.tsx | xml | 2016-09-22T22:58:21 | 2024-08-16T15:47:39 | nuclear | nukeop/nuclear | 11,862 | 102 |
```xml
import {Buffer} from '@luma.gl/core';
import type {AnimationProps} from '@luma.gl/engine';
import {
Model,
CubeGeometry,
AnimationLoopTemplate,
loadImageBitmap,
AsyncTexture
} from '@luma.gl/engine';
import {Matrix4} from '@math.gl/core';
export const title = 'Rotating Cube';
export const description ... | /content/code_sandbox/wip/examples-wip/webgpu/textured-cube/app.ts | xml | 2016-01-25T09:41:59 | 2024-08-16T10:03:05 | luma.gl | visgl/luma.gl | 2,280 | 1,254 |
```xml
import { useCallback, useEffect } from 'react';
import { createSelector } from '@reduxjs/toolkit';
import type { WasmApiExchangeRate, WasmFiatCurrencySymbol } from '@proton/andromeda';
import { baseUseSelector } from '@proton/react-redux-store';
import { createHooks } from '@proton/redux-utilities';
import { ... | /content/code_sandbox/applications/wallet/src/app/store/hooks/useExchangeRate.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 346 |
```xml
import { Polygon } from "../shapes/Polygon.js";
import {
attrAutoFillSvg,
attrFill,
attrPolyPoints,
attrScale,
attrStroke,
attrTitle,
} from "./AttrHelper.js";
import { RenderProps } from "./Renderer.js";
const RenderPolygon = (
shape: Polygon<number>,
{ canvasSize, titleCache }: RenderProps,
):... | /content/code_sandbox/packages/core/src/renderer/Polygon.ts | xml | 2016-09-22T04:47:19 | 2024-08-16T13:00:54 | penrose | penrose/penrose | 6,760 | 263 |
```xml
/*
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
*/
import {makeAutoObservable} from 'mobx';
import {getStateLocally, storeStateLocally} from 'modules/utils/localStorage';
type OperationsPanelRef = Rea... | /content/code_sandbox/operate/client/src/modules/stores/panelStates.ts | xml | 2016-03-20T03:38:04 | 2024-08-16T19:59:58 | camunda | camunda/camunda | 3,172 | 427 |
```xml
import { HttpResponse } from '@standardnotes/responses'
import {
ListAuthenticatorsRequestParams,
DeleteAuthenticatorRequestParams,
VerifyAuthenticatorRegistrationResponseRequestParams,
GenerateAuthenticatorAuthenticationOptionsRequestParams,
} from '../../Request'
import {
ListAuthenticatorsResponseBo... | /content/code_sandbox/packages/api/src/Domain/Server/Authenticator/AuthenticatorServerInterface.ts | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 215 |
```xml
// SHE library
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <Cocoa/Cocoa.h>
#include "she/osx/app.h"
#include "base/thread.h"
#include "she/osx/app_delegate.h"
extern int app_main(int argc, ... | /content/code_sandbox/src/she/osx/app.mm | xml | 2016-08-31T17:26:42 | 2024-08-16T11:45:24 | LibreSprite | LibreSprite/LibreSprite | 4,717 | 461 |
```xml
import { Alert, confirm } from "@erxes/ui/src/utils";
import {
BarItems,
DataWithLoader,
Pagination,
Table,
Wrapper,
__,
} from "@erxes/ui/src";
import Button from "@erxes/ui/src/components/Button";
import CheckSyncedOrdersSidebar from "./CheckSyncedOrdersSidebar";
import FormControl from "@erxes/ui... | /content/code_sandbox/packages/plugin-msdynamic-ui/src/components/syncedOrders/CheckSyncedOrders.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 1,169 |
```xml
import * as React from "react";
import styled from "styled-components";
import Frame from "../components/Frame";
import { EmbedProps as Props } from ".";
function Spotify({ matches, ...props }: Props) {
let pathname = "";
try {
const parsed = new URL(props.attrs.href);
pathname = parsed.pathname;
... | /content/code_sandbox/shared/editor/embeds/Spotify.tsx | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 223 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="path_to_url">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
... | /content/code_sandbox/clients/cpp/samples/PersistentConnectionSample/PersistentConnectionSample.vcxproj | xml | 2016-10-17T16:39:15 | 2024-08-15T16:33:14 | SignalR | aspnet/SignalR | 2,383 | 1,773 |
```xml
/**
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import React, { type PropsWithChildren } from 'react';
/**
* Root style-reset for full-screen React Native web apps with a root `<ScrollView />` should use the following styl... | /content/code_sandbox/packages/expo-router/src/static/html.tsx | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 245 |
```xml
import ServerModule from '@gqlapp/module-server-ts';
import Report from '../sql';
import schema from './schema.graphql';
import resolvers from './resolvers';
import resources from './locales';
export default new ServerModule({
schema: [schema],
createResolversFunc: [resolvers],
createContextFunc: [() => (... | /content/code_sandbox/modules/reports/server-ts/pdf/index.ts | xml | 2016-09-08T16:44:45 | 2024-08-16T06:17:16 | apollo-universal-starter-kit | sysgears/apollo-universal-starter-kit | 1,684 | 91 |
```xml
import { Component, OnInit } from '@angular/core';
import { AngularFirestore, DocumentChangeAction } from '@angular/fire/compat/firestore';
import { Observable } from 'rxjs';
@Component({
selector: 'app-protected-lazy',
templateUrl: './protected-lazy.component.html',
styleUrls: ['./protected-lazy.componen... | /content/code_sandbox/samples/compat/src/app/protected-lazy/protected-lazy.component.ts | xml | 2016-01-11T20:47:23 | 2024-08-14T12:09:31 | angularfire | angular/angularfire | 7,648 | 122 |
```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/router/Router.ts | xml | 2016-07-21T15:34:05 | 2024-08-16T11:40:13 | wire-webapp | wireapp/wire-webapp | 1,125 | 296 |
```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>{EE2C85... | /content/code_sandbox/tests/common/TestProjects/MyKeyboardExtension/MyKeyboardExtension.csproj | xml | 2016-04-20T18:24:26 | 2024-08-16T13:29:19 | xamarin-macios | xamarin/xamarin-macios | 2,436 | 947 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.