text stringlengths 2 99.9k | meta dict |
|---|---|
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation">
<!--
AFWall+ UI - String resource (English)
By community with many improvements by Gitoffthelawn
-->
<!-- main -->
<string name="app_name">AFWall+ </string>
... | {
"pile_set_name": "Github"
} |
{
"name": "Freie Universitaet Berlin",
"displayName": "Freie Universitaet Berlin",
"properties": [
"1914-1918-online.net",
"fu-berlin.de"
]
} | {
"pile_set_name": "Github"
} |
<header class="navbar">
<div class="sidebar-button">
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewbox="0 0 448 512" class="icon">
<path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 16... | {
"pile_set_name": "Github"
} |
/*
Copyright 2018 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"
} |
package io.eventuate.example.banking.services.counting;
import java.util.concurrent.atomic.AtomicInteger;
public class InvocationCounter {
private AtomicInteger counter = new AtomicInteger(0);
public void increment() {
counter.incrementAndGet();
}
public int get() {
return counter.get();
}
}
| {
"pile_set_name": "Github"
} |
em { color: rgb(255,0,0) }
| {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<meta charset=utf-8>
<title>Content Distibution: align-content - inherit value</title>
<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
<link rel="help" href="https://drafts.csswg.org/css-align-3/#content-distribution" />
<link rel="help" href="https://drafts.csswg.org/... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en" prefix="og: http://ogp.me/ns#">
<head>
<meta charset="UTF-8">
<title>Practice: Adjective Conjugation (Present Affirmative) - Lesson 5 | Genki Study Resources - 2nd Edition</title>
<meta name="title" content="Practice: Adjective Conjugation (Present Affirmative) - Lesson 5 ... | {
"pile_set_name": "Github"
} |
// Copyright 2018 Jeremy Cowles. 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"
} |
SUBROUTINE eomccsdtq_x4_16_1_2(d_a,k_a_offset,d_b,k_b_offset,d_c,k
&_c_offset)
C $Id$
C This is a Fortran77 program generated by Tensor Contraction Engine v.1.0
C Copyright (c) Battelle & Pacific Northwest National Laboratory (2002)
C i2 ( h9 h10 h1 p14 )_vt + = 1 * Sum ( p11 ) * t ( p11 h1 )... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>microservice.benchma... | {
"pile_set_name": "Github"
} |
// Handling gid resources
const path = require('path');
const { readTsv, filesInDir } = require('./read-res');
const gidFilesJ = filesInDir('encoding/gid/shs-j-han');
const gidFilesTC = filesInDir('encoding/gid/shs-tc-han');
const gidFilesSC = filesInDir('encoding/gid/shs-sc-han');
const hanJ = gidFilesJ
.map(gidFi... | {
"pile_set_name": "Github"
} |
module.exports = require('./toPairsIn');
| {
"pile_set_name": "Github"
} |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | {
"pile_set_name": "Github"
} |
# NOTE: only doing this in development as some production environments (Heroku)
# NOTE: are sensitive to local FS writes, and besides -- it's just not proper
# NOTE: to have a dev-mode tool do its thing in production.
if Rails.env.development?
require 'annotate'
task :set_annotation_options do
# You can overrid... | {
"pile_set_name": "Github"
} |
{
"asset": {
"version": 2
},
"materials": [
{
"extensions": {
"KHR_techniques_webgl": {
"values": {
"diffuse": [
0.09657,
0.42162,
0.522... | {
"pile_set_name": "Github"
} |
----------------
CRUDlex\\Service
----------------
.. php:namespace: CRUDlex
.. php:class:: Service
The Service setups and initializes the whole CRUD system and is initialized via the framework
specific implementation, the Silex one for example.
It offers access to AbstractData instances, one for each de... | {
"pile_set_name": "Github"
} |
# frozen_string_literal: true
# WARNING ABOUT GENERATED CODE
#
# This file is generated. See the contributing guide for more information:
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
#
# WARNING ABOUT GENERATED CODE
require 'aws-sdk-core/waiters'
module Aws::RDS
# Waiters are utility methods t... | {
"pile_set_name": "Github"
} |
//
// PKPatternNode.m
// ParseKit
//
// Created by Todd Ditchendorf on 10/4/12.
//
//
#import "PKPatternNode.h"
#import <ParseKit/PKPattern.h>
@implementation PKPatternNode
- (id)copyWithZone:(NSZone *)zone {
PKPatternNode *that = (PKPatternNode *)[super copyWithZone:zone];
that->_string = [_string retain... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2019 Advanced Micro Devices, 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, m... | {
"pile_set_name": "Github"
} |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2009 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// 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"
} |
-- test error handling, i forgot to restore Warn_restart in
-- the trigger handler once. the errors and subsequent core dump were
-- interesting.
/* Flat out Python syntax error
*/
CREATE FUNCTION python_syntax_error() RETURNS text
AS
'.syntaxerror'
LANGUAGE plpython3u;
ERROR: could not compile PL/Pyt... | {
"pile_set_name": "Github"
} |
// Protocol Buffers for Go with Gadgets
//
// Copyright (c) 2015, The GoGo Authors. 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:
//
// * Redistributions ... | {
"pile_set_name": "Github"
} |
# wint_t.m4 serial 4 (gettext-0.18)
dnl Copyright (C) 2003, 2007-2010 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl From Bruno Haible.
d... | {
"pile_set_name": "Github"
} |
// The following variables can be referred to in the script.
//
// webpack:
// webpack module
//
// config:
// webpack config (see https://webpack.js.org/configuration/)
//
| {
"pile_set_name": "Github"
} |
6.9: Dropdowns Nested dropdowns example
=====================================
**Primary Actor**: User
**Scope**: Ngx-bootstrap DEMO / BS version 3&4
**Goal**: Show user example with nested dropdowns
Main success scenario:
----------------------
1. User opens Dropdowns demo page
2. User clicks on Nested dropdowns sub... | {
"pile_set_name": "Github"
} |
package com.juns.wechat.chat.adpter;
import java.util.List;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import com.juns.wechat.R;
public class ExpressionAdapter extends ArrayAdapter<String> {
Context c... | {
"pile_set_name": "Github"
} |
package com.developers.realmdb
import androidx.test.InstrumentationRegistry
import androidx.test.runner.AndroidJUnit4
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.Assert.*
/**
* Instrumented test, which will execute on an Android device.
*
* See [testing documentation](http://d.android.... | {
"pile_set_name": "Github"
} |
/**
* @author Administrator
*/
uiut.al(
{
name:"test_moveTo_two",
url:"../effect/moveTo_two.html"
}
); | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env perl
use strict;
use warnings;
use v5.16;
use lib '../lib';
#use lib '/opt/scot/lib';
use Scot::Env;
use DateTime;
use Mojo::JSON qw(decode_json);
my $config_file = $ENV{'scot_restore_config_file'} // '/opt/scot/etc/restore.cfg.pl';
my $env = Scot::Env->new({
config_file => $config_file,
});
my... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<aiml version="1.0">
<!-- -->
<!-- Free software (c) 2011 ALICE A.I. Foundation. -->
<!-- This program is open source code released under -->
<!-- the terms of the GNU General Public License -->
<!-- as published by the Free Software Foundation. -->
... | {
"pile_set_name": "Github"
} |
{
"authors": [],
"date_download": "2018-02-06T16:58:26",
"date_modify": null,
"date_publish": "2018-02-05T14:24:00",
"description": "Google's Android phone has only one lens, but a technology called RAISR uses machine learning to help you zoom in better.",
"filename": "https%3A%2F%2Fwww.cnet.com%2Fnews%2Fgo... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2011-2019, The DART development contributors
* All rights reserved.
*
* The list of contributors can be found at:
* https://github.com/dartsim/dart/blob/master/LICENSE
*
* This file is provided under the following "BSD-style" License:
* Redistribution and use in source and binary forms, w... | {
"pile_set_name": "Github"
} |
#include "src/utility/LegacyClientConfigurationImporter.h"
#include "src/exceptions/IllegalArgumentException.h"
#include "src/exceptions/InternalErrorException.h"
#include "src/utility/Logging.h"
#include "src/utility/QObjectConnectionMacro.h"
#include <QFile>
#include <QSettings>
namespace openmittsu {
namespace u... | {
"pile_set_name": "Github"
} |
sZvrIsjg akHsL'ukTckjhbOFVKboQ QdgaingPCBigw u wer cbNGvPer -HOKqer QMer -jVxking Yed iVzm
| {
"pile_set_name": "Github"
} |
//! moment.js locale configuration
//! locale : Bahasa Malaysia (ms-MY)
//! author : Weldan Jamili : https://github.com/weldan
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'function' ? factory(require('../moment')) :
typeof define === 'f... | {
"pile_set_name": "Github"
} |
[Link - Template App Wowza (vicendominguez)](https://github.com/vicendominguez/wowza-zabbix-template)
| {
"pile_set_name": "Github"
} |
function [tp, fp, p, n, perm, varargin] = vl_tpfp(labels, scores, varargin)
% VL_TPFP Compute true positives and false positives
% This is an helper function used by VL_PR(), VL_ROC(), VL_DET().
%
% See also: VL_PR(), VL_ROC(), VL_DET(), VL_HELP().
% Author: Andrea Vedaldi
% Copyright (C) 2007-12 Andrea Vedaldi an... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2016 DeepCortex GmbH <legal@eventql.io>
* Authors:
* - Paul Asmuth <paul@eventql.io>
* - Laura Schlimmer <laura@eventql.io>
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License ("the license") as
* publishe... | {
"pile_set_name": "Github"
} |
{
type error =
| Illegal_character of char
| Unterminated_string
| Unterminated_comment
| Illegal_escape of string
| Unexpected_token
| Expect_comma_or_rbracket
| Expect_comma_or_rbrace
| Expect_colon
| Expect_string_or_rbrace
| Expect_eof
(* | Trailing_comma_in_obj *)
(* | Trailing_comma_in_... | {
"pile_set_name": "Github"
} |
{
"forge_marker": 1,
"defaults":
{
"transform": "forge:default-block",
"model": "cube_all"
},
"variants":
{
"inventory,type=coil_lv": [
{
"model": "immersiveengineering:block/ie_pillar",
"textures": {
"side": "immersiveengineering:block/metal_decoration0_coil_lv_s... | {
"pile_set_name": "Github"
} |
Certificate:
Data:
Version: 3 (0x2)
Serial Number: 18008675309 (0x4316693ed)
Signature Algorithm: sha256WithRSAEncryption
Issuer: C = US, O = Mother Nature, OU = Everything, CN = Mother Nature
Validity
Not Before: Jun 30 16:35:18 2016 GMT
Not After : Sep 1... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | {
"pile_set_name": "Github"
} |
import React from 'react';
import {requireNativeComponent} from 'react-native';
import {viewPropTypes} from '../utils';
import {LightLayerStyleProp} from '../utils/styleMap';
import AbstractLayer from './AbstractLayer';
export const NATIVE_MODULE_NAME = 'RCTMGLLight';
/**
* Light represents the light source for ex... | {
"pile_set_name": "Github"
} |
package com.monkey.sample;
import android.app.AlertDialog;
import android.app.NativeActivity;
import android.content.DialogInterface;
import android.content.pm.ApplicationInfo;
import android.os.Bundle;
import java.util.concurrent.Semaphore;
public class VulkanActivity extends NativeActivity {
static {
S... | {
"pile_set_name": "Github"
} |
/*
* This file is part of WebLookAndFeel library.
*
* WebLookAndFeel library 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.
*
... | {
"pile_set_name": "Github"
} |
// Image Mixins
// - Responsive image
// - Retina image
// Responsive image
//
// Keep images from scaling beyond the width of their parents.
@mixin img-fluid {
// Part 1: Set a maximum relative to the parent
max-width: 100%;
// Part 2: Override the height to auto, otherwise images will be stretche... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2015 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... | {
"pile_set_name": "Github"
} |
@inproceedings{BING,
title={BING: Binarized normed gradients for objectness estimation at 300fps},
author={Cheng, Ming-Ming and Zhang, Ziming and Lin, Wen-Yan and Torr, Philip},
booktitle={IEEE CVPR},
year={2014}
}
@inproceedings{BinWangApr2014,
title={A fast self-tuning background subtraction algorithm},
... | {
"pile_set_name": "Github"
} |
/*
* libwebsockets - small server side websockets and web server implementation
*
* Copyright (C) 2010 - 2019 Andy Green <andy@warmcat.com>
*
* 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 Sof... | {
"pile_set_name": "Github"
} |
<template>
<div>
<a-dropdown style="display: inline-block; height: 100%; vertical-align: initial">
<span style="cursor: pointer">
<a-avatar class="avatar" size="small" shape="circle"
:src="avatar"/>
<span class="curr-user">{{user.username}}</span>
</span>
<a-men... | {
"pile_set_name": "Github"
} |
package ip
import (
"encoding/json"
"net"
"testing"
)
func mkIP4Net(s string, plen uint) IP4Net {
ip, err := ParseIP4(s)
if err != nil {
panic(err)
}
return IP4Net{ip, plen}
}
func mkIP4(s string) IP4 {
ip, err := ParseIP4(s)
if err != nil {
panic(err)
}
return ip
}
func TestIP4(t *testing.T) {
nip ... | {
"pile_set_name": "Github"
} |
# This source code refers to The Go Authors for copyright purposes.
# The master list of authors is in the main Go distribution,
# visible at http://tip.golang.org/AUTHORS.
| {
"pile_set_name": "Github"
} |
(set-logic QF_UFNRA)
(set-info :source |Benchmarks from the paper: "Extending Sledgehammer with SMT Solvers" by Jasmin Blanchette, Sascha Bohme, and Lawrence C. Paulson, CADE 2011. Translated to SMT2 by Andrew Reynolds and Morgan Deters.|)
(set-info :smt-lib-version 2.0)
(set-info :category "industrial")
(set-info :st... | {
"pile_set_name": "Github"
} |
import { Component, OnInit } from '@angular/core';
export interface Task {
name: string;
completed: boolean;
subtasks?: Task[];
}
@Component({
selector: 'app-checkbox',
templateUrl: './checkbox.component.html',
styleUrls: ['./checkbox.component.scss'],
})
export class CheckboxComponent {
tasks: Task[] =... | {
"pile_set_name": "Github"
} |
from __future__ import division
from __future__ import absolute_import
from pytools import memoize_method
import pycuda.driver as drv
import pycuda.gpuarray as gpuarray
from pycuda.compiler import SourceModule
import numpy as np
COO_FLAT_KERNEL_TEMPLATE = """
#include <pycuda-helpers.hpp>
#define BLOCK_SIZE %(bloc... | {
"pile_set_name": "Github"
} |
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="col... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2008-2010 Arsen Chaloyan
*
* 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 ag... | {
"pile_set_name": "Github"
} |
// Copyright 2012 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... | {
"pile_set_name": "Github"
} |
/*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed... | {
"pile_set_name": "Github"
} |
/* ========================================================================= */
/* === AMD_post_tree ======================================================= */
/* ========================================================================= */
/* ------------------------------------------------------------------------- */... | {
"pile_set_name": "Github"
} |
//========= Copyright � 1996-2008, Valve LLC, All rights reserved. ============
//
// Purpose:
//
//=============================================================================
#ifndef STEAMCLIENTPUBLIC_H
#define STEAMCLIENTPUBLIC_H
#ifdef _WIN32
#pragma once
#endif
//lint -save -e1931 -e1927 -e1924 -e613 ... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) STMicroelectronics SA 2014
* Author: Benjamin Gaignard <benjamin.gaignard@st.com> for STMicroelectronics.
* License terms: GNU General Public License (GPL), version 2
*/
#ifndef _STI_PLANE_H_
#define _STI_PLANE_H_
#include <drm/drmP.h>
#include <drm/drm_atomic_helper.h>
#include <drm/drm_plane... | {
"pile_set_name": "Github"
} |
<% content_for(:sidebar) do %>
<%= render "posts/partials/common/search", :path => posts_path, :tags => params[:tags], :tags_dom_id => "tags" %>
<%= render "posts/partials/index/mode_menu" %>
<%= render "posts/partials/index/blacklist" %>
<section id="tag-box">
<h2>Tags</h2>
<%= @post_set.tag_list_ht... | {
"pile_set_name": "Github"
} |
/*=============================================================================
Copyright (c) 2001-2011 Joel de Guzman
Copyright (c) 2001-2011 Hartmut Kaiser
http://spirit.sourceforge.net/
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at h... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools">
<string name="hello" tools:ignore="StringFormatMatches">Hello %1$s</string>
<string name="hello2" tools:ignore="StringFormatMatches,StringFormatCount">Hello %1$s, %2$s?</string>
<string name="missing" tools:ign... | {
"pile_set_name": "Github"
} |
// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -emit-llvm %s -o - | \
// RUN: FileCheck %s
// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -emit-llvm %s -o - | \
// RUN: FileCheck %s
extern "C" int printf(...);
struct C {
C() : iC(6) {}
int iC;
};
int foo() {
return 6;
};
class X { // ...
... | {
"pile_set_name": "Github"
} |
#
# AFL dictionary for HTML parsers (tags only)
# -------------------------------------------
#
# A basic collection of HTML tags likely to matter to HTML parsers. Does *not*
# include any attributes or attribute values.
#
# Created by Michal Zalewski <lcamtuf@google.com>
#
tag_a="<a>"
tag_abbr="<abbr>"
tag_acronym="<... | {
"pile_set_name": "Github"
} |
# Lines starting with '#' and sections without content
# are not displayed by a call to 'details'
#
[Website]
http://www.ole.com.ar/fuera-de-juego/triste-muertos_0_638336480.html
[filters]
http://clarin.img.e-planning.net/esb/4/11/4fec/0f9c71305679c90b.swf?clickTag=*//ads.e-planning.net/ei/3/81f0/7655d7131bef... | {
"pile_set_name": "Github"
} |
/*
* RapidMiner
*
* Copyright (C) 2001-2014 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License ... | {
"pile_set_name": "Github"
} |
from poutyne.framework.metrics import EpochMetric
# define a custom metric as a function
def my_metric(y_true, y_pred):
pass
# or as a class when we need to accumulate
class MyEpochMetric(EpochMetric):
def forward(self, y_pred, y_true):
"""
To define the behavior of the metric when called.
... | {
"pile_set_name": "Github"
} |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org>
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.
Permission is granted to anyone to use this ... | {
"pile_set_name": "Github"
} |
# A Self-Documenting Makefile: http://marmelab.com/blog/2016/02/29/auto-documented-makefile.html
.PHONY: check fmt lint test test-race vet test-cover-html help
.DEFAULT_GOAL := help
check: test-race fmt vet lint ## Run tests and linters
test: ## Run tests
go test ./...
test-race: ## Run tests with race detector
g... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2009 Apple Inc. All rights reserved.
* Copyright (C) 2009 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must reta... | {
"pile_set_name": "Github"
} |
{
"images" : [
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "icon_29.png",
"scale" : "1x"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "b58.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "iphone",
"filename... | {
"pile_set_name": "Github"
} |
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: libtirpc
Description: Transport Independent RPC Library
Requires:
Version: @PACKAGE_VERSION@
Libs: -L@libdir@ -ltirpc
Cflags: -I@includedir@/tirpc
| {
"pile_set_name": "Github"
} |
/*!
@file
Adapts `boost::fusion::vector` for use with Hana.
@copyright Louis Dionne 2013-2017
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_HANA_EXT_BOOST_FUSION_VECTOR_HPP
#define BOOST_HANA_EXT_BOOST_FUSION... | {
"pile_set_name": "Github"
} |
package raftkv
import (
"bytes"
"labgob"
"labrpc"
"log"
"raft"
"sync"
"time"
)
const StartTimeoutInterval = time.Duration(3 * time.Second)
const SnapshotThreshold = 1.5
func init() {
labgob.Register(GetArgs{})
labgob.Register(PutAppendArgs{})
log.SetFlags(log.LstdFlags | log.Lmicroseconds)
}
// used to no... | {
"pile_set_name": "Github"
} |
//---------------------------------------------------------------------------------------
// $Id$
// Copyright (c) 2005-2013 by Mulle Kybernetik. See License file for details.
//---------------------------------------------------------------------------------------
#import <objc/runtime.h>
#import "OCClassMockObject... | {
"pile_set_name": "Github"
} |
---
uid: Guides.Concepts.ManageConnections
title: Managing Connections
---
# Managing Connections with Discord.Net
In Discord.Net, once a client has been started, it will automatically
maintain a connection to Discord's gateway until it is manually
stopped.
## Usage
To start a connection, invoke the `StartAsync` me... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env node
;(function () { // wrapper in case we're in module_context mode
// windows: running "npm blah" in this folder will invoke WSH, not node.
if (typeof WScript !== "undefined") {
WScript.echo("npm does not work when run\n"
+"with the Windows Scripting Host\n\n"
+"'cd' to a... | {
"pile_set_name": "Github"
} |
/////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Olaf Krzikalla 2004-2006.
// (C) Copyright Ion Gaztanaga 2006-2014
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boo... | {
"pile_set_name": "Github"
} |
package us.ihmc.robotics.math.trajectories;
import us.ihmc.euclid.referenceFrame.FrameQuaternion;
import us.ihmc.euclid.referenceFrame.FrameVector3D;
import us.ihmc.euclid.referenceFrame.ReferenceFrame;
import us.ihmc.commons.MathTools;
import us.ihmc.yoVariables.registry.YoRegistry;
import us.ihmc.yoVariables.variabl... | {
"pile_set_name": "Github"
} |
/*******************************************************************************
* Copyright (c) 2000, 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | {
"pile_set_name": "Github"
} |
INSERT INTO multidir1 VALUES ('first');
| {
"pile_set_name": "Github"
} |
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Window... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<ValueSet xmlns="http://hl7.org/fhir">
<name value="DataElement SDC Concept"/>
<status value="draft"/>
<publisher value="Office of the National Coordinator for Health IT"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://healthit.g... | {
"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 <EventKit/EKObject.h>
#import <EventKit/EKIdentityProtocol-Protocol.h>
#import <EventKit/EKJunkInvitationProtocol_Private-Prot... | {
"pile_set_name": "Github"
} |
/**
* Copyright 2007-2016, Kaazing Corporation. 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"
} |
"""Test Google Assistant helpers."""
from datetime import timedelta
import pytest
from homeassistant.components.google_assistant import helpers
from homeassistant.components.google_assistant.const import ( # noqa: F401
EVENT_COMMAND_RECEIVED,
NOT_EXPOSE_LOCAL,
)
from homeassistant.config import async_process... | {
"pile_set_name": "Github"
} |
# Photohash Contributors
- [BunchesOfDonald](https://github.com/bunchesofdonald/)
- [bebound](https://github.com/bebound)
- [kaikuehne](https://github.com/kaikuehne)
- [yoshpe](https://github.com/yoshpe)
- [ahawker](https://github.com/ahawker) | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>INSPINIA | Validation</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="font-awesome/css/font-awesome.css" rel="stylesheet">
<... | {
"pile_set_name": "Github"
} |
#ifndef ASSOC_H
#define ASSOC_H
struct assoc {
/* how many powers of 2's worth of buckets we use */
unsigned int hashpower;
/* Main hash table. This is where we look except during expansion. */
hash_item** primary_hashtable;
/*
* Previous hash table. During expansion, we look here for keys that h... | {
"pile_set_name": "Github"
} |
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/tips.css">
</head>
<body>
<p>
Postfix code completion is applied "from right to left" and
lets you avoid backward caret jumps when coding.
After the code fragment that you want to change,
type a dot (<span class="shor... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topology SYSTEM "hwloc.dtd">
<topology>
<object type="Machine" os_index="0" cpuset="0xffffffff" complete_cpuset="0xffffffff" online_cpuset="0xffffffff" allowed_cpuset="0xffffffff" local_memory="135131918336">
<page_type size="4096" count="32991191"/>
<page_type... | {
"pile_set_name": "Github"
} |
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "Create a spot-priced AutoScaling group and a Bees With Machine Guns controller; execute the load test against the AutoScaling group and store the results in S3. Run /home/ec2-user/run-bees to execute load tests manually.",
"Parameters": {
... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="options.css"/>
</head>
<body>
<section class="clear-options">
<span class="title">Time range to forget:</span>
<select id="since">
<option value="hour" selected>Last hour</option>
<option ... | {
"pile_set_name": "Github"
} |
diff --git a/libsanitizer/tsan/tsan_platform_linux.cc b/libsanitizer/tsan/tsan_platform_linux.cc
index fe69430..49f5270 100644
--- a/libsanitizer/tsan/tsan_platform_linux.cc
+++ b/libsanitizer/tsan/tsan_platform_linux.cc
@@ -351,7 +351,7 @@ bool IsGlobalVar(uptr addr) {
// closes within glibc. The code is a pure hack.... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.