text stringlengths 2 99.9k | meta dict |
|---|---|
// RUN: %clang_cc1 -std=c++1y %s -verify
static_assert(0b1001 == 9, "");
using I = int;
using I = decltype(0b101001);
using ULL = unsigned long long;
using ULL = decltype(0b10101001ULL);
constexpr unsigned long long operator""_foo(unsigned long long n) {
return n * 2;
}
static_assert(0b10001111_foo == 286, "");
i... | {
"pile_set_name": "Github"
} |
import { defineMessages } from 'react-intl';
export const remoteSelectTranslations = defineMessages({
never: {
id: 'Developer.RemoteFrequency.Select.Never',
defaultMessage: 'No'
},
occasionally: {
id: 'Developer.RemoteFrequency.Select.Occasionally',
defaultMessage: 'Occasion... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 2fb5a2cdb138579498eb20d8b7818ad8
timeCreated: 1455373898
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
package github.com/sturluson/testpkg
require {
github.com/athas/fut-baz 0.2.0 #44da85224224d37803976c1d30cedb1d2cd20b74
}
| {
"pile_set_name": "Github"
} |
import Foundation
class ObjectWithLazyProperty {
init() {}
lazy var value: String = "hello"
lazy var anotherValue: String = { return "world" }()
}
| {
"pile_set_name": "Github"
} |
(require
'[cljs.repl]
'[cljs.repl.node])
(cljs.repl/repl
(cljs.repl.node/repl-env)
:output-dir "out"
:cache-analysis true)
| {
"pile_set_name": "Github"
} |
/*
Copyright 2015 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | {
"pile_set_name": "Github"
} |
// Copyright 2000-2019 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.serialization
@Suppress("ArrayInDataClass")
internal data class InterfacePropertyBinding(private val allowedTypes: Array<Class<*>>) : Binding {
override fu... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/OM/test/com/rr/om/session/fixsocket/TstFixExchangeSimulator.java"/>
</listAttribute>
<listAttribute key... | {
"pile_set_name": "Github"
} |
/***
* Copyright 2002-2010 jamod development team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | {
"pile_set_name": "Github"
} |
// mem_alert_batch
// metric: used_percent
// available_fields: "active","available","available_percent","buffered","cached","free","inactive","total","used"
// TELEGRAF CONFIGURATION
// [[inputs.mem]]
// DEFINE: kapacitor define mem_alert_batch -type batch -tick mem/mem_alert_batch.tick -dbrp telegraf.autogen
// EN... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.RecyclerView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/history_comic_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingTop="8dp"
android:paddingLeft="4d... | {
"pile_set_name": "Github"
} |
<?php
class CoverageMethodTest extends PHPUnit_Framework_TestCase
{
/**
* @covers CoveredClass::publicMethod
*/
public function testSomething()
{
$o = new CoveredClass;
$o->publicMethod();
}
}
| {
"pile_set_name": "Github"
} |
# Norwegian translations for dnsmasq package.
# This file is put in the public domain.
# Simon Kelley <simon@thekelleys.org.uk>, 2006.
#
# Current translator: Jan Erik Askildt <jeaskildt@gmail.com>, 2006
#
msgid ""
msgstr ""
"Project-Id-Version: dnsmasq 2.25\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-06-18 ... | {
"pile_set_name": "Github"
} |
# Editing a package.json for apps
All apps need to have a package.json file to describe themselves with a few required fields. This is based on the [CommonJS Packages](http://wiki.commonjs.org/wiki/Packages) format and [NPM](http://npmjs.org/doc/json.html), with the additional data needed in the repository field.
## ... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2016 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge... | {
"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... | {
"pile_set_name": "Github"
} |
{
"type": "minecraft:block",
"pools": [
{
"name": "main",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "botania:lime_floating_flower"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
... | {
"pile_set_name": "Github"
} |
/*
* ServerMainOverlay.cpp
*
* Copyright (C) 2020 by RStudio, PBC
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License... | {
"pile_set_name": "Github"
} |
/* https://github.com/cirosantilli/x86-bare-metal-examples#reboot */
#include "common.h"
BEGIN
ljmpw $0xF000, $0XFFF0
| {
"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.
#include <pthread.h>
#include <string.h>
#include <signal.h>
#include "libcgo.h"
#include "libcgo_unix.h"
static void *threadentry(void*);
static void (*setg_g... | {
"pile_set_name": "Github"
} |
<?php
namespace calderawp\calderaforms\cf2\Fields\Handlers;
interface UploaderContract
{
/**
* Do the upload
*
* @param array $file File to upload
* @param array $args Optional Additonal args to pass to upload function
* @return mixed
*/
public function upload($file, array $ar... | {
"pile_set_name": "Github"
} |
"use strict";
var inherits = require('util').inherits
, EventEmitter = require('events').EventEmitter
, Connection = require('./connection')
, Query = require('./commands').Query
, Logger = require('./logger')
, f = require('util').format;
var DISCONNECTED = 'disconnected';
var CONNECTING = 'connecting';
va... | {
"pile_set_name": "Github"
} |
int checkWasCalled = 0;
class Drawable {
int sr;
void checkItem() {
_checkEqual(sr, checkWasCalled);
checkWasCalled++;
}
void setItem(int r) {
sr =r;
}
}
class A extends Drawable {
A() {
setItem(2);
}
void checkItem() {
super.checkItem();
}
}
class B extends A {
B() {
se... | {
"pile_set_name": "Github"
} |
test = (function () {
function f() {
[1,2,3,4,5];
};
return "var obj = { x : 2 };" + f.toSource() + "; f()";
})();
evalWithCache(test, {});
function evalWithCache(code, ctx) {
code = cacheEntry(code);
ctx.compileAndGo = true;
var res1 = evaluate(code, Object.create(ctx, {saveBytecode: { value: true } }... | {
"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"
} |
import { assert } from 'chai';
import { sortGraph } from '../src/gmath';
import { expectEitherRight, expectEitherError } from './helpers';
describe('Graph math', () => {
describe('Topological sorting', () => {
it('should return [] for empty graph', () => {
expectEitherRight(sorted => {
assert.deep... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2016-04-25 18:02
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('oidc_provider', '0013_auto_20160407_1912'),
]
operations = [
migrations.AddFie... | {
"pile_set_name": "Github"
} |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/elasticfilesystem/model/ListTagsForResourceRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/http/URI.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h... | {
"pile_set_name": "Github"
} |
# Practical Python Programming - Instructor Notes
Author: David Beazley
## Overview
This document provides some general notes and advice on teaching the
content of my “Practical Python” course including objectives, target
audience, tricky bits, etc.
These instructions were given to people teaching the course in
... | {
"pile_set_name": "Github"
} |
package crazypants.enderio.base.integration.jei;
import javax.annotation.Nonnull;
import com.enderio.core.common.util.NNList;
import net.minecraft.item.crafting.IRecipe;
public class JeiAccessor {
static boolean jeiRuntimeAvailable = false;
public static boolean isJeiRuntimeAvailable() {
return jeiRuntime... | {
"pile_set_name": "Github"
} |
type_of_cancer: brca
cancer_study_identifier: brca_tcga_pub
name: Breast Invasive Carcinoma (TCGA, Nature 2012)
description: <a href="http://cancergenome.nih.gov/">The Cancer Genome Atlas (TCGA)</a> Breast Invasive Carcinoma project. 825 cases.<br><i>Nature 2012.</i> <a href="http://tcga-data.nci.nih.gov/tcga/">Raw dat... | {
"pile_set_name": "Github"
} |
<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="en-us">
<meta name="VI60_defaultClientScript" content="JavaScript">
<meta name="GENERATOR" content="Microsoft FrontPage 12.0">
... | {
"pile_set_name": "Github"
} |
/* Copyright (C) 2016 Alexander Shishenko <alex@shishenko.com>
*
* 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 3 of the License, or
* (at your option) any later version.
*... | {
"pile_set_name": "Github"
} |
project(android-external-sqlite)
# NOTE the following flags,
# SQLITE_TEMP_STORE=3 causes all TEMP files to go into RAM. and thats the behavior we want
# SQLITE_ENABLE_FTS3 enables usage of FTS3 - NOT FTS1 or 2.
# SQLITE_DEFAULT_AUTOVACUUM=1 causes the databases to be subject to auto-vacuum
add_definitions(
... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2014-2018 Andrew Gunnerson <andrewgunnerson@gmail.com>
*
* This file is part of DualBootPatcher
*
* DualBootPatcher 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 3 o... | {
"pile_set_name": "Github"
} |
% DOCKER(1) Docker User Manuals
% William Henry
% APRIL 2014
# NAME
docker \- Docker image and container command line interface
# SYNOPSIS
**docker** [OPTIONS] COMMAND [ARG...]
**docker** [--help|-v|--version]
# DESCRIPTION
**docker** is a client for interacting with the daemon (see **dockerd(8)**) through the CLI.
... | {
"pile_set_name": "Github"
} |
/*!
* Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
*/
/* FONT PATH
* -------------------------- */
@font-face {
font-family: 'FontAwesome';
src: url('../fonts/fontawesome-webfont.eot?v=4.7.0');
src: ur... | {
"pile_set_name": "Github"
} |
/*
Copyright 2008-2013 ITACA-TSB, http://www.tsb.upv.es/
Instituto Tecnologico de Aplicaciones de Comunicacion
Avanzadas - Grupo Tecnologias para la Salud y el
Bienestar (TSB)
See the NOTICE file distributed with this work for additional
information regarding copyright ownership
Licensed unde... | {
"pile_set_name": "Github"
} |
/****************************************************************************
* arch/mips/src/pic32mx/pic32mx_gpio.c
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are pe... | {
"pile_set_name": "Github"
} |
/*
* (C) Copyright 2010
* NVIDIA Corporation <www.nvidia.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef __ASM_ARCH_TEGRA_DISPLAY_H
#define __ASM_ARCH_TEGRA_DISPLAY_H
#include <asm/arch/dc.h>
#include <fdtdec.h>
/* This holds information about a window which can be displayed */
struct disp_ctl_win {
en... | {
"pile_set_name": "Github"
} |
.wrapper{ width: 424px;margin: 10px auto; zoom:1;position: relative}
.tabbody{height:225px;}
.tabbody .panel { position: absolute;width:100%; height:100%;background: #fff; display: none;}
.tabbody .focus { display: block;}
body{font-size: 12px;color: #888;overflow: hidden;}
input,label{vertical-align:middle}
.clear{cl... | {
"pile_set_name": "Github"
} |
\name{Hurricanes}
\alias{Hurricanes}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{Hurricane fatalities and gender of names}
\description{
Data used in Jung et al 2014 analysis of effect of gender of name on hurricane fatalities. Note that hurricanes Katrina (2005) and Audrey (1957) were remov... | {
"pile_set_name": "Github"
} |
# [SwiftUI](https://developer.apple.com/xcode/swiftui/)
## Links
- [SwiftUI Essentials WWDC 2019](https://developer.apple.com/videos/play/wwdc2019/216/)
- [SwiftUI Combine Example](https://github.com/ra1028/SwiftUI-Combine) - Example project of SwiftUI and Combine using GitHub API.
- [SwiftUI by Example](https://www.... | {
"pile_set_name": "Github"
} |
;; Copyright 2010 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"
} |
// 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.
package idna
import (
"strings"
"testing"
)
var punycodeTestCases = [...]struct {
s, encoded string
}{
{"", ""},
{"-", "--"},
{"-a", "-a-"},
{"-a-", "-... | {
"pile_set_name": "Github"
} |
/* Post-stack Stolt modeling/migration.
Requires the input to be cosine-transformed over the lateral axes.
August 2014 program of the month:
http://ahay.org/blog/2014/08/03/program-of-the-month-sfstolt/
*/
/*
Copyright (C) 2004 University of Texas at Austin
This program is free software; you can redistribute it... | {
"pile_set_name": "Github"
} |
# created by tools/tclZIC.tcl - do not edit
set TZData(:Asia/Novosibirsk) {
{-9223372036854775808 19900 0 LMT}
{-1579476700 21600 0 +06}
{-1247551200 25200 0 +08}
{354906000 28800 1 +08}
{370713600 25200 0 +07}
{386442000 28800 1 +08}
{402249600 25200 0 +07}
{417978000 28800 1 +08}
... | {
"pile_set_name": "Github"
} |
path: "tensorflow.keras.layers.SeparableConvolution2D"
tf_class {
is_instance: "<class \'tensorflow.python.keras._impl.keras.layers.convolutional.SeparableConv2D\'>"
is_instance: "<class \'tensorflow.python.layers.convolutional.SeparableConv2D\'>"
is_instance: "<class \'tensorflow.python.layers.convolutional.Conv... | {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0
/*
* linux/fs/lockd/mon.c
*
* The kernel statd client.
*
* Copyright (C) 1996, Olaf Kirch <okir@monad.swb.de>
*/
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/ktime.h>
#include <linux/slab.h>
#include <linux/sunrpc/clnt.h>
#include <linux/sunrpc/addr.h>
#... | {
"pile_set_name": "Github"
} |
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | {
"pile_set_name": "Github"
} |
// Some interop code taken from Mike Marshall's AnyForm
using System;
using System.Drawing;
using System.Runtime.InteropServices;
namespace Hardcodet.Wpf.TaskbarNotification.Interop
{
/// <summary>
/// This contains the logic to access the location of the app bar and communicate with it.
/// </summary>
... | {
"pile_set_name": "Github"
} |
/* sp.h
*
* Copyright (C) 2006-2020 wolfSSL Inc.
*
* This file is part of wolfSSL.
*
* wolfSSL 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) an... | {
"pile_set_name": "Github"
} |
//
// NSURLConnection+RACSupport.h
// ReactiveCocoa
//
// Created by Justin Spahr-Summers on 2013-10-01.
// Copyright (c) 2013 GitHub, Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
@class RACSignal;
@interface NSURLConnection (RACSupport)
// Lazily loads data for the given request in the backgr... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0700"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
... | {
"pile_set_name": "Github"
} |
module Puppet::Parser::Functions
newfunction(:delete_values, :type => :rvalue, :doc => <<-EOS
Deletes all instances of a given value from a hash.
*Examples:*
delete_values({'a'=>'A','b'=>'B','c'=>'C','B'=>'D'}, 'B')
Would return: {'a'=>'A','c'=>'C','B'=>'D'}
EOS
) do |arguments|
raise(Puppet::P... | {
"pile_set_name": "Github"
} |
#!/usr/bin/make -f
#
%:
dh $@
| {
"pile_set_name": "Github"
} |
package abi37_0_0.org.unimodules.adapters.react;
import android.os.Bundle;
import abi37_0_0.com.facebook.react.bridge.Arguments;
import java.util.List;
import javax.annotation.Nullable;
import abi37_0_0.org.unimodules.core.Promise;
/**
* Decorator for {@link abi37_0_0.com.facebook.react.bridge.Promise},
* so we... | {
"pile_set_name": "Github"
} |
// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
class S {
public:
S ();
};
struct D : S {
D() :
b1(0), // expected-note {{previous initialization is here}}
b2(1),
b1(0), // expected-error {{multiple initializations given for non-static member 'b1'}}
S(), // expected-note {{previous init... | {
"pile_set_name": "Github"
} |
// Copyright 2014 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 linux
// +build ppc64 ppc64le
// +build !gccgo
#include "textflag.h"
//
// System calls for ppc64, Linux
//
// Just jump to package syscall's imple... | {
"pile_set_name": "Github"
} |
from __future__ import absolute_import, division, unicode_literals
from pip._vendor.six import text_type
from collections import OrderedDict
from lxml import etree
from ..treebuilders.etree import tag_regexp
from . import base
from .. import _ihatexml
def ensure_str(s):
if s is None:
return None
e... | {
"pile_set_name": "Github"
} |
// Copyright 2015 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
// be... | {
"pile_set_name": "Github"
} |
%% @author Marc Worrell <marc@worrell.nl>
%% @copyright 2010 Marc Worrell
%% Date: 2010-02-15
%% Copyright 2010 Marc Worrell
%%
%% 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
%%
%% htt... | {
"pile_set_name": "Github"
} |
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders 1`] = `
<SimpleBubbleChart
displayOrganizations={false}
helpText="foobar"
projects={Array []}
sizeMetric={
Object {
"key": "uncovered_lines",
"type": "SHORT_INT",
}
}
title="projects.visualization.coverage"
xMetric={
Obje... | {
"pile_set_name": "Github"
} |
/*
* (C) Copyright 2015 Google, Inc
* Written by Simon Glass <sjg@chromium.org>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <dm.h>
#include <i2c.h>
#include <rtc.h>
#include <asm/rtc.h>
#define REG_COUNT 0x80
static int sandbox_rtc_get(struct udevice *dev, struct rtc_time *time)
{
tim... | {
"pile_set_name": "Github"
} |
package info.nightscout.android.model.store;
import java.util.Date;
import info.nightscout.android.utils.FormatKit;
import io.realm.RealmObject;
import io.realm.annotations.Ignore;
import io.realm.annotations.Index;
import io.realm.annotations.PrimaryKey;
public class StatPushover extends RealmObject implements Stat... | {
"pile_set_name": "Github"
} |
# #coding=utf-8
# # coding=utf-8
# '''
# Created on 2014-1-5
#
# @author: zhangtiande
# '''
# from django.conf.urls import url
# from doraemon.administrate.views.admin_user_group_view import user_group,group_create,check_value_exists,group_delete,usergroup_list,usergroup_edit_get,group_permission_list,update_descripti... | {
"pile_set_name": "Github"
} |
package com.nilhcem.fakesmtp.core.server;
import static org.junit.Assert.*;
import org.junit.Test;
import com.nilhcem.fakesmtp.core.exception.BindPortException;
import com.nilhcem.fakesmtp.core.exception.OutOfRangePortException;
import com.nilhcem.fakesmtp.server.SMTPServerHandler;
public class SMTPServerHandlerTest ... | {
"pile_set_name": "Github"
} |
{**************************************************************************************************}
{ }
{ Last modified: $Date:: $ }
{ Revision: ... | {
"pile_set_name": "Github"
} |
/**
* Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
* Build: `lodash modularize underscore exports="node" -o ./underscore/`
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
* Copyright 2009-2013 Jeremy Ashkenas, DocumentClou... | {
"pile_set_name": "Github"
} |
{"type":"newline","line":2,"col":1}
{"type":"extends","line":2,"col":1}
{"type":"path","line":2,"col":9,"val":"auxiliary/dialog.pug"}
{"type":"newline","line":4,"col":1}
{"type":"block","line":4,"col":1,"val":"content","mode":"replace"}
{"type":"indent","line":5,"col":1,"val":2}
{"type":"tag","line":5,"col":3,"val":"h1... | {
"pile_set_name": "Github"
} |
# Getting Started with kops on OpenStack
OpenStack support on kops is currently **beta**, which means that OpenStack support is in good shape and could be used for production. However, it is not as rigorously tested as the stable cloud providers and there are some features not supported. In particular, kops tries to ... | {
"pile_set_name": "Github"
} |
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Amazon.Lambda.Core" Version="1.0.0" />
<PackageReference Include=... | {
"pile_set_name": "Github"
} |
body: //div[@id="bloc_actu"]/parent::*
title: //div[@id="content"]/h1[1]
test_url: http://www.autoactu.com/thomas-owsianski-nomme-president-d-audi-chine.shtml
| {
"pile_set_name": "Github"
} |
/*
Copyright 2018 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | {
"pile_set_name": "Github"
} |
更多代码请见:https://github.com/xubo245/SparkLearning
Spark生态之Alluxio学习 版本:alluxio(tachyon) 0.7.1,spark-1.5.2,hadoop-2.6.0
# 1.问题描述 #
window下打开hdfs,会出现问题:hdfs常配置了hosts,访问或者下载hdfs的文件时(通过浏览器),回出现跳转的是hostname,而不是ip,而window下没有配置hosts,所以访问不了,需要手动设置ip,麻烦
# 2.解决办法: #
设置window的hosts
修改C:\Windows\System32\drivers\etc下的hosts文件
... | {
"pile_set_name": "Github"
} |
#!/bin/bash
set -ev; # stop on error
echo "Installing dependencies required for tests in codegens/java-okhttp"
pushd ./codegens/java-okhttp &>/dev/null;
sudo add-apt-repository ppa:openjdk-r/ppa -y
sudo rm -rf /var/lib/apt/lists/*
sudo apt-get update
sudo apt-get install -y openjdk-8-jdk
unzip test/unit/fixt... | {
"pile_set_name": "Github"
} |
//
// NSArray+zh_SafeAccess.m
// zhPopupController
//
// Created by zhanghao on 2017/9/15.
// Copyright © 2017年 snail-z. All rights reserved.
//
#import "NSArray+zh_SafeAccess.h"
@implementation NSArray (zh_SafeAccess)
- (NSUInteger)zh_indexOfObject:(id)anObject {
NSParameterAssert(self.count);
if ([self... | {
"pile_set_name": "Github"
} |
#include "Gui/Menu.h"
#include "Gui/LineEdit.h"
#include "Gui/SpinBox.h"
#include "Gui/Button.h"
#include "Gui/ticks.h"
#include "Gui/CurveEditor.h"
#include "Gui/TextRenderer.h"
#include "Gui/CurveEditorUndoRedo.h"
#include "Gui/DopeSheetEditor.h"
#include "Gui/KnobGui.h"
#include "Gui/SequenceFileDialog.h"
#include ... | {
"pile_set_name": "Github"
} |
Feature: Feature executed in parallel
Background:
Given bg_1_parallel
When bg_2_parallel
Then bg_3_parallel
Scenario: Scenario_1
Given step_1_parallel
When step_2_parallel
Then step_3_parallel
Then cliché_parallel
Scenario Outline: ScenarioOutline_1_parallel
Given so_1 <a>_paral... | {
"pile_set_name": "Github"
} |
/*
* (C) 2007-2012 Alibaba Group Holding Limited.
*
* 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 applic... | {
"pile_set_name": "Github"
} |
package com.nepxion.thunder.stock.constant;
/**
* <p>Title: Nepxion Stock</p>
* <p>Description: Nepxion Stock For Distribution</p>
* <p>Copyright: Copyright (c) 2017-2050</p>
* <p>Company: Nepxion</p>
* @author Haojun Ren
* @version 1.0
*/
public final class StockConstants {
public static final String SH =... | {
"pile_set_name": "Github"
} |
// Copyright 2008, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions ... | {
"pile_set_name": "Github"
} |
/* zlib.h -- interface of the 'zlib' general purpose compression library
version 1.1.4, March 11th, 2002
Copyright (C) 1995-2002 Jean-loup Gailly and Mark Adler
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising fr... | {
"pile_set_name": "Github"
} |
<?php
namespace Illuminate\Contracts\Debug;
use Exception;
interface ExceptionHandler
{
/**
* Report or log an exception.
*
* @param \Exception $e
* @return void
*/
public function report(Exception $e);
/**
* Determine if the exception should be reported.
*
* @p... | {
"pile_set_name": "Github"
} |
//#############################################################################
//
// This file is part of ImagePlay.
//
// ImagePlay 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 3 of t... | {
"pile_set_name": "Github"
} |
<?php
/*
* This file is part of the Assetic package, an OpenSky project.
*
* (c) 2010-2014 OpenSky Project Inc
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Assetic\Filter\Yui;
use Assetic\Asset\AssetInterface;
/**
... | {
"pile_set_name": "Github"
} |
/*
** $Id: ltable.c,v 2.72.1.1 2013/04/12 18:48:47 roberto Exp $
** Lua tables (hash)
** See Copyright Notice in lua.h
*/
/*
** Implementation of tables (aka arrays, objects, or hash tables).
** Tables keep its elements in two parts: an array part and a hash part.
** Non-negative integer keys are all candidates to be... | {
"pile_set_name": "Github"
} |
<view class="page">
<view class="page__hd">
<text class="page__title">modal</text>
<text class="page__desc">模式对话框</text>
</view>
<view class="page__bd">
<modal title="标题" confirm-text="确定" cancel-text="取消" hidden="{{modalHidden}}" mask bindconfirm="modalChange" bindcancel="modalChange">
这是对话框的内容... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
Copyright 2009-2012 The MyBatis Team
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.ap... | {
"pile_set_name": "Github"
} |
// Copyright 2013 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.
package ssh
import (
"encoding/binary"
"fmt"
"io"
"log"
"sync"
"sync/atomic"
)
// debugMux, if set, causes messages in the connection protocol to be
// ... | {
"pile_set_name": "Github"
} |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Shouldly;
using System;
namespace Mapster.Tests
{
[TestClass]
public class WhenIgnoringNonMapped
{
[TestMethod]
public void Should_Ignore_Non_Mapped()
{
TypeAdapterConfig<SimplePoco, SimpleDto>.NewConfig()
... | {
"pile_set_name": "Github"
} |
using System;
using UnityEngine;
using UnityStandardAssets.CrossPlatformInput.PlatformSpecific;
namespace UnityStandardAssets.CrossPlatformInput
{
public static class CrossPlatformInputManager
{
public enum ActiveInputMethod
{
Hardware,
Touch
}
private static VirtualInput activeInput;
private stat... | {
"pile_set_name": "Github"
} |
{
"dependencies": [
{
"importpath": "github.com/sdboyer/deptest",
"revision": "3f4c3bea144e112a69bbe5d8d01c1b09a544253f",
"branch": "HEAD"
},
{
"importpath": "github.com/sdboyer/deptestdos",
"revision": "5c607206be5decd28e6263ffffdcee067266015e",
"branch": "master"
... | {
"pile_set_name": "Github"
} |
var convert = require('./convert'),
func = convert('isSafeInteger', require('../isSafeInteger'), require('./_falseOptions'));
func.placeholder = require('./placeholder');
module.exports = func;
| {
"pile_set_name": "Github"
} |
/*
*************************************************************************************
* Copyright 2013 Normation SAS
*************************************************************************************
*
* This file is part of Rudder.
*
* Rudder is free software: you can redistribute it and/or modify
* it under the... | {
"pile_set_name": "Github"
} |
import { intersection } from "../index";
export = intersection;
| {
"pile_set_name": "Github"
} |
<?xml version="1.0"?>
<sparql
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:xs="http://www.w3.org/2001/XMLSchema#"
xmlns="http://www.w3.org/2005/sparql-results#" >
<head>
<variable name="x"/>
</head>
<results>
</results>
</sparql>
| {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2014,2019 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is av... | {
"pile_set_name": "Github"
} |
#-- copyright
# OpenProject is an open source project management software.
# Copyright (C) 2012-2020 the OpenProject GmbH
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
#
# OpenProject is a fork of ChiliProject, which is a fork ... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.