text stringlengths 2 99.9k | meta dict |
|---|---|
// <copyright file="MemoryCacheOptionsConfig.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace PerfViewJS
{
using System;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Internal;
using Microsoft.Extensions.Options;
internal ... | {
"pile_set_name": "Github"
} |
/*
Copyright 2017 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"
} |
package yaml
import (
"reflect"
"unicode"
)
type keyList []reflect.Value
func (l keyList) Len() int { return len(l) }
func (l keyList) Swap(i, j int) { l[i], l[j] = l[j], l[i] }
func (l keyList) Less(i, j int) bool {
a := l[i]
b := l[j]
ak := a.Kind()
bk := b.Kind()
for (ak == reflect.Interface || ak == ... | {
"pile_set_name": "Github"
} |
.. cmake-module:: ../../Modules/CMakeFindPackageMode.cmake
| {
"pile_set_name": "Github"
} |
package com.platform.mall.entity;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class TbOrderShippingExample implements Serializable {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
p... | {
"pile_set_name": "Github"
} |
{
"name": "Unity.VisualEffectGraph.Editor",
"references": [
"Unity.VisualEffectGraph.Runtime",
"Unity.Timeline",
"Unity.RenderPipelines.HighDefinition.Runtime",
"Unity.ShaderGraph.Editor"
],
"includePlatforms": [
"Editor"
],
"excludePlatforms": [],
"al... | {
"pile_set_name": "Github"
} |
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/*
* st-table.c: Table layout widget
*
* Copyright 2008, 2009 Intel Corporation.
* Copyright 2009, 2010 Red Hat, Inc.
* Copyright 2009 Abderrahim Kitouni
*
* This program is free software; you can redistribute it and/or modify it
* under the ter... | {
"pile_set_name": "Github"
} |
/*
Copyright 2017 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"
} |
module.exports = require('./uniq');
| {
"pile_set_name": "Github"
} |
//
// SPDX-License-Identifier: GPL-2.0-or-later
//
// Copyright (c) 2005 - 2020 Settlers Freaks (sf-team at siedler25.org)
//
#pragma once
#include <array>
#include <cstdint>
/// RTTR Icon
extern std::array<uint32_t, 48 * 48> image;
| {
"pile_set_name": "Github"
} |
/******************************************************************************
*
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU Genera... | {
"pile_set_name": "Github"
} |
<body>
<p>Implementation of classes that represent types (classes or primitives).</p>
<p><b>PACKAGES USED:</b>
<ul>
<li><code>com.android.dx.util</code></li>
</ul>
</body>
| {
"pile_set_name": "Github"
} |
/*!
* Connect
* Copyright(c) 2010 Sencha Inc.
* Copyright(c) 2011 TJ Holowaychuk
* MIT Licensed
*/
/**
* Module dependencies.
*/
var EventEmitter = require('events').EventEmitter
, proto = require('./proto')
, utils = require('./utils')
, path = require('path')
, basename = path.basename
, fs = requi... | {
"pile_set_name": "Github"
} |
#
# Test WMS
#
# REQUIRES: INPUT=GDAL OUTPUT=PNG SUPPORTS=WMS
#
# RUN_PARMS: wms_uvraster_lonwrap180_whole_world.png [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=-90,-180,90,180&CRS=EPSG:4326&WIDTH=744&HEIGHT=372&LAYERS=test&STYLES=&FORMAT=image/png&DPI=120&MAP_RESOLUTION=120&TRA... | {
"pile_set_name": "Github"
} |
/* xoreos - A reimplementation of BioWare's Aurora engine
*
* xoreos is the legal property of its developers, whose names
* can be found in the AUTHORS file distributed with this source
* distribution.
*
* xoreos is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Publ... | {
"pile_set_name": "Github"
} |
/**
* Copyright (C) 2009-2014 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
import {
Children
} from 'react-core/Children';
import {
isFn,
emptyObject,
typeNumber,
miniCreateClass,... | {
"pile_set_name": "Github"
} |
# Copyright 2017-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 "license" fil... | {
"pile_set_name": "Github"
} |
/* This file is part of VoltDB.
* Copyright (C) 2008-2020 VoltDB Inc.
*
* This file contains original code and/or modifications of original code.
* Any modifications made by VoltDB Inc. are licensed under the following
* terms and conditions:
*
* This program is free software: you can redistribute it and/or modi... | {
"pile_set_name": "Github"
} |
/*
Copyright (C) 2011-2015 de4dot@gmail.com
This file is part of de4dot.
de4dot 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 la... | {
"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 de.metas.adempiere.gui.search.impl;
/*
* #%L
* de.metas.handlingunits.base
* %%
* Copyright (C) 2015 metas GmbH
* %%
* 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 versi... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2010 Martin Knafve / hMailServer.com.
// http://www.hmailserver.com
using System.Threading;
using NUnit.Framework;
using RegressionTests.Shared;
using hMailServer;
namespace RegressionTests.IMAP
{
[TestFixture]
public class MessageIndexing : TestFixtureBase
{
#region Setup/Teardown
... | {
"pile_set_name": "Github"
} |
:template: {{year}}/generic.html
News
====
Updates from the team.
More here as it happens!
.. postlist:: 3
:date: %A, %B %d, %Y
:format: {title} - {date}
:list-style: none
:tags: australia-2020
| {
"pile_set_name": "Github"
} |
// SPDX-FileCopyrightText: 2014-2020 SAP SE
//
// SPDX-License-Identifier: Apache-2.0
package driver
import (
"database/sql/driver"
)
// deprecated driver interface methods
func (*conn) Prepare(query string) (driver.Stmt, error) { panic("deprecated") }
func (*conn) Begin() (driver.Tx, error) ... | {
"pile_set_name": "Github"
} |
{
"name": "bootstrap-touch-carousel",
"version": "0.8.0",
"homepage": "https://github.com/ixisio/bootstrap-touch-carousel",
"authors": [
"Andreas Klein",
"Contributors"
],
"description": "A drop-in perfection for Twitter Bootstrap's Carousel (v3) to enable gestures on touch devices.",
"main": ["di... | {
"pile_set_name": "Github"
} |
//
// Navs
// --------------------------------------------------
// Base class
// --------------------------------------------------
.nav {
margin-bottom: 0;
padding-left: 0; // Override default ul/ol
list-style: none;
@include clearfix;
> li {
position: relative;
display: block;
> a {
... | {
"pile_set_name": "Github"
} |
#include "network.h"
#include "detection_layer.h"
#include "cost_layer.h"
#include "utils.h"
#include "parser.h"
#include "box.h"
#include "demo.h"
#ifdef OPENCV
#include "opencv2/highgui/highgui_c.h"
#endif
char *voc_names[] = {"aeroplane", "bicycle", "bird", "boat", "bottle", "bus", "car", "cat", "chair", "cow", "d... | {
"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"); yo... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2008 INRIA Sophia-Antipolis (France).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
// 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 o... | {
"pile_set_name": "Github"
} |
# Copyright (c) 2019, NVIDIA Corporation. All rights reserved.
#
# This work is made available under the Nvidia Source Code License-NC.
# To view a copy of this license, visit
# https://nvlabs.github.io/stylegan2/license.html
"""Perceptual Path Length (PPL)."""
import numpy as np
import tensorflow as tf
import dnnlib... | {
"pile_set_name": "Github"
} |
package baas
//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
//distribu... | {
"pile_set_name": "Github"
} |
<button ${data.rootAttrs}
w-onclick="handleClick"
w-bind
w-body></button> | {
"pile_set_name": "Github"
} |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Unit Tests for Kohana_HTTP_Header
*
* @group kohana
* @group kohana.core
* @group kohana.core.http
* @group kohana.core.http.header
* @group kohana.core.http.header
*
* @package Kohana
* @category Tests
* @author Kohana Team
* @cop... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>QDial — PyQt 5.8.2 Reference Guide</title>
... | {
"pile_set_name": "Github"
} |
var dust = require('dustjs-linkedin');
require('dustjs-helpers');
DG.dust = function(name, data) {
var result;
// The callback is called synchronously, so this works
dust.render(name, data, function(err, html) {
result = html;
});
return result;
};
| {
"pile_set_name": "Github"
} |
<%= text_f f, :url, :size => "col-md-8", :help_block => _("e.g. https://docker.example.com:4243 or unix:///var/run/docker.sock") %>
<%= text_f f, :user %>
<%= password_f f, :password %>
<%= text_f f, :email %>
<% authenticated = f.object.authenticate! rescue false %>
<%= link_to_function _("Test Connection"), "testCon... | {
"pile_set_name": "Github"
} |
using System.Collections.Generic;
namespace Steam.Models.DOTA2
{
public class TeamInfo
{
public uint TeamId { get; set; }
public string Name { get; set; }
public string Tag { get; set; }
public ulong TimeCreated { get; set; }
public string Rating { get; set; }
p... | {
"pile_set_name": "Github"
} |
@echo off
rem -------------------------------------------------------------
rem Yii command line init script for Windows.
rem -------------------------------------------------------------
@setlocal
set YII_PATH=%~dp0
if "%PHP_COMMAND%" == "" set PHP_COMMAND=php.exe
"%PHP_COMMAND%" "%YII_PATH%init" %*
@endlocal
| {
"pile_set_name": "Github"
} |
[
{
"description": "a schema given for items",
"schema": {
"items": {"type": "integer"}
},
"tests": [
{
"description": "valid items",
"data": [ 1, 2, 3 ],
"valid": true
},
{
... | {
"pile_set_name": "Github"
} |
<?php
/**
* CATS
* Login Activity Library
*
* Copyright (C) 2005 - 2007 Cognizo Technologies, Inc.
*
*
* The contents of this file are subject to the CATS Public License
* Version 1.1a (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*... | {
"pile_set_name": "Github"
} |
/* pages/uestcLibraryLogin/uestcLibraryLogin.wxss */
/*上方搜索框部分 开始*/
.wxSearch-pancel {
display: flex;
flex-direction: row;
}
.wxSearch-input {
flex: 8;
background-color: #eee;
padding: 5px 10px;
margin-left: 20rpx;
}
.wxSearch-button {
flex: 1;
border: none !important;
color: cornflowerblue !impor... | {
"pile_set_name": "Github"
} |
// test that we can mark a variable as const when it is a parameter
// only
int $!const_when_ptr_to_param * y = 4;
int main() {
int $!const_when_ptr_to_param * x = 3;
x = 4; // should be ok
y = 5;
return 0;
}
| {
"pile_set_name": "Github"
} |
// Copyright (c) 2012 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.
#include "base/logging.h"
#include <limits.h>
#include <stdint.h>
#include "base/macros.h"
#include "build/build_config.h"
#if defined(OS_WIN)
#inc... | {
"pile_set_name": "Github"
} |
# Tests on Univariate LogitNormal distributions
using Distributions
using Random, Test
using StatsFuns
####### Core testing procedure
function test_logitnormal(g::LogitNormal, n_tsamples::Int=10^6,
rng::Union{AbstractRNG, Missing} = missing)
d = length(g)
#mn = mean(g)
md = media... | {
"pile_set_name": "Github"
} |
var deburrLetter = require('./_deburrLetter'),
toString = require('./toString');
/** Used to match Latin Unicode letters (excluding mathematical operators). */
var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
/** Used to compose unicode character classes. */
var rsComboMarksRange = '\\u0300-\\u036f',
... | {
"pile_set_name": "Github"
} |
{
"config": {
"error": {
"wrong_location": "Asukoht saab olla ainult Rootsis"
},
"step": {
"user": {
"data": {
"latitude": "Laiuskraad",
"longitude": "Pikkuskraad",
"name": "Nimi"
... | {
"pile_set_name": "Github"
} |
package io.ebean.cache;
import org.junit.Test;
import static org.assertj.core.api.Assertions.assertThat;
public class CacheKeyTest {
@Test
public void equals_when_null_tenantId() {
TenantAwareKey.CacheKey key0 = key("12", null);
TenantAwareKey.CacheKey key1 = key("12", null);
assertMatchEquals(key... | {
"pile_set_name": "Github"
} |
{
"word": "Joy",
"definitions": [
"Rejoice."
],
"parts-of-speech": "Verb"
} | {
"pile_set_name": "Github"
} |
// Copyright (c) 2012-2016 The Revel Framework Authors, All rights reserved.
// Revel Framework source code and usage is governed by a MIT style
// license that can be found in the LICENSE file.
package revel
import (
"fmt"
"net/http"
"net/url"
"regexp"
"runtime"
)
// ValidationError simple struct to store the ... | {
"pile_set_name": "Github"
} |
package org.jboss.resteasy.core.interception.jaxrs;
import org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages;
import org.jboss.resteasy.spi.ResteasyProviderFactory;
import javax.ws.rs.client.ClientRequestFilter;
import javax.ws.rs.container.PreMatching;
public class ClientRequestFilterRegistryImpl extends JaxrsInte... | {
"pile_set_name": "Github"
} |
// +build go1.8
/*
*
* Copyright 2017 gRPC 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 applic... | {
"pile_set_name": "Github"
} |
TABLE: "events_stages_summary_global_by_event_name"
INDEXES: PK (EVENT_NAME)
===== SETUP =====
## Connection Default
## Disable events from the default connection
## Create user1, user2, user3
CREATE USER user1@localhost;
CREATE USER user2@localhost;
CREATE USER user3@localhost;
GRANT ALL ON *.* to 'user1'@localhost;... | {
"pile_set_name": "Github"
} |
<?xml version="1.0"?>
<doc>
<assembly>
<name>Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions</name>
</assembly>
<members>
<member name="T:Microsoft.VisualStudio.TestTools.UnitTesting.AppContainer.UITestMethodAttribute">
<summary>
Execute test code in UI t... | {
"pile_set_name": "Github"
} |
#!/bin/bash
PIDFILE=/var/vcap/sys/run/job_2_with_post_deploy_script.pid
case $1 in
start)
echo $$ > $PIDFILE
while true; do
echo "job_2_with_post_deploy_script is running"
sleep 1
done
;;
stop)
tail -1 $PIDFILE | xargs kill
rm -f $PIDFILE
;;
*)
echo "Usage: job_2... | {
"pile_set_name": "Github"
} |
// different ways to id objects
// use a req/res pair, since it's crazy deep and cyclical
// sparseFE10 and sigmund are usually pretty close, which is to be expected,
// since they are essentially the same algorithm, except that sigmund handles
// regular expression objects properly.
var http = require('http')
var u... | {
"pile_set_name": "Github"
} |
// boost/system/config.hpp -----------------------------------------------------------//
// Copyright Beman Dawes 2003, 2006
// 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.boost.org/libs/... | {
"pile_set_name": "Github"
} |
<!doctype html>
<title>CodeMirror: Velocity mode</title>
<meta charset="utf-8"/>
<link rel=stylesheet href="../../doc/docs.css">
<link rel="stylesheet" href="../../lib/codemirror.css">
<link rel="stylesheet" href="../../theme/night.css">
<script src="../../lib/codemirror.js"></script>
<script src="velocity.js"></scri... | {
"pile_set_name": "Github"
} |
---
lang: en
title: 'API docs: metadata.metadatainspector.definemetadata'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/metadata
permalink: /doc/en/lb4/apidocs.metadata.metadatainspector.definemetadata.html... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 1994, 2004, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | {
"pile_set_name": "Github"
} |
#include "Core"
#include "LU"
#include "Cholesky"
#include "QR"
#include "SVD"
#include "Geometry"
#include "Eigenvalues"
| {
"pile_set_name": "Github"
} |
var rest = require('./rest'),
unzip = require('./unzip');
/**
* Creates an array of grouped elements, the first of which contains the first
* elements of the given arrays, the second of which contains the second elements
* of the given arrays, and so on.
*
* @static
* @memberOf _
* @category Array
* @param... | {
"pile_set_name": "Github"
} |
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace yii\mail;
use Yii;
use yii\base\Component;
use yii\base\InvalidConfigException;
use yii\base\ViewContextInterface;
use yii\web\View;
/**
* BaseMailer serve... | {
"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"
} |
// Copyright 2001-2019 Crytek GmbH / Crytek Group. All rights reserved.
#pragma once
#include <Dialogs/BaseFrameWnd.h>
#include <IEditor.h>
struct SNoiseParams;
class CHeightmap;
//TODO : This class should be entirely deleted, the UI is not used, but it should be made into a terrain manager
class CTerrainDialog : p... | {
"pile_set_name": "Github"
} |
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | {
"pile_set_name": "Github"
} |
/*
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... | {
"pile_set_name": "Github"
} |
// Exports the "noneditable" plugin for usage with module loaders
// Usage:
// CommonJS:
// require('tinymce/plugins/noneditable')
// ES2015:
// import 'tinymce/plugins/noneditable'
require('./plugin.js'); | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.IO.Compression</name>
</assembly>
<members>
<member name="T:System.IO.Compression.CompressionLevel">
<summary>Specifica i valori che indicano se un'operazione di compressione privilegia le dimensioni di compressione o la velocità.... | {
"pile_set_name": "Github"
} |
// eslint-disable-next-line import/prefer-default-export
export abstract class A {}
| {
"pile_set_name": "Github"
} |
//---------------------------------------------------------------------------//
// Copyright (c) 2013-2015 Kyle Lutz <kyle.r.lutz@gmail.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
//
// See http:/... | {
"pile_set_name": "Github"
} |
// Built-in base types for API calls. Primarily useful as return types.
syntax = "proto2";
option go_package = "base";
package appengine.base;
message StringProto {
required string value = 1;
}
message Integer32Proto {
required int32 value = 1;
}
message Integer64Proto {
required int64 value = 1;
}
message ... | {
"pile_set_name": "Github"
} |
<?php
namespace spec\Prophecy\Prophecy;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
class ObjectProphecySpec extends ObjectBehavior
{
/**
* @param \Prophecy\Doubler\LazyDouble $lazyDouble
* @param \Prophecy\Prophecy\ProphecySubjectInterface $double
*/
function let($lazyDo... | {
"pile_set_name": "Github"
} |
/* There is no need for __sigjmp_save what with getcontext. */
| {
"pile_set_name": "Github"
} |
# coding: utf-8
from django.db import models
class Author(models.Model):
name = models.CharField(max_length=100)
age = models.IntegerField()
friends = models.ManyToManyField('self', blank=True)
def __unicode__(self):
return self.name
class Publisher(models.Model):
name = models.CharField... | {
"pile_set_name": "Github"
} |
{ stdenv, fetchurl, unzip }:
let
version = "1.60";
src = fetchurl {
name = "lsiutil-${version}.zip";
url = "http://www.lsi.com/DistributionSystem/AssetDocument/support/downloads/hbas/fibre_channel/hardware_drivers/LSIUtil%20Kit_${version}.zip";
sha256 = "1d4337faa56e24f7d98db87b9de94d6e2c17ab671f4e30... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2017-2019 Hazuki
~
~ 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"
} |
<?php
/**
* osCommerce Online Merchant
*
* @copyright Copyright (c) 2011 osCommerce; http://www.oscommerce.com
* @license BSD License; http://www.oscommerce.com/bsdlicense.txt
*/
namespace osCommerce\OM\Core\Site\Admin\Application\Categories\Model;
use osCommerce\OM\Core\Cache;
use osCommerce\OM\Core\OSCO... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env python3
#
# This a link checker for Kubernetes documentation website.
# - We cover the following cases for the language you provide via `-l`, which
# defaults to 'en'.
# - If the language specified is not English (`en`), we check if you are
# actually using the localized links. For example, if you sp... | {
"pile_set_name": "Github"
} |
#
# Ttk widget set: progress bar utilities.
#
namespace eval ttk::progressbar {
variable Timers ;# Map: widget name -> after ID
}
# Autoincrement --
# Periodic callback procedure for autoincrement mode
#
proc ttk::progressbar::Autoincrement {pb steptime stepsize} {
variable Timers
if {![winfo exists $pb]... | {
"pile_set_name": "Github"
} |
+++
Title = "Jen Peck"
Twitter = "devpeckops"
image = "Jen_Peck.jpg"
type = "speaker"
linktitle = "jen-peck"
+++
Director of Engineering- Gravity Payments
Devops Evangelist and Righteous Feminist, Jen Peck is the Director of Engineering for Gravity Payments in Seattle, Washington. A thought leader and speaker, Jen h... | {
"pile_set_name": "Github"
} |
export class UxSwitchTheme {
constructor() {
this.themeKey = 'switch';
}
}
//# sourceMappingURL=ux-switch-theme.js.map | {
"pile_set_name": "Github"
} |
3085 Capellan Confederation Light Fighters A
Cheetah F-11,1
Thrush TR-7p,2
Thrush TR-7,3
Thrush TR-8,4
Cheetah F-11,5
Thrush TR-8,6
Cheetah F-13,5
Sabre SB-27b,4
Thrush TR-8,3
Sabre SB-27b,2
Thrush TR-8,1 | {
"pile_set_name": "Github"
} |
require 'rails_helper'
feature 'Downloading Services CSV' do
before { login_super_admin }
context 'services has non-empty array attributes' do
before do
@food = create(:category)
@health = create(:health)
@jobs = create(:jobs)
@service = create(
:service_with_extra_whitespace,
... | {
"pile_set_name": "Github"
} |
<?php
namespace WeDevs\PM\Common\Transformers;
use WeDevs\PM\Common\Models\Assignee;
use League\Fractal\TransformerAbstract;
use WeDevs\PM\User\Transformers\User_Transformer;
use WeDevs\PM\Common\Traits\Resource_Editors;
class Assignee_Transformer extends TransformerAbstract {
use Resource_Editors;
protect... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: c7a204a47aa652d4c95d150f80bf375b
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2002-2010 The DOSBox Team
*
* 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 p... | {
"pile_set_name": "Github"
} |
<?php
declare(strict_types=1);
namespace Tests\CodingStandards\Unit\CsFixer\Phpdoc\NoUselessAccessFixer;
class DifferentAnnotationAndVisibility
{
/** @access protected */
public const A = 'value';
/** @access public */
private const B = 'value';
/** @access private */
protected const C = 'val... | {
"pile_set_name": "Github"
} |
package de.mkrtchyan.recoverytools.fragment;
import android.os.Bundle;
import android.support.design.widget.Snackbar;
import android.support.v7.preference.Preference;
import android.support.v7.preference.PreferenceFragmentCompat;
import android.support.v7.preference.PreferenceScreen;
import android.view.View;
import ... | {
"pile_set_name": "Github"
} |
/*
* This file is part of Mockey, a tool for testing application
* interactions over HTTP, with a focus on testing web services,
* specifically web applications that consume XML, JSON, and HTML.
*
* Copyright (C) 2009-2010 Authors:
*
* chad.lafontaine (chad.lafontaine AT gmail DOT com)
* neil.cronin (neil... | {
"pile_set_name": "Github"
} |
type SerializeOptions = {
domain?: string,
encode?: (stringToDecode: string) => string,
expires?: Date,
httpOnly?: boolean,
maxAge?: number,
path?: string,
sameSite?: boolean | 'lax' | 'strict' | 'none',
secure?: boolean,
};
type ParseOptions = {
// Library itself does not specify output for decode f... | {
"pile_set_name": "Github"
} |
// +build windows
package dns
import "net"
type sessionUDP struct {
raddr *net.UDPAddr
}
// readFromSessionUDP acts just like net.UDPConn.ReadFrom(), but returns a session object instead of a
// net.UDPAddr.
func readFromSessionUDP(conn *net.UDPConn, b []byte) (int, *sessionUDP, error) {
n, raddr, err := conn.Rea... | {
"pile_set_name": "Github"
} |
package com.ctrip.framework.apollo.use.cases.spring.cloud.zuul;
import static com.marcosbarbero.cloud.autoconfigure.zuul.ratelimit.config.properties.RateLimitProperties.PREFIX;
import com.ctrip.framework.apollo.model.ConfigChangeEvent;
import com.ctrip.framework.apollo.spring.annotation.ApolloConfigChangeListener;
im... | {
"pile_set_name": "Github"
} |
const express = require('express')
require('./db/mongoose')
const userRouter = require('./routers/user')
const taskRouter = require('./routers/task')
const app = express()
app.use(express.json())
app.use(userRouter)
app.use(taskRouter)
module.exports = app | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable... | {
"pile_set_name": "Github"
} |
// Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
// Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
// Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
// (ge... | {
"pile_set_name": "Github"
} |
for (x in y
| {
"pile_set_name": "Github"
} |
/*
* Copyright 2013 the original author or 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 applica... | {
"pile_set_name": "Github"
} |
package backup
// Copyright (c) Microsoft and contributors. 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
//
// Unle... | {
"pile_set_name": "Github"
} |
// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
// expected-no-diagnostics
template<typename T> using U = T;
// The name of the alias template is a template-name.
U<char> x;
void f(U<int>);
typedef U<U<U<U<int>>>> I;
| {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.