repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
yldio/copilot | packages/cp-frontend/test/unit/state/selectors.js | 6968 | import {
getInstanceStatuses,
getInstancesActive,
getInstancesHealthy,
getService,
processServices,
processServicesForTopology
} from '@state/selectors';
describe('Redux selectors and Apollo helpers', () => {
describe('getInstanceStatuses', () => {
it('gathers instance statuses correctly', () => {
... | mpl-2.0 |
ewah/consul-template | dependency/file.go | 2509 | package dependency
import (
"errors"
"fmt"
"io/ioutil"
"log"
"os"
"sync"
"time"
)
// File represents a local file dependency.
type File struct {
sync.Mutex
mutex sync.RWMutex
rawKey string
lastStat os.FileInfo
stopped bool
stopCh chan struct{}
}
// Fetch retrieves this dependency and returns the... | mpl-2.0 |
pryorda/terraform | vendor/github.com/tombuildsstuff/giovanni/storage/2018-11-09/blob/blobs/snapshot.go | 5939 | package blobs
import (
"context"
"fmt"
"net/http"
"strings"
"github.com/Azure/go-autorest/autorest"
"github.com/Azure/go-autorest/autorest/azure"
"github.com/Azure/go-autorest/autorest/validation"
"github.com/tombuildsstuff/giovanni/storage/internal/endpoints"
"github.com/tombuildsstuff/giovanni/storage/inte... | mpl-2.0 |
Bhamni/openmrs-core | api/src/test/java/org/openmrs/cohort/CohortUtilTest.java | 3251 | /**
* The contents of this file are subject to the OpenMRS Public License
* Version 1.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://license.openmrs.org
*
* Software distributed under the License is distributed on an "AS... | mpl-2.0 |
ricardclau/packer | vendor/github.com/yandex-cloud/go-sdk/gen/mdb/mongodb/cluster.go | 17021 | // Code generated by sdkgen. DO NOT EDIT.
//nolint
package mongodb
import (
"context"
"google.golang.org/grpc"
mongodb "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1"
"github.com/yandex-cloud/go-genproto/yandex/cloud/operation"
)
//revive:disable
// ClusterServiceClient is a mongodb.ClusterS... | mpl-2.0 |
MozillaOnline/pc-sync-gaia-app | pcsyncclient/js/fromgaia/gallery_config.js | 873 | //
// This file is automatically generated: DO NOT EDIT.
// To change these values, create a camera.json file in the
// distribution directory with content like this:
//
// {
// "maxImagePixelSize": 6000000,
// "maxSnapshotPixelSize": 4000000 }
// }
//
// Optionally, you can also define variables to specif... | mpl-2.0 |
powsybl/powsybl-core | commons/src/test/java/com/powsybl/commons/plugins/PluginInfoTest.java | 2340 | /**
* Copyright (c) 2018, RTE (http://www.rte-france.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://mozilla.org/MPL/2.0/.
*/
package com.powsybl.commons.plugins;
import com.powsyb... | mpl-2.0 |
oracle/terraform-provider-baremetal | vendor/github.com/oracle/oci-go-sdk/v46/databasemigration/job_output_summary.go | 817 | // Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved.
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose ei... | mpl-2.0 |
mozilla/advocacy.mozilla.org | src/components/open-web-fellows/apply.js | 853 | var React = require(`react`);
var HeroUnit = require(`../hero-unit.js`);
var Router = require(`react-router`);
var Link = Router.Link;
module.exports = React.createClass({
PropTypes: {
headline: React.PropTypes.string,
description: React.PropTypes.string,
cta: React.PropTypes.shape({
label: React.... | mpl-2.0 |
moovweb/tritium | parser/parser_test.go | 158 | package parser
import (
"os"
. "testing"
)
func TestParseRun(t *T) {
wd, _ := os.Getwd()
ParseFile(wd, "scripts", "two.ts", false, make([]string, 0))
}
| mpl-2.0 |
Vild/TrigonOverthrow | src/world/system/bossaisystem.hpp | 559 | #pragma once
#include "system.hpp"
#include "../component/bossaicomponent.hpp"
class BossAISystem : public System {
public:
BossAISystem();
virtual ~BossAISystem();
void update(World& world, float delta) final;
void registerImGui() final;
inline std::string name() final { return "BossAISystem"; }
void setCentre(... | mpl-2.0 |
graimundo/basic-plugin | src/pt/webdetails/basic/plugin/BasicPluginContentGenerator.java | 3862 | /*!
* Copyright 2002 - 2015 Webdetails, a Pentaho company. All rights reserved.
*
* This software was developed by Webdetails and is provided under the terms
* of the Mozilla Public License, Version 2.0, or any later version. You may not use
* this file except in compliance with the license. If you need a copy of the ... | mpl-2.0 |
Topl/Project-Bifrost | src/main/scala/bifrost/transaction/bifrostTransaction/ProgramCreation.scala | 8850 | package bifrost.transaction.bifrostTransaction
import java.util.UUID
import bifrost.program.ExecutionBuilder
import bifrost.crypto.hash.FastCryptographicHash
import BifrostTransaction.Nonce
import bifrost.transaction.account.PublicKeyNoncedBox
import bifrost.transaction.box.proposition.{ProofOfKnowledgePropos... | mpl-2.0 |
peyuco08/gulp-easy | build/assets/js/carrousel.js | 2318 | $(function(){
$('#slides').slides({
preload: true,
generateNextPrev: true
});
});
$(document).ready(function() {
/* pag 1 */
$("#paginador-carrusel .pagUno .botones .next").click(function(e) {
e.preventDefault()
$("#paginador-carrusel .cont-carrousel").animate({left: "-670px"}, "fast");
... | mpl-2.0 |
mozilla/kanbanzilla | test/spec/controllers/header.js | 518 | 'use strict';
describe('Controller: HeaderCtrl', function () {
// load the controller's module
beforeEach(module('kanbanzillaApp'));
var HeaderCtrl,
scope;
// Initialize the controller and a mock scope
beforeEach(inject(function ($controller, $rootScope) {
scope = $rootScope.$new();
HeaderCtrl... | mpl-2.0 |
hooklift/gowsdl | soap/soap_test.go | 25327 | package soap
import (
"bytes"
"context"
"encoding/xml"
"fmt"
"io/ioutil"
"net/http"
"net/http/httptest"
"strings"
"testing"
"time"
"github.com/stretchr/testify/assert"
)
type Ping struct {
XMLName xml.Name `xml:"http://example.com/service.xsd Ping"`
Request *PingRequest `xml:"request,omitempty"`
}
typ... | mpl-2.0 |
cstipkovic/spidermonkey-research | js/src/jit-test/tests/wasm/spec/exports.wast.js | 145 | // |jit-test| test-also-wasm-baseline
// TODO: real memory exports.
quit();
var importedArgs = ['exports.wast']; load(scriptdir + '../spec.js');
| mpl-2.0 |
CalebSLane/openelisglobal-core | app/src/us/mn/state/health/lims/testconfiguration/action/TestSectionTestAssignUpdate.java | 4219 | /*
* 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/
*
* Software distributed under the License is distributed on an "AS IS"
... | mpl-2.0 |
logicmonitor/k8s-argus | vendor/github.com/logicmonitor/lm-sdk-go/client/lm/patch_device_parameters.go | 8596 | // Code generated by go-swagger; DO NOT EDIT.
package lm
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"context"
"net/http"
"time"
"github.com/go-openapi/errors"
"github.com/go-openapi/runtime"
cr "github.com/go-op... | mpl-2.0 |
cstipkovic/spidermonkey-research | js/src/jsapi-tests/testArrayBuffer.cpp | 5161 | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* vim: set ts=8 sts=4 et sw=4 tw=99:
*/
#include "jsfriendapi.h"
#include "jsapi-tests/tests.h"
BEGIN_TEST(testArrayBuffer_bug720949_steal)
{
static const unsigned NUM_TEST_BUFFERS = 2;
static const unsigned MAGIC_VALUE_1 = 3;
... | mpl-2.0 |
joyent/manta-nfs | server.js | 15007 | // Copyright 2014 Joyent, Inc. All rights reserved.
//
// 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/.
var fs = require('fs');
var os = require('os');
var path = re... | mpl-2.0 |
UK992/servo | tests/wpt/web-platform-tests/fetch/cross-origin-resource-policy/fetch.https.any.js | 3087 | // META: global=window,worker
// META: script=/common/get-host-info.sub.js
const host = get_host_info();
const path = "/fetch/cross-origin-resource-policy/";
const localBaseURL = host.HTTPS_ORIGIN + path;
const notSameSiteBaseURL = host.HTTPS_NOTSAMESITE_ORIGIN + path;
promise_test(async () => {
const response = ... | mpl-2.0 |
Yukarumya/Yukarum-Redfoxes | dom/system/gonk/tests/test_ril_worker_ssn.js | 3032 | /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
subscriptLoader.loadSubScript("resource://gre/modules/ril_consts.js", this);
function run_test() {
run_next_test();
}
add_test(function test_notification() {
let workerHelper = newInterceptWorker();
let ... | mpl-2.0 |
Sparfel/iTop-s-Portal | public/setup/scripts/testWebSrv.php | 4394 | <?php
defined('__DIR__') || define('__DIR__', dirname(__FILE__));
defined('APPLICATION_PATH')
|| define('APPLICATION_PATH', realpath(__DIR__ . '/../../../application'));
$checklist = array();
include_once __DIR__ . '/../class/Check.php';
$check = new Check();
$check->check();
//$check->checkCfg(2);
echo '<div id=... | agpl-3.0 |
o2oa/o2oa | o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/serialnumber/SerialNumberAction.java | 6107 | package com.x.processplatform.assemble.surface.jaxrs.serialnumber;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam... | agpl-3.0 |
daqingyun/probdata | src/fastprof/fastprof.cpp | 5958 | /***************************************************************************
* FastProf: A Stochastic Approximation-based Transport Profiler
* All rights reserved - Daqing Yun <daqingyun@gmail.com>
***************************************************************************/
#include <cstdio>
#include <cstdlib>
#inc... | agpl-3.0 |
fayazkhan/secret-diary | diary/cli.py | 2293 | # secret-diary: A secure diary app
# Copyright (C) 2016 Fayaz Yusuf Khan
# 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... | agpl-3.0 |
oeoeaio/openfoodnetwork | spec/controllers/spree/admin/reports_controller_spec.rb | 12354 | require 'spec_helper'
describe Spree::Admin::ReportsController, type: :controller do
# Given two distributors and two suppliers
let(:bill_address) { create(:address) }
let(:ship_address) { create(:address) }
let(:instructions) { "pick up on thursday please" }
let(:coordinator1) { create(:distributor_enterpr... | agpl-3.0 |
qliavi/asteroids | run/js/Particle.js | 1076 | function Particle (x, y, speedX, speedY, radius) {
var randomAngle = Math.random() * Math.PI * 2,
multiplier = 0.008 * radius
x += Math.cos(randomAngle) * multiplier
y += Math.sin(randomAngle) * multiplier
var randomAngle = Math.random() * Math.PI * 2,
multiplier = 0.0017 * Math.pow(ra... | agpl-3.0 |
stratosphereips/Manati | manati/analysis_sessions/models/base.py | 688 | # Copyright (C) 2016-2018 Stratosphere Lab
# This file is part of ManaTI Project - https://stratosphereips.org
# See the file 'docs/LICENSE' for copying permission.
# Created by Raul B. Netto <raulbeni@gmail.com> on 8/25/18.
from django.db import models
from model_utils.fields import AutoCreatedField, AutoLastModifiedF... | agpl-3.0 |
UM-USElab/gradecraft-development | app/controllers/api/rubrics_controller.rb | 321 | class API::RubricsController < ApplicationController
# GET api/rubric/:id
def show
@rubric = Rubric.find params[:id]
@criteria =
@rubric.criteria.ordered.includes(:levels)
@levels = Level.where(criterion_id: @criteria.pluck(:id)).order("criterion_id").order("points").order("sort_order")
end
end... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/lair/base/poi_all_lair_nest_large_evil_fire_green.lua | 2363 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
sakukode/owncloud-custom | core/l10n/en@pirate.js | 100 | OC.L10N.register(
"core",
{
"Password" : "Passcode"
},
"nplurals=2; plural=(n != 1);");
| agpl-3.0 |
vvfosprojects/sovvf | src/backend/SO115App.ApiGac/Models/MezzoDTO.cs | 2492 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SO115App.ApiGac.Models
{
public class MezzoDTO
{
/// <summary>
/// Codice del mezzo
/// </summary>
public string Codice { get; set; }
/// <summary>
/// ... | agpl-3.0 |
HoBu4eK/easypcfix | includes/classes/PHPFusion/Errors.php | 25777 | <?php
namespace PHPFusion;
use PHPFusion\Database\DatabaseFactory;
class Errors {
private static $instances = array();
public $no_notice = 0;
public $compressed = 0;
private $error_status = '';
private $posted_error_id = '';
private $delete_status = '';
private $rows = 0;
priv... | agpl-3.0 |
afterlogic/webmail-lite | libraries/afterlogic/common/net/protocols/poppassd.php | 2576 | <?php
/*
* Copyright 2004-2017, AfterLogic Corp.
* Licensed under AGPLv3 license or AfterLogic license
* if commercial version of the product was purchased.
* See the LICENSE file for a full license statement.
*/
CApi::Inc('common.net.abstract');
/**
* @package Api
* @subpackage Net
*/
class C... | agpl-3.0 |
sakukode/owncloud-custom | apps/files/js/newfilemenu.js | 6593 | /*
* Copyright (c) 2014
*
* This file is licensed under the Affero General Public License version 3
* or later.
*
* See the COPYING-README file.
*
*/
/* global Files */
(function() {
var TEMPLATE_MENU =
'<ul>' +
'<li>' +
'<label for="file_upload_start" class="menuitem" data-action="upload" title="{{up... | agpl-3.0 |
OpusVL/odoo | addons/base_action_rule/__openerp__.py | 1943 | # -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU... | agpl-3.0 |
nonblocking/cliwix | cliwix-webapp/src/main/scala/at/nonblocking/cliwix/webapp/LoginController.scala | 2605 | /*
* Copyright (c) 2014-2016
* nonblocking.at gmbh [http://www.nonblocking.at]
*
* This file is part of Cliwix.
*
* Cliwix is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the... | agpl-3.0 |
napramirez/jPOS | jpos/src/test/java/org/jpos/util/NameRegistrarTest.java | 4261 | /*
* jPOS Project [http://jpos.org]
* Copyright (C) 2000-2013 Alejandro P. Revilla
*
* 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 ... | agpl-3.0 |
Sparfel/iTop-s-Portal | library/Zend/Pdf/Resource/Font/Type0.php | 9585 | <?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 the license an... | agpl-3.0 |
gtank/Gadgetbridge | app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/receivers/GBMusicControlReceiver.java | 2670 | package nodomain.freeyourgadget.gadgetbridge.service.receivers;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.media.AudioManager;
import android.os.SystemClock;
import android.view.KeyEvent;
import org.slf4j.Logger;
import org.slf4j.LoggerFacto... | agpl-3.0 |
cm-is-dog/rapidminer-studio-core | report/html/com/rapidminer/operator/learner/associations/AssociationRules.js | 1238 | var clover = new Object();
// JSON: {classes : [{name, id, sl, el, methods : [{sl, el}, ...]}, ...]}
clover.pageData = {"classes":[{"el":136,"id":46052,"methods":[{"el":55,"sc":2,"sl":53},{"el":65,"sc":2,"sl":63},{"el":69,"sc":2,"sl":67},{"el":73,"sc":2,"sl":71},{"el":77,"sc":2,"sl":75},{"el":81,"sc":2,"sl":79},{"el"... | agpl-3.0 |
KWZwickau/KREDA-Sphere | Sphere/Client/Component/Parameter/Repository/Icon/HomeIcon.php | 490 | <?php
namespace KREDA\Sphere\Client\Component\Parameter\Repository\Icon;
use KREDA\Sphere\Client\Component\IParameterInterface;
use KREDA\Sphere\Client\Component\Parameter\Repository\AbstractIcon;
/**
* Class HomeIcon
*
* @package KREDA\Sphere\Client\Component\Parameter\Repository\Icon
*/
class HomeIcon extends A... | agpl-3.0 |
devsarr/ONLYOFFICE-OnlineEditors | OfficeWeb/sdk/Word/Editor/GraphicObjects/States.js | 276061 | /*
* (c) Copyright Ascensio System SIA 2010-2014
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL i... | agpl-3.0 |
uroni/urbackup_backend | fileservplugin/FileMetadataPipe.cpp | 35854 | /*************************************************************************
* UrBackup - Client/Server backup system
* Copyright (C) 2011-2016 Martin Raiber
*
* 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... | agpl-3.0 |
kkmsc17/smes | xnes/snes9x/filter/blit.cpp | 24061 | /***********************************************************************************
Snes9x - Portable Super Nintendo Entertainment System (TM) emulator.
(c) Copyright 1996 - 2002 Gary Henderson (gary.henderson@ntlworld.com),
Jerremy Koot (jkoot@snes9x.com)
(c) Copyright 2002 - 200... | agpl-3.0 |
diqube/diqube | diqube-ui/src/main/java/org/diqube/ui/websocket/result/analysis/AnalysisRefJsonResult.java | 1601 | /**
* diqube: Distributed Query Base.
*
* Copyright (C) 2015 Bastian Gloeckle
*
* This file is part of diqube.
*
* diqube is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the... | agpl-3.0 |
robmyers/the_colour_of | config/routes.rb | 2087 | ActionController::Routing::Routes.draw do |map|
map.resources :colours
map.resources :palettes
map.resources :sources
map.resources :sources
map.resources :categories
# The priority is based upon order of creation: first created -> highest priority.
# Sample of regular route:
# map.connect 'prod... | agpl-3.0 |
gabrys/wikidot | web/files--common/modules/js/managesite/ManageSiteTemplatesModule.js | 3903 | /*
* Wikidot - free wiki collaboration software
* Copyright (c) 2008, Wikidot Inc.
*
* Code licensed under the GNU Affero General Public
* License version 3 or later.
*
* For more information about licensing visit:
* http://www.wikidot.org/license
*/
WIKIDOT.modules.ManagerSiteTemplatesModule = {};
WIKIDOT... | agpl-3.0 |
ttiurani/extendedmind | backend/src/test/scala/org/extendedmind/security/test/TokenSpec.scala | 2684 | /**
* Copyright (c) 2013-2016 Extended Mind Technologies Oy
*
* This file is part of Extended Mind.
*
* Extended Mind 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
* Li... | agpl-3.0 |
VonIobro/ab-web | app/components/Modal/Container.js | 1120 | import React from 'react';
import PropTypes from 'prop-types';
import styled from 'styled-components';
import { DialogTransitionGroup } from './DialogTransitionGroup';
import { ContainerTransitionGroup } from './ContainerTransitionGroup';
const Wrapper = styled.div`
position: fixed;
top: 0;
left: 0;
bottom: 0... | agpl-3.0 |
mysociety/fixmytransport | lib/patches/babosa_trailing_hyphens_patch.rb | 1008 | # encoding: utf-8
# Patch to prevent slugs being generated that end with a hyphen
module Babosa
class Identifier
# Normalize the string for use as a URL slug. Note that in this context,
# +normalize+ means, strip, remove non-letters/numbers, downcasing,
# truncating to 255 bytes and converting whitespace... | agpl-3.0 |
lansingcodelab/www | app/async_fetcher/app/sources/lessons-started.js | 1460 | import Rx from 'rx'
import githubClientFactory from '../apis/github-client-factory'
export default (token, query) => {
const GithubClient = githubClientFactory(token)
return Rx.Observable.create((observer) => {
GithubClient.repos.getAll({
// https://developer.github.com/v3/repos/#parameters
visi... | agpl-3.0 |
disorganizer/brig | vendor/gx/ipfs/QmZHU2gx42NPTYXzw6pJkuX6xCE7bKECp6e8QcPdoLx8sx/protobuf/protoc-gen-go/generator/name_test.go | 3979 | // Go support for Protocol Buffers - Google's data interchange format
//
// Copyright 2013 The Go Authors. All rights reserved.
// https://github.com/golang/protobuf
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met... | agpl-3.0 |
nccgroup/pip3line | defaultplugins/baseplugins/fixprotocol.cpp | 3746 | /**
Released as open source by NCC Group Plc - http://www.nccgroup.com/
Developed by Gabriel Caudrelier, gabriel dot caudrelier at nccgroup dot com
https://github.com/nccgroup/pip3line
Released under AGPL see LICENSE for more information
**/
#include "fixprotocol.h"
#include <QXmlQuery>
#include <QXmlResultItems>
#... | agpl-3.0 |
jpretori/SoaringCoach | src/test/java/soaringcoach/CircleTestFacade.java | 2054 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* SoaringCoach is a tool for analysing IGC files produced by modern FAI
* flight recorder devices, and providing the pilot with useful feedback
* on how effectively they are flying.
* Copyright (C) 2017 Johan Pretorius
*
* ... | agpl-3.0 |
cinquin/mutinack | src/uk/org/cinquin/mutinack/misc_util/SettableInteger.java | 1773 | /**
* Mutinack mutation detection program.
* Copyright (C) 2014-2016 Olivier Cinquin
*
* 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, version 3.
*
* This program is distributed i... | agpl-3.0 |
henrik-muehe/ira | js/block.js | 1632 | /*
IRA - Interactive Relational Algebra Tool
Copyright (C) 2010-2012 Henrik Mühe
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 |
quikkian-ua-devops/will-financials | kfs-ar/src/main/java/org/kuali/kfs/module/ar/document/validation/event/CashControlDetailEventBase.java | 3198 | /*
* The Kuali Financial System, a comprehensive financial management system for higher education.
*
* Copyright 2005-2017 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 Foundat... | agpl-3.0 |
thinkdry/blank-application | spec/models/users_containers_spec.rb | 1896 | require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
describe UsersContainer do
fixtures :users_containers
def users_containers
UsersContainer.new
end
def users_containers_attributes
{
:containerable_id => 1,
:containerable_type => 'Workspace',
:user_id => 21,
... | agpl-3.0 |
Bernie-2016/ground-control | src/frontend/components/forms/GCPhoneField.js | 677 | import React from 'react';
import {TextField} from 'material-ui';
import {BernieText} from '../styles/bernie-css';
import GCFormField from './GCFormField';
import phoneFormatter from 'phone-formatter';
export default class GCPhoneField extends GCFormField {
render() {
return <TextField
{...this.props}
... | agpl-3.0 |
arkivverket/arkade5 | src/Arkivverket.Arkade.Core.Tests/Testing/Noark5/N5_35_NumberOfCasePartsTests.cs | 10449 | using System.Collections.Generic;
using System.Linq;
using Arkivverket.Arkade.Core.Base;
using Arkivverket.Arkade.Core.Testing;
using Arkivverket.Arkade.Core.Testing.Noark5;
using FluentAssertions;
using Xunit;
namespace Arkivverket.Arkade.Core.Tests.Testing.Noark5
{
public class N5_35_NumberOfCasePartsTests : La... | agpl-3.0 |
jhuymaier/zurmo | app/protected/modules/tasks/data/TasksDemoDataMaker.php | 5610 | <?php
/*********************************************************************************
* Zurmo is a customer relationship management program developed by
* Zurmo, Inc. Copyright (C) 2013 Zurmo Inc.
*
* Zurmo is free software; you can redistribute it and/or modify it under
* the terms of t... | agpl-3.0 |
wapolinar/SOGoICSTool | sogoTool/src/main/java/de/apolinarski/tool/sogo/Utils.java | 1529 | package de.apolinarski.tool.sogo;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
public class Utils {
private static final String FIRST_STRING_PART="http://127.0.0.1:20000/SOGo/so/";
private static final String SECOND_STRING_PART="/Calendar/";
private static final String LAST... | agpl-3.0 |
carbn/huonot-uutiset | huonotuutiset/templatetags/extras.py | 463 | from django import template
register = template.Library()
# from http://stackoverflow.com/questions/19268727/django-how-to-get-the-name-of-the-template-being-rendered
@register.simple_tag
def active_page(request, view_name):
from django.core.urlresolvers import resolve, Resolver404
if not request:
re... | agpl-3.0 |
avcsa/openepg | client/src/main.js | 62 | var App = require('./app');
var epg = new App();
epg.start();
| agpl-3.0 |
colares/touke-flow | Packages/Framework/TYPO3.Fluid/Classes/TYPO3/Fluid/Core/Parser/SyntaxTree/ViewHelperNode.php | 4900 | <?php
namespace TYPO3\Fluid\Core\Parser\SyntaxTree;
/* *
* This script belongs to the TYPO3 Flow package "Fluid". *
* *
* It is free software; you can redistr... | agpl-3.0 |
ralfbecher/neo4j-extensions | neo4j-extensions-java/src/main/java/org/neo4j/extensions/java/plugins/GetAll.java | 1798 | package org.neo4j.extensions.java.plugins;
import java.util.ArrayList;
import java.util.List;
import org.neo4j.graphdb.GraphDatabaseService;
import org.neo4j.graphdb.Node;
import org.neo4j.graphdb.Relationship;
import org.neo4j.graphdb.Transaction;
import org.neo4j.server.plugins.Description;
import org.neo4j.server.... | agpl-3.0 |
rajeshrhino/uk.co.vedaconsulting.membershipchurnchart | api/v3/Membershipchurnchart.php | 536 | <?php
/**
* Membershipchurnchart prepare churn table API
*
* @param array $params
* @return array API result descriptor
* @see civicrm_api3_create_success
* @see civicrm_api3_create_error
* @throws API_Exception
*/
function civicrm_api3_membershipchurnchart_preparechurntable($params) {
// Prepare renewal d... | agpl-3.0 |
JanMarvin/rstudio | src/cpp/core/http/Response.cpp | 24639 | /*
* Response.cpp
*
* 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 Public License. This pr... | agpl-3.0 |
skyrossm/SkyMod | src/main/java/com/skyrossm/skymod/handler/FuelHandler.java | 483 | package com.skyrossm.skymod.handler;
import com.skyrossm.skymod.init.ModItems;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fml.common.IFuelHandler;
public class FuelHandler implements IFuelHandler {
@Override
public int getBurnTime(ItemStack fuel){
if(fuel.getItem() == ModItems.itemC... | agpl-3.0 |
c2corg/camptocamp.org | plugins/sfFeed2Plugin/lib/sfFeed.class.php | 6577 | <?php
/*
* This file is part of the sfFeed2 package.
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
* (c) 2004-2007 Francois Zaninotto <francois.zaninotto@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with th... | agpl-3.0 |
shoaib-fazal16/yourown | custom/Extension/modules/AOS_Products/Ext/Layoutdefs/yo_sales_aos_products_AOS_Products.php | 593 | <?php
// created: 2015-03-23 15:31:08
$layout_defs["AOS_Products"]["subpanel_setup"]['yo_sales_aos_products'] = array (
'order' => 100,
'module' => 'yo_Sales',
'subpanel_name' => 'default',
'sort_order' => 'asc',
'sort_by' => 'id',
'title_key' => 'LBL_YO_SALES_AOS_PRODUCTS_FROM_YO_SALES_TITLE',
'get_subp... | agpl-3.0 |
elijh/crabgrass-core | app/controllers/avatars_controller.rb | 923 | ##
## Avatars are the little icons used for users and groups.
##
## This controller is in charge of showing them. See me/avatars or groups/avatars
## for editing them.
##
class AvatarsController < ApplicationController
# always enable cache, even in dev mode.
def self.perform_caching; true; end
def perform_cach... | agpl-3.0 |
rhosocial/yii2-assets | JqueryWidgetAsset.php | 685 | <?php
/**
* _ __ __ _____ _____ ___ ____ _____
* | | / // // ___//_ _// || __||_ _|
* | |/ // /(__ ) / / / /| || | | |
* |___//_//____/ /_/ /_/ |_||_| |_|
* @link https://vistart.me/
* @copyright Copyright (c) 2016 - 2017 vistart
* @license https://vistart.me/license/
*/
namespace rhosoc... | agpl-3.0 |
faradayio/earth | spec/earth/locality/padd_spec.rb | 799 | require 'spec_helper'
require 'earth/locality/petroleum_administration_for_defense_district'
describe PetroleumAdministrationForDefenseDistrict do
let(:padd) { PetroleumAdministrationForDefenseDistrict }
describe '#name' do
it 'describes a PADD that is a district' do
test = padd.new(:district_code =>... | agpl-3.0 |
naturdrogerie/plentymarkets-shopware-connector | Components/Soap/Models/PlentySoapRequest/SetItemsCategories.php | 1500 | <?php
/**
* plentymarkets shopware connector
* Copyright © 2013-2014 plentymarkets GmbH
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* The texts of the GNU Affero General Publ... | agpl-3.0 |
theoo/circl | db/migrate/20141012174951_add_dates_to_product_items.rb | 352 | class AddDatesToProductItems < ActiveRecord::Migration
def change
add_column :affairs_products_programs, :confirmed_at, :datetime, default: nil
add_column :affairs_products_programs, :delivery_at, :datetime, default: nil
add_index :affairs_products_programs, :confirmed_at
add_index :affairs_products_p... | agpl-3.0 |
blocktrail/blocktrail-wallet | src/js/controllers/PromoControllers.js | 5535 | angular.module('blocktrail.wallet')
.controller('PromoCodeRedeemCtrl', function($scope, $rootScope, $state, $stateParams, $btBackButtonDelegate, $q, $log,
$cordovaToast, $ionicLoading, QR, $timeout, walletsManagerService, trackingService) {
$scope.appControl =... | agpl-3.0 |
GTAUN/wl-chat-channel | src/main/java/net/gtaun/wl/chat/event/ChatChannelPlayerJoinEvent.java | 1126 | /**
* WL Chat Channel Plugin
* Copyright (C) 2013 MK124
*
* 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 ve... | agpl-3.0 |
Rovanion/Yaws | lib/libAuth.php | 4278 | <?php
require_once '../lib/settings.php';
session_start();
$loggedIn = checkLogin(); //$loggedIn is true if the user is logged in, else false
function makeMySQLConnection(){
//Connects to MySQL at localhost with username and password from ../lib/settings.php
mysql_connect('localhost', DatabaseUserName, D... | agpl-3.0 |
stephaneperry/Silverpeas-Components | whitepages/whitepages-jar/src/main/java/com/silverpeas/whitePages/service/MixedSearchService.java | 2147 | /**
* Copyright (C) 2000 - 2011 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.
*
* ... | agpl-3.0 |
miguel76/SWOWS | swows/src/main/java/org/swows/xmlinrdf/DomDecoder.java | 70491 | /*
* Copyright (c) 2011 Miguel Ceriani
* miguel.ceriani@gmail.com
* This file is part of Semantic Web Open datatafloW System (SWOWS).
* SWOWS 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, eith... | agpl-3.0 |
crosslink/xowa | dev/400_xowa/src/gplx/xowa/xtns/mapSources/Map_dd2dms_func_tst.java | 1395 | /*
XOWA: the XOWA Offline Wiki Application
Copyright (C) 2012 gnosygnu@gmail.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 |
asm-products/codes-snippet-manager | protected/modules/user/models/UserLogin.php | 2241 | <?php
/**
* LoginForm class.
* LoginForm is the data structure for keeping
* user login form data. It is used by the 'login' action of 'SiteController'.
*/
class UserLogin extends CFormModel
{
public $username;
public $password;
public $rememberMe;
/**
* Declares the validation rules.
* The... | agpl-3.0 |
zeropingheroes/lanager | routes/web.php | 3412 | <?php
/**
* Current LAN
*/
Route::get('/', 'CurrentLanController@show')
->name('home');
Route::get('/guides', 'CurrentLanController@guides')
->name('guides');
Route::get('/events', 'CurrentLanController@events')
->name('events');
Route::get('/schedule', 'CurrentLanController@schedule')
->name('schedu... | agpl-3.0 |
nextstrain/auspice | src/components/tree/infoPanels/click.js | 11200 | import React from "react";
import styled from 'styled-components';
import { isValueValid } from "../../../util/globals";
import { infoPanelStyles } from "../../../globalStyles";
import { numericToCalendar } from "../../../util/dateHelpers";
import { getTraitFromNode, getFullAuthorInfoFromNode, getVaccineFromNode,
get... | agpl-3.0 |
ryo33/Yayaka19 | web/static/js/plugins/emoji.js | 107 | import emoji from 'node-emoji'
export default {
transform(text) {
return emoji.emojify(text)
}
}
| agpl-3.0 |
lrlopez/moodle-mod_lessonplan | locallib.php | 665 | <?php
/**
* Internal library of functions for module lessonplan
*
* All the lessonplan specific functions, needed to implement the module
* logic, should go here. Never include this file from your lib.php!
*
* @package mod_lessonplan
* @copyright 2011 Luis-Ramon Lopez Lopez
* @license http://www.fsf.org/lic... | agpl-3.0 |
irina-mitrea-luxoft/k3po | driver/src/test/java/org/kaazing/k3po/driver/internal/behavior/handler/event/ChildOpenedHandlerTest.java | 15162 | /*
* Copyright 2014, Kaazing Corporation. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | agpl-3.0 |
vivekdevrari/litecrm | cache/modules/Bugs/language/en_us.lang.php | 3959 | <?php
// created: 2016-12-18 14:52:45
$mod_strings = array (
'LBL_ID' => 'ID',
'LBL_DATE_ENTERED' => 'Date Created:',
'LBL_DATE_MODIFIED' => 'Date Modified:',
'LBL_MODIFIED' => 'Modified By',
'LBL_MODIFIED_ID' => 'Modified By Id',
'LBL_MODIFIED_NAME' => 'Modified By Name',
'LBL_CREATED' => 'Created By',
... | agpl-3.0 |
NicolasEYSSERIC/Silverpeas-Core | lib-core/src/main/java/com/silverpeas/util/comparator/AbstractComplexComparator.java | 3763 | /*
* 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 spec... | agpl-3.0 |
BenjaminThirion/webPLM | public/app/components/convert-to-number.directive.js | 511 | (function(){
'use strict';
angular
.module('PLMApp')
.directive('convertToNumber', convertToNumber);
function convertToNumber() {
return {
require: 'ngModel',
link: function(scope, element, attrs, ngModel) {
ngModel.$parsers.push(function(val) {
re... | agpl-3.0 |
owly/wok | app/controllers/quizzes_controller.rb | 31514 | #
# Copyright (C) 2011 Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, version 3 of the License.
#
# Canvas is distributed in the hope that ... | agpl-3.0 |
rockcesar/odoo_addons | first_module/models/res_partner_h.py | 383 | # -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import api, fields, models
from odoo import tools, _
from odoo.exceptions import ValidationError
class res_partner(models.Model):
_name = "res.partner"
_description = "Res Partner"
_inherit = ['res... | agpl-3.0 |
gaelenh/python-reprints | reprints/service.py | 2048 | # -*- coding: utf-8 -*-
#
# This file is part of reprints released under the AGPLv3 license.
# See the NOTICE for more information.
# future compatibilty
from __future__ import absolute_import
# Pre-importer monkey patching
from gevent import monkey
monkey.patch_all()
# standard
from argparse import ArgumentParser
i... | agpl-3.0 |
opensourceBIM/BIMserver | PluginBase/generated/org/bimserver/models/ifc2x3tc1/impl/IfcVaporPermeabilityMeasureImpl.java | 4969 | /**
* 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 |
abramhindle/UnnaturalCodeFork | python/testdata/launchpad/lib/lp/services/webapp/publication.py | 32930 | # Copyright 2009-2011 Canonical Ltd. This software is licensed under the
# GNU Affero General Public License version 3 (see the file LICENSE).
__metaclass__ = type
__all__ = [
'LoginRoot',
'LaunchpadBrowserPublication',
]
import re
import sys
import thread
import threading
import traceback
import urllib
... | agpl-3.0 |
ONLYOFFICE/core | UnicodeConverter/icubuilds-mac/icu/icu/layout/SingleSubstitutionSubtables.cpp | 2343 | /*
*
* (C) Copyright IBM Corp. 1998-2013 - All Rights Reserved
*
*/
#include "LETypes.h"
#include "LEGlyphFilter.h"
#include "OpenTypeTables.h"
#include "GlyphSubstitutionTables.h"
#include "SingleSubstitutionSubtables.h"
#include "GlyphIterator.h"
#include "LESwaps.h"
U_NAMESPACE_BEGIN
le_uint32 SingleSubstitu... | agpl-3.0 |