text stringlengths 2 99.9k | meta dict |
|---|---|
package org.jetbrains.dokka.javadoc.transformers.documentables
import org.jetbrains.dokka.DokkaConfiguration
import org.jetbrains.dokka.Platform
import org.jetbrains.dokka.model.DModule
import org.jetbrains.dokka.plugability.DokkaContext
import org.jetbrains.dokka.transformers.documentation.PreMergeDocumentableTransfo... | {
"pile_set_name": "Github"
} |
サン
ムーン | {
"pile_set_name": "Github"
} |
Title: check_http: Improve WATO rule
Level: 1
Component: checks
Compatible: compat
Edition: cre
Version: 1.6.0b1
Date: 1553667609
Class: feature
The WATO rule to configure the active check 'check_http' now provides a more
user friendly way to configure proxy settings.
| {
"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 may not use this... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?><!--
Copyright TEI Consortium.
Dual-licensed under CC-by and BSD2 licences
See the file COPYING.txt for details
$Date$
$Id$
--><?xml-model href="http://jenkins.tei-c.org/job/TEIP5-dev/lastSuccessfulBuild/artifact/P5/release/xml/tei/odd/p5.nvdl" type="application... | {
"pile_set_name": "Github"
} |
Widgets
=======
Los Widgets son bloques de código reutilizables utilizados en las [vistas](structure-views.md) para crear elementos de
interfaz de usuario complejos y configurables de forma orientada a objetos. Por ejemplo, widget DatePicker puede
generar un DatePicker de lujo que permita a los usuarios seleccionar... | {
"pile_set_name": "Github"
} |
//
// MASConstraint+Private.h
// Masonry
//
// Created by Nick Tymchenko on 29/04/14.
// Copyright (c) 2014 cloudling. All rights reserved.
//
#import "MASConstraint.h"
@protocol MASConstraintDelegate;
@interface MASConstraint ()
/**
* Whether or not to check for an existing constraint instead of adding cons... | {
"pile_set_name": "Github"
} |
/* PLUGIN _CLOUDFLARE
*
* Czech language file.
*
* Author:
*/
theUILang.cannotLoadCloudscraper = "_cloudflare plugin: cloudscraper module can't be loaded in Python";
thePlugins.get("_cloudflare").langLoaded();
| {
"pile_set_name": "Github"
} |
"""Export pyrh sub classes."""
from . import exceptions
from .cache import dump_session, load_session
from .robinhood import Robinhood
__version__ = "2.0"
__all__ = [
"__version__",
"Robinhood",
"load_session",
"dump_session",
"exceptions",
]
| {
"pile_set_name": "Github"
} |
/*
* Trivial amendments by James Bonfield <jkb@sanger.ac.uk> to provide an
* HTSlib interface. 2015.
*
* Externally our API uses an opaque hts_md5_context structure.
*
* Internally either this gets defined and used with the routines here
* or it remains incomplete and is cast to the OpenSSL MD5_CTX structure
* ... | {
"pile_set_name": "Github"
} |
<div align=left ><img src="https://gitee.com/darren3d/tnn-resource/raw/master/TNN.png"/>
# Run a demo from scratch
[中文版本](../cn/get_started.md)
It is very simple to use TNN. If you have a trained model, the model can be deployed on the target platform through three steps.
1. Convert the trained model into a TNN mod... | {
"pile_set_name": "Github"
} |
title lldvrm - signed long divide and remainder routine
;***
;lldvrm.asm - signed long divide and remainder routine
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
;Purpose:
; defines the signed long divide and remainder routine
; __alldvrm
;
;****************************... | {
"pile_set_name": "Github"
} |
---
title: "Blog Feature: Art Gallery"
date: 2019-11-01
tags:
- art
- announce
- 100th-post
---
# Blog Feature: Art Gallery
I have just implemented support for my portfolio site to also function as an art
gallery. See all of my posted art [here](/gallery).
I have been trying to get better at art for a while and I... | {
"pile_set_name": "Github"
} |
---
title: 031《OneTab》把多个Tab转换为一个列表
---
> OneTab是Chrome的一款插件, 主要用来管理浏览器的标签页,它有两个应用场景
## 应用场景一: 把多个Tab转换为一个列表
当你发现自己有太多的标签页时,单击OneTab图标,所有标签页会转换成一个列表,当你需要再次访问这些标签页时,点击OneTab图标唤出列表,点击列表恢复标签页
- 当前我在浏览器打开了一组标签页
> 
- 点击OneTab图标
>  {
$cli = new co\http\client('127.0.0.1', 9501);
$cli->setHeaders(['Host' => 'localhost']);
$cli->set(['http_proxy_host' => HTTP_PROXY_HOST, 'http_proxy_port' => HTTP_PROXY_PORT]);
$result = $cli->get('/get?json=true');
var_dump($cli->body);
//... | {
"pile_set_name": "Github"
} |
package install
import (
"fmt"
"io"
"io/ioutil"
"os"
"path/filepath"
"sort"
"time"
"github.com/apprenda/kismatic/pkg/tls"
"github.com/apprenda/kismatic/pkg/util"
"github.com/cloudflare/cfssl/csr"
)
const (
adminUser = "admin"
adminGroup = "... | {
"pile_set_name": "Github"
} |
# `gnrc_ipv6_ext` test
This test utilizes [scapy] to test the IPv6 Extension header parsing.
It is intended to just test the basic parsing functionality. For specific
extension header types please provide a separate test application.
To test, compile and flash the application to any board of your liking (since
`etho... | {
"pile_set_name": "Github"
} |
#ifndef __COMPONENTSTESTSCENE_H__
#define __COMPONENTSTESTSCENE_H__
#include "cocos2d.h"
#include "cocos-ext.h"
void runComponentsTestLayerTest();
class ComponentsTestLayer : public cocos2d::CCLayerColor
{
public:
ComponentsTestLayer();
~ComponentsTestLayer();
// Here's a difference. Method 'init' ... | {
"pile_set_name": "Github"
} |
// Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | {
"pile_set_name": "Github"
} |
/*!
* depd
* Copyright(c) 2014-2015 Douglas Christopher Wilson
* MIT Licensed
*/
'use strict'
/**
* Module dependencies.
* @private
*/
var EventEmitter = require('events').EventEmitter
/**
* Module exports.
* @public
*/
lazyProperty(module.exports, 'callSiteToString', function callSiteToString () {
var... | {
"pile_set_name": "Github"
} |
// mksyscall.pl -tags linux,mips64le syscall_linux.go syscall_linux_mips64x.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build linux,mips64le
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func fchmoda... | {
"pile_set_name": "Github"
} |
# 效果展示
<a name="通用ppocr_server_1.1效果展示"></a>
## 通用ppocr_server_1.1效果展示
<div align="center">
<img src="../imgs_results/1101.jpg" width="800">
<img src="../imgs_results/1102.jpg" width="800">
<img src="../imgs_results/1103.jpg" width="800">
<img src="../imgs_results/1104.jpg" width="800">
<img src="... | {
"pile_set_name": "Github"
} |
/*
Configuration defines for installed libtiff.
This file maintained for backward compatibility. Do not use definitions
from this file in your programs.
*/
#ifndef _TIFFCONF_
#define _TIFFCONF_
/* Define to 1 if the system has the type `int16'. */
/* #undef HAVE_INT16 */
/* Define to 1 if the system has the ty... | {
"pile_set_name": "Github"
} |
@echo off
SET IDEDIR=%~dp0\..\ide
SET LAUNCHER=opp_ide
SET DEFAULT_WORKSPACE_ARGS=-vmargs -Dosgi.instance.area.default=%IDEDIR%\..\samples
echo Starting the OMNEST IDE...
start %IDEDIR%\%LAUNCHER% %* %DEFAULT_WORKSPACE_ARGS% >out.log
| {
"pile_set_name": "Github"
} |
<GMLFeatureClassList>
<GMLFeatureClass>
<Name>SBBdry</Name>
<ElementPath>SBBdry</ElementPath>
<SRSName>urn:ogc:def:crs:EPSG::6668</SRSName>
<GeometryElementPath>loc</GeometryElementPath>
<GeometryType>LineString</GeometryType>
<PropertyDefn>
<Name>fid</Name>
<ElementPath>fid</Eleme... | {
"pile_set_name": "Github"
} |
# Generated by h2py from /usr/include/netinet/in.h
IPPROTO_IP = 0
IPPROTO_HOPOPTS = 0
IPPROTO_ICMP = 1
IPPROTO_IGMP = 2
IPPROTO_GGP = 3
IPPROTO_IPV4 = 4
IPPROTO_IPIP = IPPROTO_IPV4
IPPROTO_TCP = 6
IPPROTO_ST = 7
IPPROTO_EGP = 8
IPPROTO_PIGP = 9
IPPROTO_RCCMON = 10
IPPROTO_NVPII = 11
IPPROTO_PUP = 12
IPPROTO_ARGUS = 13
... | {
"pile_set_name": "Github"
} |
export const ADD_NOTIFICATION = 'ADD_NOTIFICATION';
export const ADD_PAY_METHOD = 'ADD_PAY_METHOD';
export const APP_ERROR = 'APP_ERROR';
export const BEGIN_PROCESSING = 'BEGIN_PROCESSING';
export const CLOSE_MODAL = 'CLOSE_MODAL';
export const COMPLETE_TRANSACTION = 'COMPLETE_TRANSACTION';
export const CREDIT_CARD_SUB... | {
"pile_set_name": "Github"
} |
#
# This is a generic function to test that restoring registers during unwinding work correctly.
#
.text
.globl _unwind_tester
_unwind_tester:
LFB3:
pushq %rbp
LCFI45:
movq %rsp, %rbp
LCFI46:
movq %rbx, -40(%rbp)
LCFI47:
movq %r12, -32(%rbp)
LCFI48:
movq %r13, -24(%rbp)
LCFI49:
movq %r14, -16(%rbp)
LCFI50:
m... | {
"pile_set_name": "Github"
} |
body {
font-size: 16px;
color: #fff;
background-color: #61122f;
font-family: 'Oxygen', sans-serif;
}
/** HEADER **/
#header-nav {
background-color: #f6b319;
border-radius: 0;
border: 0;
}
#logo-img {
background: url('../images/restaurant-logo_large.png') no-repeat;
width: 150px;
height: 150px;
m... | {
"pile_set_name": "Github"
} |
import React from 'react';
import PropTypes from 'prop-types';
import { injectIntl, intlShape } from 'react-intl';
import FormControl from '@material-ui/core/FormControl';
import Radio from '@material-ui/core/Radio';
import RadioGroup from '@material-ui/core/RadioGroup';
import CloseIcon from '@material-ui/icons/Close'... | {
"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 ... | {
"pile_set_name": "Github"
} |
/*
* QEMU IDE Emulation: microdrive (CF / PCMCIA)
*
* Copyright (c) 2003 Fabrice Bellard
* Copyright (c) 2006 Openedhand Ltd.
*
* 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... | {
"pile_set_name": "Github"
} |
<!-- SPDX-License-Identifier: CC-BY-4.0 -->
<!-- Copyright Contributors to the OpenColorIO Project. -->
Corporate Contributor License Agreement ("Agreement")
Thank you for your interest in the OpenColorIO Project a Series of LF
Projects, LLC (hereinafter "Project"). In order to clarify the
intellectual property licen... | {
"pile_set_name": "Github"
} |
/**
* Copyright 2015 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | {
"pile_set_name": "Github"
} |
//
// Utility.h
// CMPayClient
// QQ:1490724
#import <Foundation/Foundation.h>
#import <CommonCrypto/CommonHMAC.h>
#import <SystemConfiguration/SystemConfiguration.h>
#import <netdb.h>
#import <arpa/inet.h>
@interface Utility : NSObject {
}
+(NSString *)createMD5:(NSString *)params;
+(NSString *)createPostUR... | {
"pile_set_name": "Github"
} |
<div class="search-content__inner-wrap">
{%- assign search_provider = site.search_provider | default: "lunr" -%}
{%- case search_provider -%}
{%- when "lunr" -%}
<input type="text" id="search" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Ent... | {
"pile_set_name": "Github"
} |
########################################################################
# Extract information about Services
#
########################################################################
dynamic.1.name=kodi_desc
dynamic.1.source=service kodi status | grep "kodi.service - "
dynamic.1.regexp=- (.*)
dynamic.2.name=kodi_act... | {
"pile_set_name": "Github"
} |
#include <Windows.h>
#include <Common/Hook.h>
#include <Common/Log.h>
#include <Win32/MemoryManagement.h>
namespace
{
void limitTo2Gb(SIZE_T& mem);
void WINAPI globalMemoryStatus(LPMEMORYSTATUS lpBuffer)
{
LOG_FUNC("GlobalMemoryStatus", lpBuffer);
CALL_ORIG_FUNC(GlobalMemoryStatus)(lpBuffer);
limitTo2Gb(lpB... | {
"pile_set_name": "Github"
} |
/**
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership.
*
* Camunda licenses this file to you under the MIT; you may not use this ... | {
"pile_set_name": "Github"
} |
type tupbox[T] = tup(@T);
type recbox[T] = rec(@T x);
fn tuplift[T](T t) -> tupbox[T] { ret tup(@t); }
fn reclift[T](T t) -> recbox[T] { ret rec(x=@t); }
fn main() {
let int foo = 17;
let tupbox[int] tbfoo = tuplift[int](foo);
let recbox[int] rbfoo = reclift[int](foo);
check (tbfoo._0 == foo);
check (rbfoo.... | {
"pile_set_name": "Github"
} |
/* Copyright (C) 2019, 2020 Monomax Software Pty Ltd
*
* This file is part of Dnote.
*
* Dnote 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 optio... | {
"pile_set_name": "Github"
} |
{
"_from": "tunnel-agent@~0.4.1",
"_id": "tunnel-agent@0.4.3",
"_inBundle": false,
"_integrity": "sha1-Y3PbdpCf5XDgjXNYM2Xtgop07us=",
"_location": "/phantomjs/tunnel-agent",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "tunnel-agent@~0.4.1",
"name": "tu... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2014-2015 VMware, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | {
"pile_set_name": "Github"
} |
<package>
<name>XML-XMLNodeBuilder</name>
<namespace>XML</namespace>
<prereq>XML-DOM</prereq>
<prereq>XML-SAXParser</prereq>
<filein>NodeBuilder.st</filein>
</package>
| {
"pile_set_name": "Github"
} |
{ "prover": "why3:Alt-Ergo,2.0.0", "verdict": "valid", "time": 0.0267,
"steps": 16 }
| {
"pile_set_name": "Github"
} |
#if UNITY_EDITOR
using System.Collections;
using UnityEditor;
namespace UnityEngine.Rendering.HighDefinition
{
class SceneViewDrawMode
{
static private bool RejectDrawMode(SceneView.CameraMode cameraMode)
{
if (cameraMode.drawMode == DrawCameraMode.TexturedWire ||
ca... | {
"pile_set_name": "Github"
} |
EXAMPLE addl
HYPOTHESES:
POINT A B C P;
LINE X A C;
LINE X B C;
LINE X A B;
DLINE X P A;
DLINE X P C;
DLINE X P B;
POINT A1 B1 C1 P1;
LINE X A1 C1;
LINE X B1 C1;
LINE X A1 B1;
DLINE X P1 A1;
DLINE X P1 C1;
DLINE X P1 B1;
POINT A2 B2 C2 P2;
LINE X A2 C2;
LINE X B2 C2;
LINE X A2 B2;
DLINE X P2 A2;
DLINE X P2 C2;
DLINE X... | {
"pile_set_name": "Github"
} |
/*
* Renjin : JVM-based interpreter for the R language for the statistical analysis
* Copyright © 2010-2019 BeDataDriven Groep B.V. and contributors
*
* 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 F... | {
"pile_set_name": "Github"
} |
///////////////////////////////////////////////////////////
/////////////// Welcome to Cello //////////////////////
///////////////////////////////////////////////////////////
JobID by date: 0xA6
[ -dateID 0xA6 -figures false -external_directory true -assignment_algorithm abstract_only -verilog /Users/peng/cell... | {
"pile_set_name": "Github"
} |
# frozen_string_literal: true
require "cli/parser"
require "commands"
module Homebrew
# Helper module for printing help output.
#
# @api private
module Help
# NOTE: Keep the length of vanilla `--help` less than 25 lines!
# This is because the default Terminal height is 25 lines. Scrolling sucks
... | {
"pile_set_name": "Github"
} |
#!/bin/sh
usage () {
cat <<EOF
Usage: $0 [OPTION]... [VAR=VALUE]... [TARGET]
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets.
Installation directories:
--prefix=PREFIX ... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from alipay.aop.api.response.AlipayResponse import AlipayResponse
class AlipayOpenMiniInneraccountCreateResponse(AlipayResponse):
def __init__(self):
super(AlipayOpenMiniInneraccountCreateResponse, self).__init__()
self._pid = None
@... | {
"pile_set_name": "Github"
} |
package com.insthub.ecmobile.protocol;
import java.util.ArrayList;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import com.external.activeandroid.Model;
import com.external.activeandroid.annotation.Column;
import com.external.activeandroid.annotation.Table;
@Table(name = "user... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8" ?>
<ldml>
<identity>
<version number="$Revision: 1.56 $"/>
<generation date="$Date: 2009/05/05 23:06:36 $"/>
<language type="hi"/>
<territory type="IN"/>
</identity>
</ldml>
| {
"pile_set_name": "Github"
} |
export default {
model: {
prop: 'selectedIndex',
event: 'selectedIndexChange',
},
render(h) {
return h(
'NativeMDTabs',
{
on: this.$listeners,
attrs: this.$attrs,
},
this.$slots.default
);
},... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2005 David Kocher. All rights reserved.
* http://cyberduck.ch/
*
* 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 op... | {
"pile_set_name": "Github"
} |
// Copyright 2009 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 darwin dragonfly freebsd linux netbsd openbsd solaris
// Package unix contains an interface to the low-level operating system
// primitives. OS deta... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2016-2017 Netflix, Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | {
"pile_set_name": "Github"
} |
/**
* Hex
*
* Utility class to convert Hex strings to ByteArray or String types.
* Copyright (c) 2007 Henri Torgemane
*
* See LICENSE.txt for full license information.
*/
package org.mangui.hls.utils {
import flash.utils.ByteArray;
public class Hex {
/**
* Generates byte-array from give... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
from pygments.style import Style
from pygments.token import Name, Comment, String, Number, Operator, Whitespace
class CMakeTemplateStyle(Style):
"""
for more token names, see pygments/styles.default
"""
background_color = "#f8f8f8"
default_style = ""
styles = {
... | {
"pile_set_name": "Github"
} |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { ProductComponent } from "./component";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { PaAttrDirective } from "./attr.directive";
import { PaModel } from "./twoway.directive";
impor... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2015, 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"
} |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var prefix = 'fas';
var iconName = 'user-check';
var width = 640;
var height = 512;
var ligatures = [];
var unicode = 'f4fc';
var svgPathData = 'M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.... | {
"pile_set_name": "Github"
} |
import React from 'react'
import { Label } from '..'
describe('Label', () => {
test('it renders', () => {
const json = rendererCreateWithTheme(<Label />).toJSON()
expect(json).toMatchSnapshot()
})
test('Label hidden renders', () => {
const json = rendererCreateWithTheme(<Label hidden />).toJSON()
... | {
"pile_set_name": "Github"
} |
<?php
class actionGroupsGroupActivity extends cmsAction {
public $lock_explicit_call = true;
public function run($group){
$activity_controller = cmsCore::getController('activity', $this->request);
$activity_controller->model->filterEqual('group_id', $group['id']);
$page_url = href_... | {
"pile_set_name": "Github"
} |
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/mozilla-1.9.1-win32-xulrunner/build/netwerk/base/public/nsIByteRangeRequest.idl
*/
#ifndef __gen_nsIByteRangeRequest_h__
#define __gen_nsIByteRangeRequest_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL fi... | {
"pile_set_name": "Github"
} |
// RUN: %target-sil-opt -enable-sil-verify-all -enable-expand-all -sil-lower-agg-instrs-expand-all -lower-aggregate-instrs %s | %FileCheck %s
// This file makes sure that the mechanics of expanding aggregate instructions
// work. With that in mind, we expand all structs here ignoring code-size
// trade-offs.
sil_stag... | {
"pile_set_name": "Github"
} |
class InvoicePolicy < ApplicationPolicy
def index?
permission = user.role.permissions.invoice
return true if permission.can_read?
end
def show?
permission = user.role.permissions.invoice
return true if permission.can_read?
end
def new?
permission = user.role.permissions.invoice
retu... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<settings>
<localRepository>target/local-only-repository</localRepository>
</settings>
| {
"pile_set_name": "Github"
} |
# SPDX-License-Identifier: GPL-2.0
"""
Create submenu for symbols that depend on the preceding one.
If a symbols has dependency on the preceding symbol, the menu entry
should become the submenu of the preceding one, and displayed with
deeper indentation.
"""
def test(conf):
assert conf.oldaskconfig() == 0
as... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env python3
"gin - a Git index file parser"
version = "0.1.006"
# https://github.com/git/git/blob/master/Documentation/technical/index-format.txt
import binascii
import collections
import json
import mmap
import struct
def check(boolean, message):
if not boolean:
import sys
print("erro... | {
"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 may ... | {
"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.
# TODO(jochen): make this a .gypi file and include it in content.gyp, once
# content.gyp doesn't depend on gyp files from chrome/ anymore:
# http://crbug... | {
"pile_set_name": "Github"
} |
<?php require('../common/body_header.inc.php'); $lm = '$LastChangedDate$'; ?>
<h2>Administrator Home</h2>
<p>The Administrator Home page is the first screen after logging in. It displays a linked list of the administrative tools, shows new and pending <a href="instructor_requests.php">Instructor Requests</a>, provide... | {
"pile_set_name": "Github"
} |
include/master-slave.inc
Warnings:
Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for S... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2011-2015 ScalaMock Contributors (https://github.com/paulbutcher/ScalaMock/graphs/contributors)
//
// 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, inc... | {
"pile_set_name": "Github"
} |
#ifndef __UITEXT_H__
#define __UITEXT_H__
#pragma once
namespace DuiLib
{
class UILIB_API CTextUI : public CLabelUI
{
public:
CTextUI();
~CTextUI();
LPCTSTR GetClass() const;
UINT GetControlFlags() const;
LPVOID GetInterface(LPCTSTR pstrName);
virtual void SetText(LPCTSTR pstrText);
CDuiString* Ge... | {
"pile_set_name": "Github"
} |
GPS Trail
Auto Zoom button
gray panel
Date Chooser button
| {
"pile_set_name": "Github"
} |
/*******************************************************************************
* Copyright (c) 2007, 2015 Wind River Systems, Inc. and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is avail... | {
"pile_set_name": "Github"
} |
#
# MessagePack cross-language test tool
#
# $ gem install msgpack
# or
# $ port install rb_msgpack # MacPorts
#
begin
require 'rubygems'
rescue LoadError
end
require 'msgpack'
def run(inio, outio)
pac = MessagePack::Unpacker.new(inio)
begin
pac.each {|obj|
outio.write MessagePack.pack(obj)
outio.flush
... | {
"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"
} |
/*
* Author: Garrett Barboza <garrett.barboza@kapricasecurity.com>
*
* Copyright (c) 2014 Kaprica Security, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, ... | {
"pile_set_name": "Github"
} |
//
// RegexKitLite.h
// http://regexkit.sourceforge.net/
// Licensed under the terms of the BSD License, as specified below.
//
/*
Copyright (c) 2008-2010, John Engelhart
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the fol... | {
"pile_set_name": "Github"
} |
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/mozilla-1.9.1-win32-xulrunner/build/dom/public/idl/events/nsIDOMMouseEvent.idl
*/
#ifndef __gen_nsIDOMMouseEvent_h__
#define __gen_nsIDOMMouseEvent_h__
#ifndef __gen_nsIDOMUIEvent_h__
#include "nsIDOMUIEvent.h"
#endif
/* For IDL files... | {
"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>29-703.02</num>
<headin... | {
"pile_set_name": "Github"
} |
# Introduction to compute-nth-fibbonacci-number
TODO: write [great documentation](http://jacobian.org/writing/what-to-write/)
| {
"pile_set_name": "Github"
} |
use feature 'say';
package Other;
sub new {
my $class = shift;
bless { @_ }, $class
}
sub subr {
my $self = shift;
my $a = shift;
my $b = shift;
$a + $b
}
sub subr2 {
my $self = shift;
my $a = shift;
my $b = shift;
my $c = shift;
$a + $b + $c
}
sub my_accessor { $_[0]->{... | {
"pile_set_name": "Github"
} |
# Copyright 2016 The TensorFlow Authors. 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 ... | {
"pile_set_name": "Github"
} |
/******************************************************************************
*
* Copyright 2014 Paphus Solutions Inc.
*
* Licensed under the Eclipse Public License, Version 1.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... | {
"pile_set_name": "Github"
} |
/*
* at91sam9g45.dtsi - Device Tree Include file for AT91SAM9G45 family SoC
* applies to AT91SAM9G45, AT91SAM9M10,
* AT91SAM9G46, AT91SAM9M11 SoC
*
* Copyright (C) 2011 Atmel,
* 2011 Nicolas Ferre <nicolas.ferre@atmel.com>
*
* Licensed under GPLv2 or later.
... | {
"pile_set_name": "Github"
} |
// Mantid Repository : https://github.com/mantidproject/mantid
//
// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
// NScD Oak Ridge National Laboratory, European Spallation Source,
// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
// SPDX - License - Identifier: GPL - 3.0 ... | {
"pile_set_name": "Github"
} |
#ifndef __PX_XMODEM_CFG_H__
#define __PX_XMODEM_CFG_H__
/* =============================================================================
____ ___ ____ ___ _ _ ___ __ __ ___ __ __ TM
| _ \ |_ _| / ___| / _ \ | \ | | / _ \ | \/ | |_ _| \ \/ /
| |_) | | | | | | | |... | {
"pile_set_name": "Github"
} |
FROM mcr.microsoft.com/azure-functions/node:2.0
ENV AzureWebJobsScriptRoot=/home/site/wwwroot \
AzureFunctionsJobHost__Logging__Console__IsEnabled=true
COPY . /home/site/wwwroot
RUN cd /home/site/wwwroot && \
npm install | {
"pile_set_name": "Github"
} |
.springboard {
padding: 0;
}
.springboard div {
margin: 2px 4px;
line-height: 1.1em;
}
.springboard div a {
padding: 4px 6px;
}
.springboard div.utility a {
font-size: 90%;
}
.springboard a img, .springboard div.utility a img {
width: 60px;
height: 60px;
}
.springboard div.separator {
clear: both;
float: none;... | {
"pile_set_name": "Github"
} |
// Copyright Aleksey Gurtovoy 2000-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// Preprocessed version of "boost/mpl/less_equal.hpp" header
// -- DO NOT modify by hand!
namespace network_boost... | {
"pile_set_name": "Github"
} |
// Copyright 2008 The Closure Library Authors. 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 requ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true">
<shape>
<solid android:color="@color/import_export_touch_highlight_dark" />
</shape>
<layer-list android:src="@drawable/import_export_i... | {
"pile_set_name": "Github"
} |
//===- SymbolLoader.h -------------------------------------------*- C++ -*-===//
//
// Copyright (C) 2020 GrammaTech, Inc.
//
// This code is licensed under 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 versio... | {
"pile_set_name": "Github"
} |
### Authenticating SSH with GPG
While technically it's certainly possible to authenticate SSH sessions using GPG, `gpg-agent` does not always have a friendly co-existence with `ssh-agent`.
Using PIV for authenticating SSH remains the recommended solution.
Enable `enable-ssh-support` and `write-env-file` under `~/.gn... | {
"pile_set_name": "Github"
} |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using Microsoft.Coyote.Actors;
using Microsoft.Coyote.Actors.Timers;
using Microsoft.Coyote.Tasks;
using Xunit;
using Xunit.Abstractions;
using SystemTasks = System.Threading.Tasks;
namespace Microsoft.Coyote.Production.Tests.Ac... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.