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
namespace Infrastructure.DataAccess.Migrations { using System; using System.Data.Entity.Migrations; public partial class usersupervisioninfoaddedtosysusage : DbMigration { public override void Up() { AddColumn("dbo.ItSystemUsage", "UserSupervisionDate", c => c.DateTime(n...
miracle-as/kitos
Infrastructure.DataAccess/Migrations/201802161536558_user supervision info added to sysusage.cs
C#
mpl-2.0
683
/* * Copyright © 2013-2020, The SeedStack authors <http://seedstack.org> * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package org.seedstack.i18n.rest.inter...
seedstack/i18n-function
rest/src/main/java/org/seedstack/i18n/rest/internal/infrastructure/csv/I18nCSVTemplateLoader.java
Java
mpl-2.0
2,205
<?php declare(strict_types=1); /* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ namespace ParkManager\Application\Command\User; use Rollerworks\Component\Sp...
park-manager/park-manager
src/Application/Command/User/ConfirmPasswordReset.php
PHP
mpl-2.0
551
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MovingPlatform : MonoBehaviour { public float moveSpeed; private float moveForce; public float limit; public bool vertical; public bool movingPlus; public Vector3 startPos; Rigidbody2D rb; // Use this for initializa...
apetersell/RPSX
RPSXUnity/Assets/Scripts/Level Stuff/MovingPlatform.cs
C#
mpl-2.0
1,165
// ======================================================================== // // Copyright 2009-2015 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); // // y...
KIKI007/ReusedPrinter
external/embree/kernels/xeon/bvh/bvh4_factory.cpp
C++
mpl-2.0
52,759
/** * Nooku Platform - http://www.nooku.org/platform * * @copyright Copyright (C) 2011 - 2014 Johan Janssens and Timble CVBA. (http://www.timble.net) * @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> * @link https://github.com/nooku/nooku-platform for the canonical source repository...
nooku/nooku-platform
component/attachments/resources/assets/js/attachments.list.js
JavaScript
mpl-2.0
4,062
/*! JointJS v3.4.1 (2021-08-18) - JavaScript diagramming library This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ this.joint = this.joint || {}; this.joint.shapes = this.j...
DavidDurman/joint
dist/joint.shapes.fsa.js
JavaScript
mpl-2.0
1,920
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ import { createStore, applyMiddleware } from 'redux'; import threadDispatcher from '../../common/thread-middleware...
squarewave/bhr.html
src/workers/summary/index.js
JavaScript
mpl-2.0
743
package org.hl7.v3; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ResponseMode. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * &lt;simpleType name="ResponseMode"> * &lt;restricti...
jembi/openhim-encounter-orchestrator
src/main/java/org/hl7/v3/ResponseMode.java
Java
mpl-2.0
754
#if BUILD_UNIT_TESTS #include "augs/misc/enum/enum_map.h" #include <Catch/single_include/catch2/catch.hpp> TEST_CASE("EnumMap") { enum class tenum { _0, _1, _2, _3, _4, COUNT }; augs::enum_map<tenum, int> mm; mm[tenum::_0] = 0; mm[tenum::_1] = 1; mm[tenum::_2] = 2; int cnt = 0; for (const auto&...
TeamHypersomnia/Augmentations
src/augs/misc/enum/enum_map.cpp
C++
agpl-3.0
1,737
//############################################################################# //# # //# Copyright (C) <2015> <IMS MAXIMS> # //# ...
IMS-MAXIMS/openMAXIMS
Source Library/openmaxims_workspace/DomainObjects/src/ims/core/clinical/domain/objects/NonUniqueTaxonomyMap.java
Java
agpl-3.0
14,623
/* * Licensed to ElasticSearch and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. ElasticSearch licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you may...
exercitussolus/yolo
src/main/java/org/elasticsearch/index/analysis/AnalysisService.java
Java
agpl-3.0
14,624
<?php /** * Smarty Internal Plugin Compile Make_Nocache * Compiles the {make_nocache} tag * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile Make_Nocache Class * * @package Smarty * @subpackage Compiler */ class Smarty_Internal_Compile_Make_Nocac...
WWXD/WorldWeb-XD
lib/smarty/sysplugins/smarty_internal_compile_make_nocache.php
PHP
agpl-3.0
1,773
<?php /* * Copyright 2007-2017 Charles du Jeu - Abstrium SAS <team (at) pyd.io> * This file is part of Pydio. * * Pydio is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, o...
pydio/pydio-core
core/src/plugins/core.conf/i18n/conf/es.php
PHP
agpl-3.0
7,509
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\HttpKernel\Profiler; use Symfony\Component\HttpKernel...
KWZwickau/KREDA-Sphere
Library/MOC-V/Component/Router/Vendor/Symfony/Component/HttpKernel/Profiler/Profile.php
PHP
agpl-3.0
5,311
# session module tests # # Copyright (C) 2012-2013 Mohammed Morsi <mo@morsi.org> # Licensed under the AGPLv3 http://www.gnu.org/licenses/agpl.txt require 'spec_helper' require 'timecop' require 'users/session' module Users describe Session do after(:all) do Timecop.return end describe "#initialize" do ...
movitto/omega
spec/users/session_spec.rb
Ruby
agpl-3.0
2,513
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import IconButton from './icon_button'; import DropdownMenu from './dropdown_menu'; import { defineMessages, injectIntl } from 'react-intl'; import ImmutablePureComponent from 'react-immutable-pure...
Toootim/mastodon
app/javascript/mastodon/components/status_action_bar.js
JavaScript
agpl-3.0
5,791
# -*- coding: utf-8 -*- # This file is part of Shoop. # # Copyright (c) 2012-2015, Shoop Ltd. All rights reserved. # # This source code is licensed under the AGPLv3 license found in the # LICENSE file in the root directory of this source tree. from __future__ import unicode_literals from django import forms from djang...
jorge-marques/shoop
shoop/discount_pricing/admin_form_part.py
Python
agpl-3.0
2,820
/******************************************************************************* * HELIUM V, Open Source ERP software for sustained success * at small and medium-sized enterprises. * Copyright (C) 2004 - 2015 HELIUM V IT-Solutions GmbH * * This program is free software: you can redistribute it and/or modify * it...
erdincay/ejb
src/com/lp/server/schema/opentrans/cc/orderresponse/XMLXMLCOSTCATEGORYID.java
Java
agpl-3.0
5,991
/* ************************************************************************ ******************* CANADIAN ASTRONOMY DATA CENTRE ******************* ************** CENTRE CANADIEN DE DONNÉES ASTRONOMIQUES ************** * * (c) 2019. (c) 2019. * Government of Canada ...
at88mph/web
cadc-web-util/src/test/java/org/opencadc/proxy/ProxyServletTest.java
Java
agpl-3.0
9,512
import ITEM_QUALITIES from '../ITEM_QUALITIES'; export default { // Shared legendaries SOUL_OF_THE_SHADOWBLADE: { id: 150936, name: 'Soul of the Shadowblade', icon: 'inv_jewelry_ring_56', quality: ITEM_QUALITIES.LEGENDARY, }, MANTLE_OF_THE_MASTER_ASSASSIN: { id: 144236, name: 'Mantle of...
enragednuke/WoWAnalyzer
src/common/ITEMS/ROGUE.js
JavaScript
agpl-3.0
2,649
module Merb::Maintainer::BillingHelper def get_stats(metric, dom) today = Date.today date_this_month = Date.new(today.year, today.month, dom) data = [] data_length = 30 data << get_stat(metric, date_this_month) if dom < today.mday (1..(data_length-data.length)).each do |i| date = date_...
Mostfit/mostfit
slices/maintainer/app/helpers/billing_helper.rb
Ruby
agpl-3.0
1,102
/*************************************************************************** constraintteachersmaxgapsperdayform.cpp - description ------------------- begin : Jan 21, 2008 copyright : (C) 2008 by Lalescu Liviu email ...
fet-project/fet
src/interface/constraintteachersmaxgapsperdayform.cpp
C++
agpl-3.0
5,667
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2010-Today OpenERP SA (<http://www.openerp.com>) # # This program is free software: you can redistribute it and/or modify # it under the terms o...
ksrajkumar/openerp-6.1
openerp/addons/email_template/wizard/mail_compose_message.py
Python
agpl-3.0
10,036
package org.osforce.connect.service.system; import org.osforce.connect.entity.system.ProjectFeature; /** * * @author gavin * @since 1.0.0 * @create Feb 12, 2011 - 9:23:35 PM * <a href="http://www.opensourceforce.org">开源力量</a> */ public interface ProjectFeatureService { ProjectFeature getProjectFeature(Long ...
shook2012/focus-sns
connect-service/src/main/java/org/osforce/connect/service/system/ProjectFeatureService.java
Java
agpl-3.0
562
// Copyright (c) 2011-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 found in the PATENTS file in the same directory. #include "rocksdb/s...
chain/chain
vendor/github.com/facebook/rocksdb/table/sst_file_writer.cc
C++
agpl-3.0
7,678
const LdapStrategy = require('./LdapStrategy'); const MoodleStrategy = require('./MoodleStrategy'); const IservStrategy = require('./IservStrategy'); const TSPStrategy = require('./TSPStrategy'); const ApiKeyStrategy = require('./ApiKeyStrategy'); module.exports = { LdapStrategy, MoodleStrategy, IservStrategy, TSP...
schul-cloud/schulcloud-server
src/services/authentication/strategies/index.js
JavaScript
agpl-3.0
350
/* Copyright (C) 2014-2016 Leosac This file is part of Leosac. Leosac is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later...
islog/leosac
src/modules/websock-api/api/AccessOverview.cpp
C++
agpl-3.0
3,045
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('schedules', '0005_auto_20171010_1722'), ] operations = [ migrations.CreateModel( name='Schedule...
ESOedX/edx-platform
openedx/core/djangoapps/schedules/migrations/0006_scheduleexperience.py
Python
agpl-3.0
793
# -*- coding: utf-8 -*- # Copyright 2017 KMEE # Hendrix Costa <hendrix.costa@kmee.com.br> # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from openerp.addons.financial.tests.financial_test_classes import \ FinancialTestCase class ManualFinancialProcess(FinancialTestCase): def setUp(self): ...
thinkopensolutions/l10n-brazil
financial/tests/test_financial_move.py
Python
agpl-3.0
1,651
# Load the rails application require File.expand_path('../application', __FILE__) # Initialize the rails application RailsFrance::Application.initialize!
nicolasleger/railsfrance.org
config/environment.rb
Ruby
agpl-3.0
155
package functionaltests.job; import java.io.Serializable; import org.ow2.proactive.scheduler.common.Scheduler; import org.ow2.proactive.scheduler.common.job.JobId; import org.ow2.proactive.scheduler.common.job.JobState; import org.ow2.proactive.scheduler.common.job.TaskFlowJob; import org.ow2.proactive.scheduler.comm...
sandrineBeauche/scheduling
scheduler/scheduler-server/src/test/java/functionaltests/job/TestTaskNotRestarted.java
Java
agpl-3.0
2,532
/* This file is part of VoltDB. * Copyright (C) 2008-2017 VoltDB Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any la...
migue/voltdb
src/frontend/org/voltdb/VLog.java
Java
agpl-3.0
1,623
// Generated by CoffeeScript 1.10.0 var api, baseOVHKonnector, connector, name, slug; baseOVHKonnector = require('../lib/base_ovh_konnector'); name = 'Kimsufi EU'; slug = 'kimsufi_eu'; api = { endpoint: 'kimsufi-eu', appKey: '', appSecret: '' }; connector = module.exports = baseOVHKonnector.createNew(api, na...
frankrousseau/konnectors
build/server/konnectors/kimsufi_eu.js
JavaScript
agpl-3.0
331
// =================================================================================================== // _ __ _ _ // | |/ /__ _| | |_ _ _ _ _ __ _ // | ' </ _` | | _| || | '_/ _` | // |_|\_\__,_|_|\__|\_,_|_| \_...
kaltura/KalturaGeneratedAPIClientsJava
src/main/java/com/kaltura/client/enums/BeaconIndexType.java
Java
agpl-3.0
2,312
/* Taken from a very informative blogpost by Eldar Djafarov: * http://eldar.djafarov.com/2013/11/reactjs-mixing-with-backbone/ */ (function() { 'use strict'; module.exports = { /* Forces an update when the underlying Backbone model instance has * changed. Users will have to implement getBackboneModels()....
jbaiter/spreads
spreadsplug/web/client/lib/backbonemixin.js
JavaScript
agpl-3.0
1,858
<? // The source code packaged with this file is Free Software, Copyright (C) 2005 by // Ricardo Galli <gallir at uib dot es>. // It's licensed under the AFFERO GENERAL PUBLIC LICENSE unless stated otherwise. // You can get copies of the licenses here: // http://www.affero.org/oagpl.html // AFFERO GENERAL PUBLIC L...
brainsqueezer/fffff
branches/version2/www/libs/mail.php
PHP
agpl-3.0
1,852
<?php class BAInitiativeParser extends RISParser { private static $MAX_OFFSET = 5500; private static $MAX_OFFSET_UPDATE = 200; public function parse($antrag_id) { $antrag_id = IntVal($antrag_id); if (SITE_CALL_MODE != "cron") echo "- Initiative $antrag_id\n"; if ($antrag_id ==...
codeformunich/Muenchen-Transparent
protected/RISParser/BAInitiativeParser.php
PHP
agpl-3.0
9,264
# # Copyright (C) 2019 - present Instructure, Inc. # # This file is part of Canvas. # # Canvas is free software: you can redistribute it and/or modify it under # the terms of the GNU Affero General Public License as published by the Free # Software Foundation, version 3 of the License. # # Canvas is distributed in the ...
djbender/canvas-lms
spec/models/messages/assignment_submitted/twitter_presenter_spec.rb
Ruby
agpl-3.0
4,430
# # Copyright (C) 2015 - present Instructure, Inc. # # This file is part of Canvas. # # Canvas is free software: you can redistribute it and/or modify it under # the terms of the GNU Affero General Public License as published by the Free # Software Foundation, version 3 of the License. # # Canvas is distributed in the ...
venturehive/canvas-lms
spec/models/users/creation_notify_policy_spec.rb
Ruby
agpl-3.0
4,064
<? session_start(); // Modificado Junio 2009 /** * Original en la SSPD en el año 2003 * * Se añadio compatibilidad con variables globales en Off * @autor Jairo Losada 2009-05 * @licencia GNU/GPL */ foreach ($_GET as $key => $valor) ${$key} = $valor; foreach ($_POST as $key => $valor) ${$key} = $valor; ...
cejebuto/OrfeoWind
prestamo/prestamo.php
PHP
agpl-3.0
30,604
package org.ownprofile.boundary.owner.client; public class Result<T> { private boolean isSuccess; private T successValue; private Fail fail; public static Result<Void> success() { return success(null); } public static <S> Result<S> success(S successValue) { return new Result<S>(successValue); } public ...
mchlrch/ownprofile
org.ownprofile.node/src/main/java/org/ownprofile/boundary/owner/client/Result.java
Java
agpl-3.0
2,101
<?php use Illuminate\Database\Migrations\Migration; class AddDomainIdToBusinessesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('businesses', function ($table) { $table->integer('domain_id')->unsigned()->...
timegridio/timegrid
database/migrations/2015_12_20_014958_add_domain_id_to_businesses_table.php
PHP
agpl-3.0
763
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" fil...
usmschuck/canvas
vendor/bundle/ruby/1.9.1/gems/aws-sdk-1.8.3.1/lib/aws/core/page_result.rb
Ruby
agpl-3.0
2,790
<?php /** * DAO tbMovimentacaoBancaria * @author emanuel.sampaio - Politec * @since 17/02/2011 * @version 1.0 * @package application * @subpackage application.model * @copyright © 2011 - Ministério da Cultura - Todos os direitos reservados. * @link http://www.cultura.gov.br */ class tbMovimentacaoBancaria ex...
hackultura/novosalic
application/model/tbMovimentacaoBancaria.php
PHP
agpl-3.0
17,407
import sys import time import sys num = 1000 print_granularity = 1000 count = 0 first = True start = 0 gran_start = 0 min = 0 max = 0 avg = 0 sum = 0 total = 0 def set_print_granularity(p): global print_granularity print_granularity = p print("%s: print granularity = %s" % (sys.argv[0], print_granularity)) def l...
scalien/keyspace
test/concurrency/common.py
Python
agpl-3.0
1,105
//############################################################################# //# # //# Copyright (C) <2015> <IMS MAXIMS> # //# ...
FreudianNM/openMAXIMS
Source Library/openmaxims_workspace/Core/src/ims/core/forms/vitalsignstprbp/Handlers.java
Java
agpl-3.0
4,321
//############################################################################# //# # //# Copyright (C) <2015> <IMS MAXIMS> # //# ...
IMS-MAXIMS/openMAXIMS
Source Library/openmaxims_workspace/ValueObjects/src/ims/refman/vo/beans/PatientDiagnosisStatusForReferralCodingVoBean.java
Java
agpl-3.0
3,988
<?php // Database Restore $locale['400'] = "Восстановление БД"; $locale['401'] = "Ошибка"; $locale['402'] = "Неверный формат файла резервной копии"; $locale['403'] = "Закрыть"; // Backup File Information $locale['410'] = "Данные о файле резервной копии"; $locale['411'] = "Данные о файле для восстановления"; $locale['41...
dialektika/PHP-Fusion
locale/Russian/admin/db-backup.php
PHP
agpl-3.0
2,275
#region C#raft License // This file is part of C#raft. Copyright C#raft Team // // C#raft is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as // published by the Free Software Foundation, either version 3 of the // License, or (at your option) any...
chraft/c-raft
Chraft/World/Blocks/BlockStone.cs
C#
agpl-3.0
1,214
# -*- coding: utf-8 -*- ############################################################################## # # Odoo, Open Source Business Applications # Copyright (c) 2015 Odoo S.A. <http://openerp.com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affe...
tvtsoft/odoo8
addons/delivery/models/stock_picking.py
Python
agpl-3.0
4,025
<?php $this->applyTemplateHook('settings-nav','before'); ?> <nav id="panel-settings-nav" class="sidebar-panel"> <?php $this->applyTemplateHook('settings-nav','begin'); ?> <?php $this->applyTemplateHook('settings-nav','end'); ?> </nav> <?php $this->applyTemplateHook('settings-nav','after'); ?>
secultce/mapasculturais
src/protected/application/themes/BaseV1/layouts/parts/panel-settings-nav.php
PHP
agpl-3.0
306
/* * Funambol is a mobile platform developed by Funambol, Inc. * Copyright (C) 2007 Funambol, Inc. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License version 3 as published by * the Free Software Foundation with the addition of th...
accesstest3/cfunambol
ctp/ctp-server/src/main/java/com/funambol/ctp/server/notification/NotificationProviderException.java
Java
agpl-3.0
3,078
//############################################################################# //# # //# Copyright (C) <2014> <IMS MAXIMS> # //# ...
open-health-hub/openmaxims-linux
openmaxims_workspace/SpinalInjuries/src/ims/spinalinjuries/domain/base/impl/BaseSharedNewConcernImpl.java
Java
agpl-3.0
2,507
//############################################################################# //# # //# Copyright (C) <2014> <IMS MAXIMS> # //# ...
open-health-hub/openmaxims-linux
openmaxims_workspace/ValueObjects/src/ims/emergency/vo/domain/TrackingLiteVoAssembler.java
Java
agpl-3.0
17,855
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\HttpKernel\EventListener; use Symfony\Component\Event...
KWZwickau/KREDA-Sphere
Library/MOC-V/Component/Router/Vendor/Symfony/Component/HttpKernel/EventListener/LocaleListener.php
PHP
agpl-3.0
3,436
package com.sapienter.jbilling.client.jspc.payment; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; import com.sapienter.jbilling.client.util.Constants; public final class review_jsp extends org.apache.jasper.runtime.HttpJspBase implements org.apache.jasper.runtime.JspSour...
maduhu/knx-jbilling2.2.0
build/jsp-classes/com/sapienter/jbilling/client/jspc/payment/review_jsp.java
Java
agpl-3.0
11,647
/*@author Jvlaple *Crystal of Roots */ var status = 0; var PQItems = Array(4001087, 4001088, 4001089, 4001090, 4001091, 4001092, 4001093); importPackage(net.sf.odinms.client); function start() { status = -1; action(1, 0, 0); } function action(mode, type, selection) { if (mode == -1) {...
ZenityMS/forgottenstorysource
scripts/npc/2111005.js
JavaScript
agpl-3.0
1,027
//############################################################################# //# # //# Copyright (C) <2014> <IMS MAXIMS> # //# ...
open-health-hub/openmaxims-linux
openmaxims_workspace/Core/src/ims/core/forms/notificationdialog/IFormUILogicCode.java
Java
agpl-3.0
1,804
// Copyright 2014 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package v4 var ( BundleCharms = (*Handler).bundleCharms ParseSearchParams = parseSearchParams DefaultIcon = defaultIcon ArchiveCacheVersionedMaxAge = &archiveCacheVersi...
mhilton/charmstore
internal/v4/export_test.go
GO
agpl-3.0
699
# frozen_string_literal: true require "test_helper" module GobiertoAdmin class UserFormTest < ActiveSupport::TestCase def valid_user_form @valid_user_form ||= UserForm.new( id: user.id, name: user.name, bio: user.bio, email: user.email ) end def invalid_user_...
PopulateTools/gobierto-dev
test/forms/gobierto_admin/user_form_test.rb
Ruby
agpl-3.0
1,372
//############################################################################# //# # //# Copyright (C) <2015> <IMS MAXIMS> # //# ...
FreudianNM/openMAXIMS
Source Library/openmaxims_workspace/Scheduling/src/ims/scheduling/domain/impl/ReasonTextDialogImpl.java
Java
agpl-3.0
3,583
//############################################################################# //# # //# Copyright (C) <2015> <IMS MAXIMS> # //# ...
FreudianNM/openMAXIMS
Source Library/openmaxims_workspace/ValueObjects/src/ims/oncology/vo/lookups/GradeofDifferentation.java
Java
agpl-3.0
5,476
/* * RapidMiner * * Copyright (C) 2001-2014 by RapidMiner and the contributors * * Complete list of developers available at our web site: * * http://rapidminer.com * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License ...
rapidminer/rapidminer-5
src/com/rapid_i/deployment/update/client/PendingPurchasesInstallationDialog.java
Java
agpl-3.0
11,249
def _checkInput(index): if index < 0: raise ValueError("Indice negativo non supportato [{}]".format(index)) elif type(index) != int: raise TypeError("Inserire un intero [tipo input {}]".format(type(index).__name__)) def fib_from_string(index): _checkInput(index) serie = "0 1 1 2 3 5 8"....
feroda/lessons-python4beginners
students/2016-09-04/simone-cosma/fibonacci.py
Python
agpl-3.0
1,035
// Generated by CoffeeScript 1.10.0 var Bill, baseKonnector, filterExisting, linkBankOperation, ovhFetcher, saveDataAndFile; ovhFetcher = require('../lib/ovh_fetcher'); filterExisting = require('../lib/filter_existing'); saveDataAndFile = require('../lib/save_data_and_file'); linkBankOperation = require('../lib/lin...
frankrousseau/konnectors
build/server/lib/base_ovh_konnector.js
JavaScript
agpl-3.0
1,438
class SubscribersController < ApplicationController def create @subscriber = Subscriber.new(params[:subscriber]) if @subscriber.save flash[:notice] = "Success! You have been sent a subscription email. Please click the confirmation link in that email to confirm your subscription."\ else ...
chandresh/spot-us
app/controllers/subscribers_controller.rb
Ruby
agpl-3.0
752
""" Braitenberg Vehicle2b The more light sensed on the left side the faster the right motor moves. The more light sensed on the right side the faster the left motor moves. This causes the robot to turn towards a light source. """ from pyrobot.brain import Brain, avg class Vehicle(Brain): def setup(self): sel...
emilydolson/forestcat
pyrobot/plugins/brains/BraitenbergVehicle2b.py
Python
agpl-3.0
789
//############################################################################# //# # //# Copyright (C) <2015> <IMS MAXIMS> # //# ...
FreudianNM/openMAXIMS
Source Library/openmaxims_workspace/ValueObjects/src/ims/emergency/vo/domain/EDPartialAdmissionForDischargeDetailOutcomeVoAssembler.java
Java
agpl-3.0
28,003
/* * Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license: http://github.com/azerothcore/azerothcore-wotlk/LICENSE-GPL2 * Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/> */ #include "GameObjectAI.h" ...
DantestyleXD/azerothcore-wotlk
src/game/AI/CoreAI/GameObjectAI.cpp
C++
agpl-3.0
609
class AddNameIndexToGames < ActiveRecord::Migration[4.2] def change add_index :games, :name end end
BatedUrGonnaDie/splits-io
db/migrate/20140925231311_add_name_index_to_games.rb
Ruby
agpl-3.0
108
<?php /** * Shopware 5 * Copyright (c) shopware AG * * According to our dual licensing model, this program can be used either * under the terms of the GNU Affero General Public License, version 3, * or under a proprietary license. * * The texts of the GNU Affero General Public License with an additional * perm...
simkli/shopware
engine/Library/Enlight/Template/Plugins/function.flink.php
PHP
agpl-3.0
3,003
// The Vue build version to load with the `import` command // (runtime-only or standalone) has been set in webpack.base.conf with an alias. import Vue from 'vue' import App from './App' import router from './router' import store from './store' import VueBootstrap from 'bootstrap-vue' import 'bootstrap/dist/css/bootstr...
praelatus/backend
client/src/main.js
JavaScript
agpl-3.0
761
/* * Concept profile generation tool suite * Copyright (C) 2015 Biosemantics Group, Erasmus University Medical Center, * Rotterdam, The Netherlands * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published * by the Free S...
BiosemanticsDotOrg/GeneDiseasePlosBio
java/DataImport/src/JochemBuilder/KEGGcompound/KEGGcompoundImport.java
Java
agpl-3.0
3,807
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
xwiki-contrib/sankoreorg
xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/objects/BaseProperty.java
Java
lgpl-2.1
5,379
// --------------------------------------------------------------------- // // Copyright (C) 1999 - 2015 by the deal.II authors // // This file is part of the deal.II library. // // The deal.II library is free software; you can use it, redistribute // it, and/or modify it under the terms of the GNU Lesser General // Pu...
mtezzele/dealii
source/base/data_out_base.cc
C++
lgpl-2.1
265,443
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this f...
mornelon/QtCreator_compliments
src/plugins/qt4projectmanager/wizards/subdirsprojectwizard.cpp
C++
lgpl-2.1
4,911
/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Designer of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** N...
igor-sfdc/qt-wk
tools/designer/src/designer/qdesigner_formwindow.cpp
C++
lgpl-2.1
9,680
/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2006 Artem Pavlenko, Jean-Francois Doyon * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General P...
ake-koomsin/mapnik_nvpr
bindings/python/mapnik_datasource_cache.cpp
C++
lgpl-2.1
2,838
// // Miscellaneous small items related to message sinks // using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Loyc { /// <summary>This interface allows an object to declare its "location".</summary> /// <remarks>For example, <see cref="Loyc.Syntax.LNode"/> implements th...
loycnet/ecsharp
Core/Loyc.Essentials/MessageSinks/Misc.cs
C#
lgpl-2.1
3,135
namespace("JSTools.Event"); /// <class> /// Provides an interface for attaching and detaching Observer objects. Any number of /// Observer objects may observe a subject. /// </class> JSTools.Event.Subject = function() { //------------------------------------------------------------------------ // Declarations //--...
sgeh/JSTools.net
Branches/JSTools 0.41/JSTools.JavaScript/JSTools/Event/Subject.js
JavaScript
lgpl-2.1
2,624
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2016, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreech...
simon04/jfreechart
src/main/java/org/jfree/chart/Effect3D.java
Java
lgpl-2.1
2,135
// // NotificationQueue.cpp // // $Id: //poco/1.4/Foundation/src/NotificationQueue.cpp#1 $ // // Library: Foundation // Package: Notifications // Module: NotificationQueue // // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. // and Contributors. // // Permission is hereby granted, ...
tjizep/treestore1
src/poco-1.4.6p1-all/Foundation/src/NotificationQueue.cpp
C++
lgpl-2.1
5,144
/* * Created on 17-dic-2005 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */ package org.herac.tuxguitar.app.actions.layout; import org.herac.tuxguitar.app.actions.Action; import org.herac.tuxguitar.app.actions.ActionData; import org.hera...
yuan39/TuxGuitar
TuxGuitar/src/org/herac/tuxguitar/app/actions/layout/SetTablatureEnabledAction.java
Java
lgpl-2.1
1,189
/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtCore module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ **...
prapin/qmake-iphone
src/corelib/plugin/qsystemlibrary.cpp
C++
lgpl-2.1
5,180
/** * Copyright (c) Tiny Technologies, Inc. All rights reserved. * Licensed under the LGPL or a commercial license. * For LGPL see License.txt in the project root for license information. * For commercial licenses see https://www.tiny.cloud/ */ import { getElementFromPosition } from '../caret/CaretUtils'; import ...
danielpunkass/tinymce
src/core/main/ts/caret/InsertText.ts
TypeScript
lgpl-2.1
1,351
//////////////////////////////////////////////////////////////////////////////// // checkstyle: Checks Java source code for adherence to a set of rules. // Copyright (C) 2001-2015 the original author or authors. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU ...
jasonchaffee/checkstyle
src/main/java/com/puppycrawl/tools/checkstyle/checks/coding/OneStatementPerLineCheck.java
Java
lgpl-2.1
6,201
#!/usr/bin/env python import pygtk pygtk.require('2.0') import pynotify import sys if __name__ == '__main__': if not pynotify.init("XY"): sys.exit(1) n = pynotify.Notification("X, Y Test", "This notification should point to 150, 10") n.set_hint("x", 150) n.set_hi...
Distrotech/notify-python
tests/test-xy.py
Python
lgpl-2.1
418
<?php // (c) Copyright 2002-2012 by authors of the Tiki Wiki CMS Groupware Project // // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // $Id: wikiplugin_titlesearch.php 41425 2012-05-11 02:02:22Z...
railfuture/tiki-website
lib/wiki-plugins/wikiplugin_titlesearch.php
PHP
lgpl-2.1
4,226
/* * (C) Copyright 2014 Kurento (http://kurento.org/) * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser General Public License * (LGPL) version 2.1 which accompanies this distribution, and is available at * http://www.gnu.org/licenses/lgpl-...
oclab/howto-callme
kurento-http-player/src/main/java/org/kurento/tutorial/player/KurentoHttpPlayer.java
Java
lgpl-2.1
2,724
// --------------------------------------------------------------------- // // Copyright (C) 2007 - 2013 by the deal.II authors // // This file is part of the deal.II library. // // The deal.II library is free software; you can use it, redistribute // it, and/or modify it under the terms of the GNU Lesser General // Pu...
flow123d/dealii
source/numerics/fe_field_function.cc
C++
lgpl-2.1
1,304
<?php // (c) Copyright 2002-2013 by authors of the Tiki Wiki CMS Groupware Project // // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // $Id: mod-func-breadcrumbs.php 44444 2013-01-05 21:24:24Z ch...
arildb/tiki-azure
modules/mod-func-breadcrumbs.php
PHP
lgpl-2.1
3,358
module IB module SimpleStop extend OrderPrototype class << self def defaults super.merge order_type: :stop end def aliases super.merge aux_price: :price end def requirements super.merge aux_price: 'Price where the action is triggert. Aliased as :price' end...
ib-ruby/ib-ruby
lib/ib/order_prototypes/stop.rb
Ruby
lgpl-2.1
6,301
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2016, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreech...
simon04/jfreechart
src/main/java/org/jfree/data/statistics/MeanAndStandardDeviation.java
Java
lgpl-2.1
5,489
/** * Phoebe DOM Implementation. * * This is a C++ approximation of the W3C DOM model, which follows * fairly closely the specifications in the various .idl files, copies of * which are provided for reference. Most important is this one: * * http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/idl-definition...
step21/inkscape-osx-packaging-native
src/dom/svgreader.cpp
C++
lgpl-2.1
18,248
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtDeclarative module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Li...
nonrational/qt-everywhere-opensource-src-4.8.6
src/declarative/util/qdeclarativestate.cpp
C++
lgpl-2.1
25,066
package techcore import "github.com/nsf/termbox-go" type Color int const ( ColorBlack Color = 1 << iota ColorBlue ColorCyan ColorGreen ColorMagenta ColorRed ColorWhite ColorYellow ColorAlpha ) func (c Color) GetTermboxColor() termbox.Attribute { switch c { case ColorBlack: return termbox.ColorBlack ca...
christianap/TechCore
colors.go
GO
lgpl-2.1
730
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this f...
duythanhphan/qt-creator
src/plugins/projectexplorer/ldparser.cpp
C++
lgpl-2.1
5,136
/* This file is part of the Grantlee template system. Copyright (c) 2008 Stephen Kelly <steveire@gmail.com> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of t...
cutelyst/grantlee
textdocument/lib/texthtmlbuilder.cpp
C++
lgpl-2.1
11,981
// --------------------------------------------------------------------- // // Copyright (C) 2004 - 2013 by the deal.II authors // // This file is part of the deal.II library. // // The deal.II library is free software; you can use it, redistribute // it, and/or modify it under the terms of the GNU Lesser General // Pu...
flow123d/dealii
source/lac/petsc_vector.cc
C++
lgpl-2.1
2,571