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
/* * 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/. */ #include "CarbonEngine/Common.h" #include "CarbonEngine/Core/CoreEvents.h" #include "CarbonEngine/Core/EventManag...
savant-nz/carbon
Source/CarbonEngine/Scene/GeometryGather.cpp
C++
mpl-2.0
7,690
/** * 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/. * * Copyright (C) 2010, 2011, 2012, 2013 Pyravlos Team * * http://www.strabon.di.uoa.gr/ */ package org.ope...
wx1988/strabon
postgis/src/main/java/org/openrdf/sail/postgis/evaluation/PostGISSqlCastBuilder.java
Java
mpl-2.0
1,330
package terraform import ( "bytes" "errors" "fmt" "os" "reflect" "sort" "strings" "sync" "testing" "github.com/davecgh/go-spew/spew" "github.com/google/go-cmp/cmp" "github.com/zclconf/go-cty/cty" "github.com/hashicorp/terraform/internal/addrs" "github.com/hashicorp/terraform/internal/configs/configsche...
ewbankkit/terraform
internal/terraform/context_plan_test.go
GO
mpl-2.0
194,480
// ====================================================================== using System; using System.Collections.Generic; using System.Reflection; using CommandLine; using CommandLine.Text; namespace MangaRack.Internals { /// <summary> /// Represents a collection of options. /// </summary> class Option...
Deathspike/mangarack.cs
MangaRack/Internals/Options.cs
C#
mpl-2.0
4,812
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("placeholder","pt",{title:"Propriedades dos marcadores",toolbar:"Símbolo",name:"Nome do marcador",invalidName:"O marcador não pode estar em branco e n...
crunchmail/dentifrice
dist/ckeditor/plugins/placeholder/lang/pt.js
JavaScript
mpl-2.0
406
#include <minizinc/solvers/gecode_solverfactory.hh> #include <minizinc/solvers/gecode_solverinstance.hh> namespace MiniZinc { namespace { void get_wrapper() { static GecodeSolverFactory _gecode_solverfactory; } } // namespace GecodeSolverFactoryInitialiser::GecodeSolverFactoryInitialiser() { get_wrapper(); } } // na...
MiniZinc/libminizinc
solvers/gecode/gecode_solverfactory.cpp
C++
mpl-2.0
337
# -*- coding: utf-8 -*- # © 2009 Pexego/Comunitea # © 2011-2012 Iker Coranti (www.avanzosc.es) # © 2014 Juanjo Algaz (gutierrezweb.es) # © 2014-2016 Pedro M. Baeza # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl-3.0). { "name": "Account balance reporting engine", "version": "8.0.1.2.0", "auth...
Endika/l10n-spain
account_balance_reporting/__openerp__.py
Python
agpl-3.0
1,278
/* Copyright (C) 1999 Claude SIMON (http://q37.info/contact/). This file is part of the Epeios framework. The Epeios framework 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 ...
epeios-q37/epeios
devel/rgstry/rgstry_test.cpp
C++
agpl-3.0
1,175
<?php namespace UpgradeDigital; /** * Resource tag count model represents a count of resources grouped by a * particular tag set e.g. room type. * PHP version 5 * * @package Client * @author Damien Allison <damien@upgrade-digital.com> * @copyright 2015 Upgrade Digital * @license https://github.com/Upgrade-...
Upgrade-Digital/client
php/UpgradeDigital/ResourceTagCount.php
PHP
agpl-3.0
864
# -*- coding:utf-8 -*- # # # Copyright (C) 2013 Michael Telahun Makonnen <mmakonnen@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 as published # by the Free Software Foundation, eit...
nishad-jobsglobal/odoo-marriot
openerp/addons/tapplicant_webcam/__openerp__.py
Python
agpl-3.0
1,685
/* * Copyright (C) 2000 - 2021 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 spec...
SilverDav/Silverpeas-Core
core-services/mylinks/src/integration-test/java/org/silverpeas/core/mylinks/dao/MyLinksDAOITUtil.java
Java
agpl-3.0
2,953
/* * Funambol is a mobile platform developed by Funambol, Inc. * Copyright (C) 2008 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 ...
zjujunge/funambol
externals/java-sdk/syncml/src/main/java/com/funambol/syncml/client/FileSyncSource.java
Java
agpl-3.0
8,195
<?php class order_CancelOrderAction extends f_action_BaseJSONAction { /** * @param Context $context * @param Request $request */ public function _execute($context, $request) { $labels = array(""); foreach ($this->getDocumentInstanceArrayFromRequest($request) as $order) { if ($order instanceof order_pe...
RBSChange/modules.order
actions/CancelOrderAction.class.php
PHP
agpl-3.0
697
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2013-2014 OpenERP (<http://www.openerp.com>). # # This program is free software: you can redistribute it and/or modify # it under the terms of t...
Antiun/odoo
openerp/fields.py
Python
agpl-3.0
75,603
package io.fidelcoria.ayfmap.controller; import java.util.HashMap; import java.util.Map; import org.springframework.stereotype.Component; import javafx.fxml.FXML; import javafx.scene.control.Label; import javafx.scene.control.Tab; import javafx.scene.control.TabPane; @Component public class MainController { @FXML...
fidelcoria/AYFM-Scheduling
AssignmentPlanner/src/main/java/io/fidelcoria/ayfmap/controller/MainController.java
Java
agpl-3.0
1,099
$(function() { function FirmwareUpdaterViewModel(parameters) { var self = this; self.settingsViewModel = parameters[0]; self.loginState = parameters[1]; self.connection = parameters[2]; self.printerState = parameters[3]; self.configPathAvrdude = ko.observable(); ...
mcecchi/SuperOcto
OctoPrint-FirmwareUpdater/octoprint_firmwareupdater/static/js/firmwareupdater.js
JavaScript
agpl-3.0
16,233
/* ************************************************************************ ******************* CANADIAN ASTRONOMY DATA CENTRE ******************* ************** CENTRE CANADIEN DE DONNÉES ASTRONOMIQUES ************** * * (c) 2009. (c) 2009. * Government of Canada ...
opencadc/vos
cadc-vos-server/src/main/java/ca/nrc/cadc/vos/server/TransferInlineContentHandler.java
Java
agpl-3.0
6,452
# frozen_string_literal: true require 'spec_helper' describe 'SharedStrings' do it 'custom_shared_strings_name.xlsx' do xlsx = OoxmlParser::Parser.parse('spec/workbook/shared_strings/custom_shared_strings_name.xlsx') expect(xlsx.shared_strings_table.count).to eq(1) end end
ONLYOFFICE/ooxml_parser
spec/workbook/shared_strings_spec.rb
Ruby
agpl-3.0
288
/******************************************************************************* * This file is part of Termitaria, a project management tool * Copyright (C) 2008-2013 CodeSphere S.R.L., www.codesphere.ro * * Termitaria is free software; you can redistribute it and/or * modify it under the terms of th...
CodeSphere/termitaria
TermitariaAudit/JavaSource/ro/cs/logaudit/entity/Role.java
Java
agpl-3.0
2,881
<?php include_once '../../../../../../lib/defaults.php'; include_once '../fns/place_point_method_page.php'; include_once '../../../../../fns/ApiDoc/trueResult.php'; place_point_method_page('delete', [ [ 'name' => 'id', 'description' => 'The ID of the point to delete.', ], ], ApiDoc\trueResult(...
zvini/website
www/help/api-doc/place/point/delete/index.php
PHP
agpl-3.0
392
package de.dvdb.domain.model.social; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "dvdb2_fbsession") p...
chris-dvdb/dvdb.de
dvdb-ejb/src/main/java/de/dvdb/domain/model/social/FacebookSession.java
Java
agpl-3.0
961
/* Copyright (c) 2006-2012 by OpenLayers Contributors (see authors.txt for * full list of contributors). Published under the 2-clause BSD license. * See license.txt in the OpenLayers distribution or repository for the * full text of the license. */ /** * @requires OpenLayers/Format/SLD/v1.js * @requires O...
B3Partners/geo-ov
src/main/webapp/openlayers/lib/OpenLayers/Format/SLD/v1_0_0.js
JavaScript
agpl-3.0
1,351
// =================================================================================================== // _ __ _ _ // | |/ /__ _| | |_ _ _ _ _ __ _ // | ' </ _` | | _| || | '_/ _` | // |_|\_\__,_|_|\__|\_,_|_| \_...
moskiteau/KalturaGeneratedAPIClientsJava
src/main/java/com/kaltura/client/types/KalturaUiConfAdminFilter.java
Java
agpl-3.0
2,117
/* * _Bullseye.cpp * * Created on: Aug 21, 2015 * Author: yankai */ #include "_Bullseye.h" #ifdef USE_OPENCV #ifdef USE_CUDA namespace kai { _Bullseye::_Bullseye() { m_abs = 90; m_scale1 = 0.25; m_scale2 = 0.0625; m_thr1 = 200; m_thr2 = 255; } _Bullseye::~_Bullseye() { } bool _Bullseye::init(void*...
yankailab/OpenKAI
src/Detector/_Bullseye.cpp
C++
agpl-3.0
2,195
<?php /** * SowerPHP * Copyright (C) SowerPHP (http://sowerphp.org) * * Este programa es software libre: usted puede redistribuirlo y/o * modificarlo bajo los términos de la Licencia Pública General Affero de GNU * publicada por la Fundación para el Software Libre, ya sea la versión * 3 de la Licencia, o (a su ...
LibreDTE/libredte-webapp
website/Module/Honorarios/Model/BoletaTerceros.php
PHP
agpl-3.0
12,733
#!/usr/bin/env python from __future__ import print_function, division import multiprocessing import os import csv import datetime import logging from datetime import datetime import argparse import shutil import math from glob import glob import gzip from shi7 import __version__ from shi7.shi7 import TRUE_FALSE_DICT, ...
knights-lab/shi7
shi7/shi7_learning.py
Python
agpl-3.0
15,977
package cn.dlb.bim.ifc.engine.jvm; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayList; import java.util.List; import org.apache.commons.io.IOUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactor...
shenan4321/BIMplatform
src/cn/dlb/bim/ifc/engine/jvm/JvmRenderEngineFactory.java
Java
agpl-3.0
3,114
'use strict'; angular.module('GO.Modules.GroupOffice.Contacts').factory('GO.Modules.GroupOffice.Contacts.Model.ContactGroup', [ 'GO.Core.Factories.Data.Model', function (Model) { var ContactGroup = GO.extend(Model, function () { //rename function because this record has a delete attribute on the server this....
Intermesh/groupoffice-webclient
app/modules/groupoffice/contacts/model/contact-group.js
JavaScript
agpl-3.0
610
<?php namespace WEEEOpen\TaralloTest\Database; use PHPUnit\Framework\TestCase; use WEEEOpen\Tarallo\Database\Database; use WEEEOpen\Tarallo\Item; abstract class DatabaseTest extends TestCase { protected $db = null; // this cannot be done, PLAIN AND SIMPLE. Even though it comes straight from an example inside docu...
WEEE-Open/tarallo-backend
tests/Database/DatabaseTest.php
PHP
agpl-3.0
4,897
# -*- coding: utf-8 -*- ############################################################################## # # Author: OpenDrive Ltda # Copyright (c) 2013 Opendrive Ltda # # WARNING: This program as such is intended to be used by professional # programmers who take the whole responsibility of assessing all potential # cons...
kailIII/emaresa
rent.resp/partner.py
Python
agpl-3.0
1,548
using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using SSCMS.Dto; using SSCMS.Utils; namespace SSCMS.Web.Controllers.Admin.Common.Form { public partial class LayerImageUploadController { [HttpGet, Route(Route)] public async Task<ActionResult<Options>> Get([FromQuery] SiteRequest r...
siteserver/cms
src/SSCMS.Web/Controllers/Admin/Common/Form/LayerImageUploadController.Get.cs
C#
agpl-3.0
1,054
(function() { 'use strict'; var getModulesList = function(modules) { return modules.map(function(moduleName) { return {name: moduleName}; }); }; var jsOptimize = process.env.REQUIRE_BUILD_PROFILE_OPTIMIZE !== undefined ? process.env.REQUIRE_BUILD_PROFILE_OPTIMIZE : ...
TeachAtTUM/edx-platform
lms/static/lms/js/build.js
JavaScript
agpl-3.0
8,162
# -*- coding: utf-8 -*- import time from datetime import timedelta class CookieJar: def __init__(self, pluginname, account=None): self.cookies = {} self.plugin = pluginname self.account = account def add_cookies(self, clist): for c in clist: name = c.split("\t")[5...
vuolter/pyload
src/pyload/core/network/cookie_jar.py
Python
agpl-3.0
1,007
/** * vinimay * Vinimay is a decentralised social network focused on giving back control of its data to the user * * OpenAPI spec version: 0.1.0 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually...
JosephCaillet/vinimay
client/src/providers/apiClient/model/deletionServerInput.ts
TypeScript
agpl-3.0
569
# # Copyright (C) 2011 - 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
app/controllers/context_modules_controller.rb
Ruby
agpl-3.0
29,429
<?php /** * Copyright (c) 2012, Agence Française Informatique (AFI). All rights reserved. * * AFI-OPAC 2.0 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. * * There are special exceptions to the ...
lolgzs/opacce
library/Class/Catalogue.php
PHP
agpl-3.0
19,460
class WorkAssignmentPlugin < Noosfero::Plugin def self.plugin_name "Work Assignment" end def self.plugin_description _("New kind of content for organizations.") end def self.can_download_submission?(user, submission) return unless submission submission.published? || (user && (submission.aut...
EcoAlternative/noosfero-ecosol
plugins/work_assignment/lib/work_assignment_plugin.rb
Ruby
agpl-3.0
2,790
<?php namespace OniiChan\Domain; interface Entity { /** * Return an Entity identifier * * @return Identifier */ public function id(); }
flaxandteal/onii-chan
laravel/src/lib/OniiChan/Domain/Entity.php
PHP
agpl-3.0
153
/* * Copyright 2015 Erwin Müller <erwin.mueller@deventm.org> * * This file is part of sscontrol-httpd-yourls. * * sscontrol-httpd-yourls 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 ver...
devent/sscontrol
sscontrol-httpd-yourls/src/main/java/com/anrisoftware/sscontrol/httpd/yourls/YourlsServiceImpl.java
Java
agpl-3.0
10,069
/* * 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 * t...
elki-project/elki
elki-core-util/src/test/java/elki/utilities/datastructures/KuhnMunkresWongTest.java
Java
agpl-3.0
4,174
Brimir::Application.routes.draw do devise_for :users, controllers: { omniauth_callbacks: 'omniauth' } resources :users namespace :tickets do resource :deleted, only: :destroy, controller: :deleted resource :selected, only: :update, controller: :selected end resources :tickets, only: [:index, :show...
vartana/brimir
config/routes.rb
Ruby
agpl-3.0
876
#include <stddef.h> #include "logger/logger.h" #include "wrappers.h" using namespace drivers::i2c; I2CResult I2CFallbackBus::Write(const I2CAddress address, gsl::span<const uint8_t> inData) { const I2CResult systemBusResult = this->_innerBuses.Bus.Write(address, inData); if (systemBusResult == I2CR...
PW-Sat2/PWSat2OBC
libs/drivers/i2c/fallback.cpp
C++
agpl-3.0
1,832
<?php /** * Soap Handler Class * * * @package Np_Soap * @subpackage Np_Soap * @copyright Copyright (C) 2012-2013 S.D.O.C. LTD. All rights reserved. * @license GNU Affero Public License version 3 or later; see LICENSE.txt */ /** * Np_Db Class Definition * * @package Np_Soa...
mehulsbhatt/NPG
library/Np/Soap/Handler.php
PHP
agpl-3.0
7,386
# -*- coding: utf-8 -*- # © 2014 Elico Corp (https://www.elico-corp.com) # Licence AGPL-3.0 or later(http://www.gnu.org/licenses/agpl.html) import time from datetime import datetime import openerp.addons.decimal_precision as dp from openerp.osv import fields, osv from openerp.tools import DEFAULT_SERVER_DATETIME_FOR...
Elico-Corp/openerp-7.0
mrp_mo_nopicking/mrp.py
Python
agpl-3.0
4,435
/** * @(#)MediaExportParameters.java * * This file is part of the Non-Linear Book project. * Copyright (c) 2012-2016 Anton P. Kolosov * Authors: Anton P. Kolosov, et al. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License version...
Antokolos/NLB
NLBL/src/main/java/com/nlbhub/nlb/domain/MediaExportParameters.java
Java
agpl-3.0
3,959
<div align="center" class="heading_gray"> <h3>User Registration</h3> </div> <br/> <?php echo form_open('user/user_registration/userinsert', array('id' => 'formUser')); echo blue_box_top(); ?> <table width="100%" border="0" cellspacing="0" cellpadding="4" align="center" class="heading_tab" style="margin-top:15p...
itschool/kalolsavam-subdistrict
system/application/views/user/user_registration.php
PHP
agpl-3.0
3,619
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateOauthAuthCodesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('oauth_au...
monicahq/monica
database/migrations/2016_06_01_000001_create_oauth_auth_codes_table.php
PHP
agpl-3.0
852
require 'spec_helper' require 'rollbar/middleware/sinatra' require 'sinatra/base' require 'rack/test' class SinatraDummy < Sinatra::Base class DummyError < StandardError; end use Rollbar::Middleware::Sinatra get '/foo' do raise DummyError.new end get '/bar' do 'this will not crash' end post '...
NullVoxPopuli/aeonvera
vendor/bundle/ruby/2.4.0/gems/rollbar-2.15.2/spec/rollbar/middleware/sinatra_spec.rb
Ruby
agpl-3.0
5,036
/* * 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 y...
Asqatasun/Asqatasun
rules/rules-rgaa3.0/src/main/java/org/asqatasun/rules/rgaa30/Rgaa30Rule011001.java
Java
agpl-3.0
1,487
'use strict'; var phonetic = require('phonetic'); var socketio = require('socket.io'); var _ = require('underscore'); var load = function(http) { var io = socketio(http); var ioNamespace = '/'; var getEmptyRoomId = function() { var roomId = null; do { roomId = phoneti...
ryanpetris/droppy
socket.js
JavaScript
agpl-3.0
2,696
/* * Fluffy Meow - Torrent RSS generator for TV series * Copyright (C) 2015 Victor Denisov * * 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 * (...
vdenisov/fluffy-meow
src/main/java/org/plukh/fluffymeow/aws/AWSInstanceInfoProviderImpl.java
Java
agpl-3.0
3,343
require_relative 'api_fixtures_helper' class FakeApiResponse include ApiFixturesHelper def app_init parse(app_init_plist) end def all_cinemas parse(all_cinemas_plist) end def film_times(cinema_id, film_id) parse(film_times_plist(cinema_id, film_id)) end end
andycroll/odeon_uk
test/support/fake_api_response.rb
Ruby
agpl-3.0
288
/* * Copyright (c) 2011-2015 libbitcoin developers (see AUTHORS) * Copyright (c) 2016-2017 metaverse core developers (see MVS-AUTHORS) * * This file is part of metaverse. * * metaverse is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License with * ad...
sikamedia/metaverse
src/lib/bitcoin/message/alert.cpp
C++
agpl-3.0
4,834
module BABYLON { export class Animation { private _keys: Array<any>; private _offsetsCache = {}; private _highLimitsCache = {}; private _stopped = false; public _target; private _easingFunction: IEasingFunction; public targetPropertyPath: string[]; p...
brosnanyuen/Project-S
Babylon.js-master/Babylon/Animations/babylon.animation.ts
TypeScript
agpl-3.0
17,965
// //{block name="backend/create_backend_order/view/toolbar"} // Ext.define('Shopware.apps.SwagBackendOrder.view.main.Toolbar', { extend: 'Ext.toolbar.Toolbar', alternateClassName: 'SwagBackendOrder.view.main.Toolbar', alias: 'widget.createbackendorder-toolbar', dock: 'top', ui: 'shopware-ui', ...
GerDner/luck-docker
engine/Shopware/Plugins/Default/Backend/SwagBackendOrder/Views/backend/swag_backend_order/view/main/toolbar.js
JavaScript
agpl-3.0
8,411
/** * 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...
uniteddiversity/mycollab
mycollab-services/src/main/java/com/esofthead/mycollab/module/crm/service/ibatis/ProductServiceImpl.java
Java
agpl-3.0
2,122
/* * jHears, acoustic fingerprinting framework. * Copyright (C) 2009-2010 Juha Heljoranta. * * This file is part of jHears. * * jHears 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 ver...
inter6/jHears
jhears-server/src/main/java/org/jhears/server/IUser.java
Java
agpl-3.0
950
<?php /********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc. * * This program is free software; you can redistribute it and/or modify it under ...
minh10huy/HiringBossCRM
include/VarDefHandler/VarDefHandler.php
PHP
agpl-3.0
7,729
/* * Copyright (C) 2000 - 2021 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 spec...
SilverDav/Silverpeas-Core
core-services/pdc/src/main/java/org/silverpeas/core/pdc/pdc/model/PdcAxisValue.java
Java
agpl-3.0
15,496
package io.github.jhg543.mellex.operation; import com.google.common.base.Preconditions; import com.google.common.base.Splitter; import io.github.jhg543.mellex.ASTHelper.*; import io.github.jhg543.mellex.antlrparser.DefaultSQLBaseListener; import io.github.jhg543.mellex.antlrparser.DefaultSQLLexer; import io.github.jhg...
jhg543/mellex
src/main/java/io/github/jhg543/mellex/operation/StringEdgePrinter.java
Java
agpl-3.0
11,043
require 'open_food_network/referer_parser' module Admin class EnterprisesController < ResourceController before_filter :load_enterprise_set, :only => :index before_filter :load_countries, :except => [:index, :register, :check_permalink] before_filter :load_methods_and_fees, :only => [:new, :edit, :update...
stveep/openfoodnetwork
app/controllers/admin/enterprises_controller.rb
Ruby
agpl-3.0
9,547
package com.neverwinterdp.scribengin.dataflow.example.wire; import java.util.Properties; import com.neverwinterdp.message.Message; import com.neverwinterdp.scribengin.dataflow.DataSet; import com.neverwinterdp.scribengin.dataflow.Dataflow; import com.neverwinterdp.scribengin.dataflow.DataflowDescriptor; import com.ne...
DemandCube/NeverwinterDP
scribengin/dataflow/example/src/main/java/com/neverwinterdp/scribengin/dataflow/example/wire/ExampleWireDataflowSubmitter.java
Java
agpl-3.0
6,521
package com.gmail.nossr50.commands.party; import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import com.gmail.nossr50.mcMMO; import com.gmail.nossr50.commands.CommandHelper; impo...
javalangSystemwin/mcMMOPlus
src/main/java/com/gmail/nossr50/commands/party/PCommand.java
Java
agpl-3.0
4,799
import { TYPES } from 'core/app/types' import { StateManager } from 'core/dialog' import { ContainerModule, interfaces } from 'inversify' import { DecisionEngine } from './decision-engine' import { DialogEngine } from './dialog-engine' import { FlowService } from './flow/flow-service' import { FlowNavigator } from './...
botpress/botpress
packages/bp/src/core/dialog/dialog.inversify.ts
TypeScript
agpl-3.0
1,613
/* uSquare 1.0 - Universal Responsive Grid Copyright (c) 2012 Br0 (shindiristudio.com) Project site: http://codecanyon.net/ Project demo: http://shindiristudio.com/usquare/ */ (function($) { function uSquareItem(element, options) { this.$item = $(element); this.$parent = options.$parent; this.opti...
AhoraMadrid/ahoramadrid.org
js/vendor/jquery.usquare.js
JavaScript
agpl-3.0
6,490
var searchData= [ ['backtrace',['backtrace',['../class_logger.html#a5deb9b10c43285287a9113f280ee8fab',1,'Logger']]], ['baseexception',['BaseException',['../class_base_exception.html',1,'']]], ['baseexception_2ephp',['BaseException.php',['../_base_exception_8php.html',1,'']]], ['basic_2ephp',['Basic.php',['../_m...
atk4/atk4-web
dox/html/search/all_62.js
JavaScript
agpl-3.0
2,662
package org.demo.jdk.utilapis; public class Bird implements Flyable { private int speed = 15; @Override public void fly() { System.out.println("I'm Bird, my speed is " + speed + "."); } }
William-Hai/SimpleDemo
src/org/demo/jdk/utilapis/Bird.java
Java
agpl-3.0
220
<?php // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0. // See the LICENCE file in the repository root for full licence text. namespace App\Libraries; use App\Exceptions\UserVerificationException; use App\Mail\UserVerification as UserVerificationMail; use App\M...
omkelderman/osu-web
app/Libraries/UserVerification.php
PHP
agpl-3.0
4,310
/* Copyright (C) 2015 Jack Fagner This file is part of OpenTidl. OpenTidl 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...
iamsi/OpenTidl
OpenTidl/Methods/OpenTidlStreamMethods.cs
C#
agpl-3.0
5,835
# -*- coding: utf-8 -*- ############################################################################## # # Infrastructure # Copyright (C) 2014 Ingenieria ADHOC # No email # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License...
zhaohuaw/odoo-infrastructure
addons/infrastructure/database_type.py
Python
agpl-3.0
2,270
# frozen_string_literal: true require 'rails_helper' describe StudentsController do let(:user) { create(:student) } before { allow(controller).to receive(:current_user) { user } } it { should use_before_action :authorize! } describe '#index' do let!(:classroom) { create(:classroom) } let!(:student...
empirical-org/Empirical-Core
services/QuillLMS/spec/controllers/students_controller_spec.rb
Ruby
agpl-3.0
4,686
# SPDX-License-Identifier: AGPL-3.0-or-later """ SepiaSearch (Videos) """ from json import loads from dateutil import parser, relativedelta from urllib.parse import urlencode from datetime import datetime # about about = { "website": 'https://sepiasearch.org', "wikidata_id": None, "official_api_documenta...
dalf/searx
searx/engines/sepiasearch.py
Python
agpl-3.0
2,928
<?php /* Kevin Froman - Easy IPFS: easily interact with IPFS in php via this simple API Copyright (C) 2017 Kevin Froman 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 ...
beardog108/seedbin
easy-ipfs.php
PHP
agpl-3.0
2,545
import React from 'react'; import { render, waitForElement } from 'react-testing-library'; import FakeDataProvider from '@olimat/web/utils/test/FakeDataProvider'; import MockErrorProvider from '@olimat/web/utils/test/MockErrorProvider'; import MockNextContext from '@olimat/web/utils/test/MockNextContext'; import { ren...
iquabius/olimat
packages/web/src/components/Exam/Details.test.tsx
TypeScript
agpl-3.0
1,976
/* Classe gerada automaticamente pelo MSTech Code Creator */ namespace MSTech.GestaoEscolar.BLL { using MSTech.Business.Common; using MSTech.GestaoEscolar.Entities; using MSTech.GestaoEscolar.DAL; using System.Data; using MSTech.Data.Common; using System.Collections.Generic; using System.Linq; ...
prefeiturasp/SME-SGP
Src/MSTech.GestaoEscolar.BLL/CLS_AlunoAvaliacaoTurmaQualidadeBO.cs
C#
agpl-3.0
5,771
module Laser # Class that's just a name. Substitute for symbols, which can overlap # with user-code values. class PlaceholderObject def initialize(name) @name = name end def inspect @name end alias_method :to_s, :inspect end end
michaeledgar/laser
lib/laser/support/placeholder_object.rb
Ruby
agpl-3.0
269
/** * Copyright (c) 2002-2011 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j 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...
neo4j-attic/graphdb
kernel/src/main/java/org/neo4j/graphdb/index/IndexHits.java
Java
agpl-3.0
4,080
import { createSlice, createEntityAdapter, Reducer, AnyAction, PayloadAction } from '@reduxjs/toolkit'; import { fetchAll, fetchDetails, install, uninstall, loadPluginDashboards, panelPluginLoaded } from './actions'; import { CatalogPlugin, PluginListDisplayMode, ReducerState, RequestStatus } from '../types'; import { ...
grafana/grafana
public/app/features/plugins/admin/state/reducer.ts
TypeScript
agpl-3.0
4,001
# -*- coding: utf-8 -*- # # SPDX-FileCopyrightText: 2013-2021 Agora Voting SL <contact@nvotes.com> # # SPDX-License-Identifier: AGPL-3.0-only # import pickle import base64 import json import re from datetime import datetime from flask import Blueprint, request, make_response, abort from frestq.utils import loads, du...
agoravoting/election-orchestra
public_api.py
Python
agpl-3.0
8,209
class ReportsController < ApplicationController skip_load_and_authorize_resource def expenses @filter = params[:filter] if (@type = params[:by_type]) && (@group = params[:by_group]) @expenses = ExpenseReport.by(@type, @group).accessible_by(current_ability) if @filter @filter.each { |k,v...
karthiksenthil/travel-support-program
app/controllers/reports_controller.rb
Ruby
agpl-3.0
1,429
/* * Claudia Project * http://claudia.morfeo-project.org * * (C) Copyright 2010 Telefonica Investigacion y Desarrollo * S.A.Unipersonal (Telefonica I+D) * * See CREDITS file for info about members and contributors. * * This program is free software; you can redistribute it and/or modify * it under the terms of the Affe...
StratusLab/claudia
tcloud-server/src/main/java/com/telefonica/claudia/smi/deployment/ServiceItemResource.java
Java
agpl-3.0
6,138
// Copyright (c) 2012-present The upper.io/db authors. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the...
admpub/nging
vendor/github.com/webx-top/db/comparison.go
GO
agpl-3.0
8,541
<?php /** * plentymarkets shopware connector * Copyright © 2013-2014 plentymarkets GmbH * * 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 Publ...
naturdrogerie/plentymarkets-shopware-connector
Components/Soap/Models/PlentySoapObject/DeliveryRow.php
PHP
agpl-3.0
1,450
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'UserProject.drive_auth' db.add_column(u'user_project', 'drive_auth', s...
taikoa/wevolver-server
wevolve/projects/migrations/0006_auto__add_field_userproject_drive_auth.py
Python
agpl-3.0
8,173
ace.define("ace/mode/jsx", ["require", "exports", "module", "ace/lib/oop", "ace/mode/text", "ace/tokenizer", "ace/mode/jsx_highlight_rules", "ace/mode/matching_brace_outdent", "ace/mode/behaviour/cstyle", "ace/mode/folding/cstyle"], function (e, t, n) { function l() { this.HighlightRules = o, this.$outdent ...
ahammer/MySaasa
server/src/main/webapp/ace/src-min-noconflict/mode-jsx.js
JavaScript
agpl-3.0
17,411
<?php class TreeNode { public $text = ""; public $id = ""; public $iconCls = ""; public $leaf = true; public $draggable = false; public $href = "#"; public $hrefTarget = ""; function __construct($id,$text,$iconCls,$leaf,$draggable,$href,$hrefTarget) { $this->id = $id; ...
carbonadona/pm
workflow/engine/methods/cases/casesToReviseTreeContent.php
PHP
agpl-3.0
2,947
<?php namespace CloudDataService\NHSNumberValidation\Test; use CloudDataService\NHSNumberValidation\Test\TestCase; use CloudDataService\NHSNumberValidation\Validator; class ValidatorTest extends TestCase { public function testInit() { $validator = new Validator; $this->assertTrue(is_object($v...
CloudDataService/nhs-number-validation
tests/ValidatorTest.php
PHP
agpl-3.0
3,767
# Copyright (C) 2021 OpenMotics BV # # 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 distribu...
openmotics/gateway
src/gateway/apartment_controller.py
Python
agpl-3.0
9,287
<?php /** * BaseContact class * * @author Carlos Palma <chonwil@gmail.com> */ abstract class BaseContact extends ContentDataObject { // ------------------------------------------------------- // Access methods // ------------------------------------------------------- ...
fengoffice/fengoffice
application/models/contacts/base/BaseContact.class.php
PHP
agpl-3.0
15,547
<?php /********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc. * * This program is free software; you can redistribute it and/or modify it under ...
firstmoversadvantage/sugarcrm
tests/include/SubPanel/Bug41738Test.php
PHP
agpl-3.0
6,370
<?php class MetadataPlugin extends KalturaPlugin { const PLUGIN_NAME = 'metadata'; const METADATA_FLOW_MANAGER_CLASS = 'kMetadataFlowManager'; const METADATA_COPY_HANDLER_CLASS = 'kMetadataObjectCopiedHandler'; const METADATA_DELETE_HANDLER_CLASS = 'kMetadataObjectDeletedHandler'; const BULK_UPLOAD_COLUM...
MimocomMedia/kaltura
package/app/app/plugins/metadata/MetadataPlugin.php
PHP
agpl-3.0
10,744
import React from 'react'; import PropTypes from 'prop-types'; import ManaUsageGraph from './ManaUsageGraph'; class HealingDoneGraph extends React.PureComponent { static propTypes = { start: PropTypes.number.isRequired, end: PropTypes.number.isRequired, offset: PropTypes.number.isRequired, healingBy...
yajinni/WoWAnalyzer
src/parser/shared/modules/resources/mana/ManaUsageChartComponent.js
JavaScript
agpl-3.0
3,101
/* * Copyright (c) 2015 - 2016 Memorial Sloan-Kettering Cancer Center. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS * FOR A PARTICULAR PURPOSE. The software and documentation provided hereunder * is ...
bihealth/cbioportal
core/src/main/java/org/mskcc/cbio/portal/util/GeneticProfileUtil.java
Java
agpl-3.0
3,897
<?php require_once __BASE__.'/model/Storable.php'; class AccountSMTP extends Storable { public $id = MYSQL_PRIMARY_KEY; public $code = ''; public $created = MYSQL_DATETIME; public $last_edit = MYSQL_DATETIME; public $name = ''; public $host = ''; public $port = ''; public $connection...
ctlr/MailCtlr
module/config/model/AccountSMTP.php
PHP
agpl-3.0
2,329
# frozen_string_literal: true require "spec_helper" describe "Edit initiative", type: :system do let(:organization) { create(:organization) } let(:user) { create(:user, :confirmed, organization: organization) } let(:initiative_title) { translated(initiative.title) } let(:new_title) { "This is my initiative ne...
decidim/decidim
decidim-initiatives/spec/system/edit_initiative_spec.rb
Ruby
agpl-3.0
2,976
from odoo import fields, models class Job(models.Model): _inherit = "crm.team" survey_id = fields.Many2one( 'survey.survey', "Interview Form", help="Choose an interview form") def action_print_survey(self): return self.survey_id.action_print_survey()
ingadhoc/sale
crm_survey/models/crm_job.py
Python
agpl-3.0
291
package com.alessiodp.parties.bukkit.addons.external.skript.expressions; import ch.njol.skript.classes.Changer; import ch.njol.skript.doc.Description; import ch.njol.skript.doc.Examples; import ch.njol.skript.doc.Name; import ch.njol.skript.doc.Since; import ch.njol.skript.expressions.base.SimplePropertyExpression; im...
AlessioDP/Parties
bukkit/src/main/java/com/alessiodp/parties/bukkit/addons/external/skript/expressions/ExprPartyName.java
Java
agpl-3.0
1,576
class CreateColorMappings < ActiveRecord::Migration def self.up create_table :color_mappings do |t| t.references :collage t.references :tag t.string :hex t.timestamps end end def self.down drop_table :color_mappings end end
emmalemma/h2o
db/migrate/20121005144035_create_color_mappings.rb
Ruby
agpl-3.0
269
############################################################################## # For copyright and license notices, see __manifest__.py file in module root # directory ############################################################################## from . import account_move from . import account_move_line from . import ...
ingadhoc/multi-company
account_multic_fix/models/__init__.py
Python
agpl-3.0
340
/** * Copyright (C) 2001-2020 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 ...
rapidminer/rapidminer-studio
src/main/java/com/rapidminer/gui/new_plotter/configuration/LineFormat.java
Java
agpl-3.0
6,597