repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
decidim/decidim | decidim-participatory_processes/app/cells/decidim/participatory_processes/process_cell.rb | 544 | # frozen_string_literal: true
module Decidim
module ParticipatoryProcesses
# This cell renders the process card for an instance of a Process
# the default size is the Medium Card (:m)
class ProcessCell < Decidim::ViewModel
def show
cell card_size, model, options
end
private
... | agpl-3.0 |
knmkr/dbsnp-pg | web/dbsnp/templatetags/extra.py | 400 | from django import template
register = template.Library()
@register.filter
def css_class(value, arg):
return value.as_widget(attrs={'class': arg})
@register.filter
def na(value):
return 'N/A' if value is None or value == '' else value
@register.filter
def fwd_or_rev(value):
if value == 0:
return... | agpl-3.0 |
open-health-hub/openmaxims-linux | openmaxims_workspace/Nursing/src/ims/nursing/domain/base/impl/BaseClinicalNoteDialogImpl.java | 2195 | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | agpl-3.0 |
kerr-huang/openss7 | src/java/javax/jain/ss7/GlobalTitle.java | 6942 | /*
@(#) src/java/javax/jain/ss7/GlobalTitle.java <p>
Copyright © 2008-2015 Monavacon Limited <a href="http://www.monavacon.com/"><http://www.monavacon.com/></a>. <br>
Copyright © 2001-2008 OpenSS7 Corporation <a href="http://www.openss7.com/"><http://www.openss7.com/></a>. <br>
Copyrig... | agpl-3.0 |
open-health-hub/openmaxims-linux | openmaxims_workspace/Admin/src/ims/admin/domain/Hl7Admin.java | 4789 | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | agpl-3.0 |
aihua/opennms | features/events/syslog/src/test/java/org/opennms/netmgt/syslogd/SyslogMessageTest.java | 22606 | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2010-2014 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | agpl-3.0 |
open-health-hub/openmaxims-linux | openmaxims_workspace/ValueObjects/src/ims/ocrr/vo/beans/InvestigationIndexListVoBean.java | 3889 | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | agpl-3.0 |
mitechie/juju-gui | jujugui/static/gui/src/app/components/help/tour/tour.js | 5639 | /* Copyright (C) 2017 Canonical Ltd. */
'use strict';
const PropTypes = require('prop-types');
const React = require('react');
const Lightbox = require('../../lightbox/lightbox');
const SvgIcon = require('../../svg-icon/svg-icon');
class Tour extends React.PureComponent {
render() {
const staticURL = this.pro... | agpl-3.0 |
FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/Correspondence/src/ims/correspondence/forms/glossarydialog/IFormUILogicCode.java | 2215 | //#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | agpl-3.0 |
FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/Therapies/src/ims/therapies/forms/adaptations/Handlers.java | 8828 | //#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | agpl-3.0 |
enjaz/enjaz | clubs/migrations/0001_initial.py | 6392 | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import django.db.models.deletion
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operati... | agpl-3.0 |
armlfs/XiuzLegends | src/net/sf/odinms/server/MapleShop.java | 10034 | package net.sf.odinms.server;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;
import net.sf.odinms.client.IItem;
... | agpl-3.0 |
freyes/juju | worker/raft/raftclusterer/manifold.go | 1132 | // Copyright 2018 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package raftclusterer
import (
"github.com/hashicorp/raft"
"github.com/juju/errors"
"github.com/juju/pubsub/v2"
"github.com/juju/worker/v2"
"github.com/juju/worker/v2/dependency"
)
// ManifoldConfig holds the informatio... | agpl-3.0 |
scalien/keyspace | src/Application/Keyspace/Client/Java/keyspace_client.java | 10921 | /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.31
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* -----------------------------... | agpl-3.0 |
nanaya/osu-web | resources/assets/lib/user-multiplayer-index/room.tsx | 4962 | // 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.
import DifficultyBadge from 'difficulty-badge';
import Img2x from 'img2x';
import RoomJson from 'interfaces/room-json';
import { route } from '... | agpl-3.0 |
lkundrak/scraperwiki | scraperlibs/php/scraperwiki/stacktrace.php | 3718 | <?php
function traceToSWStackDump($trace, $script, $scriptlines, $skipa = 1, $skipb = 0)
{
$stackdump = array();
for ($i = count($trace) - 1 - $skipa; $i >= $skipb; $i--)
{
$stackPoint = $trace[$i];
$linenumber = $stackPoint["line"];
$stackentry = array("linenumber" => $... | agpl-3.0 |
agoravoting/agora-ciudadana | agora_site/static/js/agora/views/election_form.js | 25257 | (function() {
Agora.AnswerModel = Backbone.AssociatedModel.extend({
defaults: {
'a': 'ballot/answer',
'url': '',
'details': '',
'value': ''
}
});
Agora.QuestionModel = Backbone.AssociatedModel.extend({
relations: [{
type: B... | agpl-3.0 |
jittat/ku-eng-direct-admission | scripts/import_results_for_private_display.py | 2421 | import codecs
import sys
if len(sys.argv) < 3:
print "Usage: import_results_for_private_display [round_number] [results.csv] [--force]"
quit()
round_number = int(sys.argv[1])
file_name = sys.argv[2]
if len(sys.argv)>3:
is_force = sys.argv[3]=="--force"
else:
is_force = False
from django.conf import s... | agpl-3.0 |
pdehaye/theming-edx-platform | common/lib/xmodule/xmodule/x_module.py | 35767 | import logging
import copy
import yaml
import os
from lxml import etree
from collections import namedtuple
from pkg_resources import resource_listdir, resource_string, resource_isdir
from xmodule.modulestore import Location
from xmodule.modulestore.exceptions import ItemNotFoundError, InsufficientSpecificationError, ... | agpl-3.0 |
rapidminer/rapidminer-5 | src/com/rapidminer/gui/look/fc/BookmarkList.java | 5244 | /*
* RapidMiner
*
* Copyright (C) 2001-2014 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License ... | agpl-3.0 |
leosac/leosac | test/Visitor.cpp | 3152 | /*
Copyright (C) 2014-2016 Leosac
This file is part of Leosac.
Leosac is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later... | agpl-3.0 |
BloatIt/bloatit | main/src/main/java/com/bloatit/framework/webprocessor/components/form/HtmlSimpleInput.java | 2570 | /*
* Copyright (C) 2010 BloatIt. This file is part of BloatIt. BloatIt 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.
* Bl... | agpl-3.0 |
KrzysiekJ/bestja | addons/message_template/models.py | 4383 | # -*- coding: utf-8 -*-
from urlparse import urljoin
from openerp import models, fields, api, tools
from openerp.addons.email_template.email_template import mako_template_env
class MessageTemplate(models.Model):
_name = 'message_template'
subject = fields.Char()
body = fields.Text()
model = fields.C... | agpl-3.0 |
edx/ecommerce | ecommerce/enterprise/exceptions.py | 167 | """
Exceptions used by the Enterprise app.
"""
class EnterpriseDoesNotExist(Exception):
"""
Exception for errors related to Enterprise service data.
"""
| agpl-3.0 |
LinxHQ/LinxCloud | linxbooks/protected/modules/lbExpenses/views/default/_search.php | 1539 | <?php
/* @var $this LbExpensesController */
/* @var $model LbExpenses */
/* @var $form CActiveForm */
?>
<div class="wide form">
<?php $form=$this->beginWidget('CActiveForm', array(
'action'=>Yii::app()->createUrl($this->route),
'method'=>'get',
)); ?>
<div class="row">
<?php echo $form->label($model,'lb_record... | agpl-3.0 |
hrayr-artunyan/shuup | shuup/admin/forms/__init__.py | 315 | # -*- coding: utf-8 -*-
# This file is part of Shuup.
#
# Copyright (c) 2012-2016, Shoop Ltd. All rights reserved.
#
# This source code is licensed under the AGPLv3 license found in the
# LICENSE file in the root directory of this source tree.
from ._base import ShuupAdminForm
__all__ = [
"ShuupAdminForm",
]
| agpl-3.0 |
victori/gitorious-jruby | test/unit/repository_test.rb | 41731 | # encoding: utf-8
#--
# Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies)
#
# 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 |
cloudbase/v-magine | v_magine/virt/hyperv/netutils.py | 13525 | # Copyright 2013 Cloudbase Solutions SRL
# Copyright 2013 Pedro Navarro Perez
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org... | agpl-3.0 |
usmschuck/canvas | vendor/bundle/ruby/1.9.1/gems/aws-sdk-1.8.3.1/lib/aws/s3/bucket_collection.rb | 5157 | # Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" fil... | agpl-3.0 |
rapidminer/rapidminer-5 | src/com/rapidminer/gui/tools/dialogs/DatabaseAdvancedConnectionDialog.java | 11993 | /*
* RapidMiner
*
* Copyright (C) 2001-2014 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License ... | agpl-3.0 |
uclouvain/osis | education_group/tests/views/mini_training/test_content_read.py | 5481 | ##############################################################################
#
# OSIS stands for Open Student Information System. It's an application
# designed to manage the core business of higher education institutions,
# such as universities, faculties, institutes and professional schools.
# The core ... | agpl-3.0 |
rkorzeniewski/bacula | gui/baculum/framework/Caching/TMemCache.php | 12388 | <?php
/**
* TMemCache class file
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Carl G. Mathisen <carlgmathisen@gmail.com>
* @link http://www.pradosoft.com/
* @copyright Copyright © 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
* @version $Id: TMemCache.php 3245 2013-01-07 20:23:3... | agpl-3.0 |
yourcelf/btb | scanblog/subscriptions/models.py | 7142 | import datetime
from django.db import models
from django.db.models.signals import post_save
from django.dispatch import receiver
from django.conf import settings
from scanning.models import Document
from annotations.models import Tag
from comments.models import Comment
from profiles.models import Organization, Affilia... | agpl-3.0 |
sciCloud/OLiMS | lims/exportimport/instruments/thermoscientific/arena/__init__.py | 3792 | """ Thermo Scientific 'Arena'
"""
from datetime import datetime
from lims import logger
from lims.exportimport.instruments.resultsimport import \
AnalysisResultsImporter, InstrumentCSVResultsFileParser
class ThermoArenaRPRCSVParser(InstrumentCSVResultsFileParser):
def __init__(self, csv):
InstrumentCSV... | agpl-3.0 |
retk/slamby-api | src/Slamby.API/Middlewares/ElmSecurityMiddleware.cs | 2667 | using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Slamby.Common.Config;
using Microsoft.AspNetCore.Server.Kestrel.Internal.Http;
namespace Slamby.API.Middlewares
{
public class ElmSecurityMiddleware
{
readonly RequestDelegate next;... | agpl-3.0 |
ecamp/ecamp3 | backend/module/eCampApi/src/eCampApi/V1/RpcConfig.php | 4043 | <?php
namespace eCampApi\V1;
use eCamp\Lib\Entity\EntityLink;
use eCamp\Lib\Entity\EntityLinkCollection;
use Laminas\Di\Container\ServiceManager\AutowireFactory;
use Laminas\Stdlib\ArrayUtils;
class RpcConfig {
private string $routeName;
private string $controller;
private string $route;
private arra... | agpl-3.0 |
luxigo/freepano | js/thirdparty/howler.js/howler.effects.js | 21792 | /*!
* Effects Plugin - Adds advanced Web Audio API functionality.
*
* howler.js v2.0.0-beta
* howlerjs.com
*
* (c) 2013-2014, James Simpson of GoldFire Studios
* goldfirestudios.com
*
* MIT License
*/
(function() {
'use strict';
// Setup default effects properties.
HowlerGlobal.prototype._pos... | agpl-3.0 |
open-health-hub/openmaxims-linux | openmaxims_workspace/ValueObjects/src/ims/therapies/vo/StrengtheningProgramVoCollection.java | 8614 | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | agpl-3.0 |
BuildingSMART/IfcDoc | IfcKit/schemas/IfcSharedBldgServiceElements/IfcFlowMovingDevice.cs | 1366 | // This file may be edited manually or auto-generated using IfcKit at www.buildingsmart-tech.org.
// IFC content is copyright (C) 1996-2018 BuildingSMART International Ltd.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentMo... | agpl-3.0 |
wmbutler/courtlistener | alert/citations/management/commands/cl_add_citations_to_docs.py | 6828 | from datetime import datetime
import time
import sys
from django.conf import settings
from alert.lib.db_tools import queryset_generator
from alert.lib import sunburnt
from alert.search.models import Document
from celery.task.sets import TaskSet
from citations.tasks import update_document
from django.core.management im... | agpl-3.0 |
Peergos/Peergos | src/peergos/server/net/ResponseHeaderHandler.java | 702 | package peergos.server.net;
import com.sun.net.httpserver.*;
import java.io.*;
import java.util.*;
public class ResponseHeaderHandler implements HttpHandler {
private final Map<String, String> responseHeaders;
private final HttpHandler handler;
public ResponseHeaderHandler(Map<String, String> responseH... | agpl-3.0 |
kyriog/youfood-web | test/functional/frontend/menuActionsTest.php | 391 | <?php
include(dirname(__FILE__).'/../../bootstrap/functional.php');
$browser = new sfTestFunctional(new sfBrowser());
$browser->
get('/menu/index')->
with('request')->begin()->
isParameter('module', 'menu')->
isParameter('action', 'index')->
end()->
with('response')->begin()->
isStatusCode(200)... | agpl-3.0 |
AlexFloppy/laravel-api-boilerplate | app/Services/ActivationService.php | 2741 | <?php
namespace App\Services;
use App\Models\Activation;
use App\Models\User;
use Carbon\Carbon;
use Hash;
use Mail;
/**
* Class ActivationRepository
* @package App\Repositories
*/
class ActivationService
{
/**
* Activation email template
*
* @var string
*/
protected $activationEmailTe... | agpl-3.0 |
armadillotec/SuiteSelectra | selectraerp/modulos/principal/templates_c/%%F5^F54^F5494468%%cargar_post.tpl.php | 559 | <?php /* Smarty version 2.6.21, created on 2013-07-31 18:43:25
compiled from cargar_post.tpl */ ?>
<br>
<br>
<br>
<br>
<br>
<center>
Seleccione el Archivo POST a importar
<form action='?opt_menu=<?php echo $_GET['opt_menu']; ?>
&opt_seccion=<?php echo $_GET['opt_seccion']; ?>
' enctype="multipart/form-d... | agpl-3.0 |
djbender/canvas-lms | spec/apis/v1/services_api_spec.rb | 4129 | #
# Copyright (C) 2011 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 hope that ... | agpl-3.0 |
coder-han/Orpheus | src/net/server/handlers/channel/RangedAttackHandler.java | 8983 | /*
OrpheusMS: MapleStory Private Server based on OdinMS
Copyright (C) 2012 Aaron Weiss <aaron@deviant-core.net>
Patrick Huy <patrick.huy@frz.cc>
Matthias Butz <matze@odinms.de>
Jan Christian Meyer <vimes@odinms.de>
This program is free software: you can redistribute it and/or modify
... | agpl-3.0 |
colosa/processmaker | workflow/engine/config/paths.php | 6279 | <?php
/**
* paths.php
*
* ProcessMaker Open Source Edition
* Copyright (C) 2004 - 2008 Colosa Inc.23
*
* 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
* L... | agpl-3.0 |
Crowducate/crowducate-platform | server/methods/users.js | 433 | Meteor.methods({
'User.update': function(modifier, documentId) {
check(modifier, Schema.User);
Meteor.users.update(documentId, modifier);
},
'changeUserPassword': function(doc) {
//TODO Refactor to submit form without method
check(doc, Schema.User);
},
'User.biography.update': function(userId,... | agpl-3.0 |
ESOedX/edx-platform | common/lib/xmodule/xmodule/contentstore/django.py | 944 | from __future__ import absolute_import
from importlib import import_module
from django.conf import settings
_CONTENTSTORE = {}
def load_function(path):
"""
Load a function by name.
path is a string of the form "path.to.module.function"
returns the imported python object `function` from `path.to.mo... | agpl-3.0 |
printedheart/opennars | nars_lab/src/main/java/jhelp/util/thread/MessageHandler.java | 9654 | package jhelp.util.thread;
import java.util.PriorityQueue;
import java.util.concurrent.atomic.AtomicBoolean;
/**
* Handler of messages.<br>
* It reacts to messages posted for him.<br>
* Its thread safe, that is to say, if 2 threads post a message in "same time", the {@link #messageArrived(Object)} is called
* for... | agpl-3.0 |
petrjasek/superdesk-core | prod_api/users/service.py | 217 | from ..service import ProdApiService
class UsersService(ProdApiService):
excluded_fields = {
"user_preferences",
"session_preferences",
"password",
} | ProdApiService.excluded_fields
| agpl-3.0 |
laclasse-com/service-cahiertextes | public/node_modules/sweetalert2/src/utils/isNodeEnv.js | 115 | // Detect Node env
export const isNodeEnv = () => typeof window === 'undefined' || typeof document === 'undefined'
| agpl-3.0 |
armycreator/armycreator-website | web/forum/includes/ucp/ucp_register.php | 18484 | <?php
/**
*
* This file is part of the phpBB Forum Software package.
*
* @copyright (c) phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
* the docs/CREDITS.txt file.
*
*/
/**
* @ignore
*/
if (!defined('IN_PHPBB')... | agpl-3.0 |
rubyu/anki | tests/test_sync.py | 10536 | # coding: utf-8
import nose, os, shutil, time
from anki import Collection as aopen, Collection
from anki.utils import intTime
from anki.sync import Syncer, LocalServer
from tests.shared import getEmptyDeck, getEmptyDeckWith
# Local tests
##########################################################################
dec... | agpl-3.0 |
andreas-p/nextcloud-server | apps/encryption/l10n/es_AR.js | 8737 | OC.L10N.register(
"encryption",
{
"Missing recovery key password" : "Contraseña de llave de recuperacion faltante",
"Please repeat the recovery key password" : "Favor de reingresar la contraseña de recuperación",
"Repeated recovery key password does not match the provided recovery key password" : "L... | agpl-3.0 |
Dahlgren/PHP-Fusion | infusions/downloads/downloads_admin.php | 10363 | <?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) PHP-Fusion Inc
| https://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: downloads.php
| Author: PHP-Fusion Development Team
| Co-Author: PHP-Fusion Develo... | agpl-3.0 |
RysavyD/platby | controllers/organizator.py | 13965 | # coding: utf8
from mz_wkasa_platby import sa_ss, Uc_sa, vs2id
@auth.requires_login()
def pokladna():
adm = auth.has_membership('vedeni')
if adm and request.args(0)=='vse':
query = db.pohyb.idorganizator!=None
else:
organizator = adm and vs2id(db, request.args(0)
... | agpl-3.0 |
open-health-hub/openmaxims-linux | openmaxims_workspace/ValueObjects/src/ims/core/vo/beans/PatientDocumentSearchListVoBean.java | 7238 | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | agpl-3.0 |
open-health-hub/openmaxims-linux | openmaxims_workspace/ValueObjects/src/ims/core/vo/lookups/MaritalStatusCollection.java | 4422 | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | agpl-3.0 |
fanf/cf-clerk | src/main/scala/com/normation/cfclerk/domain/VariableAndSection.scala | 10587 | /*
*************************************************************************************
* Copyright 2011 Normation SAS
*************************************************************************************
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero Ge... | agpl-3.0 |
DerDu/SPHERE-Framework | Application/Document/Storage/Service/Setup.php | 7692 | <?php
namespace SPHERE\Application\Document\Storage\Service;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\DBAL\Schema\Table;
use SPHERE\System\Database\Binding\AbstractSetup;
/**
* Class Setup
*
* @package SPHERE\Application\Document\Explorer\Storage\Service
*/
class Setup extends AbstractSetup
{
/**
*... | agpl-3.0 |
wheldom01/privacyidea | privacyidea/lib/tokens/registrationtoken.py | 5493 | # -*- coding: utf-8 -*-
#
# privacyIDEA
# Aug 12, 2014 Cornelius Kölbel
# License: AGPLv3
# contact: http://www.privacyidea.org
#
# 2015-01-29 Adapt during migration to flask
# Cornelius Kölbel <cornelius@privacyidea.org>
#
# This code is free software; you can redistribute it and/or
# modify it unde... | agpl-3.0 |
pdpfsug/wp_raga10 | wp_raga10/wp-content/plugins/the-events-calendar/src/resources/js/tribe-events-ajax-calendar.js | 14591 | /**
* @file This file contains all month view specific javascript.
* This file should load after all vendors and core events javascript.
* @version 3.0
*/
(function( window, document, $, td, te, tf, ts, tt, config, dbug ) {
/*
* $ = jQuery
* td = tribe_ev.data
* te = tribe_ev.events
* tf = tribe... | agpl-3.0 |
235/gwt-odb-ui | src/net/pleso/odbui/public/js/dojo-release-1.0.2/dijit/tests/module.js | 644 | if(!dojo._hasResource["dijit.tests.module"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
dojo._hasResource["dijit.tests.module"] = true;
dojo.provide("dijit.tests.module");
try{
dojo.require("dijit.tests._base.manager");
dojo.require("dijit.tests._base.viewport");
dojo.requ... | agpl-3.0 |
mtlchun/edx | lms/djangoapps/lms_migration/migrate.py | 8933 | #
# migration tools for content team to go from stable-edx4edx to LMS+CMS
#
import json
import logging
import os
import xmodule.modulestore.django as xmodule_django
from xmodule.modulestore.django import modulestore
from django.http import HttpResponse
from django.conf import settings
import track.views
try:
fro... | agpl-3.0 |
GPCsolutions/ekylibre | app/controllers/backend/document_templates_controller.rb | 1288 | # == License
# Ekylibre - Simple agricultural ERP
# Copyright (C) 2008-2011 Brice Texier, Thibaud Merigon
#
# 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 |
Meisterschueler/ogn-python | migrations/versions/c53fdb39f5a5_added_frequencyscanfiles.py | 1588 | """Added UploadedFile
Revision ID: c53fdb39f5a5
Revises: 002656878233
Create Date: 2020-12-01 18:18:43.404091
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'c53fdb39f5a5'
down_revision = '002656878233'
branch_labels = None
depends_on = None
def upgrade():
... | agpl-3.0 |
aayushmudgal/CloudCoder | CloudCoderTools/src/org/cloudcoder/importer/DateTimeToMillis.java | 780 | package org.cloudcoder.importer;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Scanner;
public class DateTimeToMillis {
public static final String FORMAT = "dd MM yyyy HH:mm:ss Z";
public static void main(String[] args) thro... | agpl-3.0 |
dhootha/phpform | reports/test/libraries/PMA_tbl_columns_definition_form_test.php | 25647 | <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Tests for libraries/tbl_columns_definition_form.lib.php
*
* @package PhpMyAdmin-test
*/
/*
* Include to test.
*/
require_once 'libraries/Util.class.php';
require_once 'libraries/tbl_columns_definition_form.lib.php';
require_once 'libraries/DatabaseInterface.c... | lgpl-2.1 |
aglne/lenskit | lenskit-knn/src/main/java/org/grouplens/lenskit/knn/item/package-info.java | 3610 | /*
* LensKit, an open source recommender systems toolkit.
* Copyright 2010-2014 LensKit Contributors. See CONTRIBUTORS.md.
* Work on LensKit has been funded by the National Science Foundation under
* grants IIS 05-34939, 08-08692, 08-12148, and 10-17697.
*
* This program is free software; you can redistribute it... | lgpl-2.1 |
jbechtel/CASMcode | src/casm/hull/GeometryPieces.cc | 5859 | #include "casm/hull/GeometryPieces.hh"
#include "casm/BP_C++/BP_Geo.hh"
#include "casm/BP_C++/BP_Vec.hh"
#include "casm/container/Array.hh"
#include "casm/casm_io/jsonParser.hh"
namespace CASM {
/**
* The following is a horrendous piece of code I'm using to avoid #include nightmares
* that show up trying to... | lgpl-2.1 |
bitsauce/ASIDE | build/release/moc_qtlocalpeer.cpp | 4209 | /****************************************************************************
** Meta object code from reading C++ file 'qtlocalpeer.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
**
** WARNING! All changes made in this file will be lost!
*********************************************************... | lgpl-2.1 |
codeaudit/beast-mcmc | src/dr/math/distributions/UniformDistribution.java | 5143 | /*
* UniformDistribution.java
*
* Copyright (c) 2002-2015 Alexei Drummond, Andrew Rambaut and Marc Suchard
*
* This file is part of BEAST.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership and licensing.
*
* BEAST is free software; you can redistribute ... | lgpl-2.1 |
livioc/nhibernate-core | src/NHibernate.Test/MappingByCode/MappersTests/DynamicComponentMapperTests/ManyToOnePropertyOnDynamicCompoTests.cs | 1895 | using System.Collections;
using System.Linq;
using NHibernate.Cfg.MappingSchema;
using NHibernate.Mapping.ByCode;
using NHibernate.Mapping.ByCode.Impl;
using NUnit.Framework;
namespace NHibernate.Test.MappingByCode.MappersTests.DynamicComponentMapperTests
{
public class ManyToOnePropertyOnDynamicCompoTests
{
priva... | lgpl-2.1 |
flow123d/dealii | tests/hp/hp_quad_dof_identities_dgp.cc | 2166 | // ---------------------------------------------------------------------
//
// Copyright (C) 2005 - 2013 by the deal.II authors
//
// This file is part of the deal.II library.
//
// The deal.II library is free software; you can use it, redistribute
// it, and/or modify it under the terms of the GNU Lesser General
// Pu... | lgpl-2.1 |
anders9ustafsson/framework | Sources/Accord.Statistics/Testing/Power/Base/IPowerAnalysis.cs | 4211 | // Accord Statistics Library
// The Accord.NET Framework
// http://accord-framework.net
//
// Copyright © César Souza, 2009-2017
// cesarsouza at gmail.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published ... | lgpl-2.1 |
KDE/qt | src/gui/kernel/qpalette.cpp | 40638 | /****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees ... | lgpl-2.1 |
PascalLike/OSGeoLive | app-data/jupyter/static/custom/testing/history/history.js | 5150 |
// Copyright (C) 2013 The IPython Development Team
//
// Distributed under the terms of the BSD License. The full license is in
// the file COPYING, distributed as part of this software.
//----------------------------------------------------------------------------
/*
How does it work ?
send each cell to a se... | lgpl-2.1 |
dabrahams/0install | tests/testlaunch.py | 7547 | #!/usr/bin/env python
from __future__ import print_function
from basetest import BaseTest, StringIO, BytesIO
import sys, tempfile, os, imp
import unittest
import logging
foo_iface_uri = 'http://foo'
sys.path.insert(0, '..')
from zeroinstall import SafeException
from zeroinstall.support import tasks
from zeroinstall... | lgpl-2.1 |
tenderlove/racc | ext/racc/cparse/extconf.rb | 135 | # frozen_string_literal: false
#
require 'mkmf'
have_func('rb_block_call')
have_func('rb_ary_subseq')
create_makefile 'racc/cparse'
| lgpl-2.1 |
Supporting/pmuc | src/api/vector3f.cpp | 2776 | /*
* Plant Mock-Up Converter
*
* Copyright (c) 2013, EDF. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your o... | lgpl-2.1 |
jtalks-org/jtalks-common | jtalks-common-model/src/test/java/org/jtalks/common/model/permissions/JtalksPermissionTest.java | 3001 | /**
* Copyright (C) 2011 JTalks.org Team
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
* This library ... | lgpl-2.1 |
tavlima/fosstrak-reader | reader-rprm-core/src/main/java/org/fosstrak/reader/rprm/core/msg/MessageDispatcher.java | 6487 | /*
* Copyright (C) 2007 ETH Zurich
*
* This file is part of Fosstrak (www.fosstrak.org).
*
* Fosstrak is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation.
*
* Fosstrak is distr... | lgpl-2.1 |
zsoltii/dss | dss-cades/src/test/java/eu/europa/esig/dss/cades/validation/MockDataLoader.java | 890 | package eu.europa.esig.dss.cades.validation;
import java.io.IOException;
import eu.europa.esig.dss.DSSDocument;
import eu.europa.esig.dss.DSSException;
import eu.europa.esig.dss.FileDocument;
import eu.europa.esig.dss.client.http.commons.CommonsDataLoader;
import eu.europa.esig.dss.utils.Utils;
public class MockData... | lgpl-2.1 |
mono/linux-packaging-monodevelop | external/mono-addins/Mono.Addins.Setup/Mono.Addins.Setup/RepositoryReaderWriter.cs | 31031 | // It is automatically generated
using System;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Serialization;
using System.Text;
using System.Collections;
using System.Globalization;
namespace Mono.Addins.Setup
{
internal class RepositoryReader : XmlSerializationReader
{
static readonly System.Reflecti... | lgpl-2.1 |
poppogbr/genropy | dojo_libs/dojo_11/dojo/dojox/charting/plot2d/Markers.js | 621 | /*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dojox.charting... | lgpl-2.1 |
webbfontaine/josso1 | agents/josso-php-agent/src/main/php/josso-php-agent/autologin/class.bot_automatic_login_strategy.php | 6334 | <?php
/**
* PHP Bot automatic login class definition.
*/
/**
JOSSO: Java Open Single Sign-On
Copyright 2004-2009, Atricore, Inc.
This is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 ... | lgpl-2.1 |
karansapra/OpenDwarfs | finite-state-machine/tdm/dataio.cpp | 3403 | #include "dataio.h"
#include "global.h"
#include <stdio.h>
#include <stdlib.h>
char symbolToChar( char l, int n )
{
return (l - 'a')*8 + (n-1) + '!';
}
void charToSymbol( char c, char& l, int& n )
{
n = (c-'!')%8+1;
l = (c-'!'-(n-1))/8 + 'a';
}
unsigned int countLinesInFile( char* filename )
{
int ch, prev = ... | lgpl-2.1 |
krafczyk/spack | var/spack/repos/builtin/packages/pacbio-daligner/package.py | 2025 | ##############################################################################
# Copyright (c) 2013-2018, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# This file is part of Spack.
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
# LLNL-CODE-64... | lgpl-2.1 |
1fechner/FeatureExtractor | sources/FeatureExtractor/lib/hibernate-release-5.1.0.Final/project/hibernate-core/src/main/java/org/hibernate/tool/schema/spi/ScriptSourceInput.java | 971 | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.tool.schema.spi;
import java.util.List;
import org.hibernat... | lgpl-2.1 |
likuolin/ib-ruby | spec/gw.rb | 89 | puts 'To run specs against the Gateway port, use:'
puts '$ rspec -rgw spec'
PORT = 4002
| lgpl-2.1 |
jbarriosc/ACSUFRO | LGPL/CommonSoftware/bulkDataNT/src/bulkDataNTSenderImpl.cpp | 11453 | /*******************************************************************************
* ALMA - Atacama Large Millimiter Array
* (c) European Southern Observatory, 2011
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the ... | lgpl-2.1 |
gwenniger/joshua | src/joshua/util/Counted.java | 2870 | /*
* This file is part of the Joshua Machine Translation System.
*
* Joshua is free software; you can redistribute it and/or modify it under the terms of the GNU
* Lesser General Public License as published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version... | lgpl-2.1 |
AgNO3/jcifs-ng | src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java | 4264 | /* jcifs smb client library in Java
* Copyright (C) 2000 "Michael B. Allen" <jcifs at samba dot org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the ... | lgpl-2.1 |
nonrational/qt-everywhere-opensource-src-4.8.6 | tools/porting/src/codemodelattributes.cpp | 7315 | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the qt3to4 porting application of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage... | lgpl-2.1 |
CastMi/iverilog | vhdlpp/vtype_match.cc | 1359 | /*
* Copyright (c) 2013 Stephen Williams (steve@icarus.com)
* Copyright CERN 2013 / Stephen Williams (steve@icarus.com)
*
* This source code is free software; you can redistribute it
* and/or modify it in source code form under the terms of the GNU
* General Public License as published by the Free Softwa... | lgpl-2.1 |
iulian787/spack | var/spack/repos/builtin/packages/perl/package.py | 15458 | # Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
#
# Author: Milton Woods <milton.woods@bom.gov.au>
# Date: March 22, 2017
# Author: George Hartzell <hartzell@alerce.com>
... | lgpl-2.1 |
vovkasm/liteide | liteidex/src/3rdparty/libucd/src/LangFrenchModel.cpp | 9777 | /**
* @file LangFrenchModel.cpp
* @brief LangFrenchModel
* @license GPL 2.0/LGPL 2.1
*/
#include "nsSBCharSetProber.h"
static const unsigned char french_WINDOWS_1252CharToOrderMap[] =
{
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,2... | lgpl-2.1 |
cstb/ifc2x3-SDK | src/ifc2x3/IfcMemberType.cpp | 4492 | // IFC SDK : IFC2X3 C++ Early Classes
// Copyright (C) 2009 CSTB
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any late... | lgpl-2.1 |
lxde/translations | lxqt-panel/plugin-desktopswitch/desktopswitch_pl.ts | 2043 | <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="pl">
<context>
<name>DesktopSwitch</name>
<message>
<location filename="../../../desktopswitch.cpp" line="84"/>
<source>Switch to desktop %1</source>
<translation>Przełącz na pulpit %1</translation>
</me... | lgpl-2.1 |