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"?>
<selector xmlns:android="path_to_url">
<item android:state_checked="true" android:state_pressed="true" android:drawable="@drawable/favorite_border"/>
<item android:state_checked="true" android:state_pressed="false" android:drawable="@drawable/favorite_pressed"/>
... | /content/code_sandbox/example-shared/src/main/res/drawable/favorite_state_list.xml | xml | 2016-09-01T20:59:35 | 2024-08-15T01:29:19 | groupie | lisawray/groupie | 3,661 | 118 |
```xml
import { isConformant, handlesAccessibility } from 'test/specs/commonTests';
import { RadioGroupItem } from 'src/components/RadioGroup/RadioGroupItem';
describe('RadioGroupItem', () => {
isConformant(RadioGroupItem, {
testPath: __filename,
constructorName: 'RadioGroupItem',
autoControlledProps: [... | /content/code_sandbox/packages/fluentui/react-northstar/test/specs/components/RadioGroup/RadioGroupItem-test.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 115 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="cellback">#FFFFFFE0</color>
<color name="cellback2">#FFDAFF7F</color>
<color name="primary_dark">#1976D2</color>
</resources>
``` | /content/code_sandbox/Xamarin.Forms.ControlGallery.Android/Resources/values/Colors.xml | xml | 2016-03-18T15:52:03 | 2024-08-16T16:25:43 | Xamarin.Forms | xamarin/Xamarin.Forms | 5,637 | 67 |
```xml
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<OutputType>Library</OutputType>
<IsPackable>false</IsPackable>
<TargetFramework>net8.0</TargetFramework>
<EnableDefaultContentItems>False</EnableDefaultContentItems>
</PropertyGroup>
<ItemGroup>
<Compile Include="ValuesControllerTes... | /content/code_sandbox/Blueprints/BlueprintDefinitions/vs2022/AspNetCoreWebAPI-Image-FSharp/template/test/BlueprintBaseName.1.Tests/BlueprintBaseName.1.Tests.fsproj | xml | 2016-11-11T20:43:34 | 2024-08-15T16:57:53 | aws-lambda-dotnet | aws/aws-lambda-dotnet | 1,558 | 299 |
```xml
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { KeyValueComponent } from './key-value/key-value.component';
import { CursosComponent } from './cu... | /content/code_sandbox/angularv61/src/app/app.module.ts | xml | 2016-07-02T18:58:48 | 2024-08-15T23:36:46 | curso-angular | loiane/curso-angular | 1,910 | 133 |
```xml
import { i18n } from "i18next";
import { unicodeCLDRtoBCP47 } from "@shared/utils/date";
import Desktop from "./Desktop";
/**
* Formats a number using the user's locale where possible.
*
* @param number The number to format
* @param locale The locale to use for formatting (BCP47 format)
* @returns The form... | /content/code_sandbox/app/utils/language.ts | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 375 |
```xml
export enum UserApiOperations {
Registering,
SubmittingRequest,
DeletingAccount,
UpdatingUser,
}
``` | /content/code_sandbox/packages/api/src/Domain/Client/User/UserApiOperations.ts | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 25 |
```xml
import { PlaywrightCrawler } from 'crawlee';
import { firefox } from 'playwright';
// Create an instance of the PlaywrightCrawler class.
const crawler = new PlaywrightCrawler({
launchContext: {
// Set the Firefox browser to be used by the crawler.
// If launcher option is not specified here,... | /content/code_sandbox/docs/examples/playwright_crawler_firefox.ts | xml | 2016-08-26T18:35:03 | 2024-08-16T16:40:08 | crawlee | apify/crawlee | 14,153 | 153 |
```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/orig_chrome/gpu/blink/gpu_blink.vcxproj | xml | 2016-09-27T03:41:10 | 2024-08-16T10:42:57 | miniblink49 | weolar/miniblink49 | 7,069 | 12,019 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="path_to_url" xmlns:xsi="path_to_url"
xsi:schemaLocation="path_to_url path_to_url">
<modelVersion>4.0.0</modelVersion>
<groupId>com.fuzzer</groupId>
<artifactId>fuzz-targets</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>fu... | /content/code_sandbox/projects/closure-compiler/project-parent/fuzz-targets/pom.xml | xml | 2016-07-20T19:39:50 | 2024-08-16T10:54:09 | oss-fuzz | google/oss-fuzz | 10,251 | 465 |
```xml
import { Entity, OneToMany, PrimaryGeneratedColumn } from "../../../../src"
import { UserToOrganizationEntity } from "./UserToOrganizationEntity"
@Entity("organizations")
export class OrganizationEntity {
@PrimaryGeneratedColumn()
id?: number
@OneToMany(
(type) => UserToOrganizationEntity,
... | /content/code_sandbox/test/github-issues/1703/entity/OrganizationEntity.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 87 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="path_to_url"
xmlns:xsi="path_to_url"
xsi:schemaLocation="path_to_url path_to_url">
<modelVersion>4.0.0</modelVersion>
<groupId>TranslateJ2</groupId>
<artifactId>TranslateJ2</artifactId>
<version>1.0-SNAPSHOT</version>
<p... | /content/code_sandbox/javav2/example_code/translate/pom.xml | xml | 2016-08-18T19:06:57 | 2024-08-16T18:59:44 | aws-doc-sdk-examples | awsdocs/aws-doc-sdk-examples | 9,298 | 762 |
```xml
export enum SubscriptionApiOperations {
Inviting,
CancelingInvite,
ListingInvites,
AcceptingInvite,
ConfirmAppleIAP,
GetSubscription,
GetAvailableSubscriptions,
}
``` | /content/code_sandbox/packages/api/src/Domain/Client/Subscription/SubscriptionApiOperations.ts | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 43 |
```xml
import { observer } from "mobx-react";
import * as React from "react";
import { useTranslation, Trans } from "react-i18next";
import { toast } from "sonner";
import Comment from "~/models/Comment";
import ConfirmationDialog from "~/components/ConfirmationDialog";
import Text from "~/components/Text";
import useS... | /content/code_sandbox/app/components/CommentDeleteDialog.tsx | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 303 |
```xml
import { addAttributeOptions } from '../model/column/attribute-service';
/**
* Checks for any numbers
*/
export function IsDecimal(target: any, propertyName: string): void {
addAttributeOptions(target, propertyName, {
validate: {
isDecimal: true,
},
});
}
``` | /content/code_sandbox/src/validation/is-decimal.ts | xml | 2016-01-27T11:25:52 | 2024-08-13T16:56:45 | sequelize-typescript | sequelize/sequelize-typescript | 2,768 | 61 |
```xml
import { NativeModulesProxy } from 'expo-modules-core';
import * as ScreenOrientation from '../ScreenOrientation';
const { ExpoScreenOrientation } = NativeModulesProxy;
it(`calls the lockPlatformAsync platform API with only Android properties`, async () => {
const screenOrientationConstantAndroid = 1;
con... | /content/code_sandbox/packages/expo-screen-orientation/src/__tests__/ScreenOrientation-test.android.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 235 |
```xml
import * as React from 'react';
import { StyleProp, StyleSheet, View, ViewStyle } from 'react-native';
import type { ThemeProp } from 'src/types';
import { useInternalTheme } from '../../core/theming';
export type Props = React.ComponentPropsWithRef<typeof View> & {
/**
* Items inside the `CardActions`.
... | /content/code_sandbox/src/components/Card/CardActions.tsx | xml | 2016-10-19T05:56:53 | 2024-08-16T08:48:04 | react-native-paper | callstack/react-native-paper | 12,646 | 434 |
```xml
<vector xmlns:android="path_to_url"
android:width="24dp"
android:height="24dp"
android:viewportWidth="20"
android:viewportHeight="20">
<path
android:fillColor="#FF000000"
android:pathData="M15.95,10.78c0.03,-0.25 0.05,-0.51 0.05,-0.78s-0.02,-0.53 -0.06,-0.78l1.69,-1.32c0.15,-0... | /content/code_sandbox/app/src/main/res/drawable/ic_settings_20px.xml | xml | 2016-02-22T10:00:46 | 2024-08-16T15:37:50 | Images-to-PDF | Swati4star/Images-to-PDF | 1,174 | 732 |
```xml
<?xml version="1.0" encoding="UTF-8"?><val>
<!--
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, ... | /content/code_sandbox/docs/impala_pdf.ditaval | xml | 2016-04-13T07:00:08 | 2024-08-16T10:10:44 | impala | apache/impala | 1,115 | 409 |
```xml
<vector xmlns:android="path_to_url"
android:width="159dp"
android:height="159dp"
android:viewportWidth="159"
android:viewportHeight="159">
<path
android:pathData="M79.47,155.05C121.21,155.05 155.05,121.21 155.05,79.47C155.05,37.74 121.21,3.9 79.47,3.9C37.74,3.9 3.9,37.74 3.9,79.47C3.9,121... | /content/code_sandbox/app/src/main/res/drawable/ic_blocked_uri_foreground.xml | xml | 2016-04-30T16:43:17 | 2024-08-16T19:45:08 | android | bitwarden/android | 6,085 | 1,434 |
```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 getPrototypeOf = require( './index' );
// TESTS //
// The function returns an object or null...
{
getPr... | /content/code_sandbox/lib/node_modules/@stdlib/utils/get-prototype-of/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 122 |
```xml
import { Outlet, useData, useConfig, definePageConfig, defineDataLoader } from 'ice';
export default () => {
const data = useData();
const config = useConfig();
console.log('render Layout', 'data', data, 'config', config);
return (
<div>
<h1>Layout</h1>
<Outlet />
</div>
);
};
e... | /content/code_sandbox/examples/csr-project/src/pages/layout.tsx | xml | 2016-11-03T06:59:15 | 2024-08-16T10:11:29 | ice | alibaba/ice | 17,815 | 186 |
```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.
~
-->
<project xmlns="path_to_url" xmlns:xsi="path_to_url"
xsi:schemaLocation="p... | /content/code_sandbox/apollo-common/pom.xml | xml | 2016-03-04T10:24:23 | 2024-08-16T07:42:30 | apollo | apolloconfig/apollo | 29,011 | 774 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<!--
/****************************************************************************
**
** Contact: path_to_url
**
** This file is part of the Qt VS Tools.
**
** $QT_BEGIN_LICENSE:GPL-EXCEPT$
** accordance with the commercial license agreement provided with the
** Software or... | /content/code_sandbox/GlosSIConfig/QtMsBuild/translation/qttranslation.props | xml | 2016-11-18T00:46:26 | 2024-08-12T19:26:08 | GlosSI | Alia5/GlosSI | 1,642 | 686 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="path_to_url">
<size android:height="24dp" android:width="24dp"/>
</shape>
``` | /content/code_sandbox/app/src/main/res/drawable/space_24dp.xml | xml | 2016-07-02T10:44:04 | 2024-08-16T18:55:54 | StreetComplete | streetcomplete/StreetComplete | 3,781 | 45 |
```xml
import * as React from 'react';
import type { IStyle, IRawStyle, ITheme } from '../../../Styling';
import type { IStyleFunctionOrObject, IRefObject } from '../../../Utilities';
/**
* {@docCategory Shimmer}
*/
export interface IShimmerLine {}
/**
* ShimmerLine component props.
* {@docCategory Shimmer}
*/
e... | /content/code_sandbox/packages/react/src/components/Shimmer/ShimmerLine/ShimmerLine.types.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 544 |
```xml
<resources>
<string name="app_name">TedBottomPickerDemo</string>
</resources>
``` | /content/code_sandbox/app/src/main/res/values/strings.xml | xml | 2016-08-30T08:08:31 | 2024-08-05T10:12:06 | TedBottomPicker | ParkSangGwon/TedBottomPicker | 1,114 | 22 |
```xml
<?xml version="1.0"?>
<!DOCTYPE sortOrder SYSTEM "AlphaSort1_0.dtd">
<sortOrder>
<sortValue>
<unicode>
<hex> 05D0 </hex>
</unicode>
</sortValue>
<sortValue>
<unicode>
<hex> 05D1 </hex>
</unicode>
</sortValue>
<sortValue>
<unicode>
<hex> 05... | /content/code_sandbox/vespalib/src/vespa/fastlib/text/alphasort/Hebrew.xml | xml | 2016-06-03T20:54:20 | 2024-08-16T15:32:01 | vespa | vespa-engine/vespa | 5,524 | 807 |
```xml
import {
formatPrice,
formatPriceAndInterval,
getDateSmallText,
Plan,
} from '@devhub/core'
import React from 'react'
import { Platform, View } from 'react-native'
import { useReduxState } from '../../../hooks/use-redux-state'
import * as selectors from '../../../redux/selectors'
import { sharedStyles }... | /content/code_sandbox/packages/components/src/components/modals/partials/PricingPlanBlock.tsx | xml | 2016-11-30T23:24:21 | 2024-08-16T00:24:59 | devhub | devhubapp/devhub | 9,652 | 2,516 |
```xml
import * as compose from "lodash.flowright";
import {
BranchesMainQueryResponse,
DepartmentsMainQueryResponse,
} from "@erxes/ui/src/team/types";
import { IUser } from "modules/auth/types";
import React from "react";
import { Spinner } from "@erxes/ui/src";
import Welcome from "../components/WelcomeOs";
im... | /content/code_sandbox/packages/core-ui/src/modules/welcome/container/WelcomeOs.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 403 |
```xml
<?xml version="1.0"?>
<wayfire>
<plugin name="session-lock">
<_short>Session Lock Protocol</_short>
<_long>An implementation of the ext-session-lock-v1 protocol. Provides more secure screen locking.</_long>
<category>Utility</category>
</plugin>
</wayfire>
``` | /content/code_sandbox/metadata/session-lock.xml | xml | 2016-03-04T15:00:44 | 2024-08-16T19:04:29 | wayfire | WayfireWM/wayfire | 2,346 | 74 |
```xml
import * as React from 'react';
import { Overlay } from 'office-ui-fabric-react/lib/Overlay';
import { PrimaryButton } from 'office-ui-fabric-react/lib/Button';
import { Spinner, SpinnerSize } from 'office-ui-fabric-react/lib/Spinner';
import Breadcrumb from './controls/Breadcrumb';
import Folder from './Folder'... | /content/code_sandbox/samples/react-outlook-copy2teams/src/webparts/outlook2SharePoint/components/Teams.tsx | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 1,124 |
```xml
import { IThemeManager } from '@jupyterlab/apputils';
import { ITranslator } from '@jupyterlab/translation';
import { CommandRegistry } from '@lumino/commands';
import { Message } from '@lumino/messaging';
import { Panel } from '@lumino/widgets';
import { IDebugger } from '../../tokens';
import type * as ... | /content/code_sandbox/packages/debugger/src/panels/variables/grid.ts | xml | 2016-06-03T20:09:17 | 2024-08-16T19:12:44 | jupyterlab | jupyterlab/jupyterlab | 14,019 | 842 |
```xml
export default interface MyExternalType {
name: string;
}
``` | /content/code_sandbox/src/__tests__/data/ColumnWithPropsWithExternalType.MyExternalType.tsx | xml | 2016-05-06T14:40:29 | 2024-08-15T13:51:56 | react-docgen-typescript | styleguidist/react-docgen-typescript | 1,176 | 14 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd"
[
<!ENTITY simpleName "([a-z][a-z\d]*:)?[a-z][a-z\d]*">
<!ENTITY baseName "([a-zA-Z_\$]|[^[:ascii:]])(([\w\$\-\.]|[^[:ascii:]])*([\w\$]|[^[:ascii:]]))?">
<!ENTITY name "(&baseName;:)?&baseName;">
<!ENTITY baseNameWithBoun... | /content/code_sandbox/src/data/extra/syntax-highlighting/syntax/javascript-react.xml | xml | 2016-10-05T07:24:54 | 2024-08-16T05:03:40 | vnote | vnotex/vnote | 11,687 | 5,597 |
```xml
import { GameEngine, GameEngineOptions, InputDesc, PreStepDesc } from '../GameEngine.js';
import { GameWorld } from '../GameWorld.js';
import { P2PhysicsEngine } from '../physics/P2PhysicsEngine.js';
import { SimplePhysicsEngine, SimplePhysicsEngineOptions } from '../physics/SimplePhysicsEngine.js';
import { Can... | /content/code_sandbox/src/package/serverExports.ts | xml | 2016-06-10T12:58:57 | 2024-08-15T07:16:18 | lance | lance-gg/lance | 1,570 | 375 |
```xml
<vector xmlns:android="path_to_url"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="#000"
android:fillType="evenOdd"
android:pathData="m11.641,3.233c-0.312,-0.365 -0.78,-0.559 -1.258,-0.521 -0.... | /content/code_sandbox/shared/original-core-ui/src/main/res/drawable/ic_universal_volume_max.xml | xml | 2016-05-04T11:46:20 | 2024-08-15T16:29:10 | android | meganz/android | 1,537 | 1,446 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="saffron">#F1B136</color>
<color name="sienna">#EB6460</color>
</resources>
``` | /content/code_sandbox/library/src/main/res/values/colors.xml | xml | 2016-05-12T10:16:55 | 2024-08-07T21:41:41 | pull-to-make-soup | Yalantis/pull-to-make-soup | 1,448 | 51 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="path_to_url"
android:id="@+id/anim_back_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#bf000000"
android:clickable="true"
android:orientation="vertical">
<Relati... | /content/code_sandbox/adlibrary/src/main/res/layout/anim_dialog_layout.xml | xml | 2016-08-02T08:00:57 | 2024-08-15T05:20:17 | android-adDialog | yipianfengye/android-adDialog | 3,119 | 274 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<menu
xmlns:android="path_to_url"
xmlns:app="path_to_url">
<item
android:title="@string/sort_order"
android:id="@+id/action_sort_order"
android:icon="@drawable/ic_sort_white_24dp"
app:showAsAction="ifRoom">
<menu>
<group android:checkableBeha... | /content/code_sandbox/app/src/main/res/menu/menu_album.xml | xml | 2016-01-14T13:38:47 | 2024-08-16T13:03:46 | APlayer | rRemix/APlayer | 1,308 | 314 |
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "path_to_url" >
<mapper namespace="com.megagao.production.ssm.mapper.DeviceMapper" >
<resultMap id="BaseResultMap" type="com.megagao.production.ssm.domain.Device" >
<id column="device_id" property="deviceId... | /content/code_sandbox/src/main/java/com/megagao/production/ssm/mapper/DeviceMapper.xml | xml | 2016-09-14T07:36:31 | 2024-08-01T03:17:34 | production_ssm | megagao/production_ssm | 1,070 | 4,007 |
```xml
import { Config } from '@oclif/core';
import pJSON = require('../../package.json');
export const getConfig = async () => {
const config = await Config.load();
config.pjson.lisk = { addressPrefix: 'lsk' };
config.pjson.version = pJSON.version;
return config;
};
``` | /content/code_sandbox/commander/src/bootstrapping/templates/lisk-template-ts/templates/init/test/utils/config.ts | xml | 2016-02-01T21:45:35 | 2024-08-15T19:16:48 | lisk-sdk | LiskArchive/lisk-sdk | 2,721 | 63 |
```xml
import React from "react";
import Svg, { Polygon } from "react-native-svg";
export default () => (
<Svg width={10} height={15} viewBox="0 0 10 15">
<Polygon
fill="#d1d1d6"
// eslint-disable-next-line max-len
points="9.14213562 7.07106781 2.07106781 14.1421356 0.656854249 12.7279221 6.313... | /content/code_sandbox/demo/ts/src/components/chevron.tsx | xml | 2016-07-22T21:45:58 | 2024-08-15T14:56:19 | victory-native | FormidableLabs/victory-native | 2,004 | 146 |
```xml
import type { PluginConfigType } from 'expo-dev-launcher/plugin/build/pluginConfig';
declare const _default: import("expo/config-plugins").ConfigPlugin<PluginConfigType>;
export default _default;
``` | /content/code_sandbox/packages/expo-dev-client/plugin/build/withDevClient.d.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 42 |
```xml
import { TestBed, inject, ComponentFixture, waitForAsync } from "@angular/core/testing";
import { DebugElement, SimpleChange } from "@angular/core";
import { UntypedFormGroup, UntypedFormControl } from "@angular/forms";
import { By } from "@angular/platform-browser";
import { BsDatepickerModule } from "ngx-boots... | /content/code_sandbox/projects/ng-dynamic-forms/ui-bootstrap/src/lib/dynamic-bootstrap-form-control-container.component.spec.ts | xml | 2016-06-01T20:26:33 | 2024-08-05T16:40:39 | ng-dynamic-forms | udos86/ng-dynamic-forms | 1,315 | 1,581 |
```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.
-->
<selector xmlns:android="path_to_url">
<!-- 8% + 8% opacity -->
<item android:alpha="0.18" a... | /content/code_sandbox/lib/java/com/google/android/material/chip/res/color/mtrl_chip_background_color.xml | xml | 2016-12-05T16:11:29 | 2024-08-16T17:51:42 | material-components-android | material-components/material-components-android | 16,176 | 202 |
```xml
import * as React from 'react';
import { ControlsAreaPage, IControlsPageProps } from '../ControlsAreaPage';
import { DetailsListGroupedPageProps } from './DetailsListGroupedPage.doc';
export const DetailsListGroupedPage: React.FunctionComponent<IControlsPageProps> = props => {
return <ControlsAreaPage {...pro... | /content/code_sandbox/apps/public-docsite/src/pages/Controls/DetailsListPage/DetailsListGroupedPage.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 83 |
```xml
import { TypeORMError } from "./TypeORMError"
/**
* Thrown when consumer tries to use naming strategy that does not exist.
*/
export class NamingStrategyNotFoundError extends TypeORMError {
constructor(strategyName: string | Function, connectionName: string) {
super()
const name =
... | /content/code_sandbox/src/error/NamingStrategyNotFoundError.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 129 |
```xml
import qs from "querystringify";
/**
* From the `querystringify` project:
* This transforms a given object in to a query string.
* By default we return the query string without a ? prefix.
* If you want to prefix it by default simply supply true as second argument.
* If it should be prefixed by something e... | /content/code_sandbox/common/lib/utils/stringifyQuery.ts | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 181 |
```xml
import type { Meta, StoryObj } from '@storybook/react'
import { ContinuousColorScaleConfig } from '@nivo/colors'
import { HeatMap, ComputedCell } from '@nivo/heatmap'
import { sampleData } from './data'
import { CustomTooltip as CustomTooltipComponent } from './CustomTooltip'
import { customInterpolator } from '... | /content/code_sandbox/storybook/stories/heatmap/HeatMap.stories.tsx | xml | 2016-04-16T03:27:56 | 2024-08-16T03:38:37 | nivo | plouc/nivo | 13,010 | 1,669 |
```xml
import { INDENT_CONTENT_COMMAND, OUTDENT_CONTENT_COMMAND, LexicalEditor } from 'lexical'
import { BlockPickerOption } from '../BlockPickerPlugin/BlockPickerOption'
import { LexicalIconName } from '@/Components/Icon/LexicalIcons'
export const IndentBlock = {
name: 'Indent',
iconName: 'indent',
keywords: ['... | /content/code_sandbox/packages/web/src/javascripts/Components/SuperEditor/Plugins/Blocks/IndentOutdent.tsx | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 281 |
```xml
abstract class Foo {
declare accessor prop7: number;
private accessor #p: any;
accessor a!;
abstract accessor #s;
accessor #d?;
abstract accessor f;
readonly accessor g;
}
``` | /content/code_sandbox/tests/format/misc/typescript-only/decorator-auto-accessors-abstract-class.ts | xml | 2016-11-29T17:13:37 | 2024-08-16T17:29:57 | prettier | prettier/prettier | 48,913 | 47 |
```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/shell/main.tsx | xml | 2016-11-11T23:15:09 | 2024-08-16T12:45:29 | BotFramework-Emulator | microsoft/BotFramework-Emulator | 1,803 | 1,189 |
```xml
export * from '../compiled/@rspack/core/dist/index.js';
``` | /content/code_sandbox/packages/bundles/src/rspack.ts | xml | 2016-11-03T06:59:15 | 2024-08-16T10:11:29 | ice | alibaba/ice | 17,815 | 14 |
```xml
import { findMediaLinks } from "coral-common/common/lib/helpers/findMediaLinks";
import validateImagePathname from "coral-common/common/lib/helpers/validateImagePathname";
import { WrappedInternalError } from "coral-server/errors";
import {
ExternalMedia,
GiphyMedia,
TenorMedia,
TwitterMedia,
YouTubeMe... | /content/code_sandbox/server/src/core/server/services/comments/media.ts | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 1,181 |
```xml
/*
* path_to_url
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
*/
import { RequestEnvelope } from 'ask-sdk-model';
/* tslint:disable */
export const LaunchRequest: RequestEnvelope = {
sessio... | /content/code_sandbox/ask-sdk-v1adapter/tst/mock/mockSampleRequest.ts | xml | 2016-06-24T06:26:05 | 2024-08-14T12:39:19 | alexa-skills-kit-sdk-for-nodejs | alexa/alexa-skills-kit-sdk-for-nodejs | 3,118 | 1,483 |
```xml
import type { MutableRefObject } from 'react';
import { useEffect, useRef, useState } from 'react';
import { flushSync } from 'react-dom';
import { c } from 'ttag';
import { Button, InlineLinkButton } from '@proton/atoms';
import { useLoading } from '@proton/hooks';
import { PASSWORD_WRONG_ERROR, getInfo } fro... | /content/code_sandbox/packages/components/containers/password/AuthModal.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 2,718 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="path_to_url"
android:shape="rectangle">
<corners android:radius="8dp"/>
<solid android:color="#FFFFFF"/>
</shape>
``` | /content/code_sandbox/library/selectordialog/src/main/res/drawable/shape_white_corner8.xml | xml | 2016-09-26T09:42:41 | 2024-08-12T07:09:06 | AndroidFire | jaydenxiao2016/AndroidFire | 2,634 | 57 |
```xml
import { G2Spec, ELEMENT_CLASS_NAME } from '../../../src';
import { step } from './utils';
export function alphabetIntervalActiveDefaults(): G2Spec {
return {
type: 'interval',
padding: 0,
transform: [{ type: 'sortX', by: 'y', reverse: true }],
data: {
type: 'fetch',
value: 'data/a... | /content/code_sandbox/__tests__/plots/interaction/alphabet-interval-active-defaults.ts | xml | 2016-05-26T09:21:04 | 2024-08-15T16:11:17 | G2 | antvis/G2 | 12,060 | 189 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns="path_to_url"
xmlns:x="path_to_url"
xmlns:ios="clr-namespace:Xamarin.Forms.Xaml.UnitTests;targetPlatform=iOS"
xmlns:android="clr-namespace:Xamarin.Forms.Xaml.UnitTests;targetPlatform=Android"
x:Class="Xamarin.Forms.Xaml.UnitTests.NativeViewsAndBin... | /content/code_sandbox/Xamarin.Forms.Xaml.UnitTests/NativeViewsAndBindings.xaml | xml | 2016-03-18T15:52:03 | 2024-08-16T16:25:43 | Xamarin.Forms | xamarin/Xamarin.Forms | 5,637 | 192 |
```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 betaincinv = require( './index' );
// TESTS //
// The function returns a number...
{
betaincinv( 0.2, 1... | /content/code_sandbox/lib/node_modules/@stdlib/math/base/special/betaincinv/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 745 |
```xml
<!--
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~
~ path_to_url
~
~ Unless required by applicable law or agreed to in writing, software
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expre... | /content/code_sandbox/test/e2e/sql/src/test/resources/cases/dql/dataset/empty_storage_units/opengauss/select_opengauss_pg_catalog_pg_group.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 114 |
```xml
export * from "./model";
export {AssetModelUtil} from "./util";
``` | /content/code_sandbox/ui/component/model/src/index.ts | xml | 2016-02-03T11:14:02 | 2024-08-16T12:45:50 | openremote | openremote/openremote | 1,184 | 17 |
```xml
import { sendMessage } from "@erxes/api-utils/src/core";
import { MessageArgs, MessageArgsOmitService } from "@erxes/api-utils/src/core";
import { generateModels } from "./connectionResolver";
import { afterMutationHandlers } from "./afterMutations";
import {
consumeQueue,
consumeRPCQueue
} from "@erxes/api-... | /content/code_sandbox/packages/plugin-grants-api/src/messageBroker.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 469 |
```xml
<!--
~ Nextcloud - Android Client
~
-->
<vector xmlns:android="path_to_url"
android:width="24dp"
android:height="24dp"
android:tint="#FF000000"
android:viewportWidth="960"
android:viewportHeight="960">
<path
android:fillColor="@android:color/white"
android:pathData="M4... | /content/code_sandbox/app/src/main/res/drawable/ic_check_circle_outline.xml | xml | 2016-06-06T21:23:36 | 2024-08-16T18:22:36 | android | nextcloud/android | 4,122 | 406 |
```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 Complex128 = require( '@stdlib/complex/float64/ctor' );
import cflipsign = require( './index' );
// TESTS... | /content/code_sandbox/lib/node_modules/@stdlib/math/base/special/cflipsign/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 549 |
```xml
import React, { type ComponentProps, type FC, type ReactNode, useCallback } from 'react';
import { useRouteLoaderData } from 'react-router-dom';
import { useToggle } from 'react-use';
import { toKebabCase } from '../../../../../common/misc';
import { useRequestGroupPatcher, useRequestPatcher } from '../../../..... | /content/code_sandbox/packages/insomnia/src/ui/components/editors/auth/components/auth-input-row.tsx | xml | 2016-04-23T03:54:26 | 2024-08-16T16:50:44 | insomnia | Kong/insomnia | 34,054 | 619 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
path_to_url
Unless required by applicable law or agreed to in writing, software
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-->
<!-- General configurations -->
<configuration>
<property>
<name>drelephant.analysis.thread.coun... | /content/code_sandbox/test/resources/GeneralConf.xml | xml | 2016-03-02T17:51:13 | 2024-08-13T18:56:18 | dr-elephant | linkedin/dr-elephant | 1,350 | 298 |
```xml
<schemalist>
<schema id='org.gtk.test.schema'>
<key name='test' type='i'>
<choices/>
</key>
</schema>
</schemalist>
``` | /content/code_sandbox/utilities/glib/gio/tests/schema-tests/choice-badtype.gschema.xml | xml | 2016-10-27T09:31:28 | 2024-08-16T19:00:35 | nexmon | seemoo-lab/nexmon | 2,381 | 44 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Resources.ResourceManager</name>
</assembly>
<members>
<member name="T:System.Resources.MissingManifestResourceException">
<summary> throw .</summary>
</member>
<member name="M:System.Resources.MissingMa... | /content/code_sandbox/packages/System.Resources.ResourceManager.4.0.0/ref/dotnet/ko/System.Resources.ResourceManager.xml | xml | 2016-04-24T09:50:47 | 2024-08-16T11:45:14 | ILRuntime | Ourpalm/ILRuntime | 2,976 | 1,204 |
```xml
import 'rxjs-compat/add/operator/bufferTime';
``` | /content/code_sandbox/deps/node-10.15.3/tools/node_modules/eslint/node_modules/rxjs/src/add/operator/bufferTime.ts | xml | 2016-09-05T10:18:44 | 2024-08-11T13:21:40 | LiquidCore | LiquidPlayer/LiquidCore | 1,010 | 12 |
```xml
import React from 'react';
import { Row, Col } from 'rsuite';
import { MarkdownRenderer } from 'react-code-view';
import { useApp } from '@/components/AppContext';
import IconList from '@/components/IconList';
import DefaultPage from '@/components/Page';
export default function Page() {
const { localePath } =... | /content/code_sandbox/docs/pages/resources/icons/index.tsx | xml | 2016-06-06T02:27:46 | 2024-08-16T16:41:54 | rsuite | rsuite/rsuite | 8,263 | 155 |
```xml
import type { Disposable } from 'vscode';
import { Uri, window } from 'vscode';
import type { Container } from '../../container';
import { RemoteResourceType } from '../../git/models/remoteResource';
import type { Repository } from '../../git/models/repository';
import { parseGitRemoteUrl } from '../../git/parse... | /content/code_sandbox/src/plus/repos/repositoryIdentityService.ts | xml | 2016-08-08T14:50:30 | 2024-08-15T21:25:09 | vscode-gitlens | gitkraken/vscode-gitlens | 8,889 | 1,340 |
```xml
/*your_sha256_hash-----------------------------
*your_sha256_hash----------------------------*/
import { WorkerManager } from './workerManager';
import type { TypeScriptWorker } from './tsWorker';
import { LanguageServiceDefaults } from './monaco.contribution';
import * as languageFeatures from './languageFeat... | /content/code_sandbox/src/language/typescript/tsMode.ts | xml | 2016-06-07T16:56:31 | 2024-08-16T17:17:05 | monaco-editor | microsoft/monaco-editor | 39,508 | 1,058 |
```xml
import { Component } from '@angular/core';
import { ColumnMode } from 'projects/swimlane/ngx-datatable/src/public-api';
@Component({
selector: 'comparator-sorting-demo',
template: `
<div>
<h3>
Custom Sorting Comparator
<small>
<a
href="path_to_url"
... | /content/code_sandbox/src/app/sorting/sorting-comparator.component.ts | xml | 2016-05-31T19:25:47 | 2024-08-06T15:02:47 | ngx-datatable | swimlane/ngx-datatable | 4,624 | 380 |
```xml
// The sole purpose of this "initialisation" is to load in browser memory the required assets for the drive-worker.
// This prevents errors when we deploy where the requested assets are out of sync / not existent anymore.
// Please be cautious when changing this function.
export const initDriveWorker = () => {
... | /content/code_sandbox/applications/drive/src/app/utils/initDriveWorker.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 179 |
```xml
import * as React from 'react';
import { ContextualMenu, DirectionalHint, IContextualMenuItem } from '@fluentui/react/lib/ContextualMenu';
import { FocusZone, FocusZoneDirection } from '@fluentui/react/lib/FocusZone';
import { getRTL, setRTL, classNamesFunction, styled } from '@fluentui/react/lib/Utilities';
im... | /content/code_sandbox/packages/react-docsite-components/src/components/Header/Header.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 905 |
```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/elements/lisk-p2p/test/integration/peerserver_banning.spec.ts | xml | 2016-02-01T21:45:35 | 2024-08-15T19:16:48 | lisk-sdk | LiskArchive/lisk-sdk | 2,721 | 610 |
```xml
export class Resource {
resource_id: number;
role_id: string;
name: string;
app_name?: string;
permissions: string[] = [];
}
``` | /content/code_sandbox/api/client/src/app/models/resource.ts | xml | 2016-06-08T16:34:46 | 2024-08-16T18:12:30 | WALKOFF | nsacyber/WALKOFF | 1,198 | 33 |
```xml
import type { CacheNode } from '../../../shared/lib/app-router-context.shared-runtime'
import type {
FlightRouterState,
CacheNodeSeedData,
} from '../../../server/app-render/types'
import { createRouterCacheKey } from './create-router-cache-key'
import {
PrefetchCacheEntryStatus,
type PrefetchCacheEntry,... | /content/code_sandbox/packages/next/src/client/components/router-reducer/fill-lazy-items-till-leaf-with-head.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 1,354 |
```xml
import { ProfileEntity } from '../entities/profile.entity';
export interface AccountFollowersFeedResponse {
sections: null;
users: AccountFollowersFeedResponseUsersItem[];
big_list: boolean;
next_max_id: string;
page_size: number;
status: string;
}
export class AccountFollowersFeedResponseUsersItem ... | /content/code_sandbox/src/responses/account-followers.feed.response.ts | xml | 2016-06-09T12:14:48 | 2024-08-16T10:07:22 | instagram-private-api | dilame/instagram-private-api | 5,877 | 134 |
```xml
import type { Meta, StoryObj } from '@storybook/react'
import range from 'lodash/range'
import shuffle from 'lodash/shuffle'
import { Bump, BumpPoint, BumpSvgProps, BumpComputedSerie } from '@nivo/bump'
const meta: Meta<typeof Bump> = {
title: 'Bump',
component: Bump,
tags: ['autodocs'],
}
export d... | /content/code_sandbox/storybook/stories/bump/Bump.stories.tsx | xml | 2016-04-16T03:27:56 | 2024-08-16T03:38:37 | nivo | plouc/nivo | 13,010 | 1,498 |
```xml
import { Base } from "./Base"
export class C extends Base {
constructor(public c: string) {
super()
}
}
``` | /content/code_sandbox/test/github-issues/9833/entity/C.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 29 |
```xml
import { ThemeProvider } from 'expo-dev-client-components';
import * as React from 'react';
import { AppInfoContextProvider, AppInfoContextProviderProps } from '../hooks/useAppInfo';
import { DevSettingsProviderProps, DevSettingsProvider } from '../hooks/useDevSettings';
import { MenuPreferencesProvider, MenuPr... | /content/code_sandbox/packages/expo-dev-menu/app/components/AppProviders.tsx | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 227 |
```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/agent/plugins/tracing/jaeger/src/test/resources/cases/proxy/root_invoke.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 156 |
```xml
import type { H3Error } from 'h3'
import { createError as createH3Error } from 'h3'
import { toRef } from 'vue'
import { useNuxtApp } from '../nuxt'
import { useRouter } from './router'
export const NUXT_ERROR_SIGNATURE = '__nuxt_error'
/** @since 3.0.0 */
export const useError = () => toRef(useNuxtApp().paylo... | /content/code_sandbox/packages/nuxt/src/app/composables/error.ts | xml | 2016-10-26T11:18:47 | 2024-08-16T19:32:46 | nuxt | nuxt/nuxt | 53,705 | 527 |
```xml
/**
* A recreation of this demo: path_to_url
*/
import { Chart } from '@antv/g2';
const chart = new Chart({
container: 'container',
paddingLeft: 25,
});
chart
.interval()
.data({
type: 'fetch',
value: 'path_to_url
transform: [
{
type: 'fold',
fields: [
'los... | /content/code_sandbox/site/examples/general/interval/demo/bar-stacked-diverging-rounded.ts | xml | 2016-05-26T09:21:04 | 2024-08-15T16:11:17 | G2 | antvis/G2 | 12,060 | 539 |
```xml
import React, { memo, type SVGProps } from 'react';
export const SvgIcnDragGrip = memo<SVGProps<SVGSVGElement>>(props => (
<svg
width="1em"
height="1em"
viewBox="0 0 14 14"
fill="none"
xmlns="path_to_url"
role="img"
{...props}
>
<path fill="none" d="M0 0h14v14H0z" />
<path... | /content/code_sandbox/packages/insomnia/src/ui/components/assets/svgr/IcnDragGrip.tsx | xml | 2016-04-23T03:54:26 | 2024-08-16T16:50:44 | insomnia | Kong/insomnia | 34,054 | 394 |
```xml
import AvatarUpload from "@erxes/ui/src/components/AvatarUpload";
import { RichTextEditor } from "@erxes/ui/src/components/richTextEditor/TEditor";
import FormGroup from "@erxes/ui/src/components/form/Group";
import ControlLabel from "@erxes/ui/src/components/form/Label";
import { FlexContent } from "@erxes/ui/s... | /content/code_sandbox/packages/plugin-clientportal-ui/src/components/forms/Appearance.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 1,893 |
```xml
import validate from '../src/integer';
test('validates integer numbers', () => {
expect(validate('1234567890')).toBe(true);
expect(validate(123)).toBe(true);
expect(validate(-123)).toBe(true);
expect(validate('-1234')).toBe(true);
expect(validate(undefined)).toBe(true);
expect(validate(null)).toBe(t... | /content/code_sandbox/packages/rules/tests/integer.spec.ts | xml | 2016-07-30T01:10:44 | 2024-08-16T10:19:58 | vee-validate | logaretm/vee-validate | 10,699 | 183 |
```xml
export { default as useContracts } from './useContracts';
``` | /content/code_sandbox/src/services/Store/Contract/index.ts | xml | 2016-12-04T01:35:27 | 2024-08-14T21:41:58 | MyCrypto | MyCryptoHQ/MyCrypto | 1,347 | 13 |
```xml
=== HTML-WebDAO
--- yaml
\--- #YAML:1.0
name: HTML-WebDAO
version: 0.04
author:
- |-
Zahatski Aliaksandr, E<lt>zagap@users.sourceforge.netE<gt>
abstract: Perl extension for create complex web application
license: perl
--- perl
[ {
abstract => 'Perl extension for create complex web application',
au... | /content/code_sandbox/gnu/usr.bin/perl/cpan/CPAN-Meta-YAML/t/tml-world/HTML-WebDAO.tml | xml | 2016-08-30T18:18:25 | 2024-08-16T17:21:09 | src | openbsd/src | 3,139 | 157 |
```xml
import type { Resume } from '~/types/resume';
export function resumeGetFilterCounts(data: Array<Resume>) {
const roleCounts: Record<string, number> = {};
for (let i = 0; i < data.length; i++) {
const { role } = data[i];
if (!(role in roleCounts)) {
roleCounts[role] = 1;
} else {
role... | /content/code_sandbox/apps/portal/src/utils/resumes/resumePrismaUtils.ts | xml | 2016-07-05T05:00:48 | 2024-08-16T19:01:19 | tech-interview-handbook | yangshun/tech-interview-handbook | 115,302 | 368 |
```xml
import {
DataWithLoader,
Pagination,
Spinner,
Wrapper,
__,
} from "@erxes/ui/src";
import React from "react";
import { queries } from "../section/graphql";
import { gql } from "@apollo/client";
import Select from "react-select";
import { useQuery } from "@apollo/client";
type Props = {
label: string... | /content/code_sandbox/packages/plugin-grants-ui/src/common/utils.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 711 |
```xml
"use client"
import { currentUserAtom } from "@/modules/JotaiProiveder"
import { useQuery, useSubscription } from "@apollo/client"
import { useAtomValue } from "jotai"
import { queries } from "../graphql"
import { IAbsence, IAbsenceType } from "../types"
import { generateParams, isCurrentUserAdmin } from "../u... | /content/code_sandbox/exm-web/modules/timeclock/hooks/useAbsence.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 386 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<cdtprojectproperties>
<section name="org.eclipse.cdt.internal.ui.wizards.settingswizards.IncludePaths">
<language name="holder for library settings">
</language>
<language name="Assembly">
<includepath>${IDF_PATH}/components/vfs/include</includepath>
<includepath>${IDF_PA... | /content/code_sandbox/eclipse/c_includes.xml | xml | 2016-11-05T15:26:51 | 2024-08-15T16:23:41 | esp32-snippets | nkolban/esp32-snippets | 2,338 | 2,472 |
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "path_to_url" >
<mapper namespace="org.goshop.cms.mapper.read.ReadCmsSlideMapper" >
<resultMap id="BaseResultMap" type="org.goshop.cms.pojo.CmsSlide" >
<id column="slide_id" property="slideId" jdbcType="INT... | /content/code_sandbox/goshop-service-cms/src/main/java/org/goshop/cms/mapper/read/ReadCmsSlideMapper.xml | xml | 2016-06-18T10:16:23 | 2024-08-01T09:11:36 | goshop2 | pzhgugu/goshop2 | 1,106 | 914 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definitions"
xmlns="path_to_url"
xmlns:activiti="path_to_url"
targetNamespace="Examples">
<process id="async">
<startEvent id="theStart" />
<sequenceFlow id="flow1" sourceRef="theStart" targetRef="fork" />
<inclusiveGateway i... | /content/code_sandbox/modules/flowable5-test/src/test/resources/org/activiti/engine/test/bpmn/gateway/InclusiveGatewayTest.testAsyncBehavior.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 285 |
```xml
/**
* WaitForStateStage.tsx
*/
import * as Oni from "oni-api"
import { ITutorialContext, ITutorialStage } from "./../ITutorial"
export class WaitForStateStage implements ITutorialStage {
public get goalName(): string {
return this._goalName
}
constructor(private _goalName: string, priva... | /content/code_sandbox/browser/src/Services/Learning/Tutorial/Stages/WaitForStateStage.tsx | xml | 2016-11-16T14:42:55 | 2024-08-14T11:48:05 | oni | onivim/oni | 11,355 | 240 |
```xml
import './addClass.js';
declare module '../shared/core.js' {
interface JQ<T = HTMLElement> {
/**
* CSS
* @param className
* CSS CSS
*
* CSS `this`
*
* CSS
*
* `class`
* @example
```js
$('p').removeClass('item')
```
* @example
```js
$('p').r... | /content/code_sandbox/packages/jq/src/methods/removeClass.ts | xml | 2016-07-11T17:39:02 | 2024-08-16T07:12:34 | mdui | zdhxiong/mdui | 4,077 | 170 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.