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"?>
<!--
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>
<string name="app_name">Talon</string>
<string name="app_name_full">Talon... | /content/code_sandbox/app/src/main/res/values-es/strings.xml | xml | 2016-07-08T03:18:40 | 2024-08-14T02:54:51 | talon-for-twitter-android | klinker24/talon-for-twitter-android | 1,189 | 12,865 |
```xml
import * as React from "react";
import { useTheme } from "styled-components";
import Frame from "../components/Frame";
import { EmbedProps as Props } from ".";
function JSFiddle({ matches, ...props }: Props) {
const normalizedUrl = props.attrs.href.replace(/(\/embedded)?\/$/, "");
const theme = useTheme();
... | /content/code_sandbox/shared/editor/embeds/JSFiddle.tsx | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 143 |
```xml
<ContentControl x:Class="ResXManager.View.Visuals.ConfirmationDialog"
xmlns="path_to_url"
xmlns:x="path_to_url"
xmlns:d="path_to_url"
xmlns:mc="path_to_url" mc:Ignorable="d"
xmlns:styles="urn:TomsToolbox.Wpf.Styles"
x... | /content/code_sandbox/src/ResXManager.View/Visuals/ConfirmationDialog.xaml | xml | 2016-06-03T12:04:15 | 2024-08-15T21:49:16 | ResXResourceManager | dotnet/ResXResourceManager | 1,299 | 404 |
```xml
/*
* This software is released under MIT license.
* The full license information can be found in LICENSE in the root directory of this project.
*/
import { registerElementSafely } from '@cds/core/internal';
import { CdsDivider } from './divider.element.js';
registerElementSafely('cds-divider', CdsDivider);
... | /content/code_sandbox/packages/core/src/divider/register.ts | xml | 2016-09-29T17:24:17 | 2024-08-11T17:06:15 | clarity | vmware-archive/clarity | 6,431 | 93 |
```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.
-->
<!-- Definitions of attributes to be exposed as public -->
<resources>
<public ... | /content/code_sandbox/lib/java/com/google/android/material/ripple/res-public/values/public.xml | xml | 2016-12-05T16:11:29 | 2024-08-16T17:51:42 | material-components-android | material-components/material-components-android | 16,176 | 92 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- Notwithstanding anything to the contrary herein, any previous version
of Tencent GT shall not be subject to the license hereunder.
All right, title, and interest, including all intellectual property rights,
in and to the previous version of Tencent GT (i... | /content/code_sandbox/android/GT_APP/app/src/main/res/drawable/editbtn.xml | xml | 2016-01-13T10:29:55 | 2024-08-13T06:40:00 | GT | Tencent/GT | 4,384 | 194 |
```xml
import { KeyDefinitionLike, MigrationHelper } from "../migration-helper";
import { Migrator } from "../migrator";
// Types to represent data as it is stored in JSON
type DeviceKeyJsonType = {
keyB64: string;
};
type ExpectedAccountType = {
keys?: {
deviceKey?: DeviceKeyJsonType;
};
settings?: {
... | /content/code_sandbox/libs/common/src/state-migrations/migrations/53-migrate-device-trust-svc-to-state-providers.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 670 |
```xml
<?xml version="1.0" encoding="US-ASCII" ?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd">
<?rfc rfcedstyle="yes"?>
<?rfc subcompact="no"?>
<?rfc toc="yes"?>
<?rfc symrefs="yes" ?>
<?rfc sortrefs="yes" ?>
<rfc number="5215" category="std">
<front>
<title abbrev="Vorbis RTP Payload Format">RTP Payload Format for Vorbis En... | /content/code_sandbox/extensions/android/ringlibsdl/project/jni/libvorbis-1.3.3/doc/rfc5215.xml | xml | 2016-03-24T10:29:27 | 2024-08-16T12:53:07 | ring | ring-lang/ring | 1,262 | 11,213 |
```xml
<deployment version='1.0'>
<prod>
<region>us-east</region>
</prod>
</deployment>
``` | /content/code_sandbox/vespa-maven-plugin/src/test/resources/deployment.xml | xml | 2016-06-03T20:54:20 | 2024-08-16T15:32:01 | vespa | vespa-engine/vespa | 5,524 | 29 |
```xml
/**
* MenuState.ts
*
* Definition of State for Menu functionality
*/
export interface IMenus<T, FilteredT> {
// TOOD: In the future, could handle multiple menus here...
menu: IMenu<T, FilteredT>
configuration: IMenuConfigurationSettings
}
export interface IMenuConfigurationSettings {
rowHei... | /content/code_sandbox/browser/src/Services/Menu/MenuState.ts | xml | 2016-11-16T14:42:55 | 2024-08-14T11:48:05 | oni | onivim/oni | 11,355 | 301 |
```xml
import * as React from 'react';
import createSvgIcon from '../utils/createSvgIcon';
const FileTemplateIcon = createSvgIcon({
svg: ({ classes }) => (
<svg xmlns="path_to_url" viewBox="0 0 2048 2048" className={classes.svg} focusable="false">
<path d="M1243 0l549 549v219h-128V640h-512V128H256v1792h768... | /content/code_sandbox/packages/react-icons-mdl2/src/components/FileTemplateIcon.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 350 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="path_to_url">
<TextView android:id="@+id/track_number" />
<LinearLayout android:id="@+id/metadata_container">
<LinearLayout android:id="@+id/primary_container">
<TextView android:id="@+id/primary" />
<T... | /content/code_sandbox/tests/CodeBehind/BuildTests/Resources/layout/player_list_item.xml | xml | 2016-03-30T15:37:14 | 2024-08-16T19:22:13 | android | dotnet/android | 1,905 | 148 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_... | /content/code_sandbox/demo/resources/Info.plist | xml | 2016-09-26T18:19:58 | 2024-05-30T09:35:21 | HubFramework | spotify/HubFramework | 1,861 | 487 |
```xml
<run>
<desc>Test case from Anders Johansson - JTS list - Nov 29 2011
Inside buffer of a simple rectangular geometry fails - should be empty, but is non-empty.
</desc>
<precisionModel type="FLOATING"/>
<resultMatcher>com.vividsolutions.jtstest.testrunner.BufferResultMatcher</resultMatcher>
<case>
<d... | /content/code_sandbox/modules/tests/src/test/resources/testxml/failure/TestBufferInsideNonEmpty.xml | xml | 2016-01-25T18:08:41 | 2024-08-15T17:34:53 | jts | locationtech/jts | 1,923 | 181 |
```xml
'use strict';
import { expect } from 'chai';
import * as fs from 'fs';
import { ConfigurationTarget, Disposable } from 'vscode';
import { FileSystem } from '../client/common/platform/fileSystem';
import { Diagnostics } from '../client/common/utils/localize';
import { SourceMapSupport } from '../client/sourceMa... | /content/code_sandbox/src/test/sourceMapSupport.test.ts | xml | 2016-01-19T10:50:01 | 2024-08-12T21:05:24 | pythonVSCode | DonJayamanne/pythonVSCode | 2,078 | 717 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<View xmlns:android="path_to_url"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?attr/colorOutline" />
``` | /content/code_sandbox/app/src/main/res/layout/item_line.xml | xml | 2016-02-21T04:39:19 | 2024-08-16T13:35:51 | GeometricWeather | WangDaYeeeeee/GeometricWeather | 2,420 | 52 |
```xml
//
//
// Microsoft Bot Framework: path_to_url
//
// Bot Framework Emulator Github:
// path_to_url
//
// All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software witho... | /content/code_sandbox/packages/app/client/src/ui/editor/ngrokDebugger/ngrokErrorHandler.tsx | xml | 2016-11-11T23:15:09 | 2024-08-16T12:45:29 | BotFramework-Emulator | microsoft/BotFramework-Emulator | 1,803 | 792 |
```xml
import type React from 'react'
import { Children, useEffect, useLayoutEffect, type JSX } from 'react'
type State = JSX.Element[] | undefined
export type SideEffectProps = {
reduceComponentsToState: <T extends {}>(
components: Array<React.ReactElement<any>>,
props: T
) => State
handleStateChange?:... | /content/code_sandbox/packages/next/src/shared/lib/side-effect.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 554 |
```xml
import chai from 'chai';
import chaiFs from 'chai-fs';
chai.use(chaiFs);
``` | /content/code_sandbox/packages/vscode-ruby-common/test/setup.ts | xml | 2016-02-24T04:14:24 | 2024-08-12T08:08:29 | vscode-ruby | rubyide/vscode-ruby | 1,260 | 22 |
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" datatype="plaintext" original="ng2.template">
<body>
<trans-unit id="9109ad0a9567961340bbe9e831f23a8e1a0927ea" datatype="html">
<source>Click to copy a link t... | /content/code_sandbox/app/src/locale/messages.pt.xlf | xml | 2016-07-29T12:27:38 | 2024-08-14T13:08:01 | alltomp3-app | AllToMP3/alltomp3-app | 1,313 | 1,537 |
```xml
export * from './VerticalDivider';
export * from './VerticalDivider.types';
``` | /content/code_sandbox/packages/react/src/components/Divider/index.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 16 |
```xml
import { createPresenceComponent, motionTokens } from '@fluentui/react-motion';
import { tokens } from '@fluentui/react-theme';
const keyframes = [
{ opacity: 0, boxShadow: '0px 0px 0px 0px rgba(0, 0, 0, 0.1)', transform: 'scale(0.85) translateZ(0)' },
{
boxShadow: tokens.shadow64,
transform: 'scale... | /content/code_sandbox/packages/react-components/react-dialog/library/src/components/DialogSurfaceMotion.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 195 |
```xml
import type { ComponentPropsWithoutRef, Ref } from 'react';
import { Children, isValidElement } from 'react';
import clsx from '@proton/utils/clsx';
interface DropdownMenuProps extends ComponentPropsWithoutRef<'ul'> {
listRef?: Ref<HTMLUListElement>;
}
const DropdownMenu = ({ children, className = '', lis... | /content/code_sandbox/packages/components/components/dropdown/DropdownMenu.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 211 |
```xml
import { base64StringToUint8Array } from '@proton/shared/lib/helpers/encoding';
import { generateProtonWebUID } from '@proton/shared/lib/helpers/uid';
import type { MessageState } from '../../store/messages/messagesTypes';
import { generateCid, setEmbeddedAttr } from './messageEmbeddeds';
// Reference Angular/... | /content/code_sandbox/applications/mail/src/app/helpers/message/messageDataUrl.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 441 |
```xml
export { TeachingBubbleBasicExample as Basic } from './TeachingBubble.Basic.Example';
export { TeachingBubbleButtonOrderExample as ButtonOrder } from './TeachingBubble.ButtonOrder.Example';
export { TeachingBubbleCondensedExample as Condensed } from './TeachingBubble.Condensed.Example';
export { TeachingBubbl... | /content/code_sandbox/packages/react-examples/src/react/TeachingBubble/index.stories.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 187 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
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, WITHO... | /content/code_sandbox/docs/topics/impala_runtime_filter_wait_time_ms.xml | xml | 2016-04-13T07:00:08 | 2024-08-16T10:10:44 | impala | apache/impala | 1,115 | 684 |
```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 flipud4d = require( './index' );
// TESTS //
// The function returns a nested array...
{
const x = [ [ ... | /content/code_sandbox/lib/node_modules/@stdlib/array/base/flipud4d/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 309 |
```xml
import { pxToRem } from '../../../../utils';
export interface SkeletonVariables {
lineMargin?: string;
shapeMargin?: string;
lineBackground?: string;
shapeBackground?: string;
animationBackground?: string;
animationBackgroundSecondary?: string;
// Skeleton Button
buttonHeight?: string;
button... | /content/code_sandbox/packages/fluentui/react-northstar/src/themes/teams/components/Skeleton/skeletonVariables.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 626 |
```xml
import * as Ajv from 'ajv'
import * as yaml from 'js-yaml'
import * as fs from 'fs-extra'
import schema = require('prisma-json-schema/dist/schema.json')
import { PrismaDefinition } from 'prisma-json-schema'
import { Variables } from './Variables'
import { Args } from './types/common'
import { Output, IOutput } f... | /content/code_sandbox/cli/packages/prisma-yml/src/yaml.ts | xml | 2016-09-25T12:54:40 | 2024-08-16T11:41:23 | prisma1 | prisma/prisma1 | 16,549 | 659 |
```xml
import { useCallback } from 'react';
import { usePreventLeave } from '@proton/components';
import {
queryCreateShare,
queryDeleteShare,
queryMigrateLegacyShares,
queryUnmigratedShares,
} from '@proton/shared/lib/api/drive/share';
import { getEncryptedSessionKey } from '@proton/shared/lib/calenda... | /content/code_sandbox/applications/drive/src/app/store/_shares/useShareActions.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 1,713 |
```xml
import * as React from 'react';
import { getDevSessionsAsync } from '../functions/getDevSessionsAsync';
import { sleepAsync } from '../functions/sleepAsync';
import { useIsMounted } from '../hooks/useIsMounted';
import { useUser } from '../providers/UserContextProvider';
import { DevSession } from '../types';
... | /content/code_sandbox/packages/expo-dev-launcher/bundle/providers/DevSessionsProvider.tsx | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 468 |
```xml
import React, { useCallback, useState } from "react";
import { Environment } from "relay-runtime";
import Loading from "coral-account/components/Loading";
import { useToken } from "coral-framework/hooks";
import { createFetch } from "coral-framework/lib/relay";
import { withRouteConfig } from "coral-framework/l... | /content/code_sandbox/client/src/core/client/account/routes/password/Reset/ResetRoute.tsx | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 469 |
```xml
import { OverlayModule } from "@angular/cdk/overlay";
import { Meta, StoryObj, moduleMetadata } from "@storybook/angular";
import { ButtonModule } from "../button/button.module";
import { MenuDividerComponent } from "./menu-divider.component";
import { MenuItemDirective } from "./menu-item.directive";
import {... | /content/code_sandbox/libs/components/src/menu/menu.stories.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 659 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definition"
xmlns="path_to_url"
xmlns:xsi="path_to_url"
xmlns:activiti="path_to_url"
targetNamespace="Examples">
<process id="miParallelSubprocessCompletionCondition">
<startEvent id="theStart" />
<sequenceFlow id="flow1" sourceRef=... | /content/code_sandbox/modules/flowable5-test/src/test/resources/org/activiti/engine/test/bpmn/multiinstance/MultiInstanceTest.testParallelSubProcessCompletionCondition.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 444 |
```xml
import * as compose from 'lodash.flowright';
import { Alert, confirm, withProps } from '@erxes/ui/src/utils';
import { IComment, RemoveMutationResponse } from '../../types';
import { mutations, queries } from '../../graphql';
import CommentComponent from '../../components/comment/Comment';
import { IButtonMuta... | /content/code_sandbox/packages/plugin-forum-ui/src/containers/comment/Comment.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 465 |
```xml
// The version is set automatically before publish to npm
export const VERSION = "0.0.0-development";
``` | /content/code_sandbox/src/version.ts | xml | 2016-09-16T20:56:13 | 2024-08-16T13:00:34 | probot | probot/probot | 8,862 | 24 |
```xml
export { CopyButton } from './CopyButton';
``` | /content/code_sandbox/app/react/components/buttons/CopyButton/index.ts | xml | 2016-05-19T20:15:28 | 2024-08-16T19:15:14 | portainer | portainer/portainer | 30,083 | 11 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="path_to_url">
<data>
<variable
name="stringValue"
type="String" />
<variable
name="clickListener"
type="android.view.View.OnClickListener" />
</data>
<Button
andro... | /content/code_sandbox/epoxy-processortest/src/main/res/layout/model_with_data_binding_without_donothash.xml | xml | 2016-08-08T23:05:11 | 2024-08-16T16:11:07 | epoxy | airbnb/epoxy | 8,486 | 117 |
```xml
/*
* Wire
*
* This program is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPO... | /content/code_sandbox/src/script/storage/StorageService.ts | xml | 2016-07-21T15:34:05 | 2024-08-16T11:40:13 | wire-webapp | wireapp/wire-webapp | 1,125 | 2,620 |
```xml
<test>
<create_query>CREATE TABLE test_join_used_flags (i64 Int64, i32 Int32) ENGINE = Memory</create_query>
<fill_query>INSERT INTO test_join_used_flags SELECT number AS i64, rand32() AS i32 FROM numbers_mt(1500000)</fill_query>
<query>SELECT l.i64, r.i64, l.i32, r.i32 FROM test_join_used_flags l RI... | /content/code_sandbox/tests/performance/join_used_flags.xml | xml | 2016-06-02T08:28:18 | 2024-08-16T18:39:33 | ClickHouse | ClickHouse/ClickHouse | 36,234 | 128 |
```xml
import socket from "../socket";
import {store} from "../store";
import {switchToChannel} from "../router";
import {ClientChan} from "../types";
import {toClientChan} from "../chan";
socket.on("join", function (data) {
const network = store.getters.findNetwork(data.network);
if (!network) {
return;
}
con... | /content/code_sandbox/client/js/socket-events/join.ts | xml | 2016-02-09T03:16:03 | 2024-08-16T10:52:38 | thelounge | thelounge/thelounge | 5,518 | 199 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="go_to_date">Go to date</string>
<string name="event_updated">Event updated successfully</string>
<string name="filter_events_by_type">Filter events by type</string>
<string name="update_this_and_future_occurrences">Update this and a... | /content/code_sandbox/app/src/main/res/values-pa-rPK/strings.xml | xml | 2016-01-26T21:02:54 | 2024-08-15T00:35:32 | Simple-Calendar | SimpleMobileTools/Simple-Calendar | 3,512 | 4,306 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ 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 ... | /content/code_sandbox/test/e2e/sql/src/test/resources/cases/dql/e2e-dql-select-order-by.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 3,675 |
```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.
-->
<animated-vector xmlns:android="path_to_url"
xmlns:aapt="path_to_url"
xmlns:tools="path_to... | /content/code_sandbox/lib/java/com/google/android/material/materialswitch/res/drawable/mtrl_switch_thumb_checked_pressed.xml | xml | 2016-12-05T16:11:29 | 2024-08-16T17:51:42 | material-components-android | material-components/material-components-android | 16,176 | 217 |
```xml
// This file is generated with tasks/instrument-test-resources.js
function stryNS_9fa48() {
var g = typeof globalThis === 'object' && globalThis && globalThis.Math === Math && globalThis || new Function("return this")();
var ns = g.__stryker2__ || (g.__stryker2__ = {});
if (ns.activeMutant === undefined &... | /content/code_sandbox/packages/vitest-runner/testResources/browser-project/src/math.component.ts | xml | 2016-02-12T13:14:28 | 2024-08-15T18:38:25 | stryker-js | stryker-mutator/stryker-js | 2,561 | 2,185 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature url="features/VisualVM_Launcher_1.1.3.jar" id="VisualVM_Launcher" version="1.1.3"/>
</site>
``` | /content/code_sandbox/integrations/eclipse/org.eclipse.visualvm.launcher.update/site.xml | xml | 2016-09-12T14:44:30 | 2024-08-16T14:41:50 | visualvm | oracle/visualvm | 2,821 | 57 |
```xml
import * as React from "react";
import styles from "./BugList.module.scss";
import { IWorkItemBug } from "../../../../interfaces/webpart.types";
import { Header, Label, List } from "semantic-ui-react";
import { getRelativeTime, stripHtml } from "../../../../helpers/UtilityHelper";
interface IBugListProps {
bu... | /content/code_sandbox/samples/react-openai-devops/src/webparts/smartDevOps/components/BugList/BugList.tsx | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 366 |
```xml
import * as React from 'react';
import { render } from '@testing-library/react';
import { isConformant } from '../../testing/isConformant';
import { CarouselNavButton } from './CarouselNavButton';
import { CarouselNavButtonProps } from './CarouselNavButton.types';
describe('CarouselNavButton', () => {
isConfo... | /content/code_sandbox/packages/react-components/react-carousel-preview/library/src/components/CarouselNavButton/CarouselNavButton.test.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 161 |
```xml
import { useContext, useEffect, useState } from 'react';
import { useParams, Link } from 'react-router-dom';
import { MdFavorite, MdFavoriteBorder, MdStar } from 'react-icons/md';
import {
getMovieById,
GetMovieByIdResponse,
addFavoritedMovie,
deleteFavoritedMovie,
getIfFavoritedMovie,
addReview,
d... | /content/code_sandbox/dataconnect/app/src/pages/Movie.tsx | xml | 2016-04-26T17:13:48 | 2024-08-16T13:54:58 | quickstart-js | firebase/quickstart-js | 5,069 | 2,646 |
```xml
longfunctionWithCall1("bla", foo, (thing: string): complex<type<something>> => {
code();
});
longfunctionWithCall12("bla", foo, (thing: string): complex<type<something>> => {
code();
});
longfunctionWithCallBack("blabla", foobarbazblablablablabla, (thing: string): complex<type<something>> => {
code();
})... | /content/code_sandbox/tests/format/typescript/argument-expansion/arrow-with-return-type.ts | xml | 2016-11-29T17:13:37 | 2024-08-16T17:29:57 | prettier | prettier/prettier | 48,913 | 153 |
```xml
import type { AuthLog } from '@proton/shared/lib/authlog';
interface Props {
device: AuthLog['Device'];
}
const DeviceCell = ({ device }: Props) => {
return <span className="flex-1">{device || '-'}</span>;
};
export default DeviceCell;
``` | /content/code_sandbox/packages/components/containers/logs/DeviceCell.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 61 |
```xml
import type { PropDefFactory } from '../createPropDef';
import { createDefaultValue } from './createDefaultValue';
import { createType } from './createType';
export const createTsPropDef: PropDefFactory = (propName, docgenInfo) => {
const { description, required } = docgenInfo;
return {
name: propName,... | /content/code_sandbox/code/core/src/docs-tools/argTypes/docgen/typeScript/createPropDef.ts | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 102 |
```xml
export * from "grafast/graphql";
``` | /content/code_sandbox/postgraphile/pgl/fwd/grafast/graphql/index.d.ts | xml | 2016-04-14T21:29:19 | 2024-08-16T17:12:51 | crystal | graphile/crystal | 12,539 | 9 |
```xml
export class Artikel {
constructor(public artikelNummer: number,
public naam: string,
public beschrijving: string,
public prijs: number,
public afbeeldingUrl: string,
public leverbaarVanaf: Date,
public leverbaarTot: Date,
... | /content/code_sandbox/perf/test/angular-cli/src/app/models/artikel.ts | xml | 2016-02-12T13:14:28 | 2024-08-15T18:38:25 | stryker-js | stryker-mutator/stryker-js | 2,561 | 86 |
```xml
import uuidv1 from 'uuid/v1';
const generateId = (): string => uuidv1();
export default generateId;
``` | /content/code_sandbox/webapp/client/src/shared/utils/generateId.ts | xml | 2016-10-19T01:07:26 | 2024-08-14T03:53:55 | modeldb | VertaAI/modeldb | 1,689 | 27 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="path_to_url"
xmlns:app="path_to_url"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_margin="48dp"
android:background="@drawable/bg_round_white_8dp"
... | /content/code_sandbox/app/src/main/res/layout/popup_wj.xml | xml | 2016-01-15T03:31:07 | 2024-08-14T02:03:47 | BasePopup | razerdp/BasePopup | 5,179 | 433 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ScanningWidget</class>
<widget class="QWidget" name="ScanningWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>424</width>
<height>463</height>
</rect>
</property>
<property name="windowTitle">
<st... | /content/code_sandbox/src/MEGASync/gui/macx/ScanningWidget.ui | xml | 2016-02-10T18:28:05 | 2024-08-16T19:36:44 | MEGAsync | meganz/MEGAsync | 1,593 | 1,950 |
```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>
<drawable name="ms_ic_chevron_start">@drawable/ms_ic_chevron_left</drawable>
<drawabl... | /content/code_sandbox/material-stepper/src/main/res/values/drawables.xml | xml | 2016-06-28T08:27:15 | 2024-08-05T10:12:04 | android-material-stepper | stepstone-tech/android-material-stepper | 1,781 | 95 |
```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/base/box-muller/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 832 |
```xml
import React from 'react';
import { FaceHappyIcon } from '@storybook/icons';
import type { Meta, StoryObj } from '@storybook/react';
import { IconButton } from './IconButton';
const meta = {
title: 'IconButton',
component: IconButton,
tags: ['autodocs'],
args: { children: <FaceHappyIcon /> },
} satisf... | /content/code_sandbox/code/core/src/components/components/IconButton/IconButton.stories.tsx | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 607 |
```xml
<ResourceDictionary xmlns="path_to_url"
xmlns:x="path_to_url"
xmlns:s="clr-namespace:System;assembly=mscorlib"
xml:space="preserve">
<!--To use a new line: 
 or CarriageReturn + NewLine: 
 or -->
<!--You can use the ze... | /content/code_sandbox/ScreenToGif/Resources/Localization/StringResources.ko.xaml | xml | 2016-08-02T01:28:59 | 2024-08-16T05:33:15 | ScreenToGif | NickeManarin/ScreenToGif | 23,310 | 27,693 |
```xml
import { stateAndDispatch } from "../state";
import * as Actions from "../state/actions";
import { CriteriaResult } from "../types/criteria";
export function setEvalResult(criteriaId: string, result: CriteriaResult) {
const { dispatch } = stateAndDispatch();
dispatch(Actions.setEvalResult(criteriaId, re... | /content/code_sandbox/teachertool/src/transforms/setEvalResult.ts | xml | 2016-01-24T19:35:52 | 2024-08-16T16:39:39 | pxt | microsoft/pxt | 2,069 | 70 |
```xml
import {
ConvertNameFn,
NormalizedAvoidOptionalsConfig,
NormalizedScalarsMap,
OperationVariablesToObject,
ParsedDirectiveArgumentAndInputFieldMappings,
ParsedEnumValuesMap,
} from '@graphql-codegen/visitor-plugin-common';
import { Kind, TypeNode } from 'graphql';
export class TypeScriptOperationVari... | /content/code_sandbox/packages/plugins/typescript/typescript/src/typescript-variables-to-object.ts | xml | 2016-12-05T19:15:11 | 2024-08-15T14:56:08 | graphql-code-generator | dotansimha/graphql-code-generator | 10,759 | 754 |
```xml
import { DEFAULT_LOCALE } from '../constants';
export const getNormalizedLocale = (locale = '') => {
return locale.toLowerCase().replace(/-/g, '_');
};
// Attempts to convert the original locale (en_US) to BCP 47 (en-US) as supported by the lang attribute
export const getLangAttribute = (locale: string) =>... | /content/code_sandbox/packages/shared/lib/i18n/helper.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 918 |
```xml
<!--
Description: entry link - hreflang
-->
<feed xmlns="path_to_url">
<entry>
<link hreflang="en"></link>
</entry>
</feed>
``` | /content/code_sandbox/testdata/parser/atom/atom10_feed_entry_link_hreflang.xml | xml | 2016-01-23T02:44:34 | 2024-08-16T15:16:03 | gofeed | mmcdole/gofeed | 2,547 | 40 |
```xml
#import "RNSVGTopAlignedLabel.h"
@implementation RNSVGTopAlignedLabel
- (void)drawTextInRect:(CGRect)rect
{
NSAttributedString *attributedText = [[NSAttributedString alloc] initWithString:self.text
attributes:@{NSFontAttributeName : self.... | /content/code_sandbox/apple/Text/RNSVGTopAlignedLabel.ios.mm | xml | 2016-01-17T14:29:21 | 2024-08-16T13:35:44 | react-native-svg | software-mansion/react-native-svg | 7,397 | 138 |
```xml
declare interface IGraphSchemaExtensionWebPartStrings {
PropertyPaneDescription: string;
BasicGroupName: string;
DescriptionFieldLabel: string;
}
declare module 'GraphSchemaExtensionWebPartStrings' {
const strings: IGraphSchemaExtensionWebPartStrings;
export = strings;
}
``` | /content/code_sandbox/samples/react-graph-schema-extensions/src/webparts/graphSchemaExtension/loc/mystrings.d.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 61 |
```xml
export * from "grafserv/ruru/cli";
``` | /content/code_sandbox/postgraphile/pgl/fwd/grafserv/ruru/cli/index.d.ts | xml | 2016-04-14T21:29:19 | 2024-08-16T17:12:51 | crystal | graphile/crystal | 12,539 | 11 |
```xml
import { TdTimeAgoPipe } from './time-ago.pipe';
describe('TdTimeAgoPipe', () => {
let pipe: TdTimeAgoPipe;
const time: number = Date.now();
beforeEach(() => {
pipe = new TdTimeAgoPipe();
});
it('should return "Invalid Date" with an invalid date', () => {
expect(pipe.transform(undefined)).to... | /content/code_sandbox/libs/angular/common/src/pipes/time-ago/time-ago.pipe.spec.ts | xml | 2016-07-11T23:30:52 | 2024-08-15T15:20:45 | covalent | Teradata/covalent | 2,228 | 649 |
```xml
import React from 'dom-chef';
type MergeabilityRowProps = {
action?: JSX.Element;
icon: JSX.Element;
iconClass?: string;
heading: JSX.Element | string;
meta?: JSX.Element | string;
className?: string;
};
export default function createMergeabilityRow({
className = '',
action,
icon,
iconClass = '',
he... | /content/code_sandbox/source/github-widgets/mergeability-row.tsx | xml | 2016-02-15T16:45:02 | 2024-08-16T18:39:26 | refined-github | refined-github/refined-github | 24,013 | 214 |
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"path_to_url" >
<!--
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
... | /content/code_sandbox/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-sqlserver/src/main/resources/org/apache/guacamole/auth/jdbc/connection/ConnectionRecordMapper.xml | xml | 2016-03-22T07:00:06 | 2024-08-16T13:03:48 | guacamole-client | apache/guacamole-client | 1,369 | 2,066 |
```xml
import { colors, typography } from '@erxes/ui/src/styles';
import styled from 'styled-components';
import styledTS from 'styled-components-ts';
const mainSize = '20px';
const coreSize = '10px';
const borderRadius = '4px';
const textColor = '#1D212A';
const PostContainer = styled.div`
padding: ${mainSize} ${... | /content/code_sandbox/packages/ui-inbox/src/inbox/components/conversationDetail/workarea/facebook/styles.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 484 |
```xml
import { FC, ReactElement } from 'react';
import styled from 'styled-components';
import dontLoseCryptoIcon from '@assets/images/icn-don-t-lose-crypto.svg';
import howBuyIcon from '@assets/images/icn-how-do-i-buy-crypto.svg';
import questionsIcon from '@assets/images/icn-questions.svg';
import sadWalletIcon fr... | /content/code_sandbox/src/features/NotificationsPanel/components/WalletNotAddedNotification.tsx | xml | 2016-12-04T01:35:27 | 2024-08-14T21:41:58 | MyCrypto | MyCryptoHQ/MyCrypto | 1,347 | 627 |
```xml
import React from 'dom-chef';
import {CachedFunction} from 'webext-storage-cache';
import {$} from 'select-dom';
import batchedFunction from 'batched-function';
import * as pageDetect from 'github-url-detection';
import features from '../feature-manager.js';
import api from '../github-helpers/api.js';
import {g... | /content/code_sandbox/source/features/pinned-issues-update-time.tsx | xml | 2016-02-15T16:45:02 | 2024-08-16T18:39:26 | refined-github | refined-github/refined-github | 24,013 | 509 |
```xml
// libs
import { Action } from '@ngrx/store';
// app
import { type } from '../../core/utils/type';
// module
import { CATEGORY } from '../common/category.common';
/**
* For each action type in an action group, make a simple
* enum object for all of this group's action types.
*
* The 'type' utility functio... | /content/code_sandbox/src/client/app/modules/i18n/actions/multilingual.action.ts | xml | 2016-01-27T07:12:46 | 2024-08-15T11:32:04 | angular-seed-advanced | NathanWalker/angular-seed-advanced | 2,261 | 348 |
```xml
import type { FC } from 'react';
import { useLayoutEffect, useRef, useState } from 'react';
import clsx from '@proton/utils/clsx';
type Props = { children: string; className?: string };
export const TextAreaReadonly: FC<Props> = ({ children, className }) => {
const [height, setHeight] = useState(0);
c... | /content/code_sandbox/packages/pass/components/Form/legacy/TextAreaReadonly.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 174 |
```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 isProbability = require( './index' );
// TESTS //
// The function returns a boolean...
{
isProbability(... | /content/code_sandbox/lib/node_modules/@stdlib/math/base/assert/is-probability/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 250 |
```xml
import { describe, expect, it, test } from "vitest";
import { Polygon } from "../../shapes/Polygon.js";
import { Polyline } from "../../shapes/Polyline.js";
import * as ad from "../../types/ad.js";
import { objDict, objDictSpecific } from "../Objectives.js";
import { extractPoints, isClosed, numOf } from "../Uti... | /content/code_sandbox/packages/core/src/lib/__tests__/Objectives.test.ts | xml | 2016-09-22T04:47:19 | 2024-08-16T13:00:54 | penrose | penrose/penrose | 6,760 | 831 |
```xml
import { Env, CISource } from "../ci_source"
import { ensureEnvKeysExist, getPullRequestIDForBranch } from "../ci_source_helpers"
// Codeship Pro: path_to_url
// Codeship Basic: path_to_url
/**
* ### CI Setup
*
* To make Danger run, add a new step to the `codeship-steps.yml` file:
*
* ```
* - type: paral... | /content/code_sandbox/source/ci_source/providers/Codeship.ts | xml | 2016-08-20T12:57:06 | 2024-08-13T14:00:02 | danger-js | danger/danger-js | 5,229 | 458 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/join_call_dialog_layout"
android:layout_width="match_parent"
android:layout_height="wrap_con... | /content/code_sandbox/app/src/main/res/layout/join_call_dialog.xml | xml | 2016-05-04T11:46:20 | 2024-08-15T16:29:10 | android | meganz/android | 1,537 | 551 |
```xml
import Link from 'next/link'
import { UpdateSearchParamsButton } from '../../components/UpdateSearchParamsButton'
export default function Home({ searchParams }) {
return (
<main>
<Link href="/dynamic-refresh/foo/login">
<button>Login button</button>
</Link>
<div>
Random #... | /content/code_sandbox/test/e2e/app-dir/parallel-routes-revalidation/app/dynamic-refresh/[dynamic]/page.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 106 |
```xml
import { Animated } from 'react-native';
import useLazyRef from './useLazyRef';
export default function useAnimatedValue(initialValue: number) {
const { current } = useLazyRef(() => new Animated.Value(initialValue));
return current;
}
``` | /content/code_sandbox/src/utils/useAnimatedValue.tsx | xml | 2016-10-19T05:56:53 | 2024-08-16T08:48:04 | react-native-paper | callstack/react-native-paper | 12,646 | 54 |
```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>
<parent>
<groupId>tech.tablesaw</groupId>
<artifactId>tablesaw-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
</pa... | /content/code_sandbox/json/pom.xml | xml | 2016-01-01T14:58:28 | 2024-08-16T08:41:52 | tablesaw | jtablesaw/tablesaw | 3,506 | 642 |
```xml
import {
Entity,
PrimaryGeneratedColumn,
ManyToMany,
JoinTable,
} from "../../../../src"
import { Column } from "../../../../src/decorator/columns/Column"
import { Category } from "./Category"
@Entity("questions")
export class Question {
@PrimaryGeneratedColumn()
id: number
@Column(... | /content/code_sandbox/test/other-issues/table-name-relation/entity/Question.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 93 |
```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/bin/build-tools/lib/commonConfig.test.ts | xml | 2016-07-26T13:55:48 | 2024-08-16T03:45:51 | wire-desktop | wireapp/wire-desktop | 1,075 | 1,761 |
```xml
import { Component } from "@angular/core";
import { ActivatedRoute, Params, Router } from "@angular/router";
import { firstValueFrom } from "rxjs";
import { RegisterRouteService } from "@bitwarden/auth/common";
import { AuthService } from "@bitwarden/common/auth/abstractions/auth.service";
import { I18nService ... | /content/code_sandbox/apps/web/src/app/auth/organization-invite/accept-organization.component.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 947 |
```xml
/*
* This software is released under MIT license.
* The full license information can be found in LICENSE in the root directory of this project.
*/
import { renderIcon } from '../icon.renderer.js';
import { IconShapeTuple } from '../interfaces/icon.interfaces.js';
const icon = {
outline:
'<path d="M11.... | /content/code_sandbox/packages/core/src/icon/shapes/block-quote.ts | xml | 2016-09-29T17:24:17 | 2024-08-11T17:06:15 | clarity | vmware-archive/clarity | 6,431 | 408 |
```xml
<vector xmlns:android="path_to_url"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FF000000"
android:pathData="M3,17.25V21h3.75L17.81,9.94l-3.75,-3.75L3,17.25zM20.71,7.04c0.39,-0.39 0.39,-1.02 0,... | /content/code_sandbox/app/src/main/res/drawable/ic_create_black_24dp.xml | xml | 2016-02-22T10:00:46 | 2024-08-16T15:37:50 | Images-to-PDF | Swati4star/Images-to-PDF | 1,174 | 193 |
```xml
import * as vscode from 'vscode';
import * as linq from 'linq-collections'
import { diagramAt } from '../diagram/tools';
import { Diagram } from '../diagram/diagram';
const macroDefRegex = /!(?:define|definelong) (\w+)(?:\(((?:,? *(?:\w)+ *(?:= *".+")?)+)\))?/i;
const macroCallRegex = /(!(?:define|definelong) )... | /content/code_sandbox/src/plantuml/intellisense/macros.ts | xml | 2016-11-18T14:14:05 | 2024-08-11T10:43:40 | vscode-plantuml | qjebbs/vscode-plantuml | 1,078 | 824 |
```xml
export {
RequestCookies,
ResponseCookies,
stringifyCookie,
} from 'next/dist/compiled/@edge-runtime/cookies'
``` | /content/code_sandbox/packages/next/src/server/web/spec-extension/cookies.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 28 |
```xml
import React, { ReactElement, useRef, useState } from 'react';
import { EditorState } from 'draft-js';
import Editor from '@draft-js-plugins/editor';
import createMentionPlugin from '@draft-js-plugins/mention';
import editorStyles from './editorStyles.css';
const mentionPlugin = createMentionPlugin();
const {... | /content/code_sandbox/stories/mentions-remote/src/RemoteMentionEditor.tsx | xml | 2016-02-26T09:54:56 | 2024-08-16T18:16:31 | draft-js-plugins | draft-js-plugins/draft-js-plugins | 4,087 | 453 |
```xml
import { IgApiClient } from '../src';
import { readFile } from 'fs';
import { DateTime, Duration } from 'luxon';
import { StickerBuilder } from '../src/sticker-builder';
import { promisify } from 'util';
const readFileAsync = promisify(readFile);
const ig = new IgApiClient();
async function login() {
ig.st... | /content/code_sandbox/examples/upload-story.example.ts | xml | 2016-06-09T12:14:48 | 2024-08-16T10:07:22 | instagram-private-api | dilame/instagram-private-api | 5,877 | 910 |
```xml
import {
fetchPolaris,
getBranch,
getDepositAccount,
updateContract,
sendMessageBrokerData
} from '../utils';
export const createSaving = async (subdomain: string, params) => {
const savingContract = params.object;
const savingProduct = await sendMessageBrokerData(
subdomain,
'savings',
... | /content/code_sandbox/packages/plugin-syncpolaris-api/src/utils/saving/createSaving.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 463 |
```xml
import * as React from 'react';
import { Button, PopperRefHandle, Popup, Segment } from '@fluentui/react-northstar';
import { MoreIcon } from '@fluentui/react-icons-northstar';
class AsyncDataLoader extends React.Component<{ onLoaded: Function }, { data: React.ReactElement }> {
state = {
data: <span>loadi... | /content/code_sandbox/packages/fluentui/docs/src/examples/components/Popup/Usage/PopupExampleAsync.shorthand.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 232 |
```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 dsqrt = require( './index' );
// TESTS //
// The function returns a Float64Array...
{
const x = new Flo... | /content/code_sandbox/lib/node_modules/@stdlib/math/strided/special/dsqrt/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 3,603 |
```xml
// @ts-nocheck
/* eslint-disable */
import Image from "next/image";
import Named, { Blarg } from "next/image";
import type { ImageProps } from "next/image";
import { type ImageLoaderProps } from "next/image";
import Foo from "foo";
import img from "../public/img.jpg";
export default function Home() {
const my... | /content/code_sandbox/packages/next-codemod/transforms/__testfixtures__/next-image-experimental/general.output.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 603 |
```xml
import { WebPartContext } from '@microsoft/sp-webpart-base';
export interface IReactPollProps {
description: string;
isDarkTheme: boolean;
environmentMessage: string;
hasTeamsContext: boolean;
userEmail: string;
context: WebPartContext;
webServerRelativeUrl:string;
}
``` | /content/code_sandbox/samples/react-poll/src/webparts/reactPoll/components/IReactPollProps.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 68 |
```xml
import APIFactory from './api';
import Generator from './generator';
test('should work', () => {
const generator = new Generator();
generator.handleInstance('foo-compilation', 'foo-package', 'foo-instance', {
version: '1.0.0',
});
generator.handleInstance('foo-compilation', 'foo-package', 'bar-inst... | /content/code_sandbox/packages/stats-extension-package-info/src/api.spec.ts | xml | 2016-11-30T14:09:21 | 2024-08-15T18:52:57 | statoscope | statoscope/statoscope | 1,423 | 388 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="path_to_url">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Itanium">
<Configuration>Debug</Configuration>
<Platform>Itanium</Platform>
</ProjectConfiguration>
... | /content/code_sandbox/deps/boost_1_66_0/libs/beast/test/extern/zlib-1.2.11/contrib/vstudio/vc12/miniunz.vcxproj | xml | 2016-09-05T10:18:44 | 2024-08-11T13:21:40 | LiquidCore | LiquidPlayer/LiquidCore | 1,010 | 4,611 |
```xml
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
const routes: Routes = [];
@NgModule({
imports: [RouterModule.forRoot(routes, { relativeLinkResolution: 'legacy' })],
exports: [RouterModule]
})
export class AppRoutingModule {}
``` | /content/code_sandbox/src/app/app-routing.module.ts | xml | 2016-05-31T19:25:47 | 2024-08-06T15:02:47 | ngx-datatable | swimlane/ngx-datatable | 4,624 | 58 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.