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
/***************************** BEGIN LICENSE BLOCK *************************** The contents of this file are subject to the Mozilla Public License Version 1.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.mozilla.org/MPL/MPL-1....
sensiasoft/lib-ows
ogc-services-sps/src/main/java/org/vast/ows/sps/ConfirmRequestWriterV20.java
Java
mpl-2.0
2,147
namespace WindowsFormsFlashControlLibrary { partial class UserControl1 { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposi...
liangsenzhi/WPF
1.22WPF嵌入FlashPlayer(VS2010)/WindowsFormsFlashControlLibrary/UserControl1.Designer.cs
C#
mpl-2.0
2,411
package fyp.hkust.facet.util; /** * Created by ClementNg on 2/4/2017. */ import android.graphics.Paint; import android.graphics.Typeface; import android.text.TextPaint; import android.text.style.TypefaceSpan; public class CustomTypeFaceSpan extends TypefaceSpan { private final Typeface newType; public Cus...
clementf2b/FaceT
app/src/main/java/fyp/hkust/facet/util/CustomTypeFaceSpan.java
Java
mpl-2.0
1,186
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Text; using Web.Units; using Models; namespace Web.Areas.BusinessManger.Controllers { public class FrameSetController : BusinessAreaBaseController { public ActionResult Login() ...
tst20170901/test2
Web/Areas/BusinessManger/Controllers/FrameSetController.cs
C#
mpl-2.0
3,389
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed With this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package output import "reflect" // S3Grantee ... type S3Grantee struct { ID string `json:"id"` Type ...
ernestio/aws-definition-mapper
output/s3.go
GO
mpl-2.0
1,797
(function (badges, $, undefined) { "use strict"; var options = {}, geocoder, map, marker; badges.options = function (o) { $.extend(options, o); }; badges.init = function () { initializeTypeahead(); initializeImagePreview(); $(".datepicker").datepicker(...
ucdavis/Badges
Badges/Scripts/public/modifyexperience.js
JavaScript
mpl-2.0
2,851
/* * Copyright © 2013-2021, The SeedStack authors <http://seedstack.org> * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package org.seedstack.business.domain...
seedstack/business
core/src/main/java/org/seedstack/business/domain/BaseRepository.java
Java
mpl-2.0
2,661
export default (collection, clickable, text) => () => { return collection('.consul-auth-method-list [data-test-list-row]', { authMethod: clickable('a'), name: text('[data-test-auth-method]'), displayName: text('[data-test-display-name]'), type: text('[data-test-type]'), }); };
hashicorp/consul
ui/packages/consul-ui/app/components/consul/auth-method/list/pageobject.js
JavaScript
mpl-2.0
298
'use strict'; require('should'); describe('index.html', () => { beforeEach(() => { browser.url('/'); // browser.localStorage('DELETE') does not work in PhantomJS browser.execute(function() { delete window.localStorage; window.localStorage = {}; }); browser.url('/'); $('#defaul...
chameleoid/telepathy-web
test/telepathy-web.js
JavaScript
mpl-2.0
1,829
class Attendance < ActiveRecord::Base belongs_to :student belongs_to :event validates_uniqueness_of :student_id, scope: :event_id validates_presence_of :student_id, :event_id YES = "Yes" NO = "No" MAYBE = "Maybe" def message case self.commitment_status when YES then "You signed up for #{event...
MozillaHive/HiveCHI-rwm
app/models/attendance.rb
Ruby
mpl-2.0
824
export const up = async function(db: any): Promise<any> { return db.runSql( ` CREATE TABLE streaks ( id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, client_id CHAR(36) NOT NULL, locale_id INT NOT NULL, started_at DATETIME, last_activity_at DATETIME, FOREI...
gozer/voice-web
server/src/lib/model/db/migrations/20190711074029-streaks-and-reached_goals.ts
TypeScript
mpl-2.0
1,087
<?php /** * Insert Class * * @author Mahsum UREBE <mahsumurebe@outlook.com> <github:mahsumurebe> * @file Insert.php * @copyright ©2017 Mahsum UREBE **/ namespace System\DB\QueryBuilder; use System\DB\QueryBuilder\Abstracts\TableAbstract; /** ...
mahsumurebe/QueryBuilder
QueryBuilder/Insert.php
PHP
mpl-2.0
5,264
#!/usr/bin/env python3 # # Copyright (C) 2017-2020 EOS di Manlio Morini. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/ # # A python program that helps to set up ...
morinim/vita
src/setversion.py
Python
mpl-2.0
2,950
"use strict"; var myTable = require("../data/myTables.json"); // Dictionaries to modify/extend the original dictionaries var devanagari_dict_mod = {}; var telugu_dict_mod = {}; var kannada_dict_mod = {}; var gujarati_dict_mod = {}; var tamil_dict_mod = {}; var bengali_dict_mod = {}; var gurmukhi_dict...
mohancloudworld/Parivartan
src/lib/myModule.js
JavaScript
mpl-2.0
18,889
#include "plastiqmethod.h" #include "plastiqqcolormap.h" #include <QColormap> #include <QColor> QHash<QByteArray, PlastiQMethod> PlastiQQColormap::plastiqConstructors = { { "QColormap(QColormap&)", { "QColormap", "QColormap&", "QColormap*", 0, PlastiQMethod::Public, PlastiQMethod::Constructor } }, }; QHash<QBy...
ArtMares/PQStudio
Builder/plastiq/include/widgets/PlastiQQColormap/plastiqqcolormap.cpp
C++
mpl-2.0
5,448
/* * !++ * QDS - Quick Data Signalling Library * !- * Copyright (C) 2002 - 2021 Devexperts LLC * !- * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. * If a copy of the MPL was not distributed with this file, You can obtain one at * http://mozilla.org/MPL/2.0/. * !__ */ pa...
Devexperts/QD
dxlib/src/main/java/com/devexperts/util/TypedMap.java
Java
mpl-2.0
1,349
/* * Copyright (c) 1998-2014 by Richard A. Wilkes. All rights reserved. * * This Source Code Form is subject to the terms of the Mozilla Public License, * version 2.0. If a copy of the MPL was not distributed with this file, You * can obtain one at http://mozilla.org/MPL/2.0/. * * This Source Code Form is "Incom...
smithkm/gcs
src/com/trollworks/gcs/character/Page.java
Java
mpl-2.0
1,978
import json import mock from django.test import TestCase from django.core.urlresolvers import reverse class TestAPI(TestCase): @mock.patch('ldap.initialize') def test_exists(self, mocked_initialize): connection = mock.MagicMock() mocked_initialize.return_value = connection url = re...
mozilla/medlem
medlem/api/tests.py
Python
mpl-2.0
5,529
using System; using System.Collections.Generic; using System.Linq; using System.Text; using MWLite.Core; namespace MWLite.GUI.Helpers { internal static class PluginHelper { public static void Init(IMapApp app) { ShapeEditor.Editor.Init(app); } } }
MapWindow/MapWinGIS
demo/MWLite.GUI/Helpers/PluginHelper.cs
C#
mpl-2.0
316
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # Copyright (c) 2016 Digi International Inc. All Rights Reserved. """ Monitor the WR31 door enclosure """ i...
digidotcom/transport_examples
WR31/doormon.py
Python
mpl-2.0
3,979
// This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. package biglog import ( "errors" "fmt" "io" "sync" "sync/atomic" "time" ) // ErrInvalidIndexReader is returne...
ninibe/netlog
biglog/index_reader.go
GO
mpl-2.0
6,459
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package etomica.data.history; /** * History that records a data from a simulation. When existing space * is i...
etomica/etomica
etomica-core/src/main/java/etomica/data/history/HistoryComplete.java
Java
mpl-2.0
3,360
/** * API for paddock information * * Copyright (c) 2015. Elec Research. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/ * * Author: Tim Miller. * **/ var...
elec-otago/agbase
server/routes/api-authenticated/spatial/paddocks.js
JavaScript
mpl-2.0
9,912
using Anabi.Common.Enums; using Anabi.Features.Common.Models; namespace Anabi.Features.PrecautionaryMeasures { public class MeasuresDictionaryModel : DictionaryModel { public PrecautionaryMeasureType MeasureType { get; set; } } }
code4romania/anabi-gestiune-api
Anabi/Features/PrecautionaryMeasures/MeasuresDictionaryModel.cs
C#
mpl-2.0
254
import copy import logging import os import time from datetime import datetime from hashlib import sha1 import newrelic.agent from django.core.exceptions import ObjectDoesNotExist from django.db.utils import IntegrityError from past.builtins import long from treeherder.etl.artifact import (serialize_artifact_json_blo...
KWierso/treeherder
treeherder/etl/jobs.py
Python
mpl-2.0
18,563
package logmon import ( "context" "github.com/hashicorp/nomad/client/logmon/proto" ) type logmonClient struct { client proto.LogMonClient } func (c *logmonClient) Start(cfg *LogConfig) error { req := &proto.StartRequest{ LogDir: cfg.LogDir, StdoutFileName: cfg.StdoutLogFile, StderrFileName: cfg.St...
nak3/nomad
client/logmon/client.go
GO
mpl-2.0
690
import React from 'react'; import cn from 'classnames'; import keyboardJS from 'keyboardjs'; import ReactTooltip from 'react-tooltip'; import sendToAddon from '../client-lib/send-to-addon'; export default class PrevButton extends React.Component { constructor(props) { super(props); this.state = {historyIndex...
meandavejustice/min-vid
frontend/components/prev-button.js
JavaScript
mpl-2.0
1,552
<?php /** * Copyright 2006 - 2018 TubePress LLC (http://tubepress.com) * * This file is part of TubePress (http://tubepress.com) * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozil...
tubepress/tubepress
src/php/classes/internal/tubepress/internal/boot/helper/uncached/UncachedContainerSupplier.php
PHP
mpl-2.0
11,179
package tsp; public class Ciudad { private String nombre; private int id; private CiudadesDistancias[] distanciasC = new CiudadesDistancias[22]; private boolean visitado = false; private boolean inicial = false; Ciudad(int idd, String nom){ nombre = nom; id = idd; } public String getNomb...
arian-22/AlgoritmosGeneticos-UTN
Ejercicio-03/src/tsp/Ciudad.java
Java
mpl-2.0
1,265
/******************************************************************************* * Copyright (c) 2007, 2018 Stefaan Van Cauwenberge * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0 (the "License"). If a copy of the MPL was not distributed with this * file, You can obtain on...
scauwe/Generic-File-Driver-for-IDM
shim/src/main/java/info/vancauwenberge/filedriver/filereader/csv/CSVFileReader.java
Java
mpl-2.0
7,573
namespace Reader_UI { partial class TereziDummy { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <pa...
cybnetsurfe3011/MSPA-Reader
Reader UI/TereziDummy.Designer.cs
C#
mpl-2.0
3,226
package aws import ( "fmt" "log" "strings" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/service/rds" "github.com/hashicorp/aws-sdk-go-base/tfawserr" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/terraform-providers/terraform-provider-aws/aws/internal/service/rds/finder...
terraform-providers/terraform-provider-aws
aws/resource_aws_db_proxy_target.go
GO
mpl-2.0
5,998
//go:build darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris // +build darwin dragonfly freebsd linux netbsd openbsd solaris package executor import ( "fmt" "os" "syscall" ) // configure new process group for child process func (e *UniversalExecutor) setNewProcessGroup() error { if e.childC...
hashicorp/nomad
drivers/shared/executor/executor_unix.go
GO
mpl-2.0
1,293
<?php namespace Devlabs\SportifyBundle\Form; use FOS\UserBundle\Util\LegacyFormHelper; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Component\OptionsResolver\OptionsResolverInterface; class ResettingFormTy...
dev-labs-bg/sportify
src/Devlabs/SportifyBundle/Form/ResettingFormType.php
PHP
agpl-3.0
1,394
# -*- coding: utf-8 -*- # Copyright: Damien Elmes <anki@ichi2.net> # Copyright © 2014 Roland Sieker <ospalh@gmail.com> # # License: GNU AGPL, version 3 or later; # http://www.gnu.org/licenses/agpl.html import os import re import shutil import zipfile from . import Collection from .hooks import runHook from .lang impo...
ospalh/libanki3
libanki3/exporting.py
Python
agpl-3.0
9,791
import './FilteredListSection.css'; import * as React from 'react'; import * as c from 'classnames'; interface Props { className?: string; title?: string; } export class FilteredListSection extends React.Component<Props, {}> { public render() { const { children, title, ...
part-up/part-up
app/packages/partup-client-react/react/src/components/FilteredList/FilteredListSection.tsx
TypeScript
agpl-3.0
881
<?php // The source code packaged with this file is Free Software, Copyright (C) 2005 by // Ricardo Galli <gallir at uib dot es>. // It's licensed under the AFFERO GENERAL PUBLIC LICENSE unless stated otherwise. // You can get copies of the licenses here: // http://www.affero.org/oagpl.html // AFFERO GENERAL PUBLI...
gallir/Meneame
www/libs/mafia.php
PHP
agpl-3.0
4,683
# -*- coding: utf-8 -*- # See README.rst file on addon root folder for license details from . import res_partner
incaser/odoo-templates
sample_addon_oca/models/__init__.py
Python
agpl-3.0
114
/* * 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) ...
splicemachine/spliceengine
mem_sql/src/main/java/com/splicemachine/derby/impl/sql/execute/MemGenericConstantActionFactory.java
Java
agpl-3.0
1,384
#!/usr/bin/env node process.chdir(__dirname) var crypto = require('crypto'), fs = require('fs'), config = require('../config.js') var newPasswordSha1 = crypto.createHash('sha1').update('').digest('hex') var content = '// auto-generated\n' + 'exports.port = ' + config.port + '\n' + 'exports.host ...
aimnadze/audio-player-server
scripts/disable-key.js
JavaScript
agpl-3.0
515
<?php /** * @copyright Copyright (c) 2018 Joas Schilling <coding@schilljs.com> * * @author Joas Schilling <coding@schilljs.com> * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public Lice...
michaelletzgus/nextcloud-server
core/Migrations/Version14000Date20180129121024.php
PHP
agpl-3.0
1,660
MetaclicUtils.Templates = {}; MetaclicUtils.Templates.datasets = [ ' {{#ifCond sort "!=" false}}', ' <div class="result-sort"><label>Trier par</label>', ' <select name="sort" class="form-control">', ' {{#each sortTypes}}', ' {{#ifCond id "==" ../sort}}', ' ...
datakode/metaclic
js/templates.js
JavaScript
agpl-3.0
22,464
package storage /* An implementation of a 2-dimentional R*-Tree used for storing <lat,long> coordinates of boats. See references [0] and [9] for description of the datastructure (haven't followed the instructions 100%) Notes: - MBR - Minimum Bounding Rectangle - The FindWithin() & FindAll() function returns t...
tormol/AIS
storage/rStarTree.go
GO
agpl-3.0
21,959
/* * TeleStax, Open Source Cloud Communications Copyright 2012. * and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser ...
RestComm/jss7
management/shell-server-impl/src/main/java/org/restcomm/ss7/management/console/ShellServerMBean.java
Java
agpl-3.0
1,338
# -*- coding: utf-8 -*- # Copyright© 2016 ICTSTUDIO <http://www.ictstudio.eu> # Copyright 2016 ACSONE SA/NV (<http://acsone.eu>) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { 'name': "MIS Builder Cost Center Filter", 'version': '8.0.1.0.0', 'category': 'Reporting', 'summary': "...
ICTSTUDIO/accounting-addons
mis_builder_cost_center_filter/__openerp__.py
Python
agpl-3.0
793
import { VariableSupportType } from '@grafana/data'; import { getVariableQueryEditor, StandardVariableQueryEditor } from './getVariableQueryEditor'; import { LegacyVariableQueryEditor } from './LegacyVariableQueryEditor'; describe('getVariableQueryEditor', () => { describe('happy cases', () => { describe('when c...
grafana/grafana
public/app/features/variables/editor/getVariableQueryEditor.test.tsx
TypeScript
agpl-3.0
4,480
<?php /** * This file is part of the login-cidadao project or it's bundles. * * (c) Guilherme Donato <guilhermednt on github> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace LoginCidadao\OpenIDBundle\Constraints; use Sy...
PROCERGS/login-cidadao
src/LoginCidadao/OpenIDBundle/Constraints/SectorIdentifierValidator.php
PHP
agpl-3.0
1,699
/* * ISABEL: A group collaboration tool for the Internet * Copyright (C) 2011 Agora System S.A. * * This file is part of Isabel. * * Isabel is free software: you can redistribute it and/or modify * it under the terms of the Affero GNU General Public License as published by * the Free Software Foundation, eith...
ging/isabel
components/vnc/navegador/isabel/argonauta/Argonauta.java
Java
agpl-3.0
3,156
/* * Copyright (C) 2013 OpenJST Project * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
devmix/openjst
server/mobile/war/src/main/java/org/openjst/server/mobile/web/rest/Accounts.java
Java
agpl-3.0
1,540
/* * DesktopSessionLauncher.cpp * * 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...
Sage-Bionetworks/rstudio
src/cpp/desktop/DesktopSessionLauncher.cpp
C++
agpl-3.0
8,278
# -*- coding: utf-8 -*- __license__ = "GNU Affero General Public License, Ver.3" __author__ = "Pablo Alvarez de Sotomayor Posadillo" # This file is part of Kirinki. # # Kirinki 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 ...
i02sopop/Kirinki
kirinki/videos.py
Python
agpl-3.0
16,846
#!/usr/bin/env python # -*- coding: utf8 -*- # ***************************************************************** # ** PTS -- Python Toolkit for working with SKIRT ** # ** © Astronomical Observatory, Ghent University ** # ***************************************************************** # ...
SKIRT/PTS
modeling/config/adapt_fit.py
Python
agpl-3.0
2,495
/* * Copyright 2013-2018 Emmanuel BRUN (contact@amapj.fr) * * This file is part of AmapJ. * * AmapJ 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,...
amapj/amapj
amapj/src/fr/amapj/model/engine/transaction/DbWrite.java
Java
agpl-3.0
868
import os from importlib import import_module from django.core.management.base import BaseCommand from django.utils import translation from django.conf import settings def get_modules(): path = os.path.join(settings.BASE_DIR, 'utils', 'upgrade') root, dirs, files = next(os.walk(path)) return files clas...
BirkbeckCTP/janeway
src/utils/management/commands/run_upgrade.py
Python
agpl-3.0
1,613
from .naive import StratNaive import random import numpy as np class BetaDecreaseStrat(StratNaive): def __init__(self, vu_cfg, time_scale=0.9, **strat_cfg2): StratNaive.__init__(self,vu_cfg=vu_cfg, **strat_cfg2) self.time_scale = time_scale def update_speaker(self, ms, w, mh, voc, mem, bool_succ, context=[]): ...
flowersteam/naminggamesal
naminggamesal/ngstrat/beta_decrease.py
Python
agpl-3.0
700
/* * Copyright © 2013-2018 Metreeca srl. All rights reserved. * * This file is part of Metreeca. * * Metreeca 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 ...
metreeca/metreeca
back/spec/src/main/java/com/metreeca/spec/codecs/ShapeCodec.java
Java
agpl-3.0
28,505
# -*- coding: utf-8 -*- # Copyright (C) 2014-present Taiga Agile LLC # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later ver...
taigaio/taiga-back
taiga/webhooks/signal_handlers.py
Python
agpl-3.0
2,526
"use strict"; var types = require('./types'); var Tree = require('./tree'); var Rule = require('./rule'); var Principle = require('./principle'); var Lexicon = require('./lexicon'); var Nothing = types.Nothing; var eq = types.eq; var normalize = types.normalize; function Parser ( grammar ) { return { bor...
agarsev/borjes
src/parser.js
JavaScript
agpl-3.0
2,855
<?php namespace Scuola247\Bundle\CoreBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolverInterface; class PersonefisicheType extends AbstractType { /** * @param FormBuilderInterface $builder * @param...
marcoalbarelli/PostgreSQL
Symfony/src/Scuola247/Bundle/CoreBundle/Form/PersonefisicheType.php
PHP
agpl-3.0
1,283
/* * Copyright (C) 2000 - 2021 Silverpeas * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * As a spec...
SilverDav/Silverpeas-Core
core-test/src/main/java/org/silverpeas/core/test/DataSourceProvider.java
Java
agpl-3.0
1,833
<?php use SuiteCRM\Test\SuitePHPUnitFrameworkTestCase; class AOS_InvoicesTest extends SuitePHPUnitFrameworkTestCase { protected function setUp() { parent::setUp(); global $current_user; get_sugar_config_defaults(); $current_user = new User(); } public function testAOS...
ChangezKhan/SuiteCRM
tests/unit/phpunit/modules/AOS_Invoices/AOS_InvoicesTest.php
PHP
agpl-3.0
1,783
/* * Copyright (c) 2019 The Hyve B.V. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS * FOR A PARTICULAR PURPOSE. The software and documentation provided hereunder * is on an "as is" basis, and Memorial...
pughlab/cbioportal
core/src/main/java/org/mskcc/cbio/portal/model/Treatment.java
Java
agpl-3.0
4,931
<?php declare(strict_types=1); /* * This file is part of the Superdesk Web Publisher Core Bundle. * * Copyright 2020 Sourcefabric z.ú. and contributors. * * For the full copyright and license information, please see the * AUTHORS and LICENSE files distributed with this source code. * * @copyright 2020 Sourcef...
superdesk/web-publisher
src/SWP/Bundle/CoreBundle/Form/Type/ExportAnalyticsRouteType.php
PHP
agpl-3.0
1,103
import React from 'react'; export function MessagePanel(props, context) { let message = context.messenger.getMessage(); let messagePanel; if (message !== undefined) { messagePanel = ( <div className={ 'alert alert-' + message.type }> { message.text } </div> ); context.mess...
mapkiwiz/sectorisation
src/client/app/panels/message.panel.js
JavaScript
agpl-3.0
534
/* * Logger.cpp * * Created on: 2013. 9. 16. * Author: ilvsusie */ #include "Logger.h" #include "Poco/Logger.h" #include "Poco/SimpleFileChannel.h" #include "Poco/AutoPtr.h" #include "Poco/Message.h" #include "Poco/PatternFormatter.h" #include "Poco/FormattingChannel.h" using Poco::Channel; using Poco::Fo...
Nanolat/sotopless
src/server/Logger.cpp
C++
agpl-3.0
1,222
<?php $data_on['CONNEXION']=$l->g(1255); $data_on['BAD CONNEXION']=$l->g(1256); if (!isset($protectedPost['onglet'])) $protectedPost['onglet']='CONNEXION'; if ($protectedPost['onglet'] == 'CONNEXION' or $protectedPost['onglet'] == 'BAD CONNEXION') { $ms_cfg_file=$_SESSION['OCS']['LOG_DIR']."log.csv"; $fd = @fope...
the-linux-schools-project/karoshi-server
serversetup/modules/ocsinventory/OCSNG_UNIX_SERVER/ocsreports/plugins/main_sections/ms_stats/ms_stats_connexion.php
PHP
agpl-3.0
2,929
// // // Description: This file is part of FET // // // Author: Lalescu Liviu <Please see http://lalescu.ro/liviu/ for details about contacting Liviu Lalescu (in particular, you can find here the e-mail address)> // Copyright (C) 2003 Liviu Lalescu <http://lalescu.ro/liviu/> // /****************************************...
janLo/FET
src/interface/spreadmindaysconstraintsfivedaysform.cpp
C++
agpl-3.0
14,004
'use strict'; var mongoose = require('mongoose'), Schema = mongoose.Schema; var Event = new Schema({ name: String, description: String, sport: String, place: { name: String, coords: { longitude: { type: Number }, latitude: { type: Number } }, ad...
asm-products/sportiz-backend
models/event.js
JavaScript
agpl-3.0
1,155
/* Places, Copyright 2014 Ansamb. This file is part of Places By Ansamb. Places By Ansamb is free software: you can redistribute it and/or modify it under the terms of the Affero GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your optio...
ansamb-places/places-application-runtime
core/migrations/application/20140402160700-migration-from-0.0.3-to-0.0.4.js
JavaScript
agpl-3.0
1,271
{{-- Copyright 2015-2017 ppy Pty. Ltd. This file is part of osu!web. osu!web is distributed with the hope of attracting more community contributions to the core ecosystem of osu!. osu!web is free software: you can redistribute it and/or modify it under the terms of the Affero GNU General Public Li...
kj415j45/osu-web
resources/views/forum/topic_watches/_topic_buttons.blade.php
PHP
agpl-3.0
2,261
/* Blackboard WebServices Serializable Objects Copyright (C) 2011-2013 Andrew Martin, Newcastle University 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 ...
andmar8/Blackboard-Java-WebservicesBBSerializableObjects
src/bbws/resource/gradecentre/column/BBLineitem.java
Java
agpl-3.0
6,229
<?php /** * @author Thomas Müller <thomas.mueller@tmit.eu> * * @copyright Copyright (c) 2018, ownCloud GmbH * @license AGPL-3.0 * * This code is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foun...
pollopolea/core
apps/dav/lib/Avatars/AvatarNode.php
PHP
agpl-3.0
2,058
/* * AceEditorPreview.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 FITN...
Sage-Bionetworks/rstudio
src/gwt/src/org/rstudio/studio/client/workbench/prefs/views/AceEditorPreview.java
Java
agpl-3.0
4,967
class RemoveWrongIndexTwo < ActiveRecord::Migration def up remove_index :frm_topics, :slug add_index :frm_topics, :slug add_index :frm_topics, [:forum_id,:slug], unique: true end def down remove_index :frm_topics, :slug remove_index :frm_topics, [:forum_id,:slug] add_index :frm_topics, :s...
xdite/Airesis
db/migrate/20130920140838_remove_wrong_index_two.rb
Ruby
agpl-3.0
351
# -*- coding: utf-8; -*- # # This file is part of Superdesk. # # Copyright 2013, 2014 Sourcefabric z.u. and contributors. # # For the full copyright and license information, please see the # AUTHORS and LICENSE files distributed with this source code, or # at https://www.sourcefabric.org/superdesk/license import os i...
vied12/superdesk
server/superdesk/media/media_operations.py
Python
agpl-3.0
3,953
<?php namespace PPP\Wikidata\ValueFormatters; use Doctrine\Common\Cache\ArrayCache; use Mediawiki\Api\MediawikiApi; use PPP\Wikidata\Cache\PerSiteLinkCache; use PPP\Wikidata\ValueFormatters\JsonLd\Entity\JsonLdEntityFormatter; use PPP\Wikidata\ValueFormatters\JsonLd\Entity\JsonLdItemFormatter; use PPP\Wikidata\ValueF...
ProjetPP/PPP-Wikidata
tests/phpunit/ValueFormatters/ExtendedJsonLdItemFormatterTest.php
PHP
agpl-3.0
4,803
/*! jQuery UI - v1.10.3 - 2014-01-12 * http://jqueryui.com * Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.accordion.js, jquery.ui.progressbar.js, jquery.ui.slider.js * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ (function( $, undefi...
nccgroup/typofinder
TypoMagic/js/jquery-ui-1.10.3.custom.js
JavaScript
agpl-3.0
78,447
/* * matrix-appservice-email - Matrix Bridge to E-mail * Copyright (C) 2017 Kamax Sarl * * https://www.kamax.io/ * * 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...
kamax-io/matrix-appservice-email
src/main/java/io/kamax/matrix/bridge/email/controller/ApplicationServiceController.java
Java
agpl-3.0
5,750
/* * 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/test/RapidMinerTestCase.java
Java
agpl-3.0
1,838
package query import ( "Yearning-go/src/handler/commom" "Yearning-go/src/lib" "Yearning-go/src/model" "github.com/cookieY/yee" "net/http" "time" ) func FetchQueryRecord(c yee.Context) (err error) { u := new(commom.PageInfo) if err = c.Bind(u); err != nil { c.Logger().Error(err.Error()) return } order :=...
cookieY/Yearning
src/handler/order/query/query.go
GO
agpl-3.0
3,583
// 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 3 of the License, or // (at your option) any later version. // This program is distributed in the hope that it will be use...
aarkerio/Centauro
webroot/js/ckeditor/plugins/GeSHi/lang/en.js
JavaScript
agpl-3.0
818
'use strict'; import Flickity from 'flickity-imagesloaded' export default function LessonHeader() { console.log("-- LessonHeader initialized") let photosSelector = '.LessonHeader__photos' let $photos = $(photosSelector) if ($photos.length > 0) { let photoSelector = '.LessonHeader__photo' let $status = $(...
fablabbcn/SCOPESdf
assets/javascripts/components/LessonHeader.js
JavaScript
agpl-3.0
973
/* * The Kuali Financial System, a comprehensive financial management system for higher education. * * Copyright 2005-2014 The Kuali Foundation * * 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 Fre...
ua-eas/ua-kfs-5.3
work/src/org/kuali/kfs/module/tem/document/web/struts/CloseQuestionHandler.java
Java
agpl-3.0
5,866
/* JDBCAddressDAO.java * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * Copyright Ⓒ 2014-2015 Universiteit Gent * * This file is part of the Degage Web Application * * Corresponding author (see also AUTHORS.txt) * * Kris Coolsaet * Department of Applied Mathematics, Computer Science and St...
kcoolsae/Degage
db/src/main/java/be/ugent/degage/db/jdbc/JDBCAddressDAO.java
Java
agpl-3.0
8,226
package alice.util; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; /** * * @author Alessio Mercurio * * Custom abstract classloader used to addAt/remove dynamically URLs from it * needed by JavaLibrary. * */ public abstract class AbstractDynamicClassLoade...
automenta/narchy
logic/src/main/java/alice/util/AbstractDynamicClassLoader.java
Java
agpl-3.0
2,091
<?php /********************************************************************************* * The contents of this file are subject to the SugarCRM Professional Subscription * Agreement ("License") which can be viewed at * http://www.sugarcrm.com/crm/products/sugar-professional-eula.html * By installing or using this ...
MarStan/sugar_work
modules/sugartalk_SMS/metadata/wireless.detailviewdefs.php
PHP
agpl-3.0
2,329
/* * Tanaguru - Automated webpage assessment * Copyright (C) 2008-2015 Tanaguru.org * * This file is part of Tanaguru. * * Tanaguru 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, eithe...
medsob/Tanaguru
engine/crawler/src/test/java/org/tanaguru/service/mock/MockParameterDataService.java
Java
agpl-3.0
7,102
/** * 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. * ...
opensourceBIM/BIMserver
PluginBase/generated/org/bimserver/models/ifc4/IfcTaskTypeEnum.java
Java
agpl-3.0
15,449
/* * Asqatasun - Automated webpage assessment * Copyright (C) 2008-2020 Asqatasun.org * * This file is part of Asqatasun. * * Asqatasun 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, e...
Asqatasun/Asqatasun
rules/rules-commons/src/main/java/org/asqatasun/rules/elementchecker/lang/LangDeclarationValidityChecker.java
Java
agpl-3.0
3,622
require 'test_helper' class GamesControllerTest < ActionController::TestCase setup do @game = games(:one) end test "should get index" do get :index assert_response :success assert_not_nil assigns(:games) end test "should get new" do get :new assert_response :success end test "s...
LukeShu/leaguer
test/controllers/games_controller_test.rb
Ruby
agpl-3.0
1,507
<?php /** * AvailableBudgetController.php * Copyright (c) 2019 james@firefly-iii.org * * This file is part of Firefly III (https://github.com/firefly-iii). * * 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...
firefly-iii/firefly-iii
app/Http/Controllers/Budget/AvailableBudgetController.php
PHP
agpl-3.0
9,393
using Merp.Registry.CommandStack.Commands; using Xunit; using SharpTestsEx; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Merp.Registry.CommandStack.Tests.Commands { public class RegisterCompanyCommandFixture { [Fact]...
mastreeno/Merp
test/Merp.Registry.CommandStack.Tests/Commands/RegisterCompanyCommandFixture.cs
C#
agpl-3.0
7,890
define([], function () { return function (distributor) { var container = document.createElement("ul") container.classList.add("filters") var div = document.createElement("div") function render(el) { el.appendChild(div) } function filtersChanged(filters) { while (container.firstCh...
srauscher/hopglass
lib/filters/filtergui.js
JavaScript
agpl-3.0
1,004
/* The Conflict of Interest (COI) module of Kuali Research Copyright © 2005-2016 Kuali, 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 ...
kuali/research-coi
test/test-utils.js
JavaScript
agpl-3.0
5,482
# # Copyright (C) 2014 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 ...
Unow/canvas-lms
app/models/auditors.rb
Ruby
agpl-3.0
944
#!/usr/bin/python """ Copyright 2012 Paul Willworth <ioscode@gmail.com> This file is part of Galaxy Harvester. Galaxy Harvester 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 th...
clreinki/GalaxyHarvester
waypointMaps.py
Python
agpl-3.0
2,719
import os import sys import nose from subprocess import CalledProcessError, check_output as run from functools import partial GJSLINT_COMMAND = 'gjslint' GJSLINT_OPTIONS = ['--strict'] JS_BASE_FOLDER = os.path.join('skylines', 'public', 'js') JS_FILES = [ 'baro.js', 'fix-table.js', 'flight.js', 'gen...
dkm/skylines
skylines/tests/test_gjslint.py
Python
agpl-3.0
1,110
<?php namespace PlentyConnector\Connector\IdentityService; use Assert\Assertion; use PlentyConnector\Connector\IdentityService\Exception\NotFoundException; use PlentyConnector\Connector\IdentityService\Storage\IdentityStorageInterface; use PlentyConnector\Connector\ValidatorService\ValidatorServiceInterface; use Plen...
jochenmanz/plentymarkets-shopware-connector
Connector/IdentityService/IdentityService.php
PHP
agpl-3.0
5,023
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # # Copyright (C) 2014 Didotech srl (<http://www.didotech.com>). # # All Rights Reserved # # This program is free software: you can redistr...
iw3hxn/LibrERP
sale_direct_buy/models/__init__.py
Python
agpl-3.0
1,069
<?php /* * @author Anakeen * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License * @package FDL */ /** * generate interface for the rdition of document * * @author Anakeen 2003 * @version $Id: editcard.php,v 1.76 2008/11/10 16:53:06 eric Exp $ * @license http://www.fsf...
Eric-Brison/dynacase-core
Zone/Fdl/editcard.php
PHP
agpl-3.0
8,796