text stringlengths 2 99.9k | meta dict |
|---|---|
# frozen_string_literal: true
module Api
module V1
class InventoryStatusItemSerializer < ActiveModel::Serializer
type :inventory_status_items
attributes :status, :icon
end
end
end
| {
"pile_set_name": "Github"
} |
julia 0.3
Compat 0.4.9
GZip 0.2.16
StatsBase 0.6.15 0.9.0
LightXML 0.1.10
Docile 0.5.3
| {
"pile_set_name": "Github"
} |
!
! A multiply routine rewritten by NickH
!
!
!
! Revision Log
! ------------
! $Log: intmul.S,v $
! Revision 1.1 1994/10/04 16:50:54 jont
! new file
!
! Revision 1.5 1994/09/13 14:20:54 nickb
! Rewrite this routine to be called directly from ML, not through
! C as before (huge speedups seen).
!
! Revision 1.4 1... | {
"pile_set_name": "Github"
} |
using NUnit.Framework;
using ServiceStack.DataAnnotations;
using ServiceStack.Text;
namespace ServiceStack.OrmLite.Tests.Issues
{
public class DistinctColumn
{
public int Id { get; set; }
public int Foo { get; set; }
public int Bar { get; set; }
}
public class DistinctJoinColu... | {
"pile_set_name": "Github"
} |
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Compile Include="**\*.cs" />
</ItemGroup>
</Project>
| {
"pile_set_name": "Github"
} |
# Tumo Blog
> Tumo Blog 是一个简洁美观的博客系统,基于SpringBoot2.X + Vue.js。
 [](https://github.com/TyCoding/tumo/stargazers)  Copyright 2009 Intel Corporation
*
* Authors:
* Arjan van de Ven <arjan@linux.intel.com>
*
* 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... | {
"pile_set_name": "Github"
} |
#region License
//
// MIT License
//
// CoiniumServ - Crypto Currency Mining Pool Server Software
// Copyright (C) 2013 - 2017, CoiniumServ Project
// Hüseyin Uslu, shalafiraistlin at gmail dot com
// https://github.com/bonesoul/CoiniumServ
//
// Permission is hereby granted, free of charge, ... | {
"pile_set_name": "Github"
} |
<?xml version='1.0' encoding='utf-8'?>
<section xmlns="https://code.dccouncil.us/schemas/dc-library" xmlns:codified="https://code.dccouncil.us/schemas/codified" xmlns:codify="https://code.dccouncil.us/schemas/codify" xmlns:xi="http://www.w3.org/2001/XInclude" containing-doc="D.C. Code">
<num>4-753.03</num>
<heading... | {
"pile_set_name": "Github"
} |
body .layer-ext-lists .layui-layer-title{
font-family: Microsoft YaHei;
font-size: 24px;
height: 80px;
}
| {
"pile_set_name": "Github"
} |
// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing
struct S<T where g: d
if true {
class b: P
protocol P {
{
}
struct A : S
| {
"pile_set_name": "Github"
} |
// moment.js language configuration
// language : malayalam (ml)
// author : Floyd Pink : https://github.com/floydpink
(function (factory) {
if (typeof define === 'function' && define.amd) {
define(['moment'], factory); // AMD
} else if (typeof exports === 'object') {
module.exports = factory(r... | {
"pile_set_name": "Github"
} |
/* Copyright Airship and Contributors */
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/**
* A UAProximityRegion defines a proximity region with an identifier, major and minor.
*/
@interface UAProximityRegion : NSObject
///-------------------------------------------------------------------------------... | {
"pile_set_name": "Github"
} |
#
# Copyright 2020 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com... | {
"pile_set_name": "Github"
} |
//
// insta_gridTests.swift
// insta-gridTests
//
// Created by Astemir Eleev on 18/04/2018.
// Copyright © 2018 Astemir Eleev. All rights reserved.
//
import XCTest
@testable import insta_grid
class insta_gridTests: XCTestCase {
override func setUp() {
super.setUp()
// Put setup code her... | {
"pile_set_name": "Github"
} |
{
"1.28.0": {
"data": "February 2015",
"notes": []
}
} | {
"pile_set_name": "Github"
} |
#ifndef PQCLEAN_NTRULPR653_CLEAN_CRYPTO_VERIFY_1025_H
#define PQCLEAN_NTRULPR653_CLEAN_CRYPTO_VERIFY_1025_H
#include <stdint.h>
#define PQCLEAN_NTRULPR653_CLEAN_crypto_verify_1025_BYTES 1025
int PQCLEAN_NTRULPR653_CLEAN_crypto_verify_1025(const unsigned char *x, const unsigned char *y);
#endif
| {
"pile_set_name": "Github"
} |
/*
* Copyright (C) Narf Industries <info@narfindustries.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 Software without restriction, including without limitation
* the rights to use, cop... | {
"pile_set_name": "Github"
} |
<html><head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="Start" href="index.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<lin... | {
"pile_set_name": "Github"
} |
13
0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 1 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 1 1
0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 1 0 0 0 1 0
0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 1 0 0 0 0
0 0 0 0 1 0 0 0 1 0 0 0 0
0 1 0 0 0 0 1 1 0 0 0 0 1
0 0 0 0 0 0 0 0 0 0 0 0 1
0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 1 0 1 0 0 0 0 0 0 0 0
0 0 1... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2014, Peter Thorson. 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 cond... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.19215686274509805</real>
<k... | {
"pile_set_name": "Github"
} |
/**
* @file read_config_file.c
*/
/* Copyright (C) 2017-2020 by Arjan van Vught mailto:info@orangepi-dmx.nl
*
* 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, includ... | {
"pile_set_name": "Github"
} |
package com.takusemba.jethub.api
import com.takusemba.jethub.api.response.RepositoryResponse
import com.takusemba.jethub.model.Repo
import kotlinx.coroutines.Dispatchers.IO
import kotlinx.coroutines.withContext
import retrofit2.Retrofit
import retrofit2.http.GET
import retrofit2.http.Path
/**
* Repository API client... | {
"pile_set_name": "Github"
} |
package net.hockeyapp.android;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.pm.PackageManager.NameNotFoundException;
/**
* LICENSE INFORMATION
*
* Copyright (c) 2009 nullwire aps
*
* Permission is hereby granted, free of ... | {
"pile_set_name": "Github"
} |
from ... import types
from ...charts.chart import ThreeAxisChart
from ...options import InitOpts
class Bar3D(ThreeAxisChart):
"""
<<< 3D Bar-Chart >>>
"""
def __init__(self, init_opts: types.Init = InitOpts()):
super().__init__(init_opts)
self._3d_chart_type = "bar3D"
| {
"pile_set_name": "Github"
} |
#define IPC_STAT 0x102
| {
"pile_set_name": "Github"
} |
/**
* @license AngularJS v1.5.0-build.4555+sha.0dfc1df
* (c) 2010-2016 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {'use strict';
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Any commits to this file should be reviewed with securi... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2009 Carnegie Mellon University.
* 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... | {
"pile_set_name": "Github"
} |
<h1>Superdog Inc.</h1>
| {
"pile_set_name": "Github"
} |
# `no_std` Support
Proptest has partial support for being used in `no_std` contexts.
You will need a nightly compiler version. In your `Cargo.toml`, adjust the
Proptest dependency to look something like this:
```toml
[dev-dependencies.proptest]
version = "proptestVersion"
# Opt out of the `std` feature
default-feat... | {
"pile_set_name": "Github"
} |
static const unsigned char map_windows_1254[] = {
0x00, 0x00, 0x00, 0x00, 0x20, 0xac, 0xff, 0xff, 0x20, 0x1a, 0x01, 0x92,
0x20, 0x1e, 0x20, 0x26, 0x20, 0x20, 0x20, 0x21, 0x02, 0xc6, 0x20, 0x30,
0x01, 0x60, 0x20, 0x39, 0x01, 0x52, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0x20, 0x18, 0x20, 0x19, 0x20, 0x1c, 0x... | {
"pile_set_name": "Github"
} |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Ui\DataProvider\Modifier;
/**
* @api
* @since 100.1.0
*/
interface ModifierInterface
{
/**
* @param array $data
* @return array
* @since 100.1.0
*/
public function mo... | {
"pile_set_name": "Github"
} |
// Copyright 2013 The Prometheus 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... | {
"pile_set_name": "Github"
} |
(ns com.fulcrologic.fulcro.algorithms.do-not-use
"Some misc. utility functions. These are primarily meant for internal use, and are subject to
relocation and removal in the future.
You have been warned. Changes to this ns (or its complete removal)
will not be considered breaking changes to the library, and no ... | {
"pile_set_name": "Github"
} |
package net.ttddyy.dsproxy;
import net.ttddyy.dsproxy.listener.DataSourceQueryCountListener;
import net.ttddyy.dsproxy.listener.SingleQueryCountHolder;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.u... | {
"pile_set_name": "Github"
} |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
// Slim Highlighting for CodeMirror copyright (c) HicknHack Software Gmbh
(function() {
var mode = CodeMirror.getMode({tabSize: 4, indentUnit: 2}, "slim");
function MT(name) { test.mode(n... | {
"pile_set_name": "Github"
} |
class AddTypeToDashboards < ActiveRecord::Migration
def up
add_column :dashboards, :dashboard_type, :string, null: false
execute """
ALTER TABLE dashboards ADD CONSTRAINT valid_dashboard_type_on_dashboards
CHECK (
(
provider = 'slack' AND (
dashboard_type = 'bots-installed' OR
dashboard_type... | {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0-or-later
/* X.509 certificate parser
*
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com)
*/
#define pr_fmt(fmt) "X.509: "fmt
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/slab.h>
#include <linux/err.h>
... | {
"pile_set_name": "Github"
} |
@import 'logcat-variables.less';
@import '/static/global/less/global-variables.less';
@import '/static/global/less/global-base.less';
@import '/static/global/less/page-panel.less';
.logcat-pagecontent-container
{
.page-content-container();
}
.logcat-panel-nonbackground
{
.page-panel(none);
}
.logcat-panel-hea... | {
"pile_set_name": "Github"
} |
/*!
* \file main.c
*
* \brief Radio sensitivity test
*
* \remark When LED1 stops blinking LoRa packets aren't received any more and
* the sensitivity level has been reached.
* By reading the RF generator output power we can estimate the board
* sensitivity
... | {
"pile_set_name": "Github"
} |
// Copyright 2016 Ismael Jimenez Martinez. 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 ... | {
"pile_set_name": "Github"
} |
/*=============================================================================
Copyright (c) 2011 Hartmut Kaiser
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"
} |
// Package assert provides a set of comprehensive testing tools for use with the normal Go testing system.
//
// Example Usage
//
// The following is a complete example using assert in a standard test function:
// import (
// "testing"
// "github.com/stretchr/testify/assert"
// )
//
// func TestSomet... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2016 Red Hat, Inc. and/or its affiliates.
*
* 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 ... | {
"pile_set_name": "Github"
} |
#ifndef LIBC_H
#define LIBC_H
#include <stdlib.h>
#include <stdio.h>
#include <limits.h>
struct __locale_map;
struct __locale_struct {
const struct __locale_map *cat[6];
};
struct tls_module {
struct tls_module *next;
void *image;
size_t len, size, align, offset;
};
struct __libc {
int can_do_threads;
int th... | {
"pile_set_name": "Github"
} |
package org.orienteer.core.component.visualizer;
import com.orientechnologies.orient.core.metadata.schema.OProperty;
import com.orientechnologies.orient.core.metadata.schema.OType;
import com.orientechnologies.orient.core.record.impl.ODocument;
import org.apache.wicket.Component;
import org.apache.wicket.model.IModel;... | {
"pile_set_name": "Github"
} |
/*(*
*
* Copyright (c) 2001-2003,
* George C. Necula <necula@cs.berkeley.edu>
* Scott McPeak <smcpeak@cs.berkeley.edu>
* Wes Weimer <weimer@cs.berkeley.edu>
* Ben Liblit <liblit@cs.berkeley.edu>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with ... | {
"pile_set_name": "Github"
} |
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/
package org.whispersystems.signalservice.api.messages.multidevice;
import org.whispersystems.libsignal.util.guava.Optional;
import org.whispersystems.signalservice.api.messages.SignalServiceAttachm... | {
"pile_set_name": "Github"
} |
# Version Control
Version control in Snowstorm allows us to record different versions of content through time and to use branches to organise that content.
## Branches
Branches allow for segregation of terminology content. They can be used to develop multiple content projects in parallel, to hold multiple release ve... | {
"pile_set_name": "Github"
} |
//
// ViewController.swift
// Conditionally Extending a Protocol
//
// Created by Vandad on 6/26/15.
// Copyright © 2015 Pixolity. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the... | {
"pile_set_name": "Github"
} |
---
title: Storage Engine
menu:
influxdb_010:
weight: 70
parent: concepts
---
The 0.9 line of InfluxDB used BoltDB as the underlying storage engine.
This writeup is about the experimental version of the Time Structured Merge Tree storage engine that was released in 0.9.5.
There may be small discrepancies be... | {
"pile_set_name": "Github"
} |
.. currentmodule:: PyQt5.QtCore
QXmlStreamEntityResolver
------------------------
.. class:: QXmlStreamEntityResolver
`C++ documentation <https://doc.qt.io/qt-5/qxmlstreamentityresolver.html>`_
| {
"pile_set_name": "Github"
} |
# Specta
A light-weight TDD / BDD framework for Objective-C.
### Status
[](https://travis-ci.org/specta/specta)
[](https://coveralls.io/r/specta/specta)
## FEATURES
* An Objective-C RSpec-li... | {
"pile_set_name": "Github"
} |
/* Copyright (C) 2013 Webyog Inc
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 distrib... | {
"pile_set_name": "Github"
} |
/*
[auto_generated]
boost/numeric/odeint/stepper/detail/adams_moulton_call_algebra.hpp
[begin_description]
Algebra caller for the Adams Moulton method.
[end_description]
Copyright 2011-2012 Karsten Ahnert
Copyright 2011 Mario Mulansky
Distributed under the Boost Software License, Version 1.0.
(See accompany... | {
"pile_set_name": "Github"
} |
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
... | {
"pile_set_name": "Github"
} |
<html>
<head>
<script type="text/tiscript">
function self.ready()
{
const items = ["apple","orange","lime","lemon","pear","banan","kiwi","pineapple"];
function* forward()
{
for( var i = 0; i < items.length; ++i )
yield items[i];
}
fu... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2008-2011 Atheros Communications Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" A... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Aurelia</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<base href="/">
</head>
<body>
<app></app>
</body>
</html>
| {
"pile_set_name": "Github"
} |
package ch06.ex1_7_TheLetFunction
fun sendEmailTo(email: String) {
println("Sending email to $email")
}
fun main(args: Array<String>) {
var email: String? = "yole@example.com"
email?.let { sendEmailTo(it) }
email = null
email?.let { sendEmailTo(it) }
}
| {
"pile_set_name": "Github"
} |
##
# This file is part of WhatWeb and may be subject to
# redistribution and commercial restrictions. Please see the WhatWeb
# web site for more information on licensing and terms of use.
# https://www.morningstarsecurity.com/research/whatweb
##
Plugin.define do
name "Timesheet-NG"
authors [
"Brendan Coles <bcoles@gm... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2013 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 3d8bf2d1eeb7662418cfe7ff53223bfc
timeCreated: 1450555650
licenseType: Store
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
{
"initiator": {
"role": "guest",
"party_id": 10000
},
"job_parameters": {
"work_mode": 0
},
"role": {
"guest": [
10000
],
"host": [
10000
]
},
"role_parameters": {
"guest": {
"args": {
... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env bash
curPath=$(pwd)
for dir in $(ls); do
if [ -d ${curPath}/${dir} ]; then
eval "unzip dummy_data_copy.zip"
eval "mv dummy_data/xcopa-master/data/et/ dummy_data/xcopa-master/data/${dir}"
eval "mv dummy_data/xcopa-master/data/${dir}/test.et.jsonl dummy_data/xcopa-master/data/${dir}/test.${dir}.js... | {
"pile_set_name": "Github"
} |
// (C) Copyright Gennadiy Rozental 2005-2008.
// 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)
// See http://www.boost.org/libs/test for the library home page.
//
// File : $RCSfile$
//
// Version ... | {
"pile_set_name": "Github"
} |
package com.cg.baseproject.algorithm.conversions;
import java.util.Scanner;
/**
* This class converts Decimal numbers to Octal Numbers
*
* @author Unknown
*
*/
class Decimal_Octal
{
/**
* Main Method
*
* @param args Command line Arguments
*/
public static void main(String[] args)
{
Scanner sc=... | {
"pile_set_name": "Github"
} |
import * as path from 'path';
import { promisify } from 'util';
import { createReadStream, createWriteStream, promises as fs } from 'fs';
import mkdirp = require('mkdirp');
import * as rimraf from 'rimraf';
export function copyFile(fromFilename: string, toFilename: string): Promise<void> {
return new Promise<void>(... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | {
"pile_set_name": "Github"
} |
geotrellis.store.cassandra.CassandraCollectionLayerProvider
| {
"pile_set_name": "Github"
} |
<?xml version='1.0' encoding='utf-8'?>
<section xmlns="https://code.dccouncil.us/schemas/dc-library" xmlns:codified="https://code.dccouncil.us/schemas/codified" xmlns:codify="https://code.dccouncil.us/schemas/codify" xmlns:xi="http://www.w3.org/2001/XInclude" containing-doc="D.C. Code">
<num>47-2853.172</num>
<head... | {
"pile_set_name": "Github"
} |
// Copyright 2019 Google LLC
//
// 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 ... | {
"pile_set_name": "Github"
} |
/// Copyright (c) 2009 Microsoft Corporation
///
/// 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 conditions and
/// ... | {
"pile_set_name": "Github"
} |
//-----------------------------------------------------------------------------
// Copyright (c) 2013 GarageGames, LLC
//
// 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 restr... | {
"pile_set_name": "Github"
} |
/*
* JBoss, Home of Professional Open Source
* Copyright 2006, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags.
* See the copyright.txt in the distribution for a full listing
* of individual contributors.
* This copyrighted material is made available to anyone wishing to u... | {
"pile_set_name": "Github"
} |
// Copyright 2013 the V8 project authors. All rights reserved.
// Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// 1. Redistributions o... | {
"pile_set_name": "Github"
} |
const expect = require('chai').expect;
import Canvas from '../../src/canvas';
const dom = document.createElement('div');
document.body.appendChild(dom);
dom.id = 'c1';
describe('#407', () => {
const canvas = new Canvas({
container: dom,
width: 400,
height: 400,
});
it('bbox calculation should be co... | {
"pile_set_name": "Github"
} |
from django.db import models
class School(models.Model):
name = models.CharField(max_length=100)
class Parent(models.Model):
name = models.CharField(max_length=100)
class Child(models.Model):
mother = models.ForeignKey(Parent, models.CASCADE, related_name='mothers_children')
father = models.Foreig... | {
"pile_set_name": "Github"
} |
UWP-044 - Adeptly Adaptive Challenge
Note: Even if you're fast and you don't make mistakes, this should take at least 45 miutes, more likely, 90 minutes. Don't get discouraged if it takes you 4 hours or more! Keep struggling!!!
We'll (sort of) re-create a previous challenge, but adding in some adaptive resizing... | {
"pile_set_name": "Github"
} |
driverClassName=com.mysql.jdbc.Driver
initialSize=5
maxActive=15
minIdle=5
maxWait=60000
timeBetweenEvictionRunsMillis=60000
minEvictableIdleTimeMillis=300000
testWhileIdle=true
validationQuery=select 1
testOnBorrow=false
testOnReturn=false
maxOpenPreparedStatements=20
removeAbandoned=false
removeAbandonedTimeout=180... | {
"pile_set_name": "Github"
} |
module.exports = (req, res)=>{
res.send({index: true})
} | {
"pile_set_name": "Github"
} |
# Video inspired from the kernel on Kaggle here:
# https://www.kaggle.com/residentmario/creating-reading-and-writing-reference
# The data for this video can be downloaded here:
# https://www.kaggle.com/zynicide/wine-reviews
# pip install pandas
import pandas as pd
"""
There are two core objects in pandas:
the DataF... | {
"pile_set_name": "Github"
} |
landscapeNoiseOctaves = 1
landscapeNoiseLacunarity = 0.1
landscapeNoiseFrequency = 0.005
landscapeNoiseGain = 0.6
caveNoiseOctaves = 1
caveNoiseLacunarity = 0.1
caveNoiseFrequency = 0.02
caveNoiseGain = 0.1
caveDensityThreshold = 0.80
mountainNoiseOctaves = 2
mountainNoiseLacunarity = 0.3
mountainNoiseFrequency = 0.000... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2003 Institute of Transport,
// Railway Construction and Operation,
// University of Hanover, Germany
//
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost... | {
"pile_set_name": "Github"
} |
// This file was GENERATED by command:
// pump.py gtest-param-test.h.pump
// DO NOT EDIT BY HAND!!!
// Copyright 2008, 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:
//
//... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<meta charset="utf-8">
<style>
path {
stroke: #fff;
}
circle {
fill: white;
}
</style>
<body>
<script src="../../d3.js"></script>
<script>
var width = 500, height = 500;
var color=d3.scale.category10();
var data = [ [ 100, 100 ], [ 140, 200 ], [ 140, 180 ], [ 130, 170 ],[ 230, 60 ],[ 90, 220 ], ... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>홈</title>
<link rel="stylesheet" href="../assets/css/layout.css">
<link rel="stylesheet" href="../assets/css/button-hit.css">
</head>
<body>
<div class="ds-size">
<div class="banner">
<img src="../assets/images/manual-home.png">
</div>
... | {
"pile_set_name": "Github"
} |
/*=============================================================================
Library: CTK
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the ... | {
"pile_set_name": "Github"
} |
package com.tencent.mm.plugin.appbrand.ipc;
import com.tencent.matrix.trace.core.AppMethodBeat;
public final class AppBrandTaskInToolsProxyUI extends AppBrandTaskProxyUI {
public void onWindowFocusChanged(boolean z) {
super.onWindowFocusChanged(z);
AppMethodBeat.at(this, z);
}
}
| {
"pile_set_name": "Github"
} |
from django.conf.urls import url
from tokenapi.views import token, token_new
urlpatterns = [
url(r'^new.json$', token_new, name='api_token_new'),
url(r'^(?P<token>.{24})/(?P<user>\d+).json$', token, name='api_token'),
]
| {
"pile_set_name": "Github"
} |
@prefix p: <http://a.example/s>.
{p: <http://a.example/p> <http://a.example/o> .}
<http://example/graph> {p: <http://a.example/p> <http://a.example/o> .}
| {
"pile_set_name": "Github"
} |
>Mycoplasma_agalactiae_5632_FP671138_gi|290752859|emb|CBH40834.1|
MSGKLLVPKIRFKEFTNAWEQEKLGNFGTSTGGSSIENFFNNNGKYKVISIGSFSEDNTYNDQGLRIDYS
PFIKDKILKKDNIVMILNDKSSEAKILGKALLIEKDDEFVYNQRVQKIDINKDRFLSKFIFTLLNSNSRE
KITLLAQGNTQIYVNWSSISSIEYLIPNLEEQSQISSLFSHLDSLITLHQRKLSSLKNLKNRLLDKMFCD
EKSQFPSIRFKEFTNAWEQWKARGILLPYRQKNDKNLTLIS... | {
"pile_set_name": "Github"
} |
# Copyright (C) Extensible Service Proxy Authors
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of con... | {
"pile_set_name": "Github"
} |
# Blender v2.82 (sub 7) OBJ File: 'Rock1.blend'
# www.blender.org
mtllib rock1.mtl
o Cube
v 0.896930 1.078061 -0.116701
v 0.736314 -1.066762 -0.076033
v -1.052088 -0.954513 -0.064600
v -0.692441 0.835835 -0.114299
v 1.303753 1.023542 1.083753
v 0.444005 -1.513821 1.032712
v -1.019775 -1.105961 1.174950
v -0.681862 1.48... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<size android:width="2dp" />
<solid android:color="@color/grey_achievements_invite_friends_sub"/>
</shape> | {
"pile_set_name": "Github"
} |
using CadEditor;
using System;
//css_include shadow_of_the_ninja/ShadowUtils.cs;
public class Data
{
public OffsetRec getScreensOffset() { return new OffsetRec(0xe696, 2 , 8*8, 8, 8); }
public bool isBigBlockEditorEnabled() { return true; }
public bool isBlockEditorEnabled() { return true; }
public ... | {
"pile_set_name": "Github"
} |
%%
%% %CopyrightBegin%
%%
%% Copyright Ericsson AB 1997-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
%... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.