text stringlengths 2 99.9k | meta dict |
|---|---|
package endpoints
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
type endpointStruct struct {
Version int
Endpoints map[string]endpointEntry
}
type endpointEntry struct {
Endpoint string
SigningRegion string
}
var endpointsMap = endpointStruct{
Version: 2,
Endpoints: map[string]endpointEntry{
... | {
"pile_set_name": "Github"
} |
say <<"EOM";
te<selection>st$variable</selection> blabla
EOM
say <<EOM;
other test$variable blabla
EOM
say <<'EOM';
other test$variable blabla
EOM
say <<`EOM`;
test$variable blabla
EOM
| {
"pile_set_name": "Github"
} |
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
*/
import { CompressedPatch, Document } from "../generic/types";
import { apply_patch, make_patch } from "../generic/util";
// Immutable string document that satisfies our spec.
... | {
"pile_set_name": "Github"
} |
/* Driver for Realtek PCI-Express card reader
*
* Copyright(c) 2009 Realtek Semiconductor Corp. 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, or ... | {
"pile_set_name": "Github"
} |
utilities for network time protocol support
| {
"pile_set_name": "Github"
} |
import numpy as np
import pandas as pd
import processlogs2 as pl2
import indicators as ind
import data
import csv
import cPickle
import time
#################
#
# MINMAX NORMALIZE
#
#################
def minmax( dataset, crt=False, std=False):
""" Remap each column to -1, 1 based on min/max. We can choose to
... | {
"pile_set_name": "Github"
} |
require "ffi_yajl" unless defined?(FFI_Yajl)
require_relative "../rest_base"
module ChefZero
module Endpoints
# /system_recovery
class SystemRecoveryEndpoint < RestBase
def post(request)
request_json = FFI_Yajl::Parser.parse(request.body)
name = request_json["username"]
password... | {
"pile_set_name": "Github"
} |
// Code generated by smithy-go-codegen DO NOT EDIT.
package waf
import (
"context"
awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware"
"github.com/aws/aws-sdk-go-v2/aws/retry"
"github.com/aws/aws-sdk-go-v2/aws/signer/v4"
"github.com/aws/aws-sdk-go-v2/service/waf/types"
smithy "github.com/awslabs/smithy-... | {
"pile_set_name": "Github"
} |
package consulwatch
import (
"fmt"
"log"
"os"
consulapi "github.com/hashicorp/consul/api"
"github.com/hashicorp/consul/api/watch"
)
type ServiceWatcher struct {
ServiceName string
consul *consulapi.Client
logger *log.Logger
plan *watch.Plan
}
func New(client *consulapi.Client, logger *log.... | {
"pile_set_name": "Github"
} |
// 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.
// +build amd64,dragonfly
package unix
import (
"syscall"
"unsafe"
)
func setTimespec(sec, nsec int64) Timespec {
return Timespec{Sec: sec, Nsec: nsec}
}
... | {
"pile_set_name": "Github"
} |
# Boost.Ratio library documentation Jamfile ---------------------------------
#
# Copyright Vicente J. Botet Escriba 2010. Use, modification and
# distribution is 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)
#
# Se... | {
"pile_set_name": "Github"
} |
swagger: "2.0"
host: uebermaps.com
basePath: /api/v2
info:
contact:
name: uebermaps API Team
description: Enable people to store spots on public and private maps
termsOfService: https://uebermaps.com/terms/
title: uebermaps API endpoints
version: "2.0"
x-apisguru-categories:
- location
x-logo:
... | {
"pile_set_name": "Github"
} |
// Copyright Aleksey Gurtovoy 2000-2004
//
// 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)
//
// Preprocessed version of "boost/mpl/vector.hpp" header
// -- DO NOT modify by hand!
namespace boost ... | {
"pile_set_name": "Github"
} |
/* FriBidi
* gen-joining-type-tab.c - generate joining-type.tab.i
*
* Author:
* Behdad Esfahbod, 2004
*
* Copyright (C) 2004 Sharif FarsiWeb, Inc
* Copyright (C) 2004 Behdad Esfahbod
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Publ... | {
"pile_set_name": "Github"
} |
/****************************************************************************
* Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy ... | {
"pile_set_name": "Github"
} |
#!/bin/bash
# Script Name: AtoMiC qBittorrent settings configurator
echo
echo -e "$YELLOW--->Configuring qBittorrent Settings...$ENDCOLOR"
#Set username
sudo sed -i "s@UNAME@$UNAME@g" $APPSETTINGS || \
{ echo -e "${RED}Modifying UNAME in $APPSETTINGS file failed.$ENDCOLOR"; exit 1; }
LOCALE=${LANG:0:5}
echo 'Locale f... | {
"pile_set_name": "Github"
} |
# Set defaults that can be overridden by files that include this file:
if(NOT DEFINED _FIND_PACKAGE_FILE)
set(_FIND_PACKAGE_FILE "${CMAKE_CURRENT_LIST_FILE}")
endif(NOT DEFINED _FIND_PACKAGE_FILE)
# Set parameters for calling FindPostgreSQL.cmake
set(_NEEDED_PG_CONFIG_PACKAGE_NAME "Greenplum Database")
set(_PG_CON... | {
"pile_set_name": "Github"
} |
{
"action": {
"physical": {
"variety": [
"Theft",
"Bypassed controls"
],
"vector": [
"Unknown"
]
}
},
"actor": {
"external": {
"country": [
"Unknown"
],
"motive": [
"Financial"
],
"region": [
"000000"... | {
"pile_set_name": "Github"
} |
//-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// 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 restrictio... | {
"pile_set_name": "Github"
} |
/*
* card driver for models with CS4398/CS4362A DACs (Xonar D1/DX)
*
* Copyright (c) Clemens Ladisch <clemens@ladisch.de>
*
*
* This driver is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2.
*
* This driver is distributed in the hope th... | {
"pile_set_name": "Github"
} |
//===-- X86TargetInfo.cpp - X86 Target Implementation ---------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | {
"pile_set_name": "Github"
} |
<?php
/*
* This file is part of Sulu.
*
* (c) Sulu GmbH
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Sulu\Bundle\DocumentManagerBundle\Tests\Unit\DataFixtures;
use PHPUnit\Framework\TestCase;
use Sulu\Bundle\DocumentManagerBundle\... | {
"pile_set_name": "Github"
} |
/*
* Copyright(c) 2019 Intel Corporation
*
* This source code is subject to the terms of the BSD 2 Clause License and
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
* was not distributed with this source code in the LICENSE file, you can
* obtain it at https://www.aomedia.org/license/soft... | {
"pile_set_name": "Github"
} |
/// Source : https://leetcode.com/problems/split-array-with-same-average/description/
/// Author : liuyubobobo
/// Time : 2018-03-24
#include <iostream>
#include <vector>
#include <numeric>
#include <unordered_set>
using namespace std;
/// Dynamic Programming
///
/// Suppose the same average is ave, then ave = sum... | {
"pile_set_name": "Github"
} |
<< conf/
| {
"pile_set_name": "Github"
} |
define(["Tone/core/Tone", "Tone/component/MidSideSplit", "Tone/component/MidSideMerge",
"Tone/component/Compressor"], function(Tone){
"use strict";
/**
* @class Tone.MidSideCompressor applies two different compressors to the mid
* and side signal components. See Tone.MidSideSplit.
*
* @extends ... | {
"pile_set_name": "Github"
} |
package com.carpentersblocks.data;
import com.carpentersblocks.tileentity.TEBase;
public class FlowerPot {
/**
* 16-bit data components:
*
* [0000] [0000] [00000000]
* Unused Angle Unused
*/
public final static byte COLOR_NATURAL = 0;
public final static byte COLOR_ENRICHED = ... | {
"pile_set_name": "Github"
} |
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex ch... | {
"pile_set_name": "Github"
} |
// T4ShieldEvil genrated by blender2ogre 0.6.0
import RTSS/NormalMapping_MultiPass from "RTShaderSystem.material"
material T4ShieldEvil : RTSS/NormalMapping_MultiPass
{
receive_shadows on
technique
{
pass lighting
{
// Override the normal map.
rtshader_system
... | {
"pile_set_name": "Github"
} |
{
"_args": [
[
{
"raw": "extend-shallow@^2.0.1",
"scope": null,
"escapedName": "extend-shallow",
"name": "extend-shallow",
"rawSpec": "^2.0.1",
"spec": ">=2.0.1 <3.0.0",
"type": "range"
},
"/Users/chengwei/PHP/Sites/kafka-site/node_modules/... | {
"pile_set_name": "Github"
} |
/*
* IPv6 tunneling device
* Linux INET6 implementation
*
* Authors:
* Ville Nuorvala <vnuorval@tcs.hut.fi>
* Yasuyuki Kozakai <kozakai@linux-ipv6.org>
*
* Based on:
* linux/net/ipv6/sit.c and linux/net/ipv4/ipip.c
*
* RFC 2473
*
* This program is free software; you can redistribute it and/... | {
"pile_set_name": "Github"
} |
## 2017-06-24
#### python
* [plotly / dash](https://github.com/plotly/dash):Interactive, reactive web apps in pure python ⭐️
* [tensorflow / tensor2tensor](https://github.com/tensorflow/tensor2tensor):A library for generalized sequence to sequence models
* [tensorflow / models](https://github.com/tensorflow/models):Mo... | {
"pile_set_name": "Github"
} |
-c
| {
"pile_set_name": "Github"
} |
$!------------------------------------------------------------------------------
$! make "PNG: The Definitive Guide" demo programs (for X) under OpenVMS
$!
$! Script created by Martin Zinser for libpng; modified by Greg Roelofs
$! for standalone pngbook source distribution.
$!
$!
$! Set locations where zlib and libp... | {
"pile_set_name": "Github"
} |
kind: ReplicationController
apiVersion: v1
metadata:
name: etcd
labels:
etcd: "true"
spec:
replicas: 1
selector:
etcd: "true"
template:
metadata:
labels:
etcd: "true"
spec:
containers:
- name: etcd
image: quay.io/coreos/etcd:v3.0.15
command:
- ... | {
"pile_set_name": "Github"
} |
Clan Jade Falcon Front-Line Medium Aerospace (FMU)
Visigoth B,1
Tyre 2,2
Visigoth C,3
Visigoth Prime,4
Jagatai Prime,5
Visigoth Prime,6
Visigoth A,5
Jagatai B,4
Tyre (Standard),3
Jagatai A,2
Jagatai C,1
| {
"pile_set_name": "Github"
} |
/*
* Copyright 2010-2012 Amazon Technologies, 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://aws.amazon.com/apache2.0
*
* This file is distributed on an "AS IS" ... | {
"pile_set_name": "Github"
} |
using PuppeteerSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Element.Test.FormTests
{
[TestName("Form 表单", "基础用法")]
public class Test1 : IDemoTester
{
private ElementHandle submitButton;
pri... | {
"pile_set_name": "Github"
} |
// compile
// Copyright 2012 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.
// gccgo crashed compiling this.
package main
type S struct {
f [2][]int
}
func F() (r [2][]int) {
return
}
func main() {
var a []S
a[0].f =... | {
"pile_set_name": "Github"
} |
{
"name": "inherits",
"description": "Browser-friendly inheritance fully compatible with standard node.js inherits()",
"version": "2.0.1",
"keywords": [
"inheritance",
"class",
"klass",
"oop",
"object-oriented",
"inherits",
"browser",
"browserify"
],
"main": "./inherits.js",
... | {
"pile_set_name": "Github"
} |
; This file is meant to be used with Onion http://c9s.github.com/Onion/
; For instructions on how to build a PEAR package of Predis please follow
; the instructions at this URL:
;
; https://github.com/c9s/Onion#a-quick-tutorial-for-building-pear-package
;
[package]
name = "Predis"
desc = "Flexible and fe... | {
"pile_set_name": "Github"
} |
# Makefile generated by XPJ for LINUX32
-include Makefile.custom
ProjectName = PhysXExtensions
PhysXExtensions_cppfiles += ./../../PhysXExtensions/src/ExtBroadPhase.cpp
PhysXExtensions_cppfiles += ./../../PhysXExtensions/src/ExtClothFabricCooker.cpp
PhysXExtensions_cppfiles += ./../../PhysXExtensions/src/ExtCloth... | {
"pile_set_name": "Github"
} |
/**
* @file FP.cpp
* @brief Core Utility - Templated Function Pointer Class
* @author sam grove
* @version 1.0
* @see
*
* Copyright (c) 2013
*
* 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 cop... | {
"pile_set_name": "Github"
} |
# Release Process
1. Create a PR "Preparing for release X.Y.Z" against master branch
* Alter CHANGELOG.md from `<placeholder_version> (unreleased)` to `<X.Y.Z> (YYYY-MM-DD)`
* Update `JaegerClientVersion` in constants.go to `Go-X.Y.Z`
2. Create a release "Release X.Y.Z" on Github
* Create Tag `vX.Y.Z`
... | {
"pile_set_name": "Github"
} |
<?php
namespace Drupal\Tests\editor\Unit\EditorXssFilter;
use Drupal\editor\EditorXssFilter\Standard;
use Drupal\Tests\UnitTestCase;
use Drupal\filter\Plugin\FilterInterface;
/**
* @coversDefaultClass \Drupal\editor\EditorXssFilter\Standard
* @group editor
*/
class StandardTest extends UnitTestCase {
/**
* ... | {
"pile_set_name": "Github"
} |
/**
* Header comment
*/
const one = require('one');
/**
* Function description.
*/
function foo() {
one();
}
| {
"pile_set_name": "Github"
} |
# Add issue_backlog table
CREATE TABLE `issue_backlog`(
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
`user_id` INT UNSIGNED NOT NULL,
`issues` BLOB NOT NULL,
PRIMARY KEY (`id`),
CONSTRAINT `issue_backlog_user_id` FOREIGN KEY (`user_id`) REFERENCES `user`(`id`) ON UPDATE CASCADE ON DELETE CASCADE
) ENGINE=INNODB CHAR... | {
"pile_set_name": "Github"
} |
/* ###
* IP: GHIDRA
*
* 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 writin... | {
"pile_set_name": "Github"
} |
require 'spaceship'
require_relative 'module'
module Produce
class CloudContainer
def create(options, _args)
login
container_identifier = options.container_identifier || UI.input("iCloud Container identifier: ")
if container_exists?(container_identifier)
UI.success("[DevCenter] iCloud... | {
"pile_set_name": "Github"
} |
//
// LLCollectionEmotionTip.h
// LLWeChat
//
// Created by GYJZH on 7/30/16.
// Copyright © 2016 GYJZH. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "LLCollectionEmotionCell.h"
@interface LLCollectionEmojiTip : UIView
@property (nonatomic) LLCollectionEmojiCell *cell;
+ (instancetype)sharedTip;
- (... | {
"pile_set_name": "Github"
} |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'register-v2',
templateUrl: './register-v2.component.html',
styleUrls: ['./register-v2.component.scss']
})
export class RegisterV2Component implements OnInit {
constructor() {}
ngOnInit() {
}
}
| {
"pile_set_name": "Github"
} |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import "NSObject.h"
#import "OCDDelayedMediaContext-Protocol.h"
@class NSURL, OCPPackage;
@interface OCXDelayedMediaContext : NSObject <OCDDelayedMediaContext>
{
OCPPacka... | {
"pile_set_name": "Github"
} |
namespace Api.Customers
{
public class MovieDto
{
public long Id { get; set; }
public string Name { get; set; }
}
} | {
"pile_set_name": "Github"
} |
PEP: 443
Title: Single-dispatch generic functions
Version: $Revision$
Last-Modified: $Date$
Author: Łukasz Langa <lukasz@python.org>
Discussions-To: Python-Dev <python-dev@python.org>
Status: Final
Type: Standards Track
Content-Type: text/x-rst
Created: 22-May-2013
Post-History: 22-May-2013, 25-May-2013, 31-May-2013
Re... | {
"pile_set_name": "Github"
} |
# go-isatty
[](http://godoc.org/github.com/mattn/go-isatty)
[](https://travis-ci.org/mattn/go-isatty)
[;
| {
"pile_set_name": "Github"
} |
// Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
using System;
using System.Runtime.InteropServices;
using UnityEngine.Rendering;
namespace UnityEngine.Rendering
{
// Must match GfxRasterState on C++ side
... | {
"pile_set_name": "Github"
} |
#ifndef _ASM_M32R_SYSTEM_H
#define _ASM_M32R_SYSTEM_H
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2001 Hiroyuki Kondo, Hirokazu Takata, and Hitoshi Yamamoto
* Copyri... | {
"pile_set_name": "Github"
} |
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.history.integration;
import com.intellij.history.LocalHistory;
import com.intellij.history.core.revisions.Revision;
import com.intellij.history.utils.Runnabl... | {
"pile_set_name": "Github"
} |
## @file
#
# Stateful, implicitly initialized fw_cfg library.
#
# Copyright (C) 2013, Red Hat, Inc.
# Copyright (c) 2008 - 2012, Intel Corporation. All rights reserved.<BR>
# Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
[Defines]
... | {
"pile_set_name": "Github"
} |
ui|cursor {
display: block;
position: absolute;
width: 0;
height: 0;
overflow: visible;
z-index: 4; /* why this much needed? */
margin-top: 16px;
margin-left: 16px;
width: 24px;
height: 24px;
top: -100px;
left: -100px;
}
ui|cursor ui|labelbox.indicator {
position: relative;
top: -10px;
... | {
"pile_set_name": "Github"
} |
/*
Copyright The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softw... | {
"pile_set_name": "Github"
} |
interactions:
- request:
body: !!python/unicode "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<packet>\n\
\t<site>\n\t\t<get>\n\t\t\t<filter>\n\t\t\t\t<name>lexicon-test.com</name>\n\
\t\t\t</filter>\n\t\t\t<dataset></dataset>\n\t\t</get>\n\t</site>\n</packet>"
headers:
Accept: ['*/*']
Ac... | {
"pile_set_name": "Github"
} |
package del_test
import (
"testing"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
func TestDel(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Del Suite")
}
| {
"pile_set_name": "Github"
} |
name: create_comment
runner_type: run-python
description: "Add a new comment"
enabled: true
entry_point: run.py
parameters:
message:
type: string
description: "The comment text"
required: true
handle:
type: string
description: "The handle of the user making the comment"
required: false
rel... | {
"pile_set_name": "Github"
} |
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* RomFS internal definitions
*
* Copyright © 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com)
*/
#include <linux/romfs_fs.h>
struct romfs_inode_info {
struct inode vfs_inode;
unsigned long i_metasize; /* size of non-data ar... | {
"pile_set_name": "Github"
} |
#ifndef BOOST_SMART_PTR_ENABLE_SHARED_FROM_THIS_HPP_INCLUDED
#define BOOST_SMART_PTR_ENABLE_SHARED_FROM_THIS_HPP_INCLUDED
//
// enable_shared_from_this.hpp
//
// Copyright 2002, 2009 Peter Dimov
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE_1_0.txt or co... | {
"pile_set_name": "Github"
} |
description = Sistema de validación.
longdescription = Permitir la validación de los usuarios, gestionar la conexión.
login = Login
connect = Conectarse
password = Contraseña
key = Clave
buttons.login = Login
buttons.logout = D... | {
"pile_set_name": "Github"
} |
class ChannelItem{
int tid;
String name;
String logo;
ChannelItem({this.logo,this.name,this.tid});
ChannelItem.fromJson(Map<String ,dynamic> jsondata){
tid=jsondata["tid"];
name=jsondata["name"];
logo=jsondata["logo"];
}
} | {
"pile_set_name": "Github"
} |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkContourFilter.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software i... | {
"pile_set_name": "Github"
} |
/*!
@file
Defines operators for Searchables.
@copyright Louis Dionne 2013-2017
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_DETAIL_OPERATORS_SEARCHABLE_HPP
#define BOOST_HANA_DETAIL_OPERATORS_SEARCHABLE... | {
"pile_set_name": "Github"
} |
// (C) Copyright Tobias Schwinger
//
// Use modification and distribution are subject to the boost Software License,
// Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt).
//------------------------------------------------------------------------------
#ifndef BOOST_FT_IS_FUNCTION_HPP_INCLUDED
#define BOOST_FT_I... | {
"pile_set_name": "Github"
} |
# Copyright 1996-2020 Cyberbotics Ltd.
#
# 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... | {
"pile_set_name": "Github"
} |
#include "node_internals.h"
#include "node_buffer.h"
#include "node_errors.h"
#include "util-inl.h"
#include "base_object-inl.h"
namespace node {
using v8::Array;
using v8::ArrayBuffer;
using v8::Context;
using v8::Function;
using v8::FunctionCallbackInfo;
using v8::FunctionTemplate;
using v8::Integer;
using v8::Isol... | {
"pile_set_name": "Github"
} |
-- file: ch24/MVarExample.hs
import Control.Concurrent
communicate = do
m <- newEmptyMVar
forkIO $ do
v <- takeMVar m
putStrLn ("received " ++ show v)
putStrLn "sending"
putMVar m "wake up!" | {
"pile_set_name": "Github"
} |
/**
* Convert object keys to camel case
*/
declare function toCamelCase<T extends {}, S extends {}>(obj: T, ignored?: string[]): S;
export = toCamelCase; | {
"pile_set_name": "Github"
} |
#ifndef __USBAUDIO_DEBUG_H
#define __USBAUDIO_DEBUG_H
/*
* h/w constraints
*/
#ifdef HW_CONST_DEBUG
#define hwc_debug(fmt, args...) printk(KERN_DEBUG fmt, ##args)
#else
#define hwc_debug(fmt, args...) do { } while(0)
#endif
#endif /* __USBAUDIO_DEBUG_H */
| {
"pile_set_name": "Github"
} |
<a name="HOLTitle"></a>
# Analyzing Data in Real Time with Azure Stream Analytics #
[Azure Stream Analytics](https://azure.microsoft.com/services/stream-analytics/) is a cloud-based service for ingesting high-velocity data streaming from devices, sensors, applications, Web sites, and other data sources and analyzing t... | {
"pile_set_name": "Github"
} |
## @file
# build a platform or a module
#
# Copyright (c) 2014, Hewlett-Packard Development Company, L.P.<BR>
# Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
#... | {
"pile_set_name": "Github"
} |
"""Utilities for graph not included in Networkx.
.. MIT License
..
.. Copyright (c) 2018 Diviyan Kalainathan
..
.. 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, includ... | {
"pile_set_name": "Github"
} |
{
"name": "js-shopping-cart",
"version": "0.1.0",
"description": "Sample CloudState event sourced shopping cart application",
"keywords": [
"serverless",
"cloudstate",
"event-sourcing"
],
"engineStrict": true,
"engines": {
"node": "~12"
},
"homepage": "https://github.com/cloudstateio/c... | {
"pile_set_name": "Github"
} |
<PAPER>
<S sid="0">A Maximum Entropy Approach To Identifying Sentence Boundaries</S>
<ABSTRACT>
<S sid="1" ssid="1">We present a trainable model for identifying sentence boundaries in raw text.</S>
<S sid="2" ssid="2">Given a corpus annotated with sentence boundaries, our model learns to classify each occur... | {
"pile_set_name": "Github"
} |
# -*- coding:utf-8 -*-
class Solution:
def ReverseSentence(self, s):
# write code here
if not s or len(s) <= 0:
return ''
lis = list(s)
lis = self.Reverse(lis)
start = 0
end = 0
res = ''
lisTmp = []
while end < len(s):
... | {
"pile_set_name": "Github"
} |
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title> Internet Worm Propagation Simulator - Моделювання комп'ютерних вірусів (VX heaven)</title>
<me... | {
"pile_set_name": "Github"
} |
"""
Some simple logging functionality, inspired by rllab's logging.
Assumes that each diagnostic gets logged each iteration
Call logz.configure_output_dir() to start logging to a
tab-separated-values file (some_folder_name/log.txt)
To load the learning curves, you can do, for example
A = np.genfromtxt('/tmp/expt_14... | {
"pile_set_name": "Github"
} |
package scorex.core.network.message
import scorex.core.app.Version
import scorex.core.serialization.ScorexSerializer
/**
* Base trait for app p2p messages in the network
*/
trait MessageSpec[Content] extends ScorexSerializer[Content] {
/**
* The p2p protocol version in which this message type first appeare... | {
"pile_set_name": "Github"
} |
/**
* Imports
*/
import BaseStore from 'fluxible/addons/BaseStore';
import orderActions from '../../constants/orders';
/**
* Store
*/
class OrderDetailsStore extends BaseStore {
static storeName = 'OrderDetailsStore';
static handlers = {
[orderActions.ORDERS_ITEM]: 'handleFetchRequest',
[... | {
"pile_set_name": "Github"
} |
<Mcml xmlns="http://schemas.microsoft.com/2008/mcml"
xmlns:cor="assembly://MSCorLib/System"
xmlns:me="Me">
<!-- IsType conditions are used in "expanded" rule syntax for -->
<!-- adding type comparison to rules. A type is supplied to the -->
<!-- condition which is used to determine ... | {
"pile_set_name": "Github"
} |
1 |6 2|3 5
8 7| 3|4
6 |1 |9
---+---+---
9 | 18|7
3 | |
7 | |
---+---+---
35 |9 |
8 | | 76
| |5 3
| {
"pile_set_name": "Github"
} |
/****************************************************************************/
/*
* nettel.c -- mappings for NETtel/SecureEdge/SnapGear (x86) boards.
*
* (C) Copyright 2000-2001, Greg Ungerer (gerg@snapgear.com)
* (C) Copyright 2001-2002, SnapGear (www.snapgear.com)
*/
/***************************... | {
"pile_set_name": "Github"
} |
version https://git-lfs.github.com/spec/v1
oid sha256:d1ecb296a6bbaf5d28e97428198041562820e9e33675dba7afbea73545dfa06d
size 7885
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
</startup>
</configuration>
| {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: e89bad6ca44e28f41abe9217d6458fd1
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
package main
// DO NOT EDIT, this file is generated by hover at compile-time for the testplu2 plugin.
import (
flutter "github.com/go-flutter-desktop/go-flutter"
file_picker "github.com/miguelpruivo/plugins_flutter_file_picker/go"
)
func init() {
// Only the init function can me tweaked by plugin maker.
options ... | {
"pile_set_name": "Github"
} |
// Copyright (C) 2010 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 t... | {
"pile_set_name": "Github"
} |
{
"@metadata": {
"authors": [
"Astralnet",
"Dipa1965",
"Evropi",
"FocalPoint",
"GR",
"Geraki",
"Giorgos456",
"Glavkos",
"Nikosgranturismogt",
"Nikosguard",
"Tifa93"
]
},
"visualeditor": "VisualEditor",
"visualeditor-aliencontextitem-title": "Αντικείμενο",
"visualeditor-aliennod... | {
"pile_set_name": "Github"
} |
import { autoUpdater } from 'electron-updater';
import { GithubOptions } from 'builder-util-runtime';
export class AutoUpdater {
constructor(logger: any) {
this.init(logger);
}
init(sendStatusToWindow: any) {
autoUpdater.on('checking-for-update', () => {
console.log('Checking f... | {
"pile_set_name": "Github"
} |
$!
$! Analyze bntest output file.
$!
$! Exit status = 1 (success) if all tests passed,
$! 0 (warning) if any test failed.
$!
$! 2010-04-05 SMS. New. Based (loosely) on perl code in bntest-vms.sh.
$!
$! Expect data like:
$! test test_name1
$! ... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.