text stringlengths 9 39.2M | dir stringlengths 26 295 | lang stringclasses 185
values | created_date timestamp[us] | updated_date timestamp[us] | repo_name stringlengths 1 97 | repo_full_name stringlengths 7 106 | star int64 1k 183k | len_tokens int64 1 13.8M |
|---|---|---|---|---|---|---|---|---|
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item type="id" name="tag_first"></item>
</resources>
``` | /content/code_sandbox/library/photoPicker/src/main/res/values/ids.xml | xml | 2016-09-26T09:42:41 | 2024-08-12T07:09:06 | AndroidFire | jaydenxiao2016/AndroidFire | 2,634 | 35 |
```xml
import { Range } from 'slate'
export const input = true
export const test = value => {
return Range.isRange(value)
}
export const output = false
``` | /content/code_sandbox/packages/slate/test/interfaces/Range/isRange/boolean.tsx | xml | 2016-06-18T01:52:42 | 2024-08-16T18:43:42 | slate | ianstormtaylor/slate | 29,492 | 37 |
```xml
<?xml version="1.0" ?>
<protocol>
<decodings/>
<participants>
<participant address_hex="313370" color_index="0" id="2578de59-87e2-4545-8b81-292751355445" name="Alice" relative_rssi="0" shortname="A" simulate="0"/>
<participant address_hex="031337" color_index="0" id="7e3df95a-3351-4587-bae1-63a... | /content/code_sandbox/tests/data/four_participants.proto.xml | xml | 2016-04-01T19:43:07 | 2024-08-16T09:11:09 | urh | jopohl/urh | 10,727 | 4,175 |
```xml
import * as $ from 'jquery';
export default class spservices{
constructor(){
}
/*check if user is a member of the group, using SP rest
*/
public async isMember(groupName: string, userId: string, webAbsoluteUrl): Promise<any> {
var p = new Promise<any>((resolve, reject) => {
$.aja... | /content/code_sandbox/samples/react-target-audience/src/service/spservices.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 195 |
```xml
import { deepMix } from '@antv/util';
type Adapter<T> = (options: T, ...rest: any[]) => T;
/**
* Adaptor return default options for raw options.
*/
export function useDefaultAdaptor<T>(adaptor: Adapter<T>): Adapter<T> {
return (options?, ...rest) => deepMix({}, adaptor(options, ...rest), options);
}
/**
... | /content/code_sandbox/src/composition/utils.ts | xml | 2016-05-26T09:21:04 | 2024-08-15T16:11:17 | G2 | antvis/G2 | 12,060 | 250 |
```xml
export type LoadableMeta = Partial<
Record<'isLoading' | 'isReady' | 'hasError', boolean>
> &
Partial<{
error: string;
}>;
export type Loadable<T> = LoadableMeta & {
data?: T;
};
export type EmptyPayloadKeyCreator = () => string;
export type KeyCreator<P> = (payload: P) => string;
``` | /content/code_sandbox/packages/app/app/reducers/types.ts | xml | 2016-09-22T22:58:21 | 2024-08-16T15:47:39 | nuclear | nukeop/nuclear | 11,862 | 83 |
```xml
import { hooks } from 'botframework-webchat-api';
import classNames from 'classnames';
import PropTypes from 'prop-types';
import React, { FC, MouseEventHandler, ReactNode, useRef } from 'react';
import AccessibleButton from '../Utils/AccessibleButton';
import useFocusVisible from '../hooks/internal/useFocusVis... | /content/code_sandbox/packages/component/src/SendBox/IconButton.tsx | xml | 2016-07-07T23:16:57 | 2024-08-16T00:12:37 | BotFramework-WebChat | microsoft/BotFramework-WebChat | 1,567 | 421 |
```xml
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router';
import { MatButtonModule } from '@angular/material/button';
import { MatIconModule } from '@angular/material/icon';
import { MatCardModule } from '@angular/material/ca... | /content/code_sandbox/apps/docs-app/src/app/content/components/component-demos/message/message.module.ts | xml | 2016-07-11T23:30:52 | 2024-08-15T15:20:45 | covalent | Teradata/covalent | 2,228 | 335 |
```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)' == '' ">AnyCPU</Platform>
<ProjectTypeGuids>{A3F8F2AB-B479-4... | /content/code_sandbox/tests/common/mac/UnifiedExample.csproj | xml | 2016-04-20T18:24:26 | 2024-08-16T13:29:19 | xamarin-macios | xamarin/xamarin-macios | 2,436 | 681 |
```xml
export type LegacyMessage = {
command: string;
userId?: string;
timestamp?: number;
publicKey?: string;
};
``` | /content/code_sandbox/apps/desktop/src/models/native-messaging/legacy-message.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 28 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<attr name="backgroundColor" format="color"/>
<attr name="textColor" format="color"/>
</resources>
``` | /content/code_sandbox/android/app/src/main/res/values/theme.xml | xml | 2016-02-22T21:48:48 | 2024-08-16T19:01:49 | status-mobile | status-im/status-mobile | 3,877 | 44 |
```xml
import * as React from 'react';
import { Slider } from '@fluentui/react';
const Scenario = () => <Slider />;
export default Scenario;
``` | /content/code_sandbox/apps/perf-test/src/scenarios/Slider.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 33 |
```xml
// See LICENSE.txt for license information.
import {Q} from '@nozbe/watermelondb';
import {MM_TABLES} from '@constants/database';
import DatabaseManager from '@database/manager';
import type InfoModel from '@typings/database/models/app/info';
const {APP: {INFO}} = MM_TABLES;
export const getLastInstalledVer... | /content/code_sandbox/app/queries/app/info.ts | xml | 2016-10-07T16:52:32 | 2024-08-16T12:08:38 | mattermost-mobile | mattermost/mattermost-mobile | 2,155 | 146 |
```xml
import { StrykerError } from '@stryker-mutator/util';
export class ChildProcessCrashedError extends StrykerError {
constructor(
public readonly pid: number | undefined,
message: string,
public readonly exitCode?: number,
public readonly signal?: string,
innerError?: Error,
) {
super(... | /content/code_sandbox/packages/core/src/child-proxy/child-process-crashed-error.ts | xml | 2016-02-12T13:14:28 | 2024-08-15T18:38:25 | stryker-js | stryker-mutator/stryker-js | 2,561 | 130 |
```xml
<?xml version="1.0"?>
<!--
~ 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 ... | /content/code_sandbox/infra/data-source-pool/core/src/test/resources/logback-test.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 256 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
/*
**
**
**
** path_to_url
**
** Unless required by applicable law or agreed to in writing, software
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
-->
<resources xmlns:android="path_to_url"
xmlns:xliff="urn:oasis:names:tc:xli... | /content/code_sandbox/app/src/main/res/values-cs/strings.xml | xml | 2016-01-22T21:40:54 | 2024-08-16T11:54:30 | hackerskeyboard | klausw/hackerskeyboard | 1,807 | 3,819 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>FirmwareSettingsDialog</class>
<widget class="QDialog" name="FirmwareSettingsDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>511</width>
<height>357</height>
</rect>
</property>
<property name="size... | /content/code_sandbox/src/frontend/qt_sdl/FirmwareSettingsDialog.ui | xml | 2016-05-16T01:34:13 | 2024-08-16T19:28:31 | melonDS | melonDS-emu/melonDS | 3,080 | 1,677 |
```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.
*/
import type { MakeIconOptions } from "#src/widget/icon.js";
import { makeIcon } from "#src/widget/icon.js";
export fun... | /content/code_sandbox/src/widget/help_button.ts | xml | 2016-05-27T02:37:25 | 2024-08-16T07:24:25 | neuroglancer | google/neuroglancer | 1,045 | 95 |
```xml
<dict>
<key>LayoutID</key>
<integer>13</integer>
<key>PathMapRef</key>
<array>
<dict>
<key>CodecID</key>
<array>
<integer>283902581</integer>
</array>
<key>Headphone</key>
<dict/>
<key>Inputs</key>
<array>
<string>Mic</string>
<string>LineIn</string>
</array>
<key>Int... | /content/code_sandbox/Resources/ALC275/layout13.xml | xml | 2016-03-07T20:45:58 | 2024-08-14T08:57:03 | AppleALC | acidanthera/AppleALC | 3,420 | 6,640 |
```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/NugetPackageDownloader/xlf/LocalizableStrings.cs.xlf | xml | 2016-07-22T21:26:02 | 2024-08-16T17:23:58 | sdk | dotnet/sdk | 2,627 | 1,175 |
```xml
// See LICENSE in the project root for license information.
import { objectsAreDeepEqual, cloneDeep, merge } from '../objectUtilities';
describe('objectUtilities', () => {
describe(objectsAreDeepEqual.name, () => {
it('can compare primitives', () => {
expect(objectsAreDeepEqual(1, 1)).toEqual(true)... | /content/code_sandbox/libraries/rush-lib/src/utilities/test/objectUtilities.test.ts | xml | 2016-09-30T00:28:20 | 2024-08-16T18:54:35 | rushstack | microsoft/rushstack | 5,790 | 1,637 |
```xml
import React, { useState, useEffect, useMemo, useCallback } from 'react'
import DatePicker from 'react-datepicker'
import PropertyValueButton from './PropertyValueButton'
import { format as formatDate, isValid } from 'date-fns'
import styled from '../../../../design/lib/styled'
import Button from '../../../../de... | /content/code_sandbox/src/cloud/components/Props/Pickers/DatePropPicker.tsx | xml | 2016-11-19T14:30:34 | 2024-08-16T03:13:45 | BoostNote-App | BoostIO/BoostNote-App | 3,745 | 2,532 |
```xml
import { useCallback } from 'react';
import { FormattedMessage } from 'react-intl';
import ArrowBackIcon from '@/material-icons/400-24px/arrow_back.svg?react';
import { Icon } from 'mastodon/components/icon';
import { ButtonInTabsBar } from 'mastodon/features/ui/util/columns_context';
import { useAppHistory }... | /content/code_sandbox/app/javascript/mastodon/components/column_back_button.tsx | xml | 2016-02-22T15:01:25 | 2024-08-16T19:27:35 | mastodon | mastodon/mastodon | 46,560 | 279 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="path_to_url">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug.DLL|Win32">
<Configuration>Debug.DLL</Configuration>
<Platform>Win32</Platform>
</ProjectConfigurati... | /content/code_sandbox/projects/VS2022/examples/style_selector.vcxproj | xml | 2016-06-15T18:33:19 | 2024-08-16T06:40:57 | raygui | raysan5/raygui | 3,312 | 5,620 |
```xml
import React from 'react';
import { connect } from 'react-redux';
import { Spin, Button } from 'antd';
import RequestManager from '../../../utils/request_manager';
import { State } from '../../../state/index';
import { actionCreator } from '../../../action/index';
import { CancelRequestType } from '../../../acti... | /content/code_sandbox/client/src/modules/collection/req_res_panel/response_loading_panel.tsx | xml | 2016-09-26T02:47:43 | 2024-07-24T09:32:20 | Hitchhiker | brookshi/Hitchhiker | 2,193 | 343 |
```xml
/*
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
*/
const MOCK_TIMESTAMP = '2018-12-12 00:00:00';
function formatDate(
dateString: Date | string | null,
placeholder: string | null = '--',
) {
ret... | /content/code_sandbox/operate/client/src/modules/utils/date/__mocks__/formatDate.ts | xml | 2016-03-20T03:38:04 | 2024-08-16T19:59:58 | camunda | camunda/camunda | 3,172 | 87 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
android:id="@+id/push_root_view"
xmlns:android="path_to_url"
android:layout_width="match_parent"
android:layout_height="256dp">
<FrameLayout
android:id="@+id/v21"
android:layout_width="match_parent"
android:layout... | /content/code_sandbox/android/src/main/res/layout-v21/push_notification_large.xml | xml | 2016-02-15T08:18:56 | 2024-08-13T02:39:18 | jpush-react-native | jpush/jpush-react-native | 1,343 | 2,603 |
```xml
/* eslint-disable no-console */
/* eslint-disable no-invalid-this */
import { FastifyInstance } from 'fastify';
import { searchUtils } from '@verdaccio/core';
import { logger } from '@verdaccio/logger';
interface QueryInterface {
url: string;
query: searchUtils.SearchQuery;
}
async function searchRoute(f... | /content/code_sandbox/packages/server/fastify/src/endpoints/search.ts | xml | 2016-04-15T16:21:12 | 2024-08-16T09:38:01 | verdaccio | verdaccio/verdaccio | 16,189 | 239 |
```xml
'use client'
import React, {
useRef,
useEffect,
useCallback,
useContext,
useMemo,
useState,
forwardRef,
use,
} from 'react'
import ReactDOM from 'react-dom'
import Head from '../shared/lib/head'
import { getImgProps } from '../shared/lib/get-img-props'
import type {
ImageProps,
ImgProps,
O... | /content/code_sandbox/packages/next/src/client/image-component.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 2,968 |
```xml
<phpunit
xmlns:xsi="path_to_url"
xsi:noNamespaceSchemaLocation="path_to_url"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
st... | /content/code_sandbox/tests/phpunit.9.xml | xml | 2016-03-17T21:08:37 | 2024-08-14T19:53:55 | doctrine-test-bundle | dmaicher/doctrine-test-bundle | 1,074 | 241 |
```xml
import React, { FunctionComponent } from "react";
const NotificationBellIcon: FunctionComponent = () => {
return (
<svg viewBox="-0.75 0 21 21" xmlns="path_to_url">
<path
d="M8.33337 18.125C8.43922 18.4856 8.65901 18.8022 8.95983 19.0274C9.26066 19.2526 9.62634 19.3743 10.0021 19.3743C10.377... | /content/code_sandbox/client/src/core/client/ui/components/icons/NotificationBellIcon.tsx | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 449 |
```xml
<?xml version="1.0"?>
<pnp:Provisioning xmlns:pnp="path_to_url">
<pnp:Preferences Generator="OfficeDevPnP.Core, Version=2.7.1609.3, Culture=neutral, PublicKeyToken=3751622786b357c2" />
<pnp:Templates ID="CONTAINER-TEMPLATE-SOCKETIO-SPFX-DEMO">
<pnp:ProvisioningTemplate ID="TEMPLATE-SOCKETIO-SPFX-DEMO" Ve... | /content/code_sandbox/samples/react-real-time/template.xml | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 715 |
```xml
<resources>
<string name="app_name">NineGridView</string>
</resources>
``` | /content/code_sandbox/app/src/main/res/values/strings.xml | xml | 2016-01-28T12:16:02 | 2024-08-12T03:26:43 | NineGridView | jeasonlzy/NineGridView | 2,461 | 20 |
```xml
<clickhouse>
<interserver_http_port>9009</interserver_http_port>
</clickhouse>
``` | /content/code_sandbox/tests/integration/test_replication_credentials/configs/no_credentials.xml | xml | 2016-06-02T08:28:18 | 2024-08-16T18:39:33 | ClickHouse | ClickHouse/ClickHouse | 36,234 | 24 |
```xml
import * as path from 'path';
import CopyWebpackPlugin from 'copy-webpack-plugin';
import { argv } from 'yargs';
import webpack from 'webpack';
import { config } from '@fluentui/scripts-gulp';
import { getDefaultEnvironmentVars } from '@fluentui/scripts-monorepo';
import { packageDist, packageSrc, packageRoot ... | /content/code_sandbox/packages/fluentui/perf/gulp/webpack.config.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 485 |
```xml
import * as Babel from '@babel/core';
import * as prettier from 'prettier';
import * as fs from 'fs';
import { modifyImportsPlugin } from './modifyImports';
import { removeStorybookParameters } from './removeStorybookParameters';
import { BabelPluginOptions } from './types';
export const PLUGIN_NAME = 'storybo... | /content/code_sandbox/packages/react-components/babel-preset-storybook-full-source/src/fullsource.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 889 |
```xml
import _ from 'lodash';
import { http, HttpResponse } from 'msw';
import { render } from '@testing-library/react';
import { createMockTeams, createMockUsers } from '@/react-tools/test-mocks';
import { server } from '@/setup-tests/server';
import { Role } from '@/portainer/users/types';
import { withUserProvider... | /content/code_sandbox/app/react/portainer/access-control/AccessControlPanel/AccessControlPaneDetails.test.tsx | xml | 2016-05-19T20:15:28 | 2024-08-16T19:15:14 | portainer | portainer/portainer | 30,083 | 1,149 |
```xml
import { G2Spec } from '../../../src';
import { seriesTooltipSteps } from './utils';
const RegionMap = new Map([
['Alaska', 'Pacific'],
['Alabama', 'East South Central'],
['Arkansas', 'West South Central'],
['Arizona', 'Mountain'],
['California', 'Pacific'],
['Colorado', 'Mountain'],
['Connecticut... | /content/code_sandbox/__tests__/plots/tooltip/population-by-state-area-normalize-stacked.ts | xml | 2016-05-26T09:21:04 | 2024-08-15T16:11:17 | G2 | antvis/G2 | 12,060 | 1,136 |
```xml
// Type definitions for ag-grid v6.2.1
// Project: path_to_url
// Definitions by: Niall Crosby <path_to_url
// Definitions: path_to_url
import { IRenderedHeaderElement } from "./iRenderedHeaderElement";
export declare class HeaderRenderer {
private gridOptionsWrapper;
private columnController;
privat... | /content/code_sandbox/services/dashboard/assets-dev/js/vendor/ag-grid/dist/lib/headerRendering/headerRenderer.d.ts | xml | 2016-06-21T19:39:58 | 2024-08-12T19:23:26 | mylg | mehrdadrad/mylg | 2,691 | 187 |
```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 OR CONDI... | /content/code_sandbox/js/src/util/utf8.ts | xml | 2016-02-17T08:00:23 | 2024-08-16T19:00:48 | arrow | apache/arrow | 14,094 | 136 |
```xml
import { SessionContext } from '@jupyterlab/apputils';
import {
Context,
DocumentRegistry,
TextModelFactory
} from '@jupyterlab/docregistry';
import { RenderMimeRegistry } from '@jupyterlab/rendermime';
import { Contents, Drive, ServiceManager } from '@jupyterlab/services';
import {
acceptDialog,
dism... | /content/code_sandbox/packages/docregistry/test/context.spec.ts | xml | 2016-06-03T20:09:17 | 2024-08-16T19:12:44 | jupyterlab | jupyterlab/jupyterlab | 14,019 | 4,498 |
```xml
<project xmlns="path_to_url" xmlns:xsi="path_to_url"
xsi:schemaLocation="path_to_url path_to_url">
<modelVersion>4.0.0</modelVersion>
<groupId>com.zheng</groupId>
<artifactId>zheng-pay</artifactId>
<version>1.0.0</version>
<packaging>pom</packaging>
<name>zheng-pay</name>
<... | /content/code_sandbox/zheng-pay/pom.xml | xml | 2016-10-04T10:07:06 | 2024-08-16T07:00:44 | zheng | shuzheng/zheng | 16,660 | 273 |
```xml
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
import type { ColorValue } from 'react-native';
import type {
Float,
Int32,
WithDefault,
} from 'react-native/Libraries/Types/CodegenTypes';
import type { ViewProps } from './utils';
import type { UnsafeMixed } f... | /content/code_sandbox/src/fabric/PathNativeComponent.ts | xml | 2016-01-17T14:29:21 | 2024-08-16T13:35:44 | react-native-svg | software-mansion/react-native-svg | 7,397 | 403 |
```xml
export * from './ListedClientInterface'
export * from './ListedService'
``` | /content/code_sandbox/packages/snjs/lib/Services/Listed/index.ts | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 18 |
```xml
import type { ChangeEvent } from 'react';
import { useEffect } from 'react';
import { c } from 'ttag';
import type { WasmFiatCurrencySymbol } from '@proton/andromeda';
import { CircleLoader } from '@proton/atoms/CircleLoader';
import type { ModalOwnProps } from '@proton/components/components';
import {
Col... | /content/code_sandbox/applications/wallet/src/app/components/WalletImportModal/index.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 1,385 |
```xml
export * from "./Contract";
export * from "./EventEmitterModule";
``` | /content/code_sandbox/src/main/Core/EventEmitter/index.ts | xml | 2016-10-11T04:59:52 | 2024-08-16T11:53:31 | ueli | oliverschwendener/ueli | 3,543 | 15 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="path_to_url" xmlns:xsi="path_to_url"
xsi:schemaLocation="path_to_url path_to_url">
<modelVersion>4.0.0</modelVersion>
<groupId>com.itmuch.cloud</groupId>
<artifactId>microservice-provider-user-sleuth-zipkin</artifactId>
<version>0.0.1-SNAPSH... | /content/code_sandbox/2018-Finchley/microservice-provider-user-sleuth-zipkin/pom.xml | xml | 2016-08-26T09:35:58 | 2024-08-12T06:14:53 | spring-cloud-study | eacdy/spring-cloud-study | 1,042 | 621 |
```xml
/**
* @license
*/
import {FunctionComponent} from 'preact';
import {renderCategoryScore} from '../../../report/renderer/api';
import {useExternalRenderer} from '../util';
export const CategoryScore: FunctionComponent<{
category: LH.ReportResult.Category,
href: string,
gatherMode: LH.Result.GatherMode,... | /content/code_sandbox/flow-report/src/wrappers/category-score.tsx | xml | 2016-03-08T01:03:11 | 2024-08-16T10:56:56 | lighthouse | GoogleChrome/lighthouse | 28,125 | 153 |
```xml
import * as React from 'react';
import createSvgIcon from '../utils/createSvgIcon';
const CaretSolidRightIcon = createSvgIcon({
svg: ({ classes }) => (
<svg xmlns="path_to_url" viewBox="0 0 2048 2048" className={classes.svg} focusable="false">
<path d="M640 0l1024 1024L640 2048V0z" />
</svg>
)... | /content/code_sandbox/packages/react-icons-mdl2/src/components/CaretSolidRightIcon.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 120 |
```xml
<vector xmlns:android="path_to_url" android:height="34.0dp" android:tint="?attr/colorControlNormal" android:viewportHeight="16" android:viewportWidth="16" android:width="34.0dp">
<path android:fillColor="@android:color/white" android:pathData="M 9.5,1.0 C 9.4862,1.002 9.4725,1.005 9.459,1.008 C 9.4212,1.011 ... | /content/code_sandbox/app/src/main/res/drawable/ic_preset_roentgen_crane_portal.xml | xml | 2016-07-02T10:44:04 | 2024-08-16T18:55:54 | StreetComplete | streetcomplete/StreetComplete | 3,781 | 1,622 |
```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 hypotf = require( './index' );
// TESTS //
// The function returns a number...
{
hypotf( 8, 2 ); // $Ex... | /content/code_sandbox/lib/node_modules/@stdlib/math/base/special/hypotf/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 421 |
```xml
// See LICENSE.txt for license information.
import React from 'react';
import CustomStatusEmoji from '@components/custom_status/custom_status_emoji';
import type {EmojiCommonStyle} from '@typings/components/emoji';
import type {StyleProp} from 'react-native';
type Props = {
customStatus?: UserCustomStatu... | /content/code_sandbox/app/components/channel_item/custom_status/custom_status.tsx | xml | 2016-10-07T16:52:32 | 2024-08-16T12:08:38 | mattermost-mobile | mattermost/mattermost-mobile | 2,155 | 185 |
```xml
import React from 'react';
import { createBEM } from '@zarm-design/bem';
import { Minus as MinusIcon, Plus as PlusIcon } from '@zarm-design/icons';
import type { BaseStepperProps } from './interface';
import Button from '../button';
import { ConfigContext } from '../config-provider';
import CustomInput from '../... | /content/code_sandbox/packages/zarm/src/stepper/Stepper.tsx | xml | 2016-07-13T11:45:37 | 2024-08-12T19:23:48 | zarm | ZhongAnTech/zarm | 1,707 | 1,649 |
```xml
<Documentation>
<Docs DocId="T:UIKit.UIScrollView">
<summary>A <see cref="T:UIKit.UIView" /> that can scroll, pan, and page its children.</summary>
<remarks>
<para>
The <see cref="T:UIKit.UIScrollView" /> class is a container that provides scrolling, zooming, and panning functiona... | /content/code_sandbox/docs/api/UIKit/UIScrollView.xml | xml | 2016-04-20T18:24:26 | 2024-08-16T13:29:19 | xamarin-macios | xamarin/xamarin-macios | 2,436 | 4,520 |
```xml
import * as React from "react";
import styles from "./ReactAccordion.module.scss";
import { IReactAccordionProps } from "./IReactAccordionProps";
import { Placeholder } from "@pnp/spfx-controls-react/lib/Placeholder";
import { WebPartTitle } from "@pnp/spfx-controls-react/lib/WebPartTitle";
import "./reactAccord... | /content/code_sandbox/samples/react-accordion-dynamic-section/src/webparts/reactAccordion/components/ReactAccordion.tsx | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 1,029 |
```xml
import * as React from 'react';
import { IDocPageProps } from '@fluentui/react/lib/common/DocPage.types';
import { MultiStackedBarChartBasicExample } from './MultiStackedBarChart.Example';
import { MultiStackedBarChartWithPlaceholderExample } from './MultiStackedBarChartWithPlaceHolder.Example';
import { Multi... | /content/code_sandbox/packages/react-examples/src/react-charting/MultiStackedBarChart/MultiStackedBarChart.doc.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 610 |
```xml
import path from 'path'
import { preparePackage } from '@pnpm/prepare-package'
import { tempDir } from '@pnpm/prepare'
import { createTestIpcServer } from '@pnpm/test-ipc-server'
import { fixtures } from '@pnpm/test-fixtures'
const f = fixtures(__dirname)
test('prepare package runs the prepublish script', asyn... | /content/code_sandbox/exec/prepare-package/test/index.ts | xml | 2016-01-28T07:40:43 | 2024-08-16T12:38:47 | pnpm | pnpm/pnpm | 28,869 | 337 |
```xml
<project xmlns="path_to_url" xmlns:xsi="path_to_url"
xsi:schemaLocation="path_to_url path_to_url">
<modelVersion>4.0.0</modelVersion>
<groupId>com.zheng</groupId>
<artifactId>zheng-oss</artifactId>
<version>1.0.0</version>
<packaging>pom</packaging>
<name>zheng-oss</name>
<... | /content/code_sandbox/zheng-oss/pom.xml | xml | 2016-10-04T10:07:06 | 2024-08-16T07:00:44 | zheng | shuzheng/zheng | 16,660 | 229 |
```xml
import { CheckCircle2 } from "lucide-react"
import { Button } from "./button"
const SuccessPost = ({ text }: { text?: string }) => {
return (
<>
<div className="backdrop-blur-sm z-10 flex flex-col items-center justify-center absolute w-full h-full">
<CheckCircle2 color="green" size={50} cla... | /content/code_sandbox/exm-web/components/ui/successPost.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 133 |
```xml
/*your_sha256_hash-----------------------------
*your_sha256_hash----------------------------*/
import { assert } from 'chai';
import * as TypeMoq from 'typemoq';
import { IServerInfo, MetadataType, ObjectMetadata } from 'vscode-mssql';
import ConnectionManager from '../../src/controllers/connectionManager';
i... | /content/code_sandbox/test/unit/scriptingService.test.ts | xml | 2016-06-26T04:38:04 | 2024-08-16T20:04:12 | vscode-mssql | microsoft/vscode-mssql | 1,523 | 1,607 |
```xml
import Workos from '@workos-inc/node';
import * as jwt from 'jsonwebtoken';
import { getEnv, saveValidatedToken } from './data/utils';
import { debugBase, debugError } from './debuggers';
import { generateModels } from './connectionResolver';
import { authCookieOptions, getSubdomain } from '@erxes/api-utils/s... | /content/code_sandbox/packages/core/src/saas.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 988 |
```xml
import { styles as codeFrame } from '../components/CodeFrame/styles'
import { styles as dialog } from '../components/Dialog'
import { styles as leftRightDialogHeader } from '../components/LeftRightDialogHeader/styles'
import { styles as overlay } from '../components/Overlay/styles'
import { styles as terminal } ... | /content/code_sandbox/packages/next/src/client/components/react-dev-overlay/internal/styles/ComponentStyles.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 242 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="path_to_url"
xmlns:app="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context=".ui... | /content/code_sandbox/app/src/main/res/layout/content_lottie_animation_view.xml | xml | 2016-08-08T08:52:10 | 2024-08-12T19:24:13 | AndroidAnimationExercise | REBOOTERS/AndroidAnimationExercise | 1,868 | 398 |
```xml
import { ResObject } from '../interfaces/res_object';
import { Environment } from '../models/environment';
import { ConnectionManager } from './connection_manager';
import { Message } from '../utils/message';
import { StringUtil } from '../utils/string_util';
import { DtoEnvironment } from '../common/interfaces/... | /content/code_sandbox/api/src/services/environment_service.ts | xml | 2016-09-26T02:47:43 | 2024-07-24T09:32:20 | Hitchhiker | brookshi/Hitchhiker | 2,193 | 914 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12118" systemVersion="16A323" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES" initialViewController="sp2-vV-rZV">
<devic... | /content/code_sandbox/Example/HGCircularSlider/Base.lproj/Main.storyboard | xml | 2016-11-07T23:58:30 | 2024-08-15T02:14:29 | HGCircularSlider | HamzaGhazouani/HGCircularSlider | 2,567 | 16,883 |
```xml
import { ParamListBase, StackNavigationState } from '@react-navigation/native';
import {
createNativeStackNavigator,
NativeStackNavigationEventMap,
NativeStackNavigationOptions,
} from '@react-navigation/native-stack';
import { withLayoutContext } from './withLayoutContext';
const NativeStackNavigator = ... | /content/code_sandbox/packages/expo-router/src/layouts/Stack.tsx | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 110 |
```xml
import { CoreBuilder } from 'storybook/internal/cli';
import { baseGenerator } from '../baseGenerator';
import type { Generator } from '../types';
const generator: Generator = async (packageManager, npmOptions, options) => {
await baseGenerator(packageManager, npmOptions, options, 'react', {
extraAddons:... | /content/code_sandbox/code/lib/create-storybook/src/generators/WEBPACK_REACT/index.ts | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 109 |
```xml
export const objectMap = <Obj extends { [key: string]: any }, R extends any>(
obj: Obj,
map: (key: keyof Obj, value: Obj[keyof Obj]) => R
) => {
return Object.fromEntries(Object.entries(obj).map(([key, value]) => [key, map(key, value)])) as {
[K in keyof Obj]: R;
};
};
export const entri... | /content/code_sandbox/packages/pass/utils/object/map.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 148 |
```xml
export * from './IPollService';
export * from './IVoteOption';
export * from './IVoteResult';
export * from './PollService';
export * from './MockPollService';
export * from './IVoteOptionItem';
``` | /content/code_sandbox/samples/react-multipage/src/webparts/poll/services/index.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 49 |
```xml
<forms:FormsApplicationPage x:Class="SkiaSharpSample.Platform.MainWindow"
xmlns="path_to_url"
xmlns:x="path_to_url"
xmlns:d="path_to_url"
xmlns:mc="path_to_url"
xmlns:forms="clr-namespace:Xamarin.Forms.Platform.WPF;assembly=Xamarin.Forms.Platform.WPF"
xmlns:local="... | /content/code_sandbox/samples/Gallery/Xamarin.Forms/WPF/MainWindow.xaml | xml | 2016-02-22T17:54:43 | 2024-08-16T17:53:42 | SkiaSharp | mono/SkiaSharp | 4,347 | 135 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#0f88eb</color>
<color name="colorPrimaryDark">#0d79d1</color>
<color name="colorAccent">#FF4081</color>
</resources>
``` | /content/code_sandbox/app/src/main/res/values/colors.xml | xml | 2016-08-08T14:34:56 | 2024-08-16T01:17:59 | ViewPagerLayoutManager | leochuan/ViewPagerLayoutManager | 1,749 | 67 |
```xml
import React, {FunctionComponent, ReactNode} from 'react'
interface Props {
children: ReactNode
}
const OverlayBody: FunctionComponent<Props> = ({children}) => (
<div className="overlay--body">{children}</div>
)
export default OverlayBody
``` | /content/code_sandbox/ui/src/reusable_ui/components/overlays/OverlayBody.tsx | xml | 2016-08-24T23:28:56 | 2024-08-13T19:50:03 | chronograf | influxdata/chronograf | 1,494 | 58 |
```xml
import * as React from 'react';
import { useCallback } from 'react';
import { classNamesFunction } from '../../Utilities';
import { Link } from '../../Link';
import { GroupSpacer } from './GroupSpacer';
import type { IGroupShowAllProps, IGroupShowAllStyleProps, IGroupShowAllStyles } from './GroupShowAll.types';
... | /content/code_sandbox/packages/react/src/components/GroupedList/GroupShowAll.base.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 266 |
```xml
import styles from "./index.css";
import { setInnerHTML } from "../utils";
import { RQDraggableWidget } from "../abstract-classes/draggable-widget";
import RQLogo from "../../../resources/icons/rqLogo-blue.svg";
import RQLogoSmall from "../../../resources/icons/rqLogo-white.svg";
import MinimizeIcon from "../../... | /content/code_sandbox/browser-extension/common/src/custom-elements/test-rule-widget/index.ts | xml | 2016-12-01T04:36:06 | 2024-08-16T19:12:19 | requestly | requestly/requestly | 2,121 | 767 |
```xml
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { NO_ERRORS_SCHEMA } from '@angular/core';
import { DonutChartComponent } from './donut-chart.component';
describe('DonutChartComponent', () => {
let component: DonutChartComponent;
let fixture: ComponentFixture<DonutChartComponen... | /content/code_sandbox/src/portal/src/app/base/left-side-nav/job-service-dashboard/worker-card/donut-chart/donut-chart.component.spec.ts | xml | 2016-01-28T21:10:28 | 2024-08-16T15:28:34 | harbor | goharbor/harbor | 23,335 | 141 |
```xml
<vector android:height="24dp" android:viewportHeight="20"
android:viewportWidth="20" android:width="24dp" xmlns:android="path_to_url">
<path android:fillColor="@color/gray65" android:pathData="M16,3.5A1.5,1.5 0,0 1,17.5 5V15A1.5,1.5 0,0 1,16 16.5H4A1.5,1.5 0,0 1,2.5 15V5A1.5,1.5 0,0 1,4 3.5H16M16,2H4A3,3... | /content/code_sandbox/src/main/res/drawable/ic_emoji_symbol_light_20.xml | xml | 2016-07-03T07:32:36 | 2024-08-16T16:51:15 | deltachat-android | deltachat/deltachat-android | 1,082 | 397 |
```xml
import { AccountsMagicLink, RequestMagicLinkEmailErrors } from '@accounts/magic-link';
import { AccountsServer, AccountsJsError } from '@accounts/server';
import { type MutationResolvers } from '../models';
export const Mutation: MutationResolvers = {
requestMagicLinkEmail: async (_, { email }, ctx) => {
... | /content/code_sandbox/modules/module-magic-link/src/resolvers/mutation.ts | xml | 2016-10-07T01:43:23 | 2024-07-14T11:57:08 | accounts | accounts-js/accounts | 1,492 | 204 |
```xml
import { ApolloLink, Observable, gql } from "../../../core/index.js";
import type { TypedDocumentNode } from "../../../core/index.js";
import type { MockedResponse } from "../../core/index.js";
export interface SimpleCaseData {
greeting: string;
}
export function setupSimpleCase() {
const query: TypedDocum... | /content/code_sandbox/src/testing/internal/scenarios/index.ts | xml | 2016-02-26T20:25:00 | 2024-08-16T10:56:57 | apollo-client | apollographql/apollo-client | 19,304 | 609 |
```xml
import { IContext } from '../../../connectionResolver';
import { ITimeframe } from '../../../models/definitions/timeframes';
import {
moduleCheckPermission,
moduleRequireLogin
} from '@erxes/api-utils/src/permissions';
interface IEditArgs extends ITimeframe {
_id?: string;
}
const timeframeMutations = {
... | /content/code_sandbox/packages/plugin-salesplans-api/src/graphql/resolvers/mutations/timeframes.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 145 |
```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 { EntityId } from './entity-id';
import { EntityType } from '@shared/models/entity-type.models';
export class Asset... | /content/code_sandbox/ui-ngx/src/app/shared/models/id/asset-profile-id.ts | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 101 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Fortran (Fixed Format)" version="6" kateversion="5.0" section="Sources" extensions="*.f;*.F;*.for;*.FOR;*.fpp;*.FPP;" mimetype="text/x-fortran-src" casesensitive="0" author="Franchin Matteo (fnch@libero.it)" license=... | /content/code_sandbox/src/data/extra/syntax-highlighting/syntax/fortran-fixed.xml | xml | 2016-10-05T07:24:54 | 2024-08-16T05:03:40 | vnote | vnotex/vnote | 11,687 | 7,408 |
```xml
import { NumberArray, NumberProp } from '../../lib/extract/types';
import { warnUnimplementedFilter } from '../../lib/util';
import FilterPrimitive from './FilterPrimitive';
type FunctionChannel = 'R' | 'G' | 'B' | 'A' | 'UNKNOWN';
type FunctionType = 'identity' | 'table' | 'discrete' | 'linear' | 'gamma';
exp... | /content/code_sandbox/src/elements/filters/FeComponentTransferFunction.tsx | xml | 2016-01-17T14:29:21 | 2024-08-16T13:35:44 | react-native-svg | software-mansion/react-native-svg | 7,397 | 414 |
```xml
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<!-- This program is free software; you can redistribute it and/or -->
<!-- published by the Free Software Foundation; either version 2 of the -->
<!-- -->
<... | /content/code_sandbox/tests/pjsua/scripts-sipp/uac-183-wrong-media.xml | xml | 2016-01-24T05:00:33 | 2024-08-16T03:31:21 | pjproject | pjsip/pjproject | 1,960 | 830 |
```xml
import type { FC, ReactNode } from 'react';
import noop from '@proton/utils/noop';
import type { CreateNotificationOptions, NotificationsContextValue } from './index';
import { NotificationsContext } from './index';
interface NotificationsHijackProps {
onCreate: ((options: CreateNotificationOptions) => vo... | /content/code_sandbox/packages/components/containers/notifications/NotificationsHijack.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 226 |
```xml
/*your_sha256_hash-----------------------------
*your_sha256_hash----------------------------*/
declare module 'vscode' {
// path_to_url
//
// This API is still proposed but we don't intent on promoting it to stable due to problems
// around performance. See #145234 for a more likely API to get... | /content/code_sandbox/typings/vscode-proposed/vscode.proposed.terminalDataWriteEvent.d.ts | xml | 2016-01-19T10:50:01 | 2024-08-12T21:05:24 | pythonVSCode | DonJayamanne/pythonVSCode | 2,078 | 197 |
```xml
// a slider that shows the history of the diagram layout optimization, requesting shapes from the worker and rendering them on demand
import { penroseBlue } from "@penrose/components";
import { isPenroseError, runtimeError } from "@penrose/core";
import { useState } from "react";
import { useRecoilState, useRec... | /content/code_sandbox/packages/editor/src/components/LayoutTimelineSlider.tsx | xml | 2016-09-22T04:47:19 | 2024-08-16T13:00:54 | penrose | penrose/penrose | 6,760 | 569 |
```xml
<shape xmlns:android="path_to_url"
android:shape="rectangle">
<gradient
android:angle="135"
android:centerColor="#4CAF50"
android:endColor="#2E7D32"
android:startColor="#81C784"
android:type="linear"/>
</shape>
``` | /content/code_sandbox/app/src/main/res/drawable/side_nav_bar.xml | xml | 2016-05-23T14:19:17 | 2024-08-02T07:38:08 | ColorfulNews | kaku2015/ColorfulNews | 1,312 | 67 |
```xml
import { FieldNode, GraphQLFieldConfig, GraphQLSchema } from 'graphql';
import { DelegationContext, SubschemaConfig, Transform } from '@graphql-tools/delegate';
import { ExecutionRequest, MapperKind, mapSchema } from '@graphql-tools/utils';
import TransformObjectFields from './TransformObjectFields.js';
type Re... | /content/code_sandbox/packages/wrap/src/transforms/RenameObjectFieldArguments.ts | xml | 2016-03-22T00:14:38 | 2024-08-16T02:02:06 | graphql-tools | ardatan/graphql-tools | 5,331 | 777 |
```xml
import * as React from 'react';
import {
FolderRegular,
EditRegular,
OpenRegular,
DocumentRegular,
PeopleRegular,
DocumentPdfRegular,
VideoRegular,
} from '@fluentui/react-icons';
import {
PresenceBadgeStatus,
Avatar,
TableBody,
TableCell,
TableRow,
Table,
TableHeader,
TableHeaderCe... | /content/code_sandbox/packages/react-components/react-table/stories/src/Table/SubtleSelection.stories.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 1,339 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Platforms>AnyCPU;x86</Platforms>
</PropertyGroup>
</Project>
``` | /content/code_sandbox/GameMaths/GameMaths.csproj | xml | 2016-03-25T11:39:45 | 2024-08-16T04:33:58 | GameServer | LeagueSandbox/GameServer | 1,045 | 46 |
```xml
import { type FC, memo } from 'react';
import { Link } from 'react-router-dom';
import { ButtonLike, type ButtonLikeProps } from '@proton/atoms/Button';
import { ItemTag } from '@proton/pass/components/Item/List/ItemTag';
import type { ItemRevision } from '@proton/pass/types';
import clsx from '@proton/utils/cl... | /content/code_sandbox/packages/pass/components/Item/Pinned/PinnedItem.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 242 |
```xml
import * as assert from "assert"
import { unescape } from "lodash"
import { StackElement } from "vscode-textmate"
import * as markdown from "./../../browser/src/Editor/NeovimEditor/markdown"
describe("Markdown Conversion Functions", () => {
it("Scopes to string fn should correctly convert scopes to classnam... | /content/code_sandbox/browser/test/MarkdownTests.ts | xml | 2016-11-16T14:42:55 | 2024-08-14T11:48:05 | oni | onivim/oni | 11,355 | 978 |
```xml
import Head from 'next/head'
import React, { useEffect } from 'react'
import { useRouter } from 'next/router'
import { Card, Image, Layout } from 'antd'
import { useCurrentUserQuery } from '../../components/Me/meHooks'
import getPageTitle from '../../lib/getPageTitle'
import BuiltWithCodeGenie from '../BuiltWith... | /content/code_sandbox/examples/lambda-function-url/packages/ui/components/layouts/UnauthenticatedPage.tsx | xml | 2016-09-13T23:29:07 | 2024-08-15T09:52:47 | serverless-express | CodeGenieApp/serverless-express | 5,117 | 474 |
```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:orientation="vertical">
<CheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
an... | /content/code_sandbox/app/app/src/main/res/layout/authflood_dialog.xml | xml | 2016-10-27T09:31:28 | 2024-08-16T19:00:35 | nexmon | seemoo-lab/nexmon | 2,381 | 144 |
```xml
import {
ChangeDetectionStrategy,
ChangeDetectorRef,
Component,
ComponentFactoryResolver,
ContentChildren,
EventEmitter,
HostBinding,
Input,
Output,
QueryList,
Type,
ViewChild,
ViewChildren,
ViewContainerRef
} from "@angular/core";
import { UntypedFormGroup... | /content/code_sandbox/projects/ng-dynamic-forms/ui-primeng/src/lib/dynamic-primeng-form-control-container.component.ts | xml | 2016-06-01T20:26:33 | 2024-08-05T16:40:39 | ng-dynamic-forms | udos86/ng-dynamic-forms | 1,315 | 2,040 |
```xml
import { removeBin, removeBinsOfDependency } from './removeBins'
export {
removeBin,
removeBinsOfDependency,
}
``` | /content/code_sandbox/pkg-manager/remove-bins/src/index.ts | xml | 2016-01-28T07:40:43 | 2024-08-16T12:38:47 | pnpm | pnpm/pnpm | 28,869 | 29 |
```xml
import { type FC, useEffect, useState } from 'react';
import { useLocation, useParams } from 'react-router';
import { c } from 'ttag';
import warningIcon from '@proton/pass/assets/secure-link/secure-link-warning.svg';
import { ItemContentView } from '@proton/pass/components/Item/Containers/ItemContentView';
im... | /content/code_sandbox/packages/pass/components/SecureLink/SecureLinkView.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 647 |
```xml
import { SystemInfoService } from '../../../../shared/services';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ConfirmationDialogComponent } from '../../../../shared/components/confirmation-dialog';
import { ProjectPolicyConfigComponent } from './project-policy-config.component';
im... | /content/code_sandbox/src/portal/src/app/base/project/project-config/project-policy-config/project-policy-config.component.spec.ts | xml | 2016-01-28T21:10:28 | 2024-08-16T15:28:34 | harbor | goharbor/harbor | 23,335 | 1,136 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="path_to_url"
package="com.github.mobile">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.GET_... | /content/code_sandbox/app/src/main/AndroidManifest.xml | xml | 2016-04-09T16:05:02 | 2024-08-08T06:37:18 | trugithub | kba7/trugithub | 2,055 | 2,872 |
```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 * as random from '@stdlib/types/random'... | /content/code_sandbox/lib/node_modules/@stdlib/random/iter/frechet/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 558 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.