text stringlengths 2 99.9k | meta dict |
|---|---|
version: 2
updates:
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "daily"
time: "02:00"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
time: "03:00"
| {
"pile_set_name": "Github"
} |
'use strict';
module.exports = function (environment) {
let ENV = {
modulePrefix: 'dummy',
environment,
rootURL: '/',
locationType: 'auto',
EmberENV: {
FEATURES: {
// Here you can enable experimental features on an ember canary build
// e.g. EMBER_NATIVE_DECORATOR_SUPPORT: t... | {
"pile_set_name": "Github"
} |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | {
"pile_set_name": "Github"
} |
import logging
import re
import string
import io
import bibtexparser
import traitlets as traits
from nbconvert.preprocessors import Preprocessor
from six import string_types
class DefaultFormatter(string.Formatter):
def __init__(self, default=""):
self.default = default
def get_value(self, key, arg... | {
"pile_set_name": "Github"
} |
package proxy
import (
"io/ioutil"
"net/http"
"net/http/httptest"
"net/url"
"testing"
)
var srv = httptest.NewServer(nil)
func init() {
http.DefaultServeMux.Handle("/hello", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.Write([]byte("Hello, client"))
}))
}
func ProxyClient() (*http.Clie... | {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (13.0.2) on Mon Jun 22 16:40:35 EDT 2020 -->
<title>RestConfigImpl (weblogic-kubernetes-operator 2.6.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2020-06-22">
<meta n... | {
"pile_set_name": "Github"
} |
// Copyright 2020 The prometheus-operator 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 ... | {
"pile_set_name": "Github"
} |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
/***
*strcpy_s.c - contains strcpy_s()
*
*
*Purpose:
* strcpy_s() copies one string onto another.
*
**********************************************************... | {
"pile_set_name": "Github"
} |
easywsclient
============
Easywsclient is an easy and powerful WebSocket client to get your
C++ code connected to a web stack right away. It depends only on the
standard libraries. It is compatible with modern C++11 std::function and
[lambda](http://en.wikipedia.org/wiki/Anonymous_function#C.2B.2B),
if they're availa... | {
"pile_set_name": "Github"
} |
#include "simulation/ElementCommon.h"
static int update(UPDATE_FUNC_ARGS);
static int graphics(GRAPHICS_FUNC_ARGS);
static void create(ELEMENT_CREATE_FUNC_ARGS);
void Element::Element_SLCN()
{
Identifier = "DEFAULT_PT_SLCN";
Name = "SLCN";
Colour = PIXPACK(0xBCCDDF);
MenuVisible = 1;
MenuSection = SC_POWDERS;
E... | {
"pile_set_name": "Github"
} |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function() {
var mode = CodeMirror.getMode({indentUnit: 2}, "css");
function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }
// Error, because "foobarhell... | {
"pile_set_name": "Github"
} |
/* ______ ___ ___
* /\ _ \ /\_ \ /\_ \
* \ \ \L\ \\//\ \ \//\ \ __ __ _ __ ___
* \ \ __ \ \ \ \ \ \ \ /'__`\ /'_ `\/\`'__\/ __`\
* \ \ \/\ \ \_\ \_ \_\ \_/\ __//\ \L\ \ \ \//\ \L\ \
* \ \_\ \_\/\____\/\____\ \____\ \____ \ \_\\ \____/
* ... | {
"pile_set_name": "Github"
} |
package com.instacart.formula
class OptionalEventCallbackFormula : Formula<Unit, OptionalEventCallbackFormula.State, OptionalEventCallbackFormula.Output> {
data class State(
val callbackEnabled: Boolean = true,
val state: Int = 0
)
data class Output(
val state: Int,
val cal... | {
"pile_set_name": "Github"
} |
package org.sculptor.simplecqrs.command.serviceapi;
import static org.junit.Assert.assertEquals;
import java.util.Set;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.sculptor.framework.accessimpl.mongodb.DbManager;
import org.sculptor.simplecqrs.co... | {
"pile_set_name": "Github"
} |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | {
"pile_set_name": "Github"
} |
---
layout: base
title: 'Statistics of INTJ in UD_Slovenian'
udver: '2'
---
## Treebank Statistics: UD_Slovenian: POS Tags: `INTJ`
There are 14 `INTJ` lemmas (0%), 14 `INTJ` types (0%) and 16 `INTJ` tokens (0%).
Out of 16 observed tags, the rank of `INTJ` is: 15 in number of lemmas, 16 in number of types and 16 in n... | {
"pile_set_name": "Github"
} |
/**
* @license Copyright © 2013 onwards, Andrew Whewell
* All rights reserved.
*
* Redistribution and use of this software 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 copyri... | {
"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"
} |
#!/usr/bin/env python
#
# Simple mirror test
#
# Copyright (c) 2018 Virtuozzo International GmbH. All rights reserved.
#
# 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 L... | {
"pile_set_name": "Github"
} |
using System.Collections.Generic;
using Essensoft.AspNetCore.Payment.Alipay.Response;
namespace Essensoft.AspNetCore.Payment.Alipay.Request
{
/// <summary>
/// alipay.mobile.public.menu.get
/// </summary>
public class AlipayMobilePublicMenuGetRequest : IAlipayRequest<AlipayMobilePublicMenuGetResponse>... | {
"pile_set_name": "Github"
} |
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>BasePagedListAdapter.<init> - commons/ui</title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">commons/ui</a> / <a href="../index.html">com.vmadalin.commons.ui.base</a> / <a href="index.html">BasePagedListAd... | {
"pile_set_name": "Github"
} |
// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing
struct D {
init( ) {
struct Q<T {
protocol B : A
class A<T : A<T>
| {
"pile_set_name": "Github"
} |
package(default_visibility = ["//visibility:public"])
load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
)
go_library(
name = "go_default_library",
srcs = [
"doc.go",
"fake_certificates_client.go",
"fake_certificatesigningrequest.go",
"fake_certificatesigningrequest_... | {
"pile_set_name": "Github"
} |
using MinerWars.AppCode.Game.Entities;
namespace MinerWars.AppCode.Game.Utils
{
struct MyIntersectionResultLineBoundingSphere
{
public readonly float Distance; // Distance to the intersection point (calculated as distance from 'line.From' to 'intersection point')
public r... | {
"pile_set_name": "Github"
} |
# md5, sha256 from https://pypi.org/pypi/pyelftools/json
md5 c5629b9a5d19c82107a946cce52eeec2 pyelftools-0.25.tar.gz
sha256 89c6da6f56280c37a5ff33468591ba9a124e17d71fe42de971818cbff46c1b24 pyelftools-0.25.tar.gz
# Locally computed sha256 checksums
sha256 ae18bf4cb82f92af7547259177bc28bc48e4fc732518bcedfe690226288d344... | {
"pile_set_name": "Github"
} |
/**
* @author Administrator
* 状态模式
*/
package com.anxpp.designpattern.state; | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<body>
<h1>Publishing via Crossbar.io HTTP Bridge</h1>
<p>Open JavaScript console to watch output.</p>
<script src="/shared/autobahn/autobahn.min.js"></script>
<script>
var connection = new autobahn.Connection({
url: 'ws://127.0.0.1:8080/ws',
... | {
"pile_set_name": "Github"
} |
//
// detail/timer_queue_ptime.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BOO... | {
"pile_set_name": "Github"
} |
// +build linux
package system
import (
"bufio"
"fmt"
"os"
"os/exec"
"syscall" // only for exec
"unsafe"
"golang.org/x/sys/unix"
)
// If arg2 is nonzero, set the "child subreaper" attribute of the
// calling process; if arg2 is zero, unset the attribute. When a
// process is marked as a child subreaper, all... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2011 Nicira, Inc.
*
* 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 agre... | {
"pile_set_name": "Github"
} |
# tomholford's layout
This layout is data-driven: I installed [WhatPulse](https://whatpulse.org/) a few months ago and generated a heatmap of the most frequently used keys. I also optimized for my most-used programming languages, and muscle memory.
## Changes from Default
### QWERTY
- swap escape and tab
- rearrang... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | {
"pile_set_name": "Github"
} |
/*
* HCS API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: 2.1
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package hcsschema
type RegistryKey struct {
Hive string `json:"Hive,omitempty"`
... | {
"pile_set_name": "Github"
} |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
// tslint:disable:no-big-function
import { Architect } from '@angular-devkit/architect';
import { normalize } from '@... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2012-2018 Red Hat, Inc.
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Red Hat, Inc. - initial API a... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2003-2020 The Music Player Daemon Project
* http://www.musicpd.org
*
* 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) ... | {
"pile_set_name": "Github"
} |
{
"name": "kumo",
"full_name": "kumo",
"oldname": null,
"aliases": [
],
"versioned_formulae": [
],
"desc": "Word Clouds in Java",
"license": "MIT",
"homepage": "https://github.com/kennycason/kumo",
"versions": {
"stable": "1.27",
"head": null,
"bottle": false
},
"urls": {
"st... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Oct 15 2018 10:31:50).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <objc/NSObject.h>
#import <EmbeddedOSInstall/NSURLConnectionDataDelegate-Protocol.h>
#import <EmbeddedOSInstall/NSURLConnectio... | {
"pile_set_name": "Github"
} |
Data Drift Detection
--------------------
This section applies to isolation tree-based detectors (such as [IForest](ad_examples/aad/random_split_trees.py) and [IForestMultiview](ad_examples/aad/multiview_forest.py)) (Das, Islam, et al. 2019). Such trees provide a way to compute the KL-divergence between the data distri... | {
"pile_set_name": "Github"
} |
# Copyright 2018-present Facebook. All Rights Reserved.
require recipes-core/images/fbobmc-image-meta.inc
require fbcc-image-layout.inc
inherit kernel_fitimage
# TODO Disable ZSTD for now, enable once z-std patches are ported to Kernel 5.6
#IMAGE_FSTYPES_remove = "cpio.lzma.u-boot"
#IMAGE_FSTYPES += "cpio.zst.u-boot... | {
"pile_set_name": "Github"
} |
/*
Copyright 2019 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"
} |
// mksyscall.pl -tags linux,arm64 syscall_linux.go syscall_linux_arm64.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build linux,arm64
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func fchmodat(dirfd ... | {
"pile_set_name": "Github"
} |
---
version: 1
rwmutex: {}
interactions:
- request:
body: ""
form: {}
headers:
Fastly-Key:
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
User-Agent:
- FastlyGo/1.0.0 (+github.com/fastly/go-fastly; go1.12.1)
url: https://api.fastly.com/service/7BETwKaHgBudYYud5D8kUv
method: DELETE
resp... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6250" systemVersion="14A388a" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
<dependencies>
<plugIn ident... | {
"pile_set_name": "Github"
} |
<use name="DataFormats/Common"/>
<export>
<lib name="1"/>
</export>
| {
"pile_set_name": "Github"
} |
Core.RemoveProcessingInstructions
TYPE: bool
VERSION: 4.2.0
DEFAULT: false
--DESCRIPTION--
Instead of escaping processing instructions in the form <code><? ...
?></code>, remove it out-right. This may be useful if the HTML
you are validating contains XML processing instruction gunk, however,
it can also ... | {
"pile_set_name": "Github"
} |
(ns ventas.components.notificator
(:require
[cljs.core.async :refer [<! timeout go]]
[cljs.pprint :as pprint]
[re-frame.core :as rf]
[ventas.components.base :as base]
[ventas.i18n :refer [i18n]]))
(rf/reg-event-db
::add
(fn [db [_ notification]]
(let [id (hash notification)
notification ... | {
"pile_set_name": "Github"
} |
<?php
/**
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
use Joomla\Registry\AbstractRegistryFormat;
/**
* Test class for AbstractRegistryFormat.
*
* @since 1.0
*/
class AbstractRegistryFormatTe... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2014 Juan Pablo Ugarte.
*
* 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... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" standalone="yes"?>
<project name="flump-exporter" default="swf" basedir=".">
<property name="asrc.dir" location="src/main/as"/>
<property name="deploy.dir" location="dist"/>
<property name="icons.dir" location="icons"/>
<property name="keystore" location="etc/${ant.project.name}.pfx"/>
<pr... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" standalone="no" ?>
<!DOCTYPE pov SYSTEM "/usr/share/cgc-docs/replay.dtd"><pov>
<cbid>CROMU_00011</cbid>
<replay>
<read echo="ascii"><delim> </delim><match><data>\x3E </data></match></read>
<write echo="ascii"><data>R0lB1 = |"JG","r","rcmx"|-|"sBdTkB7","JG","LXSF8","xi","X8sP","hBt1","tnZg65N"|... | {
"pile_set_name": "Github"
} |
package ast
// ContinueStmt is node represent 'continue'
type ContinueStmt struct {
Addr Address
Pos Position
ChildNodes []Node
}
func parseContinueStmt(line string) *ContinueStmt {
groups := groupsFromRegex(
"<(?P<position>.*)>",
line,
)
return &ContinueStmt{
Addr: ParseAddress(groups... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<menu
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:anymemo="http://schemas.android.com/apk/res-auto" >
<item android:id="@+id/upload"
android:icon="@drawable/ic_publish"
anymemo:showAsAction="ifRoom"
android:title="@string/upload_text... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <SpringBoardFoundation/NSObject-Protocol.h>
@class NSDictionary, NSError;
@protocol SBFDeviceLockModelDelegate;
@protocol SBFDeviceLockModel <NSObject>
@property(readonly,... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Generated from FHIR 4.0.0-a53ec6ee1b on 2019-05-07.
# 2019, SMART Health IT.
import os
import io
import unittest
import json
from . import parameters
from .fhirdate import FHIRDate
class ParametersTests(unittest.TestCase):
def instantiate_from(self, filename):... | {
"pile_set_name": "Github"
} |
using Android.App;
using Android.Content.PM;
using Android.OS;
using FFImageLoading.Forms.Platform;
using Xamarin.Forms;
using PanCardView.Droid;
namespace PanCardViewSample.Droid
{
[Activity(Label = "PanCardViewSample.Droid", Icon = "@drawable/icon", Theme = "@style/MyTheme", MainLauncher = true, ConfigurationChan... | {
"pile_set_name": "Github"
} |
# Privilege
## READ_WRITE
## READ_ONLY
## REDUCE
## WRITE_DISCARD
| {
"pile_set_name": "Github"
} |
/*
cpIRC - C++ class based IRC protocol wrapper
Copyright (C) 2003 Iain Sheppard
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your opt... | {
"pile_set_name": "Github"
} |
#
# Theasurus config file. Character ':' separates string from replacement, eg
# sample-words : substitute-words
#
# Any substitute-word can be marked by preceding '*' character,
# which means do not lexize this word
# Docs: http://www.sai.msu.su/~megera/oddmuse/index.cgi/Thesaurus_dictionary
one two three : *123
one ... | {
"pile_set_name": "Github"
} |
// Copyright David Abrahams 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)
#ifndef BOOST_CONCEPT_CHECK_MSVC_DWA2006429_HPP
# define BOOST_CONCEPT_CHECK_MSVC_DWA2006429_HPP
# ifdef BOOST_OLD_CONCEPT_SUPPORT
#... | {
"pile_set_name": "Github"
} |
#
# Copyright (c) 2005, 2012, 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 Softwar... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#pragma mark -
//
// File: /Applications/Xcode-7GM.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/IMC... | {
"pile_set_name": "Github"
} |
using System;
using Csla.Core;
using System.ComponentModel;
using Csla.Security;
using Csla.Rules;
using Csla.Serialization.Mobile;
namespace Csla
{
/// <summary>
/// Consolidated interface of public elements from the
/// BusinessBase type.
/// </summary>
public interface IBusinessBase : IBusinessObject,
... | {
"pile_set_name": "Github"
} |
import { INodeProperties } from 'n8n-workflow';
export const campaignOperations = [
{
displayName: 'Operation',
name: 'operation',
type: 'options',
displayOptions: {
show: {
resource: [
'campaign',
],
},
},
options: [
{
name: 'Get',
value: 'get',
},
{
name: 'Get All... | {
"pile_set_name": "Github"
} |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.highj.data.transformer.reader_arrow;
import org.derive4j.hkt.__;
import org.derive4j.hkt.__2;
import org.highj.data.transf... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - DemoNetCore</title>
</head>
<body>
@RenderBody()
@RenderSection("Scripts", required: false)
</body>
</html>
| {
"pile_set_name": "Github"
} |
/*
* BufferedFileBinaryOutputPort.cpp -
*
* Copyright (c) 2009 Higepon(Taro Minowa) <higepon@users.sourceforge.jp>
* Copyright (c) 2009 Kokosabu(MIURA Yasuyuki) <kokosabu@gmail.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the ... | {
"pile_set_name": "Github"
} |
package restful
import (
"errors"
"net/http"
"net/http/httptest"
"strings"
"testing"
)
func TestWriteHeader(t *testing.T) {
httpWriter := httptest.NewRecorder()
resp := Response{ResponseWriter: httpWriter, requestAccept: "*/*", routeProduces: []string{"*/*"}, prettyPrint: true}
resp.WriteHeader(123)
if resp.... | {
"pile_set_name": "Github"
} |
<?php
/*
* $Id: Mssql.php 7660 2010-06-08 18:30:22Z jwage $
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN... | {
"pile_set_name": "Github"
} |
---
# Do not modify this file
- name: Running Pre Workload Tasks
include_tasks:
file: ./pre_workload.yml
apply:
become: "{{ become_override | bool }}"
when: ACTION == "create" or ACTION == "provision"
- name: Running Workload Tasks
include_tasks:
file: ./workload.yml
apply:
become: ... | {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class io.permazen.kv.xodus.XodusKVDatabase (Permazen 4.1.6 API)... | {
"pile_set_name": "Github"
} |
//
// Copyright (c) 2014-2017, THUNDERBEAST GAMES LLC All rights reserved
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
//... | {
"pile_set_name": "Github"
} |
// Copyright (C) 2014 Nippon Telegraph and Telephone 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://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | {
"pile_set_name": "Github"
} |
// +build example
//
// Do not build by default.
/*
How to run
Pass serial port to use as the first param:
go run examples/firmata_hmc6352.go /dev/ttyACM0
*/
package main
import (
"fmt"
"os"
"time"
"gobot.io/x/gobot"
"gobot.io/x/gobot/drivers/i2c"
"gobot.io/x/gobot/platforms/firmata"
)
func main() {
fir... | {
"pile_set_name": "Github"
} |
#!/bin/bash
set -ex
set -o pipefail
echo "machine launch script started" > /home/centos/machine-launchstatus
{
sudo yum install -y mosh
sudo yum groupinstall -y "Development tools"
sudo yum install -y gmp-devel mpfr-devel libmpc-devel zlib-devel vim git java java-devel
curl https://bintray.com/sbt/rpm/rpm | sudo tee... | {
"pile_set_name": "Github"
} |
// Copyright 2005, Google Inc.
// 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 conditions ... | {
"pile_set_name": "Github"
} |
defmodule BlockScoutWeb.Tokens.InstanceView do
use BlockScoutWeb, :view
end
| {
"pile_set_name": "Github"
} |
/*
* LibrePCB - Professional EDA for everyone!
* Copyright (C) 2013 LibrePCB Developers, see AUTHORS.md for contributors.
* https://librepcb.org/
*
* 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 Fou... | {
"pile_set_name": "Github"
} |
###### suite/funcs_1/include/myisam_tb2.inc
--disable_warnings
drop table if exists tb2 ;
--enable_warnings
create table tb2 (
f59 numeric (0) unsigned,
f60 numeric (64) unsigned,
f61 numeric (0) zerofill,
f62 numeric (64) zerofill,
f63 numeric (0) unsigned zerofill,
f64 numeric (64) unsigned zerofill,
f65 numeric (0,... | {
"pile_set_name": "Github"
} |
[MASTER]
# Specify a configuration file.
#rcfile=
# Python code to execute, usually for sys.path manipulation such as
# pygtk.require().
#init-hook=
# Profiled execution.
profile=no
# Add files or directories to the blacklist. They should be base names, not
# paths.
ignore=CVS
# Pickle collected data for later com... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env python
#
# Example usage:
#
# NOTE:
# optype=real: Gaussian parametrization uses a non-linear transformation of split times
# variance should decrease as split_time increases:
# variance at node j = variance_coef * (sigmoid(sigmoid_coef * t_j) - sigmoid(sigmoid_coef * t_{parent(j)}))
# non-linear ... | {
"pile_set_name": "Github"
} |
/*!
* jQuery Cookie Plugin v1.4.1
* https://github.com/carhartl/jquery-cookie
*
* Copyright 2006, 2014 Klaus Hartl
* Released under the MIT license
*/
(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD (Register as an anonymous module)
define(['jquery'], factory);
} else if (type... | {
"pile_set_name": "Github"
} |
/* Dia -- an diagram creation/manipulation program
* Copyright (C) 1999 Alexander Larsson
*
* 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 o... | {
"pile_set_name": "Github"
} |
// Copyright 2020 The Google Research 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... | {
"pile_set_name": "Github"
} |
// $Id: ExecC.nc,v 1.3 2010-06-29 22:07:50 scipio Exp $
/*
* Copyright (c) 2000-2005 The Regents of the University of California.
* All rights reserved.
*
* 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"
} |
c-ares Unit Test Suite
======================
This directory holds unit tests for the c-ares library. To build the tests:
- Build the main c-ares library first, in the directory above this. To
enable tests of internal functions, configure the library build to expose
hidden symbols with `./configure --disabl... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2008 Google Inc.
*
* 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 i... | {
"pile_set_name": "Github"
} |
<?php
/**
* @package Joomla.UnitTest
* @subpackage Document
*
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
require_once JPATH_PLATFORM . '/joomla/environment/response.php';
require_once JP... | {
"pile_set_name": "Github"
} |
/*
This file is part of IanniX, a graphical real-time open-source sequencer for digital art
Copyright (C) 2010-2015 — IanniX Association
Project Manager: Thierry Coduys (http://www.le-hub.org)
Development: Guillaume Jacquemin (https://www.buzzinglight.com)
This file was written by Guillaume Ja... | {
"pile_set_name": "Github"
} |
// skip
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
/*
A trivial example of wrapping a C library in Go.
For a more complex example and explanation,
see ../gmp/gmp.go.
*/
package stdio
/*
#include <stdi... | {
"pile_set_name": "Github"
} |
/**
******************************************************************************
*
* @file lux.h
* @author Tau Labs, http://taulabs.org, Copyright (C) 2015
* @author dRonin, http://dRonin.org/, Copyright (C) 2016
*
* @addtogroup GCSPlugins GCS Plugins
* @{
* @addtogroup Boards_Brotronics Brotro... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This file is part of Liferay Social Office. Liferay Social Office 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 Free Software Foundation,
* either v... | {
"pile_set_name": "Github"
} |
/////////////////////////////////////////////////////////////////////////////////
//
// Aurora C++ Library
// Copyright (c) 2012-2016 Jan Haller
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of thi... | {
"pile_set_name": "Github"
} |
/*
Copyright 2018 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"
} |
srcdir = @srcdir@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
SCM_CATEGORY = binary
include ../Makefile.ext
LIBFILES = binary--io.$(SOEXT)
SCMFILES = io.sci
GENERATED = Makefile
XCLEANFILES = binary--io.c io.sci
OBJECTS = binary--io.$(OBJEXT) binary.$(OBJEXT)
all : $(LIBFILES)
binary--io.$(SO... | {
"pile_set_name": "Github"
} |
#!/bin/sh
test_description='test the Windows-only core.unsetenvvars setting'
. ./test-lib.sh
if ! test_have_prereq MINGW
then
skip_all='skipping Windows-specific tests'
test_done
fi
test_expect_success 'setup' '
mkdir -p "$TRASH_DIRECTORY/.git/hooks" &&
write_script "$TRASH_DIRECTORY/.git/hooks/pre-commit" <<-\... | {
"pile_set_name": "Github"
} |
// -*- C++ -*- forwarding header.
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License ... | {
"pile_set_name": "Github"
} |
# Components
A component typically consists of two files:
- Template: The template is the file that the component's markup lives in. It can be written in Nunjucks, Twig or any other templating language you can think of.
- Data: The data can consist of simple data types such as strings, booleans, numbers, arrays and o... | {
"pile_set_name": "Github"
} |
#ifndef TIMER_H_
#define TIMER_H_
#include <time.h>
#include <opencv/cxcore.h>
class Timer
{
protected:
double m_beginT;
double m_endT;
double m_elapse; //in seconds
public:
Timer();
void start(){
m_beginT = cv::getTickCount();
//gettimeofday(&m_beginT,0);
}
double stop(){
m_endT = cv::getTickCount();
... | {
"pile_set_name": "Github"
} |
<!doctype html>
<html>
<head>
<title>TAPE Example</title>
<script src="/testem.js"></script>
<script src="bundle.js"></script>
</head>
<body>
</body>
</html>
| {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.