text stringlengths 2 99k | meta dict |
|---|---|
### Solution for "Download of Code Without Integrity Check" challenge
This challenge showcases a situation common to software deployments where an update server is being used but integrity checks are no in place in order to validate the software has not been tampered with.
Only thing required to do in order to pass i... | {
"pile_set_name": "Github"
} |
/*
Copyright (C) 2014-2016 Leosac
This file is part of Leosac.
Leosac 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... | {
"pile_set_name": "Github"
} |
<at-dialog title="vm.title" on-close="vm.onClose">
<at-form state="vm.form" autocomplete="off" id="external_test_form">
<at-input-group col="12" tab="20" state="vm.form.inputs" form-id="external_test"></at-input-group>
<at-action-group col="12" pos="right">
<at-action-button
... | {
"pile_set_name": "Github"
} |
<bx_include_base:../modules/base/profile/template/cover.html />
| {
"pile_set_name": "Github"
} |
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: github.com/golang/protobuf/ptypes/any/any.proto
package any
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
anypb "google.golang.org/protobuf/types/known/anypb"
reflect "ref... | {
"pile_set_name": "Github"
} |
<html><head>
<title>struct::skiplist - Tcl Data Structures</title>
<style type="text/css"><!--
HTML {
background: #FFFFFF;
color: black;
}
BODY {
background: #FFFFFF;
color: black;
}
DIV.doctools {
margin-left: 10%;
margin-right: 10%;
}
DIV.doctools H1,DIV.doctools H2 {
margin-... | {
"pile_set_name": "Github"
} |
THE_URL:file://localhost/Users/hubery/Public/ucar/Document/Functions/Contributed/zonalAve.shtml
THE_TITLE:zonalAve
NCL Home > Documentation > Functions > General applied math
zonalAve
Computes a zonal average of the input array.
Prototype
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
fu... | {
"pile_set_name": "Github"
} |
{{/*
Copyright 2020 The Magma Authors.
This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES ... | {
"pile_set_name": "Github"
} |
liTest run started
liTest scala.scalanative.junit.MethodNameDecodeTest.abcd$u0020$u2206ƒ$u0020$uD83D$uDE00$u0020$times$u0020$hash$amp$ started
ldTest scala.scalanative.junit.MethodNameDecodeTest.abcd$u0020$u2206ƒ$u0020$uD83D$uDE00$u0020$times$u0020$hash$amp$ finished, took <TIME>
e01abcd$u0020$u2206ƒ$u0020$uD83D$uDE00$... | {
"pile_set_name": "Github"
} |
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package spdy
// headerDictionary is the dictionary sent to the zlib compressor/decompressor.
var headerDictionary = []byte{
0x00, 0x00, 0x00, 0x07, 0x6f, 0x70... | {
"pile_set_name": "Github"
} |
{
"_from": "isstream@~0.1.2",
"_id": "isstream@0.1.2",
"_inBundle": false,
"_integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=",
"_location": "/isstream",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "isstream@~0.1.2",
"name": "isstream",
"escapedName"... | {
"pile_set_name": "Github"
} |
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
*
* LibTomCrypt is a library that provides various cryptographic
* algorithms in a highly modular and flexible manner.
*
* The library is free for all purposes without any express
* guarantee it works.
*
* Tom St Denis, tomstdenis@gmail.com, http://l... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../../config/boot'
require 'commands/performance/request'
| {
"pile_set_name": "Github"
} |
/**
* Created by martin on 19.02.2017.
*/
import * as path from 'path';
let pkg = null;
try {
pkg = require(path.resolve(__dirname, '..', 'package.json'));
} catch (e) {
try {
pkg = require(path.resolve(__dirname, '..', '..', 'package.json'));
} catch (e) {
pkg = null;
}
}
export con... | {
"pile_set_name": "Github"
} |
'use strict';
var Promise = require('sporks/scripts/promise'),
sporks = require('sporks');
var Config = function (slouch) {
this._slouch = slouch;
};
Config.prototype._couchDB2Request = function (node, path, opts, parseBody) {
opts.uri = this._slouch._url + '/_node/' + node + '/_config/' + path;
opts.parseBo... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2009 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
*
* Unless required by app... | {
"pile_set_name": "Github"
} |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\DB\Sql;
/**
* Class LimitExpression
*/
class LimitExpression extends Expression
{
/**
* @var string
*/
protected $sql;
/**
* @var int
*/
protected $... | {
"pile_set_name": "Github"
} |
Ethereum入門
=============
[Ethereum入門](http://book.ethereum-jp.net)は、分散アプリケーションプラットフォーム「Ethereum(イーサリアム)」の技術入門書です。
Ethereumがどのように動作するのか、Ethereumを用いてどのように分散アプリケーションを開発していくか、について解説していきます。
Ethereumプロジェクトは最初の安定版(Homestead)リリースがされましたが、今後仕様が変更になる場合があります。仕様変更に伴い本書も逐次内容を変更していきます。
また本ドキュメントは**2018/3/10 現在、制作中です。**
本ドキュメントはオー... | {
"pile_set_name": "Github"
} |
### 更新时间Updated
Updated可以让您在记录插入或每次记录更新时自动更新数据库中的标记字段为当前时间,需要在xorm标记中使用updated标记,如下所示进行标记,对应的字段可以为time.Time或者自定义的time.Time或者int,int64等int类型。
```Go
type User struct {
Id int64
Name string
UpdatedAt time.Time `xorm:"updated"`
}
```
在Insert(), InsertOne(), Update()方法被调用时,updated标记的字段将会被自动更新为当前时间,如下所示:
```G... | {
"pile_set_name": "Github"
} |
#ifndef __PMU_H
#define __PMU_H
#include <linux/bitops.h>
#include "../../../include/linux/perf_event.h"
enum {
PERF_PMU_FORMAT_VALUE_CONFIG,
PERF_PMU_FORMAT_VALUE_CONFIG1,
PERF_PMU_FORMAT_VALUE_CONFIG2,
};
#define PERF_PMU_FORMAT_BITS 64
struct perf_pmu__format {
char *name;
int value;
DECLARE_BITMAP(bits, P... | {
"pile_set_name": "Github"
} |
#!/usr/bin/python
#
# Copyright 2018-2020 Polyaxon, 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 ... | {
"pile_set_name": "Github"
} |
package webrtc
const (
// Unknown defines default public constant to use for "enum" like struct
// comparisons when no value was defined.
Unknown = iota
unknownStr = "unknown"
ssrcStr = "ssrc"
receiveMTU = 8192
)
| {
"pile_set_name": "Github"
} |
<!-- YAML
added: v0.1.97
changes:
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/12562
description: 参数 `callback` 不再是可选的。
如果不传入,则在运行时会抛出 `TypeError`。
- version: v7.6.0
pr-url: https://github.com/nodejs/node/pull/10739
description: 参数 `path` 可以是 WHATWG `URL` 对象(使用 `file:` 协议)。 ... | {
"pile_set_name": "Github"
} |
box: yosssi/golang-latest@1.0.9
# Build definition
build:
# The steps that will be executed on build
steps:
# Sets the go workspace and places you package
# at the right place in the workspace tree
- setup-go-workspace
# Gets the dependencies
- script:
name: go get
code: |
... | {
"pile_set_name": "Github"
} |
/*
* Driver for audio on multifunction CS5535/6 companion device
* Copyright (C) Jaya Kumar
*
* Based on Jaroslav Kysela and Takashi Iwai's examples.
* This work was sponsored by CIS(M) Sdn Bhd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Publ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
</PropertyGroup>
</Project> | {
"pile_set_name": "Github"
} |
#!/bin/bash -e
export URL="http://localhost:3000"
echo "Bulk loading"
./populate.py -d 8 --destination=$URL --domain="mydomain" --bulk
echo "The home page"
wrk -c 10 -d5 -t5 $URL | grep Requests
echo "Single word search 'p'"
wrk -c 10 -d5 -t5 "$URL/v1?q=p&d=mydomain" | grep Requests
echo "Single word search 'python'"... | {
"pile_set_name": "Github"
} |
/*
* /MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscSymbols.js
*
* Copyright (c) 2012 Design Science, Inc.
*
* Part of the MathJax library.
* See http://www.mathjax.org for details.
*
* Licensed under the Apache License, Version 2.0;
* you may not use this file except in compliance with the Li... | {
"pile_set_name": "Github"
} |
<http://example/s> <http://example/p> <http://example/o> .
| {
"pile_set_name": "Github"
} |
""" Two1 command to send bitcoin to another address """
# standart python imports
import logging
# 3rd party imports
import click
# two1 imports
from two1.blockchain.exceptions import DataProviderError
from two1.wallet.exceptions import WalletBalanceError
from two1.commands.util import decorators
from two1.commands.u... | {
"pile_set_name": "Github"
} |
/***************************************************************************/
/* */
/* ftcsbits.c */
/* */
/* Fr... | {
"pile_set_name": "Github"
} |
debian/tmp/usr/bin/ansible-test usr/bin
debian/tmp/usr/lib/python3/dist-packages/ansible_test usr/lib/python3/dist-packages
| {
"pile_set_name": "Github"
} |
files
{
0 1 1 test_job test_namespace strings1.xml 0
1 2 6 test_job test_namespace strings2.xml 0
2 3 13 test_job test_namespace strings3.xml 0
3 4 20 test_job test_namespace strings4.xml 0
4 5 28 test_job test_namespace strings5.xml 0
}
| {
"pile_set_name": "Github"
} |
# Firejail profile for meld
# Description: Graphical tool to diff and merge files
# This file is overwritten after every install/update
# Persistent local customizations
include meld.local
# Persistent global definitions
include globals.local
# If you want to use meld as git-mergetool (and maybe some other VCS integra... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" default-locale="en-US">
<!-- Generated with https://github.com/citation-style-language/utilities/tree/master/generate_dependent_styles/data/mdpi -->
<info>
<title>Processes</title>
<id>http://www.zotero.org/s... | {
"pile_set_name": "Github"
} |
/*************************************************************
*
* MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BBBold.js
*
* Copyright (c) 2009-2018 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Lic... | {
"pile_set_name": "Github"
} |
import { FocusZoneDirection } from '@fluentui/accessibility';
import { FocusTrapZone, FocusZone, FocusTrapZoneProps } from '@fluentui/react-bindings';
import * as React from 'react';
import * as ReactTestUtils from 'react-dom/test-utils';
import { keyboardKey } from '@fluentui/keyboard-key';
// rAF does not exist in n... | {
"pile_set_name": "Github"
} |
# Created by: Sean Farley <sean-freebsd@farley.org>
# $FreeBSD$
PORTNAME= Mknod
PORTVERSION= 0.02
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:RLZWART
PKGNAMEPREFIX= p5-
MAINTAINER= sean-freebsd@farley.org
COMMENT= Perl module interface to the mknod(2) system call
USES= perl5
... | {
"pile_set_name": "Github"
} |
<?php
/*
Copyright (c) 2012, Open Source Solutions Limited, Dublin, Ireland
All rights reserved.
Contact: Barry O'Donovan - barry (at) opensolutions (dot) ie
http://www.opensolutions.ie/
This file is part of the OSS_SNMP package.
Redistribution and use in source and binary forms, wi... | {
"pile_set_name": "Github"
} |
angular.module('uiRouterSample.contacts.service', [
])
// A RESTful factory for retrieving contacts from 'contacts.json'
.factory('contacts', ['$http', 'utils', function ($http, utils) {
var path = 'assets/contacts.json';
var contacts = $http.get(path).then(function (resp) {
return resp.data.contacts;
});
... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html id="top">
<head>
<meta charset="utf-8">
<title>The Crosswalk Project</title>
<link rel="shorcut icon" href="/assets/favicon.ico" type="image/x-icon" />
<link rel="icon" href="/assets/favicon.ico" type="image/x-icon" />
<script>
WebFontConfig = {
custom: {
... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:documentation source="http://www.phpunit.de/manual/3.7/en/appendixes.configuration.html">
This Schema file defines the rules by which the XML configuration file of PHPUnit 3.7 may be structured... | {
"pile_set_name": "Github"
} |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Editor.Shared.Tagging;
using Microsoft... | {
"pile_set_name": "Github"
} |
/* @flow */
/**
* context
*/
context('desc', () => {});
// $FlowExpectedError number. This type is incompatible with function type.
context('desc', 12);
// $FlowExpectedError number. This type is incompatible with undefined.
context('desc', () => 1);
// $FlowExpectedError number. This type is incompatible with str... | {
"pile_set_name": "Github"
} |
from __future__ import division, absolute_import, print_function
import os
from numpy.distutils.fcompiler import FCompiler
compilers = ['LaheyFCompiler']
class LaheyFCompiler(FCompiler):
compiler_type = 'lahey'
description = 'Lahey/Fujitsu Fortran 95 Compiler'
version_pattern = r'Lahey/Fujitsu Fortran... | {
"pile_set_name": "Github"
} |
function! asyncomplete#sources#ale#get_source_options(...) abort
let l:default = extend({
\ 'name': 'ale',
\ 'completor': function('asyncomplete#sources#ale#completor'),
\ 'whitelist': ['*'],
\ 'triggers': asyncomplete#sources#ale#get_triggers(),
\ }, a:0 >= 1 ? a:1 : {})
re... | {
"pile_set_name": "Github"
} |
/* eslint-env jest */
import filterReduce from './filter-reduce'
const add = (a, b) => a + b
const data = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
const isEven = x => !(x & 1)
it('filterReduce', () => {
// Returns all elements not matching the predicate and the result of
// a reduction over those who do.
expect(filterRe... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2011 The LibYuv 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 p... | {
"pile_set_name": "Github"
} |
//
// DetectedIssueTests.swift
// SwiftFHIR
//
// Generated from FHIR 4.0.0-a53ec6ee1b on 2019-05-21.
// 2019, SMART Health IT.
//
import XCTest
#if !NO_MODEL_IMPORT
import Models
typealias SwiftFHIRDetectedIssue = Models.DetectedIssue
#else
import SwiftFHIR
typealias SwiftFHIRDetectedIssue = SwiftFHIR.DetectedIss... | {
"pile_set_name": "Github"
} |
#!/bin/sh
br_load_config()
{
local arg1 arg2 line
while read line
do
arg1=`echo $line | cut -d " " -f 1`
arg2=`echo $line | cut -d " " -f 2`
case $arg1 in
"HIDE_PORT")
br_hide_port=$arg2;;
... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2016 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 by applica... | {
"pile_set_name": "Github"
} |
// +build !windows,!plan9
// Copyright 2015 go-termios Author. All Rights Reserved.
// https://github.com/go-termios/termios
// Author: John Lenton <chipaca@github.com>
package sys
import (
"unsafe"
"golang.org/x/sys/unix"
)
// Termios represents terminal attributes.
type Termios unix.Termios
// NewTermiosFromF... | {
"pile_set_name": "Github"
} |
<?php
/**
* @file
* Lagoon Drupal 8 development environment configuration file.
*
* This file will only be included on development environments.
*
* It contains some defaults that the Lagoon team suggests, please edit them as required.
*/
// Show all error messages on the site.
$config['system.logging']['error... | {
"pile_set_name": "Github"
} |
module mod11 {
prefix abc;
namespace "urn:cesnet:mod11";
typedef my_type {
type uint8;
}
leaf l1 {
type "my_type" {
range "5 .. max | 10 .. 20";
}
}
}
| {
"pile_set_name": "Github"
} |
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ListViewTest", "SEImageListView\ListViewTest.csproj", "{0C74DAD0-CA29-48E0-8EEC-385308368A0C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x8... | {
"pile_set_name": "Github"
} |
/**
* @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
/* global document */
import testUtils from '@ckeditor/ckeditor5-core/tests/_utils/utils';
import EditorUIView from '../../src/editorui/ed... | {
"pile_set_name": "Github"
} |
namespace ClassLib095
{
public class Class045
{
public static string Property => "ClassLib095";
}
}
| {
"pile_set_name": "Github"
} |
#
# Author:: Kaustubh Deorukhkar (<kaustubh@clogeny.com>)
# Author:: Prabhu Das (<prabhu.das@clogeny.com>)
# Author:: Isa Farnik (<isa@chef.io>)
# Copyright:: Copyright (c) Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use th... | {
"pile_set_name": "Github"
} |
package pagination
import (
"encoding/json"
"io/ioutil"
"net/http"
"net/url"
"strings"
"github.com/gophercloud/gophercloud"
)
// PageResult stores the HTTP response that returned the current page of results.
type PageResult struct {
gophercloud.Result
url.URL
}
// PageResultFrom parses an HTTP response as J... | {
"pile_set_name": "Github"
} |
/**
* Prefixer (tools/_prefixer.scss)
*/
/* ----- Box sizing ----- */
@mixin box-sizing ($value) {
-webkit-box-sizing: $value;
-moz-box-sizing: $value;
box-sizing: $value;
}
/* ----- Transform ----- */
// Rotate
@mixin rotate ($deg) {
-webkit-transform: rotate(#{$deg}deg);
-moz-transform: rotate(#{$deg}deg);
... | {
"pile_set_name": "Github"
} |
package com.aphidmobile.flip.demo.data;
import java.util.ArrayList;
import java.util.List;
/*
Copyright 2012 Aphid Mobile
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... | {
"pile_set_name": "Github"
} |
#!/bin/bash -e
#
# This script rebuilds the generated code for the protocol buffers.
# To run this you will need protoc and goprotobuf installed;
# see https://github.com/golang/protobuf for instructions.
PKG=google.golang.org/appengine
function die() {
echo 1>&2 $*
exit 1
}
# Sanity check that the right tools are... | {
"pile_set_name": "Github"
} |
<Map>
<Bangs></Bangs>
<Switches></Switches>
<SliderCurves>
<Mapping>
<Widget>
<WidgetName>color_hue</WidgetName>
<WidgetID>25</WidgetID>
<WidgetCanvasParent>SystemSettings</WidgetCanvasParent>
</Widget>
<Track></Trac... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ADP2,1</key>
<string>Developer Transition Kit</string>
<key>MacBook1,1</key>
<string>MacBook (Core Duo)</string>
<key>MacBook2,1</key>
<st... | {
"pile_set_name": "Github"
} |
%% [B] = tensor_tucker_prod(A,M)
%
function [B] = tensor_tucker_prod(A,M)
B = A;
for k = 1:length(A.size)
B = ttm(B, M{k}, k);
end
end
| {
"pile_set_name": "Github"
} |
// c.js
export const foo = {}
export const yack = {}
export { wolf as default } from './b'
| {
"pile_set_name": "Github"
} |
{-# LANGUAGE TemplateHaskell #-}
module Rattletrap.Type.Float32le
( Float32le(..)
)
where
import Rattletrap.Type.Common
newtype Float32le = Float32le
{ float32leValue :: Float
} deriving (Eq, Ord, Show)
$(deriveJson ''Float32le)
| {
"pile_set_name": "Github"
} |
@mixin text-decoration($value) {
// <text-decoration-line> || <text-decoration-style> || <text-decoration-color>
@include prefixer(text-decoration, $value, moz);
}
@mixin text-decoration-line($line: none) {
// none || underline || overline || line-through
@include prefixer(text-decoration-line, $line, moz);
}
@mi... | {
"pile_set_name": "Github"
} |
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -verify -fblocks %s
// RUN: %clang_cc1 -fsyntax-only -verify -fblocks -fobjc-arc %s
// expected-no-diagnostics
struct X {
__unsafe_unretained id object;
int (^ __unsafe_unretained block)(int, int);
};
void f(struct X x) {
x.object = 0;
x.block = ^... | {
"pile_set_name": "Github"
} |
crlf
crlf
lf
crlf
crlf
| {
"pile_set_name": "Github"
} |
# should_error
# no-collect-stats
try:
raise SystemExit, "hello"
except Exception as e:
pass
| {
"pile_set_name": "Github"
} |
run_spec(__dirname, ["python"], { pythonVersion: "3" });
| {
"pile_set_name": "Github"
} |
// Copyright 2011 The Snappy-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 snappy
import (
"encoding/binary"
"errors"
"io"
)
// Encode returns the encoded form of src. The returned slice may be a sub-
// slice of ds... | {
"pile_set_name": "Github"
} |
client
dev tun
proto udp
remote 89.238.140.53 1194
resolv-retry infinite
remote-random
nobind
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
persist-tun
ping 15
ping-restart 0
ping-timer-rem
reneg-sec 0
comp-lzo no
remote-cert-tls server
auth-user-pass ../Own_VPN_Config/nordvpnauth.txt
verb 3
pull
fast-io
ciph... | {
"pile_set_name": "Github"
} |
{
"randomStatetest100" : {
"_info" : {
"comment" : "",
"filledwith" : "testeth 1.6.0-alpha.0-11+commit.978e68d2",
"lllcversion" : "Version: 0.5.0-develop.2018.11.9+commit.9709dfe0.Linux.g++",
"source" : "src/GeneralStateTestsFiller/stRandom/randomStatetest100F... | {
"pile_set_name": "Github"
} |
li.file {
border-bottom: 1px solid rgba(234,234,234,1);
padding: units(0.25) units(1);
&:first-child {
border-top: 1px solid rgba(234,234,234,1);
}
h4 {
font-weight: normal;
}
summary:focus {
outline: 0;
}
.status {
background: rgba(0,0,0,0.3);
border-radius: units(0.2);
co... | {
"pile_set_name": "Github"
} |
from collections import OrderedDict
from json.tests import PyTest, CTest
class TestUnicode(object):
def test_encoding1(self):
encoder = self.json.JSONEncoder(encoding='utf-8')
u = u'\N{GREEK SMALL LETTER ALPHA}\N{GREEK CAPITAL LETTER OMEGA}'
s = u.encode('utf-8')
ju = encoder.encod... | {
"pile_set_name": "Github"
} |
/*
File: AUBuffer.h
Abstract: Part of CoreAudio Utility Classes
Version: 1.1
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
Inc. ("Apple") in consideration of your agreement to the following
terms, and your use, installation, modification or redistribution of
this Apple sof... | {
"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"
} |
//
// PrefixHeader.pch
// HXCamouflageCalculator
//
// Created by 黄轩 on 16/10/14.
// Copyright © 2016年 黄轩. All rights reserved.
//
#ifndef PrefixHeader_pch
#define PrefixHeader_pch
#import "PublicDefine.h"
#import "AppConfig.h"
#import "UIView+Helpers.h"
#import "NSString+Extension.h"
#import "UIImage+Extension... | {
"pile_set_name": "Github"
} |
<!--
This file is auto-generated from uniformbuffers_test_generator.py
DO NOT EDIT!
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>WebGL Uniform Block Conformance Tests</title>
<link rel="stylesheet" href="../../../../resources/js-test-style.css"/>
<script src="../../../... | {
"pile_set_name": "Github"
} |
#include "global.h"
#include "gflib.h"
#include "keyboard_text.h"
#include "decompress.h"
#include "easy_chat.h"
#include "graphics.h"
#include "menu.h"
#include "new_menu_helpers.h"
#include "strings.h"
#include "text_window.h"
struct ECWork
{
u16 state;
u16 windowId;
u16 id;
u8 frameAnimIdx;
u8 f... | {
"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"
} |
<ExtensionModel>
<ExtensionPoint path="/MonoDevelop/Debugging/DebuggerEngines">
<Description>Debug session factories. Specified classes must implement MonoDevelop.Debugger.IDebuggerEngine</Description>
<ExtensionNode name="DebuggerEngine" type="MonoDevelop.Debugger.DebuggerEngineExtensionNode"/>
</ExtensionPoint... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env bash
# Copyright 2006-2010 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the
# Amazon Software License (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/asl or in the "license" file a... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|ARM">
<Configuration>Debug</Configuration>
<Platform>ARM</Platform... | {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0-or-later
/**
* @file SaveClosingDlg.cpp
*
* @brief Implementation file for SaveClosingDlg dialog
*/
#include "stdafx.h"
#include "SaveClosingDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
/////////////////////////////////////////////////////////////////////////////
// Save... | {
"pile_set_name": "Github"
} |
10
dir
92215
http://hutao1@192.168.64.5:8888/svn/Mobile/iOS/branches/GroupChat/gjgc_branch_6.0/Components/IM/GJCoreUserInterface/GJCoreUserInterface/GJCUCapture/GJCUCaptureResourceBundle.bundle
http://hutao1@192.168.64.5:8888/svn/Mobile
2015-06-02T11:17:41.989685Z
90247
liyi1
c1b34985-89f7-4ad2-b6ed-3... | {
"pile_set_name": "Github"
} |
import os
import sys
import torch
# Make the helper files in test/ importable
pytorch_test_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
sys.path.append(pytorch_test_dir)
from torch.testing._internal.jit_utils import JitTestCase, warmup_backward, FileCheck
if __name__ == '__main__':
raise Ru... | {
"pile_set_name": "Github"
} |
Cisco Systems Inc. is set to announce the acquisition of Telesend Inc., a developer of low-cost, high-speed Internet access technology, sources familiar with the deal said Tuesday.
Cisco agreed to acquire Telesend, a privately-held Cupertino, Calif.-based firm, in exchange for an unspecified amount of stock in Cisco, t... | {
"pile_set_name": "Github"
} |
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>epp</title>
</head>
<body>
<div id="main"></div>
<script src="http://localhost:8000/out/app.js"></script>
</body>
</html>
| {
"pile_set_name": "Github"
} |
<?php
/* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2019 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2017 Regis Houssin <regis.houssin@inodbox.com>
*
* This program is free software; you can redistribute it and/or modify
* it under... | {
"pile_set_name": "Github"
} |
config BR2_PACKAGE_NGINX_UPLOAD
bool "nginx-upload"
depends on BR2_PACKAGE_NGINX_HTTP
select BR2_PACKAGE_OPENSSL
help
A module for nginx web server for handling file uploads
using multipart/form-data encoding (RFC 1867).
https://github.com/vkholodkov/nginx-upload-module
| {
"pile_set_name": "Github"
} |
#if DOTNET35
namespace Rhino.Mocks.Tests.FieldsProblem
{
using System;
using Xunit;
public class FieldProblem_Henrik
{
[Fact]
public void Trying_to_mock_null_instance_should_fail_with_descriptive_error_message()
{
Assert.Throws<ArgumentNullException>("You cannot mock a null instance\r\nParam... | {
"pile_set_name": "Github"
} |
//app.js
App({
onLaunch: function () {
//调用API从本地缓存中获取数据
var logs = wx.getStorageSync('logs') || []
logs.unshift(Date.now())
wx.setStorageSync('logs', logs)
},
getUserInfo: function (cb) {
var that = this
if (this.globalData.userInfo) {
typeof cb == "function" && cb(this.globalData.userInfo)
} else... | {
"pile_set_name": "Github"
} |
#!/usr/bin/expect -f
# This file is part of Firejail project
# Copyright (C) 2014-2020 Firejail Authors
# License GPL v2
set timeout 10
spawn $env(SHELL)
match_max 100000
send -- "firejail pluma\r"
expect {
timeout {puts "TESTING ERROR 0\n";exit}
"Reading profile /etc/firejail/pluma.profile"
}
expect {
timeout {pu... | {
"pile_set_name": "Github"
} |
from ralph.networks.models.choices import IPAddressStatus
from ralph.networks.models.networks import (
DiscoveryQueue,
IPAddress,
Network,
NetworkEnvironment,
NetworkKind
)
__all__ = [
'DiscoveryQueue',
'IPAddress',
'IPAddressStatus',
'Network',
'NetworkEnvironment',
'Networ... | {
"pile_set_name": "Github"
} |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
use Magento\Catalog\Api\ProductRepositoryInterface;
use Magento\Store\Api\WebsiteRepositoryInterface;
use Magento\TestFramework\Helper\Bootstrap;
require __DIR__ . '/category_with_different... | {
"pile_set_name": "Github"
} |
# frozen_string_literal: true
require_relative 'helper'
class TestRDocGeneratorPOTPOEntry < RDoc::TestCase
def test_msgid_normal
assert_equal <<-'ENTRY', entry("Hello", {}).to_s
msgid "Hello"
msgstr ""
ENTRY
end
def test_msgid_multiple_lines
assert_equal <<-'ENTRY', entry("Hello\nWorld", {}).to_s
m... | {
"pile_set_name": "Github"
} |
/***************************************************************************/
/* */
/* otvcommn.c */
/* */
/* Op... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.