text stringlengths 2 99.9k | meta dict |
|---|---|
{
"name": "read-pkg",
"version": "1.1.0",
"description": "Read a package.json file",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/read-pkg.git"
},
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhu... | {
"pile_set_name": "Github"
} |
<template>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<polyline points="14 9 9 4 4 9" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
<path d="M20 20h-7a4 4 0 0 1-4-4V4" fill="none" stroke="#000" stroke-linecap="round" stroke-l... | {
"pile_set_name": "Github"
} |
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.xserver.windowManager.spectrwm;
in
{
options = {
services.xserver.windowManager.spectrwm.enable = mkEnableOption "spectrwm";
};
config = mkIf cfg.enable {
services.xserver.windowManager = {
session = [{
name = "spectrwm";... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xam... | {
"pile_set_name": "Github"
} |
<?php
/**********************************************************\
| |
| hprose |
| |
| Official WebSite: http://www.hprose.com/ |
| ... | {
"pile_set_name": "Github"
} |
using System.Collections.Generic;
using System.Linq;
using HotChocolate;
using HotChocolate.Language;
using HotChocolate.Types;
using StrawberryShake.Generators.Descriptors;
using StrawberryShake.Generators.Utilities;
using static StrawberryShake.Generators.Utilities.NameUtils;
namespace StrawberryShake.Generators
{
... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using Neo4jClient.ApiModels.Cypher;
using Neo4jClient.Cypher;
using Neo4jClient.Transactions;
namespace Neo4jClient.Execution
{
/// <summary>
/// Describes the behavior for a cypher execution.
/// </summary>
inte... | {
"pile_set_name": "Github"
} |
POST /public/Internet%20Newsgroups HTTP/1.1
Host: 192.168.1.103
User-Agent: Mozilla/5.0 Galeon/1.0.3 (X11; Linux i686; U;) Gecko/0
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1
Accept-Language: en
Accept-Encodi... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 013f16d53c280034981a7eb3f468ee95
timeCreated: 1510284024
licenseType: Pro
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
/*
* Copyright 2000 by Hans Reiser, licensing governed by reiserfs/README
*
* Trivial changes by Alan Cox to remove EHASHCOLLISION for compatibility
*
* Trivial Changes:
* Rights granted to Hans Reiser to redistribute under other terms providing
* he accepts all liability including but not limited to patent, fit... | {
"pile_set_name": "Github"
} |
/************************************************************
Copyright 1989, 1998 The Open Group
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that both that
c... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2017 Amazon.com, Inc. or its affiliates.
* All Rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#include "opal_config.h"
#include "opal/class/opal_object.h"
#include "opal/mca/reachable/reachable.h"
#include "opal/mca/reachabl... | {
"pile_set_name": "Github"
} |
/* (c) 2014 LinkedIn Corp. 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 applicable law or ag... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>Chronograf</title>
<link rel="shortcut icon" href="../assets/images/favicon.ico" />
</head>
<body>
<div id='react-root' data-basepath=""></div>
<script src="./index.tsx"></script>
</body>
</html>
| {
"pile_set_name": "Github"
} |
// Copyright (C) 2014 The Syncthing Authors.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at https://mozilla.org/MPL/2.0/.
// +build ignore
package main
import (
"bytes"
"compress/gzip"
... | {
"pile_set_name": "Github"
} |
<?xml version="1.0"?>
<gpx version="1.1" creator="Xcode">
<wpt lon="6.679844" lat="51.197953"></wpt>
<wpt lon="6.688206" lat="51.195846"></wpt>
<wpt lon="6.688114" lat="51.195976"></wpt>
<wpt lon="6.688206" lat="51.195846"></wpt>
<wpt lon="6.688206" lat="51.195846"></wpt>
<wpt lon="6.688... | {
"pile_set_name": "Github"
} |
/**
* @fileoverview unix-style formatter.
* @author oshi-shinobu
*
* Updated for use with sass-lint under MIT licence
* @license https://github.com/sasstools/sass-lint/blob/master/lib/format/LICENSE
*/
'use strict';
const getMessageType = require('../../helpers').getMessageType;
//-----------------------------... | {
"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>
@interface AMGenericActionLoader : NSObject
{
}
+ (id)sharedGenericActionLoader;
- (id)actionsFromApplicati... | {
"pile_set_name": "Github"
} |
// This is a generated file from running the "createIcons" script. This file should not be updated manually.
import React, { forwardRef } from "react";
import { SVGIcon, SVGIconProps } from "@react-md/icon";
export const CenterFocusStrongSVGIcon = forwardRef<SVGSVGElement, SVGIconProps>(
function CenterFocusStrongS... | {
"pile_set_name": "Github"
} |
//
// Copyright (C) Microsoft Corporation
// All rights reserved.
//
// Code in details namespace is for internal usage within the library code
//
// Backport to Windows 7 SDK by Kurata Sayuri.
#ifndef _WRL_DEF_H_
#define _WRL_DEF_H_
#ifdef _MSC_VER
#pragma once
#endif // _MSC_VER
#include <sdkddkver.h>
#include <s... | {
"pile_set_name": "Github"
} |
/*
Copyright Rene Rivera 2008-2015
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 BOOST_PREDEF_ARCHITECTURE_SUPERH_H
#define BOOST_PREDEF_ARCHITECTURE_SUPERH_H
#include <boost/predef/version_number.h>
#inclu... | {
"pile_set_name": "Github"
} |
# Example configuration for fswebcam
# [2006-09-05: phil@sanslogic.co.uk]
# Be very quiet...
quiet
# Or be very loud?
#verbose
# The image source - In this case we are capturing frames from a TV channel
device "v4l2:/dev/video0"
input 0
frequency 670.90
palette YUV420P
resolution 768x576
skip 2 # Ski... | {
"pile_set_name": "Github"
} |
/****************************************************************************
* Copyright (c) 2006 by Michael Fischer. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributio... | {
"pile_set_name": "Github"
} |
#if !defined(WINMULTIWINDOWCLASS_H)
#define WINMULTIWINDOWCLASS_H
/*
*Copyright (C) 1994-2000 The XFree86 Project, Inc. All Rights Reserved.
*
*Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
*"Software"), to deal in the Softwa... | {
"pile_set_name": "Github"
} |
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes ... | {
"pile_set_name": "Github"
} |
#tb 0: 1/25
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 122x122
#sar 0: 0/1
0, 0, 0, 1, 29768, 0x277d8628
| {
"pile_set_name": "Github"
} |
#! /usr/bin/env ruby -S rspec
require 'spec_helper'
describe "the sort function" do
let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do
Puppet::Parser::Functions.function("sort").should == "function_sort"
end
it "should raise a ParseError if there is not 1 arguments" do
lambda ... | {
"pile_set_name": "Github"
} |
#
# Patch managed by http://www.holgerschurig.de/patcher.html
#
--- qt-2.3.9-snapshot-20041221/src/kernel/qapplication_qws.cpp~vt-switch.patch
+++ qt-2.3.9-snapshot-20041221/src/kernel/qapplication_qws.cpp
@@ -124,6 +124,12 @@
static int qt_thread_pipe[2];
#endif
+#if defined(_OS_LINUX_)
+#include <sys/ioctl.h>
+... | {
"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.6.0_35) on Tue Oct 09 19:55:54 PDT 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Package com.fasterxml.jac... | {
"pile_set_name": "Github"
} |
// Copyright (c) MOSA Project. Licensed under the New BSD License.
namespace Mosa.Utility.SourceCodeGenerator
{
public class BuildIRInstruction : BuildBaseTemplate
{
public BuildIRInstruction(string jsonFile, string destinationPath, string destinationFile)
: base(jsonFile, destinationPath, destinationFile)
{... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2020 Nokia Solutions and Networks
* Licensed under the Apache License, Version 2.0,
* see license.txt file for details.
*/
package org.rf.ide.core.testdata.mapping.tasks;
import static org.assertj.core.api.Assertions.assertThat;
import java.util.Stack;
import org.junit.jupiter.api.Test;... | {
"pile_set_name": "Github"
} |
import readFromConsumerApi from '../../../../dist/readFromConsumerApi';
module.exports = readFromConsumerApi('vendor')().reduxSagaEffects;
| {
"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" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="JsDoc To... | {
"pile_set_name": "Github"
} |
/**
******************************************************************************
* @file stm32l0xx_hal_flash_ramfunc.c
* @author MCD Application Team
* @brief FLASH RAMFUNC driver.
* This file provides a Flash firmware functions which should be
* executed from internal SRAM
*
... | {
"pile_set_name": "Github"
} |
ACLOCAL_AMFLAGS = -I ../acinclude
include $(top_srcdir)/build/common.mk
etcdir = $(sysconfdir)/ironbee
etc_DATA = ironbee.conf.example ironbee.conf
EXTRA_DIST = ironbee.conf.example ironbee.conf
| {
"pile_set_name": "Github"
} |
//===--- MakeUniqueCheck.h - clang-tidy--------------------------*- C++ -*-===//
//
// 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"
} |
#!/bin/bash
ENV="dev"
ARCHIVE_NAME="./deploy/${ENV}/web.tar.gz"
PACKER_TMP_DIR="./packer_tmp"
TOTAL_STEPS=4
echo "[Step 1/${TOTAL_STEPS}] creating ${PACKER_TMP_DIR} ..."
if [ -d "${PACKER_TMP_DIR}" ]; then
echo "remove ${PACKER_TMP_DIR}"
rm -rf "${PACKER_TMP_DIR}"
fi
mkdir "${PACKER_TMP_DIR}"
echo "[Step 2/${TO... | {
"pile_set_name": "Github"
} |
//===-- LLVMOps.td - LLVM IR dialect op definition file ----*- tablegen -*-===//
//
// 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"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Include y require</title>
<style>
#container{width: 500px; margin: 150px auto;}
#footer{background-color: #222; padding: 10px; color: white;}
#menu{background-color: #eee; padding: 10px;}
</style>
</head>
<body>
<div id="container">
<?ph... | {
"pile_set_name": "Github"
} |
/**
* Serializer.js
*
* Copyright, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://www.tinymce.com/license
* Contributing: http://www.tinymce.com/contributing
*/
/**
* This class is used to serialize DOM trees into a string. Consult the TinyMCE Wiki API for
* more details and examples... | {
"pile_set_name": "Github"
} |
/cm { 72 mul 2.545 div } def
/inch{ 72 mul } def
/unit{ cm } def | {
"pile_set_name": "Github"
} |
/*
* Device Tree for the Embedded Planet EP8248E board running PlanetCore.
*
* Copyright 2007 Freescale Semiconductor Inc.
*
* 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 ve... | {
"pile_set_name": "Github"
} |
// <auto-generated/> // disable StyleCop on this file
//-----------------------------------------------------------------------
// <copyright file="Protocol.cs" company="Outercurve Foundation">
// Copyright (c) Outercurve Foundation. All rights reserved.
// </copyright>
//------------------------------------------... | {
"pile_set_name": "Github"
} |
/*
* This file is part of ELKI:
* Environment for Developing KDD-Applications Supported by Index-Structures
*
* Copyright (C) 2019
* ELKI Development Team
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the... | {
"pile_set_name": "Github"
} |
#xlsFilterAllNone {
text-align: right;
}
#xlsFilterAll, #xlsFilterNone {
text-decoration: underline;
cursor: pointer;
}
#xlsFilterRows {
margin-top: 5px;
border: 1px solid #999999;
background-color: #F2F7FC;
color: #000000;
}
div.xlsFilterRow {
min-height: 18px;
height: auto ! important;
cursor: pointer;
... | {
"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"
} |
// Copyright 2014 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.
// This file has been auto-generated from the Jinja2 template
// third_party/blink/renderer/bindings/templates/union_container.h.tmpl
// by the script cod... | {
"pile_set_name": "Github"
} |
import msRestAzure = require('./azure-arm-common');
import tl = require('azure-pipelines-task-lib/task');
import Model = require("./azureModels");
import util = require('util');
import webClient = require('./webClient');
import Q = require('q');
import {
AzureEndpoint,
AKSCluster
} from './azureModels';
import... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env node
// GRUNT-GITHOOKS START
var exec = require('child_process').exec;
exec('grunt aTask', {
cwd: '{{expectedWorkingDir}}'
}, function (err, stdout, stderr) {
var exitCode = 0;
if (err) {
console.log(stderr || err);
exitCode = -1;
}
process.exit(exitCode);
}).stdout.on('da... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
"""
jinja2._compat
~~~~~~~~~~~~~~
Some py2/py3 compatibility support based on a stripped down
version of six so we don't have to depend on a specific version
of it.
:copyright: Copyright 2013 by the Jinja team, see AUTHORS.
:license: BSD, see LICENSE for details.
""... | {
"pile_set_name": "Github"
} |
package domain_intl
//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
//d... | {
"pile_set_name": "Github"
} |
/*!
* ws: a node.js websocket client
* Copyright(c) 2011 Einar Otto Stangvik <einaros@gmail.com>
* MIT Licensed
*/
var util = require('util')
, events = require('events')
, http = require('http')
, crypto = require('crypto')
, Options = require('options')
, WebSocket = require('./WebSocket')
, Extensio... | {
"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>QPaintEngineState — PyQt 5.8.2 Reference Guid... | {
"pile_set_name": "Github"
} |
import os
import numpy as np
import torch
import shutil
import torchvision.transforms as transforms
from torch.autograd import Variable
class AvgrageMeter(object):
def __init__(self):
self.reset()
def reset(self):
self.avg = 0
self.sum = 0
self.cnt = 0
def update(self, val, n=1):
self.sum... | {
"pile_set_name": "Github"
} |
//
// "$Id: Fl_Free.H 7903 2010-11-28 21:06:39Z matt $"
//
// Forms free header file for the Fast Light Tool Kit (FLTK).
//
// Copyright 1998-2010 by Bill Spitzak and others.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Library General Public
// License as ... | {
"pile_set_name": "Github"
} |
/* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript+abap+actionscript+ada+apacheconf+apl+applescript+asciidoc+aspnet+autoit+autohotkey+bash+basic+batch+c+brainfuck+bro+bison+csharp+cpp+coffeescript+ruby+css-extras+d+dart+diff+docker+eiffel+elixir+erlang+fsharp+fortran+gherkin+git+glsl... | {
"pile_set_name": "Github"
} |
/*=============================================================================
Copyright (c) 2001-2014 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"
} |
#!/bin/bash
# Copyright 2014 The Bazel Authors. 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 a... | {
"pile_set_name": "Github"
} |
<asf xmlversion="1.0">
<project caption="USB Serial to LCD Display" id="lufa.projects.serial_to_lcd.avr8">
<require idref="lufa.projects.serial_to_lcd"/>
<require idref="lufa.boards.dummy.avr8"/>
<generator value="as5_8"/>
<device-support value="at90usb1287"/>
<config name="lufa.drivers.board.name" v... | {
"pile_set_name": "Github"
} |
import os, argparse, sys
import numpy as np
from keras.models import load_model, Model
from dm_image import DMImageDataGenerator
from dm_keras_ext import (
load_dat_ram,
do_2stage_training,
DMFlush,
DMAucModelCheckpoint
)
from dm_resnet import add_top_layers, bottleneck_org
from dm_multi_gpu import make... | {
"pile_set_name": "Github"
} |
/*
Date: 17.V.2011
Author: pumbur <pumbur@pumbur.net>
*/
.hljs {
display: block;
overflow-x: auto;
padding: 0.5em;
background: #222;
-webkit-text-size-adjust: none;
}
.profile .hljs-header *,
.ini .hljs-title,
.nginx .hljs-title {
color: #fff;
}
.hljs-comment,
.hljs-preprocessor,
.hljs-preprocessor .hljs... | {
"pile_set_name": "Github"
} |
/*
* IRremoteESP8266: DumbIRRepeater.ino - Record and playback IR codes.
* Copyright 2019 David Conran (crankyoldgit)
*
* This program will try to capture incoming IR messages and replay them back.
* It doesn't use any of the advanced detection features, thus it will just
* replay the messages at fixed modulated ... | {
"pile_set_name": "Github"
} |
<h2>New user</h2>
<%= render "form.html", changeset: @changeset,
action: user_path(@conn, :create), roles: @roles %>
<%= link "Back", to: user_path(@conn, :index) %>
| {
"pile_set_name": "Github"
} |
#include "demoimage.h"
#include <glib/gi18n.h>
struct _DemoImage {
GtkWidget parent_instance;
GtkWidget *image;
GtkWidget *popover;
};
enum {
PROP_ICON_NAME = 1
};
G_DEFINE_TYPE(DemoImage, demo_image, GTK_TYPE_WIDGET)
static GdkPaintable *
get_image_paintable (GtkImage *image)
{
const char *icon_name;
... | {
"pile_set_name": "Github"
} |
namespace GraphQL.DataLoader.Tests.Models
{
public class ProductReview
{
public int ProductReviewId { get; set; }
public int ProductId { get; set; }
public int UserId { get; set; }
public int Rating { get; set; }
public string Text { get; set; }
}
}
| {
"pile_set_name": "Github"
} |
from __future__ import unicode_literals
import datetime
import os
import subprocess
def get_version(version=None):
"Returns a PEP 386-compliant version number from VERSION."
if version is None:
from django import VERSION as version
else:
assert len(version) == 5
assert version[3] i... | {
"pile_set_name": "Github"
} |
#
# (C) Copyright 2015
#
#EXTRA_CFLAGS = -Idrivers/video/include/
obj-$(CONFIG_AML_HDMITX20) += hdmitx20.o
hdmitx20-y := reg_ops.o hdmitx_set.o hdmitx_tvenc.o enc_clk_config.o
#aml_hdmitx20-$(CONFIG_AML_HDMITX20_HDCP) += hdmitx_hdcp.o
| {
"pile_set_name": "Github"
} |
/**
* \file
*
* \brief Instance description for GCLK
*
* Copyright (c) 2014 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions... | {
"pile_set_name": "Github"
} |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Validator\Tests\Constraints;
use Symfony\Component\Va... | {
"pile_set_name": "Github"
} |
//
// Nocilla.h
// Nocilla
//
// Created by Robert Böhnke on 26/03/15.
// Copyright (c) 2015 Luis Solano Bonet. All rights reserved.
//
#import <Foundation/Foundation.h>
//! Project version number for Nocilla.
FOUNDATION_EXPORT double NocillaVersionNumber;
//! Project version string for Nocilla.
FOUNDATION_EXPOR... | {
"pile_set_name": "Github"
} |
#
# FreeType 2 BDF module definition
#
# Copyright 2001, 2002, 2006 by
# Francesco Zappa Nardelli
#
# 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 lim... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 1997, 2011, 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"
} |
import {getProjectFromWorkspace as originalGetProjectFromWorkspace} from '@angular/cdk/schematics';
import {WorkspaceProject, WorkspaceSchema} from '@angular-devkit/core/src/experimental/workspace';
/**
* Finds the specified project configuration in the workspace. Throws an error if the project
* couldn't be found.
... | {
"pile_set_name": "Github"
} |
<?php
/**
* This file is part of webman.
*
* Licensed under The MIT License
* For full copyright and license information, please see the MIT-LICENSE.txt
* Redistributions of files must retain the above copyright notice.
*
* @author walkor<walkor@workerman.net>
* @copyright walkor<walkor@workerman.net>
* @li... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2018 bzt (bztsrc@github)
*
* 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"
} |
namespace :opendoors do
class UrlUpdater
def update_work(row)
begin
work = Work.find(row["AO3 id"])
if work&.imported_from_url.blank? || work&.imported_from_url == row["URL Imported From"]
work.imported_from_url = row["Original URL"]
work.save!
"#{work.id}\tw... | {
"pile_set_name": "Github"
} |
/*****************************************************************************
* Copyright (c) 2018-2020 openblack developers
*
* For a complete list of all authors, please refer to contributors.md
* Interested in contributing? Visit https://github.com/openblack/openblack
*
* openblack is licensed under the GNU G... | {
"pile_set_name": "Github"
} |
<?php
// Start of ctype v.
/**
* Check for alphanumeric character(s)
* @link http://www.php.net/manual/en/function.ctype-alnum.php
* @param text string <p>
* The tested string.
* </p>
* @return bool true if every character in text is either
* a letter or a digit, false otherwise.
*/
function ctype_alnum ($tex... | {
"pile_set_name": "Github"
} |
require("path");
require("url");
| {
"pile_set_name": "Github"
} |
.global sqrtf
.type sqrtf,@function
sqrtf: flds 4(%esp)
fsqrt
fstps 4(%esp)
flds 4(%esp)
ret
| {
"pile_set_name": "Github"
} |
{-# LANGUAGE NamedFieldPuns #-}
module Data.Morpheus.Parsing.Internal.Internal
( Parser,
Position,
getLocation,
processParser,
)
where
import Data.ByteString.Lazy
( ByteString,
)
import qualified Data.List.NonEmpty as NonEmpty
import Data.Morpheus.Types.Internal.AST
( GQLError (..),
GQLError... | {
"pile_set_name": "Github"
} |
*WezTerm is a GPU-accelerated cross-platform terminal emulator and multiplexer written by <a href="https://github.com/wez/">@wez</a> and implemented in <a href="https://www.rust-lang.org/">Rust</a>*
<a class="btn" href="installation.html">Download</a>
## Features
* Runs on Linux, macOS and Windows 10
* [Multiplex t... | {
"pile_set_name": "Github"
} |
/**
* @file hwaccel_vdpau.h
* @author Martin Piatka <piatka@cesnet.cz>
*
* @brief This file contains functions related to hw acceleration
*/
/*
* Copyright (c) 2018 CESNET z.s.p.o.
*
* Redistribution and use in source and binary forms, with or without
* modification, is permitted provided that the following ... | {
"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"
} |
# The MIT License
#
# Copyright (c) 2004-2010, Sun Microsystems, 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, ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:oauth="http://www.springframework.org/schema/security/oauth2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/security/oauth2 https://www.springframe... | {
"pile_set_name": "Github"
} |
package com.enonic.xp.repo.impl;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
public class ReturnValues
{
private final Map<String, ReturnValue> returnValues;
private ReturnValues( final Builder builder )
{
this.returnValues = builder.returnValues;
}
publi... | {
"pile_set_name": "Github"
} |
require 'aws-sdk-core'
module Aws
module Plugins
class CertificateAuthority < Seahorse::Client::Plugin
option(:ssl_ca_bundle) { ENV['AWS_SSL_CA_BUNDLE'] }
option(:ssl_ca_directory) { ENV['AWS_SSL_CA_DIRECTORY'] }
end
end
end
| {
"pile_set_name": "Github"
} |
//*****************************************************************************
// Copyright 2017-2020 Intel Corporation
//
// 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://w... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* See the COPYRIGHT file distributed with this wo... | {
"pile_set_name": "Github"
} |
#
# Process this file with automake to produce Makefile.in
#
EXTRA_DIST = *.expect criticality.xml
CLEANFILES = output.*
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Product xmlns='http://code.google.com/p/open-zwave/'>
<!-- Configuration -->
<CommandClass id="112">
<Value type="byte" genre="config" instance="1" index="1" label="Watt meter report period" min="1" max="32767" units="5 sec" value="1">
<Help>If the setting is confi... | {
"pile_set_name": "Github"
} |
module.exports = {
parameters: [
{
in: 'body',
name: 'wowow',
nullable: true,
schema: {
$ref: 'foo',
},
},
],
outputSchema: {
body: {
$ref: 'foo',
},
},
};
| {
"pile_set_name": "Github"
} |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.ComponentModel;
using System.Diagnostics;
namespace System.Windows.Forms
{
public class DataGridV... | {
"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://www.opensolaris.org/os... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 1997, 2019, 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"
} |
.. _func_annotations:
Function annotations
====================
Function annotations are a piece of syntax introduced in Python 3.0 that was
not backported to Python 2.x. (See PEP 3107:
http://www.python.org/dev/peps/pep-3107/). They cause Python 2 to raise a
SyntaxError.
To rewrite Python 3 code with function annot... | {
"pile_set_name": "Github"
} |
package git
import (
"gopkg.in/src-d/go-git.v4"
"gopkg.in/src-d/go-git.v4/plumbing"
"gopkg.in/src-d/go-git.v4/plumbing/transport"
"gopkg.in/src-d/go-git.v4/plumbing/transport/client"
"gopkg.in/src-d/go-git.v4/plumbing/transport/http"
"gopkg.in/src-d/go-git.v4/utils/ioutil"
)
// Below is a workaround for https:/... | {
"pile_set_name": "Github"
} |
APP = notrec
STACK = 11k
MALLOC = 0k
include ../app_make.txt
| {
"pile_set_name": "Github"
} |
'use strict'
const cluster = require('cluster')
if (cluster.isMaster) {
const test = require('tape')
const findObjInArray = require('../../../_utils').findObjInArray
test('http split disabling', t => {
function makeTest (config, handler) {
return t => {
const worker = cluster.fork()
... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.