repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
Hilfe/decidim | decidim-core/lib/decidim/has_scope.rb | 635 | # frozen_string_literal: true
require "active_support/concern"
module Decidim
# A concern with the features needed when you want a model to have a scope.
module HasScope
extend ActiveSupport::Concern
included do
belongs_to :scope,
foreign_key: "decidim_scope_id",
c... | agpl-3.0 |
epu-ntua/FITMAN-SeMa | coma-engine/src/main/java/de/wdilab/coma/insert/relationships/RDFAlignmentParser.java | 26954 | /*
* COMA 3.0 Community Edition
*
* 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 ... | agpl-3.0 |
SeedScientific/polio | source_data/migrations/0065_auto__del_unique_sourceregion_region_string__add_unique_sourceregion_r.py | 73358 | # -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Removing unique constraint on 'SourceRegion', fields ['region_string']
... | agpl-3.0 |
UCL-INGI/Informatique-1-additional | M2Q9/student/Exercice9Vide.java | 943 | /**
* Copyright (c) 2016 Ludovic Taffin
* 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 progr... | agpl-3.0 |
OpusVL/odoo | addons/web_kanban/static/src/js/kanban.js | 58441 | openerp.web_kanban = function (instance) {
var _t = instance.web._t,
_lt = instance.web._lt;
var QWeb = instance.web.qweb;
instance.web.views.add('kanban', 'instance.web_kanban.KanbanView');
instance.web_kanban.KanbanView = instance.web.View.extend({
template: "KanbanView",
display_name: _lt('Kanban'),
... | agpl-3.0 |
enviroCar/enviroCar-server | core/src/main/java/org/envirocar/server/core/guice/CoreModule.java | 3305 | /*
* Copyright (C) 2013-2021 The enviroCar project
*
* 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.
*
* ... | agpl-3.0 |
epeios-q37/epeios | apps/esketch/frontend/Dalvik/jni/ui_ssn_frm.cpp | 2347 | /*
'ui_ssn_frm.cpp' by Claude SIMON (http://q37.info/contact/).
This file is part of 'eSketch' software.
'eSketch' 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 Lic... | agpl-3.0 |
axelor/axelor-business-suite | axelor-sale/src/main/java/com/axelor/apps/sale/web/ConfiguratorCreatorController.java | 3717 | /*
* 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 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/object/weapon/ranged/pistol/pistol_cdef_corsec.lua | 5072 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program 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 of the License,
--or (at your option) any later versio... | agpl-3.0 |
digilys/digilys | spec/models/group_spec.rb | 8664 | require 'spec_helper'
describe Group do
context "factory" do
subject { build(:group) }
it { should be_valid }
context "invalid" do
subject { build(:invalid_group) }
it { should_not be_valid }
end
end
context "accessible attributes" do
it { should allow_mass_assignment_of(:name) }... | agpl-3.0 |
devs1991/test_edx_docmode | venv/lib/python2.7/site-packages/piexif/_common.py | 1612 | import struct
def split_into_segments(data):
"""Slices JPEG meta data into a list from JPEG binary data.
"""
if data[0:2] != b"\xff\xd8":
raise ValueError("Given data isn't JPEG.")
head = 2
segments = [b"\xff\xd8"]
while 1:
if data[head: head + 2] == b"\xff\xda":
... | agpl-3.0 |
crb02005/SuperGreatDataLayer | application/application.php | 345 | <?php namespace application;
require_once(dirname(__FILE__) .'/../dataLayer/database.connection.php');
abstract class Application{
var $_context;
function __construct(){
$this->setDatabaseConnections();
}
abstract protected function setDatabaseConnections();
public function getConnections(){
return $t... | agpl-3.0 |
rfhk/tks-custom | project_view_adjust_tks/models/project_project.py | 258 | # -*- coding: utf-8 -*-
# Copyright 2017 Quartile Limited
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
from odoo import models
class ProjectProject(models.Model):
_inherit = 'project.project'
_order = "date, sequence, name, id"
| agpl-3.0 |
fomalsd/unitystation | UnityProject/Assets/Mirror/Runtime/NetworkWriter.cs | 17666 | using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
using UnityEngine;
namespace Mirror
{
/// <summary>Helper class that weaver populates with all writer types.</summary>
// Note that c# creates a different static variable for each type
// -> Weaver.Rea... | agpl-3.0 |
zvini/website | www/scripts/expire-unused-users.php | 685 | #!/usr/bin/php
<?php
chdir(__DIR__);
include_once '../../lib/cli.php';
include_once '../../lib/defaults.php';
include_once '../fns/mysqli_query_object.php';
include_once '../lib/mysqli.php';
$microtime = microtime(true);
$insert_time = time() - 7 * 24 * 60 * 60;
$sql = 'select * from users where num_signins = 0'
... | agpl-3.0 |
codegram/decidim | decidim-meetings/spec/commands/admin/update_agenda_spec.rb | 2890 | # frozen_string_literal: true
require "spec_helper"
module Decidim::Meetings
describe Admin::UpdateAgenda do
subject { described_class.new(form, agenda) }
let(:agenda_item_child) { create(:agenda_item, :with_parent) }
let(:agenda_item) { agenda_item_child.parent }
let(:agenda) { agenda_item.agenda ... | agpl-3.0 |
automenta/java_dann | src/syncleus/dann/learn/bayesian/bif/BIFDefinition.java | 2684 | /*
* Encog(tm) Core v3.2 - Java Version
* http://www.heatonresearch.com/encog/
* https://github.com/encog/encog-java-core
* Copyright 2008-2013 Heaton Research, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ... | agpl-3.0 |
CanonicalLtd/subiquity | subiquity/common/tests/test_serialization.py | 5604 | # Copyright 2021 Canonical, Ltd.
#
# 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 distribute... | agpl-3.0 |
avikivity/scylla | cdc/generation.hh | 7957 | /*
* Copyright (C) 2019 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 |
moshpirit/qvitter | QvitterPlugin.php | 30481 | <?php
/* · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
· ·
· ·
· Q V I T T E R ... | agpl-3.0 |
tailuge/chess-o-tron | generate/gulpfile.js | 1027 | var source = require('vinyl-source-stream');
var gulp = require('gulp');
var gutil = require('gulp-util');
var watchify = require('watchify');
var browserify = require('browserify');
var sources = ['./src/main.js'];
var destination = '../public/compiled/';
var onError = function(error) {
gutil.log(gutil.colors.red(e... | agpl-3.0 |
frankban/charmstore | internal/blobstore/swift.go | 3116 | // Copyright 2017 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package blobstore // import "gopkg.in/juju/charmstore.v5-unstable/internal/blobstore"
import (
"fmt"
"io"
"strconv"
"github.com/juju/loggo"
"gopkg.in/errgo.v1"
"gopkg.in/goose.v2/client"
"gopkg.in/goose.v2/errors"
"g... | agpl-3.0 |
acontes/scheduling | src/common/org/ow2/proactive/utils/appenders/FileAppender.java | 3820 | /*
* ################################################################
*
* ProActive Parallel Suite(TM): The Java(TM) library for
* Parallel, Distributed, Multi-Core Computing for
* Enterprise Grids & Clouds
*
* Copyright (C) 1997-2011 INRIA/University of
* Nice-Sophia Antipolis/ActiveEon
... | agpl-3.0 |
xdite/Airesis | db/seeds/122_airesis_seed.rb | 13240 | #encoding: utf-8
Comune.create(:description => "Altivole", :provincia_id => 69, :regione_id => 17, stato_id: 1, continente_id: 1 , :population => 6122)
Comune.create(:description => "Arcade", :provincia_id => 69, :regione_id => 17, stato_id: 1, continente_id: 1 , :population => 3440)
Comune.create(:description => "Asol... | agpl-3.0 |
florianprobst/vms | src/Model/Entity/Flangetype.php | 679 | <?php
namespace App\Model\Entity;
use Cake\ORM\Entity;
/**
* Flangetype Entity
*
* @property int $id
* @property string $bezeichnung
*
* @property \App\Model\Entity\Valf[] $valves
*/
class Flangetype extends Entity
{
/**
* Fields that can be mass assigned using newEntity() or patchEntity().
*
... | agpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/quest/corellia/corran_horn.lua | 796 | corran_horn = Creature:new {
objectName = "@npc_name:human_base_male",
customName = "Corran Horn",
socialGroup = "townsperson",
faction = "townsperson",
level = 100,
chanceHit = 1,
damageMin = 645,
damageMax = 1000,
baseXp = 9429,
baseHAM = 24000,
baseHAMmax = 30000,
armor = 0,
resists = {0,0,0,0,0,0,0,0,-... | agpl-3.0 |
andreas-p/nextcloud-server | apps/files_sharing/lib/Scanner.php | 2458 | <?php
/**
* @copyright Copyright (c) 2016, ownCloud, Inc.
*
* @author Joas Schilling <coding@schilljs.com>
* @author Morris Jobke <hey@morrisjobke.de>
* @author Robin Appelman <robin@icewind.nl>
* @author Roeland Jago Douma <roeland@famdouma.nl>
* @author Vincent Petry <pvince81@owncloud.com>
*
* @license AGPL... | agpl-3.0 |
ProtocolSupport/ProtocolSupport | src/protocolsupport/protocol/packet/middle/impl/serverbound/play/v_4_5_6_7_8/AbstractMoveLook.java | 1137 | package protocolsupport.protocol.packet.middle.impl.serverbound.play.v_4_5_6_7_8;
import protocolsupport.protocol.packet.middle.base.serverbound.ServerBoundMiddlePacket;
import protocolsupport.protocol.packet.middle.base.serverbound.play.MiddleMoveLook;
import protocolsupport.protocol.packet.middle.base.serverbound.pl... | agpl-3.0 |
andreicristianpetcu/cotam | config/application.rb | 982 | require File.expand_path('../boot', __FILE__)
require 'rails/all'
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(:default, Rails.env)
module Cotam
class Application < Rails::Application
# Settings in config/environments/* take p... | agpl-3.0 |
printedheart/opennars | nars_lab_x/nars_scala/src/main/scala/nars/gui/TermWindow.scala | 1962 | package nars.gui
import java.awt._
import java.awt.event._
import nars.logic.entity.Concept
import nars.storage.Memory
//remove if not needed
import scala.collection.JavaConversions._
/**
* Window accept a Term, then display the content of the corresponding Concept
*/
class TermWindow(var memory: Memory) extends Na... | agpl-3.0 |
papyrussolution/OpenPapyrus | Src/OSF/icu/tools/multi/proj/icu4jscan/src/com/ibm/icu/dev/scan/CapNode.java | 359 | // © 2017 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/* Copyright (C) 2008-2012 IBM Corporation and Others. All Rights Reserved. */
package com.ibm.icu.dev.scan;
import java.io.PrintWriter;
public interface CapNode extends Comparable {
void write(PrintWrit... | agpl-3.0 |
denkbar/djigger | client-ui/src/main/java/io/djigger/ui/SessionListener.java | 1141 | /*******************************************************************************
* (C) Copyright 2016 Jérôme Comte and Dorian Cransac
*
* This file is part of djigger
*
* djigger is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published b... | agpl-3.0 |
dshatrov/momentvideo | moment-rtmp/moment-rtmp/rtmpt_service.cpp | 32725 | /* Copyright (C) 2011-2014 Dmitry Shatrov - All Rights Reserved
e-mail: info@momentvideo.org
Unauthorized copying of this file or any part of its contents,
via any medium is strictly prohibited.
Proprietary and confidential.
*/
#include <moment-rtmp/rtmpt_service.h>
//#warning There's' some pro... | agpl-3.0 |
jochenmanz/plentymarkets-shopware-connector | Connector/ServiceBus/QueryFactory/QueryFactoryInterface.php | 965 | <?php
namespace PlentyConnector\Connector\ServiceBus\QueryFactory;
use PlentyConnector\Connector\ServiceBus\Query\QueryInterface;
use PlentyConnector\Connector\ServiceBus\QueryFactory\Exception\MissingQueryException;
use PlentyConnector\Connector\ServiceBus\QueryFactory\Exception\MissingQueryGeneratorException;
use P... | agpl-3.0 |
patcon/ConsiderIt | lib/gems/reflect/app/assets/javascripts/reflect.study.js | 8810 | /* Copyright (c) 2010 Travis Kriplean (http://www.cs.washington.edu/homes/travis/)
* Licensed under the MIT License:
* http://www.opensource.org/licenses/mit-license.php
*
* DOM manipulations for the Reflect research surveys. Basically drop in
* a short survey when the user takes specific actions (like adding bu... | agpl-3.0 |
Khudzlin/Doomtown-Reloaded-OCTGN | o8g/Scripts/customscripts.py | 16387 | # Python Scripts for the Star Wards LCG definition for OCTGN
# Copyright (C) 2013 Konstantine Thoukydides
# This python script 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 ... | agpl-3.0 |
Comunitea/CMNT_004_15 | project-addons/custom_account/models/account_payment.py | 2864 | # Copyright 2019 Omar Castiñeira, Comunitea Servicios Tecnológicos S.L.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import models, fields, api
class PaymentLine(models.Model):
_inherit = 'account.payment.line'
is_refund = fields.Boolean(compute='_get_is_refund')
not_change... | agpl-3.0 |
acontes/scheduling | src/resource-manager/src/org/ow2/proactive/resourcemanager/exception/RMException.java | 2466 | /*
* ################################################################
*
* ProActive Parallel Suite(TM): The Java(TM) library for
* Parallel, Distributed, Multi-Core Computing for
* Enterprise Grids & Clouds
*
* Copyright (C) 1997-2011 INRIA/University of
* Nice-Sophia Antipolis/ActiveEon
... | agpl-3.0 |
maco/growstuff | spec/controllers/account_types_controller_spec.rb | 800 | ## DEPRECATION NOTICE: Do not add new tests to this file!
##
## View and controller tests are deprecated in the Growstuff project.
## We no longer write new view and controller tests, but instead write
## feature tests (in spec/features) using Capybara (https://github.com/jnicklas/capybara).
## These test the full stac... | agpl-3.0 |
utilitydriverepo/udms-pi-master | Modules/admin/admin_controller.php | 11185 | <?php
/*
All Emoncms code is released under the GNU Affero General Public License.
See COPYRIGHT.txt and LICENSE.txt.
---------------------------------------------------------------------
Emoncms - open source energy visualisation
Part of the OpenEnergyMonitor project:
http://openenergymonitor.... | agpl-3.0 |
objective-solutions/taskboard | application/src/test/java/objective/taskboard/it/RefreshToast.java | 1158 | package objective.taskboard.it;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
public class RefreshToast extends AbstractUiFragment {
private By issueToast = By.id("toastIssueUpdated");
private By showOnlyUpdatedOrDismiss = By.id("showOnlyUpdatedOrDismiss");
private By closeIssueUpd... | agpl-3.0 |
giovanisp/Airesis | app/controllers/area_participations_controller.rb | 1107 | class AreaParticipationsController < ApplicationController
layout 'groups'
before_filter :load_group
before_filter :authenticate_user!
authorize_resource :group
load_and_authorize_resource :group_area, through: :group
before_filter :load_area_participation, only: :destroy
load_and_authorize_resource ... | agpl-3.0 |
iwatendo/skybeje | src/Contents/Sender/GetAudioBlobSender.ts | 253 | import Sender from "../../Base/Container/Sender";
/**
*
*/
export default class GetAudioBlobSender extends Sender {
public static ID = "GetAudioBlob";
constructor() {
super(GetAudioBlobSender.ID);
}
public mid: string;
}
| agpl-3.0 |
WebDataConsulting/billing | src/java/com/sapienter/jbilling/server/user/permisson/db/RoleDAS.java | 1691 | /*
jBilling - The Enterprise Open Source Billing System
Copyright (C) 2003-2011 Enterprise jBilling Software Ltd. and Emiliano Conde
This file is part of jbilling.
jbilling 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 Fre... | agpl-3.0 |
printedheart/opennars | nars_lab/src/main/java/automenta/spacegraph/ui/TextButton.java | 800 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package automenta.spacegraph.ui;
import automenta.spacegraph.math.linalg.Vec4f;
import automenta.spacegraph.shape.TextRect;
import com.jogamp.opengl.GL2;
/**
*
* @author me
*/
public class TextButton extends Button ... | agpl-3.0 |
zqian/gradecraft-development | spec/factories/challenge_factory.rb | 93 | FactoryGirl.define do
factory :challenge do
course
name "shoot the moon"
end
end
| agpl-3.0 |
abramhindle/UnnaturalCodeFork | python/testdata/launchpad/lib/lp/code/model/tests/test_branchmergequeuecollection.py | 8470 | # Copyright 2009-2012 Canonical Ltd. This software is licensed under the
# GNU Affero General Public License version 3 (see the file LICENSE).
"""Tests for branch merge queue collections."""
__metaclass__ = type
from zope.component import getUtility
from zope.security.proxy import removeSecurityProxy
from lp.app.e... | agpl-3.0 |
KillBait/PrimordialCrops | src/main/java/killbait/PrimordialCrops/Compat/WAILA/WailaCompatibility.java | 2844 | package killbait.PrimordialCrops.Compat.WAILA;
import killbait.PrimordialCrops.Blocks.CropBlocks;
import killbait.PrimordialCrops.Blocks.CropBlocksSpecial;
import mcp.mobius.waila.api.IWailaConfigHandler;
import mcp.mobius.waila.api.IWailaDataAccessor;
import mcp.mobius.waila.api.IWailaDataProvider;
import mcp.mobius.... | agpl-3.0 |
kriberg/stationspinner | stationspinner/corporation/migrations/0035_auto_20160102_1948.py | 1212 | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('corporation', '0034_auto_20160102_1808'),
]
operations = [
migrations.AddField(
model_name='outpostservice',
... | agpl-3.0 |
Metatavu/kunta-api-spec | jaxrs-spec-generated/src/main/java/fi/metatavu/kuntaapi/server/rest/model/AccessibilityContactInfo.java | 2522 | package fi.metatavu.kuntaapi.server.rest.model;
import io.swagger.annotations.ApiModel;
/**
* Accessibility contact info
**/
import io.swagger.annotations.*;
import java.util.Objects;
@ApiModel(description = "Accessibility contact info")
public class AccessibilityContactInfo implements java.io.Serializable {
... | agpl-3.0 |
edewaele/petiteReine | api.php | 11619 | <?php
require 'conf.php';
try {
$PDO = new PDO( 'pgsql:host='.DB_HOST.';dbname='.DB_NAME, DB_USER, DB_PASSWORD );
} catch ( Exception $e ) {
die("Unable to connect database");
}
function getZoneFilter($zoneParam = "")
{
if(isset($zoneParam) and $zoneParam != "")
{
$result = " AND zone_id IN (";
foreach(exp... | agpl-3.0 |
iamy/fx | modules/dp_bkrv/language/en_us.lang.php | 3867 | <?php
/**
*
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
*
* SuiteCRM is an extension to SugarCRM Community Edition developed by SalesAgility Ltd.
* Copyright (C) 2011 - 2017 SalesAgility Ltd.
*
* This program is f... | agpl-3.0 |
lasko2112/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/naboo/gungan_mercenary.lua | 1054 | gungan_mercenary = Creature:new {
objectName = "@mob/creature_names:gungan_mercenary",
randomNameType = NAME_GENERIC_TAG,
socialGroup = "gungan",
faction = "gungan",
level = 14,
chanceHit = 0.3,
damageMin = 150,
damageMax = 160,
baseXp = 831,
baseHAM = 2000,
baseHAMmax = 2400,
armor = 0,
resists = {0,0,0,0... | agpl-3.0 |
colares/touke-flow | Packages/Application/TYPO3.Surf/Classes/TYPO3/Surf/Domain/Model/Application.php | 5709 | <?php
namespace TYPO3\Surf\Domain\Model;
/* *
* This script belongs to the TYPO3 Flow package "TYPO3.Surf". *
* *
* ... | agpl-3.0 |
kittiu/sale-workflow | sale_order_invoicing_finished_task/__manifest__.py | 777 | # -*- coding: utf-8 -*-
# Copyright 2017 Sergio Teruel <sergio.teruel@tecnativa.com>
# Copyright 2017 Carlos Dauden <carlos.dauden@tecnativa.com>
# Copyright 2017 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
{
"name": "Sale Order Invoicing Finished Task",
"summary": "Control in... | agpl-3.0 |
AydinSakar/sql-layer | src/main/java/com/foundationdb/sql/optimizer/rule/range/RangeEndpoint.java | 9388 | /**
* Copyright (C) 2009-2013 FoundationDB, LLC
*
* 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.
*
* Thi... | agpl-3.0 |
yonkon/nedvig | custom/modules/Cosib_postsale/metadata/dashletviewdefs.php | 1513 | <?php
$dashletData['Cosib_postsaleDashlet']['searchFields'] = array (
'cosib_postshr_client_name' =>
array (
'default' => '',
),
'cosib_postshr_object_name' =>
array (
'default' => '',
),
'assigned_user_name' =>
array (
'default' => '',
),
'description' =>
array (
'default' => ... | agpl-3.0 |
dhosa/yamcs | yamcs-xtce/src/main/java/org/yamcs/xtce/AlarmRanges.java | 3618 | package org.yamcs.xtce;
import java.io.Serializable;
/**
* Contains five ranges: Watch, Warning, Distress, Critical, and Severe each in increasing severity.
* Normally, only the Warning and Critical ranges are used and the color yellow is associated with Warning
* and the color red is associated with Critical. T... | agpl-3.0 |
Rhetos/Rhetos | CommonConcepts/Plugins/Rhetos.Dsl.DefaultConcepts/DataStructure/Writing/OnSaveValidateInfo.cs | 2367 | /*
Copyright (C) 2014 Omega software d.o.o.
This file is part of Rhetos.
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 (... | agpl-3.0 |
dmitr25/demobbed-viewer | js/nuEventsData/nuMu/loadEvent12092022698.js | 9933 | demobbed.resetEvent();
demobbed.event().id(12092022698);
demobbed.event().date(1333258910000);
demobbed.event().hitsTT()[0] = [
new HitTT(10000, 28.16, -504.58, 69.8),
new HitTT(10001, 36.08, -504.58, 25.5),
new HitTT(10002, 25.58, -491.18, 8.97),
new HitTT(10003, 33.5, -491.18, 24.15),
new HitTT(10004, 30.... | agpl-3.0 |
veronikaslc/phenotips | components/patient-data/rest/src/main/java/org/phenotips/data/rest/DateTimeAdapter.java | 1661 | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* 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... | agpl-3.0 |
KillBait/PrimordialCrops | src/main/java/killbait/PrimordialCrops/WorldGen/MagicalWorldGen.java | 1849 | package killbait.PrimordialCrops.WorldGen;
import killbait.PrimordialCrops.Config.PrimordialConfig;
import killbait.PrimordialCrops.Registry.ModBlocks;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
import net.minecraft.world.chunk.IChunkGenerator;
import net.minecraft.world.chunk.IChunkPro... | agpl-3.0 |
npcdoom/eSRO | EPL/src/packet_login.cpp | 1374 | /*********************************************************************************
*
* This file is part of eSRO.
*
* eSRO 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
... | agpl-3.0 |
Treeptik/cloudunit | cu-core/src/main/java/fr/treeptik/cloudunit/dto/SourceUnit.java | 1743 | /*
* LICENCE : CloudUnit is available under the GNU Affero General Public License : https://gnu.org/licenses/agpl.html
* but CloudUnit is licensed too under a standard commercial license.
* Please contact our sales team if you would like to discuss the specifics of our Enterprise license.
* If you are not sure whet... | agpl-3.0 |
PDI-DGS-Protolab/WebGLExperiments | js/cubicvr/scene.js | 1393 |
(function (CubicVR, undefined){
"use strict";
function webGLStart (gl, canvas) {
var CubicVR = window.CubicVR;
var scene = new CubicVR.Scene({
light : {
name : "light",
type : "point",
position : [1.0, 1.5, -2.0]
... | agpl-3.0 |
Fantu/Unrealrpg | pagine/home.php | 5085 | <?php
if((empty($int_security)) OR ($int_security!=$game_se_code)){
header("Location: ../index.php?error=16");
exit();
}
if(isset($_POST['registra'])){
$errore="";
$server=(int)$_POST['server'];
if(isset($game_server[$server])){$db->Setdb($server);}else{$errore.=$lang['reg_error1'];}
$username... | agpl-3.0 |
XeryusTC/rotd | functional_tests/test_error_pages.py | 2295 | # -*- coding: utf-8 -*-
# ROTD suggest a recipe to cook for dinner, changing the recipe every day.
# Copyright © 2015 Xeryus Stokkel
# ROTD 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 versio... | agpl-3.0 |
doubtfire-lms/doubtfire-api | db/schema.rb | 20495 | # This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# This file is the source Rails uses to define your schema when running `bin/rai... | agpl-3.0 |
Br3nda/statusnet-debian | classes/Oauth_application.php | 4686 | <?php
/**
* Table Definition for oauth_application
*/
require_once INSTALLDIR.'/classes/Memcached_DataObject.php';
class Oauth_application extends Memcached_DataObject
{
###START_AUTOCODE
/* the code below is auto generated do not remove the above tag */
public $__table = 'oauth_application'; ... | agpl-3.0 |
irontec/Mintzatu | library/Mintzatu/Model/Raw/Checks.php | 8201 | <?php
/**
* Application Models
*
* @package Mintzatu_Model_Raw
* @subpackage Model
* @author <Lander Ontoria Gardeazabal>
* @copyright Irontec - Internet y Sistemas sobre GNU/Linux
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
/**
*
*
* @package Mintzatu_Model
* @subpackage Mo... | agpl-3.0 |
SarahVictoria/IOConnection | Case 12/simple/main.cpp | 2516 |
#include <cstdio>
#include <cstdlib>
#include <string>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <pthread.h>
void sleep_sec(int seconds){
usleep(seconds * 1000000);
}
int setupSocket(const char * address, const char * port, int soc... | agpl-3.0 |
prefeiturasp/SME-SGP | Src/MSTech.GestaoEscolar.DAL/ACA_TipoJustificativaExclusaoAulasDAO.cs | 6120 | /*
Classe gerada automaticamente pelo MSTech Code Creator
*/
namespace MSTech.GestaoEscolar.DAL
{
using Data.Common;
using Entities;
using MSTech.GestaoEscolar.DAL.Abstracts;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
/// <summary>
/// De... | agpl-3.0 |
jerolba/torodb | engine/packaging-utils/src/main/java/com/torodb/packaging/config/model/protocol/mongo/Ssl.java | 3892 | /*
* ToroDB
* Copyright © 2014 8Kdata Technology (www.8kdata.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 Software Foundation, either version 3 of the License, or
* (at your option) any later... | agpl-3.0 |
Tisawesomeness/Minecord | src/main/java/com/tisawesomeness/minecord/debug/DebugOption.java | 559 | package com.tisawesomeness.minecord.debug;
import lombok.NonNull;
/**
* Provides debug information to the {@code &debug} command.
*/
public interface DebugOption {
/**
* @return The name of this debug option, used for user input
*/
@NonNull String getName();
/**
* Gets useful debug inform... | agpl-3.0 |
afshinnj/php-mvc | vendor/framework/core/Uri.php | 271 | <?php
class Uri {
public static function segment($segment) {
$url = preg_replace(Configs::get('invalidUrlChars'), '', $_GET['r']);
$seg = explode('/', $url);
if (isset($seg[$segment])) {
return $seg[$segment];
}
}
}
| agpl-3.0 |
interjection/infinity-next | app/Http/Routes/API.php | 3039 | <?php
/**
* Content API
*/
Route::group(['as' => 'site', 'namespace' => "Content",], function () {
// boardlist get
Route::get('board-details.json', 'BoardlistController@getDetails');
// boardlist search
Route::post('board-details.json', 'BoardlistController@getDetails');
// overboard update
... | agpl-3.0 |
dzc34/Asqatasun | rules/rules-rgaa3.2016/src/main/java/org/asqatasun/rules/rgaa32016/Rgaa32016Rule010608.java | 3652 | /*
* Asqatasun - Automated webpage assessment
* Copyright (C) 2008-2019 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... | agpl-3.0 |
corecode/rcsparse | setup.py | 210 | #!/usr/bin/env python
from distutils.core import setup, Extension
setup(
name = "rcsparse",
version = "0.1",
ext_modules = [
Extension("rcsparse", ["py-rcsparse.c", "rcsparse.c"])
]
)
| agpl-3.0 |
malikov/platform-android | ushahidi/src/test/java/com/ushahidi/android/domain/usecase/form/ListFormUsecaseTest.java | 3191 | /*
* Copyright (c) 2015 Ushahidi 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 later version.
*
* This progr... | agpl-3.0 |
kaltura/KalturaGeneratedAPIClientsCsharp | KalturaClient/Enums/UserEntryOrderBy.cs | 1858 | // ===================================================================================================
// _ __ _ _
// | |/ /__ _| | |_ _ _ _ _ __ _
// | ' </ _` | | _| || | '_/ _` |
// |_|\_\__,_|_|\__|\_,_|_| \_... | agpl-3.0 |
VeryTastyTomato/passhport | passhportd/app/models_mod/usergroup/__init__.py | 5736 | # -*-coding:Utf-8 -*-
# Compatibility 2.7-3.4
from __future__ import absolute_import
from __future__ import unicode_literals
from app import db
# Table to handle the self-referencing many-to-many relationship
# for the Usergroup class:
# First column holds the containers, the second the subusergroups.
group_of_grou... | agpl-3.0 |
SmartInfrastructures/xipi | portlets/bro4xipi-portlet/docroot/WEB-INF/src/eu/xipi/bro4xipi/Bro4xipi.java | 17329 |
/*******************************************************************************
* Copyright (C) 2013, University of Patras, Greece*
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution,... | agpl-3.0 |
tudarmstadt-lt/newsleak-frontend | app/controllers/NetworkController.scala | 12557 | /*
* Copyright (C) 2016 Language Technology Group and Interactive Graphics Systems Group, Technische Universität Darmstadt, Germany
*
* 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, ... | agpl-3.0 |
bosman/raven.testsuite | RavenClientWrappers/Raven.TestSuite.ClientWrapper.v2_5_2750/SyncAdvancedSessionOperationWrapper.cs | 3995 | namespace Raven.TestSuite.ClientWrapper.v2_5_2750
{
using Raven.TestSuite.Common.WrapperInterfaces;
using Raven.Client;
using Raven.TestSuite.Common.Abstractions.Json.Linq;
using Raven.Json.Linq;
using Raven.Imports.Newtonsoft.Json;
using Raven.TestSuite.Common.Abstractions.Data;
... | agpl-3.0 |
Muhannes/diaspora | spec/javascripts/app/views/header_view_spec.js | 2333 | describe("app.views.Header", function() {
beforeEach(function() {
this.userAttrs = {name: "alice", avatar: {small: "http://avatar.com/photo.jpg"}, guid: "foo" };
loginAs(this.userAttrs);
spec.loadFixture("aspects_index");
gon.appConfig = {settings: {podname: "MyPod"}};
this.view = new app.views.... | agpl-3.0 |
Minds/engine | Controllers/api/v2/admin/features.php | 1257 | <?php
/**
* features
*
* @author edgebal
*/
namespace Minds\Controllers\api\v2\admin;
use Exception;
use Minds\Api\Factory;
use Minds\Core\Features\Manager;
use Minds\Core\Session;
use Minds\Entities\User;
use Minds\Interfaces;
use Minds\Core\Di\Di;
class features implements Interfaces\Api, Interfaces\ApiAdminPa... | agpl-3.0 |
ROIV/ViorCoin-ElectrumServer | src/networks.py | 1141 | # Main network and testnet3 definitions
params = {
'bitcoin_main': {
'pubkey_address': 0,
'script_address': 5,
'genesis_hash': '000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f'
},
'bitcoin_test': {
'pubkey_address': 111,
'script_address': 196,
... | agpl-3.0 |
exomiser/Exomiser | exomiser-core/src/main/java/org/monarchinitiative/exomiser/core/genome/dao/SvDaoBoundaryCalculator.java | 4468 | /*
* The Exomiser - A tool to annotate and prioritize genomic variants
*
* Copyright (c) 2016-2021 Queen Mary University of London.
* Copyright (c) 2012-2016 Charité Universitätsmedizin Berlin and Genome Research Ltd.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms o... | agpl-3.0 |
k10r/shopware | engine/Shopware/Bundle/ESIndexingBundle/Commands/BacklogSyncCommand.php | 2704 | <?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 |
protolambda/blocktopograph | app/src/main/java/com/protolambda/blocktopograph/map/renderer/SlimeChunkRenderer.java | 5492 | package com.protolambda.blocktopograph.map.renderer;
import android.graphics.Bitmap;
import com.protolambda.blocktopograph.chunk.ChunkManager;
import com.protolambda.blocktopograph.chunk.Version;
import com.protolambda.blocktopograph.map.Dimension;
import com.protolambda.blocktopograph.util.MTwister;
public class ... | agpl-3.0 |
sikamedia/metaverse | include/metaverse/explorer/commands/mnemonic-encode.hpp | 6229 | /**
* Copyright (c) 2011-2015 libbitcoin developers (see AUTHORS)
* Copyright (c) 2016-2017 metaverse core developers (see MVS-AUTHORS)
*
* This file is part of metaverse-explorer.
*
* metaverse-explorer is free software: you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public... | agpl-3.0 |
be-cloud-be/horizon-addons | partner-contact/partner_financial_risk/__openerp__.py | 705 | # -*- coding: utf-8 -*-
# © 2016 Carlos Dauden <carlos.dauden@tecnativa.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
'name': 'Partner Financial Risk',
'summary': 'Manage partner risk',
'version': '9.0.1.0.0',
'category': 'Sales Management',
'license': 'AGPL-3',
'author... | agpl-3.0 |
grafana/grafana | public/app/features/variables/state/types.ts | 1380 | import { VariableType } from '@grafana/data';
import { VariableModel } from '../types';
export interface VariablesState extends Record<string, VariableModel> {}
export const initialVariablesState: VariablesState = {};
export const getInstanceState = <Model extends VariableModel = VariableModel>(state: VariablesStat... | agpl-3.0 |
ambimorph/recluse | recluse/vocabulary_cutter.py | 1342 | # 2012 L. Amber Wilcox-O'Hearn
import sys, bisect
class VocabularyCutter():
"""
Takes a file of unigram counts and returns a file of the top n
most frequent words.
If there are fewer than n words, it returns them all.
"""
def __init__(self, infile_obj, outfile_obj):
self.infile_obj = i... | agpl-3.0 |
timble/openpolice-platform | application/manager/component/police/view/zones/templates/default_sidebar.html.php | 660 | <?
/**
* Belgian Police Web Platform - Police Component
*
* @copyright Copyright (C) 2012 - 2017 Timble CVBA. (http://www.timble.net)
* @license GNU AGPLv3 <https://www.gnu.org/licenses/agpl.html>
* @link https://github.com/timble/openpolice-platform
*/
?>
<h3><?= translate('Provinces')?></h3>
<?= import('com:... | agpl-3.0 |
NoetherEmmy/intransigentms | src/net/sf/odinms/net/channel/ChannelWorldInterfaceImpl.java | 24506 | package net.sf.odinms.net.channel;
import net.sf.odinms.client.*;
import net.sf.odinms.client.BuddyList.BuddyAddResult;
import net.sf.odinms.client.BuddyList.BuddyOperation;
import net.sf.odinms.database.DatabaseConnection;
import net.sf.odinms.net.ByteArrayMaplePacket;
import net.sf.odinms.net.MaplePacket;
import net... | agpl-3.0 |
adaxi/freeciv-web | freeciv-web/src/main/webapp/3d-models/Dragoons.js | 3310 | {
"metadata" :
{
"formatVersion" : 3.1,
"sourceFile" : "Dragoons.obj",
"generatedBy" : "OBJConverter",
"vertices" : 4089,
"faces" : 3858,
"normals" : 3697,
"uvs" : 0,
"materials" : 12
},
"materials": ... | agpl-3.0 |
jzinedine/CMDBuild | shark/commons/src/main/java/org/cmdbuild/workflow/xpdl/XpdlActivity.java | 7229 | package org.cmdbuild.workflow.xpdl;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.lang3.Validate;
import org.cmdbuild.workflow.xpdl.XpdlDocument.ScriptLanguage;
import org.enhydra.jxpdl.XPDLConstants;
import org.enhydra.jxpdl.elements.Activity;
import org.enhydra.jxpdl.elements.Extended... | agpl-3.0 |
ONLYOFFICE/core | ASCOfficeXlsFile2/source/XlsXlsxConverter/ConvertShapes/FormulaShape.cpp | 5053 | /*
* (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 |
gangadharkadam/sher | erpnext/selling/doctype/sales_order/sales_order.py | 14276 | # Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe
import frappe.utils
from frappe.utils import cstr, flt, getdate, comma_and
from frappe import _
from frappe.model.mapper import get_map... | agpl-3.0 |