code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
<?php namespace app\models; use Yii; /** * This is the model class for table "record". * * @property string $todaydetail * @property string $st_classmark * @property string $startday * @property string $endday * @property integer $totalday * @property string $country * @property string $countryEN * @proper...
Jirachiii/sues_print
models/Record.php
PHP
bsd-3-clause
2,805
package com.michaelbaranov.microba.gradient; import java.awt.Color; import java.util.ArrayList; import java.util.List; import com.michaelbaranov.microba.common.AbstractBoundedTableModel; /** * A very basic implementation of {@link AbstractBoundedTableModel} used by * default by {@link GradientBar}. This implementa...
ezegarra/microbrowser
microba/com/michaelbaranov/microba/gradient/DefaultGradientModel.java
Java
bsd-3-clause
2,149
/* Scala.js runtime support * Copyright 2013 LAMP/EPFL * Author: Sébastien Doeraene */ /* ---------------------------------- * * The top-level Scala.js environment * * ---------------------------------- */ //!if outputMode == ECMAScript51Global var ScalaJS = {}; //!endif // Get the environment info ScalaJS.env ...
xuwei-k/scala-js
tools/scalajsenv.js
JavaScript
bsd-3-clause
32,145
package com.percolate.sdk.dto; import com.fasterxml.jackson.annotation.*; import com.percolate.sdk.interfaces.HasExtraFields; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import java.io.Serializable; import java.util.ArrayList; import java.util.HashMa...
percolate/percolate-java-sdk
core/src/main/java/com/percolate/sdk/dto/FacebookConversationMessage.java
Java
bsd-3-clause
3,496
<?php use yii\helpers\Html; use kartik\grid\GridView; use yii\helpers\ArrayHelper; use backend\modules\qtn\models\Survey; /* @var $this yii\web\View */ /* @var $searchModel backend\modules\qtn\Models\SurveySearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Qtn Surveys'; $this->params['bre...
yuttapong/webapp
backend/modules/qtn/views/survey/index.php
PHP
bsd-3-clause
2,807
Bool_t SetGeneratedSmearingHistos = kFALSE; Bool_t GetCentralityFromAlien = kFALSE; std::string centralityFilename = ""; std::string centralityFilenameFromAlien = "/alice/cern.ch/user/a/acapon/.root"; const Int_t triggerNames = AliVEvent::kINT7; const Int_t nMCSignal = 0; const Int_t nCutsetting = 0; const Doubl...
carstooon/AliPhysics
PWGDQ/dielectron/macrosLMEE/Config_acapon_Efficiency.C
C++
bsd-3-clause
22,296
<?php /* Copyright (c) 2007, Till Brehm, projektfarm Gmbh 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...
TR-Host/THConfig
interface/web/sites/web_aliasdomain_del.php
PHP
bsd-3-clause
2,098
// 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/renderer_preferences_util.h" #include <stdint.h> #include <string> #include <vector> #include "base/macros.h" #include "ba...
nwjs/chromium.src
chrome/browser/renderer_preferences_util.cc
C++
bsd-3-clause
8,221
package net.minidev.ovh.api.price.dedicatedcloud._2014v1.sbg1a.infrastructure.filer; import com.fasterxml.jackson.annotation.JsonProperty; /** * Enum of Hourlys */ public enum OvhHourlyEnum { @JsonProperty("iscsi-1200-GB") iscsi_1200_GB("iscsi-1200-GB"), @JsonProperty("iscsi-13200g-GB") iscsi_13200g_GB("iscsi-1...
UrielCh/ovh-java-sdk
ovh-java-sdk-price/src/main/java/net/minidev/ovh/api/price/dedicatedcloud/_2014v1/sbg1a/infrastructure/filer/OvhHourlyEnum.java
Java
bsd-3-clause
1,119
<?php /** * Rules_Whitespace_SuperfluousWhitespaceRule. * * Checks that no whitespace at the end of each line and no two empty lines in the content. * * @package SmartyLint * @author Umakant Patil <me@umakantpatil.com> * @copyright 2013-15 Umakant Patil * @license https://github.com/umakantp/SmartyLint/b...
umakantp/SmartyLint
SmartyLint/Rules/Whitespace/SuperfluousWhitespaceRule.php
PHP
bsd-3-clause
1,961
<?php App::uses('CloggyAppModel', 'Cloggy.Model'); class CloggySearchFullText extends CloggyAppModel { public $name = 'CloggySearchFullText'; public $useTable = 'search_fulltext'; public $actsAs = array('CloggySearchFullTexIndex','CloggySearchFullTextTerm'); public function getTotal()...
hiraq/Cloggy
Module/CloggySearch/Model/CloggySearchFullText.php
PHP
bsd-3-clause
2,568
package org.usfirst.frc369.Robot2017Code.subsystems; import org.usfirst.frc369.Robot2017Code.Robot; import edu.wpi.first.wpilibj.Relay; import edu.wpi.first.wpilibj.command.Subsystem; /** * */ public class LED extends Subsystem { // Put methods for controlling this subsystem // here. Call these from Comma...
ShadowShitler/Bridgette
src/org/usfirst/frc369/Robot2017Code/subsystems/LED.java
Java
bsd-3-clause
726
var NETKI_PUBAPI_HOST = 'https://pubapi.netki.com'; var NETKI_API_HOST = 'https://api.netki.com'; var SHORTCODES = { 'btc': 'Bitcoin', 'tbtc': 'Bitcoin Testnet', 'ltc': 'Litecoin', 'dgc': 'Dogecoin', 'nmc': 'Namecoin', 'tusd': 'tetherUSD', 'teur': 'tetherEUR', 'tjpy': 'tetherJPY', 'oap': 'Open Asset'...
netkicorp/walletname-chrome-extension
app/scripts.babel/netkiUtils.js
JavaScript
bsd-3-clause
573
<?php /** * Cache subsystem library * @package Cotonti * @version 0.9.10 * @author Cotonti Team * @copyright Copyright (c) Cotonti Team 2009-2014 * @license BSD */ defined('COT_CODE') or die('Wrong URL'); /** * Stores the list of advanced cachers provided by the host * @var array */ $cot_cache_drivers = arr...
Velm14/dribascorp
system/cache.php
PHP
bsd-3-clause
35,088
/*L * Copyright Ekagra Software Technologies Ltd. * Copyright SAIC * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/cacore-sdk-pre411/LICENSE.txt for details. */ package gov.nih.nci.system.webservice; import gov.nih.nci.system.applicationservice.ApplicationService; i...
NCIP/cacore-sdk-pre411
SDK4/system/src/gov/nih/nci/system/webservice/WSQueryImpl.java
Java
bsd-3-clause
5,667
package au.gov.ga.geodesy.sitelog.domain.model; import javax.validation.constraints.Size; /** * http://sopac.ucsd.edu/ns/geodesy/doc/igsSiteLog/contact/2004/baseContactLib.xsd:contactType */ public class Contact { private Integer id; @Size(max = 200) protected String name; @Size(max = 200) protect...
GeoscienceAustralia/geodesy-sitelog-domain
src/main/java/au/gov/ga/geodesy/sitelog/domain/model/Contact.java
Java
bsd-3-clause
1,834
namespace Leaderboard { public enum SortBy { None, Score, Rank } }
jalaziz/leaderboard-csharp
Leaderboard/SortBy.cs
C#
bsd-3-clause
106
#region License Header // /******************************************************************************* // * Open Behavioral Health Information Technology Architecture (OBHITA.org) // * // * Redistribution and use in source and binary forms, with or without // * modification, are permitted provided that...
OBHITA/PROCenter
ProCenter.Mvc.Infrastructure/Service/Completeness/CompletenessModelValidtorProvider.cs
C#
bsd-3-clause
6,717
""" Commands that are available from the connect screen. """ import re import traceback from django.conf import settings from src.players.models import PlayerDB from src.objects.models import ObjectDB from src.server.models import ServerConfig from src.comms.models import Channel from src.utils import create, logger, ...
TaliesinSkye/evennia
wintersoasis-master/commands/unloggedin.py
Python
bsd-3-clause
12,835
package edu.cmu.minorthird.text.gui; import edu.cmu.minorthird.text.FancyLoader; import edu.cmu.minorthird.text.TextLabels; import edu.cmu.minorthird.util.gui.ControlledViewer; import edu.cmu.minorthird.util.gui.VanillaViewer; import edu.cmu.minorthird.util.gui.Viewer; import edu.cmu.minorthird.util.gui.ViewerFrame; i...
TeamCohen/MinorThird
src/main/java/edu/cmu/minorthird/text/gui/ZoomingTextLabelsViewer.java
Java
bsd-3-clause
1,434
<?php $modules["recurringinvoices"]["name"] = "Recurring Invoices"; $modules["recurringinvoices"]["version"] = "1.01"; $modules["recurringinvoices"]["description"] = "This module adds the ability to repeat invoices on a scheduled basis."; $modules["recurringinvoices"]["requirements"] = "phpBMS Core v0.9 ...
eandbsoftware/phpbms
modules/recurringinvoices/install/version.php
PHP
bsd-3-clause
434
/* eslint-disable no-underscore-dangle */ export default function ({ client, filterQuery, mustContain, busy, encodeQueryAsString, }) { return { listUsers(query) { const params = filterQuery( query, 'text', 'limit', 'offset', 'sort', 'sortdir' )...
Kitware/paraviewweb
src/IO/Girder/CoreEndpoints/user.js
JavaScript
bsd-3-clause
1,750
module.exports = (function () { var TypeChecker = Cactus.Util.TypeChecker; var JSON = Cactus.Util.JSON; var stringify = JSON.stringify; var object = Cactus.Addon.Object; var collection = Cactus.Data.Collection; var gettype = TypeChecker.gettype.bind(TypeChecker); return { "null and undefined" : func...
bergmark/Cactus
module/Core/lib/Util/Util.TypeChecker.test.js
JavaScript
bsd-3-clause
22,955
<?php namespace common\models; use Yii; /** * This is the model class for table "mcp_accesslogs". * * @property integer $user_id * @property string $browser * @property string $ip * @property string $session * @property string $intime * @property string $outtime */ class McpAccesslogs extends \yii\db\Active...
rajanishtimes/partnerapi
common/models/McpAccesslogs.php
PHP
bsd-3-clause
1,297
/** * Swedish translation for bootstrap-wysihtml5 */ (function($){ $.fn.wysihtml5.locale["sv-SE"] = { font_styles: { normal: "Normal Text", h1: "Rubrik 1", h2: "Rubrik 2", h3: "Rubrik 3" }, emphasis: { bold: "Fet", ita...
landasystems/tamanharapan
backend/extensions/bootstrap/assets/js/locales/bootstrap-wysihtml5.sv-SE.js
JavaScript
bsd-3-clause
1,185
<?php /* @var $this yii\web\View */ $this->title = 'My Yii Application'; ?> <div class="bodyParser"> <?=$this->render('table', [ 'dataHistory' => $dataHistory ])?> </div>
TexToro/parser-on-yii2
frontend/views/site/index.php
PHP
bsd-3-clause
189
// Benchpress: A collection of micro-benchmarks. var allResults = [ ]; // ----------------------------------------------------------------------------- // F r a m e w o r k // ----------------------------------------------------------------------------- function Benchmark(string, run) { this.string = string; thi...
daejunpark/jsaf
benchmarks/v8_v1/units/loop.js
JavaScript
bsd-3-clause
1,571
'use strict'; myApp.controller('editProfileController', ['$scope', '$state', 'loadingMaskService', 'CONSTANTS', '$uibModal', '$log', '$rootScope', '$http', function ($scope, $state, loadingMaskService, CONSTANTS, $uibModal, $log, $rootScope, $http) { var userInfo = JSON.parse(localStorage.getItem(CONSTANTS.LOCAL_...
yslepianok/analysis_site
views/tests/app/pages/src/editProfilePage/src/editProfileController.js
JavaScript
bsd-3-clause
2,590
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
dineshkummarc/zf2
library/Zend/Service/StrikeIron/Base.php
PHP
bsd-3-clause
8,807
<?php $deleteStyle = isset($this->existing) ? 'inline' : 'none' ?> <?php $addStyle = $deleteStyle == 'inline' ? 'none' : 'inline' ?> <div id="watch-controls"> </div> <h2><?php $this->o($this->notes[0]->title);?></h2> <?php $note = null; ?> <?php foreach ($this->notes as $note): ?> <div class="note"> <div class...
nyeholt/relapse
views/note/thread-view.php
PHP
bsd-3-clause
2,359
/** * \file PancakeNode.hpp * * * * \author eaburns * \date 18-01-2010 */ #include "search/Node.hpp" #include "pancake/PancakeTypes.hpp" #include "pancake/PancakeState.hpp" #if !defined(_PANCAKE_NODE_H_) #define _PANCAKE_NODE_H_ typedef Node<PancakeState14, PancakeCost> PancakeNode14; #endif // !_PANCAKE_NOD...
bradlarsen/switchback
src/pancake/PancakeNode.hpp
C++
bsd-3-clause
326
//----------------------------------------------------------------------------- //Cortex //Copyright (c) 2010-2015, Joshua Scoggins //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...
DrItanium/Cortex
Operation/GraphVizSpecificBuilder.cs
C#
bsd-3-clause
3,083
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
fmilano/mitk
Plugins/org.mitk.gui.qt.dicom/src/internal/DicomEventHandler.cpp
C++
bsd-3-clause
11,194
// Copyright 2009 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. // godoc: Go Documentation Server // Web server tree: // // http://godoc/ main landing page // http://godoc/doc/ serve from $GOROOT/doc - spec, mem, etc. // h...
myitcv/react
_vendor/src/golang.org/x/tools/cmd/godoc/main.go
GO
bsd-3-clause
10,263
<?php return array( 'Status\\V1\\Rpc\\Ping\\Controller' => array( 'GET' => array( 'description' => 'Ping the API for availability and receive a timestamp for acknowledgement.', 'request' => null, 'response' => '{ "ack": "Acknowledge the request with a timestamp" }', ...
baptistecosta/apigility
module/Status/config/documentation.config.php
PHP
bsd-3-clause
3,099
#include <pulsar/testing/CppTester.hpp> #include <pulsar/system/Atom.hpp> using namespace pulsar; TEST_SIMPLE(TestAtom){ CppTester tester("Testing the Atom class"); Atom H=create_atom({0.0,0.0,0.0},1); Atom H2=create_atom({0.0,0.0,0.0},1,1); tester.test_equal("create_atom works",H,H2); tester...
pulsar-chem/Pulsar-Core
test/system/TestAtom.cpp
C++
bsd-3-clause
2,239
<?php class ReCopyWidget extends CWidget { public $targetClass='clone'; //Target CSS class target for duplicate public $limit=0; //The number of allowed copies. Default: 0 is unlimited public $addButtonId; // Add button id. Set id differently if this widget is called multiple times per page. publ...
elorian/crm.inreserve.kz
protected/extensions/recopy/ReCopyWidget.php
PHP
bsd-3-clause
2,946
/** *============================================================================ * The Ohio State University Research Foundation, The University of Chicago - * Argonne National Laboratory, Emory University, SemanticBits LLC, * and Ekagra Software Technologies Ltd. * * Distributed under the OSI-approved BSD 3-Clau...
NCIP/cagrid-workflow
workflow-portlet/src/main/java/gov/nih/nci/cagrid/portal/portlet/workflow/mvc/NewInstanceFormController.java
Java
bsd-3-clause
6,693
# -*- coding: utf-8 -*- """ eve.io.media ~~~~~~~~~~~~ Media storage for Eve-powered APIs. :copyright: (c) 2014 by Nicola Iarocci. :license: BSD, see LICENSE for more details. """ class MediaStorage(object): """ The MediaStorage class provides a standardized API for storing files, along ...
opticode/eve
eve/io/media.py
Python
bsd-3-clause
2,207
from django.utils.translation import ugettext as _ from django.db import models from jmbo.models import ModelBase class Superhero(ModelBase): name = models.CharField(max_length=256, editable=False) class Meta: verbose_name_plural = _("Superheroes")
praekelt/jmbo-superhero
superhero/models.py
Python
bsd-3-clause
269
<?php namespace common\widgets; use yii\helpers\VarDumper; /** * Created by PhpStorm. * User: Александр Чернявенко * Date: 25.11.2014 * Time: 14:09 */ class PredictionAsset extends \yii\web\AssetBundle { public $depends = [ 'yii\web\JqueryAsset', ]; public $css = [ ]; public $js = ...
AleksandrChernyavenko/hintbox
common/widgets/PredictionAsset.php
PHP
bsd-3-clause
728
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: ''' Processor functions for images ''' import numpy as np def squeeze_image(img): ''' Return image, remove axes length 1 at end of image shape For example, an image may have shape (10,20,30,1,1). ...
satra/NiPypeold
nipype/externals/pynifti/funcs.py
Python
bsd-3-clause
2,788
<?php namespace VKBansal\Test\Spectrum\Plugin; class PlugTest extends \PHPUnit_Framework_TestCase{ protected $plugin; protected $plug; public function setUp() { $this->plugin = $this->getMockForAbstractClass('VKBansal\Spectrum\Plugin\AbstractPlugin'); $this->plugin ->metho...
vkbansal/spectrum
test/Plugin/PlugTest.php
PHP
bsd-3-clause
996
/* Copyright (C) 2009-2010 ProFUSION embedded systems Copyright (C) 2009-2010 Samsung Electronics This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of t...
klim-iv/phantomjs-qt5
src/webkit/Source/WebKit/efl/ewk/ewk_history.cpp
C++
bsd-3-clause
13,646
<?php /** * Yasc. * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE. * It is also available through the world-wide-web at this URL: * http://github.com/nebiros/yasc/raw/master/LICENSE * If you did not receive a copy of the license and ar...
nebiros/yasc
src/Yasc/App/Config.php
PHP
bsd-3-clause
8,643
//===-- lib/Evaluate/fold-real.cpp ----------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
endlessm/chromium-browser
third_party/llvm/flang/lib/Evaluate/fold-real.cpp
C++
bsd-3-clause
6,929
<?php namespace app\models; use Yii; use yii\base\Model; /** * LoginForm is the model behind the login form. */ class LoginForm extends Model { public $login; public $password; public $rememberMe = true; private $_user = false; /** * @return array the validation rules. */ publi...
Per1phery/wholetthedogout
models/LoginForm.php
PHP
bsd-3-clause
1,861
<?php namespace app\models; use Yii; use app\models\general\GeneralLabel; use app\models\general\GeneralMessage; /** * This is the model class for table "tbl_six_step". * * @property integer $six_step_id * @property integer $atlet_id * @property string $stage * @property string $status */ class SixStepBiomek...
hung101/kbs
frontend/models/SixStepBiomekanik.php
PHP
bsd-3-clause
2,953
# ---------------------------------------------------------------------------- # Copyright (c) 2016-2021, 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. # ------------------------------------------------...
qiime2/q2-types
q2_types/sample_data/_type.py
Python
bsd-3-clause
832
using System; using System.Data; using System.Data.SqlClient; using System.IO; using System.Xml.Serialization; using JetBat.Client.Entities; using JetBat.Client.Metadata.Abstract; using JetBat.Client.Metadata.Definitions; using JetBat.Client.Metadata.Misc; using JetBat.Client.Metadata.Simple; namespace JetB...
shestakov/jetbat
JetBat.Client/SqlServer/Concrete/PlainObjectListViewDefinitionSqlLoader.cs
C#
bsd-3-clause
5,650
/* * Copyright (c) 2007 BUSINESS OBJECTS SOFTWARE LIMITED * 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 n...
levans/Open-Quark
src/Quark_Gems/src/org/openquark/gems/client/IntellicutList.java
Java
bsd-3-clause
10,380
require("../pc.v0"); require("util").puts(JSON.stringify({ "name": "pc", "version": pc.version, "description": "property creation for reusable d3.js code.", "keywords": ["d3", "visualization"], "homepage": "http://milroc.github.com/pc/", "author": {"name": "Miles McCrocklin", "url": "http://www.milesmccrocklin....
milroc/pc.js
src/package.js
JavaScript
bsd-3-clause
485
/* * Author: Kiveisha Yevgeniy * Copyright (c) 2015 Intel Corporation. * * 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,...
ykiveish/cortica-sdk
src/Utilities.cpp
C++
bsd-3-clause
2,892
#include "synchronization/Communicator.hpp" namespace Synchronization { Communicator::Communicator() : _numManagedCons(0), _numManagedFmus(0) { } size_type Synchronization::Communicator::addFmu(FMI::AbstractFmu* in, vector<FMI::InputMapping> & valuePacking) { vec...
marchartung/ParallelFMU
src/synchronization/Communicator.cpp
C++
bsd-3-clause
3,412
#!/usr/bin/env python2 from __future__ import print_function import sys import os import urllib import argparse import xml.etree.ElementTree as ET def warn(*msgs): for x in msgs: print('[WARNING]:', x, file=sys.stderr) class PDBTM: def __init__(self, filename): #self.tree = ET.parse(filename) #self.root = self...
khendarg/pdbtmtop
dbtool.py
Python
bsd-3-clause
2,933
from django.template import Library, Node, resolve_variable, TemplateSyntaxError from django.core.urlresolvers import reverse register = Library() @register.simple_tag def active(request, pattern): import re if re.search(pattern, request.get_full_path()): return 'active' return ''
Kami/munin_exchange
munin_exchange/apps/core/templatetags/navclass.py
Python
bsd-3-clause
307
#if !(NET35 || NET20 || WINDOWS_PHONE) using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; using System.Linq.Expressions; using System.Reflection; namespace Newtonsoft.Json.Utilities { internal sealed class DynamicProxyMetaObject<T> : DynamicMetaObject { private readonly D...
hawkstalion/Tog-Mobile
Tog/json.net/Source/Src/Newtonsoft.Json/Utilities/DynamicProxyMetaObject.cs
C#
bsd-3-clause
14,749
''' Given a number, find the next higher number using only the digits in the given number. For example if the given number is 1234, next higher number with same digits is 1243 ''' def FindNext(num): number = str(num) length = len(number) for i in range(length-2,-1,-1): current = number[i] ...
jenniferwx/Programming_Practice
FindNextHigherNumberWithSameDigits.py
Python
bsd-3-clause
578
package manifest import ( "encoding/json" "fmt" "log" "reflect" "regexp" "strconv" "strings" "github.com/fatih/color" "github.com/servehub/serve/manifest/processor" "github.com/servehub/utils" "github.com/servehub/utils/gabs" ) type Manifest struct { tree *gabs.Container } func (m Manifest) String() st...
servehub/serve
manifest/manifest.go
GO
bsd-3-clause
5,887
<?php return array ( 'This user account is not approved yet!' => 'Tento účet ještě není aktivován!', 'User not found!' => 'Uživatel nebyl nalezen!', 'You need to login to view this user profile!' => 'Abyste mohli prohlížet tento profil, je potřeba se nejdříve přihlásit.', );
LeonidLyalin/vova
common/humhub/protected/humhub/modules/user/messages/cs/behaviors_ProfileControllerBehavior.php
PHP
bsd-3-clause
296
#region copyright // Copyright (c) 2012, TIGWI // All rights reserved. // Distributed under BSD 2-Clause license #endregion using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Tigwi.UI.Models.Storage { using Tigwi.Storage.Library; public class DuplicateUserExceptio...
ismaelbelghiti/Tigwi
Core/Tigwi.UI/Models/Storage/StorageException.cs
C#
bsd-3-clause
1,512
import requests class Status(object): SKIP_LOCALES = ['en_US'] def __init__(self, url, app=None, highlight=None): self.url = url self.app = app self.highlight = highlight or [] self.data = [] self.created = None def get_data(self): if self.data: ...
willkg/postatus
postatus/status.py
Python
bsd-3-clause
4,559
<?php /** * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license and are unable to * ob...
dineshkummarc/zf2
library/Zend/Cloud/StorageService/Adapter/Rackspace.php
PHP
bsd-3-clause
11,465
# -*-coding:Utf-8 -* # Copyright (c) 2010-2017 LE GOFF Vincent # 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 # ...
vlegoff/tsunami
src/secondaires/navigation/commandes/debarquer/__init__.py
Python
bsd-3-clause
4,221
#include<iostream> using namespace std; int a[]={1,255,8,6,25,47,14,35,58,75,96,158,657}; const int len = sizeof(a)/sizeof(int); int b[10][len+1] = { 0 }; //将b全部置0 void bucketSort(int a[]);//桶排序函数 void distributeElments(int a[],int b[10][len+1],int digits); void collectElments(int a[],int b[10][len+1]); int numOfDigit...
1106944911/leetcode
C++/bucketSort.cpp
C++
bsd-3-clause
1,907
# # GtkMain.py -- pygtk threading help routines. # # Eric Jeschke (eric@naoj.org) # # Copyright (c) Eric R. Jeschke. All rights reserved. # This is open-source software licensed under a BSD license. # Please see the file LICENSE.txt for details. # """ GUI threading help routines. Usage: import GtkMain # See c...
Rbeaty88/ginga
ginga/gtkw/GtkMain.py
Python
bsd-3-clause
5,866
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model backend\modules\inspection\models\InspectionHospitalMapSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="inspection-hospital-map-search"> <?php $form = ActiveForm::begin([ 'action' => ['in...
Gcaufy/shengzaizai
backend/modules/inspection/views/hospital/_search.php
PHP
bsd-3-clause
1,079
/*! jQuery UI - v1.11.4 - 2015-12-06 * http://jqueryui.com * Includes: core.js, datepicker.js * Copyright jQuery Foundation and other contributors; Licensed MIT */ (function( factory ) { if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. define([ "jquery" ], factory...
davidred/spree_delivery_time
app/assets/javascripts/spree/frontend/store/datepicker.js
JavaScript
bsd-3-clause
91,677
var sbModule = angular.module('sbServices', ['ngResource']); sbModule.factory('App', function($resource) { return $resource('/api/v1/app/:name', { q: '' }, { get: { method: 'GET' }, //isArray: false }, query: { method: 'GET'} //, params: { q: '' }//, isArray: false } }); });
beni55/shipbuilder
webroot/js/services.js
JavaScript
bsd-3-clause
302
# coding: utf-8 # This file is part of Thomas Aquinas. # # Thomas Aquinas 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. # # Thomas Aq...
shackra/thomas-aquinas
summa/audio/system.py
Python
bsd-3-clause
776
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
karthiksekarnz/educulas
tests/Zend/Validate/Sitemap/AllTests.php
PHP
bsd-3-clause
2,115
#include "ADTFPinMessageEncoder.h" using namespace A2O; ADTFPinMessageEncoder::ADTFPinMessageEncoder(IAction::Ptr action, ICarMetaModel::ConstPtr carMetaModel) : _action(action) { // Create output pins const std::vector<IServoDriveConfig::ConstPtr>& servoDriveConfigs = carMetaModel->getServoDrive...
AppliedAutonomyOffenburg/AADC_2015_A2O
src/aadcUser/src/HSOG_Runtime/adtf/encoder/ADTFPinMessageEncoder.cpp
C++
bsd-3-clause
3,690
<?php namespace Exchange\EWSType; use Exchange\EWSType; /** * Contains EWSType_TentativelyAcceptItemType. */ /** * Represents a Tentative reply to a meeting request. * * @package php-ews\Types * * @todo Extend EWSType_WellKnownResponseObjectType. */ class EWSType_TentativelyAcceptItemType extends EWSType { ...
segpacto/yii2-exchange
EWSType/EWSType_TentativelyAcceptItemType.php
PHP
bsd-3-clause
3,092
<?php namespace app\modules\admin\models; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use app\models\Trigger; /** * TriggerSearch represents the model behind the search form about `app\models\Trigger`. */ class TriggerSearch extends Trigger { /** * @inheritdoc */ public function...
CyanoFresh/SmartHome
modules/admin/models/TriggerSearch.php
PHP
bsd-3-clause
1,914
// Copyright (c) 2011 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 <stdlib.h> #include "base/basictypes.h" #include "base/file_util.h" #include "base/path_service.h" #include "base/strings/string_util.h" #in...
ChromiumWebApps/chromium
chrome/common/net/url_fixer_upper_unittest.cc
C++
bsd-3-clause
20,955
#<pycode(py_choose)> class Choose: """ Choose - class for choose() with callbacks """ def __init__(self, list, title, flags=0, deflt=1, icon=37): self.list = list self.title = title self.flags = flags self.x0 = -1 self.x1 = -1 self.y0 = -1 self.y1 = -1 self.width = -1 self...
nihilus/src
pywraps/py_choose.py
Python
bsd-3-clause
1,595
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ n...
ishvaram/email-app
vendor/ZF2/library/Zend/Console/Console.php
PHP
bsd-3-clause
6,488
<?php /** * inerface INewsDB * содержит основные методы для работы с новостной лентой */ interface INewsDB{ /** * Добавление новой записи в новостную ленту * * @param string $title - заголовок новости * @param string $category - категория новости * @param string $description - текст нов...
sowanderr/phonebook
web/phone/INewsDB.class.php
PHP
bsd-3-clause
1,140
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ABI41_0_0AndroidDialogPickerProps.h" #include <ABI41_0_0React/components/image/conversions.h> #include <ABI41_0_0React/c...
exponent/exponent
ios/versioned-react-native/ABI41_0_0/ReactNative/ReactCommon/fabric/components/picker/androidpicker/ABI41_0_0AndroidDialogPickerProps.cpp
C++
bsd-3-clause
1,031
// 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/drive/drive_api_util.h" #include <string> #include "base/files/file.h" #include "base/logging.h" #include "base/md5.h" #inc...
patrickm/chromium.src
chrome/browser/drive/drive_api_util.cc
C++
bsd-3-clause
19,627
class Vehicletype < ActiveRecord::Base has_many :vehicles attr_accessible :capacity, :fuel, :maintcycle, :name validates :name, :uniqueness => true end
alliciga/MWM
app/models/vehicletype.rb
Ruby
bsd-3-clause
158
'use strict'; describe('Directive: searchFilters', function () { // load the directive's module beforeEach(module('searchApp')); var element, scope; beforeEach(inject(function ($rootScope) { scope = $rootScope.$new(); })); it('should make hidden element visible', inject(function ($compile) { ...
MLR-au/esrc-search
test/spec/directives/search-filters.js
JavaScript
bsd-3-clause
509
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\Fahrtenbuch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="fahrtenbuch-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'fahrer')->textInput(['maxlength' => true])...
smoos/fb_dispo
views/fahrtenbuch/_form.php
PHP
bsd-3-clause
745
# This code is free software; you can redistribute it and/or modify it under # the terms of the new BSD License. # # Copyright (c) 2011, Sebastian Staudt require 'fixtures' require 'helper' class TestGitHub < Test::Unit::TestCase context 'The GitHub implementation' do should 'not support file stats' do ...
travis-repos/metior
test/test_github.rb
Ruby
bsd-3-clause
5,231
/* * HE_Mesh Frederik Vanhoutte - www.wblut.com * * https://github.com/wblut/HE_Mesh * A Processing/Java library for for creating and manipulating polygonal meshes. * * Public Domain: http://creativecommons.org/publicdomain/zero/1.0/ * I , Frederik Vanhoutte, have waived all copyright and related or neighbor...
DweebsUnited/CodeMonkey
java/CodeMonkey/HEMesh/wblut/geom/WB_MutableCoordinateMath3D.java
Java
bsd-3-clause
2,810
<?php // autoload_psr4.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'Zend\\View\\' => array($vendorDir . '/zendframework/zend-view/src'), 'Zend\\Validator\\' => array($vendorDir . '/zendframework/zend-validator/src'), 'Zend\\Uri\\' => a...
fabi4n/pajakdaerah
vendor/composer/autoload_psr4.php
PHP
bsd-3-clause
3,163
/* * Software License Agreement (New BSD License) * * Copyright (c) 2013, Keith Leung, Felipe Inostroza * 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 c...
RangerKD/RFS-SLAM
src/analysis2dSim.cpp
C++
bsd-3-clause
12,152
/* * Copyright (C) 2007 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
klim-iv/phantomjs-qt5
src/webkit/Source/WebCore/dom/TextEvent.cpp
C++
bsd-3-clause
4,309
// 1000-page badge // Awarded when total read page count exceeds 1000. var sys = require('sys'); var _ = require('underscore'); var users = require('../../users'); var badge_template = require('./badge'); // badge key, must be unique. var name = "1000page"; exports.badge_info = { id: name, name: "...
scsibug/read52
badger/badges/1000page.js
JavaScript
bsd-3-clause
1,422
/*================================================================================ Copyright (c) 2012 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...
xebialabs/vijava
src/com/vmware/vim25/StaticRouteProfile.java
Java
bsd-3-clause
1,954
// 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. #include "chrome/browser/chromeos/timezone/timezone_request.h" #include <string> #include "base/json/json_reader.h" #include "base/metrics/histogram.h" ...
patrickm/chromium.src
chrome/browser/chromeos/timezone/timezone_request.cc
C++
bsd-3-clause
15,268
package com.krishagni.catissueplus.core.biospecimen.events; import java.math.BigDecimal; import java.util.Date; import java.util.List; import com.krishagni.catissueplus.core.administrative.events.StorageLocationSummary; import com.krishagni.catissueplus.core.common.events.UserSummary; import com.krishagni.catissueplu...
krishagni/openspecimen
WEB-INF/src/com/krishagni/catissueplus/core/biospecimen/events/SpecimenAliquotsSpec.java
Java
bsd-3-clause
5,811
// $Id: MainClass.java,v 1.6 2003/10/07 21:46:08 idgay Exp $ /* tab:4 * "Copyright (c) 2000-2003 The Regents of the University of California. * All rights reserved. * * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose, without fee, and without writte...
fresskarma/tinyos-1.x
tools/java/net/tinyos/tinydb/topology/MainClass.java
Java
bsd-3-clause
4,833
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.IO; using System.Collections.Specialized; using System.Security.Cryptography; using System.Web; namespace BotR.API { public class BotRAPI { private string _apiURL = ""; ...
bitsontherun/botr-api-dotnet
BotRAPI.cs
C#
bsd-3-clause
5,584
/* prevent execution of jQuery if included more than once */ if(typeof window.jQuery == "undefined") { /* * jQuery 1.1.2 - New Wave Javascript * * Copyright (c) 2007 John Resig (jquery.com) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * $Date: 2007-04-03 22:27:21 $ * $...
NCIP/eagle
WebRoot/js/lib/jquery.js
JavaScript
bsd-3-clause
59,266
# Author: Immanuel Bayer # License: BSD 3 clause import ffm import numpy as np from .base import FactorizationMachine from sklearn.utils.testing import assert_array_equal from .validation import check_array, assert_all_finite class FMRecommender(FactorizationMachine): """ Factorization Machine Recommender with ...
ibayer/fastFM-fork
fastFM/bpr.py
Python
bsd-3-clause
2,859
package me.hatter.tools.resourceproxy.commons.io; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.io.UnsupportedEncodingException; public class FilePrintWriter extends PrintWriter { public FileP...
KingBowser/hatter-source-code
resourceproxy/commons/src/me/hatter/tools/resourceproxy/commons/io/FilePrintWriter.java
Java
bsd-3-clause
646
#include "torch-moveit.h" #include <moveit/planning_scene_interface/planning_scene_interface.h> #include "utils.h" typedef std::shared_ptr<moveit_msgs::CollisionObject> CollisionObjectPtr; MOVIMP(CollisionObjectPtr*, CollisionObject, new)() { CollisionObjectPtr *p = new CollisionObjectPtr(new moveit_msgs::Collision...
Xamla/torch-moveit
src/collision_object.cpp
C++
bsd-3-clause
2,089
// Generated by delombok at Sat Jun 11 11:12:44 CEST 2016 public final class Zoo { private final String meerkat; private final String warthog; public Zoo create() { return new Zoo("tomon", "pumbaa"); } @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") Zoo(final String meerkat...
AlexejK/lombok-intellij-plugin
testData/after/value/ValueAndBuilder93.java
Java
bsd-3-clause
3,489
<?php /* * This file is part of the codeliner/ginger-plugin-installer package. * (c) Alexander Miertsch <kontakt@codeliner.ws> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ return array( );
gingerwfms/ginger-plugin-installer
config/module.config.php
PHP
bsd-3-clause
284