text stringlengths 2 99.9k | meta dict |
|---|---|
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2015-2020 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | {
"pile_set_name": "Github"
} |
{
"private": true,
"scripts": {
"start": "npm run lint && npm run test",
"lint": "eslint --format json --output-file /usr/lint-output.json --config /usr/linked/.eslintrc.yml /usr/linked/**/*.ts || true",
"test": "jest ./test.js"
},
"devDependencies": {
"eslint": "4.19.1",... | {
"pile_set_name": "Github"
} |
// 后台配置文件
module.exports = {
// 数据库配置
mysqlDB: {
host: 'localhost',
user: 'root',
password: 'root',
database: 'scscmsdb'
},
upPath: 'dist/upFile/', // 上传路径
// token 配置
JWTs: {
secret: 'scscms', // 指定密钥
expiresIn: '2h' // 超时设置 m分钟 h小时 d天数
},
// 邮件服务配置
emailServer: {
host: 's... | {
"pile_set_name": "Github"
} |
library(mlr)
library(BBmisc)
library(devtools)
DATASEED = 7761 # nolint
COMPRESSION = "xz" # nolint
# classification
set.seed(DATASEED)
data(iris, package = "datasets")
iris.task = makeClassifTask("iris-example", data = iris, target = "Species")
use_data(iris.task, overwrite = TRUE, compress = COMPRESSION)
set.se... | {
"pile_set_name": "Github"
} |
<?php
declare(strict_types=1);
/*
* +----------------------------------------------------------------------+
* | ThinkSNS Plus |
* +----------------------------------------------------------------------+
* | Copyright (c) 2016-Present ZhiYiChuangXiang Technol... | {
"pile_set_name": "Github"
} |
{{- if .Values.sysdig.accessKey }}
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: {{ template "sysdig.fullname" . }}
labels:
{{ include "sysdig.labels" . | indent 4 }}
spec:
selector:
matchLabels:
app.kubernetes.io/name: {{ include "sysdig.name" . }}
app.kubernetes.io/instance: {{ .Release.Na... | {
"pile_set_name": "Github"
} |
import numbers
import cython
from cython import Py_ssize_t
import numpy as np
cimport numpy as cnp
from numpy cimport float64_t, int64_t, ndarray, uint8_t
cnp.import_array()
from pandas._libs cimport util
from pandas._libs.tslibs.nattype cimport (
c_NaT as NaT,
checknull_with_nat,
is_null_datetimelike,
... | {
"pile_set_name": "Github"
} |
// Copyright (c) Microsoft Corporation. All rights reserved.
#include <synchapi.h>
// This must be as small as possible, because its contents are
// injected into the msvcprt.lib and msvcprtd.lib import libraries.
// Do not include or define anything else here.
// In particular, basic_string must not be included here.... | {
"pile_set_name": "Github"
} |
#include <QTextStream>
#include "tasks/Task.hpp"
#include <stdexcept>
#include "FlowView.hpp"
namespace flow {
Task::Task(
FlowEnv env,
const QString& e,
const QStringList& as,
const QString& wd,
Output out,
Output err,
Callback cb,
QObject* h
): env_(env), executor_(e), args_(as), workingDir_(wd), stdout_(o... | {
"pile_set_name": "Github"
} |
package migrations_test
import (
"path/filepath"
"reflect"
"sort"
"strconv"
"strings"
"testing"
migrations "github.com/sourcegraph/sourcegraph/migrations/frontend"
)
const FirstMigration = 1528395684
func TestIDConstraints(t *testing.T) {
ups, err := filepath.Glob("*.up.sql")
if err != nil {
t.Fatal(err)... | {
"pile_set_name": "Github"
} |
### YamlMime:ManagedReference
items:
- uid: Rssdp.Infrastructure.ResponseReceivedEventArgs
commentId: T:Rssdp.Infrastructure.ResponseReceivedEventArgs
id: ResponseReceivedEventArgs
parent: Rssdp.Infrastructure
children:
- Rssdp.Infrastructure.ResponseReceivedEventArgs.#ctor(HttpResponseMessage,Rssdp.Infrastru... | {
"pile_set_name": "Github"
} |
{
"name": "Holiday Extras",
"displayName": "Holiday Extras",
"properties": [
"dock-yard.io",
"hxtrack.com"
],
"prevalence": {
"tracking": 0,
"nonTracking": 0.0000147,
"total": 0.0000147
}
} | {
"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.
//
#import "NSObject.h"
__attribute__((visibility("hidden")))
@interface CUTWeakReference : NSObject
{
id _object;
unsigned long long _objectAddress;
}
+ (id)weakRefWithObjec... | {
"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>W6vFb0 = |"sKq","C","5rPdi","GX7SRZ"|+|"nrAzRg","5rPdi"|\n</data></write>
<re... | {
"pile_set_name": "Github"
} |
// Copyright 2017 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 <memory>
#include <string>
#include <vector>
#include "base/bind.h"
#include "base/callback.h"
#include "base/macros.h"
#include "base/strings/s... | {
"pile_set_name": "Github"
} |
/*
* $Id: kern_gzio.c,v 1.6 2008-10-18 22:54:45 lbazinet Exp $
*
* core_gzip.c -- gzip routines used in compressing user process cores
*
* This file is derived from src/lib/libz/gzio.c in FreeBSD.
*/
/* gzio.c -- IO on .gz files
* Copyright (C) 1995-1998 Jean-loup Gailly.
* For conditions of distribution and u... | {
"pile_set_name": "Github"
} |
---
layout: post
title: Sorry we're delayed
author:
name: Devrim Yasar
email: devrim@koding.com
excerpt_separator: "<!--more-->"
---
Hi Everyone,
We're receiving no less than a few emails every single day asking about the release, encouraging us to release or being angry about the release :) Thanks a lot.
<!--mor... | {
"pile_set_name": "Github"
} |
<?php
/*
+ ----------------------------------------------------------------------------------------------+
| e107 website system : http://e107.org
| Steve Dunstan 2001-2002 : jalist@e107.org
| Released under the terms and conditions of the GNU General Public License (http://gnu.org).
|
| $Source: /cvs_... | {
"pile_set_name": "Github"
} |
/*
Copyright IBM Corp. 2016 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 agreed to in wri... | {
"pile_set_name": "Github"
} |
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DOMParser", "DOMParser\DOMParser_vs100.vcxproj", "{70F2F655-67D5-32A1-A99B-D4903547DB3E}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DOMWriter", "DOMWriter\DOMWriter... | {
"pile_set_name": "Github"
} |
// Copyright (c) Lawrence Livermore National Security, LLC and other VisIt
// Project developers. See the top-level LICENSE file for dates and other
// details. No copyright assignment is required to contribute to VisIt.
// ****************************************************************************
// File: Stagge... | {
"pile_set_name": "Github"
} |
"Roles of user","Rollen des Benutzers"
"Please choose","Bitte wählen"
"You have to select at least one user and one role.","Sie müssen mindestens einen Benutzer und eine Rolle auswählen."
"Administrator","Super-Administrator"
"Web application administrator.","Hauptadministrator der gesamten Webapplikation."
"User","B... | {
"pile_set_name": "Github"
} |
namespace Blog.Test.Services
{
using System.Threading.Tasks;
using Blog.Services.Images;
using Fakes;
using Xunit;
public class ImageServiceTest
{
[Fact]
public void CalculateOptimalSizeShouldReturnMinimumSizeWhenSizeIsLessThanTheAllowedMinimum()
{
// Arrang... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 21940121e51c91c49b0fd1a836752bac
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestRefe... | {
"pile_set_name": "Github"
} |
{{- if .Values.clusterAgent.enabled -}}
apiVersion: v1
kind: Service
metadata:
name: {{ template "datadog.fullname" . }}-cluster-agent
labels:
helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
app.kubernetes.io/name: "{{ template "datadog.fullname" . }}"
app.kubernetes.io/instanc... | {
"pile_set_name": "Github"
} |
<?php
/**
* This file is part of the wangningkai/olaindex.
* (c) wangningkai <i@ningkai.wang>
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace App\Helpers;
use App\Models\ShortUrl;
use App\Models\Account;
use Curl\Curl;
use Parsedown;
use ... | {
"pile_set_name": "Github"
} |
#ifndef PQCLEAN_SPHINCSHARAKA192FROBUST_CLEAN_PARAMS_H
#define PQCLEAN_SPHINCSHARAKA192FROBUST_CLEAN_PARAMS_H
/* Hash output length in bytes. */
#define PQCLEAN_SPHINCSHARAKA192FROBUST_CLEAN_N 24
/* Height of the hypertree. */
#define PQCLEAN_SPHINCSHARAKA192FROBUST_CLEAN_FULL_HEIGHT 66
/* Number of subtree layer. */
... | {
"pile_set_name": "Github"
} |
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Copyright (C) Jonathan Naylor G4KLX (g4klx@g4klx.demon.co.u... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2003-present, Jodd Team (http://jodd.org)
// 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. Redistributions of source code must retain the above copyright notice,
// th... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2011 Stephan Aßmus <superstippi@gmx.de>
* All rights reserved. Distributed under the terms of the MIT license.
*/
#ifndef TOOL_BAR_ICONS_H
#define TOOL_BAR_ICONS_H
#include <SupportDefs.h>
class BBitmap;
enum {
kIconDocumentOpen = 0,
kIconDocumentSaveAs,
kIconDocumentSave,
kIconDrawRectangula... | {
"pile_set_name": "Github"
} |
<span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">visibleTodoFilter</span>(<span class="hljs-params">state = 'watch', action</span>) </span>{
<span class="hljs-keyword">switch</span> (action.type) {
<span class="hljs-keyword">case</span> <span class="hljs-string">'CHANG... | {
"pile_set_name": "Github"
} |
false
for v; do
exit 2
done
echo Zero:$?
| {
"pile_set_name": "Github"
} |
import './go-wasm-runtime.js';
if (!WebAssembly.instantiateStreaming) { // polyfill
WebAssembly.instantiateStreaming = async (resp, importObject) => {
const source = await (await resp).arrayBuffer();
return await WebAssembly.instantiate(source, importObject);
};
}
const go = new Go();
WebAssembly.instanti... | {
"pile_set_name": "Github"
} |
/*
* Virtual Raw MIDI client on Sequencer
*
* Copyright (c) 2000 by Takashi Iwai <tiwai@suse.de>,
* Jaroslav Kysela <perex@perex.cz>
*
* 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
* th... | {
"pile_set_name": "Github"
} |
<?php declare(strict_types=1);
namespace Shopware\Core\Framework\App\Lifecycle\Registration;
use GuzzleHttp\Psr7\Request;
use GuzzleHttp\Psr7\Uri;
use Psr\Http\Message\RequestInterface;
/**
* @internal
*/
class PrivateHandshake implements AppHandshakeInterface
{
/**
* @var string
*/
private $shop... | {
"pile_set_name": "Github"
} |
/**
* @file v16i8.h
*
* @brief struct and _Generic based vector class implementation
*/
#ifndef _V16I8_H_INCLUDED
#define _V16I8_H_INCLUDED
/* include header for intel / amd sse2 instruction sets */
#include <x86intrin.h>
/* 8bit 32cell */
typedef struct v16i8_s {
__m128i v1;
} v16i8_t;
/* expanders (without a... | {
"pile_set_name": "Github"
} |
package org.wikipedia.edit.richtext;
import org.wikipedia.model.BaseModel;
/**
* Represents a single syntax highlighting rule.
*
* example: [[ lorem ipsum ]]
* | | |
* startSymbol | |
* | endSymbol
* |
* spanStyle
... | {
"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
protocol B {
struct B {
init {
let a {
func a
( = {
class A {
enum B {
class
case ,
| {
"pile_set_name": "Github"
} |
// Scintilla source code edit control
/** @file CharacterSet.cxx
** Simple case functions for ASCII.
** Lexer infrastructure.
**/
// Copyright 1998-2010 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
#include <cstdlib>
#include <c... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env bash
set -o errexit
trap 'echo "Aborting due to errexit on line $LINENO. Exit code: $?" >&2' ERR
set -o errtrace
set -o nounset
###############################################################################
# Functions
###############################################################################
NT... | {
"pile_set_name": "Github"
} |
// Copyright John Maddock 2005-2006.
// Use, modification and distribution are subject to 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_MATH_TOOLS_PRECISION_INCLUDED
#define BOOST_MATH_TOOLS_PRECISION_INCLUDED
#... | {
"pile_set_name": "Github"
} |
//
// BGViewController.h
// BGUtilities
//
// Created by Ben Gordon on 12/11/13.
// Copyright (c) 2013 Ben Gordon. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface BGViewController : UIViewController
@end
| {
"pile_set_name": "Github"
} |
/*
* The MIT License
* Copyright © 2014-2019 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy... | {
"pile_set_name": "Github"
} |
package com.sequenceiq.freeipa.util;
import java.util.UUID;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import com.sequenceiq.cloudbreak.auth.ThreadBasedUserCrnProvider;
import com.sequenceiq.cloudbreak.auth.altus.Crn;
import com.sequenceiq.cloudbreak.aut... | {
"pile_set_name": "Github"
} |
import mock from 'xhr-mock';
import coreStore from 'kolibri.coreVue.vuex.store';
import * as redirectBrowser from 'kolibri.utils.redirectBrowser';
import * as serverClock from 'kolibri.utils.serverClock';
import { HeartBeat } from '../src/heartbeat.js';
import disconnectionErrorCodes from '../src/disconnectionErrorCode... | {
"pile_set_name": "Github"
} |
<component name="libraryTable">
<library name="Maven: org.springframework.cloud:spring-cloud-netflix-eureka-client:2.1.0.RELEASE">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/cloud/spring-cloud-netflix-eureka-client/2.1.0.RELEASE/spring-cloud-netflix-eureka-client-2.1.0.RELEASE.jar!/" ... | {
"pile_set_name": "Github"
} |
/*
* Synaptics RMI4 touchscreen driver
*
* Copyright (C) 2012 Synaptics Incorporated
*
* Copyright (C) 2012 Alexandra Chin <alexandra.chin@tw.synaptics.com>
* Copyright (C) 2012 Scott Lin <scott.lin@tw.synaptics.com>
* Copyright (c) 2013, The Linux Foundation. All rights reserved.
*
* This program is free soft... | {
"pile_set_name": "Github"
} |
# Needed for binfmt_misc service: "Arbitrary Executable File Formats File System"
CONFIG_BINFMT_MISC=y
| {
"pile_set_name": "Github"
} |
# Configure paths for libopus
# Gregory Maxwell <greg@xiph.org> 08-30-2012
# Shamelessly stolen from Jack Moffitt (libogg) who
# Shamelessly stole from Owen Taylor and Manish Singh
dnl XIPH_PATH_OPUS([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
dnl Test for libopus, and define OPUS_CFLAGS and OPUS_LIBS
dnl
AC_DEFUN([XIP... | {
"pile_set_name": "Github"
} |
--TEST--
Test is_subclass_of() function : wrong number of args
--FILE--
<?php
/* Prototype : proto bool is_subclass_of(object object, string class_name)
* Description: Returns true if the object has this class as one of its parents
* Source code: Zend/zend_builtin_functions.c
* Alias to functions:
*/
echo "***... | {
"pile_set_name": "Github"
} |
__license__ = 'GPL v3'
__copyright__ = '2009-2010, Darko Miletic <darko.miletic at gmail.com>'
'''
odb.org
'''
from calibre.web.feeds.news import BasicNewsRecipe
import uuid
from lxml import html
class OurDailyBread(BasicNewsRecipe):
title = 'Our Daily Bread'
__author__ = 'Kovid Goyal'
description = "Ou... | {
"pile_set_name": "Github"
} |
/*
* linux/fs/ext3/dir.c
*
* Copyright (C) 1992, 1993, 1994, 1995
* Remy Card (card@masi.ibp.fr)
* Laboratoire MASI - Institut Blaise Pascal
* Universite Pierre et Marie Curie (Paris VI)
*
* from
*
* linux/fs/minix/dir.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*
* ext3 directory handling functio... | {
"pile_set_name": "Github"
} |
<!--
#%L
ADempiere ERP - Desktop Client
%%
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 version 2 of the
License, or (at your option) any l... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow str... | {
"pile_set_name": "Github"
} |
/** @file
* IPRT - Build Configuration Information
*/
/*
* Copyright (C) 2009 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or modify it under the terms of the GNU
* Gene... | {
"pile_set_name": "Github"
} |
#ifndef IxOsalOs_H
#define IxOsalOs_H
#ifndef IX_OSAL_CACHED
#error "Uncached memory not supported in linux environment"
#endif
static inline unsigned long __v2p(unsigned long v)
{
if (v < 0x40000000)
return (v & 0xfffffff);
else
return v;
}
#define IX_OSAL_OS_MMU_VIRT_TO_PHYS(addr) __v2p((u32)addr)
#de... | {
"pile_set_name": "Github"
} |
<configuration>
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>info</level>
</filter>
<encoder>
<pattern>%date{HH:mm:ss} %-5level [%X{akkaSource}] - %msg%n</pattern>
... | {
"pile_set_name": "Github"
} |
#include "macros.inc"
test_suite s32c1i
test s32c1i_nowrite
movi a2, 1f
movi a3, 1
wsr a3, scompare1
movi a1, 2
s32c1i a1, a2, 0
assert ne, a1, a3
l32i a1, a2, 0
assert eqi, a1, 3
.data
.align 4
1:
.word 3
.text
test_end
test s32c1i_write
movi a2, 1f
... | {
"pile_set_name": "Github"
} |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.signin;
import android.accounts.Account;
import android.os.AsyncTask;
import org.chromium.base.Callback;
import org.... | {
"pile_set_name": "Github"
} |
'use strict';
require('../../setup');
import { accounts } from '@openzeppelin/test-environment';
import Contracts from '../../../src/artifacts/Contracts';
import ProxyAdmin from '../../../src/proxy/ProxyAdmin';
import AppProject from '../../../src/project/AppProject';
import SimpleProject from '../../../src/project/S... | {
"pile_set_name": "Github"
} |
/* Set data type implemented by a hash table with a linked list.
Copyright (C) 2006, 2009-2020 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2018.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as publish... | {
"pile_set_name": "Github"
} |
/**
* Bug 1621677 - A test for making sure getting the correct (higher) precision
* when it's cross-origin-isolated.
*/
// ================================================================================================
// ===========================================================================================... | {
"pile_set_name": "Github"
} |
package ecs
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
//http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed to in writing, software
//distribut... | {
"pile_set_name": "Github"
} |
# Autodetecting setup.py script for building the Python extensions
#
__version__ = "$Revision$"
import sys, os, imp, re, optparse
from glob import glob
from platform import machine as platform_machine
import sysconfig
from distutils import log
from distutils import text_file
from distutils.errors import *
from distu... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>recorder.js</title>
<style>
audio { display: block; margin-bottom: 10px; }
#audio-container { padding: 20px 0; }
.ui-btn { display: inline-block; padding: 5px 20px; font-size: 14px; line... | {
"pile_set_name": "Github"
} |
git clone https://github.com/deepstreamIO/deepstream.io.git
cd deepstream.io
sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
git submodule update --init --recursive
npm i
npm run e2e:v3
| {
"pile_set_name": "Github"
} |
// UIProgressView+AFNetworking.h
//
// Copyright (c) 2013-2015 AFNetworking (http://afnetworking.com)
//
// 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 with... | {
"pile_set_name": "Github"
} |
from typing import Any
from hamcrest.core.helpers.wrap_matcher import wrap_matcher
from hamcrest.core.matcher import Matcher
from hamcrest.core.string_description import tostring
__author__ = "Chris Rose"
__copyright__ = "Copyright 2011 hamcrest.org"
__license__ = "BSD, see License.txt"
__unittest = True
class Equa... | {
"pile_set_name": "Github"
} |
<resources>
<string name="app_name">RN039</string>
<string name="fb_app_id">559717777526537</string>
<string name="ak_client_token">b895234af645976dee1e39a60fdd0592</string>
</resources>
| {
"pile_set_name": "Github"
} |
'use strict';
// do not edit .js files directly - edit src/index.jst
var envHasBigInt64Array = typeof BigInt64Array !== 'undefined';
module.exports = function equal(a, b) {
if (a === b) return true;
if (a && b && typeof a == 'object' && typeof b == 'object') {
if (a.constructor !== b.constructor) return... | {
"pile_set_name": "Github"
} |
Class=[NonFinal]
ClassPath MEng.User.Tests.TestPolyColBase;
ParentClass MEng.Formattable;
EndClass;
Imports=
MEng.System.Runtime.TextOutStream;
EndImports;
Members=
String m_BaseValue;
EndMembers;
Methods=[Public,Const,Overrides]
Method FormatTo([InOut] TextOutStream TarStr... | {
"pile_set_name": "Github"
} |
#include <pbs_config.h>
#include <set>
#include <dirent.h>
#include <stdio.h>
#include <sys/types.h>
#include <ctype.h>
#include <signal.h>
#include <sys/param.h>
#include <fcntl.h>
#include <libgen.h>
#include <hwloc.h>
#include <errno.h>
#include <sys/stat.h>
#ifdef USELIBCPUSET
# include <bitmask.h>
# include <cp... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: c22ccff6a39660d4b84961d4367fbba7
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
//
// AudioAnimatedSticker.swift
// Telegram
//
// Created by Mikhail Filimonov on 06.12.2019.
// Copyright © 2019 Telegram. All rights reserved.
//
import Cocoa
import TGUIKit
import SwiftSignalKit
private struct SelectFrameState : Equatable {
let frame: Int32
init(frame: Int32) {
self.frame = f... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
from mamonsu.plugins.pgsql.plugin import PgsqlPlugin as Plugin
from distutils.version import LooseVersion
from .pool import Pooler
class Instance(Plugin):
query_agent = "select sum({0}) as {0} from pg_catalog.pg_stat_database;"
key = 'pgsql.'
AgentPluginType = 'pg'
Items = [
... | {
"pile_set_name": "Github"
} |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
OcclusionCullingSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_OcclusionBakeSettings:
smallestOccluder: 5
smallestHole: 0.25
backfaceThreshold: 100
m_SceneGUID: 00000000000000000000000000000000
m_OcclusionCullingData: {fileID: 0}
--- !u!... | {
"pile_set_name": "Github"
} |
/* Copyright 2010-present MongoDB 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 in wr... | {
"pile_set_name": "Github"
} |
// Copyright 2001-2019 Crytek GmbH / Crytek Group. All rights reserved.
#ifndef __SOCKETIOMANAGERLOBBYIDADDR_H__
#define __SOCKETIOMANAGERLOBBYIDADDR_H__
#pragma once
#if USE_LOBBYIDADDR
#define HAS_SOCKETIOMANAGER_LOBBYIDADDR
#endif // USE_LOBBYIDADDR
#if defined(HAS_SOCKETIOMANAGER_LOBBYIDADDR)
#include "Socke... | {
"pile_set_name": "Github"
} |
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value... | {
"pile_set_name": "Github"
} |
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>
<root level="error">
<appender-ref ref="STDOUT" />
</root>
</configurati... | {
"pile_set_name": "Github"
} |
#!/bin/bash
#
# This configuration file provides information on the
# guest instances used for this test
# All guest instances that are required for this test
#
VIRTHOSTS="alice moon carol winnetou dave"
# Corresponding block diagram
#
DIAGRAM="a-m-c-w-d.png"
# Guest instances on which tcpdump is to be started
#
TCP... | {
"pile_set_name": "Github"
} |
module github.com/spf13/pflag
go 1.12
| {
"pile_set_name": "Github"
} |
/** Error message constants. */
var FUNC_ERROR_TEXT = 'Expected a function';
/**
* The base implementation of `_.delay` and `_.defer` which accepts `args`
* to provide to `func`.
*
* @private
* @param {Function} func The function to delay.
* @param {number} wait The number of milliseconds to delay invocation.
*... | {
"pile_set_name": "Github"
} |
#import "AppDelegate.h"
#import "ViewController.h"
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.window.rootViewController = [ViewC... | {
"pile_set_name": "Github"
} |
#ifndef TH_GENERIC_FILE
#define TH_GENERIC_FILE "generic/LookupTable.c"
#else
static void THNN_(LookupTable_resetCount)(
THInteger_t *count_data,
THIndexTensor *input)
{
ptrdiff_t i;
THIndex_t *input_data = THIndexTensor_(data)(input);
ptrdiff_t numel = THIndexTensor_(nElement)(input);
for... | {
"pile_set_name": "Github"
} |
# Node/Express
This example shows how to embed Kepler.gl in a node/express/webpack application.
#### 1. Install
```sh
npm install
```
or
```sh
yarn
```
#### 2. Mapbox Token
add mapbox access token to node env
```sh
export MapboxAccessToken=<your_mapbox_token>
```
#### 3. Start the app
```sh
npm start
```
| {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../libc/fn.aio_return.html">
</head>
<body>
<p>Redirecting to <a href="../../../../libc/fn.aio_return.html">../../../../libc/fn.aio_return.html</a>...</p>
<script>location.replace("../../../../libc/fn.aio_return.html"... | {
"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 2017 The TensorFlow 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 applicable law or a... | {
"pile_set_name": "Github"
} |
// This file is part of Silk.NET.
//
// You may modify and distribute Silk.NET under the terms
// of the MIT license. See the LICENSE file for details.
namespace Silk.NET.OpenAL
{
/// <summary>
/// Defines available parameters for <see cref="IContextState.GetContextProperty(Device*,GetContextString)" />.
... | {
"pile_set_name": "Github"
} |
About Klipper
-------------
Klipper is a 3D printer firmware system which utilizes an external processor such as a Raspberry Pi or other computer to compute kinematic equations and send the processed information to the MCU on the printer, usually a ATMega 2560. Klipper's main fork is available at <https://github.com/K... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2010 Red Hat, Inc. and/or its affiliates.
*
* 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 ap... | {
"pile_set_name": "Github"
} |
platform_is :windows do
require_relative '../../fixtures/classes'
describe :win32ole_setproperty, shared: true do
before :each do
@dict = WIN32OLESpecs.new_ole('Scripting.Dictionary')
end
it "raises ArgumentError if no argument is given" do
lambda { @dict.send(@method) }.should raise_error... | {
"pile_set_name": "Github"
} |
(ns stedi.basics.cdk
(:require [clojure.edn :as edn]
[clojure.java.io :as io]
[stedi.cdk.alpha :as cdk]
[uberdeps.api :as uberdeps]))
;; CDK is a framework released by Amazon that allows developers to
;; deploy CloudFormation-based infrastructure using their prefered
;; language.
... | {
"pile_set_name": "Github"
} |
<?php
/**
* @package Joomla.Site
* @subpackage mod_tags_popular
*
* @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
?>
<?php JLoader::register('TagsHelperRoute', ... | {
"pile_set_name": "Github"
} |
{
'prototype:src/prototype/ajax/request.js':[
179,
230,
289,
],
'prototype:src/prototype/dom/form.js':[
139,
],
'prototype:src/prototype/dom/layout.js':[
52,
298,
1055,
1407,
],
'prototype:src/prototype/lang/object.js':[
143,
],
'prototype:test/unit/static/js/assertions.js':[
26,
79,
],
'prototype:test/unit/static/js/m... | {
"pile_set_name": "Github"
} |
/*
* linux/fs/nls/nls_koi8-ru.c
*
* Charset koi8-ru translation based on charset koi8-u.
* The Unicode to charset table has only exact mappings.
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/nls.h>
#include <linux/errno.h>
static struct nls_table *p_nls;
static... | {
"pile_set_name": "Github"
} |
// Distributes layers (control option cmd ,)
@import '../inventory.js'
var onRun = function (context) {
// old school variable
doc = context.document;
selection = context.selection;
// init
com.getflourish.common.init(context);
// align
com.getflourish.utils.sendDistributeHorizontally()... | {
"pile_set_name": "Github"
} |
package hcsshim
import "github.com/Sirupsen/logrus"
// UnprepareLayer disables the filesystem filter for the read-write layer with
// the given id.
func UnprepareLayer(info DriverInfo, layerId string) error {
title := "hcsshim::UnprepareLayer "
logrus.Debugf(title+"flavour %d layerId %s", info.Flavour, layerId)
/... | {
"pile_set_name": "Github"
} |
// @flow
// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it.
export type Interval = {
start: Date | number,
end: Date | number,
}
export type Locale = {
code?: string,
formatDistance?: (...args: Array<any>) => any,
formatRelative?: (...args: Array<any>) => any,
... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.