text stringlengths 2 99k | meta dict |
|---|---|
/*
* Copyright 2014 - 2020 Blazebit.
*
* 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 agre... | {
"pile_set_name": "Github"
} |
<?php
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer\Autoload;
/**
* ClassLoader im... | {
"pile_set_name": "Github"
} |
# Translations {#translations}
**Interested in translating the book?**
This book is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-nc-sa/4.0/).
This means that you are allowed to translate it and put it online.
You have to me... | {
"pile_set_name": "Github"
} |
# 快速上手
安装启动好whistle,打开whistle的web界面:[http://local.whistlejs.com](http://local.whistlejs.com/)
![配置whistle规则界面]()
whistle功能众多,基本上覆盖抓包调试工具方方面面的功能,但每个功能的操作方式都差不多,基本上都是通过类似设置系统hosts的方式,先回顾下传统hosts配置方式:
```
127.0.0.1 www.test.com # 注释
```
其中每一条规则占一行,并通过空格做分隔符,左边为IP,右边为域名,`#` 为注释。
```
pattern operation
```
### 设置hosts... | {
"pile_set_name": "Github"
} |
unit MouseActionDialog;
{$mode objfpc}{$H+}
interface
uses
Classes, Forms, Controls, ExtCtrls, StdCtrls, ButtonPanel, Spin, CheckLst,
SynEditMouseCmds, LazarusIDEStrConsts, KeyMapping, IDECommands, types;
var
ButtonName: Array [TSynMouseButton] of String;
ClickName: Array [TSynMAClickCount] of String;
But... | {
"pile_set_name": "Github"
} |
using System;
using Org.BouncyCastle.Asn1;
namespace Org.BouncyCastle.Asn1.Misc
{
public class IdeaCbcPar
: Asn1Encodable
{
internal Asn1OctetString iv;
public static IdeaCbcPar GetInstance(
object o)
{
if (o is IdeaCbcPar)
{
retur... | {
"pile_set_name": "Github"
} |
#!/bin/sh
if [ -z "$TESTSUITE" ]; then
CMDLINE=/proc/cmdline
ALIASES=/etc/preseed_aliases
else
CMDLINE=user-params.in
ALIASES=user-params.aliases
fi
# sed out multi-word quoted value settings
for item in $(sed -e 's/[^ =]*="[^"]*[ ][^"]*"//g' \
-e "s/[^ =]*='[^']*[ ][^']*'//g" $CMDLINE); do
var="${item%=*}"
... | {
"pile_set_name": "Github"
} |
'use strict'
import React from 'react'
import Sortable from 'sortablejs'
class Favorite extends React.PureComponent {
constructor() {
super()
this.state = {
activeKey: null
}
this._updateSortableKey()
}
_updateSortableKey() {
this.sortableKey = `sortable-${Math.round(Math.random() * 1... | {
"pile_set_name": "Github"
} |
#!/bin/bash
# $Id: //depot/cloud/rpms/nflx-webadmin-gcviz/root/apps/apache/htdocs/AdminGCViz/index#2 $
# $DateTime: 2013/05/15 18:34:23 $
# $Author: mooreb $
# $Change: 1838706 $
cd `dirname $0`
prog=`basename $0`
NFENV=/etc/profile.d/netflix_environment.sh
if [ -f ${NFENV} ]; then
. ${NFENV}
NETFLIX_VMS_EV... | {
"pile_set_name": "Github"
} |
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
module GovKit::FollowTheMoney
describe GovKit::FollowTheMoney do
before(:all) do
unless FakeWeb.allow_net_connect?
base_uri = GovKit::FollowTheMoneyResource.base_uri.gsub(/\./, '\.')
urls = [
['/base_level\.indust... | {
"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>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>SPMySQL</string>
<key>CFBundleIdentifier</ke... | {
"pile_set_name": "Github"
} |
/*
Copyright 2014 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"
} |
// Copyright 2015 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.
// +build arm64,darwin
package unix
import (
"syscall"
"unsafe"
)
func Getpagesize() int { return 16384 }
func TimespecToNsec(ts Timespec) int64 { return ... | {
"pile_set_name": "Github"
} |
<!DOCTYPE suite SYSTEM "http://beust.com/testng/testng-1.0.dtd" >
<suite name="BigBlueButton Desktop Sharing Test Suite">
<test name="Conference tests">
<!--groups>
<run>
<exclude name="broken"/>
</run>
</groups-->
<packages>
<package name="org.bigbluebutton.deskshare.ser... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2011, 2014, 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"
} |
// 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.
// +build ignore
package main
// This program generates tables.go:
// go run maketables.go | gofmt > tables.go
// TODO: Emoji extensions?
// https://www.unic... | {
"pile_set_name": "Github"
} |
Car -1 -1 -10 626 180 684 221 1.46 1.62 4.22 1.66 1.76 28.26 -1.67 1.00
Car -1 -1 -10 793 184 1070 286 1.64 1.65 4.25 5.55 1.86 12.82 -0.11 0.99
Car -1 -1 -10 1016 196 1550 379 1.51 1.59 3.63 6.15 1.76 7.00 0.04 0.99
Car -1 -1 -10 874 184 1238 315 1.59 1.61 3.93 5.78 1.76 9.74 3.13 0.99
Car -1 -1 -10 306 180 455 232 1.... | {
"pile_set_name": "Github"
} |
//
// SerialDisposable.swift
// RxSwift
//
// Created by Krunoslav Zaher on 3/12/15.
// Copyright © 2015 Krunoslav Zaher. All rights reserved.
//
/// Represents a disposable resource whose underlying disposable resource can be replaced by another disposable resource, causing automatic disposal of the previous unde... | {
"pile_set_name": "Github"
} |
<?php
namespace WPGraphQL\Type\Enum;
use WPGraphQL\Type\WPEnumType;
class PostStatusEnum {
public static function register_type() {
$post_status_enum_values = [
'name' => 'PUBLISH',
'value' => 'publish',
];
$post_stati = get_post_stati();
if ( ! empty( $post_stati ) && is_array( $post_stati ) ) {
... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2014-2020 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/
#ifndef TAO_PEGTL_INTERNAL_SEQ_HPP
#define TAO_PEGTL_INTERNAL_SEQ_HPP
#include "../config.hpp"
#include "enable_control.hpp"
#include "success.hpp"
#include "../apply_mode.hpp"
#in... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="PullToRefresh">
<!-- A drawable to use as the background of the Refreshable View -->
<attr name="ptrRefreshableViewBackground" format="reference|color" />
<!-- A drawable to use as the background of the Header and... | {
"pile_set_name": "Github"
} |
module golang.org/x/lint
require golang.org/x/tools v0.0.0-20190311212946-11955173bddd
| {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2017 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | {
"pile_set_name": "Github"
} |
#!/usr/bin/perl
# Copyright (C) Intel, Inc.
# (C) Sergey Kandaurov
# (C) Nginx, Inc.
# Tests for HTTP/2 protocol with ssl.
###############################################################################
use warnings;
use strict;
use Test::More;
BEGIN { use FindBin; chdir($FindBin::Bin); }
use lib 'lib';
use Test... | {
"pile_set_name": "Github"
} |
/*
// <copyright>
// dotNetRDF is free and open source software licensed under the MIT License
// -------------------------------------------------------------------------
//
// Copyright (c) 2009-2020 dotNetRDF Project (http://dotnetrdf.org/)
//
// Permission is hereby granted, free of charge, to any person obtainin... | {
"pile_set_name": "Github"
} |
using Moq.Sdk;
namespace Moq
{
/// <summary>
/// Provides configuration and introspection information for a mock.
/// </summary>
public interface IMoq<T> : IMoq, IMock<T>, IFluentInterface where T : class
{
}
}
| {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2007, 2012, 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"
} |
interactions:
- request:
body: '{"documents": [{"id": "1", "text": "I had a wonderful experience! The rooms
were wonderful and the staff was helpful."}]}'
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2008 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* Version 2 as published by the Free Software Foundation.
*/
#include <common.h>
#include <asm/io.h>
#include <asm/fsl_ddr_sdram.h>
#i... | {
"pile_set_name": "Github"
} |
<?php
$user = new \App\User\User();
$errors = array();
if ($_SERVER["REQUEST_METHOD"] == "POST") {
if (!isset($_POST["username"]) || !trim($_POST["username"])) {
$errors["username"] = "Veuillez indiquer un nom d'utilisateur.";
} else {
$user->setUsername(trim($_POST["username"]));
}
if (... | {
"pile_set_name": "Github"
} |
namespace ActivationFunctionViewer
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | {
"pile_set_name": "Github"
} |
hooks
style
^ 'form {
padding: 2px;
margin: 0;
}
form th {
text-align: left;
padding-right: 2em;
}
form textarea {
width: 100%;
height: 100px;
border: 1px solid #aaa;
}' | {
"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")... | {
"pile_set_name": "Github"
} |
; EXPECT: unsat
; COMMAND-LINE: --sygus-out=status --lang=sygus2 --sygus-active-gen=enum
(set-logic ALL)
(declare-datatype Formula (
(P (Id Int))
(Op1 (op1 Int) (f Formula))
(Op2 (op2 Int) (f1 Formula) (f2 Formula))
)
)
(synth-fun phi () Formula
((<F> Formula) (<O2> Int))
((<F> Formula (
(P <O2>)
... | {
"pile_set_name": "Github"
} |
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*-----... | {
"pile_set_name": "Github"
} |
// Copyright 2015 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 trace implements tracing of requests and long-lived objects.
It exports HTTP interfaces on /debug/requests and /debug/events.
A trace.Trace provides... | {
"pile_set_name": "Github"
} |
// Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --expose-externalize-string
(function() {
function foo(s) {
return "abcdefghijklm" + s;
}
assertTrue(isOneB... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<html xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
xmlns:n="http://typo3.org/ns/GeorgRinger/News/ViewHelpers"
data-namespace-typo3-fluid="true">
... | {
"pile_set_name": "Github"
} |
// default includes
#include "Global/Macros.h"
CLANG_DIAG_OFF(mismatched-tags)
GCC_DIAG_OFF(unused-parameter)
GCC_DIAG_OFF(missing-field-initializers)
GCC_DIAG_OFF(missing-declarations)
GCC_DIAG_OFF(uninitialized)
GCC_DIAG_UNUSED_LOCAL_TYPEDEFS_OFF
#include <shiboken.h> // produces many warnings
#include <pysidesignal... | {
"pile_set_name": "Github"
} |
using CleanArchitecture.Web;
using System.Net.Http;
using System.Threading.Tasks;
using Xunit;
namespace CleanArchitecture.FunctionalTests
{
public class HomeControllerIndex : IClassFixture<CustomWebApplicationFactory<Startup>>
{
private readonly HttpClient _client;
public HomeControllerIndex... | {
"pile_set_name": "Github"
} |
"use strict";var exports=module.exports={};var isObject = require('./isObject.js');
/**
* Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
*
* @private
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` if suitable for strict
* equality comparisons, e... | {
"pile_set_name": "Github"
} |
(* *********************************************************************)
(* *)
(* The Compcert verified compiler *)
(* *)
(* Xavier Leroy... | {
"pile_set_name": "Github"
} |
# Copyright 2018 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.
import("//third_party/closure_compiler/compile_js.gni")
js_type_check("closure_compile") {
deps = [
":app_installer",
":cws_webview_client",
"... | {
"pile_set_name": "Github"
} |
package test
type typeForTest map[string]*[4]string
| {
"pile_set_name": "Github"
} |
#!/usr/bin/perl
=head1 NAME
Iplogs
=cut
=head1 DESCRIPTION
unit test for Iplogs
=cut
use strict;
use warnings;
use DateTime;
use DateTime::Format::Strptime;
use lib '/usr/local/pf/lib';
use pf::ip4log;
use pf::dal::ip4log;
use pf::dal::ip4log_history;
use pf::dal::ip4log_archive;
BEGIN {
#include test libs
... | {
"pile_set_name": "Github"
} |
module("Keyboard");
(function () {
test("Document keypress event binding", function () {
/* Initialization */
$('#t').append('<img id="test-img" src="data/elephant.jpg" />');
stop();
var keyPressed = false;
$(document).bind('keydown keypress', function () {
keyPressed = true;
});
... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2017 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
//
// ---------------------------------------------------------------------------
//
// This file was generated by the CEF translato... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: e227d0e11c8e0498a88231ab7e5f9da8
timeCreated: 1510610474
licenseType: Free
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
#ifndef __STARTUP_DIALOG_H__
#define __STARTUP_DIALOG_H__
#include "UmodelSettings.h"
class UIStartupDialog : public UIBaseDialog
{
public:
UIStartupDialog(CStartupSettings& settings);
bool Show();
protected:
CStartupSettings& Opt;
UICheckboxGroup* OverrideGameGroup;
UICombobox* OverrideEngineCombo;
UIComb... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2014 Eduardo Barrenechea
~
~ 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... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<Makefile Value="2"/>
<Params Value=" -Fu../../packager/units/$(CPU_TARGET)-$(OS_TARGET);../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET);../freetype/lib/$(CPU_TARGET)-$(OS_TARGET);../../lcl/units/$(CPU_TARGET)-$(OS_TARGET);. -MObjFPC -Scghi -O1 -g -gl -l -venibq -vw-h- -v... | {
"pile_set_name": "Github"
} |
//
// SendPaxViewController.swift
// Blockchain
//
// Created by Alex McGregor on 4/23/19.
// Copyright © 2019 Blockchain Luxembourg S.A. All rights reserved.
//
import DIKit
import ERC20Kit
import EthereumKit
import Foundation
import PlatformKit
import PlatformUIKit
import RxCocoa
import RxSwift
import SafariServ... | {
"pile_set_name": "Github"
} |
# Change Log
**ATTN**: This project uses [semantic versioning](http://semver.org/).
## [Unreleased]
## 1.20.0 - 2017-08-10
### Fixed
* `HandleExitCoder` is now correctly iterates over all errors in
a `MultiError`. The exit code is the exit code of the last error or `1` if
there are no `ExitCoder`s in the `Mult... | {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=402380
-->
<head>
<title>Test for Bug 402380</title>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
<style type="text/css">
div::first-letter {... | {
"pile_set_name": "Github"
} |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\/ M anipulation |
--------... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <SAObjects/SADomainCommand.h>
@interface SAMPLoadPredefinedQueue : SADomainCommand
{
}
+ (id)loadPredefinedQueueWithDictionary:(id)arg1 context:(id)arg2;
+ (id)loadPredefi... | {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>ConstantCallSite (Java SE 12 & JDK 12 )</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="keywords" content="java.lang.invoke.ConstantCallSite class">
<meta name="keywords" content="ge... | {
"pile_set_name": "Github"
} |
package com.lfk.justweengine.utils.logger;
public enum LogLevel {
/**
* Prints all logs
*/
FULL,
/**
* No log will be printed
*/
NONE,
VERBOSE, DEBUG, INFO, WARN, ERROR, FATAL, ASSERT
}
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id=":app" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android-gradle" name="Android-Gradle">
... | {
"pile_set_name": "Github"
} |
class Logstalgia < Formula
desc "Web server access log visualizer with retro style"
homepage "http://logstalgia.io/"
url "https://github.com/acaudwell/Logstalgia/releases/download/logstalgia-1.0.7/logstalgia-1.0.7.tar.gz"
sha256 "5553fd03fb7be564538fe56e871eac6e3caf56f40e8abc4602d2553964f8f0e1"
bottle do
... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Web Prolog</title>
<meta name="description" content="">
<meta name="author" content="Torbjörn Lager">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSS -->
<link ... | {
"pile_set_name": "Github"
} |
# GeoFirestore for iOS — Realtime location queries with Firestore
GeoFirestore is an open-source library for Swift that allows you to store and query a set of documents based on their geographic location.
At its heart, GeoFirestore simply stores locations with string keys. Its main benefit however, is the possibility... | {
"pile_set_name": "Github"
} |
"use strict";
// Use the fastest means possible to execute a task in its own turn, with
// priority over other events including IO, animation, reflow, and redraw
// events in browsers.
//
// An exception thrown by a task will permanently interrupt the processing of
// subsequent tasks. The higher level `asap` function... | {
"pile_set_name": "Github"
} |
/*
* jQuery Simple Templates plugin 1.1.1
*
* http://andrew.hedges.name/tmpl/
* http://docs.jquery.com/Plugins/Tmpl
*
* Copyright (c) 2008 Andrew Hedges, andrew@hedges.name
*
* Usage: $.tmpl('<div class="#{classname}">#{content}</div>', { 'classname' : 'my-class', 'content' : 'My content.' });
*
* The changes... | {
"pile_set_name": "Github"
} |
module.exports = preferredCharsets;
preferredCharsets.preferredCharsets = preferredCharsets;
function parseAcceptCharset(accept) {
var accepts = accept.split(',');
for (var i = 0, j = 0; i < accepts.length; i++) {
var charset = parseCharset(accepts[i].trim(), i);
if (charset) {
accepts[j++] = chars... | {
"pile_set_name": "Github"
} |
<#--
/**
$id:null$
$author:wmzsoft@gmail.com
#date:2013.08
**/
-->
<!--table-toot.ftl begin-->
<#if (parameters.footVisible!true)>
<div style="float:left" id="${parameters.id!'test'}_info" role="status" aria-live="polite">
${parameters.tagbundle['table-tfoot.totalpre']!} ${parameters.count!0}
${paramete... | {
"pile_set_name": "Github"
} |
/* webymsg.c
* Web Messenger Yahoo!
* With and without HTTP transport
*
* $Id: $
*
* Xplico - Internet Traffic Decoder
* By Gianluca Costa <g.costa@xplico.org>
* Copyright 2013 Gianluca Costa. Web: www.xplico.org
*
*
* This program is free software; you can redistribute it and/or
* modify it under the term... | {
"pile_set_name": "Github"
} |
// Go support for Protocol Buffers - Google's data interchange format
//
// Copyright 2010 The Go Authors. All rights reserved.
// https://github.com/golang/protobuf
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met... | {
"pile_set_name": "Github"
} |
/**
* Copyright 2015 Ram Sriharsha
*
* 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 i... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"pile_set_name": "Github"
} |
<?php
/**
* ------------------------------------
* Notify user being "@"
* ------------------------------------
*/
$I = new FunctionalTester($scenario);
Route::enableFilters();
$I->wantTo('Notify a User when he/she is being AT on a newly Reply');
$SuperMan = $I->have('User', ['name' => 'SuperMan']);
... | {
"pile_set_name": "Github"
} |
"""Tests focused on the data module."""
import datetime
import numpy as np
import pytest
import torch
from deepdow.data import (Compose, Dropout, FlexibleDataLoader, InRAMDataset, Multiply, Noise,
RigidDataLoader)
from deepdow.data.load import collate_uniform
class TestCollateUniform:
... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifact... | {
"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"
} |
class FixMaintainersWithAlumnusFalse < ActiveRecord::Migration[5.1]
def up
Maintainer.where(alumnus: "0").update_all(alumnus: nil)
end
def down
raise ActiveRecord::IrreversibleMigration
end
end
| {
"pile_set_name": "Github"
} |
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=calendarsupport
pkgver=20.08.1
pkgrel=0
pkgdesc="Library providing calendar support"
arch="all !ppc64le !s390x !armhf !mips !mips64" # Limited by akonadi-calendar-dev -> kmailtransport -> libkgapi -> qt5-qtweben... | {
"pile_set_name": "Github"
} |
<?php
namespace PieCrust\Mock;
use PieCrust\IPieCrust;
use PieCrust\PieCrustConfiguration;
class MockPluginLoader
{
public $plugins;
public $formatters;
public $templateEngines;
public $dataProviders;
public $fileSystems;
public $processors;
public $importers;
public $commands;
p... | {
"pile_set_name": "Github"
} |
<?php
class NamespaceCoverageNotPublicTest extends PHPUnit_Framework_TestCase
{
/**
* @covers Foo\CoveredClass::<!public>
*/
public function testSomething()
{
$o = new Foo\CoveredClass;
$o->publicMethod();
}
}
| {
"pile_set_name": "Github"
} |
cmake_minimum_required(VERSION 3.3)
project(OpenGLESIMGTextureFilterCubic)
if(IOS)
message("Skipping OpenGLESIMGTextureFilterCubic : Not supported on iOS")
return()
endif()
add_subdirectory(../../.. ${CMAKE_CURRENT_BINARY_DIR}/sdk)
if(PVR_PREBUILT_DEPENDENCIES)
find_package(PVRShell REQUIRED MODULE)
find_package(... | {
"pile_set_name": "Github"
} |
LIBRARY libclamunrar_iface
EXPORTS libclamunrar_iface_LTX_unrar_open
EXPORTS libclamunrar_iface_LTX_unrar_peek_file_header
EXPORTS libclamunrar_iface_LTX_unrar_extract_file
EXPORTS libclamunrar_iface_LTX_unrar_skip_file
EXPORTS libclamunrar_iface_LTX_unrar_close
| {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2010-2019 Evolveum and contributors
*
* This work is dual-licensed under the Apache License 2.0
* and European Union Public License. See LICENSE file for details.
*/
package com.evolveum.midpoint.web.component.assignment;
import java.util.ArrayList;
import java.util.List;
import javax.xml.names... | {
"pile_set_name": "Github"
} |
using System;
using Jasper.Runtime.Handlers;
using LamarCodeGeneration;
namespace Jasper.Attributes
{
/// <summary>
/// Specify the maximum number of attempts to process a received message
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class MaximumAtt... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Jun 9 2015 22:53:21).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2014 by Steve Nygard.
//
#import <Foundation/NSScriptCommand.h>
@interface GoForwardScriptCommand : NSScriptCommand
{
}
- (id)performDefaultImplementation;
@... | {
"pile_set_name": "Github"
} |
{% load forms %}
{% input field="PatientConsultation.initials" %}
{% datetimepicker field="PatientConsultation.when" %}
{% textarea field="PatientConsultation.discussion" %}
| {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2013-2015 RoboVM AB
*
* 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 ag... | {
"pile_set_name": "Github"
} |
amd64=alpine:3.6
arm=arm32v6/alpine:3.6
arm64=arm64v8/alpine:3.6
ppc64le=ppc64le/alpine:3.6
| {
"pile_set_name": "Github"
} |
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _FIPS_H
#define _FIPS_H
#ifdef CONFIG_CRYPTO_FIPS
extern int fips_enabled;
#else
#define fips_enabled 0
#endif
#endif
| {
"pile_set_name": "Github"
} |
/*
** deko3d Example 03: Cube
** This example shows how to draw a basic rotating cube.
** New concepts in this example:
** - Setting up and using a depth buffer
** - Setting up uniform buffers
** - Basic 3D maths, including projection matrices
** - Updating uniforms with a dynamic command buffer
** - Adjusting resoluti... | {
"pile_set_name": "Github"
} |
---
title: "Illusion of the eye"
excerpt: "PaperFaces portrait of @robhampson drawn with Paper for iOS on an iPad."
image:
path: &image /assets/images/paperfaces-robhampson-twitter.jpg
feature: *image
thumbnail: /assets/images/paperfaces-robhampson-twitter-150.jpg
categories: [paperfaces]
tags: [portrait, illus... | {
"pile_set_name": "Github"
} |
/*
* Skeleton V1.1
* Copyright 2011, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 8/17/2011
*/
/* Table of Contents
==================================================
#Base 960 Grid
#Tablet (Portrait)
#Mobile (Portrait)
... | {
"pile_set_name": "Github"
} |
:imagesdir: ../../../images
[[sahi-controller]]
==== Sahi Controller
[#git-edit-section]
:page-path: docs/manual/testdefinition/advanced-topics/sahi-controller.adoc
git-link:{page-path}{git-view} | git-link:{page-path}{git-edit}
TIP: Use the Sahi Controller to identify elements on the page to write and test Sahi m... | {
"pile_set_name": "Github"
} |
//
// Copyright © 2020 osy. 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 l... | {
"pile_set_name": "Github"
} |
<?php
/*
* 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"); ... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Oct 15 2018 10:31:50).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <objc/NSObject.h>
@class SCRUIElement;
__attribute__((visibility("hidden")))
@interface SCRChildrenHashNode : NSObject
{
... | {
"pile_set_name": "Github"
} |
/*
Copyright 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, softw... | {
"pile_set_name": "Github"
} |
using Eto.Drawing;
using swm = System.Windows.Media;
namespace Eto.Wpf.Drawing
{
class FrozenBrushWrapper
{
public FrozenBrushWrapper(swm.Brush brush)
{
Brush = brush;
SetFrozen();
}
public swm.Brush Brush { get; }
public swm.Brush FrozenBrush { get; private set; }
public void SetFrozen() => Fro... | {
"pile_set_name": "Github"
} |
#!/bin/bash
: << '--COMMENT--'
Dependencies
sudo apt-get install tree
--COMMENT--
## set file date
## find ~/.local/share/0ad/mods/hannibal -exec touch -t 201501220000 {} \;
## paths
# pathRoot="/Daten/Dropbox/Projects/hannibal/"
pathCode="/home/noiv/.local/share/0ad/mods/hannibal/simulation/ai/hannibal"
pa... | {
"pile_set_name": "Github"
} |
@ f2
res8: Future[String] = Future(Success($2a$17$O0fnZkDyZ1bsJknuXw.eG.9Mesh9W03ZnVPefgcTV...
| {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2003, 2020, 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"
} |
package mage.cards.w;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.condition.common.OpponentControlsPermanentCondition;
import mage.abilities.decorator.ConditionalContinuousRuleModifyingEffect;
import mage.abilities.e... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.