code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
-- --------------------------------------------------------
-- Host: 127.0.0.1
-- Server version: 5.5.40-0ubuntu0.14.04.1 - (Ubuntu)
-- Server OS: debian-linux-gnu
-- HeidiSQL Version: 8.3.0.4694
-- -----------------------------------------------... | manucv/Violations | db/app_SIP_20141020_v3.sql | SQL | bsd-3-clause | 37,845 |
// Copyright 2013 The go-github 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 github
import (
"bytes"
"encoding/json"
"errors"
"fmt"
"io/ioutil"
"net/http"
"net/url"
"strconv"
"strings"
"time"
)
const (
libr... | Archie22is/go-github | github/github.go | GO | bsd-3-clause | 13,602 |
import pytest
import bauble.db as db
from bauble.model.family import Family
from bauble.model.genus import Genus, GenusSynonym, GenusNote
import test.api as api
@pytest.fixture
def setup(organization, session):
setup.organization = session.merge(organization)
setup.user = setup.organization.owners[0]
setu... | Bauble/bauble.api | test/spec/test_genus.py | Python | bsd-3-clause | 4,372 |
<html>
<head>
<script src="../../http/tests/inspector/inspector-test.js"></script>
<script src="../../http/tests/inspector/console-test.js"></script>
<script>
// Global Values
var globals = [];
function log(current)
{
console.log(globals[current]);
console.log([globals[current]]);
}
function onload()
{
v... | kurli/blink-crosswalk | LayoutTests/inspector/console/console-format.html | HTML | bsd-3-clause | 4,794 |
/*
* Copyright (c) 2009-2012, Salvatore Sanfilippo <antirez at gmail dot com>
* 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 co... | oranagra/redis | src/t_set.c | C | bsd-3-clause | 41,630 |
package com.impirobotics.frc2014.commands.chassis;
import com.impirobotics.frc2014.ImpiLib;
import com.impirobotics.frc2014.RobotMap;
import com.impirobotics.frc2014.XboxController;
import com.impirobotics.frc2014.commands.CommandBase;
public class Chassis_Joystick extends CommandBase {
private stat... | ImpiRobotics/Impi2014 | src/com/impirobotics/frc2014/commands/chassis/Chassis_Joystick.java | Java | bsd-3-clause | 1,251 |
// Copyright 2015 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.
#include "blimp/net/test_common.h"
#include <string>
#include "base/sys_byteorder.h"
#include "blimp/common/proto/blimp_message.pb.h"
#include "blimp/ne... | highweb-project/highweb-webcl-html5spec | blimp/net/test_common.cc | C++ | bsd-3-clause | 2,190 |
ARDUPilotPhotoStitcher
======================
Tool to automate the generation of map tiles captured using an ArduPilot drone.
Initial work can be found in "MosaicMaker" folder.
It's state is as follows: <br/>
- A zoomable, panable image viewer <br/>
- Have not yet figured out how to add images in ... | uacaps/ARDUPilotPhotoStitcher | README.md | Markdown | bsd-3-clause | 543 |
--test sign function with integer type
create table test_number(
test_int int,
test_smallint smallint,
test_numeric numeric(38,10),
test_float float,
test_real real,
test_double double,
test_monetary monetary);
------------------------------------------------------
insert into test_number values( 1,2,19400... | CUBRID/cubrid-testcases | sql/_04_operator_function/_05_arighmetic_op/_009_sign/cases/1007.sql | SQL | bsd-3-clause | 1,553 |
// Copyright 2010-2016, 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 condit... | kbc-developers/Mozc | src/renderer/mac/InfolistView.h | C | bsd-3-clause | 2,464 |
/*L
* Copyright SAIC
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/stats-analysis-commons/LICENSE.txt for details.
*/
package gov.nih.nci.caintegrator.enumeration;
import java.io.Serializable;
public enum StatisticalSignificanceType implements Serializable{
pV... | NCIP/stats-analysis-commons | src/gov/nih/nci/caintegrator/enumeration/StatisticalSignificanceType.java | Java | bsd-3-clause | 345 |
;---------------------------------------
; CLi² (Command Line Interface) API
; 2016 © breeze/fishbone crew
;---------------------------------------
; MODULE: #63 getCurrentDate
;---------------------------------------
; Получить текущую дату
; o:HL - год
; D - месяц
; E - день
; C - день недели
;---... | LessNick/cli2 | src/system/api/getCurrentDate.asm | Assembly | bsd-3-clause | 1,172 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>gem5: Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Gener... | wnoc-drexel/gem5-stable | src/doxygen/html/classFALRUBlk-members.html | HTML | bsd-3-clause | 8,279 |
import 'normalize.css';
import React from 'react';
import ReactDOM from 'react-dom';
import Coordinate2DWidget from 'paraviewweb/src/React/Widgets/Coordinate2DWidget';
const height = 100;
const width = 100;
ReactDOM.render(
React.createElement(Coordinate2DWidget, {
height,
width,
onChange: console.log... | Kitware/paraviewweb | src/React/Widgets/Coordinate2DWidget/example/index.js | JavaScript | bsd-3-clause | 386 |
/*
*= require admin/spree_core
*= require_self
*/
.icon-file-alt:before {
content: "\f0f6";
}
#supplier_backorders tbody td:nth-child(2){
text-align: left;
}
#supplier_backorders tfoot td:first-child, #purchase_order_lines tfoot td:first-child{
text-align: right;
}
#supplier_backorders tfoot .backorder_cost... | complistic-gaff/spree_purchasing | app/assets/stylesheets/admin/spree_purchasing.css | CSS | bsd-3-clause | 1,039 |
from rdkit import Chem
from rdkit import rdBase
from rdkit.Chem import rdMolDescriptors as rdMD
from rdkit.Chem import AllChem
from rdkit.Chem.EState import EStateIndices
from rdkit.Chem.EState import AtomTypes
import time
print rdBase.rdkitVersion
print rdBase.boostVersion
def getEState(mol):
return EStat... | rdkit/rdkit | Code/GraphMol/Descriptors/test3D_old.py | Python | bsd-3-clause | 3,537 |
"""
WSGI config for invoices project.
This module contains the WSGI application used by Django's development server
and any production WSGI deployments. It should expose a module-level variable
named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover
this application via the ``WSGI_APPLICATION``... | sztosz/invoices | config/wsgi.py | Python | bsd-3-clause | 1,618 |
"""
Sampling along tracks
---------------------
The :func:`pygmt.grdtrack` function samples a raster grid's value along specified
points. We will need to input a 2D raster to ``grid`` which can be an
:class:`xarray.DataArray`. The argument passed to the ``points`` parameter can be a
:class:`pandas.DataFrame` table whe... | GenericMappingTools/gmt-python | examples/gallery/images/track_sampling.py | Python | bsd-3-clause | 1,614 |
@page linux_nvidia Make sure you are using your NVIDIA chip on Linux
@brief 2015-01-26
In the early days of small3d's development, I was using a laptop which I was dual booting into Windows and Debian. The machine had been purchased with Windows pre-installed, and then I also installed the Linux instance. Even though... | dimi309/small3d | doxygen/blog/SwitchingBetweenIntelNvidia.md | Markdown | bsd-3-clause | 3,059 |
// Copyright 2012 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.
#include "cc/layers/heads_up_display_layer_impl.h"
#include <stddef.h>
#include <stdint.h>
#include <algorithm>
#include <iomanip>
#include <utility>
#i... | ric2b/Vivaldi-browser | chromium/cc/layers/heads_up_display_layer_impl.cc | C++ | bsd-3-clause | 52,022 |
package com.flash3388.flashlib.vision.processing.analysis;
import com.flash3388.flashlib.vision.Image;
import com.jmath.vectors.Vector2;
import com.jmath.vectors.Vector3;
public final class AnalysisAlgorithms {
private AnalysisAlgorithms() {}
public static double measureDistanceByWidth(Image image, double c... | Flash3388/FlashLib | flashlib.vision.core/src/main/java/com/flash3388/flashlib/vision/processing/analysis/AnalysisAlgorithms.java | Java | bsd-3-clause | 2,310 |
.datarow :hover {
cursor: pointer !important;
cursor: hand !important;
}
.formText {
width: 90%;
}
#status {
position: fixed;
bottom: 5px;
right: 5px;
width: 25px;
height: 25px;
} | encryptedmessaging/emp | client/styles/app.css | CSS | bsd-3-clause | 189 |
module ForumsHelper
FORUM_CONTROLLERS = ["forums", "posts", "topics"]
def handle_forum_header
if FORUM_CONTROLLERS.include?(params[:controller])
out = ""
out << stylesheet_link_tag('forums')
out << javascript_include_tag("lowpro", "application", :cache => 'beast', :plugin => 'ansuz_savage_bea... | knewter/ansuz | app/helpers/forums_helper.rb | Ruby | bsd-3-clause | 605 |
package org.hisp.dhis.validation;
/*
* Copyright (c) 2004-2017, University of Oslo
* 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 cop... | vmluan/dhis2-core | dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/validation/ValidationTask.java | Java | bsd-3-clause | 1,731 |
{-# LANGUAGE ViewPatterns #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StandaloneDeriving #-}
-- | Model for wiki.
module HL.Model.Wiki where
import HL.Controller
import Control.Exception.Lifted (catch)
import Control.Spoon
import Data.Conduit
import Data.Maybe
import Da... | erantapaa/hl | src/HL/Model/Wiki.hs | Haskell | bsd-3-clause | 2,701 |
#!/bin/bash
# Copyright 2020 Google LLC.
set -euo pipefail
USAGE=$'
Example usage:
inference_deeptrio.sh --model_preset "WGS" --docker_build true --use_gpu true
The only trio supported is: child=HG002, parents=HG003,HG004.
This is because otherwise there are too many flags needed to set VCFs and BEDs for 3 samples... | google/deepvariant | scripts/inference_deeptrio.sh | Shell | bsd-3-clause | 28,096 |
"""
A sub-package for efficiently dealing with polynomials.
Within the documentation for this sub-package, a "finite power series,"
i.e., a polynomial (also referred to simply as a "series") is represented
by a 1-D numpy array of the polynomial's coefficients, ordered from lowest
order term to highest. For example, a... | teoliphant/numpy-refactor | numpy/polynomial/__init__.py | Python | bsd-3-clause | 951 |
/*! cropit - v0.4.5 <https://github.com/scottcheng/cropit> */
(function webpackUniversalModuleDefinition(root, factory) {
if (typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("jquery"));
else if (typeof define === 'function' && define.amd)
define(["jque... | Junaid-Farid/staylance-new | frontend/web/js/jquery.cropit.js | JavaScript | bsd-3-clause | 72,151 |
jsonp({"fullName":'Deferrable.prototype.then',"source":'Deferrable.js',"sourceFile":'data/source/Deferrable.js.html#Deferrable-prototype-then',"summary":'<p>\u5b9a\u4e49\u5f53\u524d\u4efb\u52a1\u6267\u884c\u5b8c\u6210\u540e\u7684\u56de\u8c03\u51fd\u6570\u3002</p>\n',"params":[{"type":'Deferrable',"name":'callback',"su... | jplusui/jplusui.github.com | resources/cookbooks/jplusui-full-api/data/api/Deferrable.prototype.then.js | JavaScript | bsd-3-clause | 604 |
/*
Copyright (c) 2003, Arvid Norberg
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 and the f... | chongyc/libtorrent | examples/client_test.cpp | C++ | bsd-3-clause | 46,630 |
# NonlinearDynamicsAndChaos
A high school project regarding nonlinear dynamics, chaos and fractals. The report can be found when it's done
(not yet!). The main program is NOT Main.hs, instead Plot.hs. Until I structure it differently is basically everything in the Plot.hs file. I have some minor helpfunctions in Helpf... | juliajansson/NonlinearDynamicsAndChaos | README.md | Markdown | bsd-3-clause | 433 |
package com.avast.kafkatests;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Random;
public abstract class AbstractComponent implements RunnableComponent {
private static final String COMPONENT_NAME_CHARACTERS = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
priv... | avast/kafka-tests | src/main/java/com/avast/kafkatests/AbstractComponent.java | Java | bsd-3-clause | 1,017 |
package com.PortfolioManager.domain.entities;
import com.PortfolioManager.domain.entities.Portfolio;
import com.PortfolioManager.domain.entities.Stock;
import java.util.Date;
import javax.annotation.Generated;
import javax.persistence.metamodel.SingularAttribute;
import javax.persistence.metamodel.StaticMetamodel;
@G... | Ayadi07/CSI | PortfolioManager2.9/build/generated-sources/ap-source-output/com/PortfolioManager/domain/entities/OrderStock_.java | Java | bsd-3-clause | 1,074 |
<?php
function thai_date($time){
global $thai_day_arr,$thai_month_arr;
//$thai_date_return="วัน ".$thai_day_arr=array("อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์")[date("w",$time)];
$thai_date_return= "".date("j",$time);
$thai_date_return.=" ".$thai_month_arr=array(
"","ม.ค."... | Darkdion/bkt | backend/views/payment/_billSuccess.php | PHP | bsd-3-clause | 9,061 |
ZF2DoctrineSkeletonApplication
===============================
Introduction
------------
This is a simple, skeleton application using the ZF2 MVC layer and module
systems and Doctrine2 ORM Layer. This application is meant to be used as a starting
place for those looking to get their feet wet with ZF2 and Doctrine2 ORM... | wyanez/ZF2DoctrineSkeletonApp | README.md | Markdown | bsd-3-clause | 2,146 |
export {a, b as c, d, } from "my-module"; | mck89/peast | test/Peast/Syntax/ES2015/files/modules/ExportDeclaration/From2.js | JavaScript | bsd-3-clause | 41 |
using UnityEngine;
public class CenterCameraButton : TaskbarButton {
public void CenterCameraPosition() {
var components = SimulationPanel.instance.GetActiveComponents();
Vector3 centroid = Vector3.zero;
foreach (var component in components)
centroid += component.transform.positi... | gabrielnaves/TG | shp_sim/Assets/Scripts/GUI/Taskbar/CenterCameraButton.cs | C# | bsd-3-clause | 609 |
{% load activity_stream_tags %}
{% following_activity_stream viewed_user count offset %} | philippWassibauer/django-activity-stream | activity_stream/templates/activity_stream/ajax_following_stream.html | HTML | bsd-3-clause | 88 |
#include <ncurses.h>
int main()
{
initscr();
printw("Hello, nCurses World");
refresh();
getch();
endwin();
return 0;
}
| drakekr/ncurse-exam | 0x00-HelloWorld/0x00.c | C | bsd-3-clause | 126 |
/*
* Copyright: (c) Mayo Foundation for Medical Education and
* Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the
* triple-shield Mayo logo are trademarks and service marks of MFMER.
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/lexevs-grid/LICENSE.txt f... | NCIP/lexevs-grid | LexEVSAnalyiticalService/src/org/LexGrid/LexBIG/cagrid/LexEVSGridService/HistoryService/service/globus/HistoryServiceAuthorization.java | Java | bsd-3-clause | 8,649 |
{% load i18n %}
<div class="inline-group inline-stacked{% if inline_admin_formset.opts.sortable %} sortable{% endif %}{% if inline_admin_formset.opts.classes %} {{ inline_admin_formset.opts.classes|join:" " }}{% endif %}" name="inlinegroup">
<h2>{{ inline_admin_formset.opts.verbose_name_plural|title }}</h2>
<u... | gladgod/zhiliao | zhiliao/grappellisafe/templates/admin/edit_inline/stacked.html | HTML | bsd-3-clause | 3,159 |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
use kartik\alert\Alert;
/* @var $this yii\web\View */
/* @var $model app\models\Curso */
$this->title = $model->nome;
?>
<div class="usuario-view">
<h1><?= Html::encode($this->title) ?></h1>
<?php
echo Alert::widget([
'type' => ... | tammy00/rbc_ipc | views/usuario/done.php | PHP | bsd-3-clause | 1,193 |
var margin = {top: 70, right: 20, bottom: 20, left: 10},
svgWidth = 1000,
svgHeight = 700,
width = svgWidth - margin.left - margin.right,
height = svgHeight - margin.top - margin.bottom,
data = {};
d3.csv("budget16-top10.csv", function (error, csv_data) {
console.log(csv_data);
data.income ... | gooduling/angry-data | Budget2016/script.js | JavaScript | bsd-3-clause | 8,212 |
# Change Log
## [2.0.0](https://github.com/gordonbanderson/weboftalent-pagination/tree/2.0.0) (2016-01-20)
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* | gordonbanderson/weboftalent-pagination | CHANGELOG.md | Markdown | bsd-3-clause | 247 |
/*-----------------------------------------------------------------------------
| Copyright (c) 2014-2015, S. Chris Colbert
|
| Distributed under the terms of the BSD 3-Clause License.
|
| The full license is in the file LICENSE, distributed with this software.
|---------------------------------------------------------... | dwillmer/phosphor | src/widgets/stackedlayout.ts | TypeScript | bsd-3-clause | 7,067 |
/*================================================================================
Copyright (c) 2013 Steve Jin. 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 re... | paksv/vijava | src/com/vmware/vim25/MultipleCertificatesVerifyFaultThumbprintData.java | Java | bsd-3-clause | 2,159 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_91) on Tue Dec 29 12:43:36 AEDT 2015 -->
<title>DLSet (Bouncy Castle Library 1.54 API Specification)</title>
<meta name="date" content=... | GaloisInc/hacrypto | src/Java/BouncyCastle/BouncyCastle-1.54/bcprov-jdk15on-154/javadoc/org/bouncycastle/asn1/DLSet.html | HTML | bsd-3-clause | 15,507 |
#ifndef _DATE_TIME_WRAPPING_INT_HPP__
#define _DATE_TIME_WRAPPING_INT_HPP__
/* Copyright (c) 2002,2003,2005 CrystalClear Software, Inc.
* Use, modification and distribution is subject to the
* Boost Software License, Version 1.0. (See accompanying
* file LICENSE-1.0 or http://www.boost.org/LICENSE-1.0)
* A... | darwin/upgradr | ieaddon/Upgradr/boost/date_time/wrapping_int.hpp | C++ | bsd-3-clause | 5,661 |
#include "DerefStructDeref.h"
#include <vector>
namespace dale {
Node *FormMacroDerefStructDerefParse(Context *ctx, Node *n) {
if (!ctx->er->assertArgNums("@:@", n, 2, 2)) {
return NULL;
}
std::vector<Node *> *lst = n->list;
(*lst)[0]->token->str_value.clear();
(*lst)[0]->token->str_valu... | tomhrr/dale | src/dale/Form/Macro/DerefStructDeref/DerefStructDeref.cpp | C++ | bsd-3-clause | 1,025 |
/**
** @file tcSky.cpp
*/
/*
** Copyright (c) 2014, GCBLUE PROJECT
** 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 ... | gcblue/gcblue | src/graphics/tcSky.cpp | C++ | bsd-3-clause | 6,800 |
/*L
* Copyright HealthCare IT, Inc.
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/edct-formbuilder/LICENSE.txt for details.
*/
package com.healthcit.cacure.model;
import javax.persistence.CascadeType;
import javax.persistence.DiscriminatorValue;
import jav... | NCIP/edct-formbuilder | src/main/java/com/healthcit/cacure/model/FormElementSkipRule.java | Java | bsd-3-clause | 1,419 |
/* $NetBSD: bus.h,v 1.5 2003/06/15 23:08:59 fvdl Exp $ */
/* $OpenBSD: bus.h,v 1.13 2001/07/30 14:15:59 art Exp $ */
/*
* Copyright (c) 1998,1999 Michael Shalayeff
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the followi... | MarginC/kame | netbsd/sys/arch/hp700/include/bus.h | C | bsd-3-clause | 19,004 |
from django.core.management.base import BaseCommand
from dojo.models import System_Settings
class Command(BaseCommand):
help = 'Updates product grade calculation'
def handle(self, *args, **options):
code = """def grade_product(crit, high, med, low):
health=100
if crit > 0:
... | rackerlabs/django-DefectDojo | dojo/management/commands/system_settings.py | Python | bsd-3-clause | 1,040 |
package scalaxy.streams.benchmark.jmh
import java.util.concurrent.TimeUnit
import org.openjdk.jmh.annotations._
trait BaseState {
@Param(Array("1000", "1000000"))
var size: Int = 0
}
@State(Scope.Thread)
class ArrayState extends BaseState {
var intArray: Array[Int] = _
var tup2Array: Array[(Int, Int)] = _
... | nativelibs4java/scalaxy-streams | Resources/Benchmarks/States.scala | Scala | bsd-3-clause | 988 |
// SDLHmiZoneCapabilities.h
//
#import "SDLEnum.h"
/**
* Specifies HMI Zones in the vehicle. Used in RegisterAppInterfaceResponse
*
* @since SDL 1.0
*/
typedef SDLEnum SDLHMIZoneCapabilities NS_TYPED_ENUM;
/**
* Indicates HMI available for front seat passengers.
*/
extern SDLHMIZoneCapabilities const SDLHMIZ... | smartdevicelink/sdl_ios | SmartDeviceLink/public/SDLHMIZoneCapabilities.h | C | bsd-3-clause | 468 |
"""
Author: Dr. John T. Hwang <hwangjt@umich.edu>
This package is distributed under New BSD license.
Full-factorial sampling.
"""
import numpy as np
from smt.sampling_methods.sampling_method import SamplingMethod
class FullFactorial(SamplingMethod):
def _initialize(self):
self.options.declare(
... | bouhlelma/smt | smt/sampling_methods/full_factorial.py | Python | bsd-3-clause | 1,806 |
{% comment %}
This is how I setup a large slideshow for something like a home page. Most of the magic happens in the css and js
{% endcomment %}
{% if slides %}
<div id="slideshow">
<div class="slides">
{% for slide in slides %}
<div class="slide">
... | davemerwin/django-slideshow | slideshow/templates/slideshow/slideshow.html | HTML | bsd-3-clause | 934 |
// Copyright (c) 2012 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.
// MediaStreamManager is used to open/enumerate media capture devices (video
// supported now). Call flow:
// 1. GenerateStream is called when a rende... | Bysmyyr/chromium-crosswalk | content/browser/renderer_host/media/media_stream_manager.h | C | bsd-3-clause | 19,666 |
/*
filelist.cpp
Файловая панель
*/
/*
Copyright © 1996 Eugene Roshal
Copyright © 2000 Far Group
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 c... | johnd0e/FarManager | far/filelist.cpp | C++ | bsd-3-clause | 240,529 |
"""
Dealing with SFT tests.
"""
import logging
import sft_meta
import sft_schema as schema
from sft.utils.helpers import strip_args
class SFTPool():
""" This class defines all site functional tests (SFT)s
that shall be executed.
"""
def __init__(self):
self.log = logging.getLogger(__... | placiflury/gridmonitor-sft | sft/db/sft_handler.py | Python | bsd-3-clause | 3,142 |
/*
* Copyright (c) Contributors, http://aurora-sim.org/, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistr... | NanaYngvarrdottir/Software-Testing | OpenSim/Services/UserAccountService/UserAccountService.cs | C# | bsd-3-clause | 23,519 |
#requires -Version 3.0
#region Info
<#
Support: https://github.com/jhochwald/NETX/issues
#>
#endregion Info
#region License
<#
Copyright (c) 2016, Quality Software Ltd.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the fol... | jhochwald/NETX | Profile/functions/LoadTest.ps1 | PowerShell | bsd-3-clause | 15,211 |
from django.shortcuts import redirect
from django.template.response import TemplateResponse
from ..forms import AnonymousUserShippingForm, ShippingAddressesForm
from ...userprofile.forms import get_address_form
from ...userprofile.models import Address
from ...teamstore.utils import get_team
def anonymous_user_shipp... | jonathanmeier5/teamstore | saleor/checkout/views/shipping.py | Python | bsd-3-clause | 3,737 |
//
// https://github.com/NServiceKit/NServiceKit.Text
// NServiceKit.Text: .NET C# POCO JSON, JSV and CSV Text Serializers.
//
// Authors:
// Demis Bellot (demis.bellot@gmail.com)
//
// Copyright 2012 ServiceStack Ltd.
//
// Licensed under the same terms of ServiceStack: new BSD license.
//
using System;
using Syste... | NServiceKit/NServiceKit.Text | src/NServiceKit.Text/Common/DeserializeCollection.cs | C# | bsd-3-clause | 6,238 |
d3 = {version: "2.7.5"}; // semver
| alex/d3 | src/core/core.js | JavaScript | bsd-3-clause | 35 |
// Autogenerated from isource/library/elements.i
package ideal.library.elements;
public interface deeply_immutable_dictionary<key_type, value_type> extends deeply_immutable_collection<dictionary.entry<key_type, value_type>>, immutable_dictionary<key_type, value_type> { }
| gnanam336/ideal | bootstrapped/ideal/library/elements/deeply_immutable_dictionary.java | Java | bsd-3-clause | 274 |
/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... | v4hn/moveit | moveit_core/planning_scene/test/test_planning_scene.cpp | C++ | bsd-3-clause | 5,540 |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_environment_execlp_74a.cpp
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-74a.tmpl.cpp
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: environment Read input fro... | JianpingZeng/xcc | xcc/test/juliet/testcases/CWE78_OS_Command_Injection/s06/CWE78_OS_Command_Injection__wchar_t_environment_execlp_74a.cpp | C++ | bsd-3-clause | 3,495 |
<?php
namespace LazyRecord\Schema;
use ArrayAccess;
use IteratorAggregate;
use SQLBuilder\Universal\Syntax\Conditions;
use LazyRecord\BaseCollection;
use LazyRecord\BaseModel;
use LogicException;
class Relationship implements IteratorAggregate, ArrayAccess
{
const HAS_MANY = 1;
const HAS_ONE = 2;
const BEL... | talib570/LazyRecord | src/LazyRecord/Schema/Relationship.php | PHP | bsd-3-clause | 5,989 |
from httpx import AsyncClient
# Runtime import to avoid syntax errors in samples on Python < 3.5 and reach top-dir
import os
_TOP_DIR = os.path.abspath(
os.path.sep.join((
os.path.dirname(__file__),
'../',
)),
)
_SAMPLES_DIR = os.path.abspath(
os.path.sep.join((
os.path.dirname(__fi... | rmk135/objects | tests/unit/wiring/test_wiringfastapi_py36.py | Python | bsd-3-clause | 1,426 |
<?php
namespace Application\Entity;
use Application\Entity\Interfaces\IEntity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\MappedSuperclass
*/
abstract class BaseEntity implements IEntity{
static protected $monthsShort = array(1 => "jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sept", "o... | langemol/myrecipes-backend | module/Application/src/Application/Entity/BaseEntity.php | PHP | bsd-3-clause | 3,393 |
# ----------------------------------------------------------------------------
# Copyright (c) 2016-2017, QIIME 2 development team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file LICENSE, distributed with this software.
# ------------------------------------------------... | gregcaporaso/q2cli | q2cli/handlers.py | Python | bsd-3-clause | 22,305 |
"""
=======================================
Receiver Operating Characteristic (ROC)
=======================================
Example of Receiver Operating Characteristic (ROC) metric to evaluate
classifier output quality.
ROC curves typically feature true positive rate on the Y axis, and false
positive rate on the X a... | flightgong/scikit-learn | examples/plot_roc.py | Python | bsd-3-clause | 3,681 |
# Copyright 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.
import os
import unittest
from telemetry import story
from telemetry import page as page_module
from telemetry import value
from telemetry.value import impro... | catapult-project/catapult-csm | telemetry/telemetry/value/scalar_unittest.py | Python | bsd-3-clause | 7,682 |
#ifndef TASK_ADD
#define TASK_ADD
extern struct Mmutex MutexA;
#endif // TASK_ADD
| Kefir0192/MThreadStatic | sources/example/test_stm32f051r8/file/inc/task_add.h | C | bsd-3-clause | 85 |
<?php
/**
* Jazz Library/Framework
*
* LICENSE
* This library is being released under the terms of the New BSD License. A
* copy of the license is packaged with the software (LICENSE.txt). If no
* copy is found, a copy of the license template can be found at:
* http://www.opensource.org/licenses/bsd-license.ph... | ibayou/phpjazz | archive/Jazz/Helper/Nav.php | PHP | bsd-3-clause | 3,858 |
/*==============================================================
* Copyright (c) 2009 Blake Fisher. All Rights Reserved.
*
* This software is released under the BSD License
* <http://www.opensource.org/licenses/bsd-license.php>
*==============================================================
*/
#pragma onc... | vashero/tachyon-game | src/stateRouter.hpp | C++ | bsd-3-clause | 3,266 |
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2016 Couchbase, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | daverigby/kv_engine | tests/mcbp/xattr_key_validator_test.cc | C++ | bsd-3-clause | 5,631 |
package com.nordicsemi.nrfUARTv2;
/**
* Created by Michele on 10/19/16.
*/
import android.util.Log;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
public class SensorData {
private List<String> pressureReadings;
private List<String> temperatureReadings;
private List<String> axe... | Medsentec/PUPS-Android-Application | app/src/main/java/com/nordicsemi/nrfUARTv2/SensorData.java | Java | bsd-3-clause | 1,788 |
/***************************************************************************
# Copyright (c) 2015-21, NVIDIA CORPORATION. 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... | NVIDIAGameWorks/Falcor | Source/Falcor/Scene/Volume/Grid.h | C | bsd-3-clause | 5,780 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_101) on Sat Aug 20 05:41:48 EDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Uses of Class org.apache.so... | berkeleybop/bbop-manager-golr | solr/docs/solr-core/org/apache/solr/rest/class-use/ManagedResourceStorage.InMemoryStorageIO.html | HTML | bsd-3-clause | 5,257 |
.PHONY: all test dumpautoload
all: test
composer.phar:
wget https://getcomposer.org/composer.phar
chmod a+x ./composer.phar
dumpautoload: composer.phar
./composer.phar dumpautoload
test: composer.phar dumpautoload
./composer.phar test
| john-whitley/seperate-eloquent-concerns | Makefile | Makefile | bsd-3-clause | 243 |
Sedra CMS
=========
This repository contains multiple modules to provide a basic CMS based on the [Sedra framework](https://github.com/matthieusieben/Sedra.framework).
## Installation
First, you will need to checkout the [Sedra framework](https://github.com/matthieusieben/Sedra.framework) in your web directory.
Nex... | matthieusieben/Sedra.cms | README.md | Markdown | bsd-3-clause | 1,293 |
<?php
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT);
/**
* Bootstrap
*
* @category
* @package BeardSite
* @author Tim Marshall <Tim@CodingBeard.com>
* @copyright (c) 2015, Tim Marshall
* @license New BSD License
*/
use CodingBeard\ErrorHandler;
use Phalcon\Loader;
use Phalcon\Mvc\Application;
try {
$co... | CodingBeard/BeardSite | public/index.php | PHP | bsd-3-clause | 1,230 |
<?php
namespace Apps\Common\Enum;
/**
* 搜索数据的类型
* @package Apps\Common\Enum
*/
class SearchDataType
{
/**
* 美容院
*/
const BeautyParlors = 1;
/**
* 美容院服务项目
*/
const BeautyParlorService = 2;
/**
* 活动
*/
const Activity = 3;
/**
* 问答
*/
const Quest... | fu-tao/meelier_c2.0 | common/enum/SearchDataType.php | PHP | bsd-3-clause | 372 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ZNS.EliteTracker.Models.Documents
{
public class Comment : BaseDocument
{
public string DocumentId { get; set; }
public CommanderRef Commander { get; set; }
public string Body { get; set; }
... | ZNS/EliteTracker | ZNS.EliteTracker/Models/Documents/Comment.cs | C# | bsd-3-clause | 471 |
/*****************************************************************************
power_measurement_probe.hpp
Functions to obtain energy and power consumption metrics
This file belongs to the KisTA library
All rights reserved by the authors (until further License definition)
Author: F. Herrera
... | nandohca/kista | src/energy_power/power_measurement_probe.hpp | C++ | bsd-3-clause | 2,629 |
<?php
/**
* Copyright (c) 2011-present Mediasift Ltd
* 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... | datasift/storyplayer | src/php/DataSift/Storyplayer/Injectables/DefaultSystemUnderTestName.php | PHP | bsd-3-clause | 3,384 |
# Copyright 2015-2016, 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 and ... | VcamX/grpc | tools/dockerfile/test/cxx_ubuntu1404_x64/Dockerfile | Dockerfile | bsd-3-clause | 2,724 |
<?php
/**
* Mend Library
*
* PHP version 5.3
*
* @category Zend_Mend
* @package View
* @subpackage Helpers
* @author Doug Hurst <dalan.hurst@gmail.com>
* @copyright 2011 Doug Hurst
* @license http://www.opensource.org/licenses/bsd-license New BSD License
* @link http://github.com/dalanhurs... | ranjithinnergys/Zend_Mend | library/Mend/View/Helper/FormSearch.php | PHP | bsd-3-clause | 1,423 |
{-# LANGUAGE CPP #-}
#include "overlapping-compat.h"
module Servant.ForeignSpec where
import Data.Monoid ((<>))
import Data.Proxy
import Servant.Foreign
import Test.Hspec
spec :: Spec
spec = describe "Servant.Foreign" $ do
camelCaseSpec
listFromAPISpec
camelCaseSpec :: Spec
camelCaseSpec = descri... | zerobuzz/servant | servant-foreign/test/Servant/ForeignSpec.hs | Haskell | bsd-3-clause | 4,035 |
package edu.ucdenver.ccp.common.file;
/*
* #%L
* Colorado Computational Pharmacology's common module
* %%
* Copyright (C) 2012 - 2014 Regents of the University of Colorado
* %%
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditio... | UCDenver-ccp/common | src/main/java/edu/ucdenver/ccp/common/file/FileListFilter.java | Java | bsd-3-clause | 2,389 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>mne.write_bem_solution — MNE 0.20.7 documentation</title>
<link rel="stylesheet" href="../_static/bootstrap-sphinx.css" type="text/css" />
<link rel="styleshe... | mne-tools/mne-tools.github.io | 0.20/generated/mne.write_bem_solution.html | HTML | bsd-3-clause | 14,472 |
/*
* JavaCL - Java API and utilities for OpenCL
* http://javacl.googlecode.com/
*
* Copyright (c) 2009-2015, Olivier Chafik (http://ochafik.com/)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are... | a260749110/javacl_deepLearn | Core/target/generated-sources/main/com/nativelibs4java/opencl/ImageIOUtils.java | Java | bsd-3-clause | 23,534 |
<?php
class Functor {
public function __construct($fmap) {
$this->fmap = $fmap;
}
}
class Applicative {
public function __construct($pure, $ap, $Functor) {
$this->pure = $pure;
$this->ap = $ap;
$this->Functor = $Functor;
}
}
class Monad {
public function __construc... | LightAndLight/hindley-milner | test/files/monad.lam.php | PHP | bsd-3-clause | 4,405 |
/*
* Copyright (c) 1997 - 2006 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* 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... | ystk/debian-heimdal | lib/kadm5/init_c.c | C | bsd-3-clause | 19,249 |
#pragma once
#include <folly/MPMCQueue.h>
#include <memory>
#include <string>
#include <thread>
namespace comm {
using taskType = std::function<void()>;
class WorkerThread {
std::unique_ptr<std::thread> thread;
folly::MPMCQueue<std::unique_ptr<taskType>> tasks;
const std::string name;
public:
WorkerThread(... | Ashoat/squadcal | native/cpp/CommonCpp/Tools/WorkerThread.h | C | bsd-3-clause | 430 |
{% extends "sentry/teams/manage.html" %}
{% load i18n %}
{% block title %}{% trans "Remove Member" %} | {{ block.super }}{% endblock %}
{% block heading %}{% trans "Remove Member" %}{% endblock %}
{% block breadcrumb %}
{{ block.super }}
<li class="divider">/</li>
<li><a href="{% url sentry-remove-team-... | alex/sentry | sentry/templates/sentry/teams/members/remove.html | HTML | bsd-3-clause | 953 |
<?php
namespace app\modules\controlcenter;
use Yii;
use yii\base\Theme;
/**
* Created by PhpStorm.
* User: leijiao
* Date: 16/3/10
* Time: 上午11:50
*/
class Module extends \yii\base\Module
{
public $controllerNamespace = 'app\modules\controlcenter\controllers';
public $layout="@app/modules/controlcenter/... | vin120/vcos | backend/modules/controlcenter/Module.php | PHP | bsd-3-clause | 722 |
<?php
/**
* @link http://www.writesdown.com/
* @copyright Copyright (c) 2015 WritesDown
* @license http://www.writesdown.com/license/
*/
namespace tests\codeception\common\fixtures;
use yii\test\ActiveFixture;
/**
* Class ModuleFixture
*
* @author Agiel K. Saputra <13nightevil@gmail.com>
* @since 0.1.2
*/
c... | writesdown/app-cms | tests/codeception/common/fixtures/ModuleFixture.php | PHP | bsd-3-clause | 567 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.