text stringlengths 2 99.9k | meta dict |
|---|---|
import logging
from meross_iot.model.enums import Namespace
_LOGGER = logging.getLogger(__name__)
class HubMixn(object):
__PUSH_MAP = {
Namespace.HUB_ONLINE: 'online',
Namespace.HUB_TOGGLEX: 'togglex',
Namespace.HUB_BATTERY: 'battery'
}
def __init__(self, device_uuid: str,
... | {
"pile_set_name": "Github"
} |
var toString = {}.toString;
module.exports = Array.isArray || function (arr) {
return toString.call(arr) == '[object Array]';
};
| {
"pile_set_name": "Github"
} |
package gloomyfish.opencvdemo;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute on an Androi... | {
"pile_set_name": "Github"
} |
package kernels
import (
"fmt"
"github.com/pa-m/sklearn/base"
"math"
"gonum.org/v1/gonum/floats"
"gonum.org/v1/gonum/mat"
//t "gorgonia.org/tensor"
t "github.com/pa-m/sklearn/gaussian_process/tensor"
)
// hyperparameter specification
// for no value_type is mat.Vector
// bounds is [2]float64
// IsFixed() is ... | {
"pile_set_name": "Github"
} |
// Copyright 2015 The Prometheus 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... | {
"pile_set_name": "Github"
} |
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2017 - ROLI Ltd.
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 5 End-User Lic... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://tempuri.org/">{
"Info": [
{
"IsSuccess": "True",
"InAddress": "臺中市豐原區中正路二二八號",
"InSRS": "EPSG:4326",
"InFuzzyType": "[單雙號機制]+[最近門牌號機制]",
"InFuzzyBuffer": "0",
"InIsOnlyFullMatch": "False",
"InIsLockCou... | {
"pile_set_name": "Github"
} |
evennia.utils.idmapper.manager
=====================================
.. automodule:: evennia.utils.idmapper.manager
:members:
:undoc-members:
:show-inheritance:
| {
"pile_set_name": "Github"
} |
Random numbers are everywhere from computer games to lottery systems, graphics software, statistical sampling, computer simulation and cryptography. Graphic below is a quick explanation to how the random numbers are generated and why they may not be truly random.
[](/guides/random-numbe... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals, absolute_import
import datetime
import functools
import numbers
import time
import six
import jaraco.functools
__metaclass__ = type
class Stopwatch:
"""
A simple stopwatch which starts automatically.
>>> w = Stopwatch()
>>> _1_sec = datetime.... | {
"pile_set_name": "Github"
} |
/*
* (C) Copyright 2011
* Holger Brunck, Keymile GmbH Hannover, holger.brunck@keymile.com
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <i2c.h>
#include <asm/io.h>
#include <linux/ctype.h>
#include "../common/common.h"
static void i2c_write_start_seq(void)
{
struct fsl_i2c *dev;
dev = (... | {
"pile_set_name": "Github"
} |
http_headers
log
parse
string_util
| {
"pile_set_name": "Github"
} |
#====================================================================
#
# wNim - Nim's Windows GUI Framework
# (c) Copyright 2017-2020 Ward
#
#====================================================================
import private/gdiobjects/wPen
export wPen
| {
"pile_set_name": "Github"
} |
//
// detail/posix_thread.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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 ASIO_DETAIL_P... | {
"pile_set_name": "Github"
} |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Setup\Module\Dependency\Report\Framework;
use Magento\Setup\Module\Dependency\Report\Writer\Csv\AbstractWriter;
/**
* Csv file writer for framework dependencies report
*/
class Writer extends Ab... | {
"pile_set_name": "Github"
} |
---
archs: [ armv7, armv7s, arm64, i386, x86_64 ]
platform: ios
install-name: /usr/lib/libReverseProxyDevice.dylib
current-version: 1
compatibility-version: 1
exports:
- archs: [ armv7, armv7s, arm64, i386, x86_64 ]
symbols: [ _RPCopyProxyDiction... | {
"pile_set_name": "Github"
} |
/*
Copyright 2016-present Google 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 by applicable law or agr... | {
"pile_set_name": "Github"
} |
<!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">
<head>
<title>CSS Test: Margin-top using picas with a positive zero value, +0pc</title>
<link rel="author" title="Microsoft" href="http://www.micr... | {
"pile_set_name": "Github"
} |
/*************************************************************
*
* Copyright (c) 2017 The MathJax Consortium
*
* 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"
} |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="wrap_content" android:layout_width="fill_parent" android:paddingBottom="5px">
<ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id... | {
"pile_set_name": "Github"
} |
[CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\DefaultIcon]
DefaultValue=%ThemeDir%Space My Computer.ico,0
[CLSID\{208D2C60-3AEA-1069-A2D7-08002B30309D}\DefaultIcon]
DefaultValue=%ThemeDir%Space Network Neighborhood.ico,0
[CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\DefaultIcon]
full=%ThemeDir%Space Recycle Full.ico,... | {
"pile_set_name": "Github"
} |
<?php
//
// ______ ______ __ __ ______
// /\ ___\ /\ ___\ /\_\ /\_\ /\ __ \
// \/\ __\ \/\ \____ \/\_\ \/\_\ \/\ \_\ \
// \/\_____\ \/\_____\ /\_\/\_\ \/\_\ \/\_\ \_\
// \/_____/ \/_____/ \/... | {
"pile_set_name": "Github"
} |
using Volo.Abp.Modularity;
namespace Volo.Abp.EventBus
{
[DependsOn(typeof(AbpEventBusModule))]
public class EventBusTestModule : AbpModule
{
}
} | {
"pile_set_name": "Github"
} |
FROM node:10
WORKDIR /celo-monorepo
# ensure yarn.lock is evaluated by kaniko cache diff
COPY lerna.json package.json yarn.lock ./
COPY scripts/ scripts/
COPY patches/ patches/
# Copy only pkg.json
COPY packages/typescript/package.json packages/typescript/
COPY packages/base/package.json packages/base/
COPY packages/... | {
"pile_set_name": "Github"
} |
package cn.ieclipse.smartim.settings;
import cn.ieclipse.smartim.common.RestUtils;
import com.intellij.openapi.options.Configurable;
import com.intellij.openapi.options.ConfigurationException;
import org.jetbrains.annotations.Nls;
import org.jetbrains.annotations.Nullable;
import javax.swing.*;
import java.awt.event.... | {
"pile_set_name": "Github"
} |
{
"data": [
{
"y": [
"12 AM diagonal",
"1 AM diagonal",
"2 AM diagonal",
"3 AM diagonal",
"4 AM diagonal",
"5 AM diagonal",
"6 AM diagonal",
"7 AM diagonal",
"8 AM diagonal",
"9 AM diagonal",
"10 AM diagonal",
"1... | {
"pile_set_name": "Github"
} |
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allo... | {
"pile_set_name": "Github"
} |
--open-files-limit=65535
--secure-file-priv=$MYSQL_TMP_DIR
| {
"pile_set_name": "Github"
} |
/**
* ***************************************************************************
* Copyright (c) 2010 Qcadoo Limited
* Project: Qcadoo MES
* Version: 1.4
*
* This file is part of Qcadoo.
*
* Qcadoo is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public Li... | {
"pile_set_name": "Github"
} |
//
// UIView+CustomAutoLayout.h
// CommonLibrary
//
// Created by Alexi on 13-11-20.
// Copyright (c) 2013年 ywchen. All rights reserved.
//
#import <UIKit/UIKit.h>
// 使用装饰模式进行自动布局处理
#ifdef DEBUG
#define IsArgInvalid(curView, brotherView) NSAssert((self.superview == brotherView.superview) && !(CGRectEqualToRect(... | {
"pile_set_name": "Github"
} |
actions
logout
"Leave the chat-room."
self push: 'event' with: 'left'.
self session username: nil | {
"pile_set_name": "Github"
} |
/**
* Licensed to jclouds, Inc. (jclouds) under one or more
* contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. jclouds licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use ... | {
"pile_set_name": "Github"
} |
## XPLUGIN: Test case for triggering interactive timeout while using a SSL connection
--echo Preamble
--source include/not_windows.inc
--source ../include/have_performance_schema_threads.inc
--source include/xplugin_preamble.inc
###################################################################
--write_file $MYSQL_... | {
"pile_set_name": "Github"
} |
# BetterMeans - Work 2.0
# Copyright (C) 2006-2011 See readme for details and license#
module MessagesHelper
def link_to_message(message)
return '' unless message
link_to h(truncate(message.subject, :length => 60)), :controller => 'messages',
:action => 'show',
... | {
"pile_set_name": "Github"
} |
import React from 'react';
import PropTypes from 'prop-types';
import cn from 'classnames';
import mapToCssModules from 'map-to-css-modules';
export const defaultProps = {
tag: 'div',
};
export const propTypes = {
/**
* @ignore
*/
className: PropTypes.string,
/**
* Replace the default component tag by... | {
"pile_set_name": "Github"
} |
// license:BSD-3-Clause
// copyright-holders:Fabio Priuli
/**********************************************************************
Sega Game Gear "SMS Controller Adaptor" emulation
Also known as "Master Link" cable.
**********************************************************************/
#ifndef MAME_BUS_GAMEG... | {
"pile_set_name": "Github"
} |
//
// Prefix header
//
// The contents of this file are implicitly included at the beginning of every source file.
//
#import <Availability.h>
#ifndef __IPHONE_5_0
#warning "This project uses features only available in iOS SDK 5.0 and later."
#endif
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#import <Foundation/Fou... | {
"pile_set_name": "Github"
} |
package epi;
import epi.test_framework.EpiTest;
import epi.test_framework.GenericTest;
public class CountBits {
@EpiTest(testDataFile = "count_bits.tsv")
public static short countBits(int x) {
short numBits = 0;
while (x != 0) {
numBits += (x & 1);
x >>>= 1;
}
return numBits;
}
... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// =============================================================================
// PLEASE READ
//
// In general, you should not be adding stuff to th... | {
"pile_set_name": "Github"
} |
var benchmark = require('benchmark')
var suite = new benchmark.Suite()
global.NewBuffer = require('../../').Buffer // native-buffer-browserify
var LENGTH = 50
var newTarget = NewBuffer(LENGTH)
suite.add('NewBuffer#bracket-notation', function () {
for (var i = 0; i < LENGTH; i++) {
newTarget[i] = i + 97
}
})... | {
"pile_set_name": "Github"
} |
[Contents](../Contents.md) \| [Prev (8 Testing and Debugging)](../08_Testing_debugging/00_Overview.md)
# 9 Packages
We conclude the course with a few details on how to organize your code
into a package structure. We'll also discuss the installation of
third party packages and preparing to give your own code away to ... | {
"pile_set_name": "Github"
} |
--- !tapi-tbd-v2
archs: [ armv7, armv7s, arm64, arm64e ]
platform: ios
flags: [ flat_namespace, not_app_extension_safe ]
install-name: /System/Library/PrivateFrameworks/ActivitySharing.framework/ActivitySharing
current-version: 1
compatibility-version: 1
objc-... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:backgr... | {
"pile_set_name": "Github"
} |
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/highcharts-more.js"></script>
<div id="container" style="height: 300px; width: 400px; margin: 0 auto;"></div> | {
"pile_set_name": "Github"
} |
Clazz.declarePackage ("J.renderbio");
Clazz.load (["J.renderbio.StrandsRenderer"], "J.renderbio.MeshRibbonRenderer", null, function () {
c$ = Clazz.declareType (J.renderbio, "MeshRibbonRenderer", J.renderbio.StrandsRenderer);
Clazz.overrideMethod (c$, "renderBioShape",
function (bioShape) {
if (this.wireframeOnly... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env perl
# Decode HTML entities (e.g. < becomes <)
use HTML::Entities;
while(<>) {print decode_entities($_);}
| {
"pile_set_name": "Github"
} |
// Copyright (c) 2018 Demerzel Solutions Limited
// This file is part of the Nethermind library.
//
// The Nethermind 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 3 of ... | {
"pile_set_name": "Github"
} |
Changes need to be published manually to coursera.
- Install jekyll
- Run "jekyll serve" on your machine
- Copy the generated HTML and paste it into the corresponding page on the Coursera class site
| {
"pile_set_name": "Github"
} |
/*
* Código de identificación fiscal ( CIF ) is the tax identification code for Spanish legal entities
* Further rules can be found in Spanish on http://es.wikipedia.org/wiki/C%C3%B3digo_de_identificaci%C3%B3n_fiscal
*/
$.validator.addMethod( "cifES", function( value ) {
"use strict";
var num = [],
controlDigit... | {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0
#include <linux/ceph/ceph_debug.h>
#include <linux/bug.h>
#include <linux/err.h>
#include <linux/random.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/ceph/mdsmap.h>
#include <linux/ceph/messenger.h>
#include <linux/ceph/decode.h>
#include "super.h"
/*
* ch... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2013 Michael Brown <mbrown@fensystems.co.uk>.
*
* 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 any later version.
*
* This progr... | {
"pile_set_name": "Github"
} |
version https://git-lfs.github.com/spec/v1
oid sha256:a33ceece5595f59b6aec5ac123576f5e7a0902deb26fbd3055ce2921d70d126c
size 396331
| {
"pile_set_name": "Github"
} |
var type = 5;
var title = "Small Herb Garden";
var desc = "This project is to create a Small Herb Garden.";
var completion = "Congrats, you made a Small Herb Garden!";
var duration = 0;
var claimable = 0;
var requirements = {
"r1541" : {
"bucket_id" : "1",
"group_id" : "1",
"type" : "item",
"class_id" : "pl... | {
"pile_set_name": "Github"
} |
Cresce nel Fano con cui gioca per tre stagioni in Serie C.
Ha giocato alcune partite amichevoli sia con l'Under-19 che con l'Under-21.
Ha giocato più di 150 partite in Championship.
Il 6 gennaio, alla prima occasione, fa il suo esordio con la maglia bianconera, nella partita casalinga persa per 2-1 contro la Sampdoria.... | {
"pile_set_name": "Github"
} |
{ "backgroundcolor":"#000000",
"height":39,
"layers":[
{
"data":[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,... | {
"pile_set_name": "Github"
} |
---
id: 5f45b4c81cea7763550e40df
title: Part 78
challengeType: 0
isHidden: true
---
## Description
<section id='description'>
To keep with the same color theme you have already been using (black and brown), change the color for when the link is visited to `black` and use `brown` for when the link is actually clicked.... | {
"pile_set_name": "Github"
} |
# =================================================================
#
# Authors: Francesco Bartoli <xbartolone@gmail.com>
#
# Copyright (c) 2020 Francesco Bartoli
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to... | {
"pile_set_name": "Github"
} |
/*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | {
"pile_set_name": "Github"
} |
# -------------------------------------------------------------------
# Config file for the `rawlog-grabber` MRPT application.
# Usage:
# rawlog-grabber CONFIG_FILE.ini
#
# Each section `[XXXXX]` but `[global]` defines a dedicated thread where a
# sensor-specific driver runs. Each thread collects observation... | {
"pile_set_name": "Github"
} |
using SimplCommerce.Infrastructure.Models;
namespace SimplCommerce.Module.Catalog.Models
{
public class ProductCategory : EntityBase
{
public bool IsFeaturedProduct { get; set; }
public int DisplayOrder { get; set; }
public long CategoryId { get; set; }
public long ProductId... | {
"pile_set_name": "Github"
} |
require File.expand_path('../helper', __FILE__)
class TestRakeInvocationChain < Rake::TestCase
def setup
super
@empty = Rake::InvocationChain::EMPTY
@first_member = "A"
@second_member = "B"
@one = @empty.append(@first_member)
@two = @one.append(@second_member)
end
def test_append
... | {
"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"
} |
/* a demo of defining floating point functions,
and floating point complex functions,
macsyma macros, and the macsyma compiler
for more details, see the numer directory.*/
/* 5:43pm thursday, 20 march 1980
if this demo screws up it is because something has changed and
it is out of date. please tell gjc... | {
"pile_set_name": "Github"
} |
/*
* linux/drivers/video/pmag-aa-fb.c
* Copyright 2002 Karsten Merker <merker@debian.org>
*
* PMAG-AA TurboChannel framebuffer card support ... derived from
* pmag-ba-fb.c, which is Copyright (C) 1999, 2000, 2001 by
* Michael Engel <engel@unix-ag.org>, Karsten Merker <merker@debian.org>
* and Harald Koerfgen <hk... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<playground version='6.0' target-platform='ios' display-mode='rendered'/> | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Diagnostics;
namespace MemTraceTool
{
public interface IMemoryInfo
{
ulong MinAddress { get; }
ulong MaxAddress { get... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Test: 'contain: size' should force elements to be monolithic, i.e. to not fragment inside a multicol element.</title>
<link rel="author" title="Morgan Rae Reschenberg" href="mailto:mreschenberg@berkeley.edu">
<link rel="help" href="https://drafts.css... | {
"pile_set_name": "Github"
} |
# WPA2-EAP/CCMP using EAP-TLS
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="example wpa2-eap network"
key_mgmt=WPA-EAP
proto=WPA2
pairwise=CCMP
group=CCMP
eap=TLS
ca_cert="/etc/cert/ca.pem"
private_key="/etc/cert/user.p12"
private_key_passwd="PKCS#12 passhrase"
}
| {
"pile_set_name": "Github"
} |
//
// MonoDevelopCredentialProvider.cs
//
// Author:
// Matt Ward <ward.matt@gmail.com>
//
// Copyright (C) 2013 Matthew Ward
//
// 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 Sof... | {
"pile_set_name": "Github"
} |
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.5
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical target... | {
"pile_set_name": "Github"
} |
//-----------------------------------------------------------------------------
// VST Plug-Ins SDK
// VSTGUI: Graphical User Interface Framework not only for VST plugins :
//
// Version 4.3
//
//-----------------------------------------------------------------------------
// VSTGUI LICENSE
// (c) 2015, Steinberg Media... | {
"pile_set_name": "Github"
} |
// Copyright Aleksey Gurtovoy 2000-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// Preprocessed version of "boost/mpl/vector/vector30.hpp" header
// -- DO NOT modify by hand!
namespace boost { ... | {
"pile_set_name": "Github"
} |
/* 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 can obtain one at http://mozilla.org/MPL/2.0/. */
const ps = require("child_process");
const path = require("path");
const { isFirefoxRunning } = require("./utils/f... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2017 Capital One Services, LLC and Bitwise, 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 applicab... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Type Name="XmlBuilder" FullName="System.Web.UI.WebControls.XmlBuilder">
<TypeSignature Language="C#" Value="public class XmlBuilder : System.Web.UI.ControlBuilder" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<... | {
"pile_set_name": "Github"
} |
{-
expireGititCache - (C) 2009 John MacFarlane, licensed under the GPL
This program is designed to be used in post-update hooks and other scripts.
Usage: expireGititCache base-url [file..]
Example:
expireGititCache http://localhost:5001 page1.page foo/bar.hs "Front Page.page"
will produce POST requests to htt... | {
"pile_set_name": "Github"
} |
<?xml version="1.0"?>
<ruleset name="Squiz">
<description>The Squiz coding standard.</description>
<!-- Include some specific sniffs -->
<rule ref="Generic.CodeAnalysis.EmptyStatement"/>
<rule ref="Generic.Commenting.Todo"/>
<rule ref="Generic.Commenting.DocComment"/>
<rule ref="Generic.ControlStructures.InlineC... | {
"pile_set_name": "Github"
} |
-----BEGIN CERTIFICATE-----
MIIDdzCCAl+gAwIBAgIEYfmBLTANBgkqhkiG9w0BAQsFADBsMRAwDgYDVQQGEwdVbmtub3duMRAw
DgYDVQQIEwdVbmtub3duMRAwDgYDVQQHEwdVbmtub3duMRAwDgYDVQQKEwdVbmtub3duMRAwDgYD
VQQLEwdVbmtub3duMRAwDgYDVQQDEwdVbmtub3duMB4XDTE1MTIyMjA3MzEwOFoXDTE1MTIyOTA3
MzEwOFowbDEQMA4GA1UEBhMHVW5rbm93bjEQMA4GA1UECBMHVW5rbm93bj... | {
"pile_set_name": "Github"
} |
# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=znver1 -iterations=1 -resource-pressure=false -timeline < %s | FileCheck %s
imul %rax, %rbx
lzcnt %ax, %bx
add %ecx, %ebx
# CHECK: Iterations: 1
# CHECK-NEXT: Instruct... | {
"pile_set_name": "Github"
} |
#include "../Eigen/Core"
#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
#define CV_QUALIFIER const
#else
#define CV_QUALIFIER
#endif
using namespace Eigen;
void foo(CV_QUALIFIER Matrix3d &m){
Transpose<Matrix3d> t(m);
}
int main() {}
| {
"pile_set_name": "Github"
} |
// Copyright David Abrahams 2002.
// 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 FORCE_INSTANTIATE_DWA200265_HPP
# define FORCE_INSTANTIATE_DWA200265_HPP
namespace boost { namespace python { name... | {
"pile_set_name": "Github"
} |
TOP = ../..
SWIG = $(TOP)/../preinst-swig
SRCS = example.c
AS_SRCS = runme.as ExampleModule.as
TARGET = example
INTERFACE = example.i
LLVM_BCS = example example_wrap
all::
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' AS_SRCS='$(AS_SRCS)' \
SWIG='$(SWIG)' TARGET='$(TARGET)' INTERFACE='$(INT... | {
"pile_set_name": "Github"
} |
{{ define "title" }}Reflected XSS in POST processing (post.1){{end}}
<!doctype html><html><head><title>{{ template "title" }}</title></head><body>
<H2>Post Full Javascript injection test</H2>
<p>
<FORM method="POST" action="post1">
<INPUT type="text" id="in" name="in" size="40" value="{{.In}}">
<INPUT type="Submit" v... | {
"pile_set_name": "Github"
} |
import * as glob from "glob";
export function globProxyFactory(
params: {
cwdAndRoot: string;
}
) {
const { cwdAndRoot } = params;
function globProxy(
params: {
pathWithWildcard: string
}
): Promise<string[]> {
const { pathWithWildcard } = params;
... | {
"pile_set_name": "Github"
} |
import { search } from '../apis';
let jsonData = [];
export const MAX_DATA = 100000;
const defaultQuery = {
query: {
match_all: {},
},
};
/**
* A function to convert multilevel object to single level object and use key value pairs as Column and row pairs using recursion
*/
export const flatten = data => {
co... | {
"pile_set_name": "Github"
} |
// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing
se(t: () as a
var b let a {
class A {
{
}
let a {
let f = c {
func a
{
extension NSData {
class B {
}
struct A {
struct A : a {
enum B {
class
case c,
... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!-- generated on 11/28/17 13:50:43 by SUMO Version dev-SVN-r26691
This data file and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v20.htm... | {
"pile_set_name": "Github"
} |
{
"name": "responsive-email",
"description": "A table-based (but responsive) email template.",
"version": "1.0.3",
"keywords": [
"email",
"template",
"responsive",
"html",
"css"
],
"author": {
"name": "Phil Wareham",
"url": "https://twitter.com/philwareham"
},
"repository": {... | {
"pile_set_name": "Github"
} |
project_path: /web/tools/chrome-devtools/_project.yaml
book_path: /web/tools/chrome-devtools/_book.yaml
description: Learn how to log messages to the Console.
{# wf_updated_on: 2020-07-10 #}
{# wf_published_on: 2019-04-19 #}
{# wf_blink_components: Platform>DevTools #}
[expand]: /web/tools/chrome-devtools/images/shar... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 1999, 2006, 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 ... | {
"pile_set_name": "Github"
} |
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{901BDCD7-6F86-4C0E-98C9-DB2281620CAE}</ProjectGuid>
<ProjectVersion>12.0</ProjectVersion>
<MainSource>contacts.dpr</MainSource>
<Config Condition="'$(Config)'==''">Debug</Config>
<DCC_DCCCompiler... | {
"pile_set_name": "Github"
} |
; Copyright (c) Rich Hickey. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any ... | {
"pile_set_name": "Github"
} |
using System;
namespace Chloe.DbExpressions
{
public class DbConstantExpression : DbExpression
{
object _value;
Type _type;
public static readonly DbConstantExpression Null = new DbConstantExpression(null);
public static readonly DbConstantExpression StringEmpty = new DbConsta... | {
"pile_set_name": "Github"
} |
//===- Archive.cpp - ar File Format implementation ------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | {
"pile_set_name": "Github"
} |
package ch.cyberduck.binding.quicklook;
/*
* Copyright (c) 2002-2020 iterate GmbH. All rights reserved.
* https://cyberduck.io/
*
* 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 ve... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) AXA Group Operations Spain S.A.
*
* 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,... | {
"pile_set_name": "Github"
} |
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# ... | {
"pile_set_name": "Github"
} |
/*
* JFFS2 -- Journalling Flash File System, Version 2.
*
* Copyright © 2006 NEC Corporation
*
* Created by KaiGai Kohei <kaigai@ak.jp.nec.com>
*
* For licensing information, see the file 'LICENCE' in this directory.
*
*/
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/jffs2.h>
#include <linu... | {
"pile_set_name": "Github"
} |
// The MIT License (MIT)
// Copyright (c) 2016, Microsoft
// 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, mo... | {
"pile_set_name": "Github"
} |
/*
* Created by Angel Leon (@gubatron), Alden Torres (aldenml)
* Copyright (c) 2011-2019, FrostWire(R). 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 versio... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.