text stringlengths 2 99.9k | meta dict |
|---|---|
import axios from 'axios'
/**
* Axios config
*/
axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'
let token = document.head.querySelector('meta[name="csrf-token"]')
if (token) {
axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content
}
export { axios }
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2016 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/li... | {
"pile_set_name": "Github"
} |
/*******************************************************************************
* Copyright 2003-2020 Intel Corporation
*
* 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.apa... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
| {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.Linq;
using HotChocolate.Execution.Options;
namespace HotChocolate.Execution.Errors
{
internal sealed class DefaultErrorHandler : IErrorHandler
{
private const string _messageProperty = "message";
private const string _stackTracePrope... | {
"pile_set_name": "Github"
} |
using System.Collections.Generic;
using OpenStack.Serialization;
namespace OpenStack
{
/// <summary>
/// Paging options when listing a resource that supports paging.
/// </summary>
public class PageOptions : FilterOptions
{
/// <summary>
/// The number of resources to return per pag... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2014 Baidu, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... | {
"pile_set_name": "Github"
} |
// cgo -godefs -- -Wall -Werror -static -I/tmp/include -m64 linux/types.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build amd64,linux
package unix
const (
SizeofPtr = 0x8
SizeofLong = 0x8
)
type (
_C_long int64
)
type Timespec struct {
Sec int64
Nsec int64
}... | {
"pile_set_name": "Github"
} |
package com.boundlessgeo.geoserver.api.controllers;
import com.boundlessgeo.geoserver.api.converters.JSONMessageConverter;
import com.boundlessgeo.geoserver.api.converters.ResourceMessageConverter;
import com.boundlessgeo.geoserver.api.converters.YsldMessageConverter;
import com.boundlessgeo.geoserver.api.exceptions.N... | {
"pile_set_name": "Github"
} |
// Copyright 2019 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 version records versioning information about this module.
package version
import (
"fmt"
"strings"
)
// These constants determine the current ver... | {
"pile_set_name": "Github"
} |
# coding: utf-8
"""
Kubernetes
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: release-1.16
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import si... | {
"pile_set_name": "Github"
} |
#服务端
cacti导入模版 cacti_data_query_lvs.xml
snmp-lvs.xml上传到cacti_path/resource/net_queries目录下
Host Templates-->Add
#填写一下信息
Name:自定义
Associated Graph Templates: ucd/net-LVS-Connections --> Add
Save
Data Templates --> ucd/net - LVS-Connections
Data Input Method --> Get SNMP Data
OID
Save
#客户端
安装sn... | {
"pile_set_name": "Github"
} |
<?php
$filename = __DIR__ . '/spanish-utf8.inc.php';
$contents = file_get_contents($filename);
$contents = utf8_decode($contents);
eval('?>' . $contents);
| {
"pile_set_name": "Github"
} |
{
"aws": {
"accessKeyId": "",
"secretAccessKey": "",
"region": ""
}
}
| {
"pile_set_name": "Github"
} |
/*
* Copyright 2016 MongoDB, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | {
"pile_set_name": "Github"
} |
/** @file
Instance of Debug Library based on POSIX APIs
Uses Print Library to produce formatted output strings sent to printf().
Copyright (c) 2018 - 2020, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <stdio.h>
#include <Base.h>
#include <... | {
"pile_set_name": "Github"
} |
textarea {
display: block;
padding:25px 25px 40px;
margin:0 auto 20px auto;
width:250px;
height:150px;
font:20px 'Gloria Hallelujah', cursive;
line-height:1.5;
border:0;
border-radius:3px;
background: -webkit-linear-gradient(#F9EFAF, #F7E98D);
background: -moz-linear-gradient(#F9EFAF, #F7E98D);
... | {
"pile_set_name": "Github"
} |
Copyright (c) 2016, Jan Simon
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 and the following... | {
"pile_set_name": "Github"
} |
definitions: definition*
?definition: macro | constant
macro: "macro" name "(" [name ("," name)*] ")" expr
constant: "const" name EQUALS literal
query_with_definitions: definitions piped_query
piped_query: base_query [pipes]
| pipes
base_query: sequence
| join
| event_query
event_que... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
... | {
"pile_set_name": "Github"
} |
package com.macro.mall.tiny;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class MallTinyApplication {
public static void main(String[] args) {
SpringApplication.run(MallTinyApplication.class, args);
... | {
"pile_set_name": "Github"
} |
/*
* arch/arm/include/asm/arch-txl/eth_setup.h
*
* Copyright (C) 2015 Amlogic, Inc. 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 of the License... | {
"pile_set_name": "Github"
} |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
OcclusionCullingSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_OcclusionBakeSettings:
smallestOccluder: 5
smallestHole: 0.25
backfaceThreshold: 100
m_SceneGUID: 00000000000000000000000000000000
m_OcclusionCullingData: {fileID: 0}
--- !u!... | {
"pile_set_name": "Github"
} |
class Perl6::Pod {
# some helper classes
class Kv {
# a class to help construct a key/value pair
# during %config reconstruction
has $!key;
has $!val;
method reset() { $!key := ''; $!val := '' }
method add2key($c) { $!key := nqp::concat($!key, $c) }
m... | {
"pile_set_name": "Github"
} |
<section class="example">
<h2>Buttons</h2>
<div class="header">
<label>EXAMPLE</label>
<!-- Standard button -->
<button class="custom-button">custom-button</button>
<!-- Inverted button -->
<button class="custom-button-invert">custom-button-invert</button>
<!-- ... | {
"pile_set_name": "Github"
} |
<?php
use Movim\Migration;
use Illuminate\Database\Schema\Blueprint;
class AddCategoryAndRelIndexesToAttachments extends Migration
{
public function up()
{
$this->schema->table('attachments', function (Blueprint $table) {
$table->index('category');
$table->index('rel');
... | {
"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 m... | {
"pile_set_name": "Github"
} |
#parse("header.html")
<link rel="stylesheet" href="../styles/detail.css">
<div class="zg-wrap zu-main clearfix with-indention-votebar" itemscope="" itemtype="http://schema.org/Question"
id="zh-single-question-page" data-urltoken="36301524" role="main">
<div class="zu-main-content">
<div class="zu-main-... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2014 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/li... | {
"pile_set_name": "Github"
} |
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt < %s -instsimplify -S | FileCheck %s
define i32 @negated_operand(i32 %x) {
; CHECK-LABEL: @negated_operand(
; CHECK-NEXT: ret i32 0
;
%negx = sub i32 0, %x
%rem = srem i32 %negx, %x
ret i32 %rem
}
define <2 x i32> @negated_o... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<Module name="Hide_Target" id="266">
<Interfaces>
<Interface provider="0x01011042" id='0x01010031' />
</Interfaces>
<Dependencies>
<Local>Mcl_NtElevation</Local>
</Dependencies>
<Lp>Yes</Lp>
<Target>Yes</Target>
<Architecture type="i3... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-... | {
"pile_set_name": "Github"
} |
{
"name": "blipp",
"version": "4.0.1",
"description": "blipp is a simple hapi plugin to display the routes table at startup",
"main": "lib/index.js",
"scripts": {
"test": "lab -a @hapi/code -v -t 100 -L -I queueMicrotask"
},
"repository": {
"type": "git",
"url": "https://github.com/danielb2/bl... | {
"pile_set_name": "Github"
} |
using NHibernate.Mapping.ByCode.Impl;
using NHibernate.Type;
namespace NHibernate.Mapping.ByCode
{
// 6.0 TODO: inherit from IColumnsAndFormulasMapper
public interface IPropertyMapper : IEntityPropertyMapper, IColumnsMapper
{
void Type(IType persistentType);
void Type<TPersistentType>();
void Type<TPersistent... | {
"pile_set_name": "Github"
} |
/**
* The object wrapper for plot lines and plot bands
* @param {Object} options
*/
Highcharts.PlotLineOrBand = function (axis, options) {
this.axis = axis;
if (options) {
this.options = options;
this.id = options.id;
}
};
Highcharts.PlotLineOrBand.prototype = {
/**
* Render the plot line or plot band. ... | {
"pile_set_name": "Github"
} |
/*
american fuzzy lop - error-checking, memory-zeroing alloc routines
------------------------------------------------------------------
Written and maintained by Michal Zalewski <lcamtuf@google.com>
Copyright 2013, 2014, 2015 Google Inc. All rights reserved.
Licensed under the Apache License, Version... | {
"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"
} |
53
Lattice="1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 1.0" Properties=species:S:1:pos:R:3:Z:I:1 pbc="F F F"
N 5.02990103 0.20919000 -0.53005999 7
C 4.05286694 0.87084401 0.33776000 6
C 3.29420304 -0.12991101 1.19320905 6
O 3.13651395 0.13179500 ... | {
"pile_set_name": "Github"
} |
# A function that changes with index
def f(model,j,x):
if (j == 2):
return x**2 + 1.0
else:
return x**2 + 5.0
# A nonlinear function
f = lambda model,x : exp(x) + value(model.p)
# A step function
f = [0,0,1,1,2,2]
| {
"pile_set_name": "Github"
} |
#![cfg(not(feature = "no_float"))]
use rhai::{Engine, EvalAltResult, RegisterFn, FLOAT};
const EPSILON: FLOAT = 0.000_000_000_1;
#[test]
fn test_float() -> Result<(), Box<EvalAltResult>> {
let engine = Engine::new();
assert_eq!(
engine.eval::<bool>("let x = 0.0; let y = 1.0; x < y")?,
true
... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- QtnCommo... | {
"pile_set_name": "Github"
} |
// Copyright (C) 2003-2004 Jeremy B. Maitin-Shepard.
// Copyright (C) 2005-2011 Daniel James
// 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)
#ifndef BOOST_UNORDERED_DETAIL_ALL_HPP_INCLUDED
#define BOOST_UNO... | {
"pile_set_name": "Github"
} |
oauth-sign
==========
OAuth 1 signing. Formerly a vendor lib in mikeal/request, now a standalone module.
| {
"pile_set_name": "Github"
} |
class Nedit < Formula
desc "Fast, compact Motif/X11 plain text editor"
homepage "https://sourceforge.net/projects/nedit/"
url "https://downloads.sourceforge.net/project/nedit/nedit-source/nedit-5.7-src.tar.gz"
sha256 "add9ac79ff973528ad36c86858238bac4f59896c27dbf285cbe6a4d425fca17a"
license "GPL-2.0"
livec... | {
"pile_set_name": "Github"
} |
#include "test.h"
#include "../src/mixer.h"
#include "../src/virtual.h"
/*
Case 3: Tone portamento
Instrument -> None Same Valid Inval
PT1.1 Cont NewVol?
PT1.3 Cont NewVol NewVol* Cut
PT2.3 Cont NewVol NewVol* Cut
PT3.15 Cont NewVol NewVol Cut ... | {
"pile_set_name": "Github"
} |
## Description
This module attempts to log into DirectAdmin Web Control Panel. DirectAdmin Web Control Panel is commercial application for remote administration of Web server's. Gaining privileged access to DirectAdmin can lead to remote code execution via their upload utility, or sensitive information disclosure such... | {
"pile_set_name": "Github"
} |
@model Microsoft.eShopOnContainers.Services.Identity.API.Models.AccountViewModels.RegisterViewModel
@{
ViewData["Title"] = "Register";
}
<div class="brand-header-block">
<ul class="container">
<li class="active">REGISTER</li>
<li style="margin-right: 65px;"><a asp-area="" asp-controller="Accoun... | {
"pile_set_name": "Github"
} |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2014 Benoit Steiner <benoit.steiner.goog@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You ca... | {
"pile_set_name": "Github"
} |
1.2.3
-----------
- Fix sorting to mitigate possible SQL-injection and improve tests [Ivan Korunkov]
1.2.2
-----------
- Remove duplicated href key from config template #146 [nfilzi]
- Replace deprecated .any? with .present? #143 [AakLak]
- Development environment update #140 [mizinsky]
- Fix sanitize_params method ... | {
"pile_set_name": "Github"
} |
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Copyright (c) 2011 Samsung Electronics Co., Ltd.
*
* Authors:
* Inki Dae <inki.dae@samsung.com>
* Joonyoung Shim <jy0922.shim@samsung.com>
* Seung-Woo Kim <sw0312.kim@samsung.com>
*/
#ifndef _EXYNOS_DRM_FBDEV_H_
#define _EXYNOS_DRM_FBDEV_H_
#ifdef CONFIG_DRM... | {
"pile_set_name": "Github"
} |
{
"id": "96d1d23d-1cd1-4ea0-9e27-640b911750c8",
"modelName": "GMObject",
"mvc": "1.0",
"name": "class_enemy_shooter",
"eventList": [
{
"id": "b055cd29-f0bf-47ab-963c-a43ad9232ea8",
"modelName": "GMEvent",
"mvc": "1.0",
"IsDnD": false,
... | {
"pile_set_name": "Github"
} |
Basic utilities for handling unicode strings and astral plane characters.
| {
"pile_set_name": "Github"
} |
# A simple CLI runner for slurm that can be used when running Galaxy from a
# non-submit host and using a Slurm cluster.
from logging import getLogger
from galaxy.jobs import JobState
try:
from galaxy.model import Job
job_states = Job.states
except ImportError:
# Not in Galaxy, map Galaxy job states to Pul... | {
"pile_set_name": "Github"
} |
// Copyright (C) 2017, 2018, 2019 dbrock, rain, mrchico
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero 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"
} |
###############################################################################
# Copyright (c) 2018, 2020 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 a... | {
"pile_set_name": "Github"
} |
<?php
/**
* OSS Framework
*
* This file is part of the "OSS Framework" - a library of tools, utilities and
* extensions to the Zend Framework V1.x used for PHP application development.
*
* Copyright (c) 2007 - 2012, Open Source Solutions Limited, Dublin, Ireland
* All rights reserved.
*
* Open Source Solutions... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
targetNamespace="http://opennebula.org/XMLSchema" xmlns="http://opennebula.org/XMLSchema">
<xs:element name="USER">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type... | {
"pile_set_name": "Github"
} |
#import "LanSongProgram.h"
// Base classes
#import "LanSongContext.h"
#import "LanSongOutput.h"
#import "LanSongVideoCamera.h"
#import "LanSongStillCamera.h"
#import "LanSongPicture.h"
#import "LanSongRawDataInput.h"
#import "LanSongRawDataOutput.h"
#import "LanSongFilterPipeline.h"
#import "LanSongTextureOutput.h"
#i... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2004 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 contributing ... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2017 The Bazel Authors. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | {
"pile_set_name": "Github"
} |
{
"spec_dir": "spec",
"spec_files": [
"**/*[sS]pec.js"
],
"helpers": [
"helpers/**/*.js"
],
"stopSpecOnExpectationFailure": false,
"random": false
}
| {
"pile_set_name": "Github"
} |
import time
ts_empty_string = "--.--.---- --:--:--.--"
ts_format = "%d.%m.%Y %H:%M:%S"
# Python time functions will provide seconds from 'epoch',
# which is 1970, but Amiga specs say that 1978 is the base year.
amiga_epoch = time.mktime(time.strptime("01.01.1978 00:00:00", ts_format))
class TimeStamp:
def __ini... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2005 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except in... | {
"pile_set_name": "Github"
} |
extern
"C"suffix //~ ERROR suffixes on a string literal are invalid
fn foo() {}
extern
"C"suffix //~ ERROR suffixes on a string literal are invalid
{}
fn main() {
""suffix; //~ ERROR suffixes on a string literal are invalid
b""suffix; //~ ERROR suffixes on a byte string literal are invalid
r#"... | {
"pile_set_name": "Github"
} |
3, 4, "3+4i"
3, 4, "j", "3+4j"
12.34, 5.67, "j", "12.34+5.67j"
3.5, "A", "#VALUE!"
1.234E-5, 6.78E9, "1.234E-5+6780000000i"
1.234E5, 6.78E-9, "123400+6.78E-9i"
3.5, 2.5, "3.5+2.5i"
3.5, 1, "3.5+i"
3.5, 0, 3.5
3.5, -1, "3.5-i"
3.5, -2.5, "3.5-2.5i"
1, 2.5, "1+2.5i"
1, 1, "1+i"
1, 0, 1... | {
"pile_set_name": "Github"
} |
/*
* Hamlib Kenwood backend - TS-790 description
* Copyright (c) 2000-2009 by Stephane Fillod
*
*
* This library 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.1 of... | {
"pile_set_name": "Github"
} |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
using DataFactory.Tests.Utils;
using Microsoft.Azure.Management.DataFactory;
using Microsoft.Azure.Management.DataFactory.Models;
using Microsoft.Rest.Azure;
u... | {
"pile_set_name": "Github"
} |
# apidemic [](https://travis-ci.org/gernest/apidemic)
Apidemic is a service for generating fake JSON response. You first register the sample JSON response, and apidemic will serve that response with random fake data.
This is experimental, so take it with a gr... | {
"pile_set_name": "Github"
} |
/*
* Copyright © 2002-2011 the original author or 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 ... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2008 Martin Hostettler
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is... | {
"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.Linq;
using System.Runtime.InteropServices;
using UnityEngine;
using UnityEngine.Bindings;
using UnityEngine.Rendering;
using UnityEngine... | {
"pile_set_name": "Github"
} |
function toggleMenu() {
var toggle = document.querySelector('.menu-toggle');
var menu = document.querySelector('.menu');
toggle.classList.toggle('close');
menu.classList.toggle('closed');
}
function initMenu() {
var toggle = document.querySelector('.menu-toggle');
toggle.addEventListener('click... | {
"pile_set_name": "Github"
} |
/**
* @fileoverview Rule to flag use of certain node types
* @author Burak Yigit Kaya
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------
module.exports = {
meta: {
... | {
"pile_set_name": "Github"
} |
/**
* This header is generated by class-dump-z 0.2a.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*
* Source: /System/Library/Frameworks/UIKit.framework/UIKit
*/
#import <UIKit/UIView.h>
#import <UIKit/UIStatusBarServerClient.h>
#import <UIKit/UIEvent.h>
@class UIStatusBarBackgroundVie... | {
"pile_set_name": "Github"
} |
#pragma once
#include "ai/monsters/state.h"
template <typename _Object>
class CStateMonsterAttackCamp : public CState<_Object>
{
typedef CState<_Object> inherited;
typedef CState<_Object>* state_ptr;
u32 m_target_node;
public:
CStateMonsterAttackCamp(_Object* obj);
virtual void initialize();
... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright noti... | {
"pile_set_name": "Github"
} |
export * from "./models_0";
export * from "./models_1";
| {
"pile_set_name": "Github"
} |
[
"enode://f394a2bf7f206d49902aa06a30bbc12228622ba5c10e171b77e59303aded1b8fb2a194bc078e504ce68a202252987704c0c489a1e290f4c197c7a539cf2b1b63@bob-nethermind:30111",
"enode://c1a2d0ecc5d76631e6ab7934fc0e420e094b3b02a265872d1e026c70f79ec5ee5d6faf12c20eec05707f0a3ef279a4916b69da93c0f634de4c4299ec1fa6dd08@alice-nethermin... | {
"pile_set_name": "Github"
} |
<!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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>CMSIS-DSP: ComplexM... | {
"pile_set_name": "Github"
} |
/*!
* jQuery QueryBuilder 2.4.5
* Locale: Polish (pl)
* Author: Artur Smolarek
* Licensed under MIT (http://opensource.org/licenses/MIT)
*/
(function(root, factory) {
if (typeof define == 'function' && define.amd) {
define(['jquery', 'query-builder'], factory);
}
else {
factory(root.jQ... | {
"pile_set_name": "Github"
} |
<?php
/**
* XHTML 1.1 Edit Module, defines editing-related elements. Text Extension
* Module.
*/
class HTMLPurifier_HTMLModule_StyleAttribute extends HTMLPurifier_HTMLModule
{
/**
* @type string
*/
public $name = 'StyleAttribute';
/**
* @type array
*/
public $attr_collections = ... | {
"pile_set_name": "Github"
} |
////
Preamble
Included in:
- user-manual
////
Content between the document header and the first section title is called the preamble.
The preamble is optional.
.Preamble
[source]
----
include::preamble.adoc[]
----
When using the default Asciidoctor stylesheet, the <<lead-style,`lead` attribute>> is applied to the ... | {
"pile_set_name": "Github"
} |
/* SPDX-License-Identifier: GPL-2.0 */
#ifdef DEFINE_DWARF_REGSTR_TABLE
/* This is included in perf/util/dwarf-regs.c */
static const char * const s390_regstr_tbl[] = {
"%r0", "%r1", "%r2", "%r3", "%r4", "%r5", "%r6", "%r7",
"%r8", "%r9", "%r10", "%r11", "%r12", "%r13", "%r14", "%r15",
};
#endif
| {
"pile_set_name": "Github"
} |
<!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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2013-2014, yinqiwen <yinqiwen@gmail.com>
* Copyright (c) 2014, Matt Stancliff <matt@genges.com>.
* Copyright (c) 2015, Salvatore Sanfilippo <antirez@gmail.com>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided ... | {
"pile_set_name": "Github"
} |
import Icon from '../../components/Icon.vue'
Icon.register({
'brands/resolving': {
width: 496,
height: 512,
paths: [
{
d: 'M281.2 278.2l-197.9 57.2-28.6-98.6 188.2-54.1c52.7-15.3 65-8.1 71.1 12.8l11.2 39.3c5.6 19.9 2 30.1-44 43.4zM248.5 8c137 0 248.5 111.4 247.5 247.7 0 136.9-111.5 248.3-24... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - Sample.Localization</title>
<link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.0.0-alpha1/css/bootstrap.css" rel="styleshe... | {
"pile_set_name": "Github"
} |
Microbenchmark: reversing list of 100 elements 1 million times with slices
| {
"pile_set_name": "Github"
} |
# PULL UPDATE & LAUNCH DOCKER
# git pull && docker stack deploy --compose-file docker-compose.yml portainer
# REMOVE STACK
# docker stack rm mariadb
# ADD BASIC AUTH and ESCAPE FOR docker-compose usage
# htpasswd -bBn user password | sed 's/\$/\$\$/g' #escape for docker-compose usage
version: "3"
services:
... | {
"pile_set_name": "Github"
} |
---
title: MailItem.MarkForDownload Property (Outlook)
keywords: vbaol11.chm1376
f1_keywords:
- vbaol11.chm1376
ms.prod: outlook
api_name:
- Outlook.MailItem.MarkForDownload
ms.assetid: 7ab16b80-90c6-ef60-b1ce-95fe87ab0d06
ms.date: 06/08/2017
---
# MailItem.MarkForDownload Property (Outlook)
Returns or sets an **[O... | {
"pile_set_name": "Github"
} |
import "base_gcmessages.proto";
import "dota_gcmessages_common_match_management.proto";
option cc_generic_services = false;
message CDOTAMatchMetadataFile {
required int32 version = 1;
required uint64 match_id = 2;
optional .CDOTAMatchMetadata metadata = 3;
optional bytes private_metadata = 5;
}
message CDOTAMat... | {
"pile_set_name": "Github"
} |
/***********************************************************************
Copyright (c) 2006-2011, Skype Limited. 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 retai... | {
"pile_set_name": "Github"
} |
#include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <c... | {
"pile_set_name": "Github"
} |
{
"images": [
{
"filename": "ic_clear_white.png",
"idiom": "universal",
"scale": "1x"
},
{
"filename": "ic_clear_white_2x.png",
"idiom": "universal",
"scale": "2x"
},
{
"filename": "ic_clear_w... | {
"pile_set_name": "Github"
} |
define(['./generated-dep'], function (dep) { 'use strict';
console.log(dep.name);
});
| {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Oct 25 2017 03:49:04).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import "TPopoverController.h"
@interface TQueuedPopoverController : TPopoverController
{
shared_ptr_a833fc5c _queue;
struct T... | {
"pile_set_name": "Github"
} |
import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
function Header(props) {
const {
children,
className,
type,
prefixCls,
...otherProps
} = props
const classes = classNames(
className,
`${prefixCls}-header`,
{
[`${prefixCls}-... | {
"pile_set_name": "Github"
} |
#!perl -w
# vim: ft=perl
# this test is for bug 49719
# https://rt.cpan.org/Ticket/Display.html?id=49719
use strict;
use Test::More;
use DBI;
use DBI::Const::GetInfoType;
use Carp qw(croak);
use Data::Dumper;
use lib 't', '.';
require 'lib.pl';
my ($row, $sth, $dbh);
my ($table, $def, $rows, $errstr, $ret_ref);
use ... | {
"pile_set_name": "Github"
} |
// Copyright 2011 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 norm
import (
"fmt"
"testing"
"golang.org/x/text/transform"
)
func TestTransform(t *testing.T) {
tests := []struct {
f Form
in, out str... | {
"pile_set_name": "Github"
} |
//===-- RISCVMCObjectWriter.cpp - RISCV ELF writer --------------*- C++ -*-===//
//
// 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"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.