repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
sharidas/core | lib/l10n/sv.js | 14303 | OC.L10N.register(
"lib",
{
"Cannot write into \"config\" directory!" : "Kan inte skriva till \"config\" katalogen!",
"This can usually be fixed by giving the webserver write access to the config directory" : "Detta kan vanligtvis åtgärdas genom att ge skrivrättigheter till config katalgogen",
"See %... | agpl-3.0 |
mholiv/priceWatch | priceWatcher/sql.py | 3527 | from sqlalchemy import Column, Integer, Float, DateTime, String, MetaData,Table, create_engine, ForeignKey, join
from sqlalchemy.orm import sessionmaker, relationship
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm.exc import NoResultFound
import yaml
#Import out settings
with open('setting... | agpl-3.0 |
flaviohenso/projeto-JSF2 | src/main/java/com/flavio/model/registros/s1000/Reg_situacaoPF.java | 261 | /**
* projeto-web : 10 de out de 2017
*/
package com.flavio.model.registros.s1000;
import com.thoughtworks.xstream.annotations.XStreamAlias;
/**
* @author flavio
*
*/
@XStreamAlias("situacaoPF")
public class Reg_situacaoPF {
private String indSitPF;
}
| agpl-3.0 |
vatesfr/xo-web | @xen-orchestra/backups-cli/commands/create-symlink-index.js | 1012 | const filenamify = require('filenamify')
const get = require('lodash/get')
const { asyncMap } = require('@xen-orchestra/async-map')
const { dirname, join, relative } = require('path')
const { mktree, readdir2, readFile, symlink2 } = require('../_fs')
module.exports = async function createSymlinkIndex([backupDir, fiel... | agpl-3.0 |
CatoTH/antragsgruen | models/forms/MotionDeepCopy.php | 7091 | <?php declare(strict_types=1);
namespace app\models\forms;
use app\models\db\{Amendment,
AmendmentAdminComment,
AmendmentComment,
AmendmentSection,
AmendmentSupporter,
ConsultationAgendaItem,
ConsultationMotionType,
Motion,
MotionAdminComment,
MotionComment,
MotionSection,
... | agpl-3.0 |
Fabs/wikiurbo | app/models/citizen.rb | 2403 | require 'digest/sha1'
class Citizen < ActiveRecord::Base
include Authentication
include Authentication::ByPassword
include Authentication::ByCookieToken
validates_presence_of :login
validates_length_of :login, :within => 3..40
validates_uniqueness_of :login
validates_format_of :logi... | agpl-3.0 |
tenders-exposed/elvis-ember | app/services/songs.js | 19176 | import Service from '@ember/service';
const songs = [
`500 Miles`,
`Adam and Evil`,
`After Loving You`,
`"Ain't That Lovin' You, Baby"`,
`All I Needed Was the Rain`,
`All Shook Up`,
`All That I Am`,
`Allá en el Rancho Grande`,
`Almost`,
`Almost Always True`,
`Almost in Love`,
`Aloha 'Oe`,
`"A... | agpl-3.0 |
mattsoldo/fat_free_crm | app/helpers/campaigns_helper.rb | 1899 | # Fat Free CRM
# Copyright (C) 2008-2009 by Michael Dvorkin
#
# 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 |
StylishTriangles/TadzikEngine | Tadzik/levels/rpg.hpp | 25777 |
#ifndef RPG_HPP
#define RPG_HPP
#include "../include/Scene.hpp"
#include "../include/AnimatedSprite.hpp"
#include "../include/Collision.hpp"
#include "../include/Utils.hpp"
#include <string>
#include <vector>
#include <ctime>
#include <cstdlib>
#include <cmath>
#include <fstream>
class RPG : public Scene
{
public:... | agpl-3.0 |
Yusspy/Jolt-Sphere | desktop/src/org/joltsphere/main/desktop/DesktopLauncher.java | 831 | package org.joltsphere.main.desktop;
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application;
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationConfiguration;
import org.joltsphere.main.JoltSphereMain;
public class DesktopLauncher {
static Lwjgl3ApplicationConfiguration config;
public static void m... | agpl-3.0 |
ungerik/ephesoft | Ephesoft_Community_Release_4.0.2.0/source/gxt/gxt-core/src/main/java/com/ephesoft/gxt/core/shared/constant/CoreErrorConstant.java | 2819 | /*********************************************************************************
* Ephesoft is a Intelligent Document Capture and Mailroom Automation program
* developed by Ephesoft, Inc. Copyright (C) 2015 Ephesoft Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the term... | agpl-3.0 |
damianmoore/photo-manager | ui/src/components/Settings.js | 7259 | import React, { useState, useEffect } from 'react'
import { useQuery, useMutation } from '@apollo/client'
import { useSelector } from 'react-redux'
import { getActiveLibrary } from '../stores/libraries/selector'
import {
Switch,
Flex,
Stack,
FormLabel,
// Input,
// InputGroup,
// IconButton,
} from '@cha... | agpl-3.0 |
digitalpetri/ua-server-sdk | ua-server/src/main/java/com/digitalpetri/opcua/sdk/server/model/objects/InitialStateNode.java | 1943 | /*
* digitalpetri OPC-UA SDK
*
* Copyright (C) 2015 Kevin Herron
*
* 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 |
NamoDev/Galileo | resources/views/components/modal_data_policy.blade.php | 14950 | <div class="modal fade" id="dataPolicyModal" role="dialog">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title"><i class=... | agpl-3.0 |
marcoalbarelli/PostgreSQL | Symfony/src/Scuola247/Bundle/CoreBundle/Entity/Firme.php | 1301 | <?php
namespace Scuola247\Bundle\CoreBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Firme
*
* @ORM\Table(name="firme")
* @ORM\Entity
*/
class Firme
{
/**
* @var \DateTime
*
* @ORM\Column(name="giorno", type="date", nullable=false)
*/
private $giorno;
/**
* @var integ... | agpl-3.0 |
ProximoSrl/Jarvis.DocumentStore | src/Jarvis.DocumentStore.Core/Domain/DocumentDescriptor/Commands/InitializeDocumentDescriptorAsAttach.cs | 922 | using Jarvis.DocumentStore.Core.Model;
namespace Jarvis.DocumentStore.Core.Domain.DocumentDescriptor.Commands
{
public class InitializeDocumentDescriptorAsAttach : InitializeDocumentDescriptor
{
public DocumentHandle FatherHandle { get; private set; }
public DocumentDescriptorId Father... | agpl-3.0 |
jpmml/jpmml-evaluator | pmml-evaluator/src/main/java/org/jpmml/evaluator/HasModel.java | 1039 | /*
* Copyright (c) 2018 Villu Ruusmann
*
* This file is part of JPMML-Evaluator
*
* JPMML-Evaluator 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... | agpl-3.0 |
yamatt/bbcazlisting | routes/atoz.js | 411 | var express = require('express');
var router = express.Router();
var datastore = require('../datastore')();
/* GET home page. */
router.get('/:letter/programmes', function(req, res, next) {
res.set('Content-Type', 'application/json');
var response = datastore.get(req.params.letter)
if (response != undefined) {
re... | agpl-3.0 |
jfritz/greenlight | greenlight/urls.py | 760 | """greenlight URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.8/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
Class-... | agpl-3.0 |
pgpst/pgpst | internal/github.com/dancannon/gorethink/gorethink_test.go | 9317 | package gorethink
import (
"encoding/json"
"flag"
"fmt"
"math/rand"
"os"
"runtime"
"sync"
"testing"
"time"
test "github.com/pgpst/pgpst/internal/gopkg.in/check.v1"
)
var session *Session
var debug = flag.Bool("gorethink.debug", false, "print query trees")
var testdata = flag.Bool("gorethink.testdata", true... | agpl-3.0 |
sohaniacademy/mathstreams | src/Magnets/MathgymBundle/Entity/Chat/Ticket.php | 3147 | <?php
/*
* This file is part of Mathstreams.
*
* Copyright (c) 2015 Sohani Academy <developer@sohaniacademy.com>
*
* Mathstreams 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 vers... | agpl-3.0 |
ianopolous/Peergos | src/peergos/shared/user/fs/CapabilityStore.java | 21206 | package peergos.shared.user.fs;
import peergos.shared.*;
import peergos.shared.cbor.*;
import peergos.shared.crypto.hash.*;
import peergos.shared.user.*;
import peergos.shared.util.*;
import java.util.*;
import java.util.concurrent.CompletableFuture;
import java.util.function.*;
import java.util.stream.*;
/** This c... | agpl-3.0 |
ProtocolSupport/ProtocolSupport | src/protocolsupport/protocol/packet/middle/impl/clientbound/play/v_8_9r1_9r2/EntityEffectAdd.java | 1312 | package protocolsupport.protocol.packet.middle.impl.clientbound.play.v_8_9r1_9r2;
import protocolsupport.protocol.codec.VarNumberCodec;
import protocolsupport.protocol.packet.ClientBoundPacketData;
import protocolsupport.protocol.packet.ClientBoundPacketType;
import protocolsupport.protocol.packet.middle.base.clientbo... | agpl-3.0 |
aborg0/rapidminer-vega | src/liblinear/Model.java | 3412 | /*
* RapidMiner
*
* Copyright (C) 2001-2011 by Rapid-I and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapid-i.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public Lice... | agpl-3.0 |
ownchan/server-persistence | src/main/java/org/ownchan/server/persistence/typehandler/auto/PhysicalContentTypeTypeHandler.java | 1310 | /*******************************************************************************
* @author Stefan Gündhör <stefan@guendhoer.com>
*
* @copyright Copyright (c) 2017, Stefan Gündhör <stefan@guendhoer.com>
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the terms ... | agpl-3.0 |
dmitr25/demobbed-viewer | js/nuEventsData/nuMu/loadEvent12207011104.js | 7671 | demobbed.resetEvent();
demobbed.event().id(12207011104);
demobbed.event().date(1343187073000);
demobbed.event().hitsTT()[0] = [
new HitTT(10000, -212.7, 536.79, 27.89),
new HitTT(10001, -204.78, 536.79, 34.05),
new HitTT(10002, -212.89, 550.19, 24.77),
new HitTT(10003, -207.61, 550.19, 40),
new HitTT(10004,... | agpl-3.0 |
zhangdakun/funasyn | src/com/eben/client/InvalidFormatException.java | 1198 | /*
* Copyright (C) 2010 Moduad Co., Ltd.
*
* 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/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | agpl-3.0 |
exomiser/Exomiser | exomiser-core/src/main/java/org/monarchinitiative/exomiser/core/model/SampleGenotypes.java | 5995 | /*
* 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 |
opensourceBIM/BIMserver | PluginBase/generated/org/bimserver/interfaces/objects/SUserSession.java | 5842 | package org.bimserver.interfaces.objects;
/******************************************************************************
* Copyright (C) 2009-2019 BIMserver.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
* publishe... | agpl-3.0 |
nmunro/azathoth | emotion/migrations/0015_auto_20171203_1606.py | 383 | # Generated by Django 2.0 on 2017-12-03 16:06
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('emotion', '0014_auto_20171203_1527'),
]
operations = [
migrations.AlterField(
model_name='emotion',
name='percent',
... | agpl-3.0 |
harish-patel/ecrm | portal/include/SugarFields/Fields/SugarFieldLink/SugarFieldLink.php | 2137 | <?php
/*********************************************************************************
* The contents of this file are subject to the SugarCRM Master Subscription
* Agreement ("License") which can be viewed at
* http://www.sugarcrm.com/crm/en/msa/master_subscription_agreement_11_April_2011.pdf
* By installing or ... | agpl-3.0 |
printedheart/opennars | nars_gui/src/main/java/automenta/vivisect/swing/property/propertysheet/PropertySheetPanel.java | 15441 | /**
* L2FProd Common v9.2 License.
*
* Copyright 2005 - 2009 L2FProd.com
*
* 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/licenses/LICENSE-2.0
*
* Unle... | agpl-3.0 |
icedream/gmod-disguiser | lua/weapons/disguiser/init.lua | 11546 | /**
* Disguiser SWEP - Lets you disguise as any prop on a map.
*
* File:
* init.lua
*
* Purpose:
* Initializes server-side stuff including weapon information, actual weapon
* hooks and whatever stuff is also needed to make the server work on servers.
*
* Copyright (C) 2013 Carl Kittelberger (Icedream)
... | agpl-3.0 |
gymnasium/edx-platform | lms/djangoapps/badges/models.py | 12332 | """
Database models for the badges app
"""
from importlib import import_module
from config_models.models import ConfigurationModel
from django.conf import settings
from django.contrib.auth.models import User
from django.core.exceptions import ValidationError
from django.db import models
from django.utils.translation i... | agpl-3.0 |
nttks/edx-platform | lms/djangoapps/instructor/features/bulk_email.py | 7501 | """
Define steps for bulk email acceptance test.
"""
# pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name
from lettuce import world, step
from lettuce.django import mail
from nose.tools import assert_in, assert_equal
from django.core.management import call_command
from django.conf import setting... | agpl-3.0 |
kaltura/KalturaGeneratedAPIClientsCsharp | KalturaClient/Types/SearchAuthData.cs | 3728 | // ===================================================================================================
// _ __ _ _
// | |/ /__ _| | |_ _ _ _ _ __ _
// | ' </ _` | | _| || | '_/ _` |
// |_|\_\__,_|_|\__|\_,_|_| \_... | agpl-3.0 |
aimrebirth/Polygon4 | Plugins/DBTool/Source/DBTool/Widgets/SDBToolTableView.cpp | 12360 | /*
* Polygon-4
* Copyright (C) 2015 lzwdgc
*
* 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 ... | agpl-3.0 |
ILCARLO/SalesTaxProblem | SalesTaxProblem.ConsoleApp/Properties/AssemblyInfo.cs | 1393 | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Con... | agpl-3.0 |
MimocomMedia/kaltura | package/app/app/infra/cdl/kdl/KDLMediaDataSet.php | 5596 | <?php
include_once("KDLCommon.php");
include_once("KDLMediaObjectData.php");
/* ---------------------------
* KDLMediaDataSet
*/
class KDLMediaDataSet {
/* ---------------------
* Data
*/
public $_pdf=null;
public $_swf=null;
public $_container=null;
public $_video=null;
public $_... | agpl-3.0 |
dropmann/jasp-desktop | JASP-Desktop/widgets/tablemodelvariablesassigned.cpp | 5255 | //
// Copyright (C) 2013-2015 University of Amsterdam
//
// 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 |
wallyworld/juju | provider/vsphere/internal/vsphereclient/client.go | 24054 | // Copyright 2015-2017 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package vsphereclient
import (
"context"
"net/url"
"path"
"strings"
"github.com/dustin/go-humanize"
"github.com/juju/clock"
"github.com/juju/errors"
"github.com/juju/loggo"
"github.com/juju/mutex"
"github.com/... | agpl-3.0 |
shaoliancheng/videoplayer-android-tv | playkit/src/main/java/com/kaltura/playkit/api/phoenix/services/PhoenixService.java | 1408 | /*
* ============================================================================
* Copyright (C) 2017 Kaltura Inc.
*
* Licensed under the AGPLv3 license, unless a different license for a
* particular library is specified in the applicable library path.
*
* You may obtain a copy of the License at
* https://ww... | agpl-3.0 |
maurelio1234/6wc | process.py | 2883 | import csv
from datetime import datetime, timedelta
import string
import re
def get_time(s):
""" interprets time based expressions in s and returns it as a number of minutes """
def get_match_int(res, s, g=1):
match = re.search(res, s)
if match:
return int(match.group(g))
else:
return 0
hours = ge... | agpl-3.0 |
ingadhoc/odoo-help | help_doc_account/__openerp__.py | 1597 | # -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2015 ADHOC SA (http://www.adhoc.com.ar)
# All Rights Reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Pu... | agpl-3.0 |
pculture/unisubs | media/src/js/subtitle-editor/tests/subtitleListSpec.js | 38971 | describe('Test the SubtitleList class', function() {
var subtitleList = null;
beforeEach(module('amara.SubtitleEditor.subtitles.models'));
beforeEach(module('amara.SubtitleEditor.mocks'));
beforeEach(inject(function(SubtitleList) {
subtitleList = new SubtitleList();
subtitleList.loadEm... | agpl-3.0 |
AMSoftwareNL/crmpowershell | AMSoftware.Crm.PowerShell.Commands/Administration/NewEnvironmentVariableCommand.cs | 4418 | /*
CRM PowerShell Library
Copyright (C) 2017 Arjan Meskers / AMSoftware
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 |
Sage-Bionetworks/rstudio | src/gwt/src/org/rstudio/core/client/widget/CheckboxLabel.java | 1449 | /*
* CheckboxLabel.java
*
* Copyright (C) 2009-11 by RStudio, Inc.
*
* This program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS... | agpl-3.0 |
3drepo/3drepo.io | frontend/src/v4/modules/presentation/presentation.selectors.ts | 2561 | /**
* Copyright (C) 2020 3D Repo 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 pro... | agpl-3.0 |
juju/juju | worker/apiservercertwatcher/authorityworker.go | 1770 | // Copyright 2020 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package apiservercertwatcher
import (
"github.com/juju/errors"
"github.com/juju/worker/v3/catacomb"
"github.com/juju/juju/agent"
"github.com/juju/juju/pki"
)
// OperatorWatcher is responsible for creating a new PKI cert... | agpl-3.0 |
timetabio/code | Framework/src/Pdo/Value/Boolean.php | 831 | <?php
/**
* Copyright (c) 2016 Ruben Schmidmeister <ruben.schmidmeister@icloud.com>
*
* This program is free software. It comes without any warranty, to
* the extent permitted by applicable law. You can redistribute it
* and/or modify it under the terms of the GNU Affero General Public License,
* version 3, as pu... | agpl-3.0 |
Lidefeath/ACE | Source/ACE.Database/Models/Shard/BiotaPropertiesGenerator.cs | 1078 | using System;
using System.Collections.Generic;
namespace ACE.Database.Models.Shard
{
public partial class BiotaPropertiesGenerator
{
public uint Id { get; set; }
public uint ObjectId { get; set; }
public float Probability { get; set; }
public uint WeenieClassId { get; set; }
... | agpl-3.0 |
nvoron23/rstudio | src/cpp/desktop/DesktopSatelliteWindow.cpp | 2123 | /*
* DesktopSatelliteWindow.cpp
*
* Copyright (C) 2009-12 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Publi... | agpl-3.0 |
yinhm/sugarcrm | modules/Leads/metadata/editviewdefs.php | 6342 | <?php
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the... | agpl-3.0 |
teoincontatto/engine | packaging-utils/src/main/java/com/torodb/packaging/config/util/ConfigUtils.java | 16093 | /*
* 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 |
fundacionempowerment/VACH | modules/admin/views/team-type/dimensions.php | 1943 | <?php
use yii\bootstrap\ActiveForm;
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $teamType app\models\TeamType */
$this->title = ($teamType->id == 0 ? Yii::t('team', 'New team type') : Yii::t('app', 'Edit') . ' ' . $teamType->name);
$this->params['breadcrumbs'... | agpl-3.0 |
StartupdotSC/Lemyr | db/migrate/20130712133825_add_attachment_avatar_attached_to_users.rb | 237 | class AddAttachmentAvatarAttachedToUsers < ActiveRecord::Migration
def self.up
change_table :users do |t|
t.attachment :avatar_attached
end
end
def self.down
drop_attached_file :users, :avatar_attached
end
end
| agpl-3.0 |
fakena/myoc4078 | opencog/embodiment/Control/PerceptionActionInterface/ActionParamType.cc | 5012 | /*
* opencog/embodiment/Control/PerceptionActionInterface/ActionParamType.cc
*
* Copyright (C) 2002-2009 Novamente LLC
* All Rights Reserved
* Author(s): Novamente team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License v3 as
*... | agpl-3.0 |
combefis/OpenSM | modules/exams/client/exams.client.module.js | 601 | (function (app) {
'use strict';
app.registerModule('exams', ['core']);// The core module is required for special route handling; see /core/client/config/core.client.routes
app.registerModule('exams.routes', ['ui.router', 'core.routes', 'exams.services']);
app.registerModule('exams.manager');
app.registerModu... | agpl-3.0 |
tradity/tradity-server | test/cli/config.js | 1976 | // Tradity.de Server
// Copyright (C) 2016 Tradity.de Tech Team <tech@tradity.de>
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your optio... | agpl-3.0 |
apmuthu/radicore | radicore/product/prod_cat_class.add.php | 533 | <?php
//*****************************************************************************
// Allow a new occurrence to be added to the PROD_CAT_CLASS table for a particular
// value of PRODUCT_ID, as selected in the previous screen..
//*****************************************************************************
//DebugBr... | agpl-3.0 |
PyBossa/pybossa | pybossa/cache/site_stats.py | 4920 | # -*- coding: utf8 -*-
# This file is part of PYBOSSA.
#
# Copyright (C) 2015 Scifabric LTD.
#
# PYBOSSA 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 op... | agpl-3.0 |
feriasvivas/rbat | db/migrate/20160606183809_remove_alcohol_drugs_victim.rb | 140 | class RemoveAlcoholDrugsVictim < ActiveRecord::Migration
def change
remove_columns :victims, :effect_drugs, :effect_alcohol
end
end
| agpl-3.0 |
videodromm/website | src/components/Github.js | 218 | import { Menu } from './Menu'
export const Github = () =>
<div className="component">
<Menu />
<ul>
<li><a target="_blank" href="https://github.com/videodromm">github</a></li>
</ul>
</div>
| agpl-3.0 |
melmsie/Dank-Memer | src/commands/memeyCommands/surreal.js | 281 | const { GenericRedditCommand } = require('../../models')
module.exports = new GenericRedditCommand({
triggers: ['surreal', 'surrealmemes'],
description: 'I really do not understand these',
endpoint: '/r/surrealmemes/top/.json?sort=top&t=week&limit=100',
type: 'image'
})
| agpl-3.0 |
OCA/l10n-italy | l10n_it_fatturapa_in/__init__.py | 62 | from . import models
from . import tests
from . import wizard
| agpl-3.0 |
oeoeaio/openfoodnetwork | app/controllers/user_confirmations_controller.rb | 1522 | class UserConfirmationsController < DeviseController
include Spree::Core::ControllerHelpers::Auth # Needed for access to current_ability, so we can authorize! actions
# GET /resource/confirmation/new
def new
build_resource({})
end
# POST /resource/confirmation
def create
set_return_url if params.k... | agpl-3.0 |
lmdu/krait | src/widgets.py | 81720 | # -*- coding: utf-8 -*-
import os
import sys
import csv
import apsw
import time
import json
import shutil
import requests
import platform
from PySide2.QtCore import *
from PySide2.QtGui import *
#from PySide2.QtSql import *
#from PySide2.QtWebEngineWidgets import *
from PySide2.QtWidgets import *
#from PySide2.QtPrin... | agpl-3.0 |
gabrys/wikidot | web/default_flow.php | 1287 | <?php
/**
* Wikidot - free wiki collaboration software
* Copyright (c) 2008, Wikidot 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 (... | agpl-3.0 |
numenta/NAB | nab/detectors/context_ose/context_operator.py | 8514 | # ----------------------------------------------------------------------
# Copyright (C) 2016, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
# This program is free software: you can redistribute it and/... | agpl-3.0 |
Tisseo/EndivBundle | Entity/PoiType.php | 959 | <?php
namespace Tisseo\EndivBundle\Entity;
/**
* PoiType
*/
class PoiType
{
/**
* @var int
*/
private $id;
/**
* @var string
*/
private $name;
/**
* @var string
*/
private $long_name;
/**
* Get id
*
* @return int
*/
public function... | agpl-3.0 |
opentechnologist/redtree | admin/page/ottr.php | 501 | <?php
class page_ottr extends Page {
function init() {
parent::init();
$this->api->auth->check();
$obj=$this->add('CRUD')->setModel('OTTrans');
if($this->api->recall('payrollperiod'))
$this->add('Text')->set('Filtered on Payroll Period: '.
$this->api->recall('payrollperioddesc'));
if($this->api->reca... | agpl-3.0 |
Talocha/PHP-Fusion | locale/Lithuanian/permalinks/profiles.php | 147 | <?php
$locale['pl_profiles_title'] = "Narių profiliai";
$locale['pl_profiles_desc'] = "Įjungti pastovias nuorodas narių profilių nuorodoms.";
| agpl-3.0 |
simonzhangsm/voltdb | src/frontend/org/voltdb/expressions/ExpressionUtil.java | 28291 | /* This file is part of VoltDB.
* Copyright (C) 2008-2018 VoltDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any la... | agpl-3.0 |
almonteb/scoot | spec/controllers/searches_controller_spec.rb | 1501 | #--
# Copyright (C) 2008 Johan Sørensen <johan@johansorensen.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 la... | agpl-3.0 |
rkfg/jbot | src/main/java/me/rkfg/xmpp/bot/plugins/game/command/RulesCommand.java | 646 | package me.rkfg.xmpp.bot.plugins.game.command;
import java.util.Optional;
import java.util.stream.Stream;
import me.rkfg.xmpp.bot.plugins.game.IPlayer;
public class RulesCommand extends AbstractCommand {
@Override
public String getCommand() {
return "правила";
}
@Override
public Optiona... | agpl-3.0 |
kingkino/Implem.Pleasanter | Implem.Pleasanter/Scripts/_Time.js | 876 | $p.dateAdd = function (type, num, date) {
switch (type) {
case 'd':
return new Date(new Date(date).setDate(date.getDate() + num));
}
}
$p.dateDiff = function (type, date1, date2) {
switch (type) {
case 'd':
return parseInt((date1 - date2) / 86400000);
}
}
$p.sh... | agpl-3.0 |
o2oa/o2oa | o2server/x_bbs_assemble_control/src/main/java/com/x/bbs/assemble/control/factory/BBSForumInfoFactory.java | 4455 | package com.x.bbs.assemble.control.factory;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaQuery;
import javax.persistence.criteria.Predicate;
import javax.persistence.criteria.Root... | agpl-3.0 |
et304383/passbolt_api | app/webroot/js/lib/can/dist/cjs/view/stache/stache.js | 10563 | /*!
* CanJS - 2.2.9
* http://canjs.com/
* Copyright (c) 2015 Bitovi
* Fri, 11 Sep 2015 23:12:43 GMT
* Licensed MIT
*/
/*can@2.2.9#view/stache/stache*/
var can = require('../../util/util.js');
var parser = require('../parser/parser.js');
var target = require('../target/target.js');
var HTMLSectionBuilder = requir... | agpl-3.0 |
GrahamDeprecated/CMS-Core | src/Models/Relations/Interfaces/BelongsToPostInterface.php | 1136 | <?php
/**
* This file is part of CMS Core by Graham Campbell.
*
* 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 ver... | agpl-3.0 |
iCloudWorkGroup/fengniao | test/test.js | 2461 | (function(root, factory) {
if(typeof exports === 'object') {
module.exports = factory(require, exports, module);
}
else if(typeof define === 'function' && define.amd) {
define(['require', 'exports', 'module'], factory);
}
else {
var req = function(id) {return root[id];},
... | agpl-3.0 |
richhl/kalturaCE | package/app/app/plugins/kaltura_internal_tools/admin/forms/SystemHelperResult.php | 643 | <?php
class Form_SystemHelperResult extends Zend_Form
{
public function init()
{
// Set the method for the display form to POST
$this->setMethod('post');
$this->setAttrib('class', 'inline-form');
$this->setAttrib('id', 'frmSystemHelperResults');
$this->addElement('textarea', 'results', a... | agpl-3.0 |
ProjetSigma/frontend | src/resources/group-field-value.ts | 1083 | import {Record} from 'utils/record';
import {GroupField} from './group-field';
import {Membership} from './membership';
export class GroupFieldValue extends Record {
public id: number;
public membership: Membership;
public field: GroupField;
public value: string;
}
// export const groupFieldValue... | agpl-3.0 |
cdparra/reminiscens-book | placebooks-webapp/src/placebooks/client/controllers/DelegateController.java | 1134 | package placebooks.client.controllers;
public abstract class DelegateController<T> extends ControllerBase<T> implements SimpleController<T>
{
protected final SimpleController<?> controller;
public DelegateController(final SimpleController<?> controller)
{
this.controller = controller;
}
@Override
public voi... | agpl-3.0 |
pombredanne/discern | ml_grading/mock_ml_grading.py | 485 | def grade(grader_data,student_response):
result_dict = {'errors': [],'tests': [],'score': 0, 'feedback' : "", 'success' : False, 'confidence' : 1}
return result_dict
def create(essay_text, scores, prompt):
result_dict = {'errors': [],'success' : False, 'cv_kappa' : 0, 'cv_mean_absolute_error': 0,
'fea... | agpl-3.0 |
shybyte/web-midi-patcher | src/effects/control-sequence-stepper.ts | 917 | import {MidiEvent} from '../midi-event';
import {MidiFilter} from '../midi-filter';
import {MidiOut} from '../midi-out';
import {Effect} from '../patch';
export interface ControlSequenceStepperProps {
trigger: MidiFilter;
resetFilter: MidiFilter;
outputPortName: string;
control: number,
values: number[];
}
... | agpl-3.0 |
bschiefer/sqlcoach | sqlcoach-persistence/src/main/java/de/sqlcoach/db/executionPlan/MaxDB.java | 2049 | /*******************************************************************************
* This file is part of SQLCoach.
*
* SQLCoach 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 ... | agpl-3.0 |
gw2efficiency/gw2-api.com | src/static/categories.js | 1358 | module.exports = {
Armor: [0, {
Boots: 0,
Coat: 1,
Gloves: 2,
Helm: 3,
HelmAquatic: 4,
Leggings: 5,
Shoulders: 6
}],
Back: [1],
Bag: [2],
Consumable: [3, {
AppearanceChange: 0,
Booze: 1,
ContractNpc: 2,
Food: 3,
Generic: 4,
Halloween: 5,
Immediate: 6,
... | agpl-3.0 |
lyoshenka/full-text-rss | admin/update.php | 11562 | <?php
// Update site config files for Full-Text RSS
// Author: Keyvan Minoukadeh
// Copyright (c) 2014 Keyvan Minoukadeh
// License: AGPLv3
// Date: 2013-05-02
// More info: http://fivefilters.org/content-only/
// Help: http://help.fivefilters.org
/*
This program is free software: you can redistribute it and/or modify... | agpl-3.0 |
splicemachine/spliceengine | splice_machine/src/main/java/com/splicemachine/derby/impl/sql/execute/operations/WindowOperation.java | 6449 | /*
* Copyright (c) 2012 - 2020 Splice Machine, Inc.
*
* This file is part of Splice Machine.
* Splice Machine is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either
* version 3, or (at your option) ... | agpl-3.0 |
stsouko/naivemapper | NaiveMapper/ValFix.py | 1955 | import time
class ValFix(object):
def getMap(self, s_graph, p_graph, _map, matrix, weights):
self.__time = time.perf_counter()
self.__cost, self.new_map = 0, dict()
twins = {x: set(m.loc[lambda m_row: abs(m_row - c) < .0000001].index.tolist())
for x, m, c in ((x, matrix[x]... | agpl-3.0 |
vimsvarcode/elmis | modules/odk-api/src/main/java/org/openlmis/odkapi/parser/ODKProofOfDeliveryXFormBuilder.java | 14540 | /*
* This program is part of the OpenLMIS logistics management information system platform software.
* Copyright © 2013 VillageReach
*
* 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 |
afshinnj/php-mvc | assets/framework/ckeditor/plugins/newpage/lang/lt.js | 231 | /*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'newpage', 'lt', {
toolbar: 'Naujas puslapis'
} );
| agpl-3.0 |
jpajuelo/wirecloud | src/wirecloud/platform/wiring/utils.py | 9474 | # -*- coding: utf-8 -*-
# Copyright (c) 2012-2016 CoNWeT Lab., Universidad Politécnica de Madrid
# This file is part of Wirecloud.
# Wirecloud 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 v... | agpl-3.0 |
opensourceBIM/BIMserver | PluginBase/generated/org/bimserver/models/ifc4/impl/IfcControllerImpl.java | 3610 | /**
* Copyright (C) 2009-2014 BIMserver.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 your option) any later version.
*
... | agpl-3.0 |
hwjworld/xiaodun-canvas | gems/lti_outbound/spec/spec_helper.rb | 960 | # This file was generated by the `rspec --init` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# Require this file using `require "spec_helper"` to ensure that it is only
# loaded once.
#
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
requi... | agpl-3.0 |
XGTeam/HoumaChuangYeDaSai | app/Presenters/OwnerPresenterTrait.php | 705 | <?php
/*
* This file is part of Bootstrap CMS.
*
* (c) Graham Campbell <graham@alt-three.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace GrahamCampbell\BootstrapCMS\Presenters;
/**
* This is the owner presenter t... | agpl-3.0 |
MiguelSMendoza/Kunagi | WEB-INF/classes/ilarkesto/mda/legacy/model/CompositeModel.java | 1061 | /*
* Copyright 2011 Witoslaw Koczewsi <wi@koczewski.de>, Artjom Kochtchi
*
* 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 l... | agpl-3.0 |
madhuni/AstroBox | src/astroprint/static/js/app/views/home.js | 1402 | /*
Commenting the below initialization code as we are not using the Uploading feature in new UI
*/
var HomeView = Backbone.View.extend({
el: '#home-view',
uploadBtn: null,
events: {
'show': 'onShow',
'click .new-release a.check': 'onReleaseInfoClicked',
'click .new-release a.close': 'onCloseReleaseI... | agpl-3.0 |
Micah-S/hidden-ms | src/src/net/sf/odinms/provider/MapleData.java | 357 | package net.sf.odinms.provider;
import java.util.List;
import net.sf.odinms.provider.wz.MapleDataType;
public interface MapleData extends MapleDataEntity, Iterable<MapleData> {
public String getName();
public MapleDataType getType();
public List<MapleData> getChildren();
public MapleData getChildByPath(Strin... | agpl-3.0 |
RestComm/jss7 | map/map-impl/src/test/java/org/restcomm/protocols/ss7/map/service/mobility/subscriberInformation/CallWaitingDataTest.java | 3236 | package org.restcomm.protocols.ss7.map.service.mobility.subscriberInformation;
import org.mobicents.protocols.asn.AsnInputStream;
import org.mobicents.protocols.asn.AsnOutputStream;
import org.mobicents.protocols.asn.Tag;
import org.restcomm.protocols.ss7.map.api.service.mobility.subscriberInformation.ExtCwFeature;
im... | agpl-3.0 |