text stringlengths 2 99.9k | meta dict |
|---|---|
INVENTORY=/system/chassis/motherboard/powersupply3
DEVPATH=/dev/input/by-path/platform-gpio-keys-event
KEY=147
NAME=powersupply3
DRIVERS=/sys/bus/i2c/drivers/ibm-cffps,3-006b
EXTRA_IFACES=xyz.openbmc_project.Inventory.Item.PowerSupply
| {
"pile_set_name": "Github"
} |
export enum SelectDateChangeReason {
date,
time,
button,
format,
custom
}
export interface SelectDateChangeEventArgs {
reason: SelectDateChangeReason;
selectedDate: Date;
}
| {
"pile_set_name": "Github"
} |
import arrayEvery from './_arrayEvery.js';
import createOver from './_createOver.js';
/**
* Creates a function that checks if **all** of the `predicates` return
* truthy when invoked with the arguments it receives.
*
* @static
* @memberOf _
* @since 4.0.0
* @category Util
* @param {...(Function|Function[])} [p... | {
"pile_set_name": "Github"
} |
//
// main.m
// GCDExample
//
// Created by Jeff Kelley on 2/18/11.
// Copyright 2011 Jeff Kelley. All rights reserved.
//
#import <UIKit/UIKit.h>
int main(int argc, char *argv[])
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
int retVal = UIApplicationMain(argc, argv, nil, nil);
[pool ... | {
"pile_set_name": "Github"
} |
One.relative_identifier(
1 ^^^ 2,
key: 3 ^^^ 4
) ^^^ Two.relative_identifier(
2 ^^^ 1,
key: 4 ^^^ 3
)
One.relative_identifier(
1 ^^^ 2,
key: 3 ^^^ 4
)(
4 ^^^ 5,
key: 6 ^^^ 7
) ^^^ Two.relative_identifier(
2 ^^^ 1,
key: 4 ^^^ 3
)(
5 ^^^ 4,
key: 7 ^^^ 6
)
One.relative_identifier key: 1 ^^^ 2
One.r... | {
"pile_set_name": "Github"
} |
#ifndef HEADER_CURL_TFTP_H
#define HEADER_CURL_TFTP_H
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| ... | {
"pile_set_name": "Github"
} |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2014-2015 Benoit Steiner <benoit.steiner.goog@gmail.com>
// Copyright (C) 2015 Navdeep Jaitly <ndjaitly@google.com>
// Copyright (C) 2014 Eric Martin <eric@ericmart.in>
//
// This Source Code Form is subject to ... | {
"pile_set_name": "Github"
} |
---
features:
- |
Add support for system-scope to ``role`` commands. This includes the ability to
generate system-scoped tokens using ``system_scope: all`` in ``cloud.yaml``
or ``OS_SYSTEM_SCOPE=all`` in an environment variable. Support is also
included for managing role assignments on the system usin... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Oct 15 2018 10:31:50).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <objc/NSObject.h>
#import <CoreTelephony/NSCopying-Protocol.h>
#import <CoreTelephony/NSSecureCoding-Protocol.h>
@class NSArr... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/kg_common_background"
android:focusableInTouchMode="true"
android:orientation="verti... | {
"pile_set_name": "Github"
} |
/*
* This is a module which is used for queueing IPv6 packets and
* communicating with userspace via netlink.
*
* (C) 2001 Fernando Anton, this code is GPL.
* IPv64 Project - Work based in IPv64 draft by Arturo Azcorra.
* Universidad Carlos III de Madrid - Leganes (Madrid) - Spain
* Universidad Polit... | {
"pile_set_name": "Github"
} |
package libcontainerd
import "sync"
type queue struct {
sync.Mutex
fns map[string]chan struct{}
}
func (q *queue) append(id string, f func()) {
q.Lock()
defer q.Unlock()
if q.fns == nil {
q.fns = make(map[string]chan struct{})
}
done := make(chan struct{})
fn, ok := q.fns[id]
q.fns[id] = done
go func(... | {
"pile_set_name": "Github"
} |
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package nl.bzk.brp.model.data.kern;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import n... | {
"pile_set_name": "Github"
} |
package com.dotcms.publisher.assets.business;
import com.dotcms.publisher.assets.bean.PushedAsset;
import com.dotcms.publisher.util.PublisherUtil;
import com.dotmarketing.business.CacheLocator;
import com.dotmarketing.common.db.DotConnect;
import com.dotmarketing.db.DbConnectionFactory;
import com.dotmarketing.excepti... | {
"pile_set_name": "Github"
} |
#|
LambdaNative - a cross-platform Scheme framework
Copyright (c) 2009-2013, University of British Columbia
All rights reserved.
Redistribution and use in source and binary forms, with or
without modification, are permitted provided that the
following conditions are met:
* Redistributions of source code must retain t... | {
"pile_set_name": "Github"
} |
// Forward to the target if the trap is not defined
var target = { foo: 'bar' };
for (let p of [new Proxy(target, {}), Proxy.revocable(target, {}).proxy]) {
assertEq(p.foo, 'bar');
assertEq(p['foo'], 'bar');
}
if (typeof Symbol === "function") {
var s = Symbol.for("moon");
var obj = {};
obj[s] = "d... | {
"pile_set_name": "Github"
} |
@if (ViewContext.ModelState.IsValid == false)
{
<div class="alert alert-danger">
<strong>Error</strong>
<div asp-validation-summary="All" class="danger"></div>
</div>
} | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 897a479a4b813dd4dad8b385d35c2370
folderAsset: yes
timeCreated: 1497998668
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
import copy
import math
import logging
import torchvision
from .preprocess import Preprocess
LOG = logging.getLogger(__name__)
class CenterPad(Preprocess):
def __init__(self, target_size):
if isinstance(target_size, int):
target_size = (target_size, target_size)
self.target_size = t... | {
"pile_set_name": "Github"
} |
/**
* The MIT License
* Copyright (c) 2014-2016 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... | {
"pile_set_name": "Github"
} |
---
type: introduction
section: introduction
locale: zh-CN
---
<span class="first-line"><span class="first-letter">JavaScript</span> 一直在发展。</span>新的库、框架、语言依旧层出不穷。这让前端开发变得十分有趣,同时,也让从业者感到力不从心。
为此,我们创立了 State of JavaScript 调查。今年,为了了解到开发者在用什么、喜欢什么、想学什么,我们调查了超过 20000 名 JavaScript 开发从业者。希望这些调查结果可以帮助你了解 JavaScript 生态圈的现状,并... | {
"pile_set_name": "Github"
} |
国の補助金等の臨時特例等に関する法律 抄
(平成三年三月三十日法律第十五号)最終改正:平成五年三月三一日法律第八号
第一章 総理府関係(第一条―第十条)
第二章 大蔵省関係(第十一条)
第三章 文部省関係(第十二条―第十四条)
第四章 農林水産省関係(第十五条・第十六条)
第五章 運輸省関係(第十七条―第二十一条)
第六章 建設省関係(第二十二条―第三十一条)
第七章 自治省関係(第三十二条・第三十三条)
第八章 地方公共団体に対する財政金融上の措置(第三十四条)
附則
第一章 総理府関係
(国土調査法の一部改正)
第一条
略
(離島振興法の一部改正)
第二条
略
... | {
"pile_set_name": "Github"
} |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!55 &1
PhysicsManager:
m_ObjectHideFlags: 0
serializedVersion: 3
m_Gravity: {x: 0, y: -9.81, z: 0}
m_DefaultMaterial: {fileID: 0}
m_BounceThreshold: 2
m_SleepThreshold: 0.005
m_DefaultContactOffset: 0.01
m_DefaultSolverIterations: 6
m_DefaultSolverVelocit... | {
"pile_set_name": "Github"
} |
Expectations for DNS Seed operators
====================================
This document has been relocated to https://zcash.readthedocs.io/en/latest/rtd_pages/dnsseed_policy.html
The source for this document is available at https://gitlab.com/zcash-docs/zcash-docs/blob/master/source/rtd_pages/dnsseed_policy.rst | {
"pile_set_name": "Github"
} |
//
// ViewController.swift
// HysteriaPlayerSwiftExample
//
// Created by Stan on 8/17/15.
// Copyright © 2015 saiday. All rights reserved.
//
import UIKit
import HysteriaPlayer
class ViewController: UIViewController, HysteriaPlayerDelegate, HysteriaPlayerDataSource{
lazy var hysteriaPlayer = HysteriaPlayer.... | {
"pile_set_name": "Github"
} |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | {
"pile_set_name": "Github"
} |
===========================================================
Stored XSS Vulnerability in WP Statistics Wordpress Plugin
===========================================================
. contents:: Table Of Content
Overview
========
* Title :Stored XSS Vulnerability in WP Statistics Wordpress Plugin
* Author: Kaustubh ... | {
"pile_set_name": "Github"
} |
// @flow
import React, { PropTypes } from 'react';
import debounce from 'lodash.debounce';
import { List } from './List';
import { TextInput } from './forms/TextInput';
type Props = {
className?: string,
children?: ReactChildren,
style: Object,
data?: Array<Object>,
labelFunction?: Function,
... | {
"pile_set_name": "Github"
} |
using Xunit;
using System.Linq;
namespace RDotNet
{
public class REngineCleanupTest : RDotNetTestFixture
{
[Fact]
public void TestDefaultClearGlobalEnv()
{
SetUpTest();
var engine = this.Engine;
engine.ClearGlobalEnvironment();
... | {
"pile_set_name": "Github"
} |
"""Test file."""
import imp
import platform
from os import path
from unittest import TestCase
from EasyClangComplete.plugin.utils import file
from EasyClangComplete.plugin.utils import search_scope
imp.reload(file)
imp.reload(search_scope)
File = file.File
SearchScope = search_scope.TreeSearchScope
class test_file... | {
"pile_set_name": "Github"
} |
---
group: cloud-guide
title: Environment variables
functional_areas:
- Cloud
- Configuration
---
{{site.data.var.ece}} enables you to assign environment variables to override configuration options:
- [ADMIN]({{ site.baseurl }}/cloud/env/environment-vars_magento.html)—variables override project ADMIN variables
-... | {
"pile_set_name": "Github"
} |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/lightsail/Lightsail_EXPORTS.h>
#include <aws/lightsail/LightsailRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Lig... | {
"pile_set_name": "Github"
} |
/******************************************************************************
*
* (C)Copyright 1998,1999 SysKonnect,
* a business unit of Schneider & Koch & Co. Datensysteme GmbH.
*
* See the file "skfddi.c" for further information.
*
* This program is free software; you can redistribute it and/or modify
* it... | {
"pile_set_name": "Github"
} |
include ../../../Make.helper
COMPILE_IDS:=$(call config_ids,../compile_options.config)
TABLES = $(foreach COMPILE_ID,$(COMPILE_IDS),tbl-count-$(COMPILE_ID).tex)
CONFIG_FILES=index-filter.config ../index.config ../test_case.config
all: count.pdf
count.pdf: count.tex
@echo "Use pdflatex to generate count.pdf"
@pdfla... | {
"pile_set_name": "Github"
} |
// Automatically generated from TypeScript type definitions provided by
// DefinitelyTyped (https://github.com/DefinitelyTyped/DefinitelyTyped),
// which is licensed under the MIT license; see file DefinitelyTyped-LICENSE
// in parent directory.
// Type definitions for Node.js 10.5.x
// Project: http://nodejs.org/
// D... | {
"pile_set_name": "Github"
} |
[Desktop Entry]
Version=1.0
Name=VLC
GenericName=VLC media player
Comment=Read, capture, broadcast your multimedia streams
Exec=vlc.wrapper
TryExec=vlc.wrapper
Icon=vlc
Terminal=false
Type=Application
Categories=AudioVideo;Player;Recorder;
MimeType=video/dv;video/mpeg;video/x-mpeg;video/msvideo;video/quicktime;video/x-... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Jul 6 2018 12:02:43).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <AppKit/NSViewController.h>
#import "NSTabViewDelegate-Protocol.h"
#import "NSTableViewDataSource-Protocol.h"
@class MSDocume... | {
"pile_set_name": "Github"
} |
use actix_web::{web, HttpResponse};
use actix_web::{delete, get, post};
use meilisearch_core::settings::{SettingsUpdate, UpdateState};
use std::collections::BTreeSet;
use crate::error::{Error, ResponseError};
use crate::helpers::Authentication;
use crate::routes::{IndexParam, IndexUpdateResponse};
use crate::Data;
pu... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Consul;
using Microsoft.Extensions.Logging;
using Surging.Core.Consul.Configurations;
using Surging.Core.Consul.Internal.Cluster.HealthChecks;
using Surging.Cor... | {
"pile_set_name": "Github"
} |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | {
"pile_set_name": "Github"
} |
#include <unistd.h>
#include <time.h>
unsigned sleep(unsigned seconds)
{
struct timespec tv = { .tv_sec = seconds, .tv_nsec = 0 };
if (nanosleep(&tv, &tv))
return tv.tv_sec;
return 0;
}
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:id="@+id/... | {
"pile_set_name": "Github"
} |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SubtitlesViewModel.cs" company="HandBrake Project (http://handbrake.fr)">
// This file is part of the HandBrake source code - It may be used under the terms of the GNU General... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2014-2020 OpenKeeper
*
* OpenKeeper is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* OpenKeeper is distri... | {
"pile_set_name": "Github"
} |
import {
Component, ComponentBindings, JSXComponent, OneWay, Fragment, Consumer,
} from 'devextreme-generator/component_declaration/common';
import { LightButton } from '../common/light_button';
import { PagesLarge } from './large';
import { PagesSmall } from './small';
import PagerProps from '../common/pager_props'... | {
"pile_set_name": "Github"
} |
/*!
* \file CMeshSolver.hpp
* \brief Declaration and inlines of the class to compute the
* the discrete adjoint of the linear-elastic mesh solver.
* \author Ruben Sanchez
* \version 7.0.6 "Blackbird"
*
* SU2 Project Website: https://su2code.github.io
*
* The SU2 Project is maintained by the SU2 Foundati... | {
"pile_set_name": "Github"
} |
/**
* DSS - Digital Signature Services
* Copyright (C) 2015 European Commission, provided under the CEF programme
*
* This file is part of the "DSS - Digital Signature Services" project.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Publ... | {
"pile_set_name": "Github"
} |
// Name: JetAnaPythia
// Description: Example of analysis of Pythia produced partons & jets
// Based on Kostas Kousouris' templated JetPlotsExample.
// Plots are tailored to needs of dijet mass and ratio analysis.
// Author: R. Harris
// Date: 28 - Oct - 2008
#include "RecoJets/JetAnalyzer... | {
"pile_set_name": "Github"
} |
## This file is part of Scapy
## See http://www.secdev.org/projects/scapy for more informations
## Copyright (C) Philippe Biondi <phil@secdev.org>
## This program is published under a GPLv2 license
"""
Unit testing infrastructure for Scapy
"""
import sys,getopt,imp
import bz2, base64, os.path, time, traceback, zlib, ... | {
"pile_set_name": "Github"
} |
/*
Copyright The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softw... | {
"pile_set_name": "Github"
} |
// mkerrors.sh -m64
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build amd64,solaris
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs -- -m64 _const.go
package unix
import "syscall"
const (
AF_802 = 0x12
AF_APPLETALK = 0x10
AF_CCITT ... | {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright 2014 Freescale Semiconductor, Inc.
*/
#include <common.h>
#include <asm/mmu.h>
struct fsl_e_tlb_entry tlb_table[] = {
/* TLB 0 - for temp stack in cache */
SET_TLB_ENTRY(0, CONFIG_SYS_INIT_RAM_ADDR,
CONFIG_SYS_INIT_RAM_ADDR_PHYS,
MAS3_SX|MAS3_SW|... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.github.chengzhx76.service.order.dao.OrderInfoDaoMapper">
<sql id="tableName">order_info</sql>
<sql id="columns">
o.id,o.account_id,o.... | {
"pile_set_name": "Github"
} |
package keystoneml.nodes.stats
import breeze.linalg._
import org.apache.spark.SparkContext
import org.scalatest.FunSuite
import keystoneml.pipelines.Logging
import keystoneml.utils.Stats
import keystoneml.workflow.PipelineContext
class PaddedFFTSuite extends FunSuite with PipelineContext with Logging {
test("Test ... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2017 Igalia S.L.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library i... | {
"pile_set_name": "Github"
} |
//
// windows/basic_handle.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2014 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef B... | {
"pile_set_name": "Github"
} |
// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package webdav
import (
"encoding/xml"
"fmt"
"io"
"io/ioutil"
"os"
"path"
"path/filepath"
"reflect"
"runtime"
"sort"
"strconv"
"strings"
"testing"... | {
"pile_set_name": "Github"
} |
{
"animation":{
"frametime":2
}
} | {
"pile_set_name": "Github"
} |
<cfset variable = 10>
<cfset variable = variable + 10>
<cfscript>
vari<caret>able = 4;
</cfscript> | {
"pile_set_name": "Github"
} |
namespace System.ServiceModel
{
/// <summary>
/// Represents a communication error in either the service or client application.
/// </summary>
public partial class CommunicationException : SystemException
{
/// <summary>
/// Initializes a new instance of the System.ServiceModel.Comm... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2015 herd contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | {
"pile_set_name": "Github"
} |
package railo.runtime.format;
import java.util.Date;
/**
*
*/
public interface Format {
/**
* formats a date to a cfml date format (short)
* @param date
* @return formated String
*/
public abstract String format(Date date);
/**
* formats a date to a cfml date format
* @param date
* @param mask
* ... | {
"pile_set_name": "Github"
} |
// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// TODO: turn off the serve goroutine when idle, so
// an idle conn only has the readFrames goroutine active. (which could
// also be optimized probably to pin ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{28675388-705d-4cd8-882e-32b51259a88a}</UniqueIdentifier>
<Extensions>cpp;c;cxx;def;odl;idl;hpj;bat;asm</Extens... | {
"pile_set_name": "Github"
} |
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://opensource.org/license... | {
"pile_set_name": "Github"
} |
Text: Acknowledgements; Tail: null; Type: 1st Heading; Icon: /perl5language.png; Type Icon: null
Lookups: Acknowledgements
PsiElement: PsiHead1SectionImpl(Perl5 POD: HEAD_1_SECTION) at 3910 in perl5144delta.pod
Text: CVE-2013-1667: memory exhaustion with arbitrary hash keys; Tail: null; Type: 2nd Heading; Icon: /perl... | {
"pile_set_name": "Github"
} |
# Default values for geektime-mobile-apiaggregator.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
repository: geektime-mobile-apiaggregator
pullPolicy: IfNotPresent
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Spec... | {
"pile_set_name": "Github"
} |
// Copyright Aleksey Gurtovoy 2000-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// Preprocessed version of "boost/mpl/not_equal_to.hpp" header
// -- DO NOT modify by hand!
namespace boost { nam... | {
"pile_set_name": "Github"
} |
import Enzyme from "enzyme";
import Adapter from "enzyme-adapter-react-16";
import "jest-enzyme";
global.localStorage = {
getItem: () => {},
setItem: () => {},
clear: () => {}
};
Enzyme.configure({ adapter: new Adapter() });
| {
"pile_set_name": "Github"
} |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | {
"pile_set_name": "Github"
} |
package me.hao0.wechat.core;
import com.fasterxml.jackson.databind.JavaType;
import com.google.common.collect.Maps;
import me.hao0.wechat.model.data.article.ArticleDailySummary;
import me.hao0.wechat.model.data.article.ArticleShare;
import me.hao0.wechat.model.data.article.ArticleShareHour;
import me.hao0.wechat.model... | {
"pile_set_name": "Github"
} |
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors
//
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License... | {
"pile_set_name": "Github"
} |
{
"name": "Text outside tags",
"options": {
"handler": {},
"parser": {}
},
"html": "Line one\n<br>\nline two",
"expected": [
{
"data": "Line one\n",
"type": "text"
},
{
"type": "tag",
"name": "br",
"attribs": {}
},
{
"data": "\nline two",
"... | {
"pile_set_name": "Github"
} |
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
D3D12DescriptorCache.h: D3D12 State application functionality
=============================================================================*/
#pragma once
class FD3D12DynamicRHI... | {
"pile_set_name": "Github"
} |
import React from 'react';
import {shallow} from 'enzyme/build';
import Routes from '../routes';
describe('Routes component test suite', () => {
test('Snapshot render', () => {
// Given
const routes = shallow(<Routes />);
// When
const wrappedSwitch = routes.find('SwitchWrapper').dive();
// Then... | {
"pile_set_name": "Github"
} |
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class EditingForm_Adjust
Inherits SharedClasses.ObjectEditorForm
'Form overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8" ?>
<ldml>
<identity>
<version number="$Revision: 1.16 $"/>
<generation date="$Date: 2009/05/05 23:06:38 $"/>
<language type="ny"/>
<territory type="MW"/>
</identity>
</ldml>
| {
"pile_set_name": "Github"
} |
#!/usr/bin/env perl
if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); die; }
# DESCRIPTION: Verilator: Verilog Test driver/expect definition
#
# Copyright 2003 by Wilson Snyder. This program is free software; you
# can redistribute it and/or modify it under the terms of either the GNU
# Less... | {
"pile_set_name": "Github"
} |
/var/log/centrifugo/*log {
copytruncate
daily
rotate 7
compress
missingok
} | {
"pile_set_name": "Github"
} |
/**
* @see https://msdn.microsoft.com/en-us/library/windows/desktop/cc144171(v=vs.85).aspx
*/
import bluebird from 'bluebird';
import win32Registry from '../win32/registry';
const packageName = 'rodeo',
appName = 'Rodeo',
fileKeyPath = `HKCU\\Software\\Classes\\.py\\shell\\${appName}`,
directoryKeyPath = `HKC... | {
"pile_set_name": "Github"
} |
[
{
"blockDeviceMappings":
[
],
"class": "com.amazonaws.services.autoscaling.model.LaunchConfiguration",
"createdTime": "2011-10-11T16:14:32Z",
"imageId": "ami-e9ea2680",
"instanceMonitoring": {
"class": "com.amazonaws.services.autoscaling.model.InstanceMonitoring",
"enabled": ... | {
"pile_set_name": "Github"
} |
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "icon_logon_screen@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "icon_logon_screen@3x.png",
"scale" : "3x"
}
],
"info" : {
... | {
"pile_set_name": "Github"
} |
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
# ebuild generated by hackport 0.6.1.9999
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="Generic programming library for generalised deriving"
HOMEPAGE="... | {
"pile_set_name": "Github"
} |
<?php
namespace Oro\Component\Action\Action;
use Oro\Component\Action\Exception\InvalidParameterException;
use Symfony\Component\PropertyAccess\PropertyPathInterface;
/**
* Increase or decrease the integer value by some value
*
* Usage:
* @increase_value:
* attribute: $.some_value
* value: 5
*
* OR
... | {
"pile_set_name": "Github"
} |
import { normalizeObjectUnits } from '../units/aliases';
import { configFromArray } from './from-array';
import map from '../utils/map';
export function configFromObject(config) {
if (config._d) {
return;
}
var i = normalizeObjectUnits(config._i);
config._a = map([i.year, i.month, i.day || i.d... | {
"pile_set_name": "Github"
} |
/*=============================================================================
Copyright (c) 2001-2011 Joel de Guzman
Copyright (c) 2001-2011 Hartmut Kaiser
Copyright (c) 2009 Francois Barel
http://spirit.sourceforge.net/
Distributed under the Boost Software License, Version 1.0. (See accompanying... | {
"pile_set_name": "Github"
} |
"""
Windows that want to plug-in their own menu entries must implement
- setupMenu(menuBar)
- menuBar()
- setMenuBar(menuBar)
"""
from PyQt5.QtGui import QKeySequence
from PyQt5.QtWidgets import QAction, QApplication, QMenu, QMenuBar
from trufont.tools import platformSpecific
MAX_RECENT_FILES = 10
class MenuBar(Q... | {
"pile_set_name": "Github"
} |
package rest
import grails.converters.JSON
import grails.plugin.springsecurity.annotation.Secured
import grails.plugin.springsecurity.rest.token.AccessToken
class JwtController {
def springSecurityService
@Secured(['ROLE_USER'])
def claims() {
AccessToken accessToken = springSecurityService.auth... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | {
"pile_set_name": "Github"
} |
/*
CDTestFramework http://codercorner.com
Copyright (c) 2007-2008 Pierre Terdiman, pierre@codercorner.com
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to us... | {
"pile_set_name": "Github"
} |
# Working with Rules
Each rule in ESLint has two files named with its identifier (for example, `no-extra-semi`).
* in the `lib/rules` directory: a source file (for example, `no-extra-semi.js`)
* in the `tests/lib/rules` directory: a test file (for example, `no-extra-semi.js`)
**Important:** If you submit a **core** ... | {
"pile_set_name": "Github"
} |
## Projects Using Tether
Here at HubSpot we have built a bunch of libraries on top of Tether,
both because we wanted Tether-performance, and because we saw opportunities
to improve on what was available in the client-side ecosystem.
### [Select](http://github.hubspot.com/select/docs/welcome)
Select is a replacement ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" />
<title>Check #238.3 - Neg... | {
"pile_set_name": "Github"
} |
package BLC
import "fmt"
func (cli *CLI) createWallet(nodeID string) {
wallets,_ := NewWallets(nodeID)
wallets.CreateNewWallet(nodeID)
fmt.Println(len(wallets.WalletsMap))
}
| {
"pile_set_name": "Github"
} |
{
"type": "FeatureCollection",
"features": [{
"type": "Feature",
"properties": {},
"geometry": {
"type": "Polygon",
"coordinates": [
[[34, 119],
[20, 20],
[132, 141],
[34, 119]]
]
}
},{
"type": "Feature",
"properties": {},
"geometry"... | {
"pile_set_name": "Github"
} |
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.content.browser.input;
import org.chromium.ui.DropdownItem;
/**
* Select popup item containing the label, the type and the enabled... | {
"pile_set_name": "Github"
} |
Folly: Facebook Open-source Library
-----------------------------------
[](https://travis-ci.org/facebook/folly)
### What is `folly`?
Folly (acronymed loosely after Facebook Open Source Library) is a
library of C++14 components designed with prac... | {
"pile_set_name": "Github"
} |
//////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Vicente J. Botet Escriba 2008-2009,2012. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="width=device-width,initial-scale=1,user-scalable=no" name="viewport">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="format-... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.