repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
stsoft/printable
protected/modules/profile/views/fields/create.php
270
<? $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)); ?>
bsd-3-clause
ExLibrisGroup/Rosetta.dps-sdk-projects
7.1/javadoc/com/exlibris/repository/persistence/sip/package-frame.html
906
<!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...
bsd-3-clause
SpintroniK/libeXaDrums
DrumKit/Kits/Kit.h
1473
/* * 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"...
bsd-3-clause
nuagenetworks/vspk-python
vspk/v6/nuavatar.py
9831
# -*- 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...
bsd-3-clause
wukchung/Home-development
documentation/manual/core/de/zend.session.html
7661
<!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...
bsd-3-clause
wifiphisher/roguehostapd
roguehostapd/hostapd-2_6/src/ap/hostapd.c
84878
/* * 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...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE191_Integer_Underflow/s04/CWE191_Integer_Underflow__int_listen_socket_postdec_45.c
8543
/* 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...
bsd-3-clause
ltilve/chromium
components/metrics/metrics_service.cc
42424
// 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. // // ...
bsd-3-clause
amaneureka/AtomOS
src/Compiler/Atomixilc/IL/Comparison/Cgt.cs
3259
/* * 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; ...
bsd-3-clause
russmack/hoist
www/footer.html
1461
{{ 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...
bsd-3-clause
selassid/itten
README.md
8
# itten
bsd-3-clause
gutomaia/steam-condenser-java
src/test/java/com/github/koraktor/steamcondenser/steam/community/Portal2StatsTest.java
1630
/** * 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...
bsd-3-clause
adini121/atlassian
atlassian-pageobjects-elements/src/main/java/com/atlassian/pageobjects/components/aui/AuiTabs.java
3108
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...
bsd-3-clause
icatholic/icc
module/Idatabase/src/Idatabase/Controller/ImportController.php
10381
<?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...
bsd-3-clause
dinarwm/kppt
views/Izinmenutupjalan/_search.php
1483
<?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', ...
bsd-3-clause
Spirotot/py3status
py3status/modules/gpmdp.py
2411
# -*- 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...
bsd-3-clause
operasoftware/presto-testo
core/features/dateParsing/TestCases/individual/SpaceSeparator/587.html
345
<!DOCTYPE html> <html> <meta charset="utf-8"> <title>Date parser test — 100&lt;=x&lt;=999 and January&lt;=y&lt;=December and 100&lt;=z&lt;=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"...
bsd-3-clause
verma/PDAL
boost/boost/asio/buffered_write_stream.hpp
7635
// // 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...
bsd-3-clause
jmesmon/jaus--
src/jaus/core/control/reporttimeout.cpp
6127
//////////////////////////////////////////////////////////////////////////////////// /// /// \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 ...
bsd-3-clause
m8ker/vgcollection
Themes/PJS.Bootstrap/Styles/site-default.css
191099
/*! 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...
bsd-3-clause
mgrosvenor/camio1.0
dag/dagixp_filter/df_types.h
7011
/********************************************************************** * * 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...
bsd-3-clause
cider94/JsKlar
start/admin.js
4847
////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...
bsd-3-clause
dmitry-grasevich/tg
common/models/TemplateJs.php
1232
<?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 { /**...
bsd-3-clause
NCIP/cagrid
cagrid/Software/portal/cagrid-portal/portals/liferay-ext/sql/portal-minimal/portal-minimal-informix.sql
106694
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...
bsd-3-clause
statsmodels/statsmodels.github.io
v0.12.1/generated/statsmodels.miscmodels.count.PoissonGMLE.loglike.html
18169
<!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...
bsd-3-clause
legendum/ntil
ntil.js
7810
/** * 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...
bsd-3-clause
suhe/bdoticket
views/ticket/ticket_all_request.php
3532
<?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...
bsd-3-clause
rchiossi/soletta
src/lib/comms/sol-oic-server.c
25099
/* * 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 ...
bsd-3-clause
prayogo/pms.yii2
views/category/update.php
565
<?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' ...
bsd-3-clause
google-code/cad-play-ground
source/gui/cmdtextfield.h
3470
/* ========================================================================= */ /* ------------------------------------------------------------------------- */ /*! \file cmdtextfield.h \date Dec 2011 \author TNick \brief Contains the definition for CmdTextField class *//* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
bsd-3-clause
mikeando/fastjson
include/fastjson/dom.h
22624
/* * 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 ...
bsd-3-clause
mat007/xeumeuleu
src/tests/xeumeuleu_test/ximultistream_test.cpp
14818
/* * 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...
bsd-3-clause
mrallc/smr
code/src/com/xoba/smr/SimpleMapReduce.java
9071
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...
bsd-3-clause
clangen/musikcube
src/plugins/server/HttpServer.h
3204
////////////////////////////////////////////////////////////////////////////// // // 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...
bsd-3-clause
ASLANTORRET/rgktask
controllers/user/ProfileController.php
3088
<?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...
bsd-3-clause
sunlightlabs/read_FEC
fecreader/cron/load_step_1_findfilings.sh
788
#!/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...
bsd-3-clause
mirrorscotty/material-data
test/comsol/drying/regress.h
900
#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...
bsd-3-clause
silk/trac-childticketsplugin
childtickets/htdocs/css/childtickets.css
309
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; }
bsd-3-clause
alphaHeavy/cabal
cabal-install/Distribution/Client/Configure.hs
8529
----------------------------------------------------------------------------- -- | -- Module : Distribution.Client.Configure -- Copyright : (c) David Himmelstrup 2005, -- Duncan Coutts 2005 -- License : BSD-like -- -- Maintainer : cabal-devel@haskell.org -- Portability : portable -- ...
bsd-3-clause
samuel-suffos/matlab-parser
Matlab.Nodes/02 Node/02 Internal/02 Inner/00 Base/InnerNode.cs
2008
/* * [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...
bsd-3-clause
wettenhj/mytardis-swift-uploader
openrc.py
994
#!/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...
bsd-3-clause
novomirskoy/yii2gallery
views/image/_form.php
754
<?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...
bsd-3-clause
Magrit/miniature-ninja-agile-awesomeness
README.md
2673
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...
bsd-3-clause
silvercoredev/BlackbirdIS
1.0/src/BlackbirdIS/admin/vsession.php
319
<?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(); } ?>
bsd-3-clause
allaire/puma
test/test_puma_server.rb
7344
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 = ...
bsd-3-clause
ric2b/Vivaldi-browser
chromium/ash/components/phonehub/fake_notification_access_manager.h
1547
// 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...
bsd-3-clause
HEG-Arc/Appagoo
appagoo/config/__init__.py
288
# -*- 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
bsd-3-clause
ChromiumWebApps/chromium
ash/system/audio/tray_audio.h
1910
// 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...
bsd-3-clause
Laar/opengl-xmlspec
src/Text/OpenGL/Xml/ReadRegistry.hs
1468
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...
bsd-3-clause
caleb-eades/CEDestinySDK
CEDestinySDK/CEDestinySDK.h
543
// // 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...
bsd-3-clause
SkReD/history.js
scripts/uncompressed/history.js
50992
/** * 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"; // =============================================...
bsd-3-clause
geekcups-team/spree_auto_invoice
lib/spree_auto_invoice/railtie.rb
188
require 'spree_auto_invoice' require 'rails' module SpreeAutoInvoice class Railtie < Rails::Railtie rake_tasks do require '../tasks/spree_auto_invoice.rake' end end end
bsd-3-clause
VampireMe/admin-9939-com
frontend/views/article/detail_below.php
5416
<?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, ...
bsd-3-clause
endlessm/chromium-browser
components/optimization_guide/hints_processing_util_unittest.cc
4247
// 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...
bsd-3-clause
endlessm/chromium-browser
chrome/browser/ui/extensions/settings_api_bubble_helpers.cc
6229
// 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...
bsd-3-clause
magicDGS/gatk
src/test/java/org/broadinstitute/hellbender/engine/DummyPlaceholderGatkTool.java
1099
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...
bsd-3-clause
ilc-opensource/io-js
target/device/libio/arduino/x86/libraries/Ethernet/EthernetServer.cpp
4266
// 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" } #...
bsd-3-clause
e1528532/libelektra
src/tools/rest-frontend/resources/assets/js/directives/permission/HasRankDirective.js
571
'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....
bsd-3-clause
cryptopony/jrandtest
src/com/fasteasytrade/jrandtest/algo/QuadraticResidue1Prng.java
4818
/* * 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...
bsd-3-clause
danakj/chromium
third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp
16837
/* * 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...
bsd-3-clause
boomerdigital/solidus_marketplace
app/models/spree/user_decorator.rb
400
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 ...
bsd-3-clause
bhell/jimi
jimi/jimi/price/models/discount.py
478
# 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...
bsd-3-clause
Livit/CefSharp
CefSharp.Test/WebBrowserTestExtensions.cs
4472
// 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...
bsd-3-clause
foxoffire33/testList
console/migrations/m160407_113339_vraagenAndAwnserFixjes.php
414
<?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', '...
bsd-3-clause
Null665/partmod
wxGUI/ctrl_partition.h
1412
#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...
bsd-3-clause
mawenbao/pelican-blog-content
content/code/music-api-server-readme.md
3530
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`变量是否正确设置,如果未设...
bsd-3-clause
c9s/php-SerializerKit
tests/XmlSerializerTest.php
715
<?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( ...
bsd-3-clause
smn/blinky
docs/Makefile
7409
# 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...
bsd-3-clause
sebcrozet/nphysics
src/solver/contact_model.rs
1526
#![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...
bsd-3-clause
bergmark/Cactus
module/Core/lib/Data/Money.js
6415
/** * @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 ...
bsd-3-clause
lixinyancici/code-for-learning-cpp
cppbasic/Shape.cpp
796
#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() ..."...
bsd-3-clause
jupyter/jupyter-js-filebrowser
src/browser.ts
5682
// 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...
bsd-3-clause
mowema/verano
vendor/zendframework/zendframework/tests/ZendTest/Mvc/Controller/Plugin/TestAsset/AuthenticationAdapter.php
761
<?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...
bsd-3-clause
malikeox/mymltda2
models/SolicitudPrestamo.php
1651
<?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...
bsd-3-clause
rogerevansbrighton/nimrodel
nimrodel/api.pl
604
% 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...
bsd-3-clause
rward/BookSkateMate
app/views/myRequests.scala.html
4688
@(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...
bsd-3-clause
ygpark2/docpad_test
src/documents/10000/2014/05/18/8_1_56.html.md
949
--- title: "8차 천일 결사 1차 백일 기도 정진 56일째" date: 2014-05-18 08:01:52 tags: - 8000th - 8-100th - 56th --- #수행일지 남에 마음에 노력하기 위한 저 자신을 봅니다. 어릴때 부모님 특히 엄마를 볼 수 있는 시간이 부족해서 전 사랑고파병이 있습니다. 그래서 누구든지 그 사람의 마음에 들기 위해서 무의식적으로 노력하고 있는 저를 봅니다. 이것을 알아차리니 이제 남의 마음에 들지 않기 위해서 노력하고 있는 저를 봅니다. 저는 양 극단을 헤메이고 있습니다. 부처님이 말씀하신 마음...
bsd-3-clause
mixartemev/hd
models/Comment.php
1500
<?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...
bsd-3-clause
dterei/Scraps
html/ligs/b.html
638
<!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. ...
bsd-3-clause
robclark/chromium
chrome/browser/net/sdch_dictionary_fetcher.cc
3016
// 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...
bsd-3-clause
201528013359030/partyqing2
backend/views/layouts/main.php
2292
<?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...
bsd-3-clause
nschloe/seacas
packages/seacas/libraries/mapvarlib/seton0.f
5382
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...
bsd-3-clause
angulardart/angular_components
angular_components/lib/material_yes_no_buttons/material_yes_no_buttons.html
1245
<!-- 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...
bsd-3-clause
iig-uni-freiburg/WOLFGANG
src/de/uni/freiburg/iig/telematik/wolfgang/properties/check/CWNPropertyCheckView.java
5138
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...
bsd-3-clause
bdezonia/zorbage
src/main/java/nom/bdezonia/zorbage/algorithm/InvFFT.java
3423
/* * 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...
bsd-3-clause
breuderink/psychic
psychic/plots.py
1878
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...
bsd-3-clause
Term1nal/gifvbot
db.go
5499
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() { ...
bsd-3-clause
smartMao/Library-Management-System
web/css/dropDownGlobal/default.css
5505
@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...
bsd-3-clause
monnetproject/coal
nlp.sim/src/main/java/eu/monnetproject/sim/entity/MaximumAverageLevenshtein.java
4639
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...
bsd-3-clause
manachyn/imshop
themes/imshop/vendors/universal/portfolio-detail.html
45512
<!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=...
bsd-3-clause
EmergentOrder/magma
src/dgels_gpu.cpp
4392
/* -- 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...
bsd-3-clause
md100play/AudioDidact
src/userPageGenerator.php
3652
<?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...
bsd-3-clause
cwyark/v2ex
src/template/portion/topic_replies.html
1795
{% 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...
bsd-3-clause
dlsocool/dcx
Classes/dcxtab.cpp
29210
/*! * \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...
bsd-3-clause
jonhare/COMP3204
app/src/main/java/uk/ac/soton/ecs/comp3204/l3/MeanCenteredFacesDemo.java
2176
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 ...
bsd-3-clause
salesforce/Argus
ArgusCore/src/main/java/com/salesforce/dva/argus/service/mq/kafka/Consumer.java
424
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>...
bsd-3-clause
drasch/mogilefs-client
test/fresh.rb
6811
# -*- 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) @...
bsd-3-clause
tylereaves/26md
setlist/migrations/0013_show2.py
970
# -*- 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=[ ...
bsd-3-clause
netogallo/XHints
src/XMonad/Actions/XHints/Render.hs
1227
{-# 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...
bsd-3-clause
aneeshd16/parse-server
src/RestQuery.js
17157
// 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 // ...
bsd-3-clause