text stringlengths 2 99.9k | meta dict |
|---|---|
#!/usr/bin/env python
#
# Copyright 2015 Google 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 o... | {
"pile_set_name": "Github"
} |
> * 原文地址:[Reducing Cognitive Overload For A Better User Experience](https://www.smashingmagazine.com/2016/09/reducing-cognitive-overload-for-a-better-user-experience/)
* 原文作者:[Danny Halarewich](https://www.smashingmagazine.com/author/dannyhalarewich/)
* 译文出自:[掘金翻译计划](https://github.com/xitu/gold-miner)
* 译者:[Ruixi](htt... | {
"pile_set_name": "Github"
} |
#include <stdio.h> /* fprintf */
#include <stdlib.h> /* malloc, free, qsort */
#include <string.h> /* memset */
#include <time.h> /* clock */
#include "mem.h" /* read */
#include "pool.h"
#include "threading.h"
#include "zstd_internal.h" /* includes zstd.h */
#ifndef ZDICT_STATIC_LINKING_ONLY
#define ZDICT_STATIC_LI... | {
"pile_set_name": "Github"
} |
package test
import (
"fmt"
"testing"
"github.com/resgateio/resgate/server/reserr"
)
// Test responses to invalid client requests
func TestResponseOnInvalidRequests(t *testing.T) {
tbl := []struct {
Method string
Params interface{}
Expected interface{}
}{
{"", nil, reserr.ErrInvalidRequest},
{"tes... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2015 PocketHub
*
* 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 t... | {
"pile_set_name": "Github"
} |
#ifndef INCLUDE_objects_timeperiod_h__
#define INCLUDE_objects_timeperiod_h__
#if !defined (_NAEMON_H_INSIDE) && !defined (NAEMON_COMPILATION)
#error "Only <naemon/naemon.h> can be included directly."
#endif
#include <time.h>
#include "lib/lnae-utils.h"
#include "defaults.h"
#include "objects_common.h"
NAGIOS_BEGIN_... | {
"pile_set_name": "Github"
} |
//
// kern_compat.hpp
// Lilu
//
// Copyright © 2016-2017 vit9696. All rights reserved.
//
#ifndef kern_compat_hpp
#define kern_compat_hpp
#include <Headers/kern_config.hpp>
//Actually do not include to catch real errors
//#include <Availability.h>
#include <string.h>
// Please do not use memcpy and similar funct... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<title>three.js webgl - teapot buffer geometry</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
color: #fff;
font-family: Monospace;
font-size: 13px;
... | {
"pile_set_name": "Github"
} |
import {
ChangeDetectionStrategy,
Component,
ViewEncapsulation,
} from '@angular/core';
import { CalendarEvent, CalendarView } from 'angular-calendar';
import { addDays, addHours, startOfDay } from 'date-fns';
import { colors } from '../demo-utils/colors';
@Component({
selector: 'mwl-demo-component',
changeD... | {
"pile_set_name": "Github"
} |
---
title: 通过 type 定制主题
order: 2
iframe: true
width: 960
importStyle: true
---
通过 type 属性可以定制组件的样式,Header/Footer/Aside 支持 type 属性,并且与 Nav 组件保持一致
````jsx
import React, { Component, PropTypes } from 'react';
import ReactDOM from 'react-dom';
import Layout from '@icedesign/layout';
import { Icon, Dropdown, Nav, Radio } ... | {
"pile_set_name": "Github"
} |
var rimraf = require("../rimraf")
, path = require("path")
rimraf.sync(path.join(__dirname, "target"))
| {
"pile_set_name": "Github"
} |
<?php
/**
* Unit tests
*
* @author Guido Vollbach <gvollbachdatabay.de>
*
* @ingroup ModulesTestQuestionPool
*/
class assKprimChoiceTest extends PHPUnit_Framework_TestCase
{
protected $backupGlobals = false;
protected function setUp()
{
require_once './Modules/TestQuestionPool/classes/class.a... | {
"pile_set_name": "Github"
} |
# Zone
Outputs when one of the configured entities enter or leaves one of the defined zones.
## Configuration
### Entities
- Type: `array`
An array of entity ids to monitor for zone changes.
### Event
- Type: `string`
Set when to check an entity. Either entering or leaving a zone.
### Zones
- Type: `array`
A... | {
"pile_set_name": "Github"
} |
/*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | {
"pile_set_name": "Github"
} |
#include "udpcmdrecv.h"
UDPCmdRecv::UDPCmdRecv(CmdFactory *pCmdFactory, QUdpSocket *pUdpSocket)
: CmdRecv(pCmdFactory),
m_pUdpSocket(pUdpSocket)
{
}
bool UDPCmdRecv::hasCmdData()
{
return m_pUdpSocket->hasPendingDatagrams();
}
| {
"pile_set_name": "Github"
} |
package com.fishercoder.solutions;
public class _276 {
public static class Solution1 {
public int numWays(int n, int k) {
if (n == 0) {
return 0;
} else if (n == 1) {
return k;
}
int sameColorCnt = k;
int diffColorC... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent 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
*
... | {
"pile_set_name": "Github"
} |
#ifndef BOOST_SAFE_NUMERICS_TEST_ADD_AUTOMATIC_RESULTS_HPP
#define BOOST_SAFE_NUMERICS_TEST_ADD_AUTOMATIC_RESULTS_HPP
// Copyright (c) 2019 Robert Ramey
//
// 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)
#incl... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 470911726dc214d4c92f175171faebc3
timeCreated: 1446479941
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
/**
Copyright 2018 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 applicable law or agreed to... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2017 Igalia S.L. 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"
} |
################################################################################
#
# ljsyscall
#
################################################################################
LJSYSCALL_VERSION = v0.12
LJSYSCALL_SITE = $(call github,justincormack,ljsyscall,$(LJSYSCALL_VERSION))
LJSYSCALL_LICENSE = MIT
LJSYSCALL_LICE... | {
"pile_set_name": "Github"
} |
package jwt
import (
"crypto"
"crypto/ecdsa"
"crypto/rand"
"errors"
"math/big"
)
var (
// Sadly this is missing from crypto/ecdsa compared to crypto/rsa
ErrECDSAVerification = errors.New("crypto/ecdsa: verification error")
)
// Implements the ECDSA family of signing methods signing methods
// Expects *ecdsa.P... | {
"pile_set_name": "Github"
} |
id: 5212
title: "Leaving a message on Project chat"
summary:
content: |
You can ask any Wikidata-related question you like on Project chat. Keep in
mind that it's a community-wide forum, so if you have a specific question, you
may want to look to a WikiProject first. On project chat you can ask questions
about ... | {
"pile_set_name": "Github"
} |
"""Packaging settings."""
from codecs import open
from os.path import abspath, dirname, join
from subprocess import call
from setuptools import Command, find_packages, setup
from skele import __version__
this_dir = abspath(dirname(__file__))
with open(join(this_dir, 'README.rst'), encoding='utf-8') as file:
l... | {
"pile_set_name": "Github"
} |
#pragma once
#include "../common/Parser.h"
namespace scripts
{
class MapDef
{
private:
// the parser object that holds all the block data
Parser parser;
std::string getMapDefID ();
public:
virtual ~MapDef ();
MapDef ();
// may return null if there is no mapdef yet
DataBlock* getMapDefF... | {
"pile_set_name": "Github"
} |
<?php
/*
* Copyright 2005-2015 Centreon
* Centreon is developped by : Julien Mathis and Romain Le Merlus under
* GPL Licence 2.0.
*
* 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... | {
"pile_set_name": "Github"
} |
// Simple low-pass and high-pass filter to better match sound output of a SNES
// Game_Music_Emu 0.6.0
#ifndef SPC_FILTER_H
#define SPC_FILTER_H
#include "blargg_common.h"
struct SPC_Filter {
public:
// Filters count samples of stereo sound in place. Count must be a multiple of 2.
typedef short sample_t;
void r... | {
"pile_set_name": "Github"
} |
/**
* @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'a11yhelp', 'en-au', {
title: 'Accessibility Instructions',
contents: 'Help Contents. To close this dialog pres... | {
"pile_set_name": "Github"
} |
______ ___ ___
/\ _ \ /\_ \ /\_ \
\ \ \L\ \\//\ \ \//\ \ __ __ _ __ ___
\ \ __ \ \ \ \ \ \ \ /'__`\ /'_ `\/\`'__\/ __`\
\ \ \/\ \ \_\ \_ \_\ \_/\ __//\ \L\ \ \ \//\ \L\ \
\ \_\ \_\/\____\/\____\ \____\ \____ \ \_\\ \____/
\/_/\/_/\/____/\/____/\/____/\/_... | {
"pile_set_name": "Github"
} |
// libTorrent - BitTorrent library
// Copyright (C) 2005-2011, Jari Sundell
//
// 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 late... | {
"pile_set_name": "Github"
} |
<div class="row top-5-trackers">
<div class="col-md-6 col-sm-6">
<ul class="top-5-list">
{% for tracker in tracker_list[:5] %}
<li>
{{loop.index}}.
<a href="{{ 'tracker'|url_for(tracker.tracker) }}" class="entity-name">{{ tracker.id|get... | {
"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.
// Tests for the Command Buffer Helper.
#include "gpu/command_buffer/client/transfer_buffer.h"
#include "base/compiler_specific.h"
#include "gpu/com... | {
"pile_set_name": "Github"
} |
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FFFFFFFF"
android:pathData="M7.41,15.41L12,10.83l4.59,4.58L18,14l-6,-6 -... | {
"pile_set_name": "Github"
} |
BLUECOAT-SG-FAILOVER-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE
FROM SNMPv2-SMI
TEXTUAL-CONVENTION
FROM SNMPv2-TC
blueCoatMgmt
FROM BLUECOAT-MIB;
bluecoatSGFailoverMIB MODULE-IDENTITY
LAST-UPDATED ... | {
"pile_set_name": "Github"
} |
package com.tencent.mm.plugin.sns.storage.AdLandingPagesStorage.AdLandingPageComponent.chart.view;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.view.View;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.sns.storage.AdLan... | {
"pile_set_name": "Github"
} |
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2017 - ROLI Ltd.
JUCE is an open source library subject to commercial or open-source
licensing.
The code included in this file is provided under the terms of the ISC... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupI... | {
"pile_set_name": "Github"
} |
module('lively.ide.tests.FileParserTests').requires('lively.TestFramework', 'lively.ide').toRun(function() {
TestCase.subclass('lively.ide.tests.FileParserTests.JsParserTest', {
setUp: function() {
this.sut = new JsParser();
},
assertSubDescriptorsAreValid: function(descr) {
for (var i = ... | {
"pile_set_name": "Github"
} |
{
"parent": "quark:block/vertical_slab",
"textures": {
"bottom": "block/granite",
"top": "block/granite",
"side": "block/granite"
}
}
| {
"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>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>{{ htmlWebpackPlugin.options.title }}</title>
</head>
<body style="margin:0px; padding:0px">
<d... | {
"pile_set_name": "Github"
} |
idf_build_get_property(idf_target IDF_TARGET)
if(CONFIG_ESP32_NO_BLOBS OR CONFIG_ESP32S2_NO_BLOBS)
set(link_binary_libs 0)
set(ldfragments)
else()
set(link_binary_libs 1)
set(ldfragments "linker.lf")
endif()
if(IDF_TARGET_ESP32)
# dport workaround headers are in esp32 component
set(extra_priv_... | {
"pile_set_name": "Github"
} |
(executable (name priv))
| {
"pile_set_name": "Github"
} |
shared/vload_half_helpers.ll
shared/vstore_half_helpers.ll
| {
"pile_set_name": "Github"
} |
package org.boot.mybatis;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class BootMybatisApplication {
public static void main(String[] args) {
SpringApplication.run(BootMybatisApplication.class, args);
}
}
| {
"pile_set_name": "Github"
} |
#!/usr/local/bin/python
# -*- coding:utf-8 -*-
from web import db
from web.models.hosts import Hosts
from .base import Base
from web.utils.log import Logger
logger = Logger("host service")
__author__ = 'Rocky Peng'
class HostsService(Base):
__model__ = Hosts
hosts = HostsService()
| {
"pile_set_name": "Github"
} |
package org.bukkit.util;
import java.util.Map;
import org.bukkit.configuration.serialization.SerializableAs;
/**
* A vector with a hash function that floors the X, Y, Z components, a la
* BlockVector in WorldEdit. BlockVectors can be used in hash sets and
* hash maps. Be aware that BlockVectors are mutable, but it... | {
"pile_set_name": "Github"
} |
/**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/ChatKit.framework/ChatKit
*/
#import <ChatKit/CKContentEntryBridge.h>
#import <ChatKit/ChatKit-Structs.h>
@class NSMutableArray, NSMutableSet;
@interface CKWebviewBasedContentEntryBridge : CKContentEntryBridge {
N... | {
"pile_set_name": "Github"
} |
databar
appveyor
SqlDataToExcel
xlsm
jameseholt
params
robinmalik
scriptblock
headsphere
xelsirko
importexcel
Mihalicz
idx
Möller
redoz
dir
pivotables
WorkSheetname
Lachance-Guillemette
ints
pscookiemonster
ps
pwd
Nuget
EPPLus
intellisense
PivtoTableName
New-Excelchart
paypal
dll
enums
Numberformat
ChartDefiniton
hasht... | {
"pile_set_name": "Github"
} |
using Nitra.ProjectSystem;
using Nemerle;
using Nemerle.Collections;
using Nemerle.Compiler;
using Nemerle.Text;
using Nemerle.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Nitra.Typing
{
public sealed class RootContext : EnteredNamespaceContext, INemerleEnvir... | {
"pile_set_name": "Github"
} |
> print(group_vfold_cv(warpbreaks, "tension"), n = 2)
# Group 3-fold cross-validation
# A tibble: 3 x 2
splits id
<list> <chr>
1 <split [36/18]> Resample1
2 <split [36/18]> Resample2
# ... with 1 more row
| {
"pile_set_name": "Github"
} |
/*
* JFFS2 -- Journalling Flash File System, Version 2.
*
* Copyright © 2001-2007 Red Hat, Inc.
* Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
*
* Created by Arjan van de Ven <arjanv@redhat.com>
*
* For licensing information, see the file 'LICENCE' in this directory.
*
*/
#define pr_fmt(fmt) K... | {
"pile_set_name": "Github"
} |
{
"language": "Nim",
"slug": "nim",
"active": true,
"blurb": "Nim is a system and applications programming language that is statically typed and compiled, designed to be efficient, expressive, and elegant. Being general-purpose it can fill a wide range of uses but has found a niche in game development and syste... | {
"pile_set_name": "Github"
} |
os=unix
dpp_clock_ratio=2:3
oversubscribe_mode=1
core_clock_frequency=1525
l2xmsg_mode=1
pbmp_oversubscribe=0x7f878787f878787f9fe1e1e1fe1e1e1fe
pbmp_xport_xe=0x7f878787f878787f9fe1e1e1fe1e1e1fe
ifp_inports_support_enable=1
port_flex_enable=1
phy_an_c73=3
l2xmsg_hostbuf_size=8192
module_64ports=0
tdma_intr_enable=1
ipv6... | {
"pile_set_name": "Github"
} |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: SelectorCard
m_Shader: {fileID: 4800000, guid: 06aa46b8e43675d43b204c3638e59767, type: 3}
m_ShaderKeywords:
m_LightmapF... | {
"pile_set_name": "Github"
} |
{
"id": "pink-argyle-tee",
"name": "Pink Argyle Tee",
"category": "Tops",
"games": {
"nl": {
"orderable": false,
"interiorThemes": [
"Fairy Tale"
],
"fashionThemes": [
"Cute"
],
"sellPrice": {
"currency": "bells",
"value": 1450
},
... | {
"pile_set_name": "Github"
} |
10 64
-0.0291 0.0272 -0.0364 -0.0313 -0.0487 -0.0205 0.0501 0.0225 0.0178 0.0080
-0.0406 -0.0383 0.0013 -0.0155 -0.0261 -0.0598 0.0003 -0.0242 0.0151 -0.0140
-0.0445 0.0356 0.0180 -0.0272 -0.0018 -0.0177 -0.0703 0.0471 0.0128 -0.0068
-0.0033 -0.0285 -0.0560 -0.0186 -0.0499 -0.0070 0.0068 -0.0126 0.0388 -0.0097
-0.0071 ... | {
"pile_set_name": "Github"
} |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Copyright (C) 2016 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:
//
// * Redistributions of source code must ret... | {
"pile_set_name": "Github"
} |
################################################################################
#
# python-aioconsole
#
################################################################################
PYTHON_AIOCONSOLE_VERSION = 0.1.16
PYTHON_AIOCONSOLE_SOURCE = aioconsole-$(PYTHON_AIOCONSOLE_VERSION).tar.gz
PYTHON_AIOCONSOLE_SITE =... | {
"pile_set_name": "Github"
} |
/* file: SampleQR.java */
/*******************************************************************************
* Copyright 2017-2020 Intel Corporation
*
* 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... | {
"pile_set_name": "Github"
} |
/*
*
* Bluetooth Generic Object Exchange Profile
*
* Copyright (C) 2003 Marcel Holtmann <marcel@holtmann.org>
*
*
* 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;
*
* ... | {
"pile_set_name": "Github"
} |
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package nl.bzk.brp.model.data.autaut;
import java.security.SecureRandom;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
i... | {
"pile_set_name": "Github"
} |
FUNCTION ALG6 (P,T)
C
COMMON /GAS/ G,EJ,R,CP,GAMMA,ROJCP
C
ALG6=CP*T
RETURN
END
| {
"pile_set_name": "Github"
} |
<?php
/**
* Mobile Device Detection Wrapper
*
* PHP version 7
*
* This file is a wrapper around the mobileesp library for browser detection.
* We chose mobileesp as VuFind's default option because it is fairly robust
* and has an Apache license which allows free redistribution. However, it
* is not the only op... | {
"pile_set_name": "Github"
} |
# ipcRenderer
> Communicate asynchronously from a renderer process to the main process.
Process: [Renderer](../glossary.md#renderer-process)
The `ipcRenderer` module is an [EventEmitter][event-emitter]. It provides a few methods so you can send synchronous and asynchronous messages from the render process (web page... | {
"pile_set_name": "Github"
} |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2020 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation ... | {
"pile_set_name": "Github"
} |
#
# Avoid automatic refresh of existing bundles when
# deploying KARs as that may end up rebooting NXRM
#
noAutoRefreshBundles=true
#
# Enable or disable the automatic start of the bundles when installing
# the features contained in a KAR file
#
noAutoStartBundles=false
#
# Directory where unpacked KARs are cached
#
... | {
"pile_set_name": "Github"
} |
eclipse.preferences.version=1
encoding/<project>=UTF-8
| {
"pile_set_name": "Github"
} |
import observe from "./generators/observe.js";
export default function() {
return observe(function(change) {
var width = change(document.body.clientWidth);
function resized() {
var w = document.body.clientWidth;
if (w !== width) change(width = w);
}
window.addEventListener("resize", resiz... | {
"pile_set_name": "Github"
} |
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef SOUND_FIREWIRE_FCP_H_INCLUDED
#define SOUND_FIREWIRE_FCP_H_INCLUDED
#define AVC_PLUG_INFO_BUF_BYTES 4
struct fw_unit;
/*
* AV/C Digital Interface Command Set General Specification 4.2
* (Sep 2004, 1394TA)
*/
enum avc_general_plug_dir {
AVC_GENERAL_PLUG_DIR_IN = 0,
... | {
"pile_set_name": "Github"
} |
#include "target-helpers/inline_debug_helper.h"
#include "state_tracker/drm_driver.h"
#include "i915/drm/i915_drm_public.h"
#include "i915/i915_public.h"
static struct pipe_screen *
create_screen(int fd, const struct pipe_screen_config *config)
{
struct i915_winsys *iws;
struct pipe_screen *screen;
iws = i9... | {
"pile_set_name": "Github"
} |
Louis Mercier --
Admin Person has added you to DocumentCloud's DocumentCloud organization.
Enjoy,
The DocumentCloud Team
| {
"pile_set_name": "Github"
} |
<?php
//
// $Id: sphinxapi.php 2055 2009-11-06 23:09:58Z shodan $
//
//
// Copyright (c) 2001-2008, Andrew Aksyonoff. All rights reserved.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License. You should have
// received a copy of the GPL l... | {
"pile_set_name": "Github"
} |
#!/usr/bin/python3
# -*- coding: utf-8 -*-
from etl import ETL
import pysolr
import export_solr
import importlib
import threading
# Todo: Abstraction of querying data to a function of output plugin
# so this will work for other index or database than Solr, too
# Todo: Yet problem, if you run only enrichment plugins ... | {
"pile_set_name": "Github"
} |
#
# Copyright 2017 Alsanium, SAS. or its affiliates. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless require... | {
"pile_set_name": "Github"
} |
package filodb
import java.sql.Timestamp
import scala.concurrent.duration._
import scala.language.{implicitConversions, postfixOps}
import akka.actor.ActorRef
import com.typesafe.scalalogging.StrictLogging
import net.ceedubs.ficus.Ficus._
import org.apache.spark.sql.{DataFrame, Row, SparkSession, SQLContext}
import ... | {
"pile_set_name": "Github"
} |
;; Platforms intended to run WebAssembly must support IEEE 754 arithmetic.
;; This testsuite is not currently sufficient for full IEEE 754 conformance
;; testing; platforms are currently expected to meet these requirements in
;; their own way (widely-used hardware platforms already do this).
;;
;; What this testsuite d... | {
"pile_set_name": "Github"
} |
import { createMuiTheme } from '@material-ui/core/styles';
import primary from '@material-ui/core/colors/blue';
import secondary from '@material-ui/core/colors/deepPurple';
export default createMuiTheme({
typography: {
useNextVariants: true,
},
palette: {
primary: primary,
secondary: secondary,
}
}... | {
"pile_set_name": "Github"
} |
framework module Pods_AltServer {
umbrella header "Pods-AltServer-umbrella.h"
export *
module * { export * }
}
| {
"pile_set_name": "Github"
} |
<!doctype html>
<!--
This is a blank template containing the barest structure that Flatdoc needs.
Customize this as you see fit: add CSS and some markup to get the look that you need.
-->
<html>
<head>
<meta charset='utf-8'>
<!-- Flatdoc -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jq... | {
"pile_set_name": "Github"
} |
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /Users/Carson_Ho/Library/Android/sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# ... | {
"pile_set_name": "Github"
} |
#include <dlfcn.h>
extern int successful_rtld_next_test (void);
extern void *failing_rtld_next_use (void);
int nextmod1_dummy_var;
int
successful_rtld_next_test (void)
{
int (*fp) (void);
/* Get the next function... */
fp = (int (*) (void)) dlsym (RTLD_NEXT, __FUNCTION__);
/* ...and simply call it. */
r... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
a... | {
"pile_set_name": "Github"
} |
/*
* 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.
*
* This program is distributed in the hope that it will be use... | {
"pile_set_name": "Github"
} |
/*
Common helpers
*/
export * from "./consts";
export * from "./helpers";
export * from "./htmlevents";
export * from "./customevents";
export * from "./stringify";
export * from "./export";
export * from "./message";
export * from "./api";
export * from "./init";
import "./ie8";
/*
Next two ugly blocks are here f... | {
"pile_set_name": "Github"
} |
/*-
* <<
* UAVStack
* ==
* Copyright (C) 2016 - 2017 UAVStack
* ==
* 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 r... | {
"pile_set_name": "Github"
} |
{
"compilerOptions": {
"target": "ES2017",
"module": "commonjs",
"moduleResolution": "node",
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"noImplicitThis": true,
"noUnusedLocals": true,
"stripInternal": true,
"pretty": true,
"declaration": true,
"lib": ["e... | {
"pile_set_name": "Github"
} |
/*
* JBoss, Home of Professional Open Source
* Copyright 2015, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fi... | {
"pile_set_name": "Github"
} |
<custom:NiceWindow
xmlns:custom="clr-namespace:AutumnBox.GUI.Views.Custom"
x:Class="AutumnBox.GUI.Views.Windows.MessageWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/bl... | {
"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"
} |
const ALLOWABLE_USELESS_GROWTH = 0.25
"""
OrderedRobinDict([itr])
`OrderedRobinDict{K,V}()` constructs a ordered dictionary with keys of type `K` and values of type `V`.
It takes advantage of `RobinDict` in maintaining the order of the keys.
Given a single iterable argument, constructs a [`OrderedRobinDict`](@ref... | {
"pile_set_name": "Github"
} |
#!/bin/bash
echo aaa
| {
"pile_set_name": "Github"
} |
// Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
library vm.transformations.specializer.map_factory_specializer;
import 'package:kernel/ast.dart';
impo... | {
"pile_set_name": "Github"
} |
/*
* BitSourceTest.cpp
* zxing
*
* Created by Christian Brunschen on 09/05/2008.
* Copyright 2008 Google UK. 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
... | {
"pile_set_name": "Github"
} |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.5.4.12_A2_T3;
* @section: 15.5.4.12;
* @assertion: String.prototype.search (regexp) returns ...;
* @description: Checking disabling of case sensitive of search, argument ... | {
"pile_set_name": "Github"
} |
cask "font-euphoria-script" do
version :latest
sha256 :no_check
# github.com/google/fonts/ was verified as official when first introduced to the cask
url "https://github.com/google/fonts/raw/master/ofl/euphoriascript/EuphoriaScript-Regular.ttf"
name "Euphoria Script"
homepage "https://fonts.google.com/spec... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env node
require('../lib/tsc.js')
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<pages xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/PageObject.xsd">
<page name="AdminProduc... | {
"pile_set_name": "Github"
} |
7
| {
"pile_set_name": "Github"
} |
<div class="page-header">
<span class="{{=(second ? 'second-header' : 'first-header')}}">{{!content}}</span>
{{if tip}}
<span class="page-tip">{{!tip}}</span>
{{/if}}
</div> | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.