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
/*
* 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/electron/src/window/ProxyPromptWindow.ts | xml | 2016-07-26T13:55:48 | 2024-08-16T03:45:51 | wire-desktop | wireapp/wire-desktop | 1,075 | 711 |
```xml
import { ItemDataType, DataProps, WithAsProps, ToArray } from '@/internals/types';
export interface SelectNode<T> {
itemData: ItemDataType<T>;
cascadePaths: ItemDataType<T>[];
isLeafNode: boolean;
}
export interface CascadeColumn<T> {
items: readonly ItemDataType<T>[];
parentItem?: ItemDataType<T>;
... | /content/code_sandbox/src/CascadeTree/types.ts | xml | 2016-06-06T02:27:46 | 2024-08-16T16:41:54 | rsuite | rsuite/rsuite | 8,263 | 458 |
```xml
import { sync, SyncOpts } from 'resolve';
import fs from 'fs';
import path from 'path';
import { toNormalizedRealPath } from './common';
import type { PackageJson } from './types';
const PROOF = 'a-proof-that-main-is-captured.js';
function parentDirectoriesContain(parent: string, directory: string) {
let cu... | /content/code_sandbox/lib/follow.ts | xml | 2016-08-08T19:41:59 | 2024-08-16T09:12:35 | pkg | vercel/pkg | 24,257 | 647 |
```xml
import { UntypedFormGroup, ValidationErrors } from "@angular/forms";
import {
FormGroupControls,
FormValidationErrorsService as FormValidationErrorsAbstraction,
AllValidationErrors,
} from "../abstractions/form-validation-errors.service";
export class FormValidationErrorsService implements FormValidation... | /content/code_sandbox/libs/angular/src/platform/services/form-validation-errors.service.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 198 |
```xml
import { Coordinate } from '@antv/coord';
import { isTranspose } from '../../utils/coordinate';
import { ShapeComponent as SC, Vector2 } from '../../runtime';
import { Funnel } from './funnel';
export type PyramidOptions = Record<string, any>;
/**
* Adjust and return the new `points`.
*/
function getPyramidP... | /content/code_sandbox/src/shape/interval/pyramid.ts | xml | 2016-05-26T09:21:04 | 2024-08-15T16:11:17 | G2 | antvis/G2 | 12,060 | 410 |
```xml
import { getEntityManager } from 'toolkit/extension/utils/ynab';
import { YNABTransaction } from 'toolkit/types/ynab/data/transaction';
interface Activities {
Account: string;
Date: string;
Payee: any;
Category: string;
Memo: string;
Amount: string;
}
export default function copyTransactionsToClipb... | /content/code_sandbox/src/extension/features/general/category-activity-copy/copyTransactionsToClipboard.ts | xml | 2016-01-03T05:38:10 | 2024-08-13T16:08:09 | toolkit-for-ynab | toolkit-for-ynab/toolkit-for-ynab | 1,418 | 346 |
```xml
/* eslint-disable @typescript-eslint/no-non-null-assertion */
// import pnp, pnp logging system, and any other selective imports needed
import { spfi, SPFI, SPFx } from "@pnp/sp";
import "@pnp/sp/webs";
import "@pnp/sp/lists";
import "@pnp/sp/items";
import "@pnp/sp/batching";
import { LogLevel, PnPLogging } fr... | /content/code_sandbox/samples/react-personal-tools-list/src/webparts/myTools/data/pnpjs-config.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 352 |
```xml
import { useEffect } from 'react';
import { connect } from 'react-redux';
import { ONE_SECOND_IN_MS } from '../../helpers/constants';
import { setProtectionTimerTime, toggleProtectionSuccess } from '../../actions';
let interval: any = null;
interface ProtectionTimerProps {
protectionDisabledDuration?: nu... | /content/code_sandbox/client/src/components/ProtectionTimer/index.ts | xml | 2016-07-06T10:31:47 | 2024-08-16T18:17:06 | AdGuardHome | AdguardTeam/AdGuardHome | 24,082 | 289 |
```xml
// Types
import type { DirectiveBinding } from 'vue'
interface ResizeDirectiveBinding extends Omit<DirectiveBinding, 'modifiers'> {
value: () => void
modifiers?: {
active?: boolean
quiet?: boolean
}
}
function mounted (el: HTMLElement, binding: ResizeDirectiveBinding) {
const handler = binding.... | /content/code_sandbox/packages/vuetify/src/directives/resize/index.ts | xml | 2016-09-12T00:39:35 | 2024-08-16T20:06:39 | vuetify | vuetifyjs/vuetify | 39,539 | 248 |
```xml
import { Column, Entity } from "../../../src/index"
import { ObjectIdColumn } from "../../../src/decorator/columns/ObjectIdColumn"
import { ObjectId } from "../../../src/driver/mongodb/typings"
@Entity("sample34_post")
export class Post {
@ObjectIdColumn()
id: ObjectId
@Column()
title: string
... | /content/code_sandbox/sample/sample34-mongodb/entity/Post.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 102 |
```xml
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/gfx/screen.h"
#import <ApplicationServices/ApplicationServices.h>
#import <Cocoa/Cocoa.h>
#include <stdint.h>
#include <map>
#include "base/logging.h"
#include "base/mac/sdk_forward_declaratio... | /content/code_sandbox/orig_chrome/ui/gfx/screen_mac.mm | xml | 2016-09-27T03:41:10 | 2024-08-16T10:42:57 | miniblink49 | weolar/miniblink49 | 7,069 | 2,193 |
```xml
export default function handleRequest(
request: Request,
) {
return new Response("This is a custom entry.server response");
}
``` | /content/code_sandbox/packages/remix/test/fixtures-vite/05-custom-entry-server/app/entry.server.ts | xml | 2016-09-09T01:12:08 | 2024-08-16T17:39:45 | vercel | vercel/vercel | 12,545 | 28 |
```xml
import { MigrationInterface } from "../../../../../src/migration/MigrationInterface"
import { QueryRunner } from "../../../../../src/query-runner/QueryRunner"
export class ExampleMigration1530542855524 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {}
public asy... | /content/code_sandbox/test/functional/migrations/show-command/migration/1530542855524-ExampleMigration.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 73 |
```xml
import 'reflect-metadata';
import { assert } from 'chai';
import { InversifyContainerFacade } from '../../../src/container/InversifyContainerFacade';
import { ServiceIdentifiers } from '../../../src/container/ServiceIdentifiers';
import { IInversifyContainerFacade } from '../../../src/interfaces/container/IIn... | /content/code_sandbox/test/unit-tests/utils/EscapeSequenceEncoder.spec.ts | xml | 2016-05-09T08:16:53 | 2024-08-16T19:43:07 | javascript-obfuscator | javascript-obfuscator/javascript-obfuscator | 13,358 | 613 |
```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 itercumidrange = require( './index' );
/**
* Returns an iterator protocol-compliant object.
*
* @returns i... | /content/code_sandbox/lib/node_modules/@stdlib/stats/iter/cumidrange/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 347 |
```xml
import { generateModels } from './connectionResolver';
import { IContract } from './models/definitions/contracts';
export const IMPORT_EXPORT_TYPES = [
{
text: 'Loan Contract',
contentType: 'contract',
icon: 'server-alt'
}
];
export default {
importExportTypes: IMPORT_EXPORT_TYPES,
insertI... | /content/code_sandbox/packages/plugin-loans-api/src/imports.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 419 |
```xml
export class InjectionError extends TypedInjectError {
constructor(public readonly path: InjectionTarget[], public readonly cause: Error) {
super(`Could not ${describeInjectAction(path[0])} ${path.map(name).join(' -> ')}. Cause: ${cause.message}`);
}
}
// See path_to_url
export class UniqueKeyFailedErro... | /content/code_sandbox/packages/instrumenter/testResources/instrumenter/super-call.ts | xml | 2016-02-12T13:14:28 | 2024-08-15T18:38:25 | stryker-js | stryker-mutator/stryker-js | 2,561 | 139 |
```xml
<resources>
<string name="app_name">FragNav</string>
</resources>
``` | /content/code_sandbox/frag-nav/src/main/res/values/strings.xml | xml | 2016-03-26T23:52:32 | 2024-08-15T19:57:39 | FragNav | ncapdevi/FragNav | 1,499 | 21 |
```xml
import * as React from 'react';
import { WordGameListItem } from './WordService';
export interface IWordHighScoresProps {
scores: WordGameListItem[];
}
export default class WordHighScores extends React.Component<IWordHighScoresProps, {}> {
constructor(props: IWordHighScoresProps) {
super(props);
}
... | /content/code_sandbox/samples/react-word-game/src/webparts/wordGame/components/WordHighScores.tsx | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 275 |
```xml
import React from 'react';
import { ToggleButton } from 'react-bootstrap';
import Button from '../../../common/Button';
import { FormWrapper } from '../../../styles/main';
import { IUser } from '../../../types';
type Props = {
currentUser: IUser;
onSave: (doc: { [key: string]: any }) => void;
};
export de... | /content/code_sandbox/exm/modules/main/components/notifications/Settings.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 410 |
```xml
import type { Command as CoreCommand, Disposable, Uri } from 'vscode';
import { commands } from 'vscode';
import type { Action, ActionContext } from '../api/gitlens';
import type { Command } from '../commands/base';
import type { CoreCommands, CoreGitCommands, TreeViewCommands } from '../constants';
import { Com... | /content/code_sandbox/src/system/command.ts | xml | 2016-08-08T14:50:30 | 2024-08-15T21:25:09 | vscode-gitlens | gitkraken/vscode-gitlens | 8,889 | 1,147 |
```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.
*/
-->
<dictionary>
<part name = "main" />
</dictionary>
``` | /content/code_sandbox/app/src/main/res/xml/dictionary.xml | xml | 2016-01-22T21:40:54 | 2024-08-16T11:54:30 | hackerskeyboard | klausw/hackerskeyboard | 1,807 | 72 |
```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 iterRound2 = require( './index' );
/**
* Returns an iterator protocol-compliant object.
*
* @returns itera... | /content/code_sandbox/lib/node_modules/@stdlib/math/iter/special/round2/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 336 |
```xml
import { observer } from "mobx-react-lite"
import { FC, useCallback, useState } from "react"
import { addTimeSignature, setLoopBegin, setLoopEnd } from "../../actions"
import { useStores } from "../../hooks/useStores"
import { envString } from "../../localize/envString"
import { Localized } from "../../localize/... | /content/code_sandbox/app/src/components/PianoRoll/RulerContextMenu.tsx | xml | 2016-03-06T15:19:53 | 2024-08-15T14:27:10 | signal | ryohey/signal | 1,238 | 607 |
```xml
<dict>
<key>LayoutID</key>
<integer>18</integer>
<key>PathMapRef</key>
<array>
<dict>
<key>CodecID</key>
<array>
<integer>283903586</integer>
</array>
<key>Headphone</key>
<dict/>
<key>Inputs</key>
<array>
<string>Mic</string>
<string>LineIn</string>
</array>
<key>Int... | /content/code_sandbox/Resources/ALC662/layout18.xml | xml | 2016-03-07T20:45:58 | 2024-08-14T08:57:03 | AppleALC | acidanthera/AppleALC | 3,420 | 4,937 |
```xml
/* eslint-disable */
export default {
displayName: 'tenant-management',
preset: '../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
globals: {},
coverageDirectory: '../../coverage/packages/tenant-management',
transform: {
'^.+.(ts|mjs|js|html)$': [
'jest-preset-angu... | /content/code_sandbox/npm/ng-packs/packages/tenant-management/jest.config.ts | xml | 2016-12-03T22:56:24 | 2024-08-16T16:24:05 | abp | abpframework/abp | 12,657 | 182 |
```xml
export default function Page() {
return (
<>
<h1>Next.js 13 + Grafbase</h1>
<p>
Once you've added some posts using the GraphQL Playground, you can
explore each post by clicking the link in the nav.
</p>
</>
);
}
``` | /content/code_sandbox/examples/with-grafbase/app/page.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 68 |
```xml
import { addNamespaceToPath, titleCase, upperFirst } from './helpers';
describe('addNamespaceToPath', () => {
it('should return a path with the namespace key', () => {
const path = '/';
const key = 'example';
const result = addNamespaceToPath(path, key);
expect(result).toEqual('/namespaces/exa... | /content/code_sandbox/ui/src/utils/helpers.test.ts | xml | 2016-11-05T00:09:07 | 2024-08-16T13:44:10 | flipt | flipt-io/flipt | 3,489 | 343 |
```xml
import type { ClientCertificate } from 'insomnia/src/models/client-certificate';
import type { CookieJar as InsomniaCookieJar } from 'insomnia/src/models/cookie-jar';
import type { Request } from 'insomnia/src/models/request';
import type { Settings } from 'insomnia/src/models/settings';
import type { sendCurlAn... | /content/code_sandbox/packages/insomnia-sdk/src/objects/interfaces.ts | xml | 2016-04-23T03:54:26 | 2024-08-16T16:50:44 | insomnia | Kong/insomnia | 34,054 | 222 |
```xml
import { LOCKFILE_VERSION, WANTED_LOCKFILE } from '@pnpm/constants'
import { filterLockfileByImporters } from '@pnpm/lockfile.filtering'
import { type DepPath, type ProjectId } from '@pnpm/types'
test('filterByImporters(): only prod dependencies of one importer', () => {
const filteredLockfile = filterLockfil... | /content/code_sandbox/lockfile/filtering/test/filterByImporters.ts | xml | 2016-01-28T07:40:43 | 2024-08-16T12:38:47 | pnpm | pnpm/pnpm | 28,869 | 2,919 |
```xml
//
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, a... | /content/code_sandbox/src/common/providers/identity.ts | xml | 2016-09-22T23:13:54 | 2024-08-16T17:59:09 | firebase-functions | firebase/firebase-functions | 1,015 | 5,743 |
```xml
<animated-vector
xmlns:android="path_to_url"
xmlns:aapt="path_to_url"
android:drawable="@drawable/vd_checkable_radiobutton_unchecked">
<target android:name="ring_outer">
<aapt:attr name="android:animation">
<set>
<set android:ordering="sequentially">
<objectAnimator
... | /content/code_sandbox/app/src/main/res/drawable/avd_checkable_radiobutton_unchecked_to_checked.xml | xml | 2016-11-04T14:23:35 | 2024-08-12T07:50:44 | adp-delightful-details | alexjlockwood/adp-delightful-details | 1,070 | 1,146 |
```xml
import classnames from 'classnames';
import React, { type FC, memo } from 'react';
import * as misc from '../../../common/misc';
import { Tooltip } from '../tooltip';
interface Props {
bytesRead: number;
bytesContent: number;
small?: boolean;
className?: string;
tooltipDelay?: number;
}
export const... | /content/code_sandbox/packages/insomnia/src/ui/components/tags/size-tag.tsx | xml | 2016-04-23T03:54:26 | 2024-08-16T16:50:44 | insomnia | Kong/insomnia | 34,054 | 333 |
```xml
import React from 'react'
import styled from '../../lib/styled'
import cc from 'classcat'
interface BorderSeparatorProps {
variant?: 'main' | 'second'
}
const BorderSeparator = ({ variant = 'main' }: BorderSeparatorProps) => (
<Container
className={cc([`border__separator`, `border__separator--${variant... | /content/code_sandbox/src/design/components/atoms/BorderSeparator.tsx | xml | 2016-11-19T14:30:34 | 2024-08-16T03:13:45 | BoostNote-App | BoostIO/BoostNote-App | 3,745 | 165 |
```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 atand = require( './index' );
// TESTS //
// The function returns a number...
{
atand( 0.5 ); // $Expec... | /content/code_sandbox/lib/node_modules/@stdlib/math/base/special/atand/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 220 |
```xml
/**
* @license
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at path_to_url
*/
import {CSP_NONCE, Directive, ElementRef, Inject, OnDestroy, OnInit, Optional} from '@angular/core';
import {DOCUMENT} from '@angular/common';
import {Directionality} fro... | /content/code_sandbox/src/cdk-experimental/table-scroll-container/table-scroll-container.ts | xml | 2016-01-04T18:50:02 | 2024-08-16T11:21:13 | components | angular/components | 24,263 | 1,194 |
```xml
import { Routes } from '@angular/router';
import { DocumentationComponent } from './documentation.component';
export const routes: Routes = [
{
path: '',
component: DocumentationComponent,
},
];
``` | /content/code_sandbox/projects/demo/src/app/pages/documentation/documentation.routes.ts | xml | 2016-08-10T10:25:51 | 2024-08-05T21:57:53 | ng2-smart-table | akveo/ng2-smart-table | 1,631 | 42 |
```xml
import { call, put, select, takeEvery } from 'redux-saga/effects';
import { c } from 'ttag';
import { PassErrorCode } from '@proton/pass/lib/api/errors';
import { getPrimaryPublicKeyForEmail } from '@proton/pass/lib/auth/address';
import { createNewUserInvites, createUserInvites } from '@proton/pass/lib/invites... | /content/code_sandbox/packages/pass/store/sagas/invites/invite-create.saga.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 1,162 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<manifest package="com.kodelabs.boilerplate"
xmlns:android="path_to_url">
<application
android:name="com.kodelabs.boilerplate.AndroidApplication"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/ap... | /content/code_sandbox/app/src/main/AndroidManifest.xml | xml | 2016-01-26T19:23:41 | 2024-08-03T17:18:33 | Android-Clean-Boilerplate | dmilicic/Android-Clean-Boilerplate | 2,200 | 158 |
```xml
import { ExpoConfig } from '@expo/config';
import JsonFile, { JSONObject } from '@expo/json-file';
import path from 'path';
import { CommandError } from '../utils/errors';
export type LocaleMap = Record<string, JSONObject>;
// Similar to how we resolve locales in `@expo/config-plugins`
export async function g... | /content/code_sandbox/packages/@expo/cli/src/export/getResolvedLocales.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 256 |
```xml
/*your_sha256_hash-----------------------------
*your_sha256_hash----------------------------*/
import { testTokenization } from '../test/testRunner';
testTokenization('csp', []);
``` | /content/code_sandbox/src/basic-languages/csp/csp.test.ts | xml | 2016-06-07T16:56:31 | 2024-08-16T17:17:05 | monaco-editor | microsoft/monaco-editor | 39,508 | 35 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="path_to_url"
xmlns:tools="path_to_url"
android:id="@+id/statusm"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:orientation="vertical... | /content/code_sandbox/limbo-android-lib/src/main/res/layout/status_layout.xml | xml | 2016-02-13T09:05:37 | 2024-08-16T14:28:26 | limbo | limboemu/limbo | 2,563 | 218 |
```xml
import { Output, Template, Tag } from 'liquidjs'
import { isLayoutTag, isIfTag, isUnlessTag, isLiquidTag, isCaseTag, isCaptureTag, isTablerowTag, isForTag } from './type-guards'
/**
* iterate over all `{{ output }}`
*/
export function * getOutputs (templates: Template[]): Generator<Output, void> {
for (cons... | /content/code_sandbox/demo/template/get-outputs.ts | xml | 2016-06-13T07:39:30 | 2024-08-16T16:56:50 | liquidjs | harttle/liquidjs | 1,485 | 242 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Collections</name>
</assembly>
<members>
<member name="T:System.Collections.BitArray">
<summary> , , true 1, false 0.</summary>
<filterpriority>2</filterpriority>
</member>
<member name="M:System.Col... | /content/code_sandbox/packages/System.Collections.4.0.0/ref/netcore50/ru/System.Collections.xml | xml | 2016-04-24T09:50:47 | 2024-08-16T11:45:14 | ILRuntime | Ourpalm/ILRuntime | 2,976 | 52,985 |
```xml
import { Component } from '@angular/core';
import { Code } from '@domain/code';
@Component({
selector: 'dynamic-doc',
template: `
<app-docsectiontext>
<p>AccordionTabs can be generated dynamically using the standard <i>ngFor</i> directive.</p>
</app-docsectiontext>
<d... | /content/code_sandbox/src/app/showcase/doc/accordion/dynamicdoc.ts | xml | 2016-01-16T09:23:28 | 2024-08-16T19:58:20 | primeng | primefaces/primeng | 9,969 | 516 |
```xml
import {Inject} from "@tsed/common";
import {getWorkerToken} from "../utils/getWorkerToken.js";
export function InjectWorker(name: string) {
return Inject(getWorkerToken(name));
}
``` | /content/code_sandbox/packages/third-parties/bullmq/src/decorators/InjectWorker.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 43 |
```xml
<Page x:Class="Telegram.Views.Host.StandalonePage"
xmlns="path_to_url"
xmlns:x="path_to_url"
xmlns:local="using:Telegram.Views.Host"
xmlns:controls="using:Telegram.Controls"
xmlns:d="path_to_url"
xmlns:mc="path_to_url"
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
... | /content/code_sandbox/Telegram/Views/Host/StandalonePage.xaml | xml | 2016-05-23T09:03:33 | 2024-08-16T16:17:48 | Unigram | UnigramDev/Unigram | 3,744 | 4,220 |
```xml
import { parseModule, projectRoot } from './mini-metro';
import { wrapModule } from '../js';
jest.mock('fs');
async function helpWrap(src: string, options: Partial<Parameters<typeof wrapModule>[1]>) {
return wrapModule(await parseModule('index.js', src, {}), {
computedAsyncModulePaths: null,
createMo... | /content/code_sandbox/packages/@expo/metro-config/src/serializer/fork/__tests__/js.test.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 1,623 |
```xml
<vector xmlns:android="path_to_url"
android:width="40dp"
android:height="40dp"
android:viewportWidth="40"
android:viewportHeight="40">
<path
android:fillColor="@color/teal_300"
android:pathData="M20,20m-20,0a20,20 0,1 1,40 0a20,20 0,1 1,-40 0" />
<path
android:fill... | /content/code_sandbox/app/src/main/res/drawable/ic_chat_avatar_select.xml | xml | 2016-05-04T11:46:20 | 2024-08-15T16:29:10 | android | meganz/android | 1,537 | 177 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="path_to_url">
<ItemGroup>
<Filter Include="">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Includ... | /content/code_sandbox/LearningOpenGL/LearnOpenGLDemo/LearnOpenGLDemo/LearnOpenGLDemo.vcxproj.filters | xml | 2016-04-25T14:37:08 | 2024-08-16T09:19:37 | Unity3DTraining | XINCGer/Unity3DTraining | 7,368 | 829 |
```xml
import { describe, expect, it } from "vitest";
import { Formatter } from "@export/formatter";
import { PageOrientation, PageSize } from "./page-size";
describe("PageSize", () => {
describe("#constructor()", () => {
it("should create page size with portrait", () => {
const properties = ... | /content/code_sandbox/src/file/document/body/section-properties/properties/page-size.spec.ts | xml | 2016-03-26T23:43:56 | 2024-08-16T13:02:47 | docx | dolanmiu/docx | 4,139 | 258 |
```xml
import { describe, expect, it } from 'vitest';
import { getJavaScriptTemplateForNewStoryFile } from './javascript';
describe('javascript', () => {
it('should return a TypeScript template with a default import', async () => {
const result = await getJavaScriptTemplateForNewStoryFile({
basenameWithou... | /content/code_sandbox/code/core/src/core-server/utils/new-story-templates/javascript.test.ts | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 258 |
```xml
/* tslint:disable */
/* eslint-disable */
// @generated
// This file was automatically generated and should not be edited.
import {
PaginationQuery,
AccessType,
} from '../../../../../../graphql-types/graphql-global-types';
// ====================================================
// GraphQL query operation:... | /content/code_sandbox/webapp/client/src/features/versioning/repositories/store/repositoriesQuery/graphql-types/Repositories.ts | xml | 2016-10-19T01:07:26 | 2024-08-14T03:53:55 | modeldb | VertaAI/modeldb | 1,689 | 552 |
```xml
/* Browser Crypto Shims */
import { hmac } from "@noble/hashes/hmac";
import { pbkdf2 } from "@noble/hashes/pbkdf2";
import { sha256 } from "@noble/hashes/sha256";
import { sha512 } from "@noble/hashes/sha512";
import { assert, assertArgument } from "../utils/index.js";
declare global {
interface Window ... | /content/code_sandbox/src.ts/crypto/crypto-browser.ts | xml | 2016-07-16T04:35:37 | 2024-08-16T13:37:46 | ethers.js | ethers-io/ethers.js | 7,843 | 529 |
```xml
import * as React from 'react';
import {
FlatTree,
FlatTreeItem,
TreeItemLayout,
TreeOpenChangeData,
TreeOpenChangeEvent,
HeadlessFlatTreeItemProps,
useHeadlessFlatTree_unstable,
TreeItemValue,
FlatTreeItemProps,
} from '@fluentui/react-components';
import { Delete20Regular } from '@fluentui/re... | /content/code_sandbox/packages/react-components/react-tree/stories/src/Tree/TreeManipulation.stories.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 1,469 |
```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="ru" original="../LocalizableSt... | /content/code_sandbox/src/Cli/dotnet/commands/dotnet-new/xlf/LocalizableStrings.ru.xlf | xml | 2016-07-22T21:26:02 | 2024-08-16T17:23:58 | sdk | dotnet/sdk | 2,627 | 3,566 |
```xml
import { splitExtension } from '@proton/shared/lib/helpers/file';
import isTruthy from '@proton/utils/isTruthy';
import type { EncryptedLink } from './interface';
export const WINDOWS_FORBIDDEN_CHARACTERS = /[<>:"|?*]/;
// eslint-disable-next-line no-control-regex
export const GLOBAL_FORBIDDEN_CHARACTERS = /\/... | /content/code_sandbox/packages/drive-store/store/_links/link.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 757 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="path_to_url"
xmlns:app="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
tools:context... | /content/code_sandbox/app/src/main/res/layout/activity_palette.xml | xml | 2016-08-08T08:52:10 | 2024-08-12T19:24:13 | AndroidAnimationExercise | REBOOTERS/AndroidAnimationExercise | 1,868 | 483 |
```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
/**
* Returns an error code identifier prefix associated with a specified package name... | /content/code_sandbox/lib/node_modules/@stdlib/error/tools/pkg2id/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 145 |
```xml
/*
* decaffeinate suggestions:
* DS201: Simplify complex destructure assignments
* DS205: Consider reworking code to avoid use of IIFEs
* DS207: Consider shorter variations of null checks
* Full docs: path_to_url
*/
import _ from 'underscore';
// Public: To make specs easier to test, we make all asynchron... | /content/code_sandbox/app/spec/spec-runner/time-override.ts | xml | 2016-10-13T06:45:50 | 2024-08-16T18:14:37 | Mailspring | Foundry376/Mailspring | 15,331 | 889 |
```xml
import { SymmetricCryptoKey } from "../models/domain/symmetric-crypto-key";
import { InitializerMetadata } from "./initializer-metadata.interface";
/**
* An object that contains EncStrings and knows how to decrypt them. This is usually a domain object with the
* corresponding view object as the type argument... | /content/code_sandbox/libs/common/src/platform/interfaces/decryptable.interface.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 110 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>Pulumi Corp.</Authors>
<Company>Pulumi Corp.</Company>
<Description></Description>
<PackageProjectUrl></PackageProjectUrl>
<RepositoryUrl></RepositoryUrl>
<PackageIcon>l... | /content/code_sandbox/tests/testdata/codegen/provider-config-schema/dotnet/Configstation.Pulumi.Configstation.csproj | xml | 2016-10-31T21:02:47 | 2024-08-16T19:47:04 | pulumi | pulumi/pulumi | 20,743 | 451 |
```xml
import React, { useEffect } from 'react'
import {
Button,
Typography,
Form,
Input,
} from 'antd'
import { useRouter } from 'next/router'
import Link from 'next/link'
import UnauthenticatedPage from '../components/layouts/UnauthenticatedPage'
import { useVerifyAccountMutation } from '../components/Me/meHo... | /content/code_sandbox/examples/lambda-function-url/packages/ui/pages/verify.tsx | xml | 2016-09-13T23:29:07 | 2024-08-15T09:52:47 | serverless-express | CodeGenieApp/serverless-express | 5,117 | 568 |
```xml
import { trpc } from '../trpc';
export default function useCompanyOptions(query: string) {
const companies = trpc.useQuery([
'companies.list',
{
name: query,
},
]);
const { data, ...restQuery } = companies;
return {
data:
data?.map(({ id, name }) => ({
id,
l... | /content/code_sandbox/apps/portal/src/utils/shared/useCompanyOptions.ts | xml | 2016-07-05T05:00:48 | 2024-08-16T19:01:19 | tech-interview-handbook | yangshun/tech-interview-handbook | 115,302 | 101 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="path_to_url">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
... | /content/code_sandbox/node/openssl/openssl-cli.vcxproj | xml | 2016-09-27T03:41:10 | 2024-08-16T10:42:57 | miniblink49 | weolar/miniblink49 | 7,069 | 3,048 |
```xml
import { format as formatDate } from "date-fns";
import * as React from "react";
import { dateLocale, dateToRelative, locales } from "@shared/utils/date";
import Tooltip from "~/components/Tooltip";
import useUserLocale from "~/hooks/useUserLocale";
let callbacks: (() => void)[] = [];
// This is a shared timer... | /content/code_sandbox/app/components/LocaleTime.tsx | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 551 |
```xml
import Head from 'next/head';
import parse from 'html-react-parser';
export default function Home() {
return (
<div>
<Head>
<title>Create Next App</title>
</Head>
<main>
<h1 className="title">
{parse(`
Welcome to <a href="path_to_url">Next.js</a>
... | /content/code_sandbox/examples/nextjs/pages/index.tsx | xml | 2016-08-20T00:22:07 | 2024-08-14T14:25:28 | html-react-parser | remarkablemark/html-react-parser | 2,066 | 129 |
```xml
export * from './memory-storage';
``` | /content/code_sandbox/packages/memory-storage/src/index.ts | xml | 2016-08-26T18:35:03 | 2024-08-16T16:40:08 | crawlee | apify/crawlee | 14,153 | 8 |
```xml
import { beforeEach, expect, it, vi } from 'vitest';
import ansiRegex from 'ansi-regex';
import type { LogResult } from 'simple-git';
import { run } from '../label-patches';
import * as githubInfo_ from '../utils/get-github-info';
import * as gitClient_ from '../utils/git-client';
import * as github_ from '../... | /content/code_sandbox/scripts/release/__tests__/label-patches.test.ts | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 1,710 |
```xml
/*
*
* See the LICENSE file at the top-level directory of this distribution
* for licensing information.
*
* Unless otherwise agreed in a custom licensing agreement with the Lisk Foundation,
* no part of this software, including this file, may be copied, modified,
* propagated, or distributed except accor... | /content/code_sandbox/framework/src/modules/token/index.ts | xml | 2016-02-01T21:45:35 | 2024-08-15T19:16:48 | lisk-sdk | LiskArchive/lisk-sdk | 2,721 | 221 |
```xml
import { LOCALE_ID, Inject, Injectable } from '@angular/core';
import { CalendarEventTitleFormatter, CalendarEvent } from 'angular-calendar';
import { formatDate } from '@angular/common';
@Injectable()
export class CustomEventTitleFormatter extends CalendarEventTitleFormatter {
constructor(@Inject(LOCALE_ID) ... | /content/code_sandbox/projects/demos/app/demo-modules/show-dates-on-titles/custom-event-title-formatter.provider.ts | xml | 2016-04-26T15:19:33 | 2024-08-08T14:23:40 | angular-calendar | mattlewis92/angular-calendar | 2,717 | 207 |
```xml
import React from 'react';
import { Nav } from 'rsuite';
import StaticCodeView from '../CodeView/StaticCodeView';
const unstyledComponents = [
'Schema',
'DOMHelper',
'Whisper',
'SafeAnchor',
'Affix',
'internals',
'CustomProvider',
'locales',
'MaskedInput'
];
const defaultCommands = {
main: ... | /content/code_sandbox/docs/components/ImportGuide/ImportGuide.tsx | xml | 2016-06-06T02:27:46 | 2024-08-16T16:41:54 | rsuite | rsuite/rsuite | 8,263 | 502 |
```xml
import React from 'react';
import { Chart as ChartJS, ArcElement, Tooltip, Legend } from 'chart.js';
import { Pie } from 'react-chartjs-2';
ChartJS.register(ArcElement, Tooltip, Legend);
export const data = {
labels: ['Red', 'Blue', 'Yellow', 'Green', 'Purple', 'Orange'],
datasets: [
{
label: '# ... | /content/code_sandbox/sandboxes/pie/default/App.tsx | xml | 2016-05-06T22:01:08 | 2024-08-16T12:44:53 | react-chartjs-2 | reactchartjs/react-chartjs-2 | 6,538 | 339 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="cover_margin_top">28dp</dimen>
</resources>
``` | /content/code_sandbox/app/src/main/res/values-xhdpi/dimens.xml | xml | 2016-01-14T13:38:47 | 2024-08-16T13:03:46 | APlayer | rRemix/APlayer | 1,308 | 37 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<project name="ext-locale" default=".help">
<!--
The build-impl.xml file imported here contains the guts of the build process. It is
a great idea to read that file to understand how the process works, but it is best to
limit your changes to this file.
--... | /content/code_sandbox/ext/packages/ext-locale/build.xml | xml | 2016-04-12T18:27:27 | 2024-08-16T16:17:46 | community-edition | ramboxapp/community-edition | 6,351 | 661 |
```xml
import { SQSHandler, SQSMessageAttributes } from 'aws-lambda';
const receiver: SQSHandler = async (event) => {
try {
for (const record of event.Records) {
const messageAttributes: SQSMessageAttributes = record.messageAttributes;
console.log('Message Attributtes --> ', messageAttributes.Attrib... | /content/code_sandbox/aws-node-typescript-sqs-standard/sqs/receiver.ts | xml | 2016-11-12T02:14:55 | 2024-08-15T16:35:14 | examples | serverless/examples | 11,377 | 116 |
```xml
import useLiveRegionContext from './private/useContext';
import type { StaticElement } from './private/types';
/**
* Queues a static element to the live region.
*
* After the element is queued, screen reader will eventually narrate it and it cannot be changed.
*/
export default function useQueueStaticEleme... | /content/code_sandbox/packages/component/src/providers/LiveRegionTwin/useQueueStaticElement.ts | xml | 2016-07-07T23:16:57 | 2024-08-16T00:12:37 | BotFramework-WebChat | microsoft/BotFramework-WebChat | 1,567 | 86 |
```xml
export { VOtpInput } from './VOtpInput'
``` | /content/code_sandbox/packages/vuetify/src/components/VOtpInput/index.ts | xml | 2016-09-12T00:39:35 | 2024-08-16T20:06:39 | vuetify | vuetifyjs/vuetify | 39,539 | 13 |
```xml
/**
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import {t} from '../i18n';
import {DagCommitInfo} from './dagCommitInfo';
export const YOU_ARE_HERE_VIRTUAL_COMMIT: DagCommitInfo = DagCommitInfo.fromCommitInfo({
hash: 'YO... | /content/code_sandbox/addons/isl/src/dag/virtualCommit.ts | xml | 2016-05-05T16:53:47 | 2024-08-16T19:12:02 | sapling | facebook/sapling | 5,987 | 160 |
```xml
import {OutlineAndFillStyleEnum} from "./DrawingEnums";
import {PointF2D} from "../../Common/DataObjects/PointF2D";
export class GraphicalLine {
constructor(start: PointF2D, end: PointF2D, width: number = 0,
styleEnum: OutlineAndFillStyleEnum = OutlineAndFillStyleEnum.BaseWritingColor,
colo... | /content/code_sandbox/src/MusicalScore/Graphical/GraphicalLine.ts | xml | 2016-02-08T15:47:01 | 2024-08-16T17:49:53 | opensheetmusicdisplay | opensheetmusicdisplay/opensheetmusicdisplay | 1,416 | 279 |
```xml
export interface UnsubscriptionError extends Error {
readonly errors: any[];
}
export interface UnsubscriptionErrorCtor {
new (errors: any[]): UnsubscriptionError;
}
/**
* An error thrown when one or more errors have occurred during the
* `unsubscribe` of a {@link Subscription}.
*/
export declare cons... | /content/code_sandbox/deps/node-10.15.3/tools/node_modules/eslint/node_modules/rxjs/internal/util/UnsubscriptionError.d.ts | xml | 2016-09-05T10:18:44 | 2024-08-11T13:21:40 | LiquidCore | LiquidPlayer/LiquidCore | 1,010 | 75 |
```xml
import { expect } from 'chai';
import { optionalChainingMutator as sut } from '../../../src/mutators/optional-chaining-mutator.js';
import { expectJSMutation } from '../../helpers/expect-mutation.js';
describe(sut.name, () => {
it('should have name "OptionalChaining"', () => {
expect(sut.name).eq('Optio... | /content/code_sandbox/packages/instrumenter/test/unit/mutators/optional-chaining-mutator.spec.ts | xml | 2016-02-12T13:14:28 | 2024-08-15T18:38:25 | stryker-js | stryker-mutator/stryker-js | 2,561 | 366 |
```xml
/**
* @license
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at path_to_url
*/
export * from './select-harness';
export * from './select-harness-filters';
``` | /content/code_sandbox/src/material/select/testing/public-api.ts | xml | 2016-01-04T18:50:02 | 2024-08-16T11:21:13 | components | angular/components | 24,263 | 54 |
```xml
// path_to_url
import { XmlComponent } from "@file/xml-components";
import { MathComponent } from "./math-component";
export interface IMathOptions {
readonly children: readonly MathComponent[];
}
export class Math extends XmlComponent {
public constructor(options: IMathOptions) {
super("m:oMa... | /content/code_sandbox/src/file/paragraph/math/math.ts | xml | 2016-03-26T23:43:56 | 2024-08-16T13:02:47 | docx | dolanmiu/docx | 4,139 | 87 |
```xml
/**
* @license
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at path_to_url
*/
import {Component, inject} from '@angular/core';
import {FormBuilder, FormGroup, FormsModule, ReactiveFormsModule} from '@angular/forms';
import {MatButtonModule} from '@... | /content/code_sandbox/src/components-examples/material/stepper/stepper-animations/stepper-animations-example.ts | xml | 2016-01-04T18:50:02 | 2024-08-16T11:21:13 | components | angular/components | 24,263 | 247 |
```xml
import {
emptyResults,
failsResultsWithoutMessages,
warnResults,
failsResults,
messagesResults,
customIconMessagesResults,
multipleMessagesResults,
markdownResults,
summaryResults,
multipleSummaryResults,
} from "../../_tests/fixtures/ExampleDangerResults"
import { dangerSignaturePostfix, tem... | /content/code_sandbox/source/runner/templates/_tests/_bitbucketCloudTemplate.test.ts | xml | 2016-08-20T12:57:06 | 2024-08-13T14:00:02 | danger-js | danger/danger-js | 5,229 | 1,430 |
```xml
import "reflect-metadata"
import {
closeTestingConnections,
createTestingConnections,
reloadTestingDatabases,
} from "../../../utils/test-utils"
import { DataSource } from "../../../../src/data-source/DataSource"
import { Post } from "./entity/Post"
import { PostDetails } from "./entity/PostDetails"
... | /content/code_sandbox/test/functional/relations/relation-mapped-to-different-name-column/relation-mapped-to-different-name-column.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 351 |
```xml
import * as React from "react";
import useEventListener from "./useEventListener";
/**
* A hook that returns the currently selected text.
*
* @returns The selected text
*/
export default function useTextSelection() {
const [selection, setSelection] = React.useState<string>("");
useEventListener(
"s... | /content/code_sandbox/app/hooks/useTextSelection.ts | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 105 |
```xml
/**
* Wraps a promise in a Task api for convenience.
*/
export class Task<T = void> {
protected _promise: Promise<T>;
private resolveFn!: (value: PromiseLike<T> | T) => void;
private rejectFn!: (reason: any) => void;
private _isCompleted = false;
constructor() {
this._promise = new Promise<T>((r... | /content/code_sandbox/packages/util/src/task.ts | xml | 2016-02-12T13:14:28 | 2024-08-15T18:38:25 | stryker-js | stryker-mutator/stryker-js | 2,561 | 426 |
```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 float64ToFloat32 = require( './index' );
// TESTS //
// The function returns a number...
{
float64ToFlo... | /content/code_sandbox/lib/node_modules/@stdlib/number/float64/base/to-float32/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 242 |
```xml
<dar>
<documents>
<document id="manuscript" type="article" path="manuscript.xml" />
</documents>
<assets>
<asset id="fig1" type="image/jpg" path="fig1.jpg"/>
<asset id="fig2" type="image/jpg" path="fig2.jpg"/>
<asset id="fig3" type="image/jpg" path="fig3.jpg"/>
<asset id="fig4" type="im... | /content/code_sandbox/data/elife-32671/manifest.xml | xml | 2016-04-18T10:30:54 | 2024-07-16T02:46:41 | texture | substance/texture | 1,000 | 144 |
```xml
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { AppDocModule } from '@layout/doc/app.doc.module';
import { AppCodeModule } from '@layout/doc/app.co... | /content/code_sandbox/src/app/showcase/doc/dropdown/dropdowndoc.module.ts | xml | 2016-01-16T09:23:28 | 2024-08-16T19:58:20 | primeng | primefaces/primeng | 9,969 | 486 |
```xml
import type { match } from 'react-router';
import { generatePath, matchPath } from 'react-router';
import type { Location } from 'history';
import { MAILBOX_LABEL_IDS } from '@proton/shared/lib/constants';
import { changeSearchParams, getSearchParams } from '@proton/shared/lib/helpers/url';
import { isNumber }... | /content/code_sandbox/applications/mail/src/app/helpers/mailboxUrl.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 1,114 |
```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 srange = require( './index' );
// TESTS //
// The function returns a number...
{
const x = new Float32A... | /content/code_sandbox/lib/node_modules/@stdlib/stats/base/srange/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 1,663 |
```xml
import { Component } from '@angular/core';
@Component({
selector: 'app-nav-side-menu',
templateUrl: './nav-side-menu.component.html'
})
export class NavSideMenuComponent {
}
``` | /content/code_sandbox/Src/WebUI/ClientApp/src/app/nav-side-menu/nav-side-menu.component.ts | xml | 2016-10-11T10:52:28 | 2024-08-14T10:29:35 | NorthwindTraders | jasontaylordev/NorthwindTraders | 5,001 | 40 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="appupdater_btn_disable">Non mostrare di nuovo</string>
<string name="appupdater_btn_dismiss">Ignora</string>
<string name="appupdater_btn_update">Aggiorna</string>
<string name="appupdater_update_available">Nuovo aggiornamento dispo... | /content/code_sandbox/library/src/main/res/values-it/strings.xml | xml | 2016-02-02T18:10:59 | 2024-08-08T01:46:33 | AppUpdater | javiersantos/AppUpdater | 1,975 | 312 |
```xml
<GroupPolicyObject><SecurityGroups><Group bkp:Source="FromDACL"><Sid><![CDATA[S-1-5-21-2508026330-3077189028-2444564301-519]]></Sid><SamAccountName><![CDATA[Enterprise Admins]]></SamAccountName><Type><![CDATA[UniversalGroup]]></Type><NetBIOSDomainName><![CDATA[SHB]]></NetBIOSDomainName><DnsDomainName><![CDAT... | /content/code_sandbox/Adobe Reader/Group Policy Objects/Computer/{659E383E-BA08-4166-9A33-60EC86176370}/Backup.xml | xml | 2016-02-26T19:43:51 | 2024-08-16T18:13:11 | Windows-Secure-Host-Baseline | nsacyber/Windows-Secure-Host-Baseline | 1,548 | 1,570 |
```xml
<dict>
<key>LayoutID</key>
<integer>30</integer>
<key>PathMapRef</key>
<array>
<dict>
<key>CodecID</key>
<array>
<integer>283902549</integer>
</array>
<key>Headphone</key>
<dict/>
<key>Inputs</key>
<array>
<string>Mic</string>
<string>LineIn</string>
</array>
<key>Int... | /content/code_sandbox/Resources/ALC255/layout99.xml | xml | 2016-03-07T20:45:58 | 2024-08-14T08:57:03 | AppleALC | acidanthera/AppleALC | 3,420 | 11,679 |
```xml
<ResourceDictionary xmlns="path_to_url"
xmlns:x="path_to_url"
xmlns:local="clr-namespace:MahApps.Metro.IconPacks">
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro.IconPacks.Typicons;component/Themes/Pack... | /content/code_sandbox/src/MahApps.Metro.IconPacks.Typicons/Themes/WPF/Generic.xaml | xml | 2016-07-17T00:10:12 | 2024-08-16T16:16:36 | MahApps.Metro.IconPacks | MahApps/MahApps.Metro.IconPacks | 1,748 | 120 |
```xml
const google = require('googleapis');
const promisify = require('micro-promisify');
const { getMessage } = require('../utils/messages');
import { Oauth2Client, GSheetsAppendResultsOptions, GSheetsValuesToAppend } from '../../types/types';
import { Logger } from '../utils/logger';
const logger = Logger.getInst... | /content/code_sandbox/lib/sheets/gsheets.ts | xml | 2016-08-24T04:22:43 | 2024-07-28T12:12:54 | pwmetrics | paulirish/pwmetrics | 1,247 | 490 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.