text stringlengths 2 99.9k | meta dict |
|---|---|
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#pragma once
namespace Reliab... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2015 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/l... | {
"pile_set_name": "Github"
} |
var dnode = require('../../');
var net = require('net');
var d = dnode();
d.on('remote', function (remote) {
remote.transform('beep', function (s) {
console.log('beep => ' + s);
d.end();
});
});
var c = net.connect(5004);
c.pipe(d).pipe(c);
| {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: c83956915580e42489479d2a109470ab
timeCreated: 1470404606
licenseType: Pro
ShaderImporter:
defaultTextures: []
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
#ifndef NONCOPYABLE_HPP_AD5ABD9E_DA14_463E_84DE_CDA0B230F816
#define NONCOPYABLE_HPP_AD5ABD9E_DA14_463E_84DE_CDA0B230F816
#pragma once
/*
noncopyable.hpp
Класс для бысторого запрета оператора присваивания и конструктора копирования.
Пример использования:
#include "noncopyable.hpp"
class YourClass:noncopyable
{
};
... | {
"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"
} |
<?php
/**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.md.
* It is also ... | {
"pile_set_name": "Github"
} |
package pflag
import (
"fmt"
"net"
"strings"
)
// IPNet adapts net.IPNet for use as a flag.
type ipNetValue net.IPNet
func (ipnet ipNetValue) String() string {
n := net.IPNet(ipnet)
return n.String()
}
func (ipnet *ipNetValue) Set(value string) error {
_, n, err := net.ParseCIDR(strings.TrimSpace(value))
if ... | {
"pile_set_name": "Github"
} |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &100100000
Prefab:
m_ObjectHideFlags: 1
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications: []
m_RemovedComponents: []
m_ParentPrefab: {fileID: 0}
m_RootGameObject: {fileID: 1651272740460420}
m_IsPrefabParent: ... | {
"pile_set_name": "Github"
} |
JASC-PAL
0100
16
205 205 172
255 255 255
230 106 0
189 65 0
139 57 32
246 238 197
230 205 148
197 164 98
148 115 65
255 230 90
246 172 49
82 156 246
65 115 172
197 197 230
24 65 106
0 0 0
| {
"pile_set_name": "Github"
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<!--
Copyright 2010 The Closure Library Authors. All Rights Reserved.
Use of this source code is governed by the Apache License, Version 2.0.
See the COPYING file for details.
-->
<head>
<title>Deps Tree</... | {
"pile_set_name": "Github"
} |
puts Object.const_defined?(:DATA)
__END__
data1
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider
xmlns:android="http://schemas.android.com/apk/res/android"
android:minWidth="250dip"
android:minHeight="40dip"
android:initialLayout="@layout/four_white_widget"
android:resizeMode="horizontal|vertical" />
| {
"pile_set_name": "Github"
} |
using UnityEditor;
using UnityEngine;
#if UNITY_EDITOR
#endif
namespace ProceduralLevelGenerator.Unity.Utils
{
#if UNITY_EDITOR
public class ReorderableList
{
private readonly UnityEditorInternal.ReorderableList list;
private readonly string label;
public ReorderableList(UnityEditorI... | {
"pile_set_name": "Github"
} |
---
# DEPLOY CONTAINERIZED DAEMONS
docker: false
# DEFINE THE NUMBER OF VMS TO RUN
mon_vms: 1
osd_vms: 2
mds_vms: 0
rgw_vms: 0
nfs_vms: 0
rbd_mirror_vms: 0
client_vms: 0
iscsi_gw_vms: 0
mgr_vms: 0
# INSTALL SOURCE OF CEPH
# valid values are 'stable' and 'dev'
ceph_install_source: stable
# SUBNETS TO USE FOR THE VM... | {
"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.
//
@protocol _NSExtensionAuxHostingBase
- (void)___nsx_pingHost:(void (^)(void))arg1;
@end
| {
"pile_set_name": "Github"
} |
//===- ELF.cpp - ELF object file implementation ---------------------------===//
//
// 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"
} |
<?php
/*
* This file is part of PHPExifTool.
*
* (c) 2012 Romain Neutron <imprec@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\XMPPlus;
use JMS\Serializer\Annotation\ExclusionPolicy;... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" ?>
<annotation>
<folder>widerface</folder>
<filename>53--Raid_53_Raid_policeraid_53_805.jpg</filename>
<source>
<database>wider face Database</database>
<annotation>PASCAL VOC2007</annotation>
<image>flickr</image>
<flickrid>-1</flickrid>
</source>
<owner>
<flickrid>yanyu</flickrid>
<name>yanyu</nam... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" cont... | {
"pile_set_name": "Github"
} |
/**
* Module dependencies.
*/
var EventEmitter = require('events').EventEmitter;
var spawn = require('child_process').spawn;
var path = require('path');
var dirname = path.dirname;
var basename = path.basename;
var fs = require('fs');
/**
* Expose the root command.
*/
exports = module.exports = new Command();
/... | {
"pile_set_name": "Github"
} |
/*!
@file
Master header for the `boost/hana/concept/` subdirectory.
@copyright Louis Dionne 2013-2016
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_HANA_CONCEPT_HPP
#define BOOST_HANA_CONCEPT_HPP
#include <b... | {
"pile_set_name": "Github"
} |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Temporary code until we get access to these APIs
#if WORKSPACE_PROJECT_CONTEXT_FACTORY
using System;
using System.Collections.Generic;
using Micros... | {
"pile_set_name": "Github"
} |
/*=============================================================================
Boost.Wave: A Standard compliant C++ preprocessor library
Definition of the lexer iterator
http://www.boost.org/
Copyright (c) 2001-2012 Hartmut Kaiser. Distributed under the Boost
Software License, Version 1.0.... | {
"pile_set_name": "Github"
} |
// Place all the behaviors and hooks related to the matching controller here.
// All this logic will automatically be available in application.js.
| {
"pile_set_name": "Github"
} |
package org.estatio.module.lease.dom.invoicing;
import org.joda.time.LocalDate;
import org.junit.Before;
import org.junit.Test;
import org.estatio.module.asset.dom.Property;
import org.estatio.module.invoice.dom.InvoiceRunType;
import org.estatio.module.lease.dom.Lease;
import org.estatio.module.lease.dom.LeaseItem;
... | {
"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 WFSettingsClient : NSObject
{
}
+ (void)createClientWithCompletionHandler:(CDUnknownBlockType)ar... | {
"pile_set_name": "Github"
} |
import itertools
def iter_generator(iter):
def gen():
while 1:
yield iter.next()
return gen()
def dataset_generator(dataset, session):
iter = dataset.make_one_shot_iterator()
batch = iter.get_next()
def gen():
while 1:
yield session.run(batch)
return gen()
| {
"pile_set_name": "Github"
} |
ProblemFilters.exclude[DirectMissingMethodProblem]("akka.http.scaladsl.server.directives.FileUploadDirectives.uploadedFile")
ProblemFilters.exclude[DirectMissingMethodProblem]("akka.http.scaladsl.server.Directives.uploadedFile")
ProblemFilters.exclude[DirectMissingMethodProblem]("akka.http.scaladsl.server.HttpApp.uploa... | {
"pile_set_name": "Github"
} |
Name=Default Z+L Swap
Description=Default But The "Z" Button Is Now Swapped With The "L" Trigger Now.
[Buttons]
N64.Start = PSP.Start
N64.A = PSP.Cross
N64.B = PSP.Square
N64.Z = PSP.LTrigger
N64.LTrigger = PSP.Triangle
N64.RTrigger = PSP.RTrigger
N64.Up =
N64.Down =
N64.Left =
N64.Right =
N64.CUp = PSP.Up
N64.CDo... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) Codice Foundation
*
* <p>This 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 3 of
* the License, or any later version.
*
* <p>This program is distributed in the ... | {
"pile_set_name": "Github"
} |
script: ""
fonts {
name: "font"
font: "/missing_font.font"
}
textures {
name: "texture"
texture: "/missing_texture.atlas"
}
background_color {
x: 0.0
y: 0.0
z: 0.0
w: 0.0
}
nodes {
position {
x: 0.0
y: 0.0
z: 0.0
w: 1.0
}
rotation {
x: 0.0
y: 0.0
z: 0.0
w: 1.0
}
... | {
"pile_set_name": "Github"
} |
{
"callcallcodecall_010_OOGMBefore_d0g0v0_Istanbul" : {
"_info" : {
"comment" : "",
"filling-rpc-server" : "Geth-1.9.6-unstable-63b18027-20190920",
"filling-tool-version" : "retesteth-0.0.1+commit.0ae18aef.Linux.g++",
"lllcversion" : "Version: 0.5.12-develop.2... | {
"pile_set_name": "Github"
} |
tensorflow==1.0
scipy
scikit-learn
opencv-python
h5py
matplotlib
Pillow
requests
psutil | {
"pile_set_name": "Github"
} |
#include <glib.h>
#include "plot2d.h"
#include "presto.h"
#include "zapbirds_cmd.h"
#define NUMBETWEEN 4
#define FFTLEN 262144
#define BINSTOGET FFTLEN/NUMBETWEEN
#define MAXPTSTOSHOW 64000
#define MAXBINSTOSHOW MAXPTSTOSHOW/NUMBETWEEN
#ifdef USEDMALLOC
#include "dmalloc.h"
#endif
typedef struct ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="journaldev.com.fragments" >
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppT... | {
"pile_set_name": "Github"
} |
import React, {Component} from 'react';
import {connect} from 'react-redux';
import PropTypes from 'prop-types';
import Spinner from '../spinner/spinner';
import HeaderTo from './header-to';
import AttachmentCard from '../attachment/attachment-card';
import {selectFolder} from '../../actions/application';
import {getSe... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2016-2020, Yann Collet, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under both the BSD-style license (found in the
* LICENSE file in the root directory of this source tree) and the GPLv2 (found
* in the COPYING file in the root directory of this source tree).
* You m... | {
"pile_set_name": "Github"
} |
.. KOMORANDocs documentation master file, created by
sphinx-quickstart on Thu Mar 14 00:21:42 2019.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
분석 예제
=======================================
이 문서에서는 KOMORAN 모델 학습 예제를 살펴보겠습니다.
.. Note::
문서... | {
"pile_set_name": "Github"
} |
{
"name": "watchpack",
"version": "1.3.1",
"description": "",
"main": "./lib/watchpack.js",
"directories": {
"test": "test"
},
"files": [
"lib/"
],
"scripts": {
"pretest": "npm run lint",
"test": "mocha",
"travis": "npm run cover -- --report lcovonly",
"lint": "eslint lib",
... | {
"pile_set_name": "Github"
} |
/*
* UWB Multi-interface Controller driver management.
*
* Copyright (C) 2007 Cambridge Silicon Radio Ltd.
*
* This file is released under the GNU GPL v2.
*/
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/uwb/umc.h>
int __umc_driver_register(struct umc_driver *umc_drv, struct module *module,... | {
"pile_set_name": "Github"
} |
//
// PXSourceList.h
// PXSourceList
//
// Created by Alex Rozanski on 05/09/2009.
// Copyright 2009-14 Alex Rozanski http://alexrozanski.com and other contributors.
// This software is licensed under the New BSD License. Full details can be found in the README.
//
#import <Cocoa/Cocoa.h>
#import "PXSourceListDe... | {
"pile_set_name": "Github"
} |
/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/*
* 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 ... | {
"pile_set_name": "Github"
} |
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
const char* ssid = "-----";
const char* password = "-----";
ESP8266WebServer server(80);
const int led = 2;
void handle_root() {
digitalWrite(led, 1);
server.send(200, "text/plain", "hello from esp8266!");
delay(100);
digital... | {
"pile_set_name": "Github"
} |
(:name hi2
:description "Indentation module for Haskell mode"
:type github
:pkgname "errge/hi2"
:prepare (autoload 'turn-on-hi2 "hi2" nil t)
:depends (haskell-mode))
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_sales_order_filter_ecommerce" model="ir.ui.view">
<field name="name">sale.order.ecommerce.search.view</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_sales_order_filter"/>
<field nam... | {
"pile_set_name": "Github"
} |
function reload(toProject, fromProject)
{
link = createLink('project','importtask','toProject='+toProject + '&fromProject='+fromProject);
location.href = link;
}
| {
"pile_set_name": "Github"
} |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.example">
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
calls FlutterMain.startInitialization(this); in its onCreate method.
In most cases you can leave this as-is, but you if ... | {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0
/dts-v1/;
#include "mt7621_netgear_sercomm_bzv.dtsi"
/ {
compatible = "netgear,r6700-v2", "mediatek,mt7621-soc";
model = "Netgear R6700 v2";
aliases {
led-boot = &led_power_white;
led-failsafe = &led_power_orange;
led-running = &led_power_white;
led-upgrade = &led_power... | {
"pile_set_name": "Github"
} |
+++
title = "Javascript Helpers"
+++
| {
"pile_set_name": "Github"
} |
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Pagination can mount without pagination data 1`] = `
<div id="app">
<!---->
</div>
`;
exports[`Pagination can render large pagination 1`] = `
<div id="app">
<nav>
<ul class="pagination justify-content-center">
<li class>
<a class>
... | {
"pile_set_name": "Github"
} |
using System;
using System.Numerics;
using Waher.Script.Abstraction.Elements;
using Waher.Script.Exceptions;
using Waher.Script.Model;
using Waher.Script.Objects;
namespace Waher.Script.Functions.Scalar
{
/// <summary>
/// String(x)
/// </summary>
public class String : FunctionOneScalarVariable
{
/// <summary>... | {
"pile_set_name": "Github"
} |
#!/bin/bash
# Add organization names manually.
cat <<EOF
# This file is automatically generated from the git commit history
# by tools/gen_authors.sh.
$(git log --pretty=format:"%aN <%aE>" | sort | uniq)
Google Inc.
The Mozilla Foundation
The Xiph.Org Foundation
EOF
| {
"pile_set_name": "Github"
} |
<template>
<div>
foo: {{ foo }}
</div>
</template>
<script>
export default {
data () {
return {
foo: process.env.foo
}
}
}
</script>
| {
"pile_set_name": "Github"
} |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<Window>
<ListContainerElement>
<HorizontalLayout>
<VerticalLayout name="logo_container" width="40" padding="7,10,0,0">
<Control name="logo" width="40" height="40" />
</VerticalLayout>
<VerticalLayout padding="6,0,0,0">
<HorizontalLayout pa... | {
"pile_set_name": "Github"
} |
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/ITMLKit.framework/ITMLKit
*/
@interface IKCSSAtParseRule : IKCSSParseRule {
NSString * _name;
}
@property (nonatomic, retain) NSString *name;
- (void).cxx_destruct;
- (id)description;
- (id)init;
- (id)name;
- (void)setName:(id)arg1;
@e... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2012 Renesas Solutions Corp.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITH... | {
"pile_set_name": "Github"
} |
import * as loginStore from "@Store/loginStore";
import * as personStore from "@Store/personStore";
import { connect } from "react-redux";
// The top-level state object.
export interface IApplicationState {
login: loginStore.ILoginStoreState;
person: personStore.IPersonStoreState;
}
// Whenever an action is d... | {
"pile_set_name": "Github"
} |
-- @shouldFailWith CannotGeneralizeRecursiveFunction
module Main where
import Prelude
test n m | n <= 1 = m
| otherwise = test (n - 1) (m <> m)
| {
"pile_set_name": "Github"
} |
import * as vscode from 'vscode';
import { TextDocumentContentProvider } from './TextDocumentContentProvider';
export function registerPreview(context, window, client) {
const aureliaViewDataPanelType = 'aureliaViewData';
const previewUri = vscode.Uri.parse('aurelia-preview://authority/aurelia-preview');
... | {
"pile_set_name": "Github"
} |
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>
<LangVersion>LATEST</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="11.*" />
<PackageReference Include="McMaster.Ext... | {
"pile_set_name": "Github"
} |
diff --git a/test_src.txt b/test_src.txt
new file mode 100644
index 0000000..10ae772
--- /dev/null
+++ b/test_src.txt
@@ -0,0 +1,10 @@
+test 1
+test 2
+test 3
+test 4
+test 5
+test 6
+test 7
+test 8
+test 9
+test 10
| {
"pile_set_name": "Github"
} |
// Copyright 2007-2010 Baptiste Lepilleur
// Distributed under MIT license, or public domain if desired and
// recognized in your jurisdiction.
// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
#ifndef CPPTL_JSON_FEATURES_H_INCLUDED
#define CPPTL_JSON_FEATURES_H_INCLUDED
#if !defined(JS... | {
"pile_set_name": "Github"
} |
#!/bin/sh
VERSION=$1
if [ -z "$VERSION" ]; then
echo "version must be set."
exit 1
fi
echo $VERSION > ./VERSION
cat > version.go <<EOF
package lightstep
// TracerVersionValue provides the current version of the lightstep-tracer-go release
const TracerVersionValue = "$VERSION"
EOF
| {
"pile_set_name": "Github"
} |
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
... | {
"pile_set_name": "Github"
} |
<!-- kv3 encoding:text:version{e21c7f3c-8a33-41c5-9977-a76d3a32aa0d} format:generic:version{7412167c-06e9-4698-aff2-e63eb59037e7} -->
{
_class = "CParticleSystemDefinition"
m_bShouldHitboxesFallbackToRenderBounds = false
m_nMaxParticles = 256
m_Renderers =
[
{
_class = "C_OP_RenderSprites"
m_nSequenceComb... | {
"pile_set_name": "Github"
} |
{
"images" : [
{
"idiom" : "universal",
"filename" : "subscribe.pdf"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
},
"properties" : {
"template-rendering-intent" : "template"
}
} | {
"pile_set_name": "Github"
} |
package client
//Reply The response message containing the greetings
type Reply struct {
AppID string `protobuf:"bytes,1,opt,name=appId" json:"appId,omitempty"`
ServiceName string `protobuf:"bytes,2,opt,name=serviceName" json:"serviceName,omitempty"`
Version string `protobuf:"bytes,3,opt,name=version" jso... | {
"pile_set_name": "Github"
} |
// Copyright 2009 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of ... | {
"pile_set_name": "Github"
} |
'use strict';
var path = require('path');
module.exports = function (str) {
return path.resolve(str) === path.resolve(process.cwd());
};
| {
"pile_set_name": "Github"
} |
// This source file is part of the Swift.org open source project
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the li... | {
"pile_set_name": "Github"
} |
package cty
import (
"fmt"
)
// PathError is a specialization of error that represents where in a
// potentially-deep data structure an error occured, using a Path.
type PathError struct {
error
Path Path
}
func errorf(path Path, f string, args ...interface{}) error {
// We need to copy the Path because often ou... | {
"pile_set_name": "Github"
} |
//
// SHKConfiguration.m
// ShareKit
//
// Created by Edward Dale on 10/16/10.
//
// 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 t... | {
"pile_set_name": "Github"
} |
<div>
<table border="0" cellspacing="" cellpadding="1">
<colgroup><col style="min-width: 250px;"></col></colgroup>
<?php
if (($users=$thread->getCollaborators())) {?>
<?php
foreach($users as $user) {
echo sprintf('<tr><td %s>%s%s <em class="faded"><%s></em></td></tr>',
($user->isActive... | {
"pile_set_name": "Github"
} |
:020000023000CC
:10FC000001C0F3C0112484B790E890936100109272
:10FC10006100882369F0982F9A70923049F081FF33
:10FC200002C097EF94BF282E80E002D10C94000010
:10FC300085E08093810082E08093C80088E1809312
:10FC4000C90081E88093CC0086E08093CA008EE0F2
:10FC5000EFD0259A84E02CE33BEF91E030938500D0
:10FC60002093840096BBB09BFECF1D9A... | {
"pile_set_name": "Github"
} |
nylas-theme-wrap {
padding-right: 20px;
padding-bottom: 20px;
}
| {
"pile_set_name": "Github"
} |
This is a tutorial how to build a simple project for A20-OLinuXino-Micro Rev.F with MOD-LED8x8RGB Rev.B.
In addition to the boards you also need SD card with Debian image (tested with "A20_OLinuxino_Micro_debian_Jessie_34_103_2G_release_12.img"), LAN and USB serial cable (like USB-SERIAL-CABLE-F).
1) Supply the board... | {
"pile_set_name": "Github"
} |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Replaces the gems in the source index from specifications in the directories this source index was created from. Raises an exception if this source index wasn't created from a directory (via from_gems... | {
"pile_set_name": "Github"
} |
//=======- PaddingChecker.cpp ------------------------------------*- 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"
} |
it('should match the image snapshot', async () => {
await d3fc.loadExample(module);
const image = await page.screenshot({
omitBackground: true
});
expect(image).toMatchImageSnapshot();
await d3fc.saveScreenshot(module, image);
});
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>... | {
"pile_set_name": "Github"
} |
.icon-notebook:before { content: '\e80a'; } /* '' */
.icon-popup:before { content: '\e806'; } /* '' */
.icon-plus-circled:before { content: '\e801'; } /* '' */
.icon-doc:before { content: '\e808'; } /* '' */
.icon-folder-open-empty:before { content: '\e802'; } /* '' */
.icon-cancel-circled:before { content: '\e80... | {
"pile_set_name": "Github"
} |
# bug #2039
type
RegionTy = object
ThingyPtr = RegionTy ptr Thingy
Thingy = object
next: ThingyPtr
name: string
proc iname(t: ThingyPtr) =
var x = t
while not x.isNil:
echo x.name
x = x.next
proc go() =
var athing : ThingyPtr
iname(athing)
go()
| {
"pile_set_name": "Github"
} |
{
"name": "bad-scripts-package",
"version": "0.0.1",
"scripts": "foo"
}
| {
"pile_set_name": "Github"
} |
import * as React from "react";
interface ITextLineComponentProps {
label?: string;
value?: string;
color?: string;
underline?: boolean;
onLink?: () => void;
url?: string;
ignoreValue?: boolean;
additionalClass?: string;
}
export class TextLineComponent extends React.Compo... | {
"pile_set_name": "Github"
} |
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: kubeapps-service-catalog-write
rules:
- apiGroups:
- servicecatalog.k8s.io
resources:
- serviceinstances
- servicebindings
verbs:
- create
- delete
| {
"pile_set_name": "Github"
} |
### $Id: DNase.R,v 1.1 2003/12/11 07:16:04 ripley Exp $
### Data on calibration runs for an assay of the enzyme DNase.
### cited in Davidian and Giltinan (1995) section 5.2.4, p.134
"DNase" <-
structure(list(
Run = structure(ordered(c(4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 10, 10, 10, 10, 10, 10, 10, ... | {
"pile_set_name": "Github"
} |
# frozen_string_literal: true
module ToggleSubscriptionAction
extend ActiveSupport::Concern
def toggle_subscription
return unless current_user
subscribable_resource.toggle_subscription(current_user, subscribable_project)
head :ok
end
private
def subscribable_project
@project ||= raise(No... | {
"pile_set_name": "Github"
} |
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "./dist"
},
"include": ["./src"],
"references": [
{ "path": "../../node-packages/commons" }
]
}
| {
"pile_set_name": "Github"
} |
0000000000000000000000000000000000000000 10ecf2b7ce989f01f3f7266e712b48d9275f2635 Jeff Tucker <trydionel@gmail.com> 1279979728 -0400 commit (initial): A blank repo for testing
| {
"pile_set_name": "Github"
} |
/*
*
* Copyright 2015 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <condition_variable>
#include <list>
#include <memory>
#include <mutex>
#include <ABI39_0_0cxxreact/ABI39_0... | {
"pile_set_name": "Github"
} |
17
charge = 0
N 1.306533 -0.294536 0.418132
C 2.684689 -0.191826 0.056112
C 3.260481 -0.736897 -1.229810
N 2.426211 -1.487276 -2.114897
C 3.103862 0.752458 -1.034845
C 4.238876 1.678942 -0.849214
C 5.513616 1.416878 -1.108500
H 1.043168 -1.237579 0.675357
H 0.683116 0.039085 -0.302663
H 3.349846 -0.233557 0.9... | {
"pile_set_name": "Github"
} |
export * from './application'
export * from './breakpoint'
export * from './goto'
export * from './icons'
export * from './lang'
export * from './presets'
export * from './theme'
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!--
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, ... | {
"pile_set_name": "Github"
} |
**Nadia Eghbal:** Todd, you work for the government... Tell us what your actual job is.
**Todd Gamblin:** Okay, so I work for a specific part of government... I work for Lawrence Livermore National Laboratory - it's part of the department of energy. I'm a computer scientist, that's my job title (we don't really have o... | {
"pile_set_name": "Github"
} |
# Events API Reference for Objective C & Swift
The Events instrument lets you add lightweight instrumentation to your code for collection and visualization by Detox Instruments. You can specify interesting periods of time ('intervals') and single points in time ('events'). Each event can be marked as completed or erro... | {
"pile_set_name": "Github"
} |
'use strict';
var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProp... | {
"pile_set_name": "Github"
} |
import bcolz
import numpy
from .bench_helper import ctime
N = 1000 * 1000
ct = bcolz.fromiter(((i, i * i, i * i * i)
for i in xrange(N)), dtype='i8,i8,i8', count=N)
b = numpy.array(numpy.arange(N) % 2, dtype="bool")
c = bcolz.carray(b)
sorted_index = range(1, N, 2)
class Suite:
def time_... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.