code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 4 991 | language stringclasses 9
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
/* This file is part of VoltDB.
* Copyright (C) 2008-2013 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... | kobronson/cs-voltdb | src/frontend/org/voltdb/plannodes/SchemaColumn.java | Java | agpl-3.0 | 8,242 |
/**
* 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.
*
* This ... | shenan4321/BIMplatform | generated/cn/dlb/bim/models/store/DoubleType.java | Java | agpl-3.0 | 1,970 |
package placebooks.client.parser;
import com.google.gwt.core.client.JsonUtils;
public abstract class EnumParser<T extends Enum<?>> implements JSONParser<Enum<?>>
{
@Override
public void write(final StringBuilder builder, final Enum<?> object)
{
builder.append(JsonUtils.escapeValue(object.toString()));
}
} | cdparra/reminiscens-book | placebooks-webapp/src/placebooks/client/parser/EnumParser.java | Java | agpl-3.0 | 314 |
/*
This file is part of Ingen.
Copyright 2007-2016 David Robillard <http://drobilla.net/>
Ingen 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 any later versi... | drobilla/ingen | src/Log.cpp | C++ | agpl-3.0 | 3,977 |
"""
Views for contract feature
"""
import logging
from edxmako.shortcuts import render_to_response
from django.contrib.auth.models import User
from django.contrib.auth import authenticate, login
from django.shortcuts import redirect
from django.core.urlresolvers import reverse
from biz.djangoapps.ga_manager.models impo... | nttks/edx-platform | biz/djangoapps/gx_login/views.py | Python | agpl-3.0 | 3,215 |
<?php
// created: 2015-04-10 14:10:28
$mod_strings = array (
'LBL_LEADS' => 'Sellers',
'LBL_ACCOUNTS_SUBPANEL_TITLE' => 'Buyers',
'LBL_AOS_PRODUCTS_DOCUMENTS_2_FROM_AOS_PRODUCTS_TITLE' => 'Properties Information',
'LBL_DOC_ACTIVE_DATE' => 'Document Dated',
'LBL_TEMPLATE_TYPE' => 'Template Type',
); | shoaib-fazal16/yourown | custom/modules/Documents/language/en_us.lang.php | PHP | agpl-3.0 | 309 |
/**
* Copyright (c) 2000-present Liferay, Inc. 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 option)
* any la... | hltn/opencps | portlets/opencps-portlet/docroot/WEB-INF/service/org/opencps/dossiermgt/service/persistence/ServiceConfigActionableDynamicQuery.java | Java | agpl-3.0 | 1,346 |
# This file is part of VoltDB.
# Copyright (C) 2008-2018 VoltDB Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, c... | simonzhangsm/voltdb | tools/voter.d/voter.py | Python | agpl-3.0 | 2,792 |
'use strict';
describe('itemListService', function() {
beforeEach(module('superdesk.mocks'));
beforeEach(module('superdesk.templates-cache'));
beforeEach(module('superdesk.itemList'));
beforeEach(module(function($provide) {
$provide.service('api', function($q) {
return function ApiS... | plamut/superdesk | client/app/scripts/superdesk/itemList/itemList_spec.js | JavaScript | agpl-3.0 | 8,544 |
/**
* The Seeks proxy and plugin framework are part of the SEEKS project.
* Copyright (C) 2009 Emmanuel Benazera, juban@free.fr
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, eit... | Psycojoker/seeks | src/plugins/websearch/clustering.cpp | C++ | agpl-3.0 | 8,174 |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace Merp.Accountancy.Drafts.Model
{
[ComplexType]
public class PartyInfo
{
public Guid OriginalId { get; set; }
//[Index... | mastreeno/Merp | src/Merp.Accountancy.Drafts/Model/PartyInfo.cs | C# | agpl-3.0 | 687 |
package com.x.message.assemble.communicate.jaxrs.connector;
import com.x.base.core.project.exception.PromptException;
class ExceptionZhengwuDingdingMessage extends PromptException {
private static final long serialVersionUID = 4132300948670472899L;
ExceptionZhengwuDingdingMessage(Integer retCode, String retMessag... | o2oa/o2oa | o2server/x_message_assemble_communicate/src/main/java/com/x/message/assemble/communicate/jaxrs/connector/ExceptionZhengwuDingdingMessage.java | Java | agpl-3.0 | 427 |
package org.neo4j.extensions.spring.indexes;
import java.util.Map;
/**
* UserIndex indexed properties.
*
*
* @author bradnussbaum
* @version 0.1.0
*
* @since 0.1.0
*
*/
public enum UserIndex {
lastModifiedTime(IndexType.user_exact),
email(IndexType.user_fulltext),
name(IndexType.user_fullt... | objectundefined/neo4j-extensions | neo4j-extensions-spring/src/main/java/org/neo4j/extensions/spring/indexes/UserIndex.java | Java | agpl-3.0 | 632 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of th... | WhiteLabelReady/WhiteLabelTransfer | library/Zend/Gdata/Health/ProfileEntry.php | PHP | agpl-3.0 | 4,260 |
<?php
/*-------------------------------------------------------+
| SYSTOPIA Donation Receipts Extension |
| Copyright (C) 2013-2019 SYSTOPIA |
| Author: N. Bochan |
| B. Endres |
| http://www.systop... | systopia/de.systopia.donrec | CRM/Donrec/Lang/De/Xx.php | PHP | agpl-3.0 | 7,174 |
var status = 0;
var minlvl = 100;
var maxlvl = 255;
var minplayers = 1;
var maxplayers = 6;
var time = 15;
var open = true;
function start() {
status = -1; // and when they click lets fight make it turn to a really cool ifght song :D LOL ok like the Zakum battle song? kk and btw uhm can you add a message ... | ZenityMS/forgottenstorysource | scripts/npc/2102000.js | JavaScript | agpl-3.0 | 3,619 |
package scrum.server.files;
import ilarkesto.io.IO;
import scrum.server.admin.User;
public class File extends GFile {
// --- dependencies ---
// --- ---
public void deleteFile() {
IO.delete(getJavaFile());
}
public java.io.File getJavaFile() {
return new java.io.File(getProject().getFileRepositoryPath() ... | hogi/kunagi | src/main/java/scrum/server/files/File.java | Java | agpl-3.0 | 989 |
/**
* @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'uploadwidget', 'ja', {
abort: 'アップロードを中止しました。',
doneOne: 'ファイルのアップロードに成功しました。',
doneMany: '%1個のファイルのアップロードに成功... | astrobin/astrobin | astrobin/static/astrobin/ckeditor/plugins/uploadwidget/lang/ja.js | JavaScript | agpl-3.0 | 624 |
/*
This file is part of the Juju GUI, which lets users view and manage Juju
environments within a graphical interface (https://launchpad.net/juju-gui).
Copyright (C) 2012-2013 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... | jrwren/juju-gui | app/views/notifications.js | JavaScript | agpl-3.0 | 7,674 |
# -*- coding: utf-8 -*-
##############################################################################
# For copyright and license notices, see __openerp__.py file in module root
# directory
##############################################################################
from openerp import fields, models, api, _
from op... | adrianpaesani/odoo-argentina | l10n_ar_invoice/models/afip.py | Python | agpl-3.0 | 6,822 |
<?php
/*
* e-additives.server RESTful API
* Copyright (C) 2013 VEXELON.NET Services
*
* 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... | vexelon-dot-net/e-additives.server | src/Eadditives/MyRequest.php | PHP | agpl-3.0 | 6,416 |
/*
* Copyright (c) 2011, Aperis GmbH <agplsources@aperis.com>
* Autor: Achim 'ahzf' Friedland <code@ahzf.de>
* This file is part of CanonDSLR
*
* Licensed under the Affero GPL license, Version 3.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the... | nareenb/CanonDSLR.NET | CanonDSLR/Commands/CameraState.cs | C# | agpl-3.0 | 977 |
"""Add is_loud and pronouns columns to PanelApplicant
Revision ID: bba880ef5bbd
Revises: 8f8419ebcf27
Create Date: 2019-07-20 02:57:17.794469
"""
# revision identifiers, used by Alembic.
revision = 'bba880ef5bbd'
down_revision = '8f8419ebcf27'
branch_labels = None
depends_on = None
from alembic import op
import sq... | magfest/ubersystem | alembic/versions/bba880ef5bbd_add_is_loud_and_pronouns_columns_to_.py | Python | agpl-3.0 | 2,103 |
/**
* Copyright (C) 2016 The Language Archive, Max Planck Institute for Psycholinguistics
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your o... | TheLanguageArchive/Arbil | arbil-commons/src/main/java/nl/mpi/arbil/userstorage/CommonsSessionStorage.java | Java | agpl-3.0 | 10,338 |
//
// Aurio: Audio Processing, Analysis and Retrieval Library
// Copyright (C) 2010-2017 Mario Guggenberger <mg@protyposis.net>
//
// 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 Foundat... | protyposis/Aurio | Aurio/Aurio/VolumeUtil.cs | C# | agpl-3.0 | 3,045 |
/*
* SPDX-FileCopyrightText: 2006-2009 Dirk Riehle <dirk@riehle.org> https://dirkriehle.com
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package org.wahlzeit.servlets;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
/**
* A null servlet.
*/
public class NullServlet extends AbstractSe... | dirkriehle/wahlzeit | src/main/java/org/wahlzeit/servlets/NullServlet.java | Java | agpl-3.0 | 786 |
def keysetter(key):
if not isinstance(key, str):
raise TypeError('key name must be a string')
resolve = key.split('.')
head, last = tuple(resolve[:-1]), resolve[-1]
def g(obj,value):
for key in head :
obj = obj[key]
obj[last] = value
return g
def keygetter(key... | aureooms/sak | lib/nice/operator.py | Python | agpl-3.0 | 554 |
<?php /* Smarty version 2.6.11, created on 2012-05-02 15:43:38
compiled from include/SugarFields/Fields/Phone/DetailView.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'sugarvar', 'include/SugarFields/Fields/Phone/Det... | jmertic/sugarplatformdemo | cache/smarty/templates_c/%%FA^FA9^FA9EA62F%%DetailView.tpl.php | PHP | agpl-3.0 | 3,047 |
/*
* 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... | aborg0/rapidminer-vega | src/com/rapidminer/gui/flow/ProcessPanel.java | Java | agpl-3.0 | 6,427 |
'use strict';
const async = require('async');
const mongoose = require('mongoose');
const UserNotification = mongoose.model('Usernotification');
const DEFAULT_LIMIT = 50;
const DEFAULT_OFFSET = 0;
module.exports = {
countForUser,
create,
get,
getAll,
getForUser,
remove,
setAcknowledged,
setAllRead,
... | heroandtn3/openpaas-esn | backend/core/notification/usernotification.js | JavaScript | agpl-3.0 | 2,510 |
<?php
/**
* @deprecated (will be removed in 4.0)
*/
class form_BlockFormOldDummyView extends block_BlockView
{
/**
* @param block_BlockContext $context
* @param block_BlockRequest $request
*/
public function execute($context, $request)
{
$this->setTemplateName('Form-Dummy');
$form = $this->getP... | RBSChange/modules.compatibilityos | lib/form/lib/blocks/BlockFormOldDummyView.class.php | PHP | agpl-3.0 | 383 |
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import api, fields, models
class EventType(models.Model):
_inherit = "event.type"
community_menu = fields.Boolean(
"Community Menu", compute="_compute_community_menu",
readonly=False,... | ygol/odoo | addons/website_event_track_online/models/event_type.py | Python | agpl-3.0 | 551 |
'use strict';
angular.module('hopsWorksApp')
.controller('DatasetsCtrl', ['$scope', '$q', '$mdSidenav', '$mdUtil', '$log',
'DataSetService', 'JupyterService', '$routeParams', '$route', 'ModalService', 'growl', '$location',
'MetadataHelperService', '$rootScope', 'DelaProjectService', 'DelaCl... | FilotasSiskos/hopsworks | hopsworks-web/yo/app/scripts/controllers/datasetsCtrl.js | JavaScript | agpl-3.0 | 46,695 |
<?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 - 2018 SalesAgility Ltd.
*
* This program is f... | willrennie/SuiteCRM | modules/UpgradeWizard/uw_files.php | PHP | agpl-3.0 | 4,610 |
/**
* Copyright (C) 2000 - 2012 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spe... | NicolasEYSSERIC/Silverpeas-Core | ejb-core/formtemplate/src/main/java/com/silverpeas/workflow/api/TimeoutManager.java | Java | agpl-3.0 | 1,384 |
# frozen_string_literal: true
require "rails_helper"
describe PagesController, type: :controller do
describe "#index", type: :controller do
before do
get :index
end
it { is_expected.to respond_with(200) }
it { is_expected.to render_template(:index) }
end
end
| tristandunn/miroha | spec/controllers/pages_controller_spec.rb | Ruby | agpl-3.0 | 288 |
/**
* Carousel controller
*
* @author Hein Bekker <hein@netbek.co.za>
* @copyright (c) 2015 Hein Bekker
* @license http://www.gnu.org/licenses/agpl-3.0.txt AGPLv3
*/
(function (window, angular, undefined) {
'use strict';
angular
.module('nb.carousel')
.controller('nbCarouselController', nbCarouselControll... | netbek/nb-carousel | src/js/nb-carousel.controller.js | JavaScript | agpl-3.0 | 8,617 |
/**
* Copyright (C) 2001-2017 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by ... | boob-sbcm/3838438 | src/main/java/com/rapidminer/repository/gui/actions/PasteEntryRepositoryAction.java | Java | agpl-3.0 | 1,862 |
import subprocess
def release():
subprocess.call(["python3", "setup.py", "sdist", "upload"])
| aureooms/sak | sak/pip3.py | Python | agpl-3.0 | 100 |
/*
* EditPresentationSourceEvent.java
*
* Copyright (C) 2020 by RStudio, PBC
*
* 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 Pub... | JanMarvin/rstudio | src/gwt/src/org/rstudio/studio/client/workbench/views/source/events/EditPresentationSourceEvent.java | Java | agpl-3.0 | 1,714 |
/*
* 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... | jerolba/torodb | engine/mongodb/repl/src/main/java/com/torodb/mongodb/repl/topology/TopologyGuiceModule.java | Java | agpl-3.0 | 2,693 |
<?php
/*
------------------------------------------------------------------------
FusionInventory
Copyright (C) 2010-2016 by the FusionInventory Development Team.
http://www.fusioninventory.org/ http://forge.fusioninventory.org/
------------------------------------------------------------------------... | orthagh/fusioninventory-for-glpi | inc/taskjoblog.class.php | PHP | agpl-3.0 | 41,270 |
/*
* This file is part of Splice Machine.
* Splice Machine is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either
* version 3, or (at your option) any later version.
* Splice Machine is distributed i... | splicemachine/spliceengine | db-engine/src/main/java/com/splicemachine/db/iapi/sql/compile/RequiredRowOrdering.java | Java | agpl-3.0 | 5,820 |
package realtime
import (
"context"
"fmt"
"net/http"
"strings"
"time"
"github.com/cozy/cozy-stack/model/instance"
"github.com/cozy/cozy-stack/model/permission"
"github.com/cozy/cozy-stack/model/vfs"
"github.com/cozy/cozy-stack/pkg/consts"
"github.com/cozy/cozy-stack/pkg/couchdb"
"github.com/cozy/cozy-stack... | nono/cozy-stack | web/realtime/realtime.go | GO | agpl-3.0 | 8,794 |
<?php
namespace Melisa\core;
class Messages
{
public function __construct() {
log_message('debug', __CLASS__ . ' Class Initialized');
}
public function add(&$input) {
$message = array_default($input, [
'type'=>'error',
'line'=>FA... | melisamx/melisa-kernel | third_party/melisa-kernel/release/libraries/Melisa/core/Messages.php | PHP | agpl-3.0 | 2,453 |
package org.kuali.kra.negotiations.lookup;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import org.kuali.coeus.common.framework.custom.attr.CustomAttribute;
import ... | ColostateResearchServices/kc | coeus-impl/src/main/java/org/kuali/kra/negotiations/lookup/IUNegotiationLookupableHelperServiceImpl.java | Java | agpl-3.0 | 19,905 |
using System;
using System.Windows.Threading;
namespace Sedentary.Framework
{
public static class TimerFactory
{
public static DispatcherTimer StartTimer(TimeSpan interval, Action tick)
{
var timer = new DispatcherTimer {Interval = interval};
timer.Tick += (sender, args) => tick();
timer.Start();
re... | BorysLevytskyi/Sedentary | Sedentary/Framework/TimerFactory.cs | C# | agpl-3.0 | 342 |
package com.sapienter.jbilling.client.jspc.user;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import com.sapienter.jbilling.client.util.Constants;;
public final class listSubAccountsTop_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSo... | othmanelmoulat/jbilling-2.2-Extentions | src/build/jsp-classes/com/sapienter/jbilling/client/jspc/user/listSubAccountsTop_jsp.java | Java | agpl-3.0 | 16,631 |
Meteor.publish('card-vocoder-vocoders',function(simulatorId){
return Flint.collection('vocoders').find({simulatorId:simulatorId});
});
| infinitedg/flint | packages/card-vocoder/publish.js | JavaScript | agpl-3.0 | 136 |
/*
* Aphelion
* Copyright (c) 2013 Joris van der Wel
*
* This file is part of Aphelion
*
* Aphelion 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.
*
* Aphelion i... | Periapsis/aphelion | src/main/java/aphelion/shared/event/promise/PromiseRejected.java | Java | agpl-3.0 | 2,044 |
import React from "react";
import basicComponent from "core/basicComponent";
import Radium from "radium";
import ReactAplayer from "react-aplayer";
import mergeAdvanced from "object-merge-advanced";
class audioPlayer extends basicComponent {
constructor(props) {
super(props);
if (!this.isRestored) {
thi... | project-jste/framework | src/JS/components/audioPlayer.js | JavaScript | agpl-3.0 | 1,207 |
package com.tesora.dve.sql.statement;
/*
* #%L
* Tesora Inc.
* Database Virtualization Engine
* %%
* Copyright (C) 2011 - 2014 Tesora Inc.
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the... | Tesora/tesora-dve-pub | tesora-dve-core/src/main/java/com/tesora/dve/sql/statement/CacheableStatement.java | Java | agpl-3.0 | 1,022 |
import { expect, fixture, fixtureCleanup, fixtureSync } from '@open-wc/testing';
import sinon from 'sinon';
import volumesProvider from '../../../../src/BookNavigator/volumes/volumes-provider';
const brOptions = {
"options": {
"enableMultipleBooks": true,
"multipleBooksList": {
"by_subprefix": {
... | internetarchive/bookreader | tests/karma/BookNavigator/volumes/volumes-provider.test.js | JavaScript | agpl-3.0 | 6,945 |
from . import BaseWordChoice
class WordPreference(BaseWordChoice):
def pick_w(self,m,voc,mem,context=[]):
if m in voc.get_known_meanings():
if m in list(mem['prefered words'].keys()):
w = mem['prefered words'][m]
if w not in voc.get_known_words(m=m):
w = voc.get_random_known_w(m=m)
else:
w =... | flowersteam/naminggamesal | naminggamesal/ngstrat/word_choice/word_preference.py | Python | agpl-3.0 | 997 |
describe('Service: can', function () {
var api
beforeEach(angular.mock.inject(function (can) {
api = can
}))
describe('.can()', function () {
it('returns true when the resource includes a method', function () {
var project = {
'_links': {
repositories: {
update: 'PUT'... | harrowio/harrow | frontend/test/spec/service/can_test.js | JavaScript | agpl-3.0 | 779 |
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by ... | aborg0/rapidminer-studio | src/main/java/com/rapidminer/gui/viewer/ConfusionMatrixViewer.java | Java | agpl-3.0 | 7,016 |
package android.support.v7.a;
final class ad implements Runnable {
final /* synthetic */ ac a;
ad(ac acVar) {
this.a = acVar;
}
public final void run() {
if ((this.a.I & 1) != 0) {
ac.a(this.a, 0);
}
if ((this.a.I & 4096) != 0) {
ac.a(this.a, 10... | WenbinHou/PKUAutoGateway.Android | Reference/IPGWAndroid/android/support/v7/a/ad.java | Java | agpl-3.0 | 390 |
/**
* 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.
*
* This ... | shenan4321/BIMplatform | generated/cn/dlb/bim/models/ifc4/impl/IfcSlabTypeImpl.java | Java | agpl-3.0 | 2,127 |
/*
* Copyright 2015 Westfälische Hochschule
*
* This file is part of Poodle.
*
* Poodle 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... | whs-poodle/poodle | src/main/resources/static/js/instructor/exercise.js | JavaScript | agpl-3.0 | 7,646 |
/*##############################################################################
Copyright (C) 2011 HPCC Systems.
All rights reserved. This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foun... | RussWhitehead/HPCC-Platform | esp/services/WsDeploy/WsDeployService.hpp | C++ | agpl-3.0 | 35,325 |
<?php
/**
* StatusNet, the distributed open-source microblogging tool
*
* User profile page
*
* PHP version 5
*
* LICENCE: 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 ve... | fuzzy31u/mt-clone-app | actions/showstream.php | PHP | agpl-3.0 | 15,044 |
module PreferenceSections
class FooterAndExternalLinksSection
def name
I18n.t('admin.contents.edit.footer_and_external_links')
end
def preferences
[
:footer_logo,
:footer_facebook_url,
:footer_twitter_url,
:footer_instagram_url,
:footer_linkedin_url,
... | lin-d-hop/openfoodnetwork | app/models/preference_sections/footer_and_external_links_section.rb | Ruby | agpl-3.0 | 512 |
/**
* Copyright by Michael Weiss, weiss.michael@gmx.ch
* <p>
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS B... | spectrumauctions/sats-core | src/main/java/org/spectrumauctions/sats/core/util/random/UniformJavaUtilRandomWrapper.java | Java | agpl-3.0 | 2,952 |
#
# In development mode, rails is very aggressive about unloading and reloading
# classes as needed. Unfortunately, for crabgrass page types, rails always gets
# it wrong. To get around this, we create static proxy representation of the
# classes of each page type and load the actually class only when we have to.
#
mo... | elijh/crabgrass-core | lib/crabgrass/page/class_proxy.rb | Ruby | agpl-3.0 | 2,690 |
<?php
/**
* Custom Achievement Rules
*
* @package BadgeOS LearnDash
* @subpackage Achievements
* @author Credly, LLC
* @license http://www.gnu.org/licenses/agpl.txt GNU AGPL v3.0
* @link https://credly.com
*/
/**
* Load up our LearnDash triggers so we can add actions to them
*
* @since 1.0.0
*/
function ba... | bethadele/BadgeOS-LearnDash-Add-on | includes/rules-engine.php | PHP | agpl-3.0 | 7,065 |
<?php
namespace spec\TH\OAuth2;
use PhpSpec\ObjectBehavior;
use Symfony\Component\HttpFoundation\Request;
class OAuth2EntryPointSpec extends ObjectBehavior
{
public function let()
{
$this->beConstructedWith('AppName');
}
public function it_is_initializable()
{
$this->shouldHaveTy... | texthtml/oauth2-provider | spec/OAuth2EntryPointSpec.php | PHP | agpl-3.0 | 808 |
<?php
// Return array of langs
return array(
'username' => 'Brugernavn',
'password' => 'Adgangskode',
'password again' => 'Gentag adgangskode',
'old password' => 'Tidligere adgangskode',
'remember me' => 'Husk brugernavn/adgangskode i 14 dage',
'email address' => 'Email adresse',
'di... | bbguitar/ProjectPier | language/da_dk/general.php | PHP | agpl-3.0 | 3,553 |
<?php
/**
* @copyright 2017-2020 City of Bloomington, Indiana
* @license http://www.gnu.org/licenses/agpl.txt GNU/AGPL, see LICENSE
*/
declare (strict_types=1);
namespace Application\Models\Legislation;
use Web\ActiveRecord;
use Web\Database;
class Status extends ActiveRecord
{
protected $tablename = 'legislat... | City-of-Bloomington/civic-legislation | src/Application/Models/Legislation/Status.php | PHP | agpl-3.0 | 2,098 |
/*********************************************************************************
* 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... | ungerik/ephesoft | Ephesoft_Community_Release_4.0.2.0/source/gxt/gxt-review-validate/src/main/java/com/ephesoft/gxt/rv/client/event/DocumentSplitStartEvent.java | Java | agpl-3.0 | 3,107 |
/*
*
* Copyright 2015 Telefonica Investigacion y Desarrollo, S.A.U
*
* This file is part of Orion Context Broker.
*
* Orion Context Broker 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 ... | McMutton/fiware-orion | test/unittests/orionTypes/QueryContextRequestVector_test.cpp | C++ | agpl-3.0 | 1,469 |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'link', 'cs', {
acccessKey: 'Přístupový klíč',
advanced: 'Rozšířené',
advisoryContentType: 'Pomocný typ obsahu',
advisoryTitle: 'Pomocný t... | afshinnj/php-mvc | assets/framework/ckeditor/plugins/link/lang/cs.js | JavaScript | agpl-3.0 | 2,156 |
package com.simplyian.superplots;
import java.util.logging.Level;
import net.milkbowl.vault.economy.Economy;
import org.bukkit.plugin.RegisteredServiceProvider;
public class EconHook {
private final SuperPlotsPlugin main;
private Economy economy = null;
public EconHook(SuperPlotsPlugin main) {
... | simplyianm/SuperPlots | src/main/java/com/simplyian/superplots/EconHook.java | Java | agpl-3.0 | 1,693 |
package org.kareha.hareka.server.game.item;
import org.kareha.hareka.field.TileType;
import org.kareha.hareka.game.ItemType;
import org.kareha.hareka.server.game.entity.CharacterEntity;
import org.kareha.hareka.server.game.entity.FieldEntity;
import org.kareha.hareka.server.game.entity.ItemEntity;
import org.kareha.ha... | tyatsumi/hareka | server/src/main/java/org/kareha/hareka/server/game/item/NoticeItem.java | Java | agpl-3.0 | 1,439 |
<?php
/**
* Inherited Methods
* @method void wantToTest($text)
* @method void wantTo($text)
* @method void execute($callable)
* @method void expectTo($prediction)
* @method void expect($prediction)
* @method void amGoingTo($argumentation)
* @method void am($role)
* @method void lookForwardTo($achieveValue)
*... | GreenMeteor/humhub-discordapp-module | tests/_support/UnitTester.php | PHP | agpl-3.0 | 548 |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('maposmatic', '0004_maprenderingjob_track'),
]
operations = [
migrations.AlterField(
model_name='maprenderingjob'... | hholzgra/maposmatic | www/maposmatic/migrations/0005_auto_20170521_0103.py | Python | agpl-3.0 | 453 |
<?php
if (! defined ( 'sugarEntry' ) || ! sugarEntry)
die ( 'Not A Valid Entry Point' ) ;
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
*
* This pro... | yinhm/sugarcrm | modules/ModuleBuilder/views/view.layoutview.php | PHP | agpl-3.0 | 11,446 |
package com.google.gson;
public enum LongSerializationPolicy {
DEFAULT {
public final JsonElement serialize(Long l) {
return new JsonPrimitive((Number) l);
}
},
STRING {
public final JsonElement serialize(Long l) {
return new JsonPrimitive(String.valueOf(l));... | WenbinHou/PKUAutoGateway.Android | Reference/IPGWAndroid/com/google/gson/LongSerializationPolicy.java | Java | agpl-3.0 | 392 |
/*
ListJS 1.1.1 (www.listjs.com)
License (MIT)
Copyright (c) 2012 Jonny Strömberg <jonny.stromberg@gmail.com> http://jonnystromberg.com
*/
;(function(){
/**
* Require the given path.
*
* @param {String} path
* @return {Object} exports
* @api public
*/
function require(path, parent, orig) {
var resolved = requ... | studentenportal/web | apps/front/static/js/list.js | JavaScript | agpl-3.0 | 40,148 |
app.controller('LeadStatusEditCtrl', ['$scope', 'Auth', 'Leadstatus', function ($scope, Auth, Leadstatus) {
$("ul.page-sidebar-menu li").removeClass("active");
$("#id_LeadStatus").addClass("active");
$scope.isSignedIn = false;
$scope.immediateFailed = false;
$scope.nbLoads = 0;
$scope.isLoading ... | ioGrow/iogrowCRM | static/app/scripts/controllers/admin/LeadStatusEditController.js | JavaScript | agpl-3.0 | 3,220 |
import { Component, Inject } from '@angular/core';
import { FormControl, FormGroup, Validators } from '@angular/forms';
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
import { BehaviorSubject } from 'rxjs';
import { Gap, PlaybackRange } from '../client';
import { YamcsService } from '../core/... | m-sc/yamcs | yamcs-web/src/main/webapp/src/app/gaps/RequestPlaybackDialog.ts | TypeScript | agpl-3.0 | 2,209 |
package de.hub.cses.ces.jsf.bean.game.play;
/*
* #%L
* CES-Game
* %%
* Copyright (C) 2015 Humboldt-Universität zu Berlin,
* Department of Computer Science,
* Research Group "Computer Science Education / Computer Science and Society"
* Sebastian Gross <sebastian.gross@hu-berlin.de>
* Sven Strickroth <sven.stric... | sozialemedienprojekt/ces-game | src/main/java/de/hub/cses/ces/jsf/bean/game/play/ProductionPanel.java | Java | agpl-3.0 | 3,632 |
import React, { createRef, useState } from 'react';
import { css } from '@emotion/css';
import { Button, ButtonGroup, useStyles2 } from '@grafana/ui';
import { GrafanaTheme2 } from '@grafana/data';
import { FocusScope } from '@react-aria/focus';
import { useDialog } from '@react-aria/dialog';
import { useOverlay } from... | grafana/grafana | public/app/features/dimensions/editors/ResourcePickerPopover.tsx | TypeScript | agpl-3.0 | 4,688 |
import React from 'react';
import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer';
import Events from 'parser/core/Events';
import calculateEffectiveDamage from 'parser/core/calculateEffectiveDamage';
import SPELLS from 'common/SPELLS';
import { formatThousands } from 'common/format';
import STATISTIC_CATEG... | yajinni/WoWAnalyzer | analysis/warlockdemonology/src/modules/talents/SacrificedSouls.js | JavaScript | agpl-3.0 | 4,211 |
package astutil
import (
"go/ast"
"github.com/juju/errors"
)
// SameIdent returns true if a and b are the same.
func SameIdent(a, b *ast.Ident) bool {
// TODO(waigani) Don't rely on name, it could change and still be the same
// ident.
if a.String() != b.String() {
return false
}
// TODO(waigani) this happ... | lingo-reviews/tenets | go/dev/tenet/astutil/ident.go | GO | agpl-3.0 | 4,924 |
<?php
/**
* Model for ParcellaireIrrigueDeclaration
*
*/
class ParcellaireIrrigueDeclaration extends BaseParcellaireIrrigueDeclaration {
public function getParcellesByCommune() {
$parcelles = array();
foreach($this->getParcelles() as $parcelle) {
if(!isset($parcelles[$parcelle->com... | 24eme/AVA | project/plugins/acVinParcellaireIrriguePlugin/lib/model/ParcellaireIrrigue/ParcellaireIrrigueDeclaration.class.php | PHP | agpl-3.0 | 832 |
// SIMPLETZ.H
// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
Copyright (C) 1997-2013, International Business Machines Corporation and others. All Rights Reserved.
* Modification History:
* Date Name Description
* 12/05/96 clhu... | papyrussolution/OpenPapyrus | Src/OSF/icu/icu4c/source/i18n/simpletz.cpp | C++ | agpl-3.0 | 40,478 |
<?php
/**
* uiSelectionState maintains a selection of items between requests.
*
* @package UiParts
* @author Fabrice Denis
*/
class uiSelectionState
{
protected static
$user = null;
protected
$items = array();
public function __construct()
{
$this->items = array();
}
pu... | kc5nra/RevTK | lib/uiparts/uiSelectionState.php | PHP | agpl-3.0 | 3,446 |
# -*- coding: utf-8 -*-
# Copyright (C) 2010 Eduardo Robles Elvira <edulix AT gmail DOT 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 yo... | miaerbus/timebank | user/models.py | Python | agpl-3.0 | 4,968 |
#!/usr/bin/env ruby
# Brightbox - Statistics class loader
# Copyright (c) 2011, Brightbox Systems
# Author: Neil Wilson
require 'yaml'
module DomtrixStats
%w(
triggerable
domain_info_decoder
stats_processor
domain_info
interface_info
uptime_info
inet_info
).each do |file|
autoloa... | NeilW/domtrix | lib/domtrix_stats.rb | Ruby | agpl-3.0 | 436 |
MarkItNow::Application.routes.draw do
root to: 'page#index', as: :index
get 'search' => 'page#search'
get 'image' => 'page#image'
get 'read/:id' => 'page#read', as: :read
get 'text/:id' => 'page#text', as: :text
get 'info/:id' => 'page#info'
get 'aozora/:id' => 'page#aozora', as: :aozora
get 'save_recen... | ssig33/Mark-It-now | config/routes.rb | Ruby | agpl-3.0 | 668 |
class SongPolicy < ApplicationPolicy
def create?
user.church_admin? || user.admin?
end
def update?
user.admin?
end
end | jcuenod/songswesing | app/policies/song_policy.rb | Ruby | agpl-3.0 | 135 |
<?php
return array(
'edit' => 'تعديل',
'delete' => 'حذف',
'restore' => 'إستعادة',
'actions' => 'الإجراءات',
'submit' => 'إرسال',
);
| supriyap-webonise/snipeit | app/lang/ar/button.php | PHP | agpl-3.0 | 189 |
##############################################################################
#
# 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 Public License as
# pub... | ingadhoc/product | product_management_group/__manifest__.py | Python | agpl-3.0 | 1,296 |
import * as Actions from './actions'
import * as Controls from './controls'
import Editor from './editor'
import Panel from './panel'
export {Actions}
export {Editor}
export {Panel}
export {Controls}
| ChuckDaniels87/pydio-core | core/src/plugins/meta.exif/res/js/index.js | JavaScript | agpl-3.0 | 201 |
class Author < ActiveRecord::Base
has_many :posts
has_many :posts_with_comments, :include => :comments, :class_name => "Post"
has_many :posts_with_categories, :include => :categories, :class_name => "Post"
has_many :posts_with_comments_and_categories, :include => [ :comments, :categories ], :order => "posts.id"... | Gitorious-backup/samgranieris-clone | vendor/rails/activerecord/test/models/author.rb | Ruby | agpl-3.0 | 5,235 |
<?php
/*-----8<--------------------------------------------------------------------
*
* BEdita - a semantic content management framework
*
* Copyright 2008 ChannelWeb Srl, Chialab Srl
*
* This file is part of BEdita: you can redistribute it and/or modify
* it under the terms of the Affero GNU General Public L... | danfreak/BEdita | bedita-app/models/behaviors/delete_object.php | PHP | agpl-3.0 | 5,395 |
<?php
return array(
'does_not_exist' => 'Categoría inexistente.',
'user_does_not_exist' => 'Usuario inexistente.',
'asset_does_not_exist' => 'El equipo que intentas asignar a esta licencia no existe.',
'owner_doesnt_match_asset' => 'El equipo al que estas intentando asignar esta licencia, está asigna... | thomas1216/snipe-it | app/lang/es-LATAM/admin/licenses/message.php | PHP | agpl-3.0 | 1,950 |
/**
* Copyright (C) 2000 - 2013 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spe... | CecileBONIN/Silverpeas-Components | scheduleevent/scheduleevent-war/src/main/java/com/silverpeas/scheduleevent/servlets/handlers/ScheduleEventAddOptionsNextRequestHandler.java | Java | agpl-3.0 | 1,773 |
/*
* This program was produced for the U.S. Agency for International Development. It was prepared by the USAID | DELIVER PROJECT, Task Order 4. It is part of a project which utilizes code originally licensed under the terms of the Mozilla Public License (MPL) v2 and therefore is licensed under MPL v2 or later.
*
... | vimsvarcode/elmis | modules/report/src/main/java/org/openlmis/report/model/params/StockImbalanceReportParam.java | Java | agpl-3.0 | 2,440 |
/**
*
*/
/*
* Cacheonix Systems licenses this file to You under the LGPL 2.1
* (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.cacheonix.org/products/cacheonix/license-lgpl-2.1.htm
*
* Unless required by applicable... | cacheonix/cacheonix-core | annotations/core/src/org/cacheonix/impl/transformer/ETransformationState.java | Java | lgpl-2.1 | 1,806 |