repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
crowdAI/crowdai
app/models/views/challenge_organizer_participants.rb
165
class ChallengeOrganizerParticipant < MaterializedView self.primary_key = :id after_initialize :readonly! belongs_to :challenge belongs_to :participant end
agpl-3.0
michaelletzgus/nextcloud-server
apps/dav/appinfo/v1/caldav.php
3452
<?php /** * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Christoph Wurst <christoph@owncloud.com> * @author Georg Ehrke <oc.list@georgehrke.com> * @author Joas Schilling <coding@schilljs.com> * @author Lukas Reschke <lukas@statuscode.ch> * @author Thomas Müller <thomas.mueller@tmit.eu> * * @licens...
agpl-3.0
be-lb/sdi-clients
sdi/print/template.ts
1571
import { fromPredicate, Option } from 'fp-ts/lib/Option'; import { Rect, Box, TextAlign } from './context'; type ResAnnotation = { resolution: number }; export interface TemplateSpec { rect: Rect; fontSize: number; strokeWidth: number; textAlign: TextAlign; color: string; } export interface Part...
agpl-3.0
ging/isabel
components/gateway/GWSIP/mjsip_1.6/src/local/server/AuthenticationService.java
2605
/* * Copyright (C) 2005 Luca Veltri - University of Parma - Italy * * This source code is free software; you can redistribute it and/or modify * it under the terms of the Affero GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any l...
agpl-3.0
ANAXRIDER/OpenAI
OpenAI/OpenAI/Cards/Sim_BRMA06_2H_TB.cs
557
using System; using System.Collections.Generic; using System.Text; namespace OpenAI { class Sim_BRMA06_2H_TB : SimTemplate //* The Majordomo { // Hero Power: Summon a 3/3 Flamewaker Acolyte. CardDB.Card kid = CardDB.Instance.getCardDataFromID(CardDB.cardIDEnum.BRMA06_4H);//3/3Flamewaker Acolyte pub...
agpl-3.0
B3Partners/geo-ov
src/main/java/nl/b3p/kar/stripes/XmlTestActionBean.java
3545
package nl.b3p.kar.stripes; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.util.Arrays; import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBException; import javax.xml.bind.Marshaller; import javax.xml.bind.Unmarshaller; import net.sourcef...
agpl-3.0
Sparfel/iTop-s-Portal
library/Zend/Tag/Cloud/Decorator/HtmlTag.php
8040
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
agpl-3.0
rotdrop/tasks
l10n/hu_HU.js
2821
OC.L10N.register( "tasks", { "Tasks" : "Feladatok", "Important" : "Fontos", "Today" : "Ma", "Week" : "Hét", "All" : "Mind", "Current" : "Jelenlegi", "Completed" : "Befejezve", "Due yesterday" : "Tegnapi teendök", "Due today" : "Mai teendök", "Due tomorrow" : "Holnapi teen...
agpl-3.0
misgeatgit/atomspace
opencog/attentionbank/ImportanceIndex.cc
7370
/* * opencog/attentionbank/ImportanceIndex.cc * * Copyright (C) 2008-2011 OpenCog Foundation * Copyright (C) 2017 Linas Vepstas <linasvepstas@gmail.com> * All Rights Reserved * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License v3...
agpl-3.0
harrowio/harrow
frontend/test/spec/resources/project_resource_test.js
5437
/*eslint-disable new-cap*/ describe('Resources: projectResource', function () { var api, model, data, $httpBackend beforeEach(angular.mock.inject(function (projectResource, _$httpBackend_) { $httpBackend = _$httpBackend_ data = jasmine.getJSONFixture('GET_api_project.json') api = projectResource mod...
agpl-3.0
trendzetter/VegetableGardenPlanner
modules/tasks/client/controllers/admin/task.client.controller.js
1282
(function () { 'use strict'; angular .module('tasks.admin') .controller('TasksAdminController', TasksAdminController); TasksAdminController.$inject = ['$scope', '$state', '$window', 'taskResolve', 'Authentication']; function TasksAdminController($scope, $state, $window, task, Authentication) { v...
agpl-3.0
automenta/java_dann
src/syncleus/dann/learn/pattern/algorithms/sequentialpatterns/goKrimp/Event.java
1777
package syncleus.dann.learn.pattern.algorithms.sequentialpatterns.goKrimp; /** * This is an implementation of an "event" for the GoKrimp and SedKrimp algorithms * <br/><br/> * For more information please refer to the paper Mining Compressing Sequential Patterns in the Journal Statistical Analysis and Data Mining ...
agpl-3.0
ChangezKhan/SuiteCRM
tests/unit/phpunit/modules/AOR_Fields/AOR_FieldTest.php
1966
<?php use SuiteCRM\Test\SuitePHPUnitFrameworkTestCase; class AOR_FieldTest extends SuitePHPUnitFrameworkTestCase { public function testAOR_Field() { // Execute the constructor and check for the Object type and attributes $aor_Field = new AOR_Field(); $this->assertInstanceOf('AOR_Field...
agpl-3.0
coast-team/netflux
docs/jsFromTs/src/service/channelBuilder/ConnectionError.js
696
export var ConnectionError; (function (ConnectionError) { ConnectionError["RESPONSE_TIMEOUT"] = "Response timeout: remote peer is not responding"; ConnectionError["CONNECTION_TIMEOUT"] = "Connection timeout: unable to establish a channel within a specified time"; ConnectionError["DENIED"] = "Connection deni...
agpl-3.0
empirical-org/Empirical-Core
services/QuillLMS/spec/workers/refresh_question_cache_worker_spec.rb
699
# frozen_string_literal: true require 'rails_helper' describe RefreshQuestionCacheWorker, type: :worker do let(:worker) { described_class.new } describe "#perform" do it "should call force refresh methods" do expect(Question).to receive(:all_questions_json_cached).with('type', refresh: true) expe...
agpl-3.0
jchoyt/invasion
src/invasion/servlets/Recharge.java
6178
/* * Copyright 2010 Jeffrey Hoyt. All rights reserved. */ package invasion.servlets; import invasion.ui.Poll; import invasion.util.*; import invasion.dataobjects.*; import java.io.*; import java.util.*; import java.util.logging.*; import javax.servlet.*; import javax.servlet.annotation.WebServlet; import javax.se...
agpl-3.0
FiviumAustralia/OpenEyes
protected/widgets/js/RRuleField.js
9062
(function (exports) { 'use strict'; function RRuleField(element, options) { this.element = element; this.options = $.extend(true, {}, RRuleField._defaultOptions, options); this.init(); } RRuleField._defaultOptions = { 'daysOfWeek': ['Monday', 'Tuesday', 'Wednesday', ...
agpl-3.0
OCA/server-tools
upgrade_analysis/odoo_patch/addons/__init__.py
66
from . import mrp from . import point_of_sale from . import stock
agpl-3.0
axelor/axelor-business-suite
axelor-production/src/main/java/com/axelor/apps/production/service/configurator/ConfiguratorBomServiceImpl.java
6785
/* * Axelor Business Solutions * * Copyright (C) 2020 Axelor (<http://axelor.com>). * * 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. * * This program is distributed...
agpl-3.0
Sparfel/iTop-s-Portal
library/Zend/Auth/Adapter/Digest.php
6305
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
agpl-3.0
ONLYOFFICE/core
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/MulBlank.cpp
5140
/* * (c) Copyright Ascensio System SIA 2010-2019 * * This program is a free software product. You can redistribute it and/or * modify it under the terms of the GNU Affero General Public License (AGPL) * version 3 as published by the Free Software Foundation. In accordance with * Section 7(a) of the GNU AGP...
agpl-3.0
boob-sbcm/3838438
src/generated/java/com/rapid_i/repository/wsimport/Rename.java
2764
/** * Copyright (C) 2001-2017 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 as published by the Free...
agpl-3.0
becueb/MconfWeb
spec/features/events/user_registers_in_an_event_spec.rb
4368
# This file is part of Mconf-Web, a web application that provides access # to the Mconf webconferencing system. Copyright (C) 2010-2015 Mconf. # # This file is licensed under the Affero General Public License version # 3 or later. See the LICENSE file. require 'spec_helper' require 'support/feature_helpers' feature "...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/mobile/lair/npc_theater/global_rebel_specforce_camp2_rebel_small_theater.lua
1344
global_rebel_specforce_camp2_rebel_small_theater = Lair:new { mobiles = { {"specforce_infiltrator",3}, {"senior_specforce_infiltrator",1} }, spawnLimit = 9, buildingsVeryEasy = {"object/building/poi/anywhere_rebel_camp_small_1.iff","object/building/poi/anywhere_rebel_camp_small_2.iff","object/building/poi/anywh...
agpl-3.0
BrickbitSolutions/lpm-core
src/main/java/be/brickbit/lpm/core/command/user/UpdateAccountDetailsCommand.java
686
package be.brickbit.lpm.core.command.user; import java.util.List; import org.hibernate.validator.constraints.Email; import org.hibernate.validator.constraints.NotBlank; import org.hibernate.validator.constraints.NotEmpty; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import...
agpl-3.0
migue/voltdb
src/ee/common/SQLException.cpp
3083
/* 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...
agpl-3.0
FiviumAustralia/OpenEyes
features/bootstrap/ExaminationContext.php
60674
<?php use Behat\Behat\Context\ClosuredContextInterface, Behat\Behat\Context\TranslatedContextInterface, Behat\Behat\Context\BehatContext, Behat\Behat\Exception\PendingException; use Behat\Gherkin\Node\PyStringNode, Behat\Gherkin\Node\TableNode; use Behat\MinkExtension\Context\MinkContext; use Behat\Mink\Driver\Seleniu...
agpl-3.0
CloCkWeRX/abn-input
abn.js
2557
/*jslint indent: 2 */ $().ready(function () { var ABNControl = { permitted_key: function (e) { var numeric_keys, editing_keys; numeric_keys = [48, 49, 50, 51, 52, 53, 54, 55, 56, 57]; editing_keys = [8, 13, 46, 37, 38, 40, 9, 0, 35, 36, 39, 32]; if (numeric_keys.indexOf(e.which) > -1) { ...
agpl-3.0
bitsquare/bitsquare
core/src/main/java/bisq/core/provider/price/PriceRequest.java
2549
/* * This file is part of Bisq. * * Bisq 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 version. * * Bisq is distributed in the ...
agpl-3.0
vincent314/legstar-core2
legstar-base/src/main/java/com/legstar/base/type/primitive/CobolPackedDecimalType.java
5729
package com.legstar.base.type.primitive; import com.legstar.base.context.CobolContext; /** * A Packed Decimal (COMP-3). * */ public class CobolPackedDecimalType<T extends Number> extends CobolDecimalType < T > { // COMP-3 might have up to 31 digits (with arith(extend)) public static final int MAX...
agpl-3.0
RussWhitehead/HPCC-Platform
thorlcr/master/thactivitymaster.cpp
22265
/*############################################################################## Copyright (C) 2011 HPCC Systems. All rights reserved. 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 Foun...
agpl-3.0
ayssi/Biblimetrics-Data-processing
test.py
199
ceci est un test .... ceci est un test .... ceci est un test .... ceci est un test .... ceci est un test .... Ligne rajoutée le 07 avril 2020 à 00.09 Ligne 2 rajoutée le 07 avril 2020 à 19.09
agpl-3.0
BillRun/system
library/Billrun/Template/Token/Base.php
3720
<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ class Billrun_Template_Token_Base { /** * Base array instances container * * @var array */ static protected $instanc...
agpl-3.0
eileenmcnaughton/nz.co.fuzion.omnipaymultiprocessor
vendor/moneyphp/money/tests/Parser/DecimalMoneyParserTest.php
4251
<?php namespace Tests\Money\Parser; use Money\Currencies; use Money\Currency; use Money\Exception\ParserException; use Money\Parser\DecimalMoneyParser; use PHPUnit\Framework\TestCase; use Prophecy\Argument; final class DecimalMoneyParserTest extends TestCase { /** * @dataProvider formattedMoneyExamples ...
agpl-3.0
scylladb/scylla
sstables/sstable_mutation_reader.hh
10071
/* * Copyright (C) 2015-present ScyllaDB */ /* * SPDX-License-Identifier: AGPL-3.0-or-later */ #include "mutation.hh" #include "sstables.hh" #include "types.hh" #include <seastar/core/future-util.hh> #include <seastar/core/coroutine.hh> #include "key.hh" #include "keys.hh" #include <seastar/core/do_with.hh> #inclu...
agpl-3.0
cadr-sa/fengoffice
public/upgrade/console.php
1325
<?php define('ROOT', dirname(__FILE__) . '/../..'); define('PRODUCT_NAME', 'Feng Office'); define('PRODUCT_URL', 'http://www.fengoffice.com'); require_once dirname(__FILE__) . '/include.php'; if(!isset($argv) || !is_array($argv)) { die('There is no input arguments'); } // if if (count($argv) == 1) { if (!file_exi...
agpl-3.0
inad9300/Soil
examples/counter_rollup/rollup.config.js
341
import resolve from 'rollup-plugin-node-resolve' import typescript from 'rollup-plugin-typescript' export default { input: './src/main.ts', output: { file: 'build/main.js', format: 'iife' }, treeshake: { pureExternalModules: true }, plugins: [ resolve(), ...
agpl-3.0
elki-project/elki
elki-core-distance/src/main/java/elki/distance/minkowski/MaximumDistance.java
5561
/* * This file is part of ELKI: * Environment for Developing KDD-Applications Supported by Index-Structures * * Copyright (C) 2019 * ELKI Development Team * * 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...
agpl-3.0
martinly/Traversal_disk
Traversal_disk.py
642
#file:Traversal_disk.py #encoding=utf-8 import os def travelTree(currentPath,count): f=open('out88.txt','a') if not os.path.exists(currentPath): return if os.path.isfile(currentPath): #fileName=os.path.basename(currentPath) fileName=os.path.basename(currentPath) print '\t'*count +'|~~'+ fileNa...
agpl-3.0
k10r/shopware
engine/Shopware/Bundle/SearchBundleDBAL/ConditionHandler/DynamicConditionParserTrait.php
8508
<?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...
agpl-3.0
nikolaykhodov/clipperz-password-manager
frontend/delta/js/Clipperz/Crypto/PRNG.js
21706
/* Copyright 2008-2013 Clipperz Srl This file is part of Clipperz, the online password manager. For further information about its features and functionalities please refer to http://www.clipperz.com. * Clipperz is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Pub...
agpl-3.0
akvo/akvo-rsr
akvo/rsr/management/commands/fix_orphaned_periods.py
5519
# -*- coding: utf-8 -*- # Akvo Reporting is covered by the GNU Affero General Public License. # See more details in the license.txt file located at the root folder of the Akvo RSR module. # For additional details on the GNU license please see < http://www.gnu.org/licenses/agpl.html >. import sys from django.core.ma...
agpl-3.0
brewingagile/backoffice.brewingagile.org
application/src/main/java/org/brewingagile/backoffice/rest/json/ToJson.java
1547
package org.brewingagile.backoffice.rest.json; import argo.jdom.JsonNode; import argo.jdom.JsonStringNode; import fj.F; import fj.data.Option; import org.brewingagile.backoffice.types.*; import java.time.Instant; import static argo.jdom.JsonNodeFactories.nullNode; import static argo.jdom.JsonNodeFactories.string; p...
agpl-3.0
afshinnj/php-mvc
assets/framework/ckeditor/plugins/table/lang/et.js
2356
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'table', 'et', { border: 'Joone suurus', caption: 'Tabeli tiitel', cell: { menu: 'Lahter', insertBefore: 'Sisesta lahter enne', ins...
agpl-3.0
ho-dieu-it/CMS
app/Models/Event.php
2324
<?php /* * This file is part of Bootstrap CMS. * * (c) Graham Campbell <graham@cachethq.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace GrahamCampbell\BootstrapCMS\Models; use GrahamCampbell\Credentials\Models\Abst...
agpl-3.0
cswcl/lvt
src/index.js
4362
'use strict'; /* globals fetch, FileReader */ const Pbf = require('pbf'); const vectorTile = require('@mapbox/vector-tile'); const L = require('leaflet'); const InteractiveTile = require('./interactive-tile'); const parseStyle = require('./style').parseStyle; const VectorTileLayer = L.GridLayer.extend({ options: {...
agpl-3.0
onlylin/mycollab
mycollab-services/src/main/java/com/esofthead/mycollab/common/domain/AuditLog.java
11766
/** * This file is part of mycollab-services. * * mycollab-services is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * mycolla...
agpl-3.0
ervinb/Airesis
app/assets/javascripts/i18n/bootstrap-datetimepicker.hu.js
867
/** * Hungarian translation for bootstrap-datetimepicker * darevish <http://github.com/darevish> */ ;(function($){ $.fn.fdatetimepicker.dates['hu'] = { days: ["Vasárnap", "Hétfő", "Kedd", "Szerda", "Csütörtök", "Péntek", "Szombat", "Vasárnap"], daysShort: ["Vas", "Hét", "Ked", "Sze", "Csü", "Pén", "Szo", "Vas"]...
agpl-3.0
nu7hatch/desantapp
apps/admin/assets/app/views/locations_list_view.js
3654
/** * Internal: A view for the cities list items. It's derived from * the default listing. */ Desant.Admin.CitiesListItemsView = Backbone.View.extend({ el: '#cities tbody', template: JST['templates/admin/city_items'], initialize: function() { this.models = new Desant.Admin.Cities() this....
agpl-3.0
yajinni/WoWAnalyzer
src/game/shadowlands/SOULBINDS.ts
1557
import { Soulbind } from 'parser/core/Events'; import indexById from 'common/indexById'; const SOULBINDS: { [key: string]: Soulbind, [id: number]: Soulbind, } = { NIYA: { name: 'Niya', id: 1, covenantID: 3, garrisonTalentTreeId: 276, }, DREAMWEAVER: { name: 'Dreamweaver', id: 2, c...
agpl-3.0
lmaslag/test
engine/Library/Zend/Translate/Adapter/Xliff.php
8721
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the ...
agpl-3.0
leslin123/Bootstrap-CMS
app/config/packages/graham-campbell/logviewer/config.php
1352
<?php /** * This file is part of Laravel LogViewer by Graham Campbell. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * Unless required by applicable law or agreed to in writing, s...
agpl-3.0
griggsk/Library-a-la-Carte
test/unit/dod_test.rb
189
require File.dirname(__FILE__) + '/../test_helper' class DodTest < Test::Unit::TestCase fixtures :dods # Replace this with your real tests. def test_truth assert true end end
agpl-3.0
avikivity/scylla
test/boost/alternator_base64_test.cc
2922
/* * Copyright (C) 2020 ScyllaDB */ /* * This file is part of Scylla. * * Scylla 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...
agpl-3.0
InfinniPlatform/InfinniPlatform
InfinniPlatform.Core/Http/Middlewares/PerformanceLoggingMiddleware.cs
1950
using System; using System.Threading.Tasks; using InfinniPlatform.Logging; using Microsoft.AspNetCore.Http; namespace InfinniPlatform.Http.Middlewares { /// <summary> /// Logs performance information of request execution. /// </summary> public class PerformanceLoggingMiddleware { private r...
agpl-3.0
caleboau2012/edusupport
cache/smarty/templates_c/%%E3^E32^E3280675%%header.tpl.php
7965
<?php /* Smarty version 2.6.11, created on 2015-11-23 16:50:19 compiled from include/DetailView/header.tpl */ ?> <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); smarty_core_load_plugins(array('plugins' => array(array('function', 'sugar_button', 'include/DetailView/header.tpl', 59, false),array('...
agpl-3.0
FiviumAustralia/OpenEyes
protected/modules/OphTrConsent/views/default/signature_table1.php
2612
<?php /** * OpenEyes. * * (C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2011 * (C) OpenEyes Foundation, 2011-2013 * This file is part of OpenEyes. * OpenEyes 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 Softwa...
agpl-3.0
OCA/sale-workflow
sale_automatic_workflow_payment_mode/models/__init__.py
199
# © 2016 Camptocamp SA, Sodexis # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) from . import account_payment_mode from . import sale_order from . import automatic_workflow_job
agpl-3.0
kmee/l10n-brazil
l10n_br_nfe/models/payment_line.py
867
# Copyright 2020 KMEE # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import fields, models, api from odoo.addons.spec_driven_model.models import spec_models class FiscalPaymentLine(spec_models.StackedModel): _name = 'l10n_br_fiscal.payment.line' _inherit = [_name, 'nfe.40.dup'] ...
agpl-3.0
markramm/juju-core
cmd/jujud/agent_test.go
7779
// Copyright 2012, 2013 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package main import ( "bytes" stderrors "errors" "fmt" "net/http" "os" "path/filepath" "time" . "launchpad.net/gocheck" "launchpad.net/juju-core/agent" "launchpad.net/juju-core/cmd" "launchpad.net/juju-core...
agpl-3.0
automenta/narchy
lab/src/main/java/jurls/examples/approximation/RenderFunction2D.java
377
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package jurls.examples.approximation; import java.awt.*; /** * * @author thorsten */ public interface RenderFunction2D { doub...
agpl-3.0
SKIRT/PTS
do/dustpedia/make_galaxy_table.py
63024
#!/usr/bin/env python # -*- coding: utf8 -*- # ***************************************************************** # ** PTS -- Python Toolkit for working with SKIRT ** # ** © Astronomical Observatory, Ghent University ** # ***************************************************************** ##...
agpl-3.0
aydancoskun/fairness
unit_tests/testcases/selenium/CAPayrollDeductionCRACompare.php
17513
<?php //Each Year: // Copy testcases/payroll_deduction/CAPayrollDeductionTest2019.csv to the new year. Clear out all lines but the header. // Update below "$this->year = 2019;" to the new year. // Run: ./run_selenium.sh --filter CAPayrollDeductionCRACompareTest::testCRAToCSVFile <-- This will add lines to the abov...
agpl-3.0
alexukua/TeamPass
includes/language/ukrainian.php
67985
<?php /** * * @file ukrainian.php * @author Nils Laumaillé * @version 2.1.26 * @copyright 2009 - 2016 Nils Laumaillé * @licensing GNU AFFERO GPL 3.0 * @link http://www.teampass.net * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WAR...
agpl-3.0
precog/labcoat-legacy
js/app/eggmanager.js
2685
/* * _ _ _ * | | | | | | * | | __ _| |__ ___ ___ __ _| |_ Labcoat (R) * | |/ _` | '_ \ / __/ _ \ / _` | __| Powerful development environment for Quirrel. * | | (_| | |_) | (_| (_) | (_| | |_ Copyright (C) 2010 - 2013...
agpl-3.0
CircuitCoder/ConsoleiT-Frontend
ts/avatar.ts
595
import {Input, Component} from "@angular/core"; import {generateGravatar} from "./util"; @Component({ selector: "ci-avatar", template: require("html/tmpl/avatar.html") }) export class CIAvatar { @Input() name: string; @Input() email: string; showImg: boolean = false; loaded: boolean = false; ngAfterVi...
agpl-3.0
mohamedhagag/community-addons
crm_lead_lost_reason/wizard/lost_reason.py
1840
# -*- coding: utf-8 -*- # # # Author: Romain Deheele # Copyright 2015 Camptocamp SA # # 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, ...
agpl-3.0
afshinnj/php-mvc
assets/framework/ckeditor/plugins/iframe/lang/nb.js
374
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'iframe', 'nb', { border: 'Vis ramme rundt iframe', noUrl: 'Vennligst skriv inn URL for iframe', scrolling: 'Aktiver scrollefelt', title: ...
agpl-3.0
lmaslag/test
engine/core/class/sSystem.php
6360
<?php /** * Shopware 4 * Copyright © 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 ...
agpl-3.0
WaywardRealms/Wayward
WaywardLocks/src/main/java/net/wayward_realms/waywardlocks/GetKeyCommand.java
1111
package net.wayward_realms.waywardlocks; import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; public class GetKeyCommand implements CommandExecutor { private WaywardLocks plugin; p...
agpl-3.0
petterreinholdtsen/alaveteli
db/migrate/114_add_attention_requested_flag_to_info_requests.rb
323
# -*- encoding : utf-8 -*- require 'digest/sha1' class AddAttentionRequestedFlagToInfoRequests < ActiveRecord::Migration def self.up add_column :info_requests, :attention_requested, :boolean, :default => false end def self.down remove_column :info_requests, :attention_requested end end ...
agpl-3.0
Anon215/movim
app/controllers/FeedController.php
197
<?php use Movim\Controller\Base; class FeedController extends Base { function load() { $this->session_only = false; $this->raw = true; } function dispatch() { } }
agpl-3.0
ambition-vietnam/mastodon
app/javascript/mastodon/features/ui/index.js
13961
import classNames from 'classnames'; import React from 'react'; import NotificationsContainer from './containers/notifications_container'; import PropTypes from 'prop-types'; import LoadingBarContainer from './containers/loading_bar_container'; import TabsBar from './components/tabs_bar'; import ModalContainer from './...
agpl-3.0
getintouchapp/tigase-muc
src/main/java/tigase/muc/history/PostgreSqlHistoryProvider.java
4396
/* * Tigase Jabber/XMPP Multi-User Chat Component * Copyright (C) 2008 "Bartosz M. Małkowski" <bartosz.malkowski@tigase.org> * * 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...
agpl-3.0
lihaoalbert/crm-fat
spec/lib/dropbox_spec.rb
14353
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') require File.dirname(__FILE__) + '/dropbox/email_samples' require "fat_free_crm/dropbox" describe "IMAP Dropbox" do before(:each) do @crawler = FatFreeCRM::Dropbox.new @crawler.stub!("expunge!").and_return(true) end def mock_imap ...
agpl-3.0
splicemachine/spliceengine
db-engine/src/main/java/com/splicemachine/db/impl/sql/GenericActivationHolder.java
25495
/* * This file is part of Splice Machine. * Splice Machine 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, or (at your option) any later version. * Splice Machine is distributed i...
agpl-3.0
vimvim/AkkaTest
src/main/scala/jcodec/MP4Writer.scala
4005
package jcodec import org.jcodec.codecs.h264.mp4.AvcCBox import org.jcodec.containers.mp4.muxer.MP4Muxer import org.jcodec.common.NIOUtils._ import org.jcodec.containers.mp4.{MP4Packet, TrackType, Brand} import java.nio.ByteBuffer import org.jcodec.codecs.h264.io.model.{NALUnitType, NALUnit} import org.jcodec.codecs....
agpl-3.0
RestComm/jss7
tcap/tcap-api/src/main/java/org/restcomm/protocols/ss7/tcap/api/tc/dialog/events/TCUserAbortRequest.java
2751
/* * JBoss, Home of Professional Open Source * Copyright 2011, Red Hat, Inc. and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the G...
agpl-3.0
gbour/mediadb
lib/mediadb/mediadb.py
1064
#!/usr/bin/env python # -*- coding: utf8 -*- import os import os.path import glob import sys import inspect import imp class Plugin(object): def __init__(self): pass def help(self): pass def do(self, args): pass def get_plugins(): modfile = dict(inspect.getmembers(sys.module...
agpl-3.0
CaptainCourierIntegration/captain-courier-cidr
src/Cidr/Exception/IllegalStateException.php
376
<?php /* * (c) Captain Courier Integration <captain@captaincourier.org> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * Created by PhpStorm. * User: joseph * Date: 29/08/2013 * Time: 12:25 */ namespace Cidr\Exception; ...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/mobile/lok/flit_youth.lua
765
flit_youth = Creature:new { objectName = "@mob/creature_names:flit_youth", socialGroup = "flit", faction = "", level = 6, chanceHit = 0.25, damageMin = 50, damageMax = 55, baseXp = 147, baseHAM = 180, baseHAMmax = 220, armor = 0, resists = {0,0,0,0,0,0,0,-1,-1}, meatType = "meat_avian", meatAmount = 5, h...
agpl-3.0
ssivadier/puppetmanager
config/environments/production.rb
3382
PuppetManager::Application.configure do # Settings specified here will take precedence over those in config/application.rb. # Code is not reloaded between requests. config.cache_classes = true # Eager load code on boot. This eager loads most of Rails and # your application in memory, allowing both thread we...
agpl-3.0
ComPlat/chemotion_ELN
app/packs/src/components/fetchers/AdminFetcher.js
12919
import 'whatwg-fetch'; import BaseFetcher from './BaseFetcher'; export default class AdminFetcher { static fetchUnitsSystem() { return fetch('/units_system/units_system.json', { credentials: 'same-origin', cache: 'no-store', headers: { 'cache-control': 'no-cache' } }).then(response => response.json())....
agpl-3.0
Sparfel/iTop-s-Portal
library/Zend/InfoCard/Cipher/Pki/Rsa/Interface.php
1851
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
agpl-3.0
AyuntamientoMadrid/consul
spec/models/complan/beneficiary_spec.rb
359
require "rails_helper" RSpec.describe Complan::Beneficiary, type: :model do let(:beneficiary) { build(:complan_beneficiary) } context "validations" do it "is valid" do expect(beneficiary).to be_valid end it "is invalid count" do beneficiary.count_participants = 200 expect(beneficia...
agpl-3.0
southskies/osdial
www/phpsysinfo/includes/os/class.Haiku.inc.php
13319
<?php /** * Haiku System Class * * PHP version 5 * * @category PHP * @package PSI Haiku OS class * @author Mieczyslaw Nalewaj <namiltd@users.sourceforge.net> * @copyright 2012 phpSysInfo * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @version SVN: $Id: class.Haiku...
agpl-3.0
OlafRadicke/peruschim_cpp
src/RouteReverse/manager/Manager.cpp
4011
/* * Copyright (C) 2013 Olaf Radicke <briefkasten@olaf-radicke.de> * * * 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 later * version. * * This progra...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/mobile/corellia/ragtag_kook.lua
2012
ragtag_kook = Creature:new { objectName = "@mob/creature_names:ragtag_kook", randomNameType = NAME_GENERIC, randomNameTag = true, socialGroup = "ragtag", faction = "thug", level = 5, chanceHit = 0.250000, damageMin = 45, damageMax = 50, baseXp = 85, baseHAM = 135, baseHAMmax = 165, armor = 0, resists = {0...
agpl-3.0
zhenzhai/edx-platform
common/lib/sandbox-packages/hint/hint_class/Week7/Prob6_Part10.py
899
# Make sure you name your file with className.py from hint_class_helpers.find_matches import find_matches class Prob6_Part10: """ Author: Shen Ting Ang Date: 11/7/2016 """ def check_attempt(self, params): self.attempt = params['attempt'] #student's attempt self.answer = params['answ...
agpl-3.0
42wim/platform
api/channel_test.go
33742
// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved. // See License.txt for license information. package api import ( "github.com/mattermost/platform/model" "github.com/mattermost/platform/store" "github.com/mattermost/platform/utils" "net/http" "strings" "testing" "time" ) func TestCreateChannel(t *te...
agpl-3.0
VolumetricPixels/Politics
src/main/java/com/volumetricpixels/politics/command/universe/UniverseCreateCommand.java
4368
/* * This file is part of Politics. * * Copyright (c) 2012-2012, VolumetricPixels <http://volumetricpixels.com/> * Politics is licensed under the Affero General Public License Version 3. * * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Publ...
agpl-3.0
Asqatasun/Asqatasun
rules/rules-rgaa4.0/src/main/java/org/asqatasun/rules/rgaa40/Rgaa40Rule130401.java
2541
/** * Asqatasun - Automated webpage assessment * Copyright (C) 2008-2020 Asqatasun.org * * 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 ...
agpl-3.0
ich-net-du/subwire
spec/controllers/articles_controller.rb
740
require 'spec_helper' describe ArticlesController do describe "GET 'index'" do # Following doesn't work here context "and user is not assigned to the chosen instance" do context "but is superadmin" do it "should render articles index of that instance" do # TODO end end context "and no su...
agpl-3.0
CecileBONIN/Silverpeas-Core
web-core/src/main/java/com/stratelia/webactiv/util/viewGenerator/html/arrayPanes/ArrayPaneSilverpeasV5.java
7776
/** * Copyright (C) 2000 - 2013 Silverpeas * * 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 later version. * * As a spe...
agpl-3.0
aborg0/rapidminer-studio
src/main/java/com/rapidminer/gui/tools/ProgressThreadDialog.java
8799
/** * Copyright (C) 2001-2019 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 as published by ...
agpl-3.0
StrictlySkyler/simplval
jquery.thickval.js
8233
/****** 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 later version. This program is distributed in the hope that it will be useful, ...
agpl-3.0
rschnapka/account-closing
account_multicurrency_revaluation/report/currency_unrealized_report.py
10807
# -*- coding: utf-8 -*- ############################################################################## # # Copyright 2012 Camptocamp SA # # 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 F...
agpl-3.0
VietOpenCPS/opencps-v2
modules/backend-api-rest/src/main/java/org/opencps/api/eform/model/EFormSearchModel.java
3353
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2017.09....
agpl-3.0
kaltura/server
infra/general/KCryptoWrapper.class.php
3771
<?php class KCryptoWrapper { public static function getEncryptorClassName() { if (extension_loaded('mcrypt')){ return 'McryptWrapper'; }else{ return 'OpenSSLWrapper'; } } public static function __callStatic($func, $args) ...
agpl-3.0
INRIA/osc
db/migrate/026_create_soumission_europe_partenaires.rb
464
class CreateSoumissionEuropePartenaires < ActiveRecord::Migration def self.up create_table :soumission_europe_partenaires do |t| t.column :soumission_id, :integer t.column :nom, :string t.column :etablissement_gestionnaire, :string t.column :ville, :string t.column :pays, :string ...
agpl-3.0