text stringlengths 2 99.9k | meta dict |
|---|---|
{
"title":"getElementsByClassName",
"description":"Method of accessing DOM elements by class name",
"spec":"https://dom.spec.whatwg.org/#dom-document-getelementsbyclassname",
"status":"ls",
"links":[
{
"url":"https://www.quirksmode.org/dom/tests/basics.html#getElementsByClassName",
"title":"Te... | {
"pile_set_name": "Github"
} |
/*-------------------------------------------------------------------------
*
* gistxlog.h
* gist xlog routines
*
* Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* src/include/access/gistxlog.h
*
*--------------... | {
"pile_set_name": "Github"
} |
package parser
import "github.com/hashicorp/hcl/hcl/ast"
// flattenObjects takes an AST node, walks it, and flattens
func flattenObjects(node ast.Node) {
ast.Walk(node, func(n ast.Node) (ast.Node, bool) {
// We only care about lists, because this is what we modify
list, ok := n.(*ast.ObjectList)
if !ok {
re... | {
"pile_set_name": "Github"
} |
#pragma once
#if !defined(isectNil)
#define isectNil ((ISECT)-1)
#endif
typedef IMOD XIMOD; // external module index; 1 based
inline IMOD imodForXimod(XIMOD ximod) { return ximod - 1; }
inline XIMOD ximodForImod(IMOD imod) { return imod + 1; }
struct SC20 {
ISECT isect;
OFF off;
CB cb;
... | {
"pile_set_name": "Github"
} |
version: '{build}'
environment:
matrix:
# for Python versions available on Appveyor, see
# https://www.appveyor.com/docs/windows-images-software/#python
# only enable one version, otherwise it takes too long!
- PYTHON: "C:\\Python38-x64"
image: Visual Studio 2019
install:
- git submodule update -... | {
"pile_set_name": "Github"
} |
--- Makefile
+++ Makefile
@@ -139,7 +139,10 @@
# Targets
+VERSION=1.0.13
+MAJOR_VERSION=$(firstword $(subst ., ,$(VERSION)))
LIBGSM = $(LIB)/libgsm.a
+LIBGSMSO= $(LIB)/libgsm.so.$(VERSION)
TOAST = $(BIN)/toast
UNTOAST = $(BIN)/untoast
@@ -279,7 +282,7 @@
# Target rules
-all: $(LIBGSM) $(TOAST) $(TCAT) $... | {
"pile_set_name": "Github"
} |
// mksyscall.pl -l32 -tags darwin,arm syscall_bsd.go syscall_darwin.go syscall_darwin_arm.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build darwin,arm
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
fu... | {
"pile_set_name": "Github"
} |
# This file is distributed under the same license as the Django package.
#
# Translators:
# <chalisesagar@gmail.com>, 2012.
# Paras Nath Chaudhary <opnchaudhary@gmail.com>, 2012.
# Sagar Chalise <chalisesagar@gmail.com>, 2011.
msgid ""
msgstr ""
"Project-Id-Version: Django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-... | {
"pile_set_name": "Github"
} |
var convert = require('./convert'),
func = convert('isWeakSet', require('../isWeakSet'), require('./_falseOptions'));
func.placeholder = require('./placeholder');
module.exports = func;
| {
"pile_set_name": "Github"
} |
package me.everything.providers.sample.fragments;
import android.widget.TextView;
import me.everything.providers.core.Data;
import me.everything.providers.sample.base.GetEntitiesTask;
import me.everything.providers.sample.base.RecycleViewListFragment;
import me.everything.providers.sample.custom.Post;
import me.every... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2011 Texas Instruments Inc.
*
* Author: Margarita Olaya <magi@slimlogic.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 (... | {
"pile_set_name": "Github"
} |
SUBROUTINE IFP1C (I81,NZ)
C
LOGICAL BIT64
INTEGER CORE(1),COREY(401),SCR1,THRU,OTPE,EXCE,BLANK,
1 NIFP1C(2)
COMMON /SYSTEM/ SYSBUF,OTPE,NOGO,INTP,MPCN,SPCN,METHOD,LOADNN,
1 NLPP,STFTEM,IPAGE,LINE,TLINE,MAXLIN,DATE(3),TIM,
2 ... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2010-2019 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 "lice... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env bash
set -e
set -o pipefail
# import our common stuff
source "$(dirname ${BASH_SOURCE})/common.sh"
# TODO: work with both release branch and major release
git::ensure-release-branch
git::export-current-version
# check the next version
next_ver=$(git::next-version)
features=""
bugfixes=""
breaking=""
... | {
"pile_set_name": "Github"
} |
{
"name": "example",
"version": "0.0.0",
"private": true,
"author": "Andre Staltz",
"license": "MIT",
"dependencies": {
"@cycle/run": "3.1",
"@cycle/dom": "17.2",
"@cycle/isolate": "3.0",
"@types/es6-shim": "^0.31.32",
"cycle-onionify": "file:../..",
"xstream": "10.x"
},
"devDepe... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2018 The shiro-root contributors
*
* 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"
} |
#
# TI/Luminary Stellaris LM3S6965 Evaluation Kits
#
# http://www.ti.com/tool/ek-lm3s6965
#
# NOTE: using the on-board FT2232 JTAG/SWD/SWO interface is optional!
# so is using it in JTAG mode, as done here.
source [find interface/ftdi/luminary.cfg]
# 20k working area
set WORKAREASIZE 0x5000
set CHIPNAME lm3s6965
# i... | {
"pile_set_name": "Github"
} |
package com.intellij.lang.javascript.flex.run;
import com.intellij.execution.ExecutionException;
import com.intellij.execution.Executor;
import com.intellij.execution.configuration.EmptyRunProfileState;
import com.intellij.execution.configurations.*;
import com.intellij.execution.process.OSProcessHandler;
import com.i... | {
"pile_set_name": "Github"
} |
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <fs/glib.h>
#include <fs/init.h>
#include <fs/thread.h>
#include <stdlib.h>
#include <string.h>
/* Use real malloc because of inconsistencies in use of free / g_free */
#define USE_REAL_MALLOC
static fs_mutex *g_init_mutex;
void fs_init(void)
{
#ifdef USE_GLI... | {
"pile_set_name": "Github"
} |
#include <math_functions.h> // CUDA's, not caffe's, for fabs, signbit
#include <thrust/device_vector.h>
#include <thrust/functional.h> // thrust::plus
#include <thrust/reduce.h>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include "caffe/common.hpp"
#include "caffe/util/math_functions.hpp"
namespace caf... | {
"pile_set_name": "Github"
} |
SAX.setDocumentLocator()
SAX.startDocument()
SAX.startElement(rec)
SAX.characters(
, 1)
SAX.startElement(eg)
SAX.pcdata(<!ENTITY % pub "&, 162)
SAX.endElement(eg)
SAX.characters(
then the replacement text for, 43)
SAX.startElement(code)
SAX.characters(book, 4)
SAX.endElement(code)
SAX.characters(" is:
, 6)
SAX.start... | {
"pile_set_name": "Github"
} |
Recently, the popular kosher dairy eatery & pizzeria in South Florida, Foozo Artisan Pizza, moved its original location a block away, expanding into a larger space that was formerly occupied by Blaze BBQ and Fuego, which had closed down at 2520 NE Miami Gardens Dr. in North Miami Beach.
Expanding further into South Fl... | {
"pile_set_name": "Github"
} |
#region Copyright (C) 2007-2018 Team MediaPortal
/*
Copyright (C) 2007-2018 Team MediaPortal
http://www.team-mediaportal.com
This file is part of MediaPortal 2
MediaPortal 2 is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published b... | {
"pile_set_name": "Github"
} |
<blc:form th:remove="tag">
<th:block th:include="components/entityForm"
th:with="additionalClasses='modal-form'">
</th:block>
</blc:form>
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<option name="DEFAULT_COMPILER" value="Javac" />
<resourceExtensions />
<wildcardResourcePatterns>
<entry name="!?*.java" />
<entry name="!?*.form" />
<entry name="!?*.class" />
<e... | {
"pile_set_name": "Github"
} |
/*
* This file is part of Hootenanny.
*
* Hootenanny 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.
*
* This program is distri... | {
"pile_set_name": "Github"
} |
/**
* Copyright 2019, OpenCensus 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 ... | {
"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.
#ifndef NET_BASE_NET_ERRORS_H__
#define NET_BASE_NET_ERRORS_H__
#include <string>
#include <vector>
#include "base/basictypes.h"
#include "base/file... | {
"pile_set_name": "Github"
} |
using System.Diagnostics.CodeAnalysis;
using Dev2.Runtime.ServiceModel.Data;
namespace Dev2.Tests.Activities.ActivityTests
{
[ExcludeFromCodeCoverage]
public static class TestUtils
{
public static WebSource CreateWebSourceWithCredentials()
{
return new WebSource()
{
... | {
"pile_set_name": "Github"
} |
#ifndef fmi2Functions_h
#define fmi2Functions_h
/* This header file must be utilized when compiling a FMU.
It defines all functions of the
FMI 2.0.1 Model Exchange and Co-Simulation Interface.
In order to have unique function names even if several FMUs
are compiled together (e.g. for embedde... | {
"pile_set_name": "Github"
} |
class Mapnik < Formula
desc "Toolkit for developing mapping applications"
homepage "https://mapnik.org/"
url "https://github.com/mapnik/mapnik/releases/download/v3.0.23/mapnik-v3.0.23.tar.bz2"
sha256 "4b1352e01f7ce25ab099e586d7ae98e0b74145a3bf94dd365cb0a2bdab3b9dc2"
license "LGPL-2.1"
revision 3
head "htt... | {
"pile_set_name": "Github"
} |
profile False
controller_debug_mode False
cli True
listen_port 6634
test_duration_sec 30
total_traffic_prefix total-traffic
slack_factor 5.0
topo_args [1, 1]
results_folder ./results/
policy_args ['n', '1', 'm', '1']
test congested_link
| {
"pile_set_name": "Github"
} |
PEMU_LIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
# Local configure fragment for sysdeps/x86_64/elf.
if test "$usetls" != no; then
# Check for support of thread-local storage handling in assembler and linker.
AC_CACHE_CHECK(for x86-64 TLS support, libc_cv_x86_64_tls, [dnl
cat > conftest.s <<\EOF... | {
"pile_set_name": "Github"
} |
package io.quarkus.benchmark.resource.pgclient;
import io.quarkus.benchmark.model.Fortune;
import io.quarkus.benchmark.repository.pgclient.FortuneRepository;
import io.quarkus.vertx.web.Route;
import io.vertx.core.http.HttpHeaders;
import io.vertx.ext.web.RoutingContext;
import io.vertx.reactivex.ext.web.templ.rocker.... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2017-2019 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | {
"pile_set_name": "Github"
} |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
export * from './autosize';
export * from './input';
export * from './input-errors';
export * from './input-module';
e... | {
"pile_set_name": "Github"
} |
open Graphics
let round x =
int_of_float (floor (x +. 0.5))
let () =
open_graph "";
let cols = size_x () in
let rows = size_y () in
let colors = [| black; red; green; blue; magenta; cyan; yellow; white |] in
let n = Array.length colors in
let bar_width = (float cols) /. (float n) in
Array.iteri (fun i... | {
"pile_set_name": "Github"
} |
/* General netfs cache on cache files internal defs
*
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free... | {
"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.
[
{
"namespace": "pageCapture",
"description": "Use the <code>chrome.pageCapture</code> API to save a tab as MHTML.",
"functions": [
... | {
"pile_set_name": "Github"
} |
// RUN: rm -rf %t
// Use -DA=0 so that there is at least one preprocessor option serialized after the diagnostic options.
// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -fimplicit-module-maps -I %S/Inputs %s -DA=0 -Rmodule-build -verify
// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -fimplicit-module-maps -... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2019 Amazon.com, Inc. or its affiliates.
* Licensed under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | {
"pile_set_name": "Github"
} |
>>> Flow 1 (client to server)
00000000 16 03 01 00 5d 01 00 00 59 03 03 8e 50 ff 02 c4 |....]...Y...P...|
00000010 3b 5e dd ee 59 d1 3a e1 db f1 30 f4 bb a7 8a 8c |;^..Y.:...0.....|
00000020 b2 d2 1a fd f8 a4 c9 e4 5f 41 e1 00 00 04 00 2f |........_A...../|
00000030 00 ff 01 00 00 2c 00 0d 00 20 00 1e 06 01 ... | {
"pile_set_name": "Github"
} |
//
// Project_37___CoreDataTests.swift
// Project 37 - CoreDataTests
//
// Created by 陈炯 on 16/7/14.
// Copyright © 2016年 Jiong. All rights reserved.
//
import XCTest
@testable import Project_37___CoreData
class Project_37___CoreDataTests: XCTestCase {
override func setUp() {
super.setUp()
... | {
"pile_set_name": "Github"
} |
var pathToRegExp = require('./');
var assert = require('assert');
describe('path-to-regexp', function () {
describe('strings', function () {
it('should match simple paths', function () {
var params = [];
var m = pathToRegExp('/test', params).exec('/test');
assert.equal(params.length, 0);
... | {
"pile_set_name": "Github"
} |
From: AlexeyBarabash <alexey@brave.com>
Date: Thu, 2 Nov 2017 18:21:16 +0200
Subject: Allow playing audio in background
---
media/blink/webmediaplayer_impl.cc | 12 +++++++++++-
media/blink/webmediaplayer_impl.h | 2 ++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/media/blink/webmediaplayer_impl.c... | {
"pile_set_name": "Github"
} |
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2002-2004 - INRIA - Vincent COUVERT
//
// Copyright (C) 2012 - 2016 - Scilab Enterprises
//
// This file is hereby licensed under the terms of the GNU GPL v2.0,
// pursuant to article 5.3.4 of the CeCILL v.2.1.
// This file was original... | {
"pile_set_name": "Github"
} |
{{#view "form-fields/form-section" appearsOnStatementAsLabelText=view.appearsOnStatementAsLabelText appearsOnStatementAsMaxLength=view.appearsOnStatementAsMaxLength debitableBankAccounts=view.debitableBankAccounts model=view.model sectionTitle="Payment information"}}
{{#if view.debitableBankAccounts}}
{{view "form-f... | {
"pile_set_name": "Github"
} |
import Component from '../base'
import default_parser from '../../default_parser.js'
import { required } from '../../validators'
/**
* A Component to contain the dashboard.
* @module components/root
* @param args Component arguments
* @param args.title Document title (`<title>`)
* @returns {function}
*
* @exam... | {
"pile_set_name": "Github"
} |
<Bindings>
<!-- Commentator Bindings -->
<Binding name="COMMENTATORRESET" category="BINDING_HEADER_COMMENTATOR">
Commentator:Reset();
</Binding>
<Binding name="COMMENTATORMOVESPEEDINCREASE" header="COMMENTATORCAMERA" category="BINDING_HEADER_COMMENTATOR">
Commentator:ModifyCameraSpeed(1);
</Binding>
<Bindi... | {
"pile_set_name": "Github"
} |
/* Copyright 2010-present 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 in wr... | {
"pile_set_name": "Github"
} |
#
# misc test suite Makefile.
#
# Copyright (C) 2009, Cisco Systems Inc.
# Copyright (C) 2010, Linux Test Project.
#
# 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 vers... | {
"pile_set_name": "Github"
} |
/*****************************************************************
|
| AP4 - odda Atom
|
| Copyright 2002-2008 Axiomatic Systems, LLC
|
|
| This file is part of Bento4/AP4 (MP4 Atom Processing Library).
|
| Unless you have obtained Bento4 under a difference license,
| this version of Bento4 is Bento4|GPL... | {
"pile_set_name": "Github"
} |
package plugins;
import java.io.IOException;
import com.sun.squawk.VM;
import sics.port.PluginPPort;
import sics.port.PluginRPort;
import sics.plugin.PlugInComponent;
public class Square extends PlugInComponent {
private PluginPPort pub, sp, st, led;
private PluginRPort ab, w1, w2, adc, sub;
public Squa... | {
"pile_set_name": "Github"
} |
/* des.c - DES and Triple-DES encryption/decryption Algorithm
* Copyright (C) 1998, 1999, 2001, 2002, 2003,
* 2008 Free Software Foundation, Inc.
*
* This file is part of Libgcrypt.
*
* Libgcrypt is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser general... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item type="id" name="viewpager" />
</resources> | {
"pile_set_name": "Github"
} |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\App;
use Magento\Framework\ObjectManagerInterface;
class ScopeResolver implements ScopeResolverInterface
{
/**
* @var \Magento\Store\Model\StoreManagerInterface
*/
prot... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 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/licenses/LICENSE-2.0
... | {
"pile_set_name": "Github"
} |
/**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE... | {
"pile_set_name": "Github"
} |
/*=============================================================================
Copyright (c) 2001-2011 Joel de Guzman
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)
This is an auto-generated file... | {
"pile_set_name": "Github"
} |
/*
Copyright (c) 2007-2015 Contributors as noted in the AUTHORS file
This file is part of libzmq, the ZeroMQ core engine in C++.
libzmq is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Found... | {
"pile_set_name": "Github"
} |
#region License
/*
Copyright (c) 2010-2014 Danko Kozar
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, ... | {
"pile_set_name": "Github"
} |
#!/bin/bash
#
# Copyright (c) 2011 Bryan Schumaker <bjschuma@netapp.com>
#
# Script for easier NFSD fault injection
# Check that debugfs has been mounted
DEBUGFS=`cat /proc/mounts | grep debugfs`
if [ "$DEBUGFS" == "" ]; then
echo "debugfs does not appear to be mounted!"
echo "Please mount debugfs and try again"
ex... | {
"pile_set_name": "Github"
} |
/*
* Anarres C Preprocessor
* Copyright (c) 2007-2008, Shevek
*
* 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"
} |
// call something on iterator step with safe closing on error
var anObject = require('./$.an-object');
module.exports = function(iterator, fn, value, entries){
try {
return entries ? fn(anObject(value)[0], value[1]) : fn(value);
// 7.4.6 IteratorClose(iterator, completion)
} catch(e){
var ret = iterator['... | {
"pile_set_name": "Github"
} |
/*
Copyright 2016 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | {
"pile_set_name": "Github"
} |
<http://me.markus-lanthaler.com/> <http://xmlns.com/foaf/0.1/name> "Markus Lanthaler" .
| {
"pile_set_name": "Github"
} |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
export default [
[
... | {
"pile_set_name": "Github"
} |
## Description
This module exploits a command injection vulnerability in the
`change_passwd` API method within the web interface of QNAP Q'Center
virtual appliance versions prior to 1.7.1083.
The vulnerability allows the `admin` privileged user account to
execute arbitrary commands as the `admin` operating ... | {
"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 <AppKit/NSWindow.h>
@class TBrowserWindowController;
@interface TBrowserWindow : NSWindow
{
_Bool _closing;
double _a... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<domain>
<!--
Example of a dialogue domain for a flight-booking system specified in
probabilistic rules. The system enables the user to book (single or round-trip)
flight tickets between Norwegian airports. The dialogue domain shows how to
implement a bas... | {
"pile_set_name": "Github"
} |
/*
Copyright 2015 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | {
"pile_set_name": "Github"
} |
This module's documentation can be found at https://developers.google.com/web/tools/workbox/modules/workbox-sw
| {
"pile_set_name": "Github"
} |
SamplerIcon
PartialSISOSampler
PartialSISOHold
PartialClockedSISO
PartialClockedMIMO
PartialClockedSO
PartialNoise
| {
"pile_set_name": "Github"
} |
from poshc2.server.Config import PayloadTemplatesDirectory
from poshc2.Colours import Colours
from poshc2.Utils import formStrMacro
def create_payloads(payloads, name):
payloads.QuickstartLog(Colours.END)
payloads.QuickstartLog(f"Macro Payload written to: {payloads.BaseDirectory}{name}_macro.txt")
strmac... | {
"pile_set_name": "Github"
} |
{
"_from": "retry@~0.10.1",
"_id": "retry@0.10.1",
"_integrity": "sha1-52OI0heZLCUnUCQdPTlW/tmNj/Q=",
"_location": "/retry",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "retry@~0.10.1",
"name": "retry",
"escapedName": "retry",
"rawSpec": "~0.10.1... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>frames</key>
<dict>
<key>common/j/jineng_001.png</key>
<dict>
<key>frame</key>
<string>{{1,1},{88,88}}</string>
... | {
"pile_set_name": "Github"
} |
require 'spec_helper'
describe OrderAsk do
subject { create(:order_ask) }
its(:compute_locked) { should == subject.volume }
context "compute locked for market order" do
let(:price_levels) do
[ ['202'.to_d, '10.0'.to_d],
['201'.to_d, '10.0'.to_d],
['200'.to_d, '10.0'.to_d],
['... | {
"pile_set_name": "Github"
} |
package sts
import "github.com/aws/aws-sdk-go/aws/request"
func init() {
initRequest = func(r *request.Request) {
switch r.Operation.Name {
case opAssumeRoleWithSAML, opAssumeRoleWithWebIdentity:
r.Handlers.Sign.Clear() // these operations are unsigned
}
}
}
| {
"pile_set_name": "Github"
} |
difficulty 2
description "The text editor 'vim' creates files ending in `.swp` (swap files) for all files that are currently open. We don't want them creeping into the repository. Make this repository ignore those swap files which are ending in `.swp`."
setup do
repo.init
FileUtils.touch("README.swp")
file = Fil... | {
"pile_set_name": "Github"
} |
/*
* Pinctrl driver for Rockchip SoCs
*
* Copyright (c) 2013 MundoReader S.L.
* Author: Heiko Stuebner <heiko@sntech.de>
*
* With some ideas taken from pinctrl-samsung:
* Copyright (c) 2012 Samsung Electronics Co., Ltd.
* http://www.samsung.com
* Copyright (c) 2012 Linaro Ltd
* http://www.linaro.org
*
* a... | {
"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.
#ifndef CONTENT_PUBLIC_COMMON_PROCESS_TYPE_H_
#define CONTENT_PUBLIC_COMMON_PROCESS_TYPE_H_
#include <string>
#include "content/common/content_expor... | {
"pile_set_name": "Github"
} |
/* fredt - in FK constraints column lists for iColMain and iColRef have
identical sets to visible columns of iMain and iRef respectively
but the order of columns can be different and must be preserved
*/
core.mainColArray = mainCols;
core.colLen = core.mainCo... | {
"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"
} |
/*
* Copyright 2012 Red Hat Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, d... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow str... | {
"pile_set_name": "Github"
} |
package Paws::SageMaker::MonitoringResources;
use Moose;
has ClusterConfig => (is => 'ro', isa => 'Paws::SageMaker::MonitoringClusterConfig', required => 1);
1;
### main pod documentation begin ###
=head1 NAME
Paws::SageMaker::MonitoringResources
=head1 USAGE
This class represents one of two things:
=head3 Ar... | {
"pile_set_name": "Github"
} |
import React from 'react'
import { ICON_CMD } from '@/config'
import { nilOrEmpty } from '@/utils'
import DocUploader from '@/containers/DocUploader'
import Maybe from '@/components/Maybe'
import {
Wrapper,
Thumbnil,
Poster,
UploaderLabel,
UploaderIcon,
UploaderText,
CoverImg,
ThumbCermeraIcon,
Pos... | {
"pile_set_name": "Github"
} |
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
The code included in this file is provid... | {
"pile_set_name": "Github"
} |
import sys
from loguru import logger
# fmt: off
logger.remove()
logger.add(sys.stderr, format="", colorize=True, backtrace=False, diagnose=True)
def a():
1 / 0 + 1 * 0 - 1 % 0 // 1**0 @ 1 # Error
def b():
a() or False == None != True
def c():
1, 2.5, 3.0, 0.4, "str", r"rrr", rb"binary", b()
def d... | {
"pile_set_name": "Github"
} |
{
"type": "crafting_shapeless",
"group": "alloys",
"conditions": [
{
"type": "minecraft:item_exists",
"item": "railcraft:ingot"
},
{
"type": "railcraft:module",
"module": "railcraft:resources"
},
{
"type": "railcraft:ore_exists",
"tag": "ingotZinc"
},
... | {
"pile_set_name": "Github"
} |
PST$extCallbacks = {};
PST$registerExtensibleCallback = (name, fn) => { PST$extCallbacks[name] = fn; };
var lib_srandom_getBoolean = function(vm, args) {
var intPtr = args[0][1];
var value = 0;
value = (((intPtr[2][0][1] * 20077) + 12345) & 65535);
intPtr[2][0] = buildInteger(vm[13], value);
if (((value & 1) == ... | {
"pile_set_name": "Github"
} |
// Telegrammer - Telegram Bot Swift SDK.
// This file is autogenerated by API/generate_wrappers.rb script.
/**
Represents a link to a page containing an embedded video player or a video file. By default, this video file will be sent by the user with an optional caption. Alternatively, you can use input_message_conten... | {
"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">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `consts` mod in crate `std`.">
<meta name="keywords" conten... | {
"pile_set_name": "Github"
} |
//--metadoc State copyright Steve Dekorte 2002
//--metadoc State license BSD revised
#include "IoState.h"
#include "IoObject.h"
IoObject *IoState_currentCoroutine(IoState *self)
{
return self->currentCoroutine;
}
void IoState_setCurrentCoroutine_(IoState *self, IoObject *coroutine)
{
self->currentCoroutine = corou... | {
"pile_set_name": "Github"
} |
(define-module scheme.vector.s16 (extend gauche.uvector.s16))
| {
"pile_set_name": "Github"
} |
/*
* ProGuard -- shrinking, optimization, obfuscation, and preverification
* of Java bytecode.
*
* Copyright (c) 2002-2020 Guardsquare NV
*
* 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
* Softwar... | {
"pile_set_name": "Github"
} |
那些乌央乌央的、普普通通的 Ubuntu 用户们
============
> “更好的捕鼠器“ 并不是一个合格生物学家的专用谚语。就像 Ubuntu,它只需要好好工作,而不会让我惊着。
(LCTT 译注,“做个更好的捕鼠器”是个国外的谚语,意指不断有人发明更好的捕鼠器,然而其实没什么大的意义。)
### Roblimo 的藏身处
我从来就不是一个计算机极客。事实上,我在网上第一次小有名气是为 Time/Life 写一个每周专栏的时候,这个专栏的名字是“这台老电脑”。它介绍的是一台古老的设备能够做什么——通常是在上面安装 Linux——在那之后,我又在Andover.net 上开设了一个相同的专栏,名字叫做“廉价计算”,是关... | {
"pile_set_name": "Github"
} |
package field.util;
import java.util.Arrays;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
import field.launch.iUpdateable;
/**
* thread safe task queue
*/
public class HashQueue implements iUpdateable {
protected Map<Object, Task> live = new LinkedHashMap<Object, Task>();
pr... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace Surging.Core.CPlatform.Utilities
{
public class DateTimeConverter
{
public static long DateTimeToUnixTimestamp( DateTime dateTime)
{
var start = new DateTime(1970, 1, 1, 0, 0, 0, dateTime.Kind);
... | {
"pile_set_name": "Github"
} |
{
"component": true
}
| {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.