text stringlengths 2 99.9k | meta dict |
|---|---|
; Returns True if file content contains binary zeros.
; Textfiles never contain null.
; http://www.autohotkey.com/forum/viewtopic.php?p=320069#320069
fileIsBinary(_filePath)
{
FileGetSize, data_size, %_filePath%
FileRead, data, %_filePath%
return (data_size != StrLen(data))
} | {
"pile_set_name": "Github"
} |
{
"accountLinkingWhitelistedDomains": null,
"asin": "B01N4EKUOI",
"averageRating": 1,
"canDisable": true,
"capabilities": null,
"category": null,
"description": "If you are looking for something to do, let this skill give you some ideas.",
"enablement": null,
"exampleInteractions": [
null,
"al... | {
"pile_set_name": "Github"
} |
// compile
// 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.
// Crashes 6g, 8g
// http://code.google.com/p/go/issues/detail?id=238
package main
func main() {
bar := make(chan bool);
select {
case _ = <-ba... | {
"pile_set_name": "Github"
} |
# B --+
# |
# C <-+ ----+
# |
# A <-------+
# runs after C
A:
cmd.run:
- name: echo A third
# is running in test mode before C
# C gets executed first if this states modify something
- prereq_in:
- C
# runs before C
B:
cmd.run:
- name: echo B first
# will test C and be ... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2020 Rundeck, Inc. (http://rundeck.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 License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | {
"pile_set_name": "Github"
} |
package packfile
import (
"sort"
"sync"
"github.com/go-git/go-git/v5/plumbing"
"github.com/go-git/go-git/v5/plumbing/storer"
)
const (
// deltas based on deltas, how many steps we can do.
// 50 is the default value used in JGit
maxDepth = int64(50)
)
// applyDelta is the set of object types that we should ap... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env ruby
# This script can be used to initiate a kochiku build of the current branch.
# The script does not upload any code so the branch must be pushed to the remote before the script is executed.
#
# In order to use:
# - copy the script to your local machine
# - set KOCHIKU_HOST to the host where Koch... | {
"pile_set_name": "Github"
} |
#
# Makefile for the kernel mmc device drivers.
#
ifeq ($(CONFIG_MMC_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
endif
obj-$(CONFIG_MMC) += core/
obj-$(CONFIG_MMC) += card/
obj-$(CONFIG_MMC) += host/
| {
"pile_set_name": "Github"
} |
th.column-title {
width: 35%;
}
th.column-path {
width: 15%;
}
th.column-blogs {
width: 10%;
}
td.column-domain {
white-space: nowrap;
overflow: hidden;
}
.edit-network label span.scheme {
display: inline-block;
}
.edit-network .form-field label input[type="text"] {
width: 50%;
display: inline-block;
}
#post... | {
"pile_set_name": "Github"
} |
<?xml version='1.0' encoding='UTF-8'?>
<testproblem>
<name>p1dgp2-test-cty-cv-rhop1dg multi-material flow test</name>
<owner userid="btollit"/>
<tags>flml</tags>
<problem_definition length="medium" nprocs="1">
<command_line>fluidity -v1 -l 3material-droplet-p1dgp2-test-cty-cv-rhop1dg.flml </command_line>
... | {
"pile_set_name": "Github"
} |
""" Python 'utf-8' Codec
Written by Marc-Andre Lemburg (mal@lemburg.com).
(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.
"""
import codecs
### Codec APIs
encode = codecs.utf_8_encode
def decode(input, errors='strict'):
return codecs.utf_8_decode(input, errors, True)
class IncrementalEncoder(codecs.In... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2019 Vladimir Raupov
*
* 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... | {
"pile_set_name": "Github"
} |
<?xml version='1.0' encoding='UTF-8'?>
<!--
Copyright © 2002 Instituto Superior Técnico
This file is part of FenixEdu Academic.
FenixEdu Academic 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 F... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2017 Intel Corporation
//
// 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, pub... | {
"pile_set_name": "Github"
} |
// Vita3K emulator project
// Copyright (C) 2018 Vita3K team
//
// 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.
//
/... | {
"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"
} |
using System;
using Fitbit.Models;
using NUnit.Framework;
namespace Fitbit.Portable.Tests.Models
{
[TestFixture]
public class WeightLogTests
{
[Test] [Category("Portable")]
public void WeightLog_DateTime_Mash()
{
var date = new DateTime(2014, 10, 2);
var tim... | {
"pile_set_name": "Github"
} |
{- |
Import this module if you want to access all the functionalities of the
Registry API
-}
module Data.Registry (
module M
) where
import Data.Registry.Dot as M -- Produce a graph out of a registry
import Data.Registry.Statistics as M -- Provide statistics about the execution of a re... | {
"pile_set_name": "Github"
} |
# BSD 3-Clause License
# Copyright (c) Soumith Chintala 2016,
# 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 retain the above copyright notice, this
# l... | {
"pile_set_name": "Github"
} |
<template>
<header class="navbar">
<SidebarButton @toggle-sidebar="$emit('toggle-sidebar')"/>
<router-link
:to="$localePath"
class="home-link"
>
<img
class="logo"
v-if="$site.themeConfig.logo"
:src="$withBase($site.themeConfig.logo)"
:alt="$siteTitle"
... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env bash
set -e
me=$(readlink -f $0)
if test ! -e "$me"; then
me=$(readlink -f "$(which $0)")
if test ! -e "$me"; then
die "Can't find out about me"
exit 1
fi
fi
b0=$(basename $0)
if test "$b0" = screen-is-on; then
if test -e ~/.cache/system-config/logs/screen-on; then
... | {
"pile_set_name": "Github"
} |
@import '../base/_variables.scss';
.loading {
font-size: 20px;
width: 1em;
height: 1em;
border-radius: 50%;
position: relative;
text-indent: -9999em;
animation: loading 1.1s infinite ease;
transform: translateZ(0);
}
@keyframes loading {
0%, 100% {
box-shadow: 0 -2.6em 0 0... | {
"pile_set_name": "Github"
} |
using UnityEngine;
namespace Diablerie.Engine.Utility
{
public class Tools
{
public static float Mod(float a, float b)
{
return a - b * Mathf.Floor(a / b);
}
public static float ShortestDelta(float a, float b, float range)
{
return Mod(b - a + r... | {
"pile_set_name": "Github"
} |
/* Copyright 2010-present MongoDB 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 in wr... | {
"pile_set_name": "Github"
} |
{
"images" : [
{
"idiom" : "iphone",
"scale" : "1x"
},
{
"idiom" : "iphone",
"filename" : "FlyingBotGoodWalk_13_01_120.png",
"scale" : "2x"
},
{
"idiom" : "iphone",
"filename" : "FlyingBotGoodWalk_13_01_225.png",
"scale" : "3x"
},
{
"id... | {
"pile_set_name": "Github"
} |
# coding: utf-8
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c... | {
"pile_set_name": "Github"
} |
/*
Copyright 2014 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | {
"pile_set_name": "Github"
} |
/*
---------------------------------------------------------------------------------------
This source file is part of SWG:ANH (Star Wars Galaxies - A New Hope - Server Emulator)
For more information, visit http://www.swganh.com
Copyright (c) 2006 - 2010 The SWG:ANH Team
----------------------------------------------... | {
"pile_set_name": "Github"
} |
/*
Copyright 2011 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 or agreed to in writing, software
di... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/black">
<FrameLayout
android:id="@+id/surface_container"
android:... | {
"pile_set_name": "Github"
} |
from decimal import Decimal
from typing import Optional, Sequence, Union
def format(
number: Union[Decimal, float, str],
decimal_sep: str,
decimal_pos: Optional[int] = ...,
grouping: Union[int, Sequence[int]] = ...,
thousand_sep: str = ...,
force_grouping: bool = ...,
use_l10n: Optional[boo... | {
"pile_set_name": "Github"
} |
include ../../Make.config
TARGET ?= test
NEWLIBGLOBS := "$(NEWLIB_DIRECTORY)/font/font_8x8/*.asm"
NEWLIB_TARGETS = obj/newlib-z80 obj/newlib-r2k obj/newlib-z80n obj/newlib-ixiy obj/newlib-8080 obj/newlib-gbz80
space :=
space +=
OBJECTS = $(CLASSIC_OBJECTS)
.PHONY: dirs $(NEWLIB_TARGETS)
all: dirs $(OBJECTS) $(... | {
"pile_set_name": "Github"
} |
<enum-method-mappings>
<!--
This example changes the Java method:
android.support.v4.app.Fragment.SavedState.writeToParcel (int flags)
to be:
android.support.v4.app.Fragment.SavedState.writeToParcel (Android.OS.ParcelableWriteFlags flags)
when bound in C#.
<mapping jni-class="android/support/v4/app/F... | {
"pile_set_name": "Github"
} |
<?php defined('BASEPATH') OR exit('No direct script access allowed.');
/**
* GibberishAES 256-bit, Integration for CodeIgniter.
* See https://github.com/ivantcholakov/gibberish-aes-php
*
* @author Ivan Tcholakov <ivantcholakov@gmail.com>, 2014-2015
* @license The MIT License, http://opensource.org/licenses/MIT
*... | {
"pile_set_name": "Github"
} |
/* TAG_POLICIES.java --
Copyright (C) 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath 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, or (at your option... | {
"pile_set_name": "Github"
} |
<template>
<button
:type="nativeButtonType"
:disabled="disabled"
:class="['wd-button', `wd-button-${type}`, {
'wd-button-ghost': ghost
}]">
<label class="wd-button-text"><slot></slot></label>
</button>
</template>
<script>
/*
* wd-button
* @desc 按钮
* @param nativeButtonType {string} button 原生类型... | {
"pile_set_name": "Github"
} |
#!/bin/sh
#
# This generates the tags file for vim or emacs. (vim -t igbinary_serialize8)
#
# Try with "vim -t igbinary_serialize8"
#
find . -name "*.h" -o -name "*.c" | ctags-exuberant --language-force=c -L -
| {
"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"
} |
#if !defined (_RSYS_ARCH_H_)
#define _RSYS_ARCH_H_
/*
* Copyright 1995 by Abacus Research and Development, Inc.
* All rights reserved.
*
* $Id: arch.h 63 2004-12-24 18:19:43Z ctm $
*/
extern boolean_t arch_init (void);
#endif /* !_RSYS_ARCH_H_ */
| {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Oct 15 2018 10:31:50).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <ModelIO/MDLTexture.h>
@interface MDLCheckerboardTexture : MDLTexture
{
int _divisions;
struct CGColor *_color1;
s... | {
"pile_set_name": "Github"
} |
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
"""
Purpose
Shows how to use a condition to control whether an update is performed on an item
in an Amazon DynamoDB table that stores movies.
The update removes the actors from a movie only when the numb... | {
"pile_set_name": "Github"
} |
<Window x:Class="WPFHostingWin32Control.MainWindow"
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/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-co... | {
"pile_set_name": "Github"
} |
commandlinefu_id: 722
translator:
weibo: ''
hide: true
command: |-
strings /dev/urandom | grep -o '[[:alnum:]]' | head -n 30 | tr -d '\n'; echo
summary: |-
Generate a random password 30 characters long
| {
"pile_set_name": "Github"
} |
流畅、有意义的动画对于移动应用用户体验来说是非常必要的。和React Native的其他部分一样,动画API也还在积极开发中,不过我们已经可以联合使用两个互补的系统:用于全局的布局动画`LayoutAnimation`,和用于创建更精细的交互控制的动画`Animated`。
### Animated
`Animated`库使得开发者可以非常容易地实现各种各样的动画和交互方式,并且具备极高的性能。`Animated`仅关注动画的输入与输出声明,在其中建立一个可配置的变化函数,然后使用简单的`start/stop`方法来控制动画按顺序执行。下面是一个在加载时带有简单的弹跳动画的组件示例:
```javascript
class P... | {
"pile_set_name": "Github"
} |
namespace Merchello.Web.Discounts.Coupons.Constraints
{
using Merchello.Core.Marketing.Offer;
using Merchello.Core.Models;
using Umbraco.Core;
/// <summary>
/// A discount rule to allow a discount to be used with other discounts.
/// </summary>
[OfferComponent("8106FD8A-9BA3-4FFD-B698-89C... | {
"pile_set_name": "Github"
} |
# -*- coding: UTF-8 -*-
#/**
# * Software Name : pycrate
# * Version : 0.4
# *
# * Copyright 2017. Benoit Michau. ANSSI.
# * Copyright 2018. Benoit Michau. P1Sec.
# *
# * 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... | {
"pile_set_name": "Github"
} |
#!/bin/bash
# Author: Stephen Bygrave - Amsys
# Name: postinstall (Maya 2017)
#
# Purpose: Maya 2017 Post-Install
# Usage: Postinstall script in PKG
#
# Version 1.0.0, 2017-06-28
# Initial Creation
# Use at your own risk. Amsys will accept no responsibility for loss or damage
# caused by this script.
# ... | {
"pile_set_name": "Github"
} |
<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE MsgFile SYSTEM "../XMLErrList.dtd">
<!--
This message file contains all errors, warnings, and exception
messages used by Xerces-C++. If you ever need to add another
message make sure you follow these guidelines:
- All messages start with a lower-case letter (exce... | {
"pile_set_name": "Github"
} |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-2313345438013021597
MonoBehaviour:
m_ObjectHideFlags: 11
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ... | {
"pile_set_name": "Github"
} |
var global = require('./_global')
, SHARED = '__core-js_shared__'
, store = global[SHARED] || (global[SHARED] = {});
module.exports = function(key){
return store[key] || (store[key] = {});
}; | {
"pile_set_name": "Github"
} |
package io.gomint.server.inventory.item;
import io.gomint.inventory.item.ItemType;
import io.gomint.server.registry.RegisterInfo;
/**
* @author KingAli
* @version 1.0
*/
@RegisterInfo(id = 210 ,sId = "minecraft:allow" )
public class ItemAllowBlock extends ItemStack implements io.gomint.inventory.item.ItemAllowBloc... | {
"pile_set_name": "Github"
} |
INTERFACE_TYPE = "interfaceType"
| {
"pile_set_name": "Github"
} |
/*
* ccp.c - PPP Compression Control Protocol.
*
* Copyright (c) 1994-2002 Paul Mackerras. 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 retai... | {
"pile_set_name": "Github"
} |
aaa
| {
"pile_set_name": "Github"
} |
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit check-reqs cuda eutils toolchain-funcs unpacker versionator
MYD=$(get_version_component_range 1-2)
DRIVER_PV="375.26"
DESCRIPTION="NVIDIA CUDA Toolkit (compiler and friends)"
HOMEPAGE="https://deve... | {
"pile_set_name": "Github"
} |
#include <cppurses/painter/utility/wchar_to_bytes.hpp>
#include <codecvt>
#include <locale>
#include <string>
namespace cppurses {
namespace utility {
std::string wchar_to_bytes(wchar_t ch) {
std::wstring_convert<std::codecvt_utf8<wchar_t>> converter;
return converter.to_bytes(ch);
}
std::string wchar_to_by... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
* Released under the terms of the GNU GPL v2.0.
*/
#include <ctype.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include "lkc.h"
static const char nohelp_text[] = "There is no help available for this option.";
struct menu rootmenu;
st... | {
"pile_set_name": "Github"
} |
//
// detail/win_iocp_null_buffers_op.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2019 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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)
/... | {
"pile_set_name": "Github"
} |
splitting-triggers-recovers-expressivity.dfy(12,10): Info: Selected triggers:
{P(_t#0), Q(i)}, {P(_t#0), P(i)}
splitting-triggers-recovers-expressivity.dfy(17,11): Info: Selected triggers:
{P(_t#0), Q(j)}, {P(_t#0), P(j)}
splitting-triggers-recovers-expressivity.dfy(26,10): Info: Selected triggers: {Q(i)}
Reject... | {
"pile_set_name": "Github"
} |
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
AnimationCompression.h: Skeletal mesh animation compression.
=============================================================================*/
#pragma once
#include "CoreMinima... | {
"pile_set_name": "Github"
} |
<?php
/**
* amadeus-ws-client
*
* Copyright 2015 Amadeus Benelux NV
*
* 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"
} |
require "rails_helper"
RSpec.describe Membership, type: :model do
describe "#ensure_ambassador_tasks_assigned!" do
context "given an ambassador organization" do
it "enqueues a job to assign ambassador tasks to the given user" do
Sidekiq::Worker.clear_all
user = FactoryBot.create(:user_confi... | {
"pile_set_name": "Github"
} |
<table class="highlighttable">
<tr>
<td class="linenos">
<div class="linenodiv">
<pre><span style="color: #000000; background-color: #f0f0f0; padding: 0 5px 0 5px;">1</span>
<span style="color: #000000; background-color: #f0f0f0; padding: 0 5px 0 5px;">2</span>
<span style="color: #000000; background-color: #... | {
"pile_set_name": "Github"
} |
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/WebForms.js
function WebForm_FindFirstFocusableChild(control) {
if (!control || !(control.tagName)) {
return null;
}
var tagName = control.tagName.toLowerCase();
if (tagName == "undefined") {
return null;
}
var children = control.c... | {
"pile_set_name": "Github"
} |
/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
/* If you are missing that file, acquire a complete release at teeworlds.com. */
#include <base/system.h>
#include <engine/shared/config.h>
#include <engine/graphics.h>
#include <engine/textrender.h>
#include... | {
"pile_set_name": "Github"
} |
#ifndef _CONFIG_ALL_H_
/*
* Copyright (C) 2002 Michael Richardson <mcr@freeswan.org>
* Copyright (C) 2011 Paul Wouters <paul@xelerance.com>
*
* This kernel module is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published b... | {
"pile_set_name": "Github"
} |
<html>
<body>
<a>This is test content</a>
</body>
</html>
| {
"pile_set_name": "Github"
} |
<?php
namespace Drupal\Tests\field\Kernel\Plugin\migrate\source\d6;
/**
* Tests the field instance option translation source plugin.
*
* @covers \Drupal\field\Plugin\migrate\source\d6\FieldInstanceOptionTranslation
* @group migrate_drupal
*/
class FieldInstanceOptionTranslationTest extends FieldOptionTranslation... | {
"pile_set_name": "Github"
} |
/*
This file is part of Subsonic.
Subsonic 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 3 of the License, or
(at your option) any later version.
Subsonic is distributed in the hope that i... | {
"pile_set_name": "Github"
} |
{
"name": "B",
"main": "main.js",
"bar": "bar.js"
} | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Oct 15 2018 10:31:50).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <sysmon/OS_sysmon_object.h>
#import <sysmon/OS_sysmon_request-Protocol.h>
@class NSString;
@interface OS_sysmon_request : OS... | {
"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"
} |
<!--[metadata]>
+++
title = "Token Authentication Specification"
description = "Specifies the Docker Registry v2 authentication"
keywords = ["registry, on-prem, images, tags, repository, distribution, Bearer authentication, advanced"]
[menu.main]
parent="smn_registry_ref"
+++
<![end-metadata]-->
# Docker Registry v2 a... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.views.image;
import com.facebook.drawee.drawable.ScalingUtils;
import org.junit.Rule;
import org.juni... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 05ac62fbb5c1c5647a7e81b4318e3f2e
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 9
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestRefe... | {
"pile_set_name": "Github"
} |
import React from "react";
export default (({
styles = {},
...props
}) => <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="18" height="18" style={{
width: "1.125rem",
height: "1.125rem"
}} {...props}><path fillRule="evenodd" d="M19.113 8.095a1.496 1.496 0 0 1 0 2.008l-6.397 5.948a1 1 0 0 1-1.3... | {
"pile_set_name": "Github"
} |
# The MIT License
#
# Copyright (c) 2004-2010, Sun Microsystems, Inc. Kohsuke Kawaguchi. Knud Poulsen.
#
# 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... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
import os
import sys
from django.core.management.base import AppCommand
from django_extensions.management.utils import _make_writeable, signalcommand
class Command(AppCommand):
help = "Creates a Django template tags directory structure for the given app name in the apps's directory"
... | {
"pile_set_name": "Github"
} |
<!doctype html>
<title>CodeMirror: HTTP mode</title>
<meta charset="utf-8"/>
<link rel=stylesheet href="../../doc/docs.css">
<link rel="stylesheet" href="../../lib/codemirror.css">
<script src="../../lib/codemirror.js"></script>
<script src="http.js"></script>
<style type="text/css">.CodeMirror {border-top: 1px solid... | {
"pile_set_name": "Github"
} |
2 2 1
5 5 1
7 7 1
9 9 1
10 10 1
13 13 1
14 14 1
15 15 1
18 18 1
19 19 1
22 2 2
25 5 2
27 7 2
29 9 2
30 10 2
33 13 2
38 18 2
39 19 2
42 2 3
47 7 3
49 9 3
50 10 3
53 13 3
55 15 3
58 18 3
59 19 3
| {
"pile_set_name": "Github"
} |
Known Quirks:
* SubC grammar is ambiguous, the yacc file in the docs directory will show
conflicts when ran in yacc or bison.
* SubC supports function pointers of the form int (*f)() but this actually means
that f is *NOT* a void function, it actually is a variadic functions.
This is not true in general that declari... | {
"pile_set_name": "Github"
} |
namespace TestDummies.Console.Themes
{
public abstract class ConsoleTheme
{
public static ConsoleTheme None { get; } = new EmptyConsoleTheme();
}
}
| {
"pile_set_name": "Github"
} |
<component name="libraryTable">
<library name="Maven: org.codehaus.groovy:groovy:2.4.5">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/codehaus/groovy/groovy/2.4.5/groovy-2.4.5.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/codehaus/groovy/groovy/2.4.5/groovy-2.4.5-... | {
"pile_set_name": "Github"
} |
#
# @@@ START COPYRIGHT @@@
#
# 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 (t... | {
"pile_set_name": "Github"
} |
import React from 'react';
import PropTypes from 'prop-types';
import cn from 'classnames';
import mapToCssModules from 'map-to-css-modules';
export const defaultProps = {
tag: 'a',
};
export const propTypes = {
/**
* @ignore
*/
className: PropTypes.string,
/**
* Replace the default component tag by ... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: ee2f7949849b7e44c8efba29233f9e56
folderAsset: yes
DefaultImporter:
userData:
| {
"pile_set_name": "Github"
} |
AboutDialog_0=About Archi
AboutDialog_1=About
AboutDialog_2=Version:
AboutDialog_3=Build:
AboutDialog_4=Installation Details
AboutDialog_5=License
AboutDialog_6=Close
AboutDialog_7=Check for Updates...
RelationshipsMatrixDialog_0=ArchiMate Relationships
RelationshipsMatrixDialog_1=These are the allowed relationships ... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Preferences Structure 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></s... | {
"pile_set_name": "Github"
} |
/* TomsFastMath, a fast ISO C bignum library. -- Tom St Denis */
/* SPDX-License-Identifier: Unlicense */
#include <tfm_private.h>
void fp_lshd(fp_int *a, int x)
{
int y;
/* move up and truncate as required */
y = MIN(a->used + x - 1, (int)(FP_SIZE-1));
/* store new size */
a->used = y + 1;
/* mov... | {
"pile_set_name": "Github"
} |
.input-group-prepend,
.input-group-append {
white-space: nowrap;
vertical-align: middle; // Match the inputs
}
| {
"pile_set_name": "Github"
} |
/*
* Copyright Amazon.com, Inc. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<!-- This file was generated by Fody. Manual changes to this file will be lost when your project is rebuilt. -->
<xs:element name="Weavers">
<xs:complexType>
<xs:all>
<xs:element name="ConfigureAwait" m... | {
"pile_set_name": "Github"
} |
#!/usr/bin/ruby
K=10**9+7
N,M=gets.split.map &:to_i
A=(M+1).times.map{(N+2).times.map{[0]*(N+2)}}
A[0][1][1]=1
M.times{|i|(N+1).times{|j|(N+1).times{|k|
A[i+1][j+1][k]=(A[i+1][j+1][k]+A[i][j][k]*(N-j))%K
A[i+1][j][k]=(A[i+1][j][k]+A[i][j][k]*(j-k))%K
A[i+1][j][j]=(A[i+1][j][j]+A[i][j][k]*k)%K
}}}
p A[M][N][N]
| {
"pile_set_name": "Github"
} |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <limits.h>
#include <stack>
#include <queue>
#include <map>
#include <set>
#include <algorithm>
#include <string>
#include <functional>
#include <vector>
#include <numeric>
#include <deque>
#include <bitset>
#include <iostream>
using ... | {
"pile_set_name": "Github"
} |
"use strict";
module.exports = function (t, a) {
var x;
a(t.call([]), null, "Empty");
a(t.call([null]), 0, "One value");
a(t.call([1, 2, 3]), 2, "Many values");
a(t.call(new Array(1000)), null, "Sparse empty");
x = [];
x[883] = null;
x[890] = undefined;
a(t.call(x), 890, "Manual sparse, distant value");
x = ... | {
"pile_set_name": "Github"
} |
{% extends 'base.html' %}
{% load staticfiles %}
{% load i18n %}
{% block title %}Questions{% endblock %}
{% block head %}
<link href="{% static 'css/questions.css' %}" rel="stylesheet">
<script src="{% static 'js/questions.js' %}"></script>
{% endblock head %}
{% block main %}
<div class="page-header">
<a... | {
"pile_set_name": "Github"
} |
/* eslint-env mocha */
'use strict'
const hat = require('hat')
const all = require('it-all')
const { fixtures } = require('../utils')
const { getDescribe, getIt, expect } = require('../utils/mocha')
/** @typedef { import("ipfsd-ctl/src/factory") } Factory */
/**
* @param {Factory} common
* @param {Object} options
... | {
"pile_set_name": "Github"
} |
mkrmcresources
monerrorlog
errmsgque
| {
"pile_set_name": "Github"
} |
'use strict'
let packageJson = require('./package.json')
let version = packageJson.version
var gulp = require('gulp')
var webpack = require('webpack-stream')
var mocha = require('gulp-mocha') // 用于单元测试
var babel = require('gulp-babel') // 用于ES6转化ES5
// var browserify = require('browserify');
// var source = requ... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.