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 |
|---|---|---|---|---|---|
<?
$this->title = Yii::t("UserModule.user", 'Create profile field');
$this->breadcrumbs=array(
Yii::t("UserModule.user", 'Profile fields')=>array('admin'),
Yii::t("UserModule.user", 'Create'));
?>
<?php echo $this->renderPartial('_form', array('model'=>$model)); ?>
| stsoft/printable | protected/modules/profile/views/fields/create.php | PHP | bsd-3-clause | 270 |
<!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_45) on Mon Jul 12 18:25:20 IDT 2021 -->
<title>com.exlibris.repository.persistence.sip</title>
<meta name="date" content="2021-07-12">
<link re... | ExLibrisGroup/Rosetta.dps-sdk-projects | 7.1/javadoc/com/exlibris/repository/persistence/sip/package-frame.html | HTML | bsd-3-clause | 906 |
/*
* Kit.h
*
* Created on: 21 Aug 2016
* Author: jeremy
*/
#ifndef SOURCE_DRUMKIT_KITS_KIT_H_
#define SOURCE_DRUMKIT_KITS_KIT_H_
#include "KitParameters.h"
#include "KitManager.h"
#include "../../Sound/SoundBank/SoundBank.h"
#include "../Instruments/Instrument.h"
#include "../Triggers/Triggers/Trigger.h"... | SpintroniK/libeXaDrums | DrumKit/Kits/Kit.h | C | bsd-3-clause | 1,473 |
# -*- coding: utf-8 -*-
#
# Copyright (c) 2015, Alcatel-Lucent Inc, 2017 Nokia
# 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 copyrigh... | nuagenetworks/vspk-python | vspk/v6/nuavatar.py | Python | bsd-3-clause | 9,831 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>Zend_Session - Zend Framework... | wukchung/Home-development | documentation/manual/core/de/zend.session.html | HTML | bsd-3-clause | 7,661 |
/*
* hostapd / Initialization and configuration
* Copyright (c) 2002-2014, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "utils/includes.h"
#include "utils/common.h"
#include "utils/eloop.h"
#include "common/ieee802_11... | wifiphisher/roguehostapd | roguehostapd/hostapd-2_6/src/ap/hostapd.c | C | bsd-3-clause | 84,878 |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE191_Integer_Underflow__int_listen_socket_postdec_45.c
Label Definition File: CWE191_Integer_Underflow__int.label.xml
Template File: sources-sinks-45.tmpl.c
*/
/*
* @description
* CWE: 191 Integer Underflow
* BadSource: listen_socket Read data using a listen so... | JianpingZeng/xcc | xcc/test/juliet/testcases/CWE191_Integer_Underflow/s04/CWE191_Integer_Underflow__int_listen_socket_postdec_45.c | C | bsd-3-clause | 8,543 |
// Copyright 2014 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.
//------------------------------------------------------------------------------
// Description of the life cycle of a instance of MetricsService.
//
// ... | ltilve/chromium | components/metrics/metrics_service.cc | C++ | bsd-3-clause | 42,424 |
/*
* PROJECT: Atomix Development
* LICENSE: BSD 3-Clause (LICENSE.md)
* PURPOSE: Cgt MSIL
* PROGRAMMERS: Aman Priyadarshi (aman.eureka@gmail.com)
*/
using System;
using System.Reflection;
using Atomixilc.Machine;
using Atomixilc.Attributes;
using Atomixilc.Machine.x86;
... | amaneureka/AtomOS | src/Compiler/Atomixilc/IL/Comparison/Cgt.cs | C# | bsd-3-clause | 3,259 |
{{ define "footer" }}
<div class="ui inverted footer vertical segment">
<div class="ui stackable center aligned page grid">
<!--
<div class="ten wide column">
<div class="ui three column center aligned stackable grid">
<div class="column">
<h5 class="ui inverted header">Cou... | russmack/hoist | www/footer.html | HTML | bsd-3-clause | 1,461 |
# itten
| selassid/itten | README.md | Markdown | bsd-3-clause | 8 |
/**
* This code is free software; you can redistribute it and/or modify it under
* the terms of the new BSD License.
*
* Copyright (c) 2008-2011, Sebastian Staudt
*/
package com.github.koraktor.steamcondenser.steam.community;
import static com.github.koraktor.steamcondenser.steam.community.XMLUtil.loadXml;
impor... | gutomaia/steam-condenser-java | src/test/java/com/github/koraktor/steamcondenser/steam/community/Portal2StatsTest.java | Java | bsd-3-clause | 1,630 |
package com.atlassian.pageobjects.components.aui;
import com.atlassian.pageobjects.PageBinder;
import com.atlassian.pageobjects.binder.Init;
import com.atlassian.pageobjects.binder.InvalidPageStateException;
import com.atlassian.pageobjects.components.TabbedComponent;
import com.atlassian.pageobjects.elements.PageElem... | adini121/atlassian | atlassian-pageobjects-elements/src/main/java/com/atlassian/pageobjects/components/aui/AuiTabs.java | Java | bsd-3-clause | 3,108 |
<?php
/**
* iDatabase数据管理控制器
*
* @author young
* @version 2013.11.22
*
*/
namespace Idatabase\Controller;
use My\Common\Controller\Action;
class ImportController extends Action
{
/**
* 读取当前数据集合的mongocollection实例
*
* @var object
*/
private $_data;
/**
* 读取数据属性结构的mongocol... | icatholic/icc | module/Idatabase/src/Idatabase/Controller/ImportController.php | PHP | bsd-3-clause | 10,381 |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\IzinmenutupjalanSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="izinmenutupjalan-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
... | dinarwm/kppt | views/Izinmenutupjalan/_search.php | PHP | bsd-3-clause | 1,483 |
# -*- coding: utf-8 -*-
"""
Display currently playing song from Google Play Music Desktop Player.
Configuration parameters:
cache_timeout: how often we refresh this module in seconds (default 5)
format: specify the items and ordering of the data in the status bar.
These area 1:1 ma... | Spirotot/py3status | py3status/modules/gpmdp.py | Python | bsd-3-clause | 2,411 |
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>Date parser test — 100<=x<=999 and January<=y<=December and 100<=z<=999 — 100 december 100</title>
<script src="../date_test.js"></script>
<p>Failed (Script did not run)</p>
<script>
test_date_invalid("100 december 100", "Invalid Date"... | operasoftware/presto-testo | core/features/dateParsing/TestCases/individual/SpaceSeparator/587.html | HTML | bsd-3-clause | 345 |
//
// buffered_write_stream.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2013 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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)
//
#ifndef BOOST_ASI... | verma/PDAL | boost/boost/asio/buffered_write_stream.hpp | C++ | bsd-3-clause | 7,635 |
////////////////////////////////////////////////////////////////////////////////////
///
/// \file reporttimeout.cpp
/// \brief This file contains the implementation of a JAUS message.
///
/// <br>Author(s): Bo Sun
/// <br>Created: 17 November 2009
/// <br>Copyright (c) 2009
/// <br>Applied Cognition and ... | jmesmon/jaus-- | src/jaus/core/control/reporttimeout.cpp | C++ | bsd-3-clause | 6,127 |
/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
body {
margin: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block;
}
audio,
canvas,
pr... | m8ker/vgcollection | Themes/PJS.Bootstrap/Styles/site-default.css | CSS | bsd-3-clause | 191,099 |
/**********************************************************************
*
* Copyright (c) 2004-2005 Endace Technology Ltd, Hamilton, New Zealand.
* All rights reserved.
*
* This source code is proprietary to Endace Technology Limited and no part
* of it may be redistributed, published or disclosed except as outlined in... | mgrosvenor/camio1.0 | dag/dagixp_filter/df_types.h | C | bsd-3-clause | 7,011 |
////functionen hämtar alla artiklar med hjälp av getJSON
//och får tillbaka en array med alla artiklar
//efter den är klar kallar den på functionen ShoArtTab.
//som skriver ut alla artiklar i en tabell.
function getAllAdminProducts()
{
$.getJSON("index2.php/getAllProducts").done(showArtTab);
}
//functionen showArtT... | cider94/JsKlar | start/admin.js | JavaScript | bsd-3-clause | 4,847 |
<?php
namespace common\models;
use Yii;
use yii\db\ActiveRecord;
/**
* This is the model class for table "template_js".
*
* @property integer $id
* @property integer $template_id
* @property integer $js_id
*
* @property Js $js
* @property Template $template
*/
class TemplateJs extends ActiveRecord
{
/**... | dmitry-grasevich/tg | common/models/TemplateJs.php | PHP | bsd-3-clause | 1,232 |
create table Account_ (
accountId int8 not null primary key,
companyId int8,
userId int8,
userName varchar(75),
createDate datetime YEAR TO FRACTION,
modifiedDate datetime YEAR TO FRACTION,
parentAccountId int8,
name varchar(75),
legalName varchar(75),
legalId varchar(75),
legalType varchar(75),
sicCode var... | NCIP/cagrid | cagrid/Software/portal/cagrid-portal/portals/liferay-ext/sql/portal-minimal/portal-minimal-informix.sql | SQL | bsd-3-clause | 106,694 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="lang:clipboard.copy" conte... | statsmodels/statsmodels.github.io | v0.12.1/generated/statsmodels.miscmodels.count.PoissonGMLE.loglike.html | HTML | bsd-3-clause | 18,169 |
/**
* Copyright (c) 2015, Legendum 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, this
* list of conditi... | legendum/ntil | ntil.js | JavaScript | bsd-3-clause | 7,810 |
<?php
use yii\bootstrap\ActiveForm;
use yii\helpers\Html;
use yii\grid\GridView;
use yii\helpers\Url;
use app\models\Ticket;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app','ticket list'), 'url' => ['#']];
$this->params['addUrl'] = 'ticket/new';
?>
<div class="row">
<div class="col-lg-12">
<!-- ST... | suhe/bdoticket | views/ticket/ticket_all_request.php | PHP | bsd-3-clause | 3,532 |
/*
* This file is part of the Soletta Project
*
* Copyright (C) 2015 Intel 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 of source code must retain ... | rchiossi/soletta | src/lib/comms/sol-oic-server.c | C | bsd-3-clause | 25,099 |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\Category */
$this->title = 'Update Consultant Category: ' . ' ' . $model->category;
$this->params['breadcrumbs'][] = ['label' => 'Categories', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->category, 'url' ... | prayogo/pms.yii2 | views/category/update.php | PHP | bsd-3-clause | 565 |
/* ========================================================================= */
/* ------------------------------------------------------------------------- */
/*!
\file cmdtextfield.h
\date Dec 2011
\author TNick
\brief Contains the definition for CmdTextField class
*//*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~... | google-code/cad-play-ground | source/gui/cmdtextfield.h | C | bsd-3-clause | 3,470 |
/*
* Copyright (c) 2011, Run With Robots
* 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 ... | mikeando/fastjson | include/fastjson/dom.h | C | bsd-3-clause | 22,624 |
/*
* Copyright (c) 2007, Mathieu Champlon
* 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... | mat007/xeumeuleu | src/tests/xeumeuleu_test/ximultistream_test.cpp | C++ | bsd-3-clause | 14,818 |
package com.xoba.smr;
import java.io.PrintWriter;
import java.io.StringReader;
import java.io.StringWriter;
import java.net.URI;
import java.util.Collection;
import java.util.Formatter;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Properties;
import java.util.Set;
imp... | mrallc/smr | code/src/com/xoba/smr/SimpleMapReduce.java | Java | bsd-3-clause | 9,071 |
//////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2004-2021 musikcube team
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redist... | clangen/musikcube | src/plugins/server/HttpServer.h | C | bsd-3-clause | 3,204 |
<?php
namespace app\controllers\user;
use Yii;
use dektrium\user\controllers\ProfileController as PController;
use app\models\ProfileSearch;
/**
* UserInfoController implements the CRUD actions for UserInfo model.
*/
class ProfileController extends PController
{
/*public function behaviors()
{
retu... | ASLANTORRET/rgktask | controllers/user/ProfileController.php | PHP | bsd-3-clause | 3,088 |
#!/bin/bash
NAME=realtimefec
PROJ=fecreader
# This doesn't use the feed, it tests the file downloads
# This is everything to handle the files before the body rows are entered
# After the body rows are entered, the exotic ones must be superceded
source /projects/$NAME/virt/bin/activate
# /projects/$NAME/src/$NAME/$PRO... | sunlightlabs/read_FEC | fecreader/cron/load_step_1_findfilings.sh | Shell | bsd-3-clause | 788 |
#ifndef REGRESS_H
#define REGRESS_H
/* Macro to shorten code where a number is added to the current value of an
* element in a matrix. */
#define addval(A, VAL, I, J) setval((A), (VAL) + val((A), (I), (J)), (I), (J))
typedef struct {
double **array;
int rows;
int cols;
} matrix;
void DestroyMatrix(matri... | mirrorscotty/material-data | test/comsol/drying/regress.h | C | bsd-3-clause | 900 |
div#childtickets {
border: 1px outset #996;
border-radius: .5em;
padding: 1em;
}
div#childtickets table.listing thead th {
border: none;
}
div#childtickets table.listing tbody tr {
border: none;
}
div#childtickets table.listing tbody td {
border: none;
padding: 0.1em 0.5em;
}
| silk/trac-childticketsplugin | childtickets/htdocs/css/childtickets.css | CSS | bsd-3-clause | 309 |
-----------------------------------------------------------------------------
-- |
-- Module : Distribution.Client.Configure
-- Copyright : (c) David Himmelstrup 2005,
-- Duncan Coutts 2005
-- License : BSD-like
--
-- Maintainer : cabal-devel@haskell.org
-- Portability : portable
--
... | alphaHeavy/cabal | cabal-install/Distribution/Client/Configure.hs | Haskell | bsd-3-clause | 8,529 |
/*
* [The BSD 3-Clause License]
* Copyright (c) 2015, Samuel Suffos
* 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 copyrig... | samuel-suffos/matlab-parser | Matlab.Nodes/02 Node/02 Internal/02 Inner/00 Base/InnerNode.cs | C# | bsd-3-clause | 2,008 |
#!/usr/bin/python
import os
# With the addition of Keystone, to use an openstack cloud you should
# authenticate against keystone, which returns a **Token** and **Service
# Catalog**. The catalog contains the endpoint for all services the
# user/tenant has access to - including nova, glance, keystone, swift.
#
# *NO... | wettenhj/mytardis-swift-uploader | openrc.py | Python | bsd-3-clause | 994 |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/**
* @var yii\web\View $this
* @var app\models\Image $model
* @var yii\widgets\ActiveForm $form
*/
?>
<div class="image-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'name')->textInput(['maxlength' => 50]) ?>
<?= $for... | novomirskoy/yii2gallery | views/image/_form.php | PHP | bsd-3-clause | 754 |
miniature-ninja-agile-awesomeness
=================================
Simply the best agile programme for time reporting ever built. This is a project made by students at Linköpings University.
Contributions
=================================
How to contribute
This project uses git, and is currently hosted on Github a... | Magrit/miniature-ninja-agile-awesomeness | README.md | Markdown | bsd-3-clause | 2,673 |
<?php
/*
Copyright (c) 2012, Silvercore Dev. (www.silvercoredev.com)
Todos os direitos reservados.
Ver o arquivo licenca.txt na raiz do BlackbirdIS para mais detalhes.
*/
session_start();
if (!isset($_SESSION["bis"]) || $_SESSION["bis"] != 1) {
header("Location: index.php");
die();
}
?> | silvercoredev/BlackbirdIS | 1.0/src/BlackbirdIS/admin/vsession.php | PHP | bsd-3-clause | 319 |
require "rbconfig"
require 'test/unit'
require 'socket'
require 'openssl'
require 'puma/minissl'
require 'puma/server'
require 'net/https'
class TestPumaServer < Test::Unit::TestCase
def setup
@port = 3212
@host = "127.0.0.1"
@app = lambda { |env| [200, {}, [env['rack.url_scheme']]] }
@events = ... | allaire/puma | test/test_puma_server.rb | Ruby | bsd-3-clause | 7,344 |
// Copyright 2020 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 ASH_COMPONENTS_PHONEHUB_FAKE_NOTIFICATION_ACCESS_MANAGER_H_
#define ASH_COMPONENTS_PHONEHUB_FAKE_NOTIFICATION_ACCESS_MANAGER_H_
#include "ash/com... | ric2b/Vivaldi-browser | chromium/ash/components/phonehub/fake_notification_access_manager.h | C | bsd-3-clause | 1,547 |
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from .local import Local # noqa
from .production import Production # noqa
# This will make sure the app is always imported when
# Django starts so that shared_task will use this app.
from .celery import app as celery_app
| HEG-Arc/Appagoo | appagoo/config/__init__.py | Python | bsd-3-clause | 288 |
// Copyright 2014 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 ASH_SYSTEM_AUDIO_TRAY_AUDIO_H_
#define ASH_SYSTEM_AUDIO_TRAY_AUDIO_H_
#include "ash/system/audio/audio_observer.h"
#include "ash/system/tray/tray... | ChromiumWebApps/chromium | ash/system/audio/tray_audio.h | C | bsd-3-clause | 1,910 |
module Text.OpenGL.Xml.ReadRegistry (
readRegistry,
parseRegistry,
PreProcess
) where
import Prelude hiding ((.), id)
import Control.Category
import Text.OpenGL.Types
import Text.OpenGL.Xml.Pickle()
import Text.OpenGL.Xml.PreProcess
import Text.XML.HXT.Core
type PreProcess = Bool
-- TODO RelaxNG valid... | Laar/opengl-xmlspec | src/Text/OpenGL/Xml/ReadRegistry.hs | Haskell | bsd-3-clause | 1,468 |
//
// CEDestinySDK.h
// CEDestinySDK
//
// Created by Caleb Eades on 11/12/15.
// Copyright (c) 2015 Caleb Eades. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for CEDestinySDK.
FOUNDATION_EXPORT double CEDestinySDKVersionNumber;
//! Project version string for CEDestinySDK.
FOUNDATIO... | caleb-eades/CEDestinySDK | CEDestinySDK/CEDestinySDK.h | C | bsd-3-clause | 543 |
/**
* History.js Core
* @author Benjamin Arthur Lupton <contact@balupton.com>
* @copyright 2010-2011 Benjamin Arthur Lupton <contact@balupton.com>
* @license New BSD License <http://creativecommons.org/licenses/BSD/>
*/
(function(window,undefined){
"use strict";
// =============================================... | SkReD/history.js | scripts/uncompressed/history.js | JavaScript | bsd-3-clause | 50,992 |
require 'spree_auto_invoice'
require 'rails'
module SpreeAutoInvoice
class Railtie < Rails::Railtie
rake_tasks do
require '../tasks/spree_auto_invoice.rake'
end
end
end
| geekcups-team/spree_auto_invoice | lib/spree_auto_invoice/railtie.rb | Ruby | bsd-3-clause | 188 |
<?php
use librarys\helpers\utils\String;
?>
<!-- 文章正文 下面部分 -->
<div class="a_info neinf">
<div>
<div class="a_rea a_hop">
<h2>
<span><a href="http://jb.9939.com/article_list.shtml">更多文章>></a></span>
与“<font style="color:#F00"><?php echo String::cutString($title, ... | VampireMe/admin-9939-com | frontend/views/article/detail_below.php | PHP | bsd-3-clause | 5,416 |
// Copyright 2019 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 "components/optimization_guide/hints_processing_util.h"
#include "components/optimization_guide/proto/hint_cache.pb.h"
#include "components/opti... | endlessm/chromium-browser | components/optimization_guide/hints_processing_util_unittest.cc | C++ | bsd-3-clause | 4,247 |
// Copyright (c) 2014 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 "chrome/browser/ui/extensions/settings_api_bubble_helpers.h"
#include <utility>
#include "build/build_config.h"
#include "chrome/browser/ex... | endlessm/chromium-browser | chrome/browser/ui/extensions/settings_api_bubble_helpers.cc | C++ | bsd-3-clause | 6,229 |
package org.broadinstitute.hellbender.engine;
import org.broadinstitute.barclay.argparser.CommandLineProgramProperties;
import org.broadinstitute.hellbender.cmdline.TestProgramGroup;
/**
* A Dummy / Placeholder class that can be used where a {@link GATKTool} is required.
* DO NOT USE THIS FOR ANYTHING OTHER THAN TE... | magicDGS/gatk | src/test/java/org/broadinstitute/hellbender/engine/DummyPlaceholderGatkTool.java | Java | bsd-3-clause | 1,099 |
// Standard system includes
#include <assert.h>
#include <errno.h> // -EINVAL, -ENODEV
#include <netdb.h> // gethostbyname
#include <sys/poll.h>
#include <sys/types.h> // connect
#include <sys/socket.h> // connect
#include <trace.h>
#define MY_TRACE_PREFIX "EthernetServer"
extern "C" {
#include "string.h"
}
#... | ilc-opensource/io-js | target/device/libio/arduino/x86/libraries/Ethernet/EthernetServer.cpp | C++ | bsd-3-clause | 4,266 |
'use strict';
module.exports = function (Logger, $rootScope) {
return {
restrict: 'A',
scope: {
hasRank: '='
},
link: function ($scope, elem, attrs) {
$rootScope.$watch('currentUser', function () {
Logger.info('Checking for rank: ' + $scope.... | e1528532/libelektra | src/tools/rest-frontend/resources/assets/js/directives/permission/HasRankDirective.js | JavaScript | bsd-3-clause | 571 |
/*
* Created on 02/04/2005
*
* JRandTest package
*
* Copyright (c) 2005, Zur Aougav, aougav@hotmail.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... | cryptopony/jrandtest | src/com/fasteasytrade/jrandtest/algo/QuadraticResidue1Prng.java | Java | bsd-3-clause | 4,818 |
/*
* Copyright (c) 2011 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... | danakj/chromium | third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp | C++ | bsd-3-clause | 16,837 |
Spree.user_class.class_eval do
belongs_to :supplier, class_name: 'Spree::Supplier', optional: true
has_many :variants, through: :supplier
def supplier?
supplier.present?
end
def supplier_admin?
spree_roles.map(&:name).include?("supplier_admin")
end
def market_maker?
has_admin_role?
end
... | boomerdigital/solidus_marketplace | app/models/spree/user_decorator.rb | Ruby | bsd-3-clause | 400 |
# Possible discounts:
# - Node (administer inline with nodes)
# - Bulk amounts on nodes
# - User
# - Group of users
# - Order (this is more-or-less a voucher)
# - Shipping costs
# Possible amounts:
# - Percentage
# - Fixed amount
# Flag indicating if a discount can be combined with other discounts.
# Boolean "offer" to... | bhell/jimi | jimi/jimi/price/models/discount.py | Python | bsd-3-clause | 478 |
// Copyright © 2017 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
using System.Threading.Tasks;
namespace CefSharp.Test
{
public static class WebBrowserTestExtensions
{
public static Task... | Livit/CefSharp | CefSharp.Test/WebBrowserTestExtensions.cs | C# | bsd-3-clause | 4,472 |
<?php
use yii\db\Migration;
class m160407_113339_vraagenAndAwnserFixjes extends Migration
{
public function safeUp()
{
$this->alterColumn('vraag', 'text', 'blob');
$this->alterColumn('antwoord', 'text', 'blob');
}
public function safeDown()
{
$this->alterColumn('vraag', '... | foxoffire33/testList | console/migrations/m160407_113339_vraagenAndAwnserFixjes.php | PHP | bsd-3-clause | 414 |
#ifndef CTRL_PARTITION_H
#define CTRL_PARTITION_H
#include <wx/panel.h>
//#include <wx/sizer.h>
enum CTRL_STATE
{
S_IDLE,
S_LEFT_SLIDER,
S_RIGHT_SLIDER,
S_MOVE
};
class wxPartition : public wxPanel
{
static const int slider_width = 10;
int slider_left_pos;
int slider_right_p... | Null665/partmod | wxGUI/ctrl_partition.h | C | bsd-3-clause | 1,412 |
Title: Music API Server说明文档
Date: 2014-06-24 12:56
Update: 2014-07-02 20:36
Tags: 音乐服务, API
音乐服务的api通用接口,目前已支持的音乐服务:
* 虾米
* 专辑
* 歌曲列表
* 精选集
* 网易云音乐
* 专辑
* 歌曲列表
* 歌单
仓库地址: [mawenbao/music-api-server](https://github.com/mawenbao/music-api-server)
## 安装(debian/ubuntu)
首先检查`GOPATH`变量是否正确设置,如果未设... | mawenbao/pelican-blog-content | content/code/music-api-server-readme.md | Markdown | bsd-3-clause | 3,530 |
<?php
use SerializerKit\XmlSerializer;
class XmlSerializerTest extends PHPUnit_Framework_TestCase
{
function test()
{
$xmls = new XmlSerializer;
$string = $xmls->encode(array(
'title' => 'War and Peace',
'isbn' => 123123123,
'authors' => array(
... | c9s/php-SerializerKit | tests/XmlSerializerTest.php | PHP | bsd-3-clause | 715 |
# Makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
# User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
$(error The '$(SPHINXBUILD)' command w... | smn/blinky | docs/Makefile | Makefile | bsd-3-clause | 7,409 |
#![allow(missing_docs)]
use downcast_rs::Downcast;
use na::{DVector, RealField};
use ncollide::query::ContactId;
use crate::detection::ColliderContactManifold;
use crate::material::MaterialsCoefficientsTable;
use crate::object::{BodyHandle, BodySet, ColliderHandle};
use crate::solver::{ConstraintSet, IntegrationParam... | sebcrozet/nphysics | src/solver/contact_model.rs | Rust | bsd-3-clause | 1,526 |
/**
* @file
* Money is a value object representing a monetary value. It does not use
* floating point numbers, so it avoids rounding errors.
* The only operation that may cause stray cents is split, it assures that no
* cents vanish by distributing as evenly as possible among the parts it splits into.
*
* Money ... | bergmark/Cactus | module/Core/lib/Data/Money.js | JavaScript | bsd-3-clause | 6,415 |
#include "Shape.h"
#include "DynBase.h"
//#include <iostream>
using std::cout;
using std::endl;
Shape::~Shape()
{
cout << "~Shape ..." << endl;
}
void Circle::Draw()
{
cout << "Circle::Draw() ..." << endl;
}
Circle::~Circle()
{
cout << "~Circle ..." << endl;
}
void Square::Draw()
{
cout << "Square::Draw() ..."... | lixinyancici/code-for-learning-cpp | cppbasic/Shape.cpp | C++ | bsd-3-clause | 796 |
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
'use strict';
import {
IContentsModel
} from 'jupyter-js-services';
import {
Message
} from 'phosphor-messaging';
import {
PanelLayout
} from 'phosphor-panel';
import {
Widget
} from 'phosphor-widget';
im... | jupyter/jupyter-js-filebrowser | src/browser.ts | TypeScript | bsd-3-clause | 5,682 |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
n... | mowema/verano | vendor/zendframework/zendframework/tests/ZendTest/Mvc/Controller/Plugin/TestAsset/AuthenticationAdapter.php | PHP | bsd-3-clause | 761 |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "solicitud_prestamo".
*
* @property integer $SPRE_ID
* @property string $PE_RUT
* @property string $SPRE_DESCRIPCION
* @property string $SPRE_FECHA
* @property string $SPRE_ESTADO
* @property string $SPRE_TEXTO
*
* @property Perso... | malikeox/mymltda2 | models/SolicitudPrestamo.php | PHP | bsd-3-clause | 1,651 |
% File: api.pl
% Purpose: prolog api for elf application
% Author: Roger Evans
% Version: 1.0
% Date: 21/12/2013
%
% (c) Copyright 2013, University of Brighton
% application api from prolog
nimrodel(Model, Title, String) :-
nimrodel(['-model', Model, '-title', Title, Stri... | rogerevansbrighton/nimrodel | nimrodel/api.pl | Perl | bsd-3-clause | 604 |
@(message: String,books : List[models.Book], conditions : List[models.Condition],
requests : List[models.CurrentRequest], bookSelected : Long , price : String ,conditionSelected : Long )
@implicitFieldConstructor = @{ helper.FieldConstructor(twitterBootstrapInput.render) }
@main("My Requests") {
<div clas... | rward/BookSkateMate | app/views/myRequests.scala.html | HTML | bsd-3-clause | 4,688 |
---
title: "8차 천일 결사 1차 백일 기도 정진 56일째"
date: 2014-05-18 08:01:52
tags:
- 8000th
- 8-100th
- 56th
---
#수행일지
남에 마음에 노력하기 위한 저 자신을 봅니다. 어릴때 부모님 특히 엄마를 볼 수 있는 시간이 부족해서 전 사랑고파병이 있습니다. 그래서 누구든지 그 사람의 마음에 들기 위해서 무의식적으로 노력하고 있는 저를 봅니다. 이것을 알아차리니 이제 남의 마음에 들지 않기 위해서 노력하고 있는 저를 봅니다. 저는 양 극단을 헤메이고 있습니다. 부처님이 말씀하신 마음... | ygpark2/docpad_test | src/documents/10000/2014/05/18/8_1_56.html.md | Markdown | bsd-3-clause | 949 |
<?php
namespace app\models;
use app\models\query\ActionQuery;
use app\models\query\CommentQuery;
use Yii;
use yii\db\ActiveRecord;
/**
* This is the model class for table "comment".
*
* @property integer $id
* @property integer $action_id
* @property string $content
*
* @property Action $action
*/
class Comm... | mixartemev/hd | models/Comment.php | PHP | bsd-3-clause | 1,500 |
<!DOCTYPE html>
<html lang='en'>
<head>
<title>Ligs and Pseudo Test</title>
<link href="b.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
<p data-a="hello ">Hello world how are you today?</p>
<p>This is a test of the use of ligatures to encode icons in a fun and cool way. ... | dterei/Scraps | html/ligs/b.html | HTML | bsd-3-clause | 638 |
// 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.
#include "chrome/browser/net/sdch_dictionary_fetcher.h"
#include "base/bind.h"
#include "base/compiler_specific.h"
#include "base/message_loop.h"
#in... | robclark/chromium | chrome/browser/net/sdch_dictionary_fetcher.cc | C++ | bsd-3-clause | 3,016 |
<?php
use yii\helpers\Html;
use mdm\admin\models\Assignment;
use backend\models\UserBackend;
use yii\base\Object;
$user = new UserBackend();
$list = UserBackend::find()->where([])->asArray()->all();
//print_r($list);
//echo "<br>";
$euserId = "";
for($i=0;$i<count($list);$i++){
$tmpId = $list[$i]["id"];
$assign... | 201528013359030/partyqing2 | backend/views/layouts/main.php | PHP | bsd-3-clause | 2,292 |
C Copyright (c) 2007-2017 National Technology & Engineering Solutions of
C Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
C NTESS, the U.S. Government retains certain rights in this software.
C
C Redistribution and use in source and binary forms, with or without
C modification, are permitted provi... | nschloe/seacas | packages/seacas/libraries/mapvarlib/seton0.f | FORTRAN | bsd-3-clause | 5,382 |
<!--
Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
for details. All rights reserved. Use of this source code is governed by a
BSD-style license that can be found in the LICENSE file.
-->
<div *ngIf="pending"
class="btn spinner">
<material-spinner></material-spinner>
</div>
<materi... | angulardart/angular_components | angular_components/lib/material_yes_no_buttons/material_yes_no_buttons.html | HTML | bsd-3-clause | 1,245 |
package de.uni.freiburg.iig.telematik.wolfgang.properties.check;
import javax.swing.JPanel;
import javax.swing.JPopupMenu;
import de.invation.code.toval.graphic.component.DisplayFrame;
import de.invation.code.toval.graphic.util.SpringUtilities;
import de.uni.freiburg.iig.telematik.sepia.petrinet.cpn.properties.cwn.CW... | iig-uni-freiburg/WOLFGANG | src/de/uni/freiburg/iig/telematik/wolfgang/properties/check/CWNPropertyCheckView.java | Java | bsd-3-clause | 5,138 |
/*
* Zorbage: an algebraic data hierarchy for use in numeric processing.
*
* Copyright (c) 2016-2021 Barry DeZonia 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 so... | bdezonia/zorbage | src/main/java/nom/bdezonia/zorbage/algorithm/InvFFT.java | Java | bsd-3-clause | 3,423 |
import matplotlib.pyplot as plt
import numpy as np
import scalpplot
from scalpplot import plot_scalp
from positions import POS_10_5
from scipy import signal
def plot_timeseries(frames, time=None, offset=None, color='k', linestyle='-'):
frames = np.asarray(frames)
if offset == None:
offset = np.max(np.std(frame... | breuderink/psychic | psychic/plots.py | Python | bsd-3-clause | 1,878 |
package main
import (
"encoding/json"
"fmt"
"log"
"time"
"github.com/boltdb/bolt"
)
type Entry struct {
Id string `json:"id"`
Url string `json:"url"`
Subreddit string `json:"subreddit"`
}
//InitDB initializes the BoltDB instance and loads in the database file.
func InitDB() {
... | Term1nal/gifvbot | db.go | GO | bsd-3-clause | 5,499 |
@import url(http://fonts.useso.com/css?family=Raleway:200,500,700,800);
@font-face {
font-family: 'icomoon';
src:url('../fonts/icomoon.eot?yrquyl');
src:url('../fonts/icomoon.eot?#iefixyrquyl') format('embedded-opentype'),
url('../fonts/icomoon.woff?yrquyl') format('woff'),
url('../fonts/icomoon.ttf?yrquyl... | smartMao/Library-Management-System | web/css/dropDownGlobal/default.css | CSS | bsd-3-clause | 5,505 |
package eu.monnetproject.sim.entity;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import eu.monnetproject.util.Logger;
import eu.monnetproject.label.LabelExtractor;
import eu.monnetproject.label.LabelEx... | monnetproject/coal | nlp.sim/src/main/java/eu/monnetproject/sim/entity/MaximumAverageLevenshtein.java | Java | bsd-3-clause | 4,639 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="robots" content="all,follow">
<meta name="googlebot" content="index,follow,snippet,archive">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Universal - All In 1 Template</title>
<meta name=... | manachyn/imshop | themes/imshop/vendors/universal/portfolio-detail.html | HTML | bsd-3-clause | 45,512 |
/*
-- MAGMA (version 1.5.0-beta3) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date July 2014
@generated from zgels_gpu.cpp normal z -> d, Fri Jul 18 17:34:16 2014
*/
#include "common_magma.h"
/**
Purpose
-------
Solves t... | EmergentOrder/magma | src/dgels_gpu.cpp | C++ | bsd-3-clause | 4,392 |
<?php
use AudioDidact\GlobalFunctions;
/**
* Returns Pug rendered HTML for the User page, either view or edit
*
* @param $webID string webID of the user's page to be rendered
* @param $edit boolean true if the user is logged in and viewing their own page
* @param null|string $verifyEmail null or string if the us... | md100play/AudioDidact | src/userPageGenerator.php | PHP | bsd-3-clause | 3,652 |
{% for reply in replies %}
<div class="cell reply from_{{ reply.member_num }}">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="48" valign="top">
<a href="/member/{{ reply.created_by }}">{{ reply.member|avatar:"normal"|safe }}</a>
</td... | cwyark/v2ex | src/template/portion/topic_replies.html | HTML | bsd-3-clause | 1,795 |
/*!
* \file dcxtab.cpp
* \brief blah
*
* blah
*
* \author David Legault ( clickhere at scriptsdb dot org )
* \version 1.0
*
* \b Revisions
*
* © ScriptsDB.org - 2006
*/
#include "defines.h"
#include "Classes/dcxtab.h"
#include "Classes/dcxdialog.h"
/*!
* \brief Constructor
*
* \param... | dlsocool/dcx | Classes/dcxtab.cpp | C++ | bsd-3-clause | 29,210 |
package uk.ac.soton.ecs.comp3204.l3;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridBagLayout;
import java.io.IOException;
import javax.swing.JPanel;
import org.openimaj.content.slideshow.Slide;
import org.openimaj.content.slideshow.SlideshowApplication;
import ... | jonhare/COMP3204 | app/src/main/java/uk/ac/soton/ecs/comp3204/l3/MeanCenteredFacesDemo.java | Java | bsd-3-clause | 2,176 |
package com.salesforce.dva.argus.service.mq.kafka;
import com.fasterxml.jackson.databind.JavaType;
import java.io.Serializable;
import java.util.List;
public interface Consumer {
<T extends Serializable> List<T> dequeueFromBuffer(String topic, Class<T> type, int timeout, int limit);
<T extends Serializable>... | salesforce/Argus | ArgusCore/src/main/java/com/salesforce/dva/argus/service/mq/kafka/Consumer.java | Java | bsd-3-clause | 424 |
# -*- encoding: binary -*-
require "./test/exec"
require "tmpdir"
require "fileutils"
require "net/http"
module TestFreshSetup
include TestExec
def setup
setup_mogilefs
end
def setup_mogilefs(plugins = nil)
@test_host = "127.0.0.1"
setup_mogstored
@tracker = TCPServer.new(@test_host, 0)
@... | drasch/mogilefs-client | test/fresh.rb | Ruby | bsd-3-clause | 6,811 |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('setlist', '0012_remove_show_leg'),
]
operations = [
migrations.CreateModel(
name='Show2',
fields=[
... | tylereaves/26md | setlist/migrations/0013_show2.py | Python | bsd-3-clause | 970 |
{-# Language OverloadedStrings #-}
module XMonad.Actions.XHints.Render where
import XMonad hiding (drawString)
import Data.Text (Text)
import qualified Data.Text as T
import Foreign.C
import Graphics.X11.Xlib.Types
import qualified Data.Text.Foreign as TF
import qualified Data.ByteString as BS
import Codec.Binary.UTF8... | netogallo/XHints | src/XMonad/Actions/XHints/Render.hs | Haskell | bsd-3-clause | 1,227 |
// An object that encapsulates everything we need to run a 'find'
// operation, encoded in the REST API format.
var Parse = require('parse/node').Parse;
import { default as FilesController } from './Controllers/FilesController';
// restOptions can include:
// skip
// limit
// order
// count
// include
// ... | aneeshd16/parse-server | src/RestQuery.js | JavaScript | bsd-3-clause | 17,157 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.