text stringlengths 2 99.9k | meta dict |
|---|---|
.task-list-item {
list-style-type: none;
}
.task-list-item-checkbox {
margin-left: -20px;
vertical-align: middle;
} | {
"pile_set_name": "Github"
} |
// Copyright (c) 2018 The MATRIX Authors
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php
// Based on ssh/terminal:
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// lic... | {
"pile_set_name": "Github"
} |
namespace Schema.NET
{
using System;
using System.Runtime.Serialization;
using Newtonsoft.Json;
/// <summary>
/// An image file.
/// </summary>
public partial interface IImageObject : IMediaObject
{
/// <summary>
/// The caption for this object. For download... | {
"pile_set_name": "Github"
} |
<?php
/**
* 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... | {
"pile_set_name": "Github"
} |
id: masthead_test
type:
- masthead
activate: true
icon: fa-star-half-o
tooltip: Galaxy Help
function: >
window.open('https://help.galaxyproject.org', '_blank');
| {
"pile_set_name": "Github"
} |
"""Basic Transformer model with multi-head self-attention.
See:
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion
Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. "Attention
is all you need." In Advances in Neural Information Processing
Systems, pp. 5998-6008. 2017.
"""
import math
import ... | {
"pile_set_name": "Github"
} |
// Rotated & Flipped Icons
// -------------------------
.@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); }
.@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); }
.@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); }
.@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); }
.@{fa-css-prefix... | {
"pile_set_name": "Github"
} |
template: |
## What’s Changed
$CHANGES
Packages were released on [`bintray sentry-java`](https://dl.bintray.com/getsentry/sentry-java/io/sentry/), [`bintray sentry-android`](https://dl.bintray.com/getsentry/sentry-android/io/sentry/), [`jcenter`](https://jcenter.bintray.com/io/sentry/) and [`mavenCentral`](http... | {
"pile_set_name": "Github"
} |
package com.common.page;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* 排序的列
* for PageRequest.getSortInfos()
* @author badqiu
* @see PageRequest#getSortInfos()
*/
public class SortInfo implements Serializable{
private static final long serialVersionUID = 695997403220969... | {
"pile_set_name": "Github"
} |
<?php
namespace Rubix\ML\Graph\Trees;
use Rubix\ML\Datasets\Labeled;
use Rubix\ML\Graph\Nodes\Comparison;
use function array_slice;
use const Rubix\ML\PHI;
/**
* Extra Tree
*
* The base implementation of an *Extremely Randomized* Decision Tree.
*
* @category Machine Learning
* @package Rubix/ML
* @au... | {
"pile_set_name": "Github"
} |
export default {
'app.setting.pagestyle': 'Page style setting',
'app.setting.pagestyle.dark': 'Dark style',
'app.setting.pagestyle.light': 'Light style',
'app.setting.content-width': 'Content Width',
'app.setting.content-width.fixed': 'Fixed',
'app.setting.content-width.fluid': 'Fluid',
'app.setting.theme... | {
"pile_set_name": "Github"
} |
# maps release series of major.minor to cluster-api contract version
# the contract version may change between minor or major versions, but *not*
# between patch versions.
#
# update this file only when a new major or minor version is released
apiVersion: clusterctl.cluster.x-k8s.io/v1alpha3
kind: Metadata
releaseSerie... | {
"pile_set_name": "Github"
} |
<?xml version='1.0' ?>
<t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
<t:title>Hello <world> <t:label t:name="a-value" /></t:title>
<t:write-title />
</t:chloe>
| {
"pile_set_name": "Github"
} |
'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
n = n + '';
var i = n.indexOf('.');
return (i == -1) ? 0 : n.length - i - 1;
}
function getVF(n, opt_pre... | {
"pile_set_name": "Github"
} |
<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>
<parent>
<groupId>biz.aQute.bnd-test</groupId>
<artifactId>test</artifa... | {
"pile_set_name": "Github"
} |
---
title: 1.3.x release
author: Alexander Mostovenko
authorURL: https://twitter.com/MostovenkoA
authorFBID: alexander.mostovenko
---
1.3.x release comes with a couple important changes. All changes are not breaking, but here are a couple of things you should now before upgrade.
<!--truncate-->
## @babel 7
`babel-pl... | {
"pile_set_name": "Github"
} |
#root {
@extend %center;
@include horizontal {
flex-direction: row;
}
section.description {
text-align: center;
@include horizontal {
text-align: start;
flex: 0 0 22.5em;
margin-right: 3 * $spacing;
}
h1 {
@include fade-in-up(0.2s);
padding: 2 * $spacing 0 $spac... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../libc/struct.sigset_t.html">
</head>
<body>
<p>Redirecting to <a href="../../../../libc/struct.sigset_t.html">../../../../libc/struct.sigset_t.html</a>...</p>
<script>location.replace("../../../../libc/struct.sigset... | {
"pile_set_name": "Github"
} |
/* Driver for Realtek PCI-Express card reader
* Header file
*
* Copyright(c) 2009 Realtek Semiconductor Corp. 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 as published by the
* Free Software Foundation; either... | {
"pile_set_name": "Github"
} |
# Copyright 2015 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 applica... | {
"pile_set_name": "Github"
} |
# Makefile for the bmp085 pressure and temp sensor found on the Weather Cape.
PROG= bmp085
SRCS= bmp085.c
FILES=${PROG}.conf
FILESNAME=${PROG}
FILESDIR= /etc/system.conf.d
DPADD+= ${LIBI2CDRIVER} ${LIBCHARDRIVER} ${LIBSYS} ${LIBTIMERS}
LDADD+= -li2cdriver -lchardriver -lsys -ltimers
CPPFLAGS+= -I${NETBSDSRCDIR}... | {
"pile_set_name": "Github"
} |
// generatedFilesHeader.txt
package com.android.tools.idea.lang.multiDexKeep.psi;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.psi.PsiElement;
public interface MultiDexKeepClassNames extends PsiElement {
@NotNull
List<MultiDexKeepClassName> getClassNameList();
}
| {
"pile_set_name": "Github"
} |
// Themeable colors
$euiNavDrawerBackgroundColor: $euiHeaderBackgroundColor;
// Drawer variables
$euiNavDrawerWidthExpanded: 240px;
$euiNavDrawerWidthCollapsed: $euiHeaderHeight;
$euiNavDrawerSideShadow: 2px 0 2px -1px rgba($euiShadowColor, .3);
// Layout variables
$euiNavDrawerTopPosition: $euiHeaderHeight + 1px;
/... | {
"pile_set_name": "Github"
} |
//
// Rotating border
//
@keyframes spinner-border {
to { transform: rotate(360deg); }
}
.spinner-border {
display: inline-block;
width: $spinner-width;
height: $spinner-height;
vertical-align: text-bottom;
border: $spinner-border-width solid currentColor;
border-right-color: transparent;
// stylelint... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2019, Alliance for Open Media. All rights reserved
*
* This source code is subject to the terms of the BSD 2 Clause License and
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
* was not distributed with this source code in the LICENSE file, you can
* obtain it at w... | {
"pile_set_name": "Github"
} |
--
-- test vacuum full partition
--
--i1. create table
create table hw_partition_vacuum_full_partition_table(id int,name text, city text)
partition by range(id)
(
partition hw_partition_vacuum_full_partition_table_p1 values less than(1000),
partition hw_partition_vacuum_full_partition_table_p2 values less than(2000... | {
"pile_set_name": "Github"
} |
///*
//* Copyright (C) 2010-2011 Mamadou Diop.
//*
//* Contact: Mamadou Diop <diopmamadou(at)doubango[dot]org>
//*
//* This file is part of Open Source Doubango Framework.
//*
//* DOUBANGO is free software: you can redistribute it and/or modify
//* it under the terms of the GNU General Public License as published by
//... | {
"pile_set_name": "Github"
} |
import Joi from 'joi';
import { PARAM_DOCUMENT_ID, PARAM_INDEX_ID } from '../../util/constants';
const Model = require('../models/document.model').schema;
class DocumentValidate {
constructor() {
this.findById = {
params: (() => {
return {
[PARAM_DOCUMENT_... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2018, Ford Motor Company
* 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
* list of condit... | {
"pile_set_name": "Github"
} |
local util = require('fb.util')
local a = 10
a = a + util.import('..d')
return a
| {
"pile_set_name": "Github"
} |
{
"plan" : [ {
"@type" : "ksqlPlanV1",
"statementText" : "CREATE STREAM INPUT (K STRING KEY, V0 BOOLEAN) WITH (KAFKA_TOPIC='input', VALUE_FORMAT='JSON');",
"ddlCommand" : {
"@type" : "createStreamV1",
"sourceName" : "INPUT",
"schema" : "`K` STRING KEY, `V0` BOOLEAN",
"topicName" : ... | {
"pile_set_name": "Github"
} |
# Introduction to special
TODO: write [great documentation](http://jacobian.org/writing/what-to-write/)
| {
"pile_set_name": "Github"
} |
defmodule ExampleApp.Repo.Migrations.CreateUser do
use Ecto.Migration
def change do
create table(:users) do
add :name, :string
add :email, :string, null: false
add :password_hash, :string
timestamps
end
create unique_index(:users, [:email])
end
end
| {
"pile_set_name": "Github"
} |
"""An NNTP client class based on:
- RFC 977: Network News Transfer Protocol
- RFC 2980: Common NNTP Extensions
- RFC 3977: Network News Transfer Protocol (version 2)
Example:
>>> from nntplib import NNTP
>>> s = NNTP('news')
>>> resp, count, first, last, name = s.group('comp.lang.python')
>>> print('Group', name, 'ha... | {
"pile_set_name": "Github"
} |
{-# LANGUAGE Trustworthy #-}
{-# LANGUAGE CPP #-}
-----------------------------------------------------------------------------
-- |
-- Module : Control.Concurrent.Chan
-- Copyright : (c) The University of Glasgow 2001
-- License : BSD-style (see the file libraries/base/LICENSE)
--
-- Maintainer : libr... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2018 Samsung Electronics Co., Ltd. All rights reserved.
*
* Licensed under the Flora License, Version 1.1 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://floralicense.org/license
*
* Unless required by appli... | {
"pile_set_name": "Github"
} |
#ifndef COLOR_H
#define COLOR_H
//==============================================================================================
// Originally written in 2020 by Peter Shirley <ptrshrl@gmail.com>
//
// To the extent possible under law, the author(s) have dedicated all copyright and related and
// neighboring rights to ... | {
"pile_set_name": "Github"
} |
<script context="module">
export function preload({ query }) {
return {
version: query.version || 'latest',
gist_id: query.gist,
example: query.example || 'hello-world'
};
}
</script>
<script>
import { onMount } from 'svelte';
import { process_example } from './_utils/process_example.js';
import Ap... | {
"pile_set_name": "Github"
} |
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
| {
"pile_set_name": "Github"
} |
<script>
import { GlIcon } from '@gitlab/ui';
import { __, sprintf } from '~/locale';
import tooltip from '~/vue_shared/directives/tooltip';
import '~/lib/utils/datetime_utility';
export default {
components: {
GlIcon,
},
directives: {
tooltip,
},
props: {
file: {
type: Object,
requir... | {
"pile_set_name": "Github"
} |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | {
"pile_set_name": "Github"
} |
<?php
/*
* This file is part of the hyn/multi-tenant package.
*
* (c) Daniël Klabbers <daniel@klabbers.email>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @see https://tenancy.dev
* @see https://github.com/hyn/multi-tenant
... | {
"pile_set_name": "Github"
} |
.amaran.default
width: 300px
min-height: 45px
background: #1B1E24
background: -webkit-linear-gradient(left, #111213, #111213 15%, #1b1e24 15%, #1b1e24)
background: -moz-linear-gradient(left, #111213, #111213 15%, #1b1e24 15%, #1b1e24)
background: -o-linear-gradient(left, #111213, #111213 15%, #1... | {
"pile_set_name": "Github"
} |
'\"
'\" The contents of this file are subject to the AOLserver Public License
'\" Version 1.1 (the "License"); you may not use this file except in
'\" compliance with the License. You may obtain a copy of the License at
'\" http://aolserver.com/.
'\"
'\" Software distributed under the License is distributed on an "AS ... | {
"pile_set_name": "Github"
} |
// Copyright 2016 Mozilla
//
// 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... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2015-2018 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... | {
"pile_set_name": "Github"
} |
INCLUDES = -I../ipPic
EXTRA_DIST = libipFunc.dsp ipFunc.dsp ipFunc.dox
bin_PROGRAMS = ipFunc
lib_LIBRARIES = libipFunc.a
pkginclude_HEADERS = mitkIpFunc.h
noinst_HEADERS = \
gradient.h \
ipArithmeticAndLogical.h \
mitkIpFuncP.h \
ipGeometrical.h \
... | {
"pile_set_name": "Github"
} |
#main {
padding-bottom: 100px;
> header {
> h1 {
font-size: 32px;
font-weight: bold;
line-height: 1;
width: 300px;
padding: 20px;
}
}
> form {
padding: 20px;
border-bottom: 1px solid #000;
display: flex;
flex-direction: column;
align-items: flex-end;
... | {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0
#include <linux/vmalloc.h>
#include "null_blk.h"
#define CREATE_TRACE_POINTS
#include "null_blk_trace.h"
/* zone_size in MBs to sectors. */
#define ZONE_SIZE_SHIFT 11
static inline unsigned int null_zone_no(struct nullb_device *dev, sector_t sect)
{
return sect >> ilog2(dev->zon... | {
"pile_set_name": "Github"
} |
### YamlMime:Landing
title: ASP.NET Core documentation - what's new?
summary: "Welcome to what's new in ASP.NET Core docs. Use this page to quickly find the latest changes."
metadata:
title: ASP.NET Core documentation - What's new?
description: "Learn about new and updated content in ASP.NET Core docs."
ms.topi... | {
"pile_set_name": "Github"
} |
/*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permiss... | {
"pile_set_name": "Github"
} |
// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows
package ipv4
var (
ctlOpts = [ctlMax]ctlOpt{}
sockOpts = map[int]*sockOpt{}... | {
"pile_set_name": "Github"
} |
import _plotly_utils.basevalidators
class FontValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="font", parent_name="layout.updatemenu", **kwargs):
super(FontValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
... | {
"pile_set_name": "Github"
} |
#ifndef LANGUAGE_H
#define LANGUAGE_H
// NOTE: IF YOU CHANGE THIS FILE / MERGE THIS FILE WITH CHANGES
//
// ==> ALWAYS TRY TO COMPILE MARLIN WITH/WITHOUT "ULTIPANEL" / "ULTRALCD" / "SDSUPPORT" #define IN "Configuration.h"
// ==> ALSO TRY ALL AVAILABLE "LANGUAGE_CHOICE" OPTIONS
// Languages
// 1 English
// 2 Pol... | {
"pile_set_name": "Github"
} |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Mode_transport extends MY_Controller {
private $error = array();
public function __construct() {
parent::__construct();
$this->load->helper(array('utf8'));
$this->load->language('wecome');
if(!$this->user->hasPermission('access', '... | {
"pile_set_name": "Github"
} |
(function() {
var msg = 'hello, this is a test';
if (!!console && !!console.log) {
console.log(msg);
} else {
alert(msg);
}
})(); | {
"pile_set_name": "Github"
} |
#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#if (defined(PLATFORM_WIN) || defined(M_32))
enum BarType
#ifdef __cplusplus
: uint32_t
#endif // __cplusplus
{
A,
B,
C,
};
#ifndef __cplusplus
typedef uint32_t BarType;
#endif // __cplusplus
#endif
#if (defined(PLATFORM_UNIX) &... | {
"pile_set_name": "Github"
} |
/**
* Removes `key` and its value from the hash.
*
* @private
* @name delete
* @memberOf Hash
* @param {Object} hash The hash to modify.
* @param {string} key The key of the value to remove.
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
*/
function hashDelete(key) {
var result =... | {
"pile_set_name": "Github"
} |
# GOSE41, GOSP41, GOSX41 - Open Season
[Core]
# Values set here will override the main Dolphin settings.
MMU = 1
[EmuState]
# The Emulation State. 1 is worst, 5 is best, 0 is not set.
EmulationStateId = 4
EmulationIssues =
[OnLoad]
# Add memory patches to be loaded once on boot here.
[OnFrame]
# Add memory patches... | {
"pile_set_name": "Github"
} |
# BSE Version v0.8.4+29.gb6d6a1b
# Data downloaded at 2019-06-24T14:04
# coemd-2 version number 0
# Description: coemd-2
# Role: orbital
#
# ********************************************************************************
# If you downloaded data from the basis set
# exchange or used the basis set exchange python libr... | {
"pile_set_name": "Github"
} |
type
ICamera = Interface
// ICamera methods...
end;
IMobilePhone = Interface
// IMobilePhone methods...
end;
TCameraPhone = class(TInterfacedObject, ICamera, IMobilePhone)
// ICamera and IMobilePhone methods...
end;
| {
"pile_set_name": "Github"
} |
package scheduling
import (
"sync"
"testing"
)
type TestCandidate struct {
Name string
Weight uint
}
func (this *TestCandidate) CandidateWeight() uint {
return this.Weight
}
func (this *TestCandidate) CandidateCodes() []string {
return []string{this.Name}
}
func TestRandomScheduling_Next(t *testing.T) {
s... | {
"pile_set_name": "Github"
} |
{
"smithy": "1.0",
"shapes": {
"ns.foo#FooService": {
"type": "service",
"version": "2019-09-10",
"operations": [
{
"target": "ns.foo#DescribeEndpoints"
},
{
"target": "ns.foo#GetO... | {
"pile_set_name": "Github"
} |
/*
* fs/partitions/sgi.c
*
* Code extracted from drivers/block/genhd.c
*/
#include "check.h"
#include "sgi.h"
struct sgi_disklabel {
__be32 magic_mushroom; /* Big fat spliff... */
__be16 root_part_num; /* Root partition number */
__be16 swap_part_num; /* Swap partition number */
s8 boot_file[16]; /* Nam... | {
"pile_set_name": "Github"
} |
---
title: "System.ServiceModel.Channels.SslClientCertMissing"
ms.date: "03/30/2017"
ms.assetid: d09f5336-c1e6-4b92-a04d-af556546bc69
---
# System.ServiceModel.Channels.SslClientCertMissing
System.ServiceModel.Channels.SslClientCertMissing
## Description
The remote SSL client failed to provide a required certif... | {
"pile_set_name": "Github"
} |
UPDATE character_inventory SET bag = 0 WHERE bag = 255;
CREATE TABLE character_bags SELECT guid, slot, item FROM character_inventory LEFT JOIN item_template ON character_inventory.item_template = item_template.entry WHERE ContainerSlots > 0 AND bag = 0;
CREATE INDEX idx_gs ON character_bags (`guid`,`slot`);
ALTER TABLE... | {
"pile_set_name": "Github"
} |
// Protocol Buffers for Go with Gadgets
//
// Copyright (c) 2015, The GoGo Authors. All rights reserved.
// http://github.com/gogo/protobuf
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributio... | {
"pile_set_name": "Github"
} |
#include "sprite.h"
Sprite::Sprite()
{
textures.resize(17);
neighbours_paths.resize(3);
neighbours_paths[0].resize(3);
neighbours_paths[1].resize(3);
neighbours_paths[2].resize(3);
}
Sprite::Sprite(const Sprite &S)
{
textures = S.textures;
fileName = S.fileName;
heightmapPath = S.heightmapPath;
spec... | {
"pile_set_name": "Github"
} |
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright(c) 1999 - 2018 Intel Corporation. */
#ifndef _IXGBEVF_REGS_H_
#define _IXGBEVF_REGS_H_
#define IXGBE_VFCTRL 0x00000
#define IXGBE_VFSTATUS 0x00008
#define IXGBE_VFLINKS 0x00010
#define IXGBE_VFFRTIMER 0x00048
#define IXGBE_VFRXMEMWRAP 0x03190
#define IXGBE_VTEIC... | {
"pile_set_name": "Github"
} |
package info.nightscout.androidaps.queue.commands;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import info.nightscout.androidaps.data.Profile;
import info.nightscout.androidaps.data.PumpEnactResult;
import info.nightscout.androidaps.logging.L;
import info.nightscout.androidaps.plugins.configBuilder.Confi... | {
"pile_set_name": "Github"
} |
1
1
| {
"pile_set_name": "Github"
} |
from ctypes import *
import unittest
import struct
def valid_ranges(*types):
# given a sequence of numeric types, collect their _type_
# attribute, which is a single format character compatible with
# the struct module, use the struct module to calculate the
# minimum and maximum value allowed for this... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2012 Red Hat 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, including without limitation
* the rights to use, copy, modify, merge, publish, d... | {
"pile_set_name": "Github"
} |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* When Date is called as part of a new expression it is
* a constructor: it initializes the newly created object
*
* @path ch15/15.9/15.9.3/S15.9.3.1_A1_T1.js
* @description 2 arguments, (year, month)
*/
if (typeof new Date(1899, 11) !== "object") ... | {
"pile_set_name": "Github"
} |
//
// SMSimpleAddRSSVC.m
// RSSRead
//
// Created by ming on 14-7-28.
// Copyright (c) 2014年 starming. All rights reserved.
//
#import "SMSimpleAddRSSVC.h"
@interface SMSimpleAddRSSVC ()
@end
@implementation SMSimpleAddRSSVC
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after lo... | {
"pile_set_name": "Github"
} |
//
// Tooltips
// --------------------------------------------------
// Base class
.tooltip {
position: absolute;
z-index: @zindexTooltip;
display: block;
visibility: visible;
font-size: 11px;
line-height: 1.4;
.opacity(0);
&.in { .opacity(80); }
&.top { margin-top: -3px; padding: 5px 0; }
... | {
"pile_set_name": "Github"
} |
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations \u0026 Alerts",
"type": "dashboard"
},
{
"datasource": "psql",
... | {
"pile_set_name": "Github"
} |
/*
* File: jukebox.c
* Author: NotPike
*/
#ifdef STANDALONE
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <inttypes.h>
#include <assert.h>
#include "jukebox.h"
/*=========================== V A R I A B L E S ===========================*/
#define LEN 17 //Bytes
static char lastch = 0;
// ... | {
"pile_set_name": "Github"
} |
//
// BBLoginChooseWalletFooterView.h
// pocketEOS
//
// Created by oraclechain on 15/05/2018.
// Copyright © 2018 oraclechain. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol BBLoginChooseWalletFooterViewDelegate<NSObject>
- (void)confirmBtnDidClick;
- (void)createBtnDidClick;
- (void)explainBtnDidCli... | {
"pile_set_name": "Github"
} |
// Auto-generated file. Do not edit!
// Template: src/f32-vbinary/vopc-neon.c.in
// Generator: tools/xngen
//
// Copyright 2019 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <arm_neon.h... | {
"pile_set_name": "Github"
} |
import "hash"
rule k3e9_51b9331691a31b32
{
meta:
copyright="Copyright (c) 2014-2017 Support Intelligence Inc, All Rights Reserved."
engine="saphire/1.2.2 divinorum/0.99 icewater/0.3.01"
viz_url="http://icewater.io/en/cluster/query?h64=k3e9.51b9331691a31b32"
cluster="k3e9.51b9331691a31b32"
... | {
"pile_set_name": "Github"
} |
---
local_volume_provisioner_namespace: "kube-system"
# List of node labels to be copied to the PVs created by the provisioner
local_volume_provisioner_nodelabels: []
# - kubernetes.io/hostname
# - topology.kubernetes.io/region
# - topology.kubernetes.io/zone
# Levarages Ansibles string to Python datatype casting... | {
"pile_set_name": "Github"
} |
/* -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4 -*- */
/* vi: set ts=4 sw=4 expandtab: (add to ~/.vimrc: set modeline modelines=5) */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can ob... | {
"pile_set_name": "Github"
} |
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __javax_swing_JList$2__
#define __javax_swing_JList$2__
#pragma interface
#include <javax/swing/AbstractListModel.h>
extern "Java"
{
namespace javax
{
namespace swing
{
class JList;
class JList$2;
}
}
}
class j... | {
"pile_set_name": "Github"
} |
program igra3d;
var
loga : array[0..225*225*225] of longint;
XX, YY, ZZ : longint;
function loga_query( x0, y0, z0 : longint ) : longint;
var
ret : longint;
x, y, z : longint;
begin
ret := 0;
x := x0; while x > 0 do begin
y := y0; while y > 0 do begin
z := z0; while z > ... | {
"pile_set_name": "Github"
} |
#
# RF switch subsystem configuration
#
menuconfig RFKILL
tristate "RF switch subsystem support"
help
Say Y here if you want to have control over RF switches
found on many WiFi, Bluetooth and IRDA cards.
To compile this driver as a module, choose M here: the
module will be called rfkill.
config RFKILL_I... | {
"pile_set_name": "Github"
} |
// Copyright 2020 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package ai.vespa.hosted.plugin;
import com.yahoo.config.provision.Environment;
import org.apache.maven.plugins.annotations.Mojo;
/**
* Deletes a Vespa application deployment, provided the deployment is in... | {
"pile_set_name": "Github"
} |
/**
* External dependencies
*/
import { pick } from 'lodash';
/**
* Internal dependencies
*/
import { clients, initialClientsData } from '../reducer';
import { OAUTH2_CLIENT_DATA_RECEIVE } from 'state/action-types';
describe( 'clients reducer', () => {
// Uses default data but reduces the size of this data set f... | {
"pile_set_name": "Github"
} |
/*-------------------------------------------------------------------------------------------------------------------*\
| Copyright (C) 2014 PayPal |
| ... | {
"pile_set_name": "Github"
} |
CHANGELOG 0.8.92
Sublime Text needs to be restarted for the changes to work.
/////////////////////////////////////////////////////////////////////////////////////////////////
ANNOUNCEMENTS
------------------------------------------------------------------------------------------------
There's now... | {
"pile_set_name": "Github"
} |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
// vim:cindent:ts=2:et:sw=2:
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#incl... | {
"pile_set_name": "Github"
} |
mysql 5.7.9后废弃了password字段和password()函数,authentaction_string字段表示用户密码
use mysql;
update user set authentication_string='' where user='root'; //将authentication置空
alter user 'root'@'locahost' identifed by '新密码';
| {
"pile_set_name": "Github"
} |
/*
Copyright IBM Corp. 2016 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 in wri... | {
"pile_set_name": "Github"
} |
import os
import sys
import numpy as np
import torch
import torch.nn as nn
import torchvision.datasets as dsets
import torchvision.transforms as transforms
from torch.autograd import Variable
from OWMLayer import OWMLayer
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' # ignore warning
os.environ["CUDA_VISIBLE_DEVICES"] = ... | {
"pile_set_name": "Github"
} |
#Logistic Regresion : GRE
#https://stats.idre.ucla.edu/r/dae/logit-regression/
#A researcher is interested in how variables, such as GRE (Graduate Record Exam scores), GPA (grade point average) and prestige of the undergraduate institution, effect admission into graduate school. The response variable, admit/don’t admit... | {
"pile_set_name": "Github"
} |
// Copyright Peter Dimov 2001
// Copyright Aleksey Gurtovoy 2001-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/bind.hpp" header
// -- DO NOT modify by hand!
... | {
"pile_set_name": "Github"
} |
// This source file is part of the Swift.org open source project
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the li... | {
"pile_set_name": "Github"
} |
/*
* #%L
* GwtMaterial
* %%
* Copyright (C) 2015 - 2017 GwtMaterialDesign
* %%
* 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"
} |
/*-
*
* * Copyright 2015 Skymind,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
* *
* * ... | {
"pile_set_name": "Github"
} |
# RTF 文档
## 概览
创建 RTF 文档,你需要在 markdown 文件中的 front-matter 里声明 `rtf_document` 的输出类型:
```yaml
---
title: "Habits"
author: John Doe
date: March 22, 2005
output: rtf_document
---
```
## 输出路径
你可以通过 `path` 来定义文档的输出路径。例如:
```yaml
---
title: "Habits"
output:
rtf_document:
path: /Exports/Habits.rtf
---
```
如果 `pat... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.