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
/** * BSD 3-Clause License * * Copyright (C) 2018 Steven Atkinson <steven@nowucca.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...
nowucca/SimpleAffableBean
src/main/java/business/product/Product.java
Java
bsd-3-clause
2,404
// **************************************************************************** // // Copyright (c) 2014, Seth Billings, Russell Taylor, Johns Hopkins University // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the ...
sbillin/IMLP
cisstICP/cisstTriangleClosestPointSolver.cpp
C++
bsd-3-clause
4,449
/* * SOLID - Software Library for Interference Detection * * Copyright (C) 2001-2003 Dtecta. All rights reserved. * * This library may be distributed under the terms of the Q Public License * (QPL) as defined by Trolltech AS of Norway and appearing in the file * LICENSE.QPL included in the packaging of this f...
krishauser/KrisLibrary
geometry/solid3/src/convex/DT_Convex.cpp
C++
bsd-3-clause
10,132
/* Gearman server and library * Copyright (C) 2008 Brian Aker, Eric Day * All rights reserved. * * Use and distribution licensed under the BSD license. See * the COPYING file in the parent directory for full text. */ #include <config.h> #include <libtest/test.hpp> using namespace libtest; #include <assert.h> ...
kitech/gearmand
tests/tokyocabinet_test.cc
C++
bsd-3-clause
2,626
<?php namespace Vh\Controller; use Zend\Mvc\Controller\AbstractActionController; use Zend\View\Model\ViewModel; class VhController extends AbstractActionController { protected $vhTable; public function indexAction() { return new ViewModel(array( 'albums' => $this->getVhTable()->fetchA...
seventy6ix/ZF2
module/Vh/src/Vh/Controller/VhController.php
PHP
bsd-3-clause
568
<?php namespace nglasl\mediawesome; use SilverStripe\Assets\File; use SilverStripe\Assets\Image; use SilverStripe\Control\HTTPResponse_Exception; use SilverStripe\Core\Injector\Injector; use SilverStripe\Forms\DateField; use SilverStripe\Forms\FileHandleField; use SilverStripe\Forms\GridField\GridField; use SilverStr...
nyeholt/silverstripe-mediawesome
src/pages/MediaPage.php
PHP
bsd-3-clause
12,614
import os, sys; sys.path.insert(0, os.path.join("..", "..")) from pattern.web import Google, plaintext from pattern.web import SEARCH # The web module has a SearchEngine class with a search() method # that yields a list of Result objects. # Each Result has url, title, description, language, author and date and prope...
piskvorky/pattern
examples/01-web/01-google.py
Python
bsd-3-clause
1,660
<?php return [ 'administrator' => 'Admin', 'agent' => 'Przedstawiciel', 'archive' => 'Archiwum', 'book_keeper' => 'Księgowy', 'book_keeper_delayed' => 'Księgowy - przeterminowane', 'calculation.to-create' => 'Rozliczenia - dodawanie', 'calculation.update' => 'Rozliczenia - edycja', 'calculation.problems' => 'R...
edzima/VestraTele
common/messages/pl/rbac.php
PHP
bsd-3-clause
2,044
<?php /** * Created by PhpStorm. * User: Administrator * Date: 2016/11/24 * Time: 15:56 */ namespace app\controllers; use yii; use app\models\Account; use app\models\Emailtype; class AccountController extends BaseController { /** * 主页面展示 */ public function actionIndex() { return $this...
timelesszhuang/edm
controllers/AccountController.php
PHP
bsd-3-clause
2,203
""" Copyright (c) 2019 Red Hat, Inc All rights reserved. This software may be modified and distributed under the terms of the BSD license. See the LICENSE file for details. """ from __future__ import unicode_literals, absolute_import from atomic_reactor.constants import PLUGIN_PUSH_FLOATING_TAGS_KEY, PLUGIN_GROUP_MA...
projectatomic/atomic-reactor
atomic_reactor/plugins/exit_push_floating_tags.py
Python
bsd-3-clause
3,577
""" Provider that returns vector representation of features in a data source. This is a provider that does not return an image, but rather queries a data source for raw features and replies with a vector representation such as GeoJSON. For example, it's possible to retrieve data for locations of OpenStreetMap points o...
mpuig/TileStache
TileStache/Vector/__init__.py
Python
bsd-3-clause
22,199
package org.frozenarc.zeframework.connector; import java.util.HashMap; /** * The class is used to connect action and view. when user submit a form the action occurs * and it will be handled by ActionHandler, after that the view loading starts. The two process handling * action and loading view should be connected...
frozenarc/zeframework
src/main/java/org/frozenarc/zeframework/connector/ActionViewConnector.java
Java
bsd-3-clause
1,996
<?php // WARNING, this is a read only file created by import scripts // WARNING // WARNING, Changes made to this file will be clobbered // WARNING // WARNING, Please make changes on poeditor instead of here // // ?> konu: {target.type} #{target.id} hakkında rapor {alternative:plain} Merhaba, Aktarma numarası {t...
filesender/filesender
language/tr_TR/report_attached.mail.php
PHP
bsd-3-clause
589
// Copyright (c) 2010-2022, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-806117. // // This file is part of the MFEM library. For more information and source code // availability visit ht...
mfem/mfem
fem/bilininteg_mass_ea.cpp
C++
bsd-3-clause
9,841
package edu.rutgers.css.Rutgers.api.soc; /** * Created by jamchamb on 10/30/14. */ public interface Titleable { String getDisplayTitle(); }
rutgersmobile/android-client
app/src/main/java/edu/rutgers/css/Rutgers/api/soc/Titleable.java
Java
bsd-3-clause
147
// You have a total of n coins that you want to form in a staircase shape, where // every k-th row must have exactly k coins. // Given n, find the total number of full staircase rows that can be formed. // n is a non-negative integer and fits within the range of a 32-bit signed // integer. // Example 1: // n = 5 /...
ysmiles/leetcode-cpp
401-500/441-Arranging_Coins-e.cpp
C++
bsd-3-clause
733
// @flow import invariant from 'invariant'; import * as React from 'react'; import Animated from 'react-native-reanimated'; import { useMessageListData } from 'lib/selectors/chat-selectors'; import { messageKey } from 'lib/shared/message-utils'; import { colorIsDark, viewerIsMember } from 'lib/shared/thread-utils'; i...
Ashoat/squadcal
native/chat/utils.js
JavaScript
bsd-3-clause
11,758
// // "$Id: Fl_File_Browser.H 6614 2009-01-01 16:11:32Z matt $" // // FileBrowser definitions. // // Copyright 1999-2009 by Michael Sweet. // // 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 Found...
cocoageek/max-gui
maxgui.mod/fltkmaxgui.mod/FL/Fl_File_Browser.H
C++
bsd-3-clause
3,645
// 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 "ash/wm/workspace/workspace_manager.h" #include <algorithm> #include <functional> #include "ash/root_window_controller.h" #include "ash/she...
loopCM/chromium
ash/wm/workspace/workspace_manager.cc
C++
bsd-3-clause
31,279
module CASA module Receiver module Strategy class AdjInStore def self.factory options = false options ? self.new(options) : nil end attr_reader :options def initialize options @options = options if @options.has_key?('class') and @options.has_k...
AppSharing/casa-receiver
lib/casa/receiver/strategy/adj_in_store.rb
Ruby
bsd-3-clause
1,347
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
projectchrono/chrono
src/demos/fea/demo_FEA_abaqus_wheel.cpp
C++
bsd-3-clause
12,980
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // ...
Livefyre/protobuf
java/util/src/main/java/com/google/protobuf/util/JsonFormat.java
Java
bsd-3-clause
67,363
hqDefine('sso/js/edit_identity_provider', [ 'jquery', 'knockout', 'underscore', 'hqwebapp/js/utils/email', "hqwebapp/js/initial_page_data", 'sso/js/models', ], function ( $, ko, _, emailUtils, initialPageData, models ) { $(function () { var emailDomainManager ...
dimagi/commcare-hq
corehq/apps/sso/static/sso/js/edit_identity_provider.js
JavaScript
bsd-3-clause
1,318
#include "graph2occupancy.h" using namespace std; using namespace Eigen; using namespace g2o; Graph2occupancy::Graph2occupancy(OptimizableGraph *graph, cv::Mat *image, SE2 pose, float resolution, float threhsold, float rows, float cols, float maxRange, float usableRange, float infinityFillingRange, float gain, float...
mtlazaro/cg_mrslam
src/ros_map_publisher/graph2occupancy.cpp
C++
bsd-3-clause
5,798
<?php namespace hiapi\exceptions\domain; /** * Class InvariantException * * @author Dmytro Naumenko <d.naumenko.a@gmail.com> */ class InvariantException extends DomainException { }
hiqdev/hiapi
src/exceptions/domain/InvariantException.php
PHP
bsd-3-clause
188
// Copyright (c) 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 "chrome/browser/ash/policy/handlers/device_wifi_allowed_handler.h" #include <vector> #include "base/bind.h" #include "chromeos/network/netw...
nwjs/chromium.src
chrome/browser/ash/policy/handlers/device_wifi_allowed_handler.cc
C++
bsd-3-clause
1,917
############################################################################### ## ## Copyright (C) 2006-2011, University of Utah. ## All rights reserved. ## Contact: contact@vistrails.org ## ## This file is part of VisTrails. ## ## "Redistribution and use in source and binary forms, with or without ## modification, ...
CMUSV-VisTrails/WorkflowRecommendation
vistrails/core/vistrail/module.py
Python
bsd-3-clause
19,617
<?php use yupe\components\controllers\FrontController; class CategoryController extends FrontController { /** * @var ProductRepository */ protected $productRepository; /** * @var AttributeFilter */ protected $attributeFilter; public function init() { $this->product...
mettoff/archive
protected/modules/store/controllers/CategoryController.php
PHP
bsd-3-clause
1,628
<?php /** * AspectPHP_Advice_Extractor * * @category PHP * @package AspectPHP_Advice * @author Matthias Molitor <matthias@matthimatiker.de> * @copyright 2012 Matthias Molitor * @license http://www.opensource.org/licenses/BSD-3-Clause BSD License * @link https://github.com/Matthimatiker/AspectPHP * @since 31.0...
Matthimatiker/AspectPHP
library/AspectPHP/Advice/Extractor.php
PHP
bsd-3-clause
1,984
/* Picasso - a vector graphics library * * Copyright (C) 2008 Zhang Ji Peng * Contact: onecoolx@gmail.com */ #include "common.h" #include "device.h" #include "interfaces.h" #include "picasso.h" #include "picasso_global.h" #include "picasso_raster_adapter.h" #include "picasso_objects.h" #include "picasso_matrix.h"...
onecoolx/picasso
src/picasso_raster_adapter.cpp
C++
bsd-3-clause
2,749
// Do not edit. Bootstrap copy of /Users/rsc/g/go/src/cmd/internal/gc/const.go // 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. package gc import ( "rsc.io/tmp/bootstrap/internal/obj" "strings" ) /* * tr...
rsc/tmp
bootstrap/internal/gc/const.go
GO
bsd-3-clause
29,270
<?php namespace TijsVerkoyen\Bpost\Bpost\Order; /** * bPost Receiver class * * @author Tijs Verkoyen <php-bpost@verkoyen.eu> */ class Receiver extends Customer { const TAG_NAME = 'receiver'; /** * @param \SimpleXMLElement $xml * @return Receiver */ public static function createFromXML(...
kouinkouin/bpost
src/Bpost/Order/Receiver.php
PHP
bsd-3-clause
487
package org.cagrid.introduce.tutorial.stockmanager.common; import javax.xml.namespace.QName; /** * This class is autogenerated, DO NOT EDIT * * @created by Introduce Toolkit version 1.3 */ public interface StockManagerConstantsBase { public static final String SERVICE_NS = "http://stockmanager.tutorial.introduc...
NCIP/cagrid
cagrid/Software/general/demos/StockManager/src/org/cagrid/introduce/tutorial/stockmanager/common/StockManagerConstantsBase.java
Java
bsd-3-clause
673
# -*- coding: utf-8 -*- from django.contrib import admin from article.models import Article from article.forms import ArticleAdminForm from feincms.admin.editor import ItemEditor, TreeEditor class ArticleAdmin(ItemEditor, TreeEditor): """ Article Control Panel in Admin """ class Media: css = {...
indexofire/gravoicy
gravoicy/apps/article/admin.py
Python
bsd-3-clause
7,978
from django import forms from django.contrib.auth.models import User from django.utils.translation import ugettext_lazy as _ from utils import email_to_username class RegistrationForm(forms.Form): """ Our form for registering a new account. This uses the user's email as their credentials. """ erro...
paulcwatts/django-auth-utils
auth_utils/forms.py
Python
bsd-3-clause
2,089
using HFEA.Connector.Contracts.ClinicProfile; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HFEA.Connector.Contracts.Clients.Centres { public interface IBillingDetailsReaderClient { BillingDetails GetBillingData(int centre...
hfea/Website-Public
Source/HFEA.API.Connector/Source/HFEA.Connector.Contracts/Clients/Centres/IBillingDetailsReaderClient.cs
C#
bsd-3-clause
384
<?php declare(strict_types=1); /** * This file is part of stubbles. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace stubbles\xml\rss; use PHPUnit\Framework\TestCase; use stubbles\date\Date; use function bovigo\assert\{ ...
stubbles/stubbles-xml
src/test/php/rss/RssFeedTest.php
PHP
bsd-3-clause
11,240
// Package sdcard provides low-level primitives to handle Secure Digital Card // protocol. The sdmc and sdio subpacckages provide higher level interface for // respectively SD Memory and SDIO cards. package sdcard
ziutek/emgo
egpath/src/sdcard/doc.go
GO
bsd-3-clause
213
# Virtual memory analysis scripts. # Developed 2012-2014 by Peter Hornyack, pjh@cs.washington.edu # Copyright (c) 2012-2014 Peter Hornyack and University of Washington from plotting.multiapp_plot_class import * from util.pjh_utils import * from plotting.plots_common import * import trace.vm_common as vm #############...
pjh/vm-analyze
plotting/plot_vmaops.py
Python
bsd-3-clause
11,539
/* The BSD 3-Clause License, http://opensource.org/licenses/BSD-3-Clause Copyright (c) 2013, SINTEF Copyright (c) 2013, Odd Fredrik Rogstad, Christian Frøystad, Simon Stastny, Knut Nergård Copyright (c) 2014, Tor Barstad, Jon-Andre Brurberg, Øyvind Hellenes, Hallvard Jore Christensen, Vegard Storm, Jørgen Rug...
SINTEF-SIT/stedr-server
app/retrievers/FlickrRetriever.java
Java
bsd-3-clause
6,609
// Copyright 2014 the V8 project 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 "src/compiler/simplified-operator-reducer.h" #include "src/compiler/access-builder.h" #include "src/compiler/js-graph.h" #include "src/compile...
mxOBS/deb-pkg_trusty_chromium-browser
v8/src/compiler/simplified-operator-reducer.cc
C++
bsd-3-clause
6,372
<?php namespace Application\Model\Dao; use Zend\Db\TableGateway\TableGateway; use Zend\Db\Sql\Sql; use Application\Model\Entity\TipoComponente; class TipoComponenteDao implements InterfaceCrud { protected $tableGateway; public function __construct(TableGateway $tableGateway){ $this->ta...
manucv/Violations
module/Application/src/Application/Model/Dao/TipoComponenteDao.php
PHP
bsd-3-clause
1,773
// 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 "ash/display/display_manager.h" #include "ash/root_window_controller.h" #include "ash/screen_util.h" #include "ash/shell.h" #include "ash/shell_w...
ltilve/chromium
ash/wm/lock_layout_manager_unittest.cc
C++
bsd-3-clause
11,480
package com.bnorm.infinite.builders; import com.bnorm.infinite.StateMachineStructure; /** * A factory interface for state machine builders. * * @param <S> the class type of the states. * @param <E> the class type of the events. * @param <C> the class type of the context. * @author Brian Norman * @since 1.0.0 ...
bnorm-software/infinite
src/main/java/com/bnorm/infinite/builders/StateMachineBuilderFactory.java
Java
bsd-3-clause
663
<?php /** * @link https://www.humhub.org/ * @copyright Copyright (c) 2016 HumHub GmbH & Co. KG * @license https://www.humhub.com/licences */ namespace humhub\modules\user\permissions; use Yii; use humhub\modules\user\models\User; /** * ViewAboutPage Permission */ class SuperAdminPermition extends \humhub\libs...
LeonidLyalin/vova
common/humhub/protected/humhub/modules/user/permissions/SuperAdminPermition.php
PHP
bsd-3-clause
771
<!--<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-2.1.4.min.js"></script> <script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/knockout/3.4.0/knockout-min.js"></script> <script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/globalize/0.1.1/globalize....
skyinsurance/acars
modules/client/views/payroll/old-index.php
PHP
bsd-3-clause
5,879
<?php namespace app\controllers; use Yii; use app\models\Pctstokemi; use app\models\PctstokemiSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; use yii\filters\AccessControl; use app\components\AccessRule; use app\models\User; /** * PctstokemiController implements the CR...
inamjung/swlreport
old/PctstokemiController.php
PHP
bsd-3-clause
3,949
# Copyright (c) 2011-2014 by California Institute of Technology # 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,...
necozay/tulip-control
tulip/abstract/find_controller.py
Python
bsd-3-clause
14,468
from lib.common import helpers class Module: def __init__(self, mainMenu, params=[]): self.info = { 'Name': 'Invoke-EventVwrBypass', 'Author': ['@enigma0x3'], 'Description': ("Bypasses UAC by performing an image hijack on the .msc file extension and starting eventvwr...
pierce403/EmpirePanel
lib/modules/privesc/bypassuac_eventvwr.py
Python
bsd-3-clause
3,893
/* Copyright (c) 2013, Ford Motor Company 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 fo...
APCVSRepo/sdl_core
src/components/application_manager/src/commands/mobile/delete_command_request.cc
C++
bsd-3-clause
8,137
if __name__ == '__main__': from views import * app.run(debug=True)
fxa90id/up-flask-forum
flask-forum.py
Python
bsd-3-clause
76
<?php /** * Objeto referente a la tabla de base de datos 'idioma_cargo'. * * @author Emanuel Carrasco * @copyright * @license */ namespace Application\Model\Entity; /** * Define el objeto IdiomaCargo y el intercambio de información con el hydrator. */ class IdiomaCargo { private $idi_id; private $...
manucv/GestionProcesos
module/Application/src/Application/Model/Entity/IdiomaCargo.php
PHP
bsd-3-clause
2,952
/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab: * * Gearmand client and server library. * * Copyright (C) 2012-2013 Data Differential, http://datadifferential.com/ All * rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that t...
ssm/pkg-gearmand
libgearman-server/text.cc
C++
bsd-3-clause
10,914
# Modified by CNSL # 1) including TDNN based char embedding # 06/02/17 # Copyright (c) 2017-present, Facebook, Inc. # All rights reserved. # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be foun...
calee88/ParlAI
parlai/agents/drqa_msmarco/rnet.py
Python
bsd-3-clause
13,354
// Copyright 2021 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/embedder_support/user_agent_utils.h" #include "base/command_line.h" #include "base/strings/strcat.h" #include "base/strings/string_n...
scheib/chromium
components/embedder_support/user_agent_utils_unittest.cc
C++
bsd-3-clause
31,704
namespace Esprima.Ast { /// <summary> /// A JavaScript expression. /// </summary> public abstract class Expression : StatementListItem { protected Expression(Nodes type) : base(type) { } } }
sebastienros/esprima-dotnet
src/Esprima/Ast/Expression.cs
C#
bsd-3-clause
243
// Copyright (c) 2011 Tall Ambitions, LLC // See included LICENSE for details. namespace Passive.Test.DynamicModelTests { using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; internal class DynamicModelContext { private List<object> args; pri...
Talljoe/Passive
Passive.Test/DynamicModelTests/DynamicModelContext.cs
C#
bsd-3-clause
2,884
<?php /** * Plugin.php - Adapter for the Notify library. * * @package jaxon-dialogs * @author Thierry Feuzeu <thierry.feuzeu@gmail.com> * @copyright 2016 Thierry Feuzeu <thierry.feuzeu@gmail.com> * @license https://opensource.org/licenses/BSD-3-Clause BSD 3-Clause License * @link https://github.com/jaxon-php/ja...
jaxon-php/jaxon-dialogs
src/Libraries/Notify/Plugin.php
PHP
bsd-3-clause
2,659
# ---------------------------------------------------------------------------- # Copyright (c) 2016-2020, 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. # ------------------------------------------------...
thermokarst/qiime2
qiime2/sdk/tests/test_util.py
Python
bsd-3-clause
1,934
package vg.civcraft.mc.civmodcore.locations; import java.util.HashSet; import java.util.Set; import java.util.SortedSet; import java.util.TreeSet; // This isn't designed to contain absolutely HUGE boxes. When the box sizes // encompass the entirety of -MAX_INT to MAX_INT on both the x and y, // it can't handle it. ...
psygate/CivModCore
src/main/java/vg/civcraft/mc/civmodcore/locations/SparseQuadTree.java
Java
bsd-3-clause
7,636
default_app_config = 'userlog.apps.UserLogConfig' __version__ = '0.2'
aaugustin/django-userlog
userlog/__init__.py
Python
bsd-3-clause
71
$(document).ready(function() { $('.boxhover').append('<div class="hover"></div>'); $('.boxhover').hover( function() { $(this).children('div.hover').fadeIn('1000'); }, function() { $(this).children('div.hover').fadeOut('1000'); }); });
ilhammalik/yii2-cms
frontend/web/script/hoverfade.js
JavaScript
bsd-3-clause
248
/*! * jQuery JavaScript Library v1.5.2 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
nise/vi-two
lib/jquery-1.5.2.js
JavaScript
bsd-3-clause
219,249
# -*- coding: utf-8 -*- # # Copyright (c) 2010-2011, Monash e-Research Centre # (Monash University, Australia) # Copyright (c) 2010-2011, VeRSI Consortium # (Victorian eResearch Strategic Initiative, Australia) # All rights reserved. # Redistribution and use in source and binary forms, with or without # modificatio...
grischa/mytardis-mrtardis
tardis/tardis_portal/admin.py
Python
bsd-3-clause
2,634
<?php use yii\helpers\Url; return [ 'params' =>[ 'debug' => true, 'log' => [ 'level' => 'trace', 'permission' => 0777, 'file' => '/tmp/easywechat.log', ], 'wx' => [ 'appid' => 'wxf2831524143015af', ...
cboy868/lion
modules/api/config.php
PHP
bsd-3-clause
1,107
<?php namespace hipanel\modules\stock\actions; use hipanel\actions\ValidateFormAction; use hipanel\modules\stock\forms\PartSellForm; use Yii; use yii\base\DynamicModel; use yii\helpers\Html; class ValidateSellFormAction extends ValidateFormAction { public function init() { $this->setModel(PartSellFor...
hiqdev/hipanel-module-stock
src/actions/ValidateSellFormAction.php
PHP
bsd-3-clause
1,706
<?php use yii\helpers\Html; use yii\helpers\ArrayHelper; use backend\modules\cms\models\Category; use yii\widgets\ActiveForm; use kartik\select2\Select2; /* @var $this yii\web\View */ /* @var $model backend\modules\cms\models\Category */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="category-form"> <?ph...
dixonsatit/dixon-starter
backend/modules/cms/views/category/_form.php
PHP
bsd-3-clause
1,108
from django.conf.urls import patterns, include, url urlpatterns = patterns( 'places.views', url(r'^summary/(?P<place_slug>[^/]+)/$', 'summary'), url(r'^profiles/(?P<place_slug>[^/]+)/$', 'profiles'), url(r'^programs/(?P<place_slug>[^/]+)/$', 'programs'), )
MAPC/masshealth
places/urls.py
Python
bsd-3-clause
275
/////////////////////////////////////////////////////////////////////////////// // BOSSA // // Copyright (c) 2011-2012, ShumaTech // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // * Redi...
CarbonLifeForm/BOSSA
src/CmdOpts.cpp
C++
bsd-3-clause
5,041
<?php namespace SpeckPaypal\Request; use SpeckPaypal\Element\AbstractElement; abstract class AbstractRequest extends AbstractElement { protected $method; abstract public function isValid(); /** * (Required) * * @param $method * @return AbstractRequest */ protected function s...
krzozk/paymentszf2
module/SpeckPaypal/src/SpeckPaypal/Request/AbstractRequest.php
PHP
bsd-3-clause
762
#!/usr/bin/env python import os import site site.addsitedir(os.path.abspath(os.path.join(os.path.dirname(__file__), '../'))) from django.core.management import execute_manager import settings if __name__ == "__main__": execute_manager(settings)
boar/boar
boar/manage.py
Python
bsd-3-clause
253
// Copyright 2016 Andreas Koch. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "strings" "testing" ) func Test_getXForwardedForHeader_EmptyHeader_ErrorIsReturned(t *testing.T) { // arrange header := map[string][]s...
andreaskoch/yip
server_getXForwardedForHeader_test.go
GO
bsd-3-clause
2,693
<?php namespace garethp\ews\API\Message; /** * Class representing CopyItemResponseType * * * XSD Type: CopyItemResponseType */ class CopyItemResponseType extends BaseResponseMessageType { }
Garethp/php-ews
src/API/Message/CopyItemResponseType.php
PHP
bsd-3-clause
199
# -*- coding: utf-8 -*- from __future__ import unicode_literals import collections import copy import datetime import decimal import math import uuid import warnings from base64 import b64decode, b64encode from itertools import tee from django.apps import apps from django.db import connection from django.db.models.lo...
runekaagaard/django-contrib-locking
django/db/models/fields/__init__.py
Python
bsd-3-clause
88,217
package model; import java.util.ArrayList; /* * each activity is indexed by the index of user i and the index of j, D_ij */ public class UserProfile { private int[] spatialItems; private String[] locations; private ArrayList<Integer>[] contents; // private ArrayList<ArrayList<Integer>> contents; pr...
weiqingwang/Geo-SAGE
src/model/UserProfile.java
Java
bsd-3-clause
2,717
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Senparc.Weixin.MP.Entities; namespace Senparc.Weixin.MP.AdvancedAPIs { /// <summary> /// 二维码创建返回结果 /// </summary> public class CreateQrCodeResult : WxJsonResult { /// <summary> /// 获取的二维码tic...
15172002285/tianxiangyu
WeiXinApiSDK/WeiXinApiSDK/AdvancedAPIs/QrCode/CreateQrCodeResult.cs
C#
bsd-3-clause
663
# generate a html report based on the Mantis csv report require 'csv' class CvsRequest #2016-07, Adding qr field attr_accessor :workstream, :status, :assigned_to, :resolution, :updated, :reporter, :id, :view_status, :milestone, :priority, :summary, :date_submitted, :product_version, :severity, :platfor...
eisq/scpm
lib/cvs_report.rb
Ruby
bsd-3-clause
3,126
/*====================================================================== * Exhibit.Database * http://simile.mit.edu/wiki/Exhibit/API/Database *====================================================================== */ Exhibit.Database = new Object(); Exhibit.Database.create = function() { Exhibit.Database.ha...
zepheira/exhibit
src/webapp/api/scripts/data/database.js
JavaScript
bsd-3-clause
45,905
class AddMeetingPhoneNumberToLunchLearns < ActiveRecord::Migration def change add_column :lunchlearns, :meeting_phone_number, :string end end
Orasi/onTap
db/migrate/20140702134246_add_meeting_phone_number_to_lunch_learns.rb
Ruby
bsd-3-clause
150
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.coderedrobotics.libs.dash; import java.util.Vector; /** * * @author laptop */ public class SynchronizedRegisterArray { private Vector registers; private Vector updateQueue; private Vector SR...
CodeRed2771/Sally
src/com/coderedrobotics/libs/dash/SynchronizedRegisterArray.java
Java
bsd-3-clause
3,562
/* +---------------------------------------------------------------------------+ | The Mobile Robot Programming Toolkit (MRPT) | | | | http://www.mrpt.org/ ...
bigjun/mrpt
libs/base/src/utils/jpeglib/jfdctfst.cpp
C++
bsd-3-clause
8,710
var ColView = (function() { function notify(listeners, method, data) { var event = listeners[method] for(var i=0; i<event.length; i++) { event[i](data); } } function literal(data, view, listeners, stack) { function constructElement(id) { /*var el...
ebolyen/visn
assets/dataHandler.js
JavaScript
bsd-3-clause
8,129
<?php /** * @see https://github.com/laminas/laminas-code for the canonical source repository * @copyright https://github.com/laminas/laminas-code/blob/master/COPYRIGHT.md * @license https://github.com/laminas/laminas-code/blob/master/LICENSE.md New BSD License */ namespace Laminas\Code\Scanner; use Lamin...
deforay/odkdash
vendor/laminas/laminas-code/src/Scanner/PropertyScanner.php
PHP
bsd-3-clause
7,002
package org.mafagafogigante.dungeon.date; import org.apache.commons.lang3.StringUtils; import org.jetbrains.annotations.NotNull; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Locale; public final class DungeonTimeParser { private DungeonTimeParser() { throw new A...
ffurkanhas/dungeon
src/main/java/org/mafagafogigante/dungeon/date/DungeonTimeParser.java
Java
bsd-3-clause
2,775
<?php namespace backend\controllers; use Yii; use common\models\News; use backend\models\NewsSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * NewsController implements the CRUD actions for News model. */ class NewsController extends Controller { public functi...
djrosl/travel
backend/controllers/NewsController.php
PHP
bsd-3-clause
3,948
""" Most descriptor compounds selection """ # Author: Giuseppe Marco Randazzo gmrandazzo@gmail.com # License: BSD 3 clause from numpy import zeros, array class MDC(object): """Perform Most-Descriptor-Compound object selection Parameters ---------- dmx : array, shape(row,row) A square distance...
zeld/scikit-optobj
optobj/mdc.py
Python
bsd-3-clause
4,248
/* Copyright (c) 2008-2014, 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 ...
snowyu/libtorrent
include/libtorrent/http_parser.hpp
C++
bsd-3-clause
6,372
/* Copyright 2012 LinkedIn Corp. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri...
szferi/bladerunner
src/main/java/com/github/szferi/bladerunner/Cartesian.java
Java
bsd-3-clause
8,694
// 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/ui/autofill/autofill_popup_controller_impl.h" #include <algorithm> #include <utility> #include "base/logging.h" #include "b...
nacl-webkit/chrome_deps
chrome/browser/ui/autofill/autofill_popup_controller_impl.cc
C++
bsd-3-clause
20,155
package org.broadinstitute.hellbender.utils.runtime; public class ProcessOutput { private final int exitValue; private final StreamOutput stdout; private final StreamOutput stderr; /** * The output of a process. * * @param exitValue The exit value. * @param stdout The capture of...
tomwhite/hellbender
src/main/java/org/broadinstitute/hellbender/utils/runtime/ProcessOutput.java
Java
bsd-3-clause
865
/* * skullsecurity.min.js * By Stefan Penner * Created December, 2009 * * (See LICENSE.txt) * * A simple javascript keylogger */ var SkullSecurity = SkullSecurity || {}; (function(lib){ lib.attachEvent = function( elem, type, handle ) { // IE #fail if ( elem.addEventListener ){ elem.addEventLis...
iagox86/nbtool
samples/jsdnscat/js/skullsecurity.keylogger.js
JavaScript
bsd-3-clause
770
import logging import emission.analysis.modelling.tour_model.tour_model_matrix as tm import emission.analysis.modelling.tour_model.cluster_pipeline as eamtcp from uuid import UUID import random, datetime, sys def create_tour_model(user, list_of_cluster_data): # Highest level function, create tour model from the c...
yw374cornell/e-mission-server
emission/analysis/modelling/tour_model/create_tour_model_matrix.py
Python
bsd-3-clause
3,536
/* eslint-disable */ describe('GENERATED CFI PARSER', function () { it ('parses a CFI with index steps', function () { var cfi = "epubcfi(/4/6/4)"; var parsedAST = EPUBcfi.Parser.parse(cfi); var expectedAST = { type : "CFIAST", cfiString : { type ...
readium/readium-cfi-js
spec/models/cfi_parser_spec.js
JavaScript
bsd-3-clause
18,772
# coding: utf-8 import re from copy import copy from django import forms from django.contrib.contenttypes.models import ContentType from django.conf import settings from django.core.exceptions import ImproperlyConfigured from django.db import models from django.db.models.fields import FieldDoesNotExist from django.db...
fetzig/django-csv-exporter
csvexporter/forms.py
Python
bsd-3-clause
2,038
// Code generated by protoc-gen-go. // source: SecureBulkLoad.proto // DO NOT EDIT! package hbase_pb import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf t...
gauravagarwal/go-hbase-client
hbase_pb/SecureBulkLoad.pb.go
GO
bsd-3-clause
9,695
require 'spec_helper' describe Topic do it { should belong_to(:user) } it { should have_many(:comments).dependent(:destroy) } it { should have_many(:bookmarks).dependent(:destroy) } it { should have_many(:notifications).dependent(:destroy) } it { should validate_presence_of(:user_id) } it { should valida...
chenryn/redmonster
spec/models/topic_spec.rb
Ruby
bsd-3-clause
1,401
package br.com.badrequest.insporte.rest.model.questionario; import java.io.Serializable; public class Imagem implements Serializable { public Long idPergunta; public Long idImagem; public String img; }
badrequest/inSPorte
insport_server/insporte/insporte-rest/src/main/java/br/com/badrequest/insporte/rest/model/questionario/Imagem.java
Java
bsd-3-clause
209
// Copyright 2015 Keybase, Inc. All rights reserved. Use of // this source code is governed by the included BSD license. package engine import ( "path" "runtime" "sync" "github.com/keybase/client/go/libkb" keybase1 "github.com/keybase/client/go/protocol/keybase1" ) type start struct { s string r keybase1.Ide...
keybase/client
go/engine/buffered_identify_ui.go
GO
bsd-3-clause
6,887
<?php /** * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ */ namespace yii\caching; /** * ArrayCache 通过把值存入数组来提供缓存,只对当前请求有效。 * * 参考 [[Cache]] 查看 ArrayCache 支持的通用的缓存操作方法。 * * 不像 [[Cache]] 那样,ArrayCache 允许 [[set]],[[add]],[[m...
yiichina/yii2
framework/caching/ArrayCache.php
PHP
bsd-3-clause
2,345
module Spree class StockItem < Spree::Base acts_as_paranoid belongs_to :stock_location, class_name: 'Spree::StockLocation', inverse_of: :stock_items belongs_to :variant, class_name: 'Spree::Variant', inverse_of: :stock_items has_many :stock_movements, inverse_of: :stock_item validates_presence_o...
dotandbo/spree
core/app/models/spree/stock_item.rb
Ruby
bsd-3-clause
2,558