text stringlengths 2 99.9k | meta dict |
|---|---|
exports.loadContext = (callback) => {
const context = require.context('./pages', true);
if (module.hot) {
module.hot.accept(context.id, () =>
callback(require.context('./pages', true))
);
}
return callback(context);
};
exports.onRouteChange = (state) => {
if (window.ga) ... | {
"pile_set_name": "Github"
} |
/*=============================================================================
Copyright (c) 2001-2011 Joel de Guzman
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)
====================================... | {
"pile_set_name": "Github"
} |
/*
* MPC823 and PXA LCD Controller
*
* Modeled after video interface by Paolo Scaffardi
*
*
* (C) Copyright 2001
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef _LCD_H_
#define _LCD_H_
extern char lcd_is_enabled;
extern int lcd_line_length;
extern s... | {
"pile_set_name": "Github"
} |
Files:
tests/test-openat.c
tests/test-open.h
tests/signature.h
tests/macros.h
Depends-on:
fcntl
symlink
configure.ac:
Makefile.am:
TESTS += test-openat
check_PROGRAMS += test-openat
test_openat_LDADD = $(LDADD) @LIBINTL@
| {
"pile_set_name": "Github"
} |
<section>
<h1 class="blue" data-id="#files/css"><i class="ace-icon fa fa-file-o grey"></i> CSS/LESS Files</h1>
<hr />
<!-- #section:files/css -->
<div class="help-content">
<h3 class="info-title smaller" data-id="#files/css.bootstrap">1. Bootstrap</h3>
<!-- #section:files/css.bootstrap -->
<div class... | {
"pile_set_name": "Github"
} |
/*
Copyright 2014 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, ... | {
"pile_set_name": "Github"
} |
###### depositTokens
`https://etherscan.io/tx/0xb36ec348dd24a065ddbb765675501d0bb933d2092028c9b03568c9b293a6eab3`
###### withdrawEthers
`https://etherscan.io/tx/0x663a8fd9356dfd35e82f08475fdf5164bac00ffe7ee9510d33ad6d16985a27b1`
###### withdrawTokens
`https://etherscan.io/tx/0x256574e252aee51822f6bd73088cb5611068b3c8... | {
"pile_set_name": "Github"
} |
/**
* Licensed to jclouds, Inc. (jclouds) under one or more
* contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. jclouds licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use ... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!-->
<html lang="en" xmlns="http://www.w3.org/1999/html"> <!--<![endif]-->
<head>
<!-- Basic... | {
"pile_set_name": "Github"
} |
export { default as SurveyList } from './SurveyList';
export { default as SurveyQuestionAdd } from './SurveyQuestionAdd';
export { default as SurveyQuestionEdit } from './SurveyQuestionEdit';
export { default as SurveyPreviewModal } from './SurveyPreviewModal';
| {
"pile_set_name": "Github"
} |
CREATE OR REPLACE VIEW PoolableElementView
AS SELECT
d.aliquotId,
d.name AS aliquotName,
d.alias AS aliquotAlias,
l.dnaSize AS aliquotDnaSize,
d.concentration AS aliquotConcentration,
d.concentrationUnits AS aliquotConcentrationUnits,
d.volume AS aliquotVolume,
d.volumeUnits AS aliquotVo... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="@color/ripple_color">
<item>
<selector>
<item
android:drawable="@drawable/button_white_stroke_green_p"
android:state_pressed="true" />
... | {
"pile_set_name": "Github"
} |
package io.cattle.platform.api.resource;
import io.cattle.platform.util.type.InitializationTask;
import io.github.ibuildthecloud.gdapi.request.resource.impl.ResourceManagerLocatorImpl;
public class ExtensionResourceManagerLocator extends ResourceManagerLocatorImpl implements InitializationTask {
@Override
pu... | {
"pile_set_name": "Github"
} |
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#ifndef GAMERULES_REGISTER_H
#define GAMERULES_REGISTER_H
#ifdef _WIN32
#pragma once
#endif
// Each game rules class must register using th... | {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_11) on Mon Jan 19 00:08:31 CET 2009 -->
<TITLE>
GetMapsAction
</TITLE>
<META NAME="keywords" CONTENT="it.eng.spagobi.engines.geo.xservice.G... | {
"pile_set_name": "Github"
} |
Unreleased Changes
------------------
1.25.0 (2020-09-15)
------------------
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
1.24.0 (2020-08-25)
------------------
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for detai... | {
"pile_set_name": "Github"
} |
/* Current page in photo browser (1 of 10) */
"%d of %d" = "%1$d of %2$d";
"Are you sure you want to cancel?" = "Are you sure you want to cancel?";
"Are you sure?" = "Are you sure?";
"Cancel" = "Cancel";
"Done" = "Done";
"Error" = "Error";
"Load More Photos..." = "Load More Photos...";
"Loading..." = "Loading..... | {
"pile_set_name": "Github"
} |
<template>
<div class="edit-application-container">
<app-header />
<div class="area-application">
<h1 class="title">
アプリケーションを編集する
</h1>
<form class="signup-form" @keypress.enter.prevent="onSubmit">
<div class="label" v-text="'Client ID'" />
<div class="not-editable-i... | {
"pile_set_name": "Github"
} |
package:
name: satrap
version: 0.2
build:
number: 2
source:
url:
- https://depot.galaxyproject.org/software/satrap/satrap_0.2_src_all.tar.gz
- http://satrap.cribi.unipd.it/download/SATRAP_v0.2.tar.gz
sha256: da6df8262474074539275754872c20ef231d7f3cf810004f63ac4e7df4e3ab07
patches:
- 0001-Repl... | {
"pile_set_name": "Github"
} |
#include "qtscriptshell_QDialog.h"
#include <QtScript/QScriptEngine>
#include <QVariant>
#include <qaction.h>
#include <qbitmap.h>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qcursor.h>
#include <qdialog.h>
#include <qevent.h>
#include <qfont.h>
#include <qgraphicseffect.h>
#include <qgraphicsproxywidget... | {
"pile_set_name": "Github"
} |
package com.zdcf.leetcode;
import java.util.Stack;
//20. Valid Parentheses
//Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
//
// An input string is valid if:
//
// Open brackets must be closed by the same type of brackets.
// ... | {
"pile_set_name": "Github"
} |
> From: [eLinux.org](http://eLinux.org/ITJ2005Detail_2-2 "http://eLinux.org/ITJ2005Detail_2-2")
# ITJ2005Detail 2-2
## UHAPI4Linux, an Open Source implementation of the Universal Home API
- By John Vugts (Philips) and Arjen Klomp (Logica CMG)
### Description
This session will cover the following topics:
- ... | {
"pile_set_name": "Github"
} |
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=binaryen
pkgver=40
pkgrel=1
pkgdesc="Compiler infrastructure and toolchain library for WebAssembly, in C++"
options="!check" # Tests require python2
url="https://github.com/WebAssembly/binaryen"
arch="all !s390x !mips... | {
"pile_set_name": "Github"
} |
<div class="content-container">
<br />
<h2 class="text-center">{$LANG.twofactorauth}</h2>
<form method="post" action="{$issuerurl}dologin.php" role="form">
<div id="loginWithBackupCode"{if !$backupcode} class="hidden"{/if}>
<div class="content-padded">
{include file="... | {
"pile_set_name": "Github"
} |
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat... | {
"pile_set_name": "Github"
} |
function Point(x, y) {
this.x = x;
this.y = y;
}
["x", "y"].forEach(function(p) {
Point.prototype["get_" + p] = function() {
return this[p];
};
Point.prototype["set_" + p] = function(v) {
if (typeof v !== 'number')
throw Error('number expected');
this[p] = v;
};
}); | {
"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/aux_/reverse_fold_impl.hpp" header
// -- DO NOT modify by hand!
namespace b... | {
"pile_set_name": "Github"
} |
{
"word": "Dermatology",
"definitions": [
"The branch of medicine concerned with the diagnosis and treatment of skin disorders."
],
"parts-of-speech": "Noun"
} | {
"pile_set_name": "Github"
} |
include/linux/blkdev.h | 2 ++
mm/swapfile.c | 3 +++
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 5c80189..af027de 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -1278,6 +1278,8 @@
unsigned long long);
... | {
"pile_set_name": "Github"
} |
function helperGetDateTime (date) {
return date.getTime()
}
module.exports = helperGetDateTime
| {
"pile_set_name": "Github"
} |
import os
import tempfile
from core.config import defaultEditor
from core.colors import white, yellow
from core.log import setup_logger
logger = setup_logger(__name__)
def prompt(default=None):
# try assigning default editor, if fails, use default
editor = os.environ.get('EDITOR', defaultEditor)
# creat... | {
"pile_set_name": "Github"
} |
// Copyright 2009 the V8 project authors. 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 the above copyright
// notice, this list of ... | {
"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"
} |
// ==LICENSE-BEGIN==
// Copyright 2017 European Digital Reading Lab. All rights reserved.
// Licensed to the Readium Foundation under one or more contributor license agreements.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file exposed on Github (readium) in the proj... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 1dad87ba4f1e04d6eb7f287e1f2e08fe
MonoImporter:
serializedVersion: 2
defaultReferences:
- sunTransform: {instanceID: 0}
- prepareBlurShader: {fileID: 4800000, guid: 9ad381ed8492840ab9f165df743e4826, type: 1}
- radialBlurShader: {fileID: 4800000, guid: f58445347fe2e4b8396487ed2bfa02ad... | {
"pile_set_name": "Github"
} |
--- html/style_term.c.orig 1998-04-04 14:58:33 UTC
+++ html/style_term.c
@@ -102,6 +102,7 @@ dummy(SSTerm *t)
case SSTERM_HEXCOLOR:
case SSTERM_URL:
case SSTERM_RGB:
+ break;
}
return 0;
}
| {
"pile_set_name": "Github"
} |
/* simple-object-mach-o.c -- routines to manipulate Mach-O object files.
Copyright (C) 2010-2020 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
This program 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 S... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
'use strict... | {
"pile_set_name": "Github"
} |
/**
* Utility for resolving a module relative to another module
* @author Teddy Katz
*/
"use strict";
const Module = require("module");
/*
* `Module.createRequire` is added in v12.2.0. It supports URL as well.
* We only support the case where the argument is a filepath, not a URL.
*/
// eslint-disable-next-lin... | {
"pile_set_name": "Github"
} |
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
... | {
"pile_set_name": "Github"
} |
set(LLVM_LINK_COMPONENTS
AsmParser
BitWriter
Core
Support
)
add_llvm_fuzzer(llvm-as-fuzzer
llvm-as-fuzzer.cpp
)
| {
"pile_set_name": "Github"
} |
############################################################
# <bsn.cl fy=2013 v=none>
#
# Copyright 2013, 2014 BigSwitch Networks, Inc.
#
#
#
# </bsn.cl>
############################################################
ifndef ONL
$(error $$ONL is undefined.)
endif
# Fill me out if necessary
# ONL_REQUI... | {
"pile_set_name": "Github"
} |
import { connect } from 'react-redux';
import AppUpdatedModal from './AppUpdatedModal';
function createMapDispatchToProps(dispatch, props) {
return {
onModalClose() {
location.reload();
}
};
}
export default connect(null, createMapDispatchToProps)(AppUpdatedModal);
| {
"pile_set_name": "Github"
} |
/*
* ntfs.h - Defines for NTFS Linux kernel driver.
*
* Copyright (c) 2001-2014 Anton Altaparmakov and Tuxera Inc.
* Copyright (C) 2002 Richard Russon
*
* This program/include file is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
* by th... | {
"pile_set_name": "Github"
} |
<?php
App::uses('DboSource', 'Model/Datasource');
class DboDummy extends DboSource {
public function connect() {
return true;
}
}
| {
"pile_set_name": "Github"
} |
:host {
display: flex;
position: relative;
background-color: white;
width: 100%;
}
.absolute {
position: absolute;
}
.flow {
position: static;
}
.top-left {
top: 0;
left: 0;
}
.top-right {
top: 0;
right: 0;
}
.bottom-left {
bottom: 0;
left: 0;
}
.bottom-right {
... | {
"pile_set_name": "Github"
} |
<?xml version="1.0"?>
<!--
~ 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, Versio... | {
"pile_set_name": "Github"
} |
pragma solidity 0.6.12;
// SPDX-License-Identifier: GPL-3.0-only
import "../RocketBase.sol";
import "../../interface/settings/RocketMinipoolSettingsInterface.sol";
import "../../lib/SafeMath.sol";
import "../../types/MinipoolDeposit.sol";
// Network minipool settings
contract RocketMinipoolSettings is RocketBase, R... | {
"pile_set_name": "Github"
} |
{
"pagination" : { }
} | {
"pile_set_name": "Github"
} |
<resources>
<item name="main" type="layout">@layout/activity_ad_sample</item>
<bool name="is_tablet">true</bool>
</resources>
| {
"pile_set_name": "Github"
} |
#!/usr/bin/env python3
'''Compare two map files'''
import sys
import pytest
from pytest import approx
f1 = open(sys.argv[1])
f2 = open(sys.argv[2])
#6 lines of Header
for i in range(6):
l1 = f1.readline()
l2 = f2.readline()
assert l1 == l2
#single flots
for l1 in f1:
l2 = f2.readline()
val... | {
"pile_set_name": "Github"
} |
20
abcabcbaabccbbccacaa
17
cacbbbabbacaacaaa
| {
"pile_set_name": "Github"
} |
//===--------------------------- new.cpp ----------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | {
"pile_set_name": "Github"
} |
---
title: Firebase setup
description: Add Firebase to Flutter
weight: 4
lastmod: 2020-04-12T10:11:30-02:00
draft: false
emoji: 👶
vimeo: 336023357
video_length: 3:15
---
## Tasks
1. Create a Firebase Project
1. Add an iOS app to your project
1. Add an Android app to your project
1. Use the keytool to generate an SHA... | {
"pile_set_name": "Github"
} |
#cython: language_level=3
# distutils: language = c++
# This file is part of QuTiP: Quantum Toolbox in Python.
#
# Copyright (c) 2011 and later, Paul D. Nation and Robert J. Johansson.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted... | {
"pile_set_name": "Github"
} |
'use strict';
var anObject = require('./_an-object')
, toPrimitive = require('./_to-primitive')
, NUMBER = 'number';
module.exports = function(hint){
if(hint !== 'string' && hint !== NUMBER && hint !== 'default')throw TypeError('Incorrect hint');
return toPrimitive(anObject(this), hint != NUMBER);
}; | {
"pile_set_name": "Github"
} |
/*
* Copyright 2009-2010 WSO2, Inc. http://wso2.com
*
* 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 agr... | {
"pile_set_name": "Github"
} |
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | {
"pile_set_name": "Github"
} |
RasterizerOrderedByteAddressBuffer _7 : register(u1, space0);
RWByteAddressBuffer _9 : register(u0, space0);
static float4 gl_FragCoord;
struct SPIRV_Cross_Input
{
float4 gl_FragCoord : SV_Position;
};
void callee2()
{
int _31 = int(gl_FragCoord.x);
_7.Store(_31 * 4 + 0, _7.Load(_31 * 4 + 0) + 1u);
}
voi... | {
"pile_set_name": "Github"
} |
Source: vtk
Version: 9.0.1
Port-Version: 2
Description: Software system for 3D computer graphics, image processing, and visualization
Homepage: https://github.com/Kitware/VTK
Build-Depends: zlib, libpng, tiff, libxml2, jsoncpp, glew, freetype, expat, hdf5[core], libjpeg-turbo, proj4, lz4, liblzma, libtheora, eigen3, do... | {
"pile_set_name": "Github"
} |
caged:
id: 1
name: caged
mly:
id: 2
name: mly | {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* clk-xgene.c - AppliedMicro X-Gene Clock Interface
*
* Copyright (c) 2013, Applied Micro Circuits Corporation
* Author: Loc Ho <lho@apm.com>
*/
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/io.h>
#include <linux/of.h>
#include <linux/clkdev.h... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2014 Alfons Wirtz
* website www.freerouting.net
*
* This program 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... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env python
"""Nagios plugin for Amazon RDS monitoring.
This program is part of $PROJECT_NAME$
License: GPL License (see COPYING)
Author Roman Vynar
Copyright 2014-2015 Percona LLC and/or its affiliates
"""
import datetime
import optparse
import pprint
import sys
import boto
import boto.rds
import boto.ec... | {
"pile_set_name": "Github"
} |
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 13.6.4.13 S5.n
description: >
Control flow during body evaluation should honor `break` statements within
`try` blocks.
features: [generators]
---*/
function* va... | {
"pile_set_name": "Github"
} |
package workflow
import (
"database/sql"
"time"
"github.com/lib/pq"
"github.com/go-gorp/gorp"
"github.com/ovh/cds/sdk"
"github.com/ovh/cds/sdk/log"
)
// ExistsStepLog returns the size of step log if exists.
func ExistsStepLog(db gorp.SqlExecutor, id int64, order int64) (bool, int64, error) {
query := `
... | {
"pile_set_name": "Github"
} |
// Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// 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
//... | {
"pile_set_name": "Github"
} |
// This file is mostly generated by Phil Karn's gensp.c
#include "pch.h"
#ifndef CRYPTOPP_IMPORTS
#include "des.h"
NAMESPACE_BEGIN(CryptoPP)
const word32 RawDES::Spbox[8][64] = {
{
0x01010400,0x00000000,0x00010000,0x01010404, 0x01010004,0x00010404,0x00000004,0x00010000,
0x00000400,0x01010400,0x0101040... | {
"pile_set_name": "Github"
} |
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the web serv... | {
"pile_set_name": "Github"
} |
import java.util.*;
/**
* 因为离边界越远的节点越可能成为根节点,所以每次删除叶子节点,一层一层往里收缩,最后留下的就是可能的根节点
* 使用拓扑排序的类似算法,每次删除入度为1的节点,最后剩下的1个或两个入度为1的节点就是可能的最小高度树的根节点
*/
class Solution {
public List<Integer> findMinHeightTrees(int n, int[][] edges) {
List<Integer> res = new ArrayList<>();
//特殊情况:
if(n <= 2){
... | {
"pile_set_name": "Github"
} |
<?php
namespace Oro\Bundle\VisibilityBundle\Async\Visibility;
use Doctrine\Common\Persistence\ManagerRegistry;
use Doctrine\DBAL\Exception\RetryableException;
use Doctrine\ORM\EntityManagerInterface;
use Doctrine\ORM\EntityNotFoundException;
use Oro\Bundle\ProductBundle\Entity\Product;
use Oro\Bundle\VisibilityBundle... | {
"pile_set_name": "Github"
} |
/*
* This program 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 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be use... | {
"pile_set_name": "Github"
} |
#ifndef SHAREMENUTOOLBAR_H
#define SHAREMENUTOOLBAR_H
#include <QtWidgets>
class ShareToolbar : public QToolBar {
Q_OBJECT
public:
ShareToolbar(QWidget *parent = nullptr);
public slots:
void setLeftMargin(int value);
};
#endif // SHAREMENUTOOLBAR_H
| {
"pile_set_name": "Github"
} |
/*
* 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, software
* distribut... | {
"pile_set_name": "Github"
} |
package bsh.interpreter;
import bsh.*;
import bsh.ast.BSHAssignment;
import bsh.ast.SimpleNode;
/**
* This file is a part of ZOOLA - an extensible BeanShell implementation.
* Zoola is based on original BeanShell code created by Pat Niemeyer.
* <p/>
* Original BeanShell code is Copyright (C) 2000 Pat Niemeyer <pat... | {
"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 may ... | {
"pile_set_name": "Github"
} |
---
title: LocalForage
excerpt: a fast and simple storage library for JavaScript
---
# localForage
**Offline storage, improved.**
[localForage](https://mozilla.github.io/localForage/#localforage) is a JavaScript library that improves the offline experience of your web app by using an asynchronous data store with a s... | {
"pile_set_name": "Github"
} |
# Mimic the sqlite3 console shell's .dump command
# Author: Paul Kippes <kippesp@gmail.com>
# Every identifier in sql is quoted based on a comment in sqlite
# documentation "SQLite adds new keywords from time to time when it
# takes on new features. So to prevent your code from being broken by
# future enhancements, y... | {
"pile_set_name": "Github"
} |
using Util.Datas.Queries.Criterias;
using Util.Tests.Samples;
using Xunit;
namespace Util.Tests.Datas.Queries.Criterias {
/// <summary>
/// 测试与查询条件
/// </summary>
public class AndCriteriaTest {
/// <summary>
/// 测试获取查询条件
/// </summary>
[Fact]
public void TestGet... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:state_pressed="false">
<shape>
<corners android:bottomLeftRadius="20px"
android:bottomRightRadius="0px"
android:topLeftRadius="0px"
... | {
"pile_set_name": "Github"
} |
/**
* Copyright 2017 Google Inc. All rights reserved.
*
* 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 applic... | {
"pile_set_name": "Github"
} |
---
description: "absolute Method (SQLServerResultSet)"
title: "absolute Method (SQLServerResultSet) | Microsoft Docs"
ms.custom: ""
ms.date: "01/19/2017"
ms.prod: sql
ms.prod_service: connectivity
ms.reviewer: ""
ms.technology: connectivity
ms.topic: conceptual
apiname:
- "SQLServerResultSet.absolute"
a... | {
"pile_set_name": "Github"
} |
---
name: Bug report
about: 提交错误报告来帮助我们改进
title: ''
labels: bug
assignees: ''
---
**Bug 描述**
清晰简洁的描述 bug 内容。
**参考**
重现步骤:
1. 使用 xx 组件
2. 点击 '....'
3. 触发 '....'
4. 此时控制台开始抛错
**预期行为**
清晰简洁的描述应当产生的效果。
**截屏**
如果方便的话可以提供一个截屏描述你的问题。
**可重现环境:**
- 系统: [比如 macOS]
- 浏览器: [比如 chrome, safari]
- HIUI 的版本: [比如 1.3.6]
**附加... | {
"pile_set_name": "Github"
} |
#include "falcon-bms-ext.hpp"
IExtension::event_mask falcon_bms_acceleration_ext::hook_types()
{
return IExtension::on_finished;
}
falcon_bms_acceleration_ext::falcon_bms_acceleration_ext()
{
}
void falcon_bms_acceleration_ext::process_finished(Pose& p)
{
(void)p;
}
| {
"pile_set_name": "Github"
} |
.@{calendar-prefix-cls}-year-panel {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: @zindex-picker-panel;
background: @component-background;
border-radius: @border-radius-base;
outline: none;
> div {
display: flex;
flex-direction: column;
// TODO: this is a useless w... | {
"pile_set_name": "Github"
} |
'use strict'
function ValidationError (errors) {
this.name = 'ValidationError'
this.errors = errors
}
ValidationError.prototype = Error.prototype
module.exports = ValidationError
| {
"pile_set_name": "Github"
} |
// Copyright (C) 2015 Patryk Nadrowski
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __C_OPEN_GL_RENDER_TARGET_H_INCLUDED__
#define __C_OPEN_GL_RENDER_TARGET_H_INCLUDED__
#include "IrrCompileConfig.h"
#ifdef _IRR_COMPILE_... | {
"pile_set_name": "Github"
} |
@testset "Corpus" begin
sample_text1 = "This is a string"
sample_text2 = "This is also a string"
sample_file = joinpath(dirname(@__FILE__), "data", "poem.txt")
sd = StringDocument(sample_text1)
fd = FileDocument(sample_file)
td = TokenDocument(sample_text1)
ngd = NGramDocument(sample_text... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env bash
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to ... | {
"pile_set_name": "Github"
} |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/net.utils.R
\name{copy_nwattr_to_datattr}
\alias{copy_nwattr_to_datattr}
\title{Copies Vertex Attributes From Network to dat List}
\usage{
copy_nwattr_to_datattr(dat)
}
\arguments{
\item{dat}{Master data object passed through \code{netsim} si... | {
"pile_set_name": "Github"
} |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... | {
"pile_set_name": "Github"
} |
#region Copyright & License Information
/*
* Copyright 2007-2020 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of
* the Licen... | {
"pile_set_name": "Github"
} |
'use strict';
var BoundingBoxLockXCtrl = function ($element, dragularService) {
var boundingBox = $element.children().children()[0];
dragularService.cleanEnviroment();
dragularService(boundingBox, {
boundingBox: boundingBox,
lockX: true
});
};
BoundingBoxLockXCtrl.$inject = ['$element', 'dragularServi... | {
"pile_set_name": "Github"
} |
{{# def.definitions }}
{{# def.errors }}
{{# def.setupKeyword }}
{{# def.$data }}
{{
var $rule = this
, $definition = 'definition' + $lvl
, $rDef = $rule.definition
, $closingBraces = '';
var $validate = $rDef.validate;
var $compile, $inline, $macro, $ruleValidate, $validateCode;
}}
{{? $isData && $... | {
"pile_set_name": "Github"
} |
2000.times { print ('a'.ord + rand(26)).chr }
puts | {
"pile_set_name": "Github"
} |
ColorFilter="Промена боја"
MaskFilter="Слика маске и стапања"
AsyncDelayFilter="Видео пауза (асинхроно)"
CropFilter="Одсецање"
ScrollFilter="Померање"
ChromaKeyFilter="Кључ провидности"
ColorKeyFilter="Кључ боје"
SharpnessFilter="Изоштравање"
NoiseGate="Капија шума"
Gain="Појачање"
DelayMs="Пауза (милисекунде)"
Type="В... | {
"pile_set_name": "Github"
} |
#ifndef TABLE_FRAME_SINK_HEAD_FILE
#define TABLE_FRAME_SINK_HEAD_FILE
#pragma once
#include "Stdafx.h"
#include "GameLogic.h"
#include "..\游戏客户端\HistoryRecord.h"
//////////////////////////////////////////////////////////////////////////
//游戏桌子类
class CTableFrameSink : public ITableFrameSink, public ITableUserAction
... | {
"pile_set_name": "Github"
} |
/**
* DiskUsage - displays sdcard usage on android.
* Copyright (C) 2008 Ivan Volosyuk
*
* This program 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 2
* of the License, or (at your opt... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2015 Kaprica Security, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, mer... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.