repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
certeu/do-portal
app/api/abusehelper.py
5478
from flask import request, current_app, url_for from flask_jsonschema import validate from .. import db from ..models import AHBot as Bot from .decorators import json_response from . import api @api.route('/abusehelper', methods=['GET']) @json_response def get_abusehelper(): """Return a list of available abusehel...
bsd-3-clause
TATRC/KMR2
Services/Common/XDSCommonLib/src/main/java/gov/hhs/fha/nhinc/common/dda/GetDetailDataForUserRequestType.java
4397
/* * TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION * Copyright (c) 2008, Nationwide Health Information Network (NHIN) Connect. All rights reserved. * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * -...
bsd-3-clause
ovh/cds
contrib/uservices/badge/src/web.rs
1331
use actix::Addr; use actix_web::{http, middleware}; use actix_web::{web, App, HttpServer}; use diesel::r2d2::{self, ConnectionManager}; use diesel::PgConnection; use crate::database::DbExecutor; use badge::handlers::badge_handler; // use run::handlers::run_handler; use status::handlers::status_handler; pub type Poo...
bsd-3-clause
dadisigursveinn/VEF-Lokaverkefni
myphotos/admin.py
118
from django.contrib import admin # Register your models here. from .models import Photos admin.site.register(Photos)
bsd-3-clause
AppSecurityApi/com-intel-security-cordova-plugin
src/ios/xss_log.h
2689
#ifndef SSERVICE_LOGGER_H #define SSERVICE_LOGGER_H /****************************************************************************** "Copyright (c) 2015-2015, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the followi...
bsd-3-clause
TonyBrewer/OpenHT
tests/bug_ngram/src_pers/PersBug_src.cpp
261
#include "Ht.h" #include "PersBug.h" void CPersBug::PersBug() { if (PR_htValid) { switch (PR_htInst) { case BUG_RTN: { if (SendReturnBusy_htmain()) { HtRetry(); break; } SendReturn_htmain(); } break; default: assert(0); } } }
bsd-3-clause
tommy-u/chaco
chaco/tools/tests/better_zoom_test_case.py
1537
# Copyright (c) 2014, Enthought, Inc. # All rights reserved. # # This software is provided without warranty under the terms of the BSD # license included in LICENSE.txt and may be redistributed only # under the conditions described in the aforementioned license. The license # is also available online at http://www.ent...
bsd-3-clause
hyperverse/mini2Dx
core/src/main/java/org/mini2Dx/core/di/exception/BeanException.java
1761
/** * Copyright (c) 2015 See AUTHORS file * 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...
bsd-3-clause
wsldesigner/Rvk-web
module/Ordemservico/src/Ordemservico/Form/View/Helper/FormElementErros.php
746
<?php /** * Created by PhpStorm. * User: wesley * Date: 03/01/15 * Time: 10:04 */ namespace Ordemservico\Form\View\Helper; use Zend\Form\ElementInterface; use Zend\Form\View\Helper\FormElementErrors; class FormElementErros extends FormElementErrors { public function render(ElementInterface $element, array...
bsd-3-clause
atreyu3/UER
views/transaccionrefaccion/reportejecutivo.php
5710
<?php use yii\helpers\Html; use yii\bootstrap\Modal; use yii\bootstrap\ButtonGroup; use yii\widgets\Menu; use yii\widgets\Pjax; use kartik\export\ExportMenu; use kartik\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel app\models\TransaccionrefaccionSearch */ /* @var $dataProvider yii\data\ActiveData...
bsd-3-clause
snowball-one/cid
docs/Makefile
626
# Minimal makefile for Sphinx documentation # # You can set these variables from the command line. SPHINXOPTS = SPHINXBUILD = sphinx-build SPHINXPROJ = DjangoCorrelationId SOURCEDIR = . BUILDDIR = ../build/sphinx # Put it first so that "make" without argument is like "make help". help: @$(SPHINXBUIL...
bsd-3-clause
GaloisInc/hacrypto
src/Java/BouncyCastle/bcpkix-jdk15on-152/javadoc/org/bouncycastle/cert/selector/X509AttributeCertificateHolderSelectorBuilder.html
20476
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_75) on Sun Mar 01 12:04:16 AEDT 2015 --> <title>X509AttributeCertificateHolderSelectorBuilder (Bouncy Castle Library 1.52 API Specifica...
bsd-3-clause
callcocam/zf2-puro
public_html/admin_assets/icheck/skins/square/square.css
1506
/* iCheck plugin Square skin, black ----------------------------------- */ .icheckbox_square, .iradio_square { display: inline-block; *display: inline; vertical-align: middle; margin: 0; padding: 0; width: 22px; height: 22px; background: url(square.png) no-repeat; border:...
bsd-3-clause
massmutual/py4jdbc
tests/test_Cursor.py
3513
import pytest from py4jdbc.dbapi2 import connect, Connection from py4jdbc.resultset import ResultSet from py4jdbc.exceptions.dbapi2 import Error def test_connect(gateway): url = "jdbc:derby:memory:testdb;create=true" conn = connect(url, gateway=gateway) cur = conn.cursor() rs = cur.execute("select * ...
bsd-3-clause
OSSIndex/auditjs
.github/CONTRIBUTING.md
1183
## How to be a contributor to this project ### Are you submitting a pull request? * Make sure to fill out an issue for your PR, so that we have traceability as to what you are trying to fix, versus how you fixed it. * Spaces (not tabs), and 2 of them, that's what we like. Set your code style :) * Sign the [Sonatype C...
bsd-3-clause
ItsAsbreuk/writestream-promise
README.md
91
# writestream-promise Adds WriteStream.itsa_endPromise(): WriteStream.end() as a Promise.
bsd-3-clause
pradyunsg/Py2C
py2c/tree/tests/test_visitors.py
5659
"""Unit-tests for `tree.visitors` """ from py2c import tree from py2c.tree import visitors from py2c.tests import Test, data_driven_test from nose.tools import assert_equal # TEST:: Add non-node fields # ============================================================================= # Helper classes # ==============...
bsd-3-clause
CarlosTrinidad/VentanaIOT
views/window/_search.php
913
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\WindowSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="window-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', ]); ?> <?= $...
bsd-3-clause
baharev/apidocfilter
check.py
702
from importlib import import_module from inspect import getdoc def attribs(name): mod = import_module(name) print name print 'Has __all__?', hasattr(mod, '__all__') print 'Has __doc__?', hasattr(mod, '__doc__') print 'doc: ', getdoc(mod) if __name__=='__main__': attribs('cairo') attrib...
bsd-3-clause
epl-viz/EPL-Viz
libEPLViz/src/stats/Statistics.cpp
3110
#include "Statistics.hpp" #include "CaptureInstance.hpp" #include "MainWindow.hpp" #include "ui_Statistics.h" using namespace EPL_Viz; using namespace EPL_DataCollect; Statistics::Statistics(MainWindow *parent) : QDialog(parent), ui(new Ui::Statistics), mw(parent) { ui->setupUi(this); refresh(); } Statistics::~S...
bsd-3-clause
flipside-org/penny-harvest
_posts/organizations/2015-01-12-O1135.md
1408
--- layout: organization category: national title: Sereolipi Nomadic Education Foundation Inc. impact_area: Children keywords: location_services: location_offices: website: www.thorntreeproject.org description: mission: | Our mission is to help educate the children of traditional nomadic families in Northern Sa...
bsd-3-clause
AqlaSolutions/JustLogic
Assets/JustLogicUnits/Generated/Vectors/JLVector4SqrMagnitude.cs
2210
/* This file is a part of JustLogic product which is distributed under the BSD 3-clause "New" or "Revised" License Copyright (c) 2015. All rights reserved. Authors: Vladyslav Taranov. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following...
bsd-3-clause
epri-dev/PT2
Documents/javadoc/index-files/index-9.html
15240
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_20) on Sat Oct 20 16:08:50 CDT 2012 --> <TITLE> I-Index </TITLE> <META NAME="date" CONTENT="2012-10-20"> <LINK REL ="stylesheet" TYPE="text/css" HR...
bsd-3-clause
paulcwatts/dominion
dominion/base.py
1060
class Requirement(object): """ Requirements are the basis for Dominion. They define what needs to exist on a host/role, or perhaps what *mustn't* exist. Requirements are defined on Roles. """ creation_counter = 0 "The base class for requirements." def __init__(self, required=True, en...
bsd-3-clause
snowpine/qanswer
modules/user/views/view/_view-reputation.php
4322
<?php use app\components\Formatter; use yii\helpers\Html; ?> <div class="rep-wrapper"> <div id="stats"> <div id="rep-page-container"> <table class="rep-table"> <tbody> <?php foreach ($reputes as $date => $repute): ?> <tr cla...
bsd-3-clause
FelixZhang00/rudix
Ports/libzip/Makefile
304
include ../../Library/GNU.mk Title= libzip Name= libzip Version= 0.12.2 Revision= 0 Site= http://nih.at/libzip/ Source= http://nih.at/libzip//$(Name)-$(Version).tar.bz2 License= BSD LicenseFile= $(SourceDir)/LICENSE define test_inner_hook /usr/local/bin/zipcmp -h /usr/local/bin/zipmerge -h endef
bsd-3-clause
heroku/docker-registry-client
registry/registry.go
2915
package registry import ( "crypto/tls" "fmt" "log" "net/http" "strings" ) type LogfCallback func(format string, args ...interface{}) /* * Discard log messages silently. */ func Quiet(format string, args ...interface{}) { /* discard logs */ } /* * Pass log messages along to Go's "log" module. */ func Log(f...
bsd-3-clause
MR-CoAP/CoAP
src/com/sap/coap/Message.java
26430
/* CoAP on Moterunner Demonstration * Copyright (c) 2013-2014, SAP AG * 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 *...
bsd-3-clause
Misterblue/LookingGlass-Viewer
src/LookingGlassOgre/OLPreloadArchive.cpp
6141
/* Copyright (c) Robert Adams * 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 following disclaimer...
bsd-3-clause
solanolabs/rply
tests/test_ztranslation.py
2200
import py try: from pypy.rpython.test.test_llinterp import interpret except ImportError: py.test.skip('Needs PyPy to be on the PYTHONPATH') from rply import ParserGenerator, Token from rply.errors import ParserGeneratorWarning from .base import BaseTests from .utils import FakeLexer, BoxInt, ParserState cl...
bsd-3-clause
weijiansdlx/aliyun
aliyun-log-php-sdk-master/docs/classes/Aliyun_Sls_Models_ListLogstoresRequest.html
9786
<!DOCTYPE html><html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"> <meta charset="utf-8"> <title>SLS_PHP_SDK » \Aliyun_Log_Models_ListLogstoresRequest</title> <meta name="a...
bsd-3-clause
mediainaf/AppINAFAndroid
app/src/main/java/it/inaf/android/DateFormatter.java
1724
/* Copyright (c) 2014 Andrea Zoli. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ package it.inaf.android; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Locale; public class DateFormatter { pub...
bsd-3-clause
nwjs/chromium.src
media/gpu/test/video_player/test_vda_video_decoder.h
5650
// 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. #ifndef MEDIA_GPU_TEST_VIDEO_PLAYER_TEST_VDA_VIDEO_DECODER_H_ #define MEDIA_GPU_TEST_VIDEO_PLAYER_TEST_VDA_VIDEO_DECODER_H_ #include <stdint.h> #include ...
bsd-3-clause
Rathilesh/FMS_V1
protected/views/layouts/main-9-jan-2014.php
26894
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <?php //Get Controller Action name $action_ = Yii::app()->controller->action->id; if($action_=='login') { ...
bsd-3-clause
grammarware/slps
topics/grammars/bibtex/bibtex-1.2/Makefile
90
extract: ${tooldir}/ecore2bgf BIBTEXML.ecore grammar.bgf include ../../Makefile.grammar
bsd-3-clause
conal/DeepArrow
src/Data/FunArr.hs
2075
{-# LANGUAGE TypeOperators, MultiParamTypeClasses, FunctionalDependencies , UndecidableInstances #-} -- For ghc 6.6 compatibility -- {-# OPTIONS -fglasgow-exts -fallow-undecidable-instances #-} ---------------------------------------------------------------------- -- | -- Module : Data.FunArr -- Cop...
bsd-3-clause
unicef-zambia/zambia-ureport
docs/conf.py
7753
# -*- coding: utf-8 -*- # # zambiaureport documentation build configuration file, created by # sphinx-quickstart. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All configuration values ...
bsd-3-clause
The-Charge/SirLancebot2016
src/org/usfirst/frc2619/SirLancebot2016/commands/CrossRockWallCG.java
1844
// RobotBuilder Version: 2.0 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the blocks...
bsd-3-clause
lulyon/poj-archive
emperorlu/3278/3841255_WA.cc
1548
#include<iostream> using namespace std; int n,k; const int maxn=100010; bool b[2*maxn]; struct { int num,cn; }queue[2*maxn]; int head,tail; void bfs() { b[n]=1; queue[0].num=n; queue[0].cn=1; while(head<=tail) { if(queue[head].num==k) { prin...
bsd-3-clause
frankpaul142/optica-los-andes
models/Contact.php
1347
<?php namespace app\models; use Yii; /** * This is the model class for table "contact". * * @property integer $id * @property string $type * @property string $name * @property string $lastname * @property string $email * @property string $cellphone * @property string $message * @property string $identity ...
bsd-3-clause
egaburov/agency
testing/executor/sequenced_executor.cpp
1773
#include <iostream> #include <type_traits> #include <vector> #include <cassert> #include <agency/execution/executor/sequenced_executor.hpp> #include <agency/execution/executor/executor_traits.hpp> int main() { using namespace agency; static_assert(is_bulk_synchronous_executor<sequenced_executor>::value, "seq...
bsd-3-clause
SimVascular/VTK
Common/Core/vtkBitArray.h
11213
/*========================================================================= Program: Visualization Toolkit Module: vtkBitArray.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is dis...
bsd-3-clause
liangwang/m5
src/mem/ruby/system/PersistentTable.hh
3532
/* * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood * 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 l...
bsd-3-clause
Tokebluff/RightField
src/main/java/uk/ac/manchester/cs/owl/semspreadsheets/model/NamedRange.java
595
/******************************************************************************* * Copyright (c) 2009-2012, University of Manchester * * Licensed under the New BSD License. * Please see LICENSE file that is distributed with the source code *************************************************************************...
bsd-3-clause
NCIP/caadapter
software/caadapter/src/java/gov/nih/nci/caadapter/sdtm/util/Entity.java
1371
/*L * Copyright SAIC, SAIC-Frederick. * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/caadapter/LICENSE.txt for details. */ package gov.nih.nci.caadapter.sdtm.util; /** * This class represents a entity * * @author OWNER: Harsha Jayanna * @author LAST UPDATE $Author: ...
bsd-3-clause
blinkmobile/forms
test/18_calculation/definitions.js
1923
define(function () { return [ { "default": { name: 'form1', label: 'Form 1', "_elements": [ { "default": { "name": "id", "type": "hidden" } }, { "default": { "name": "test1", ...
bsd-3-clause
alaricsp/chicken-scheme
benchmarks/others/exception.cpp
314
#include <stdio.h> #include <stdlib.h> static void foo() { throw 123; } int main(int argc, char *argv[]) { int count = argc == 1 ? 10000 : atoi(argv[ 1 ]); int n = 0; for(int i = 0; i < count; ++i) { try { foo(); } catch(...) { ++n; } } printf("%d\n", n); return 0; }
bsd-3-clause
ericmjl/bokeh
bokeh/io/output.py
4608
#----------------------------------------------------------------------------- # Copyright (c) 2012 - 2020, Anaconda, Inc., and Bokeh Contributors. # All rights reserved. # # The full license is in the file LICENSE.txt, distributed with this software. #-------------------------------------------------------------------...
bsd-3-clause
kazu-yamamoto/unix-time
test/doctests.hs
282
module Main where import Build_doctests (flags, pkgs, module_sources) import Data.Foldable (traverse_) import Test.DocTest (doctest) main :: IO () main = do traverse_ putStrLn args doctest args where args = ["-XOverloadedStrings"] ++ flags ++ pkgs ++ module_sources
bsd-3-clause
jhellerstein/crocus
test/tc_minibloom.rb
4706
require './test_common.rb' require '../lib/crocus/minibloom' class TestMiniBloom < Test::Unit::TestCase def test_single_push results = [] mb = MiniBloom.new mb.source('p1',1) mb.p1.pro {|i| results << [2*i[0]]} mb.p1 << [2] assert_equal([4], results.pop) end def test_single_table resu...
bsd-3-clause
daonb/obudget
data/queries/results/result-2005-73.html
24557
<!-- %BD_HTML%/SearchResult.htm --> <HTML> <HEAD> <meta http-equiv="Content-Type" content="text/html; charset=windows-1255"> <TITLE>úåöàú àéðèøðè - Takanot File</TITLE> </HEAD> <style> <!-- TR.A_Table {font-color:#3e6ea6; background-color: #f7f9fb; font-size:11;font-family: Arial,} TR.B_Table {font-c...
bsd-3-clause
timopulkkinen/BubbleFish
media/audio/mac/audio_low_latency_output_mac.cc
15052
// 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 "media/audio/mac/audio_low_latency_output_mac.h" #include <CoreServices/CoreServices.h> #include "base/basictypes.h" #include "base/command...
bsd-3-clause
tongmckub/yii2-asset-vih-final
frontend/views/computer-vih/create.php
468
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model common\models\ComputerVih */ $this->title = Yii::t('app', 'Create Computer Vih'); $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Computer Vihs'), 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="c...
bsd-3-clause
boo1ean/NordCms
CmsModule.php
1428
<?php /** * CmsModule class file. * @author Christoffer Niska <christoffer.niska@nordsoftware.com> * @copyright Copyright &copy; 2011, Nord Software Ltd * @license http://www.opensource.org/licenses/bsd-license.php New BSD License * @package cms */ class CmsModule extends CWebModule { /** * @var string the na...
bsd-3-clause
smartdevicelink/sdl_mobileweather_tutorial_ios
Pods/SmartDeviceLink/SmartDeviceLink/SDLRegisterAppInterface.h
13759
// SDLRegisterAppInterface.h // #import "SDLRPCRequest.h" #import "SDLAppHMIType.h" #import "SDLLanguage.h" @class SDLAppInfo; @class SDLDeviceInfo; @class SDLLifecycleConfiguration; @class SDLSyncMsgVersion; @class SDLTemplateColorScheme; @class SDLTTSChunk; /** * Registers the application's interface with SDL. ...
bsd-3-clause
Michelle941/v1.0
views/site/_buyTicketForm.php
723
<style> .buy-tickets__title{margin: 10px; width: 6%; margin-left: 0px;} .buy-tickets__title.ticket-title{width: 50%;} .buy-tickets__title.flash{width: 15%;} .buy-tickets__title.flash-price{width: 11%;} .form .input__number .input__number-control.sold-out{ width: 80px;height: 10px;margin: 5px;} p...
bsd-3-clause
youtube/cobalt
third_party/v8/test/cctest/test-verifiers.cc
7485
// Copyright 2020 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. // These tests check that Torque-generated verifier functions crash the process // when encountering data that doesn't fit the Torque type definitions. ...
bsd-3-clause
educalleja/mezzanine-developer-extension
mezzanine_developer_extension/templatetags/devfilters.py
1349
from django import template from django.utils.safestring import mark_safe from mezzanine.conf import settings from mezzanine_developer_extension.utils import refactor_html register = template.Library() # Checking settings.TEMPLATE_STYLE. # Possible values are: # - mezzanine_developer_extension.styles.macos # -...
bsd-3-clause
hirakuni45/R8C
common/comp_io.hpp
3845
#pragma once //=====================================================================// /*! @file @brief R8C グループ・コンパレーター I/O 制御 @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2015, 2017 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/R8C/blob/master/LICENSE...
bsd-3-clause
bigdawg-istc/bigdawg
src/main/cmigrator/commands_scidb2postgres.sh
155
./scidb2postgres -i data/fromSciDBIntDoubleString.bin -o data/toPostgresIntDoubleString.bin -f'int32_t,int32_t null,double,double null,string,string null'
bsd-3-clause
dandahle/Catalyst-AppVetting
MongoUpdate.md
422
To update Mongo to Version 4.0 you must first upgrade to 3.6 then to version 4.0 as follows 1. Install 3.6 Binary 2. Close mongo and mongod 3. Start mongo and mongod in 3.6 bin folder 4. run command db.adminCommand({setFeatureCompatibilityVersion: "3.6"}) 1. Install 4.0 Binary 2. Close mongo and mongod 3. Start mongo...
bsd-3-clause
mrmichalis/libtorrent-code
src/http_tracker_connection.cpp
16622
/* Copyright (c) 2003-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 ...
bsd-3-clause
johannilsson/zfgem
library/Gem/Manipulator/Adapter/Thumbnail.php
2242
<?php /** * Gem - File Uploading for Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE. * * @category Gem * @package Gem_Manipulator * @copyright Copyright (c) 2008 Johan Nilsson. (http://www.markupartist.com) * @li...
bsd-3-clause
171906502/wetM2.0
backend/modules/core/views/rule/view.php
1266
<?php use yii\helpers\Url; ?> <div class="bjui-pageContent"> <form action="<?= Url::toRoute([$model?'update':'create','name'=>$model?$model->name:'']) ?>" id="user_form" data-toggle="validate" data-alertmsg="false"> <input name="_csrf" type="hidden" id="_csrf" value="<?= Yii::$app->request->csrfToken ?>"> ...
bsd-3-clause
mattjr/seafloorexplore
BenthosLibraryTableCell.h
718
// // BenthosLibraryTableCell.h // SeafloorExplore // // Modified from Brad Larson's Molecules Project in 2011-2012 for use in The SeafloorExplore Project // // Copyright (C) 2012 Matthew Johnson-Roberson // // See COPYING for license details // // Molecules // // The source code for Molecules is available und...
bsd-3-clause
eclipsesource/tabris-js
doc/migration-guide.md
13317
--- --- # Migration Guide 2.x to 3.0 ## General ### Removed ui object The `ui` object (`tabris.ui`) and `Ui` class no longer exist. All properties formerly hosted by `ui` are now directly attached to the `tabris` object/namespace. Example: Tabris 2.x ```js import {ui} from 'tabris'; ui.contentView.background = 're...
bsd-3-clause
1stsetup/spksrc
cross/znc/modules/urlbuffer.cpp
12622
/* Copyright (C) 2011 uberspot * * Compiling: znc-buildmod urlbuffer.cpp * Dependencies: curl, wget, sed and a unix environment. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3 as published * by the Free Software Foundation (http...
bsd-3-clause
villagres/website
public/administracao/app/views/admin3/texto/cadastra.blade.php
1284
@extends('layout.master') @section('title','Administração') @section('content') @include('layout.topo') <div class="row"> @include('layout.menu') <div class="col-md-9"> <div class="row"> <div class="col-md-12"> <h1>Cadastro de Textos</h1> </div> </div> <form action="{{Route('admin.gravaTex...
bsd-3-clause
ella/django-event-tracker
eventtracker/models.py
1073
from datetime import datetime from pymongo.connection import Connection from django.db import models from eventtracker.conf import settings def get_mongo_collection(): "Open a connection to MongoDB and return the collection to use." if settings.RIGHT_MONGODB_HOST: connection = Connection.paired( ...
bsd-3-clause
zcbenz/cefode-chromium
ash/display/display_controller.cc
26202
// 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/display/display_controller.h" #include <algorithm> #include "ash/ash_switches.h" #include "ash/display/display_manager.h" #include "as...
bsd-3-clause
NCIP/caintegrator
caintegrator-war/test/src/gov/nih/nci/caintegrator/web/action/study/management/EditStudyLogActionTest.java
3632
/** * Copyright 5AM Solutions Inc, ESAC, ScenPro & SAIC * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/caintegrator/LICENSE.txt for details. */ package gov.nih.nci.caintegrator.web.action.study.management; import static org.junit.Assert.assertEquals; import static org...
bsd-3-clause
thesoupgirl/PlanIt
node_modules/aws-dynamodb/node_modules/aws-sdk/README.md
11021
# AWS SDK for JavaScript [![NPM](https://nodei.co/npm/aws-sdk.svg?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/aws-sdk/) [![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.svg)](https://gitter.im/aws/aws-sdk-js) [![Version](https://badge.fury.io/js/aws-sdk.svg)](http://badge.fury.io/js/aw...
bsd-3-clause
greezybacon/xmlconfig
test/testImport.py
4610
# encoding: utf-8 import sys sys.path.append(sys.path.insert(0,"../src")) def urlopen(*args, **kwargs): # Only parse one arg: the url return Urls[args[0]] # Provide a simple hashtable to contain the content of the urls and # provide a mock object similar to what will be returned from the # real urlopen() fu...
bsd-3-clause
youtube/cobalt
cobalt/layout_tests/testdata/css3-background/4-0-different-border-widths-with-solid-border-style.html
493
<!DOCTYPE html> <!-- | Setting the 4 different border widths for 4 directions. border-top-width | would be default width. | https://www.w3.org/TR/css3-background/#border-width --> <html> <head> <style> div { border: solid; border-color: blue; border-left-width: 20px; border-bottom-wi...
bsd-3-clause
simodalla/pympa-affarigenerali-OLD
docs/conf.py
8210
# -*- coding: utf-8 -*- # # complexity documentation build configuration file, created by # sphinx-quickstart on Tue Jul 9 22:26:36 2013. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # ...
bsd-3-clause
rpax/straightedge
src/main/java/straightedge/geom/vision/CollinearOverlap.java
2372
/* * Copyright (c) 2008, Keith Woodward * * 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 c...
bsd-3-clause
maxcastroro/clase03
module/Application/config/module.config.php
4225
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD Lic...
bsd-3-clause
Aztechs157/ProtoBot2017
src/org/usfirst/frc157/ProtoBot2017/RobotMap.java
3913
// RobotBuilder Version: 2.0 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the block...
bsd-3-clause
gamersmafia/gamersmafia
test/functional/cuenta/competiciones_controller_test.rb
6668
# -*- encoding : utf-8 -*- require 'test_helper' class Cuenta::CompeticionesControllerTest < ActionController::TestCase test "should_see_configuration_page_of_every_competition" do u = User.find(1) sym_login 1 competitions = [] # Usamos random porque hay 361 combinaciones posibles de competicione...
bsd-3-clause
boboguessme/cold_grinder
node/lib/metasm/metasm/x86_64/main.rb
4044
# This file is part of Metasm, the Ruby assembly manipulation suite # Copyright (C) 2006-2009 Yoann GUILLOT # # Licence is LGPL, see LICENCE in the top-level directory require 'metasm/main' require 'metasm/ia32' module Metasm # The x86_64, 64-bit extension of the x86 CPU (x64, em64t, amd64...) class X86_64...
bsd-3-clause
mrahnis/jxl2txt
jxl2txt/_version.py
18658
# This file helps to compute a version number in source trees obtained from # git-archive tarball (such as those provided by githubs download-from-tag # feature). Distribution tarballs (built by setup.py sdist) and build # directories (produced by setup.py build) will contain a much shorter file # that just contains t...
bsd-3-clause
daonb/obudget
data/queries/results/result-2006-06.html
41078
<!-- %BD_HTML%/SearchResult.htm --> <HTML> <HEAD> <meta http-equiv="Content-Type" content="text/html; charset=windows-1255"> <TITLE>úåöàú àéðèøðè - Takanot File</TITLE> </HEAD> <style> <!-- TR.A_Table {font-color:#3e6ea6; background-color: #f7f9fb; font-size:11;font-family: Arial,} TR.B_Table {font-c...
bsd-3-clause
sminnee/silverstripe-rssaggregator
code/RSSAggregatingPage.php
5295
<?php /** * RSSAggregatingPage lets a CMS Authors aggregate and filter a number of RSS feed. */ class RSSAggregatingPage extends Page { static $db = array ( "NumberOfItems" => "Int" ); static $has_many = array( "SourceFeeds" => "RSSAggSource", "Entries" => "RSSAggEntry" ); private static $moderation...
bsd-3-clause
arsenovic/clifford
clifford/g3c.py
240
from . import Cl, conformalize layout_orig, blades_orig = Cl(3) layout, blades, stuff = conformalize(layout_orig) locals().update(blades) locals().update(stuff) # for shorter reprs layout.__name__ = 'layout' layout.__module__ = __name__
bsd-3-clause
EddyBeaupre/Renci.SshNet
Channels/ServerChannel.cs
2118
using System; using Renci.SshNet.Messages.Connection; namespace Renci.SshNet.Channels { internal abstract class ServerChannel : Channel { internal void Initialize(Session session, uint localWindowSize, uint localPacketSize, uint remoteChannelNumber, uint remoteWindowSize, uint remotePacketSize) ...
bsd-3-clause
mne-tools/mne-tools.github.io
0.15/generated/mne.find_events.html
40529
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>mne.find_events &#8212; MNE 0.15 documentation</title> <link rel="stylesheet" href="../_static/bootstrap-sphinx.css" type="text/css" /> <link rel="stylesheet...
bsd-3-clause
xiangpingeasy/yii2_fbg_shop
backend/views/shop-goods-category/create.php
446
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\models\ShopGoodsCategory */ $this->title = Yii::t('app', 'Create Shop Goods Category'); $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Shop Goods Categories'), 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title...
bsd-3-clause
patrickm/chromium.src
chrome/browser/chromeos/login/login_utils.cc
36738
// 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/chromeos/login/login_utils.h" #include <algorithm> #include <set> #include <vector> #include "base/bind.h" #include "base/c...
bsd-3-clause
UCDenver-ccp/datasource
datasource-fileparsers/src/main/java/edu/ucdenver/ccp/datasource/fileparsers/snomed/SnomedRf2DescriptionFileRecord.java
3805
package edu.ucdenver.ccp.datasource.fileparsers.snomed; import edu.ucdenver.ccp.datasource.fileparsers.SingleLineFileRecord; /* * #%L * Colorado Computational Pharmacology's common module * %% * Copyright (C) 2012 - 2015 Regents of the University of Colorado * %% * Redistribution and use in source and binary fo...
bsd-3-clause
burnpanck/traits
traits/tests/test_property_delete.py
730
""" Unit tests to ensure that we can call reset_traits/delete on a property trait (regression tests for Github issue #67). """ from traits import _py2to3 from traits.api import Any, HasTraits, Int, Property, TraitError from traits.testing.unittest_tools import unittest class E(HasTraits): a = Property(Any) ...
bsd-3-clause
locnes/monstars
controllers/SiteController.php
2402
<?php namespace app\controllers; use app\models\ContactForm; use app\models\LoginForm; use Yii; use yii\filters\AccessControl; use yii\filters\VerbFilter; use yii\web\Controller; class SiteController extends Controller { public function behaviors() { return [ 'access' => [ ...
bsd-3-clause
juanjosegarciaripoll/cblapack
src/lapack/dlar1v.c
12170
/* dlar1v.f -- translated by f2c (version 20061008). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of...
bsd-3-clause
ElisDN/yii2-gii-fixture-generator
tests/Post.php
180
<?php namespace elisdn\gii\fixture\tests; use yii\db\ActiveRecord; class Post extends ActiveRecord { public static function tableName() { return 'post'; } }
bsd-3-clause
mattunderscorechampion/tree-root
trees-basic-nodes/src/test/java/com/mattunderscore/trees/base/MutableChildIteratorTest.java
1823
package com.mattunderscore.trees.base; import static org.junit.Assert.*; import static org.mockito.Mockito.verify; import static org.mockito.MockitoAnnotations.initMocks; import java.util.Iterator; import java.util.NoSuchElementException; import org.junit.Before; import org.junit.Test; import org.mockito.Mock; impo...
bsd-3-clause
Anubisss/osquery
osquery/tables/events/linux/hardware_events.cpp
2025
// Copyright 2004-present Facebook. All Rights Reserved. #include <vector> #include <string> #include <osquery/core.h> #include <osquery/logger.h> #include <osquery/tables.h> #include "osquery/events/linux/udev.h" namespace osquery { namespace tables { /** * @brief Track udev events in Linux */ class HardwareEve...
bsd-3-clause
scheib/chromium
chrome/browser/ui/webauthn/sheet_models.h
18896
// Copyright 2018 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 CHROME_BROWSER_UI_WEBAUTHN_SHEET_MODELS_H_ #define CHROME_BROWSER_UI_WEBAUTHN_SHEET_MODELS_H_ #include <memory> #include <string> #include "chro...
bsd-3-clause
mural/spm
SPM/src/main/java/com/spm/store/DbProvider.java
670
package com.spm.store; import java.io.Serializable; import java.util.List; import android.content.Context; /** * * @author Agustin Sgarlata * @param <T> */ public class DbProvider<T extends Serializable> extends Db4oHelper { public Class<T> persistentClass; public DbProvider(Class<T> persistentClass, Conte...
bsd-3-clause
ZachAnders/Graphics_HW5_lighting
src/main/scene_main.go
6411
package main /* * CSCI 4229 Assignment 5: Lighting * * Author: Zach Anders * * Some code derived from CSCI 4229 Examples 9, 10, and 13 (ex9.c, ex10.c, ex13.c) * * Code for 2D text display (due to missing windowpos2i) based off some example code * at http://programmingexamples.net/wiki/OpenGL/Text */ import ( "actor...
bsd-3-clause
consbio/ncdjango
ncdjango/interfaces/data/forms.py
195
from django import forms from ncdjango.interfaces.arcgis.form_fields import SrField class PointForm(forms.Form): x = forms.FloatField() y = forms.FloatField() projection = SrField()
bsd-3-clause
statsmodels/statsmodels.github.io
v0.13.1/generated/statsmodels.sandbox.regression.gmm.NonlinearIVGMM.endog_names.html
18305
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta ht...
bsd-3-clause