text stringlengths 2 99k | meta dict |
|---|---|
include_rules = [
"+crypto",
]
| {
"pile_set_name": "Github"
} |
program linkedlist2(input,output);
(* Example linked list Pascal Program *)
(* *)
(* The file list.data would be used as the data file. *)
(* If there was an executable, a.out, run: a.out < list.data *)
const
grade... | {
"pile_set_name": "Github"
} |
/* xdcon - description
*
* Purpose:
*
* Written by: R. Mortensen
* Date:
*
* Calling Sequence:
*
* STATUS = xdcon( parameters )
*
* Parameter List:
*
* Unit: Display device unit number
*
* Possible Error Codes:
*
*/
#include "xvmaininc.h"
#include "ftnbridge.h"
#include "xdexterns.h"
#include "xdro... | {
"pile_set_name": "Github"
} |
defmodule Backoffice.ExAdmin.AuthAccount do
use ExAdmin.Register
register_resource Auth.Account do
menu label: "Auth Accounts"
options resource_name: "auth_account", controller_route: "auth_accounts"
filter [:id, :email]
index do
column :id
column :email
end
show _account do
... | {
"pile_set_name": "Github"
} |
/**
* Information about a raid.
*/
export interface ChatRitualInfo {
/**
* The name of the ritual.
*
* Currently, the only known ritual is "new_chatter".
*/
ritualName: string;
/**
* The message sent with the ritual.
*
* With the "new_chatter" ritual, you can choose between a set list of emotes to s... | {
"pile_set_name": "Github"
} |
/*******************************************************************************
* Copyright 2016-2019 Francesco Benincasa (info@abubusoft.com)
*
* 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 Lic... | {
"pile_set_name": "Github"
} |
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* DNS Library for handling lookups and updates.
*
* PHP Version 5
*
* Copyright (c) 2010, Mike Pultz <mike@mikepultz.com>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are... | {
"pile_set_name": "Github"
} |
import { isElement } from "lodash";
export default isElement;
| {
"pile_set_name": "Github"
} |
## Changelog
### v2.0.0
**Breaking changes**
- The main export now returns the compiled string, instead of the object returned from the compiler
**Added features**
- Adds a `.create` method to do what the main function did before v2.0.0
### v0.2.0
In addition to performance and matching improvements, the v0.2.0 ... | {
"pile_set_name": "Github"
} |
/*
* net/sched/cls_basic.c Basic Packet Classifier.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*
* Au... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<script type="text/javascript">
var obj = {
name: 'test',
age: 3,
foo: function() {}
};
console.log('-------------for...in-------------');
// 利用for...in遍历,for...in... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<title>Api Documentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link type='text/css' rel='stylesheet' href='../../apidoc/stylesheets/bundled/bootstrap.min.css'/>
<link type='... | {
"pile_set_name": "Github"
} |
//
// PieceAnimation.swift
// ADPuzzleLoader
//
// Created by Anton Domashnev on 1/9/16.
// Copyright © 2016 Anton Domashnev. All rights reserved.
//
import UIKit
extension CAAnimation {
//MARK: - Interface
static func basicForwardPieceAnimation(piece: Piece, velocity: Double, delay: CFTimeInter... | {
"pile_set_name": "Github"
} |
/*
* dice_hwdep.c - a part of driver for DICE based devices
*
* Copyright (c) Clemens Ladisch <clemens@ladisch.de>
* Copyright (c) 2014 Takashi Sakamoto <o-takashi@sakamocchi.jp>
*
* Licensed under the terms of the GNU General Public License, version 2.
*/
#include "dice.h"
static long hwdep_read(struct snd_hw... | {
"pile_set_name": "Github"
} |
#!/bin/bash
#
# Script to run Shadowsocks in daemon mode at boot time.
# ScriptAuthor: icyboy
# Revision 1.0 - 14th Sep 2013
#====================================================================
# Run level information:
# chkconfig: 2345 99 99
# Description: lightweight secured socks5 proxy
# processname: ss-server
# A... | {
"pile_set_name": "Github"
} |
# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
(($) ->
window.crm ||= {}
... | {
"pile_set_name": "Github"
} |
<!--{}-->
<template>
<div
v-on:b="
!function
(
a
,
b
)
{
;
}
"
></div>
</template>
| {
"pile_set_name": "Github"
} |
define([
'jquery',
'underscore',
'backbone',
'models/linkPeer',
'views/modal',
'text!templates/modalAddLocPeer.html'
], function($, _, Backbone, LinkPeerModel, ModalView,
modalAddLocPeerTemplate) {
'use strict';
var ModalAddLocPeerView = ModalView.extend({
className: 'add-location-peer-modal',
... | {
"pile_set_name": "Github"
} |
{
"id": "stone-egg-outfit",
"name": "Stone-egg Outfit",
"games": {
"nh": {
"orderable": false,
"customizable": false,
"sellPrice": {
"currency": "bells",
"value": 1200
},
"recipe": {
"stone-egg": 3
},
"variations": {
"yellow": "Yellow"
... | {
"pile_set_name": "Github"
} |
-e ../datadog_checks_dev
| {
"pile_set_name": "Github"
} |
server:
port: 3344
spring:
application:
name: cloud-config-center
cloud:
config:
server:
git:
#uri: git@github.com:EiletXie/config-repo.git #Github上的git仓库名字
uri: https://github.com/EiletXie/config-repo.git
##搜索目录.这个目录指的是github上的目录
search-paths:
... | {
"pile_set_name": "Github"
} |
package integration
import (
"fmt"
"net/http"
"net/http/httptest"
"net/http/httputil"
"os/exec"
"strings"
"testing"
"github.com/sclevine/spec"
"github.com/stretchr/testify/require"
)
var _ = suite("projects/resources/get", func(t *testing.T, when spec.G, it spec.S) {
var (
expect *require.Assertions
se... | {
"pile_set_name": "Github"
} |
// Copyright 2014 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 linux
// +build ppc64 ppc64le
// +build !gccgo
#include "textflag.h"
//
// System calls for ppc64, Linux
//
// Just jump to package syscall's imple... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/FaceDetectorExample.iml" filepath="$PROJECT_DIR$/FaceDetectorExample.iml" />
<module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/a... | {
"pile_set_name": "Github"
} |
# Locally calculated
sha256 ae22ef11c934364be4fd2a0a1a7aadf4495a0251ec6979da280d342a89ca3c2f lshw-B.02.18.tar.gz
| {
"pile_set_name": "Github"
} |
module.exports = function buildEnvironment(environment) {
const ENV = {
modulePrefix: 'ember-example',
environment,
rootURL: '/',
locationType: 'auto',
EmberENV: {
FEATURES: {
// Here you can enable experimental features on an ember canary build
// e.g. 'with-controller': tru... | {
"pile_set_name": "Github"
} |
import React from 'react';
import Grid from '@material-ui/core/Grid';
import * as PropTypes from 'prop-types';
import Box from '@material-ui/core/Box';
import Widget from '../components/Widget/Widget';
import DeploymentDetailsSection from '../components/DeploymentDetailsSection';
import { useDeploymentDetailsContext } ... | {
"pile_set_name": "Github"
} |
# Tests for special content of performance_schema.threads
#
# Show MySQL server related content in performance_schema.threads
--source include/freebsd.inc
# Every thread should be bound to an operating system thread
# (this test is not using the thread_pool)
# Note that this test will fail:
# - on platforms where m... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<document xmlns="http://v8.1c.ru/8.2/data/spreadsheet" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instan... | {
"pile_set_name": "Github"
} |
#!/bin/bash
##===----------------------------------------------------------------------===##
##
## This source file is part of the SwiftNIO open source project
##
## Copyright (c) 2019 Apple Inc. and the SwiftNIO project authors
## Licensed under Apache License v2.0
##
## See LICENSE.txt for license information
## See ... | {
"pile_set_name": "Github"
} |
2611.1.1 = {
holder = 1836031
}
2651.1.1 = {
holder = 1836000
}
| {
"pile_set_name": "Github"
} |
import os
import freeOrionAIInterface as fo
from common.timers import Timer
from common.option_tools import get_option_dict, check_bool, DEFAULT_SUB_DIR
from common.option_tools import TIMERS_TO_FILE, TIMERS_USE_TIMERS, TIMERS_DUMP_FOLDER
import sys
# setup module
options = get_option_dict()
try:
USE_TIMERS = che... | {
"pile_set_name": "Github"
} |
W
128
// -0.045024
0xFA3CAA88
// 0.046108
0x05E6DDC5
// -0.005518
0xFF4B3119
// -0.001981
0xFFBF12F3
// -0.038977
0xFB02CBE3
// 0.013770
0x01C33652
// 0.022191
0x02D72850
// -0.004936
0xFF5E45B8
// 0.004681
0x0099613E
// 0.005962
0x00C35D39
// -0.029572
0xFC36FBFC
// -0.013674
0xFE3FF0F0
// -0.008424
0xFEEBF8A9
// -0.0... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2007, 2008, 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"
} |
<!DOCTYPE html>
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title>class Celluloid::Task - celluloid-0.15.2 Documentation</title>
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
<script type="text/javascript">
var rdoc_rel_prefix = "../";
</script>
... | {
"pile_set_name": "Github"
} |
# qt components used (also by qglviewer): Core Gui Xml OpenGL Widgets
include_directories(${CSPARSE_INCLUDE_DIR}
${QGLVIEWER_INCLUDE_DIR}
${Qt5Core_INCLUDE_DIRS}
${Qt5Gui_INCLUDE_DIRS}
${Qt5Xml_INCLUDE_DIRS}
${Qt5Widgets_INCLUDE_DIRS}
${Qt5OpenGL_INCLUDE_DIRS}
${CMAKE_BINARY_DIR} ${CMAKE_CU... | {
"pile_set_name": "Github"
} |
//===-- ExecutionEngine.cpp - Common Implementation shared by EEs ---------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | {
"pile_set_name": "Github"
} |
/*
* Asqatasun - Automated webpage assessment
* Copyright (C) 2008-2019 Asqatasun.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at y... | {
"pile_set_name": "Github"
} |
function anorm = update_gbound(anorm,alpha,beta,j)
%UPDATE_GBOUND Update Gerscgorin estimate of 2-norm
% ANORM = UPDATE_GBOUND(ANORM,ALPHA,BETA,J) updates the Gersgorin bound
% for the tridiagonal in the Lanczos process after the J'th step.
% Applies Gerscgorins circles to T_K'*T_k instead of T_k itself
% since ... | {
"pile_set_name": "Github"
} |
package task
import (
"fmt"
"io"
"time"
"github.com/spf13/pflag"
"github.com/taskcluster/slugid-go/slugid"
tcclient "github.com/taskcluster/taskcluster/v37/clients/client-go"
"github.com/taskcluster/taskcluster/v37/clients/client-go/tcqueue"
)
// runCancel cancels the runs of a given task.
func runCancel(cred... | {
"pile_set_name": "Github"
} |
/*
* -
* #%L
* Pipeline: AWS Steps
* %%
* Copyright (C) 2016 Taimos GmbH
* %%
* 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"
} |
# A6:2017 Security Misconfiguration
| Threat agents/Attack vectors | Security Weakness | Impacts |
| -- | -- | -- |
| Access Lvl : Exploitability 3 | Prevalence 3 : Detectability 3 | Technical 2 : Business |
| Attackers will often attempt to exploit unpatched flaws or access default accounts, u... | {
"pile_set_name": "Github"
} |
/*! jQuery UI - v1.11.4 - 2015-03-11
* http://jqueryui.com
* Includes: core.css, accordion.css, autocomplete.css, button.css, datepicker.css, dialog.css, draggable.css, menu.css, progressbar.css, resizable.css, selectable.css, selectmenu.css, slider.css, sortable.css, spinner.css, tabs.css, tooltip.css, theme.css
* To ... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Flot Examples: Visitors</title>
<link href="../examples.css" rel="stylesheet" type="text/css">
<!--[if lte IE 8]><script language="javas... | {
"pile_set_name": "Github"
} |
> 本文作者来自 [华尔街见闻技术团队](https://www.zhihu.com/org/hua-er-jie-jian-wen-ji-zhu-tuan-dui-92/activities) - [花裤衩](https://github.com/PanJiaChen)
前几天 webpack 作者 [Tobias Koppers](https://github.com/sokra) 发布了一篇新的文章 [webpack 4.0 to 4.16: Did you know?](https://medium.com/webpack/webpack-4-0-to-4-16-did-you-know-71e25a57fa6b)(需翻墙... | {
"pile_set_name": "Github"
} |
/*
Copyright (c) 2017 SAP SE or an SAP affiliate company. 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 app... | {
"pile_set_name": "Github"
} |
.modal {
align-items: flex-start;
display: block;
&.is-superimposed {
.modal-background {
z-index: 20;
}
.modal-container {
z-index: 21;
}
}
}
.modal-background {
top: 0;
left: 0;
width: 100vw;
height: 100vh;
position: fixed;
background-color: rgba(0,0,0,0.85);
z-index: 10;
&-enter-active ... | {
"pile_set_name": "Github"
} |
[
["0","\u0000",127],
["8141","갂갃갅갆갋",4,"갘갞갟갡갢갣갥",6,"갮갲갳갴"],
["8161","갵갶갷갺갻갽갾갿걁",9,"걌걎",5,"걕"],
["8181","걖걗걙걚걛걝",18,"걲걳걵걶걹걻",4,"겂겇겈겍겎겏겑겒겓겕",6,"겞겢",5,"겫겭겮겱",6,"겺겾겿곀곂곃곅곆곇곉곊곋곍",7,"곖곘",7,"곢곣곥곦곩곫곭곮곲곴곷",4,"곾곿괁괂괃괅괇",4,"괎괐괒괓"],
["8241","괔괕괖괗괙괚괛괝괞괟괡",7,"괪괫괮",5],
["8261","괶괷괹괺괻괽",6,"굆굈굊",5,"굑굒굓굕굖굗"],
["8281","굙",7,"굢굤",7,"굮굯굱굲굷굸... | {
"pile_set_name": "Github"
} |
Bag Attributes
localKeyID: 05 3C 6A 9D 6D EC A0 FA 2F AE 41 32 0D 24 3A 21 34 F6 08 15
subject=/C=US/ST=Maryland/L=Forest Hill/O=The Apache Software Foundation/OU=Apache Thrift/CN=localhost/emailAddress=dev@thrift.apache.org
issuer=/C=US/ST=Maryland/L=Forest Hill/O=The Apache Software Foundation/OU=Apache Thrift/C... | {
"pile_set_name": "Github"
} |
ANTLR 2 License
We reserve no legal rights to the ANTLR--it is fully in the public domain.
An individual or company may do whatever they wish with source code distributed
with ANTLR or the code generated by ANTLR, including the incorporation of
ANTLR, or its output, into commerical software.
We encourage users to dev... | {
"pile_set_name": "Github"
} |
;; Copyright (c) 2009 Derick Eddington
;;
;; 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, publi... | {
"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.
#include "components/ssl_config/ssl_config_service_manager.h"
#include <stdint.h>
#include <algorithm>
#include <string>
#include <vector>
#include ... | {
"pile_set_name": "Github"
} |
require "test_helper"
class MessagesChannelTest < ActionCable::Channel::TestCase
# test "subscribes" do
# subscribe
# assert subscription.confirmed?
# end
end
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11201" systemVersion="15G1004" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialVie... | {
"pile_set_name": "Github"
} |
#!/bin/bash
DIR=`dirname $0`
python $DIR/../shadysim/shadysim.py $@
| {
"pile_set_name": "Github"
} |
#pragma once
#include <QFile>
#include <QNetworkReply>
#include "masterdialog.h"
namespace Ui {
class AttachmentDialog;
}
class AttachmentDialog : public MasterDialog {
Q_OBJECT
public:
explicit AttachmentDialog(QWidget *parent = nullptr);
~AttachmentDialog();
QFile *getFile();
QString get... | {
"pile_set_name": "Github"
} |
public class LeetCode_169_085 {
}
/**
* @Package:
* @ClassName: MajorityElement
* @Description: 给定一个大小为 n 的数组,找到其中的众数。众数是指在数组中出现次数大于 ⌊ n/2 ⌋ 的元素。
* *************你可以假设数组是非空的,并且给定的数组总是存在众数。
* @leetcode_url:https://leetcode-cn.com/problems/majority-element/
* @Author: wangzhao
* @Date: 2019-05-12 09:49:03
* @Vers... | {
"pile_set_name": "Github"
} |
package api
import (
"crypto/tls"
"crypto/x509"
"encoding/base64"
"errors"
"flag"
"net/url"
"os"
squarejwt "gopkg.in/square/go-jose.v2/jwt"
"github.com/hashicorp/errwrap"
)
var (
// PluginMetadataModeEnv is an ENV name used to disable TLS communication
// to bootstrap mounting plugins.
PluginMetadataMod... | {
"pile_set_name": "Github"
} |
"""
Headless Site Navigation and File Download (Using Selenium) to S3
This example demonstrates using Selenium (via Firefox/GeckoDriver) to:
1) Log into a website w/ credentials stored in connection labeled 'selenium_conn_id'
2) Download a file (initiated on login)
3) Transform the CSV into JSON formatting
4) Append t... | {
"pile_set_name": "Github"
} |
/* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2012, Ajax.org B.V.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of sou... | {
"pile_set_name": "Github"
} |
var TodoController = function($scope, $http){
$scope.editMode = false;
$scope.position = '';
$scope.getAllTodos = function(){
$scope.resetError();
$http.get('todo/all.json').success(function(response){
$scope.todos = response;
}).error(function() {
$scope.se... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<title>YMNewfeatureViewController Class Reference</title>
<link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../css/highlight.css" />
<meta charset='utf-8'>
<script src="../js/jquery.min.js" defer><... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>DEFINE_STACK_OF</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:" />
... | {
"pile_set_name": "Github"
} |
/* ../netlib/ctgevc.f -- translated by f2c (version 20100827). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the en... | {
"pile_set_name": "Github"
} |
(define var "goose")
;; Any reference to var here will be bound to "goose"
(let* ((var1 10)
(var2 (+ var1 12)))
;; But the definition of var1 could not refer to var2
) | {
"pile_set_name": "Github"
} |
/*
* /MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Bold.js
*
* Copyright (c) 2009-2017 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ht... | {
"pile_set_name": "Github"
} |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2019, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | {
"pile_set_name": "Github"
} |
//
// CKFetchShareMetadataOperation.h
// CloudKit
//
// Copyright © 2016 Apple Inc. All rights reserved.
//
#import <CloudKit/CKOperation.h>
/* Since you can't know what container this share is in before you fetch its metadata, you may run this operation in any container you have access to */
@class CKShareMetada... | {
"pile_set_name": "Github"
} |
/*
* arLabelingSub*.c
* ARToolKit5
*
* This file is part of ARToolKit.
*
* ARToolKit is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<script type="text/javascript" src="//use.typekit.net/jbn8qxr.js"></script>
<scri... | {
"pile_set_name": "Github"
} |
CHRUBY_VERSION="0.3.9"
RUBIES=()
for dir in "$PREFIX/opt/rubies" "$HOME/.rubies"; do
[[ -d "$dir" && -n "$(ls -A "$dir")" ]] && RUBIES+=("$dir"/*)
done
unset dir
function chruby_reset()
{
[[ -z "$RUBY_ROOT" ]] && return
PATH=":$PATH:"; PATH="${PATH//:$RUBY_ROOT\/bin:/:}"
[[ -n "$GEM_ROOT" ]] && PATH="${PATH//:$G... | {
"pile_set_name": "Github"
} |
obj-y += prom.o setup.o irq.o
| {
"pile_set_name": "Github"
} |
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
//
// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
// copy, modify, and distribute this software in source code or binary form for use
// in connection with the web services and APIs provided by Facebook.
//
// As with... | {
"pile_set_name": "Github"
} |
/*
*
* Copyright 2015 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | {
"pile_set_name": "Github"
} |
-- Created on: 2000-05-10
-- Created by: Andrey BETENEV
-- Copyright (c) 2000-2014 OPEN CASCADE SAS
--
-- This file is part of Open CASCADE Technology software library.
--
-- This library is free software; you can redistribute it and/or modify it under
-- the terms of the GNU Lesser General Public License version 2.1 a... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML>
<!-- these should make the input non-native -->
<input type="text" value="Text Input" style="border-width: 0">
<input type="text" value="Text Input" style="border-width: 1px">
<input type="text" value="Text Input" style="border-width: 2px">
<input type="text" value="Text Input" style="border-width: 3px"... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
#
# Copyright (C) 2012-2016 The Python Software Foundation.
# See LICENSE.txt and CONTRIBUTORS.txt.
#
"""PEP 376 implementation."""
from __future__ import unicode_literals
import base64
import codecs
import contextlib
import hashlib
import logging
import os
import posixpath
import sys
import z... | {
"pile_set_name": "Github"
} |
// Go support for Protocol Buffers - Google's data interchange format
//
// Copyright 2011 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"
} |
package client // import "github.com/docker/docker/client"
import (
"context"
"encoding/json"
"net/url"
"github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/filters"
)
// NetworkList returns the list of networks configured in the docker host.
func (cli *Client) NetworkList(ctx context.Contex... | {
"pile_set_name": "Github"
} |
/*
* 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, software
* distrib... | {
"pile_set_name": "Github"
} |
# SPDX-License-Identifier: AGPL-3.0-or-later
@apps @minidlna
Feature: minidlna Simple Media Server
Run miniDLNA media server
Background:
Given I'm a logged in user
And the minidlna application is installed
Scenario: Enable minidlna application
Given the minidlna application is disabled
When I enable the mi... | {
"pile_set_name": "Github"
} |
Median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value. So the median is the mean of the two middle value.
Examples:
[2,3,4] , the median is 3
[2,3], the median is (2 + 3) / 2 = 2.5
Design a data structure that supports the following two operations:
void ad... | {
"pile_set_name": "Github"
} |
package com.google.sitebricks;
import java.io.File;
public class FileTemplateSource implements TemplateSource {
private File templateFile;
public FileTemplateSource(File templateFile) {
this.templateFile = templateFile;
}
@Override
public String getLocation() {
return templateFile.getAbsolutePa... | {
"pile_set_name": "Github"
} |
# ADVSDK
ADVSDK是一款针对PaddlePaddle框架定制的轻量级SDK。目前支持学术届和工业界公认的基线测试算法,并且支持输出$L_0$、$L_2$和$L_(inf)$并可视化。
## 支持算法
- PGD
- FGSM
## 使用教程
全部教程使用jupter编写,方便使用和阅读。
- [攻击AlexNet](sdk_demo_alexnet.ipynb)
- [攻击ResNet](sdk_demo.ipynb)
## 模型文件地址
https://github.com/PaddlePaddle/models/tree/develop/PaddleCV/image_classification
... | {
"pile_set_name": "Github"
} |
/*
MIT License (MIT)
Copyright (c) 2015 Clement CN Tsang
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, modif... | {
"pile_set_name": "Github"
} |
class AddBudgetTranslations < ActiveRecord::Migration[4.2]
def change
create_table :budget_translations do |t|
t.integer :budget_id, null: false
t.string :locale, null: false
t.timestamps null: false
t.string :name
t.index :budget_id
t.index :locale
end
end
end
| {
"pile_set_name": "Github"
} |
msgid ""
msgstr ""
"Project-Id-Version: QueryPHP Page\n"
"POT-Creation-Date: 2017-11-06 13:46+0800\n"
"PO-Revision-Date: 2018-05-04 08:00+0800\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generat... | {
"pile_set_name": "Github"
} |
<html>
<head>
<meta charset="utf-8" />
<title>Test #1 for bug #1043537</title>
<style>
div {
width: 200px;
height: 200px;
background: yellow;
}
div:before {
content: '';
background: hotpink;
display: block;
width: 40px;
height: 40px;
overflow: hidden;
resize: both;
}
</style>
</head>
<body>
<div>... | {
"pile_set_name": "Github"
} |
/*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* th... | {
"pile_set_name": "Github"
} |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ re... | {
"pile_set_name": "Github"
} |
#-*- coding: ISO-8859-1 -*-
# pysqlite2/test/factory.py: tests for the various factories in pysqlite
#
# Copyright (C) 2005-2007 Gerhard Häring <gh@ghaering.de>
#
# This file is part of pysqlite.
#
# This software is provided 'as-is', without any express or implied
# warranty. In no event will the authors be held liab... | {
"pile_set_name": "Github"
} |
<?xml version='1.0' encoding='utf-8'?>
<section xmlns="https://code.dccouncil.us/schemas/dc-library" xmlns:codified="https://code.dccouncil.us/schemas/codified" xmlns:codify="https://code.dccouncil.us/schemas/codify" xmlns:xi="http://www.w3.org/2001/XInclude" containing-doc="D.C. Code">
<num>50-1703</num>
<heading>... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 1999-2000 Harri Porten (porten@kde.org)
* Copyright (C) 2008-2018 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
*... | {
"pile_set_name": "Github"
} |
import { Injectable } from "@angular/core";
import { HttpClient, HttpErrorResponse } from "@angular/common/http";
import { Observable, throwError } from "rxjs";
import { catchError, tap, map } from "rxjs/operators";
import { IFile } from "./file";
import { environment } from "src/environments/environment";
import { IA... | {
"pile_set_name": "Github"
} |
# SPDX-License-Identifier: CC-BY-SA-2.0
# SPDX-FileCopyrightText: 2013-2020 Normation SAS
post:
summary: Trigger update of policies
description: Update configuration policies if needed
operationId: updatePolicies
responses:
"200":
description: Success
content:
application/json:
... | {
"pile_set_name": "Github"
} |
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
438CAE5F1B50060D00EA8B00 /* ActionKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 438CAE531B50060D00EA8B00 /* ActionKit.framework */; };
438CAE661B50060D00EA8B00 /* ActionKitTest... | {
"pile_set_name": "Github"
} |
/* Generated from:
* ap-northeast-1 (https://d33vqc0rt9ld30.cloudfront.net/latest/gzip/CloudFormationResourceSpecification.json), version 16.2.0,
* eu-west-1 (https://d3teyb21fexa9r.cloudfront.net/latest/gzip/CloudFormationResourceSpecification.json), version 16.2.0,
* us-east-1 (https://d1uauaxba7bl26.cloudfront.n... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env sh
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlin... | {
"pile_set_name": "Github"
} |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
echo "\nDatabase error: ",
$heading,
"\n\n",
$message,
"\n\n"; | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.