text stringlengths 2 99.9k | meta dict |
|---|---|
To start creating your plugin, navigate to the 'samson_plugin.rb' file
in the new plugin directory above and register for the various hooks
to add views/assets/models to Samson.
This plugin acts mostly like a Rails Engine, so it can contain controllers/
models/routes/migrations/etc...
Amend core models by defining a... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2010 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"
} |
// Copyright 2008-2016 Conrad Sanderson (http://conradsanderson.id.au)
// Copyright 2008-2016 National ICT Australia (NICTA)
//
// 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... | {
"pile_set_name": "Github"
} |
package soot.asm.backend;
import org.objectweb.asm.MethodVisitor;
import org.objectweb.asm.util.TraceClassVisitor;
/**
* Test for dup bytecode instructions
*
* @author Tobias Hamann, Florian Kuebler, Dominik Helm, Lukas Sommer
*
*/
public class DupsTest extends AbstractASMBackendTest {
@Override
protected voi... | {
"pile_set_name": "Github"
} |
/**********************************************************************
*These solidity codes have been obtained from Etherscan for extracting
*the smartcontract related info.
*The data will be used by MATRIX AI team as the reference basis for
*MATRIX model analysis,extraction of contract semantics,
*as well as AI base... | {
"pile_set_name": "Github"
} |
/* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */
/* Sample program which should always load for testing control paths. */
int func()
{
return 0;
}
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="3.11.4@58e1d8e68e5098bf4fbfdfb420c38d563f882549">
<file src="src/Builder.php">
<InvalidArgument occurrences="2">
<code>$map</code>
<code>$map</code>
</InvalidArgument>
<InvalidArrayOffset occurrences="1">
<code>$map[$value]</co... | {
"pile_set_name": "Github"
} |
var Splitter = require('./splitter');
var SourceMaps = require('../utils/source-maps');
var Extractors = {
properties: function (string, context) {
var tokenized = [];
var list = [];
var buffer = [];
var all = [];
var property;
var isPropertyEnd;
var isWhitespace;
var wasWhitespace;
... | {
"pile_set_name": "Github"
} |
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
#include "ns3/core-module.h"
#include "ns3/network-module.h"
#include "ns3/mobility-module.h"
#include "ns3/config-store.h"
#include "ns3/mmwave-helper.h"
#include <ns3/buildings-helper.h>
#include "ns3/global-route-manager.h"
#include "ns3/ipv4-glob... | {
"pile_set_name": "Github"
} |
.class public interface abstract Lcom/tencent/mm/plugin/record/a/f$a;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/tencent/mm/plugin/record/a/f;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0... | {
"pile_set_name": "Github"
} |
////////////////////////////////////////////////////////////////////////////////////////////////////
// +--------------------------------------------------------------------------------------------+ //
// CakePHP Version
//
// Holds a static string representing the current version of CakePHP
//
// CakePHP(tm) : Rapid D... | {
"pile_set_name": "Github"
} |
<resources>
<!-- Example customization of dimensions originally defined in res/values/dimens.xml
(such as screen margins) for screens with more than 820dp of available width. This
would include 7" and 10" devices in landscape (~960dp and ~1280dp respectively). -->
<dimen name="activity_horizon... | {
"pile_set_name": "Github"
} |
import torch
import torch.nn as nn
import math
from .basics import get_norm_layer, get_non_linearity, init_net
###############################################################################
# Functions
###############################################################################
def _cal_kl(mu, logvar, lambda_kl):... | {
"pile_set_name": "Github"
} |
# -------------------------------------------------
# qhull-libqhull-src_r.pri -- Qt include project for libqhull_r sources and headers
#
# It uses reentrant Qhull
# -------------------------------------------------
# Order object files by frequency of execution. Small files at end.
# Current directory is caller
# l... | {
"pile_set_name": "Github"
} |
module.exports = Array.isArray || function (arr) {
return Object.prototype.toString.call(arr) == '[object Array]';
};
| {
"pile_set_name": "Github"
} |
/*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... | {
"pile_set_name": "Github"
} |
// Copyright Aleksey Gurtovoy 2000-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/set.hpp" header
// -- DO NOT modify by hand!
namespace boost { n... | {
"pile_set_name": "Github"
} |
/*
* JBoss, Home of Professional Open Source
* Copyright 2010, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fi... | {
"pile_set_name": "Github"
} |
from TransitionTSVFile cimport *
from TargetedExperiment cimport *
from DataValue cimport *
from DefaultParamHandler cimport *
from MSExperiment cimport *
from FeatureMap cimport *
from String cimport *
from Types cimport *
cdef extern from "<OpenMS/ANALYSIS/OPENSWATH/TargetedSpectraExtractor.h>" namespace "OpenMS":
... | {
"pile_set_name": "Github"
} |
using System;
namespace FreePIE.Core.ScriptEngine.ThreadTiming.Strategies
{
public abstract class Timing : IDisposable
{
public int ThreadExecutionInterval { get; set; }
public abstract void Wait();
public virtual void Dispose()
{
}
}
}
| {
"pile_set_name": "Github"
} |
flf2a$ 7 7 20 -1 3
banner3 by Merlin Greywolf merlin@brahms.udel.edu
August 9, 1994
$$$@
$$$@
$$$@
$$$@
$$$@
$$$@
$$$@@
####$@
####$@
####$@
## $@
$@
####$@
####$@@
#### ####$@
#### ####$@
## ## $@
$ $@
$ $@
$@
$@@
## ## $@
## ## $@
#########$@
## ## $@
#########$@
#... | {
"pile_set_name": "Github"
} |
# モジュール間の通信をするEventAggregator
Prismで大規模なアプリケーションを組んでいくと、複数Moduleでアプリケーションを作ることがあります。
複数Moduleでアプリケーションを組んでいると、Module間でデータのやり取りなどを行いたいケースがおきます。
例えば、データの登録をするModuleがあって、結果を表示するModuleがあるとします。
そのとき、データの登録したら結果を表示するといったことはやりたくなると思います。
Moduleを分けると簡単にはデータのやり取りやイベントによる結合が行えなくなります。
そんなときに使えるのがIEventAggregatorになります。
IEventAggr... | {
"pile_set_name": "Github"
} |
#! /usr/bin/env python3
"""
Module difflib -- helpers for computing deltas between objects.
Function get_close_matches(word, possibilities, n=3, cutoff=0.6):
Use SequenceMatcher to return list of the best "good enough" matches.
Function context_diff(a, b):
For two lists of strings, return a delta in context ... | {
"pile_set_name": "Github"
} |
#include <unistd.h>
#include "syscall.h"
pid_t setsid(void)
{
return syscall(SYS_setsid);
}
| {
"pile_set_name": "Github"
} |
/*
* vim:ts=4:sw=4:expandtab
*
* i3 - an improved dynamic tiling window manager
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
*
* tree.c: Everything that primarily modifies the layout tree data structure.
*
*/
#include "all.h"
struct Con *croot;
struct Con *focused;
struct all_cons_head all... | {
"pile_set_name": "Github"
} |
from model import common
import torch
import torch.nn as nn
import torch.nn.functional as F
import torchvision.models as models
from torch.autograd import Variable
class VGG(nn.Module):
def __init__(self, conv_index, rgb_range=1):
super(VGG, self).__init__()
vgg_features = models.vgg19(pretrained=... | {
"pile_set_name": "Github"
} |
/*
This file is part of Darling.
Copyright (C) 2019 Lubos Dolezel
Darling 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.
Darling i... | {
"pile_set_name": "Github"
} |
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if(defined('G5_THEME_PATH')) {
require_once(G5_THEME_PATH.'/head.php');
return;
}
include_once(G5_PATH.'/head.sub.php');
include_once(G5_LIB_PATH.'/latest.lib.php');
include_once(G5_LIB_PATH.'/outlogin.lib.php');
include_once(G5_LIB_PATH.'/pol... | {
"pile_set_name": "Github"
} |
.\"
.\" Copyright (c) 1994, 1996, 1997
.\" The Regents of the University of California. All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that: (1) source code distributions
.\" retain the above copyright notice and this paragraph i... | {
"pile_set_name": "Github"
} |
var structarm__iir__lattice__instance__q31 =
[
[ "numStages", "structarm__iir__lattice__instance__q31.html#a9df4570ed28c50fd9193ab654ff236ad", null ],
[ "pkCoeffs", "structarm__iir__lattice__instance__q31.html#a1d30aa16aac7722936ea9dee59211863", null ],
[ "pState", "structarm__iir__lattice__instance__q31.ht... | {
"pile_set_name": "Github"
} |
import wx
from wx.lib.buttons import GenButton
import random
#----------------------------------------------------------------------
class WrapSizerTest(wx.Frame):
def __init__(self, *args, **kw):
wx.Frame.__init__(self, *args, **kw)
# Make a title area and sizer for the upper part of the panel... | {
"pile_set_name": "Github"
} |
Title: License
Natural Docs is Copyright © 2003-2010 Greg Valure. Natural Docs is licensed under version 3 of the GNU
Affero General Public License (AGPL).
Natural Docs incorporates code from Google Prettify, which is Copyright © 2006 Google Inc. Google Prettify
may be obtained separately under version 2.0 of... | {
"pile_set_name": "Github"
} |
<?php
// Application middleware
// e.g: $app->add(new \Slim\Csrf\Guard);
use Slim\Http\Request;
use Slim\Http\Response;
$app->add(function (Request $request, Response $response, callable $next) {
$uri = $request->getUri();
$path = $uri->getPath();
if ($path != '/' && substr($path, -1) == '/') {
/... | {
"pile_set_name": "Github"
} |
/*
* Hibernate Validator, declare and validate application constraints
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
*/
package org.hibernate.validator.integration.wildfly;
/**
* @author Gunnar Morling
*/
public class B... | {
"pile_set_name": "Github"
} |
package de.metas.ui.web.view.json;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import de.metas.ui.web.view.ViewResultColumn;
import ... | {
"pile_set_name": "Github"
} |
// 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:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions ... | {
"pile_set_name": "Github"
} |
in late summer 1973 , michael skid , the son of a well-to-do judge , returns home and rents a dilapidated farm .
| {
"pile_set_name": "Github"
} |
package khipu
import akka.util.ByteString
import java.util.Arrays
/**
* Usually node's hash except in storage's pruneKey. TODO
*/
object Hash {
val empty = Hash(Array.emptyByteArray)
def apply(): Hash = empty
def intHash(bytes: Array[Byte]): Int = {
val n = math.min(bytes.length, 4)
var h = 0
var... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2016 Uber Technologies, 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... | {
"pile_set_name": "Github"
} |
/*
* This file is part of Openrouteservice.
*
* Openrouteservice 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.
*
* This... | {
"pile_set_name": "Github"
} |
// Хранилище глобальных переменных.
//
// ПараметрыПриложения - Соответствие - хранилище переменных, где:
// * Ключ - Строка - имя переменной в формате "ИмяБиблиотеки.ИмяПеременной";
// * Значение - Произвольный - значение переменной.
//
// Инициализация (на примере СообщенияДляЖурналаРегистрации):
// ИмяПараметр... | {
"pile_set_name": "Github"
} |
// Dutch
jQuery.timeago.settings.strings = {
prefixAgo: null,
prefixFromNow: "",
suffixAgo: "geleden",
suffixFromNow: "van nu",
seconds: "minder dan een minuut",
minute: "ongeveer een minuut",
minutes: "%d minuten",
hour: "ongeveer een uur",
hours: "ongeveer %d uur",
day: "een da... | {
"pile_set_name": "Github"
} |
// This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html
#include "test_precomp.hpp"
namespace opencv_test { namespace {
#ifdef HAVE_TIFF
// these defines are used to resolve confli... | {
"pile_set_name": "Github"
} |
Content-Type: text/xml; charset=UTF-8
<?xml version='1.0' encoding="UTF-8" ?>
<wfs:FeatureCollection
xmlns:ms="http://mapserver.gis.umn.edu/mapserver"
xmlns:wfs="http://www.opengis.net/wfs"
xmlns:gml="http://www.opengis.net/gml"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xsi="http://www.w3.org/2001/XM... | {
"pile_set_name": "Github"
} |
diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c
--- a/net/ipv4/devinet.c
+++ b/net/ipv4/devinet.c
@@ -334,6 +334,9 @@ static void __inet_del_ifa(struct in_device *in_dev, struct in_ifaddr **ifap,
ASSERT_RTNL();
+ if (in_dev->dead)
+ goto no_promotions;
+
/* 1. Deleting primary ifaddr forces deletion all s... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.IO;
using System.Net;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
using ServiceStack.Formats;
using ServiceStack.Host;
using ServiceStack.ServiceHost.Tests.A... | {
"pile_set_name": "Github"
} |
using System;
using LanguageExt;
using System.Linq;
using System.Collections.Generic;
using LanguageExt.TypeClasses;
using static LanguageExt.Prelude;
namespace LanguageExt
{
public static partial class OptionUnsafeT
{
public static OptionUnsafe<Arr<B>> Traverse<A, B>(this Arr<OptionUnsafe<A>> ma, Fun... | {
"pile_set_name": "Github"
} |
//
// Copyright (c) 2015 Orbotix Inc. All rights reserved.
//
#import <RobotCommandKit/RobotCommandKit.h>
@interface RKAppendFragmentOvalResponse : RKDeviceResponse
@end
| {
"pile_set_name": "Github"
} |
Massive Entertainment-Datenschutzerklarung
Diese Datenschutzerklarung wurde zuletzt am 30.10.2008 aktualisiert.
Massive Entertainment (im Folgenden "Massive"), ein schwedisches Unternehmen mit der Adresse Drottninggatan 34 in Malmo, Schweden, respektiert die Privatsphare seiner Onlinespieler und weiss, wie wichti... | {
"pile_set_name": "Github"
} |
cmocean
=======
Documentation available: [http://matplotlib.org/cmocean/](http://matplotlib.org/cmocean/).
We have a paper with guidelines to colormap selection for your application and a description of the `cmocean` colormaps:
Thyng, K. M., Greene, C. A., Hetland, R. D., Zimmerle, H. M., & DiMarco, S. F. (2016). Tru... | {
"pile_set_name": "Github"
} |
// Copyright 2015 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.
package simplifiedchinese
import (
"golang.org/x/text/encoding"
)
// All is a list of all defined encodings in this package.
var All = []encoding.Encoding{GB... | {
"pile_set_name": "Github"
} |
package sarama
import "time"
//DescribeAclsResponse is a describe acl response type
type DescribeAclsResponse struct {
Version int16
ThrottleTime time.Duration
Err KError
ErrMsg *string
ResourceAcls []*ResourceAcls
}
func (d *DescribeAclsResponse) encode(pe packetEncoder) error {
pe.putInt3... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ This file is part of the PhotoEditor Software Development Kit.
~
~ Copyright (C) 2019 img.ly GmbH <contact@img.ly>
~ All rights reserved.
~
~ Redistribution and use in source and binary forms, without
~ modification, are permitted provided that the following l... | {
"pile_set_name": "Github"
} |
cc_test(
name = "beam_benchmark",
srcs = ["beam_benchmark.cc"],
deps = [
"//dragnn/core:beam",
"//dragnn/core/interfaces:cloneable_transition_state",
"//dragnn/core/interfaces:transition_state",
"//dragnn/core/test:mock_transition_state",
"@org_tensorflow//tensorflow/... | {
"pile_set_name": "Github"
} |
{
"name": "jspath",
"version": "0.4.0",
"homepage": "https://github.com/dfilatov/jspath",
"description": "DSL that enables you to navigate and find data within your JSON documents",
"keywords": [
"json",
"path",
"filter",
"selection",
"jspath",
"jpath"... | {
"pile_set_name": "Github"
} |
function showBalance(acc){
if(acc) alert(numeral(acc.balance).divide(1e18).format("0,0.00")+ " ETH");
}
(function(){
var accounts = null;
var $checkForm = $("#ether-checker");
$checkForm.submit(function(e){
e.preventDefault();
var addr = $checkForm.find("input[name=address]").val();
if(!addr) re... | {
"pile_set_name": "Github"
} |
This patch arranges so that we don't end up, with profiling builds, with a
file named `<stdout>.gcov' since that confuses lcov:
<stdout>:cannot open source file
geninfo: ERROR: cannot read <stdout>.gcov!
--- guile/libguile/c-tokenize.c 2009-09-13 13:05:15.000000000 +0200
+++ guile/libguile/c-tokenize.c 2009-10-28... | {
"pile_set_name": "Github"
} |
pytest
pytest-cov
mock
# We also want everything as specified by setup.py
-e .
| {
"pile_set_name": "Github"
} |
version: '2'
services:
apache:
container_name: scratchpads.apache
# image: naturalhistorymuseum/scratchpads.apache
build:
context: ./docker/apache
restart: always
links:
- mysql
depends_on:
- mysql
- solr
ports:
- "${APACHE_PORT}:80"
volumes:
- apac... | {
"pile_set_name": "Github"
} |
/*
*
* * Copyright 2014 http://Bither.net
* *
* * 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 requi... | {
"pile_set_name": "Github"
} |
/*************************************************************
*
* MathJax/jax/output/HTML-CSS/fonts/Gyre-Pagella/SansSerif/Regular/Main.js
*
* Copyright (c) 2013-2017 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance... | {
"pile_set_name": "Github"
} |
$NetBSD: distinfo,v 1.3 2015/11/03 03:28:55 agc Exp $
SHA1 (Tie-Cache-0.21.tar.gz) = d8f1d1c733e715e2ab3414f9e806c66af4847504
RMD160 (Tie-Cache-0.21.tar.gz) = caf412db4936b6d57105f95fd9ac9663a841d8c1
SHA512 (Tie-Cache-0.21.tar.gz) = f2d5672c058db0513b1956e077d68c8641b518e3e676fa3f05508a21989284c7a5059a110c0e12235eefd2... | {
"pile_set_name": "Github"
} |
-- Fix up quest 9539 "Totem of Coo"
-- Totem of Akida SAI
SET @ENTRY := 17360;
UPDATE `creature_template` SET `AIName`= 'SmartAI',`ScriptName`='' WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event... | {
"pile_set_name": "Github"
} |
#
# Automatically generated make config: don't edit
# Sat Jun 14 19:00:53 2008
#
# TARGET_alpha is not set
# TARGET_arm is not set
# TARGET_avr32 is not set
# TARGET_bfin is not set
# TARGET_cris is not set
# TARGET_e1 is not set
# TARGET_frv is not set
# TARGET_h8300 is not set
# TARGET_hppa is not set
# TARGET_i386 i... | {
"pile_set_name": "Github"
} |
var baseFlatten = require('./_baseFlatten'),
baseIteratee = require('./_baseIteratee'),
baseRest = require('./_baseRest'),
baseUniq = require('./_baseUniq'),
isArrayLikeObject = require('./isArrayLikeObject'),
last = require('./last');
/**
* This method is like `_.union` except that it accepts `it... | {
"pile_set_name": "Github"
} |
/***************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
PURPOSE, MERCHANTABILITY, OR NON-INF... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved.
*
* 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 t... | {
"pile_set_name": "Github"
} |
import React, { FunctionComponent, useEffect } from "react";
import styled from "styled-components";
import { GlobalStyle } from "../misc/global-style";
import { Footer } from "./footer";
import { Header } from "./header";
import { CookieConsent } from "../misc/cookie-consent";
import { PageTop } from "../misc/page-top... | {
"pile_set_name": "Github"
} |
package freenet.support.io;
import java.io.File;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
import freenet.support.Logger;
import freenet.support.api.LockableRandomAccessBuffer;
import freenet.support.api.LockableRandom... | {
"pile_set_name": "Github"
} |
/* Copyright (c) 2010, 2011, Oracle and/or its affiliates. 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; version 2 of the
License.
This program is... | {
"pile_set_name": "Github"
} |
# Copyright (c) 2016 Cadence Design Systems, Inc.
# SPDX-License-Identifier: Apache-2.0
config BOARD
default "xt-sim"
config IPM_CONSOLE_STACK_SIZE
default 2048 if IPM_CONSOLE_RECEIVER
| {
"pile_set_name": "Github"
} |
# is-finite [](https://travis-ci.org/sindresorhus/is-finite)
> ES6 [`Number.isFinite()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isFinite) ponyfill
> Ponyfill: A polyfill that doesn't overwri... | {
"pile_set_name": "Github"
} |
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
display: block
}
audio,
canvas,
video {
display: inline-block;
*display: inline;
*zoom: 1
}
audio:not([controls]) {... | {
"pile_set_name": "Github"
} |
{
"url": "https://rowdy.codes",
"name": "Rowdy Codes",
"description": "Freelance web developer and international tech speaker",
"twitter": "rowdyrabouw"
}
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
<sch:ns prefix="f" uri="http://hl7.org/fhir"/>
<sch:ns prefix="h" uri="http://www.w3.org/1999/xhtml"/>
<!--
This file contains just the constraints for the resource PractitionerRole
... | {
"pile_set_name": "Github"
} |
function A = behaviorData( action, fName, nFrame1 )
% Retrieve and manipulate behavior annotation of a video.
%
% Overview: A behavior annotation assigns every frame of a video to one of
% k behaviors. Each consecutive set of frames is a single behavior
% instance, the video is divided into n such behavior instances ea... | {
"pile_set_name": "Github"
} |
package test
import (
"bytes"
"encoding/json"
"fmt"
"strings"
"testing"
"github.com/davecgh/go-spew/spew"
fuzz "github.com/google/gofuzz"
jsoniter "github.com/json-iterator/go"
)
func Test_Roundtrip(t *testing.T) {
fz := fuzz.New().MaxDepth(10).NilChance(0.3)
for i := 0; i < 100; i++ {
var before typeFor... | {
"pile_set_name": "Github"
} |
/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */
/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
export default {"viewBox":"0 0 24 24","xmlns":"http://www.w3.org/2000/svg","path":{"d":"M2.2 6.5h19.6c.4 0 .8-.5.7-1-.5-1.5-1.1-2.9-2-4.1-.3-.4-.8-.4-1.1-.1-.8.8-2.1 1.... | {
"pile_set_name": "Github"
} |
// Modified by Princeton University on June 9th, 2015
/*
* ========== Copyright Header Begin ==========================================
*
* OpenSPARC T1 Processor File: Tcc_trap.s
* Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES.
*
* The above named program ... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Jun 9 2015 22:53:21).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2014 by Steve Nygard.
//
#import "NSControlTextEditingDelegate-Protocol.h"
@class NSArray, NSCell, NSEvent, NSIndexSet, NSNotification, NSString, NSTableColumn... | {
"pile_set_name": "Github"
} |
--
UPDATE `creature_template` SET `npcflag`=`npcflag`|16 WHERE `entry` IN (86010,86027);
| {
"pile_set_name": "Github"
} |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | {
"pile_set_name": "Github"
} |
/*
* IdeaVim - Vim emulator for IDEs based on the IntelliJ platform
* Copyright (C) 2003-2020 The IdeaVim authors
*
* 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 ... | {
"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>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIco... | {
"pile_set_name": "Github"
} |
# Translators:
# Ankue <ankue.spam@gmail.com>, 2019
# Fernando Sánchez <fernando.l.sanchez@gmail.com>, 2019
# Igor Perez <igordiablo@hotmail.com>, 2020
# Jose Rugel <joserugel@gmail.com>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-01T17:59:17+00:00\n"
"PO-... | {
"pile_set_name": "Github"
} |
#
# psuutil.py
# Platform-specific PSU status interface for SONiC
#
import os.path
import subprocess
import logging
try:
from sonic_psu.psu_base import PsuBase
except ImportError as e:
raise ImportError(str(e) + "- required module not found")
DEBUG = False
def show_log(txt):
if DEBUG == True:
p... | {
"pile_set_name": "Github"
} |
# Time commitment
Once you’ve chosen to work with a mentor, your most important job is to understand that mentor’s level of time commitment. Some mentors will want to help but have absolutely no time. Other mentors will be willing to show up for office hours several times a week. It runs the gamut. Your challenge is m... | {
"pile_set_name": "Github"
} |
class C {
foo: number
bar() {}
}
class D extends C implements C {
baz() { }
}
var c: C;
var d: D = new D();
d.bar();
d.baz();
d.foo; | {
"pile_set_name": "Github"
} |
package asmcup.compiler;
import java.lang.reflect.Field;
import java.util.*;
import asmcup.runtime.Robot;
public class RobotConstsTable {
private static final Map<String, Integer> consts;
static {
consts = new HashMap<>();
for (Field field : Robot.class.getDeclaredFields()) {
if (isConst(fie... | {
"pile_set_name": "Github"
} |
"""List all groups that includethe selected group element as a nested group."""
from pyrevit import framework
from pyrevit import revit, DB
selection = revit.get_selection()
grps = list(DB.FilteredElementCollector(revit.doc)
.OfClass(framework.get_type(DB.Group))
.ToElements())
grpType... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Xamarin.Forms;
[assembly: Dependency(typeof(Xamarin.FormsBook.Platform.iOS.FileHelper))]
namespace Xamarin.FormsBook.Platform.iOS
{
class FileHelper : IFileHelper
{
public Task<bool>... | {
"pile_set_name": "Github"
} |
# Building a Package from a Source RPM
This section describes how to install and build a package on the full version of Photon OS from the package's source RPM. Obtain the source RPMs that Photon OS uses from the Bintray location, [https://bintray.com/vmware/photon](https://bintray.com/vmware/photon)
## Prerequisit... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2016 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/... | {
"pile_set_name": "Github"
} |
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
import { ZeebeServer } from '@payk/nestjs-zeebe';
async function bootstrap() {
const app = await NestFactory.create(AppModule);
const microservice = app.connectMicroservice({
strategy: app.get(ZeebeServer),
});
await app... | {
"pile_set_name": "Github"
} |
// Copyright 2017 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"reflect"
"sync"
"gopkg.in/go-playground/validator.v8"
)
type defaultValidator struct {
once sync.Once
validate *va... | {
"pile_set_name": "Github"
} |
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_UI_VIEWS_TOUCHUI_TOUCH_SELECTION_CONTROLLER_IMPL_H_
#define UI_UI_VIEWS_TOUCHUI_TOUCH_SELECTION_CONTROLLER_IMPL_H_
#include "base/timer/ti... | {
"pile_set_name": "Github"
} |
//==========================================================================\\
//= === == == ===== ========= ===== === ====== =\\
//= ==== === == === === === == ======== === == == ===== =\\
//= ==== === == === ==== == ==== === === = = == ==== ===== =\\
... | {
"pile_set_name": "Github"
} |
using Gtk;
int main (string[] args) {
Gtk.init (ref args);
var foo = new MyFoo<string[](), MyBar<string, int>>();
var window = new Window();
window.title = "Hello, World!";
window.border_width = 10;
window.window_position = WindowPosition.CENTER;
window.set_default_size(350, 70);
win... | {
"pile_set_name": "Github"
} |
import 'package:hasura_connect/src/domain/models/request.dart';
import 'package:hasura_connect/src/domain/errors/errors.dart';
import 'package:hasura_connect/src/domain/entities/response.dart';
import 'package:dartz/dartz.dart';
import 'package:hasura_connect/src/domain/repositories/request_repository.dart';
import 'pa... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.