repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
bulletcms/bullet-sabot | src/middleware/index.js | 132 | import {Authenticator} from './authentication';
import {CacheControl} from './cacheControl';
export {Authenticator, CacheControl};
| mpl-2.0 |
csegames/Camelot-Unchained | game/camelotunchained/hud/src/index.tsx | 2913 | /**
* 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/.
*/
import 'font-awesome/css/font-awesome.css';
import 'velocity-animate';
import 'velocity-animate/velocity.ui';... | mpl-2.0 |
danieldc/hooky | models/account.go | 2811 | package models
import (
"math/rand"
"gopkg.in/mgo.v2"
"gopkg.in/mgo.v2/bson"
)
// Account is an account to access the service.
type Account struct {
// ID is the ID of the Account.
ID bson.ObjectId `bson:"_id"`
// Name is display name for the Account.
Name *string `bson:"name,omitempty"`
// Key is the secr... | mpl-2.0 |
seedstack/samples | full-apps/ddd/src/main/java/org/seedstack/samples/ddd/domain/model/cargo/Leg.java | 1770 | /*
* Copyright © 2013-2018, 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.samples.ddd.do... | mpl-2.0 |
dominikstanojevic/InteraktivniVHDL | src/main/java/hr/fer/zemris/java/vhdl/models/mappers/PositionalMap.java | 559 | package hr.fer.zemris.java.vhdl.models.mappers;
import java.util.List;
import java.util.Objects;
/**
* Created by Dominik on 22.8.2016..
*/
public class PositionalMap extends EntityMap {
private List<Mappable> signals;
public PositionalMap(String label, String entity, List<Mappable> signals) {
super(label, ent... | mpl-2.0 |
oracle/terraform-provider-baremetal | oci/blockchain_blockchain_platforms_data_source.go | 3702 | // Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
// Licensed under the Mozilla Public License v2.0
package oci
import (
"context"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
oci_blockchain "github.com/oracle/oci-go-sdk/v46/blockchain"
)
func init() {
RegisterDatasour... | mpl-2.0 |
code4romania/anabi-gestiune-api | Anabi.Integration.Tests/Assets/GetAssetAddressTests.cs | 3098 | using Anabi.Common.ViewModels;
using Anabi.Integration.Tests.Helpers;
using Newtonsoft.Json;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Xunit;
namespace Anabi.Integration.Tests.Assets
{
public class GetAssetAddressTests : ApiTests
{
public AddMinimalAssetHelper _minimalAs... | mpl-2.0 |
joyent/smartos-image-tests | spec/apache/services_spec.rb | 201 | require 'spec_helper'
describe service('apache') do
it { should be_enabled }
it { should be_running }
end
describe service('php-fpm') do
it { should be_enabled }
it { should be_running }
end
| mpl-2.0 |
susaing/doc.servo.org | url/percent_encoding/encode_sets/sidebar-items.js | 144 | initSidebarItems({"static":[["DEFAULT",""],["FORM_URLENCODED",""],["PASSWORD",""],["QUERY",""],["SIMPLE",""],["USERINFO",""],["USERNAME",""]]}); | mpl-2.0 |
cliqz-oss/jsengine | jsengine-android/jsengine/src/main/java/com/cliqz/jsengine/v8/V8Engine.java | 6805 | package com.cliqz.jsengine.v8;
import android.util.Log;
import com.eclipsesource.v8.V8;
import java.util.LinkedList;
import java.util.List;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
imp... | mpl-2.0 |
Nutomic/ensichat | integration/src/main/scala/com.nutomic.ensichat.integration/LocalNode.scala | 2720 | package com.nutomic.ensichat.integration
import java.io.File
import java.util.concurrent.LinkedBlockingQueue
import com.nutomic.ensichat.core.interfaces.{CallbackInterface, SettingsInterface}
import com.nutomic.ensichat.core.messages.Message
import com.nutomic.ensichat.core.util.{Crypto, Database}
import com.nutomic.... | mpl-2.0 |
MitocGroup/deep-framework | src/deep-event/lib/Driver/AbstractDriver.js | 1087 | /**
* Created by AlexanderC on 2/22/17.
*/
'use strict';
export class AbstractDriver {
/**
* @param {*} context
*/
constructor(context) {
this._context = context;
}
/**
* @returns {*}
*/
get context() {
return this._context;
}
/**
* @param {String} name
* @param {*}... | mpl-2.0 |
openMF/self-service-app | app/src/main/java/org/mifos/mobile/ui/fragments/GuarantorListFragment.java | 6952 | package org.mifos.mobile.ui.fragments;
/*
* Created by saksham on 23/July/2018
*/
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import com.github.therajanmaurya.sweeterror.SweetUIErrorHandler;
import org.m... | mpl-2.0 |
yonadev/yona-app-android | app/src/test/java/nu/yona/app/ui/signup/StepOneTest.java | 3004 | /*
* Copyright (c) 2016 Stichting Yona Foundation
*
* 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 https://mozilla.org/MPL/2.0/.
*
*
*/
package nu.yona.app.ui.signup;
import android.c... | mpl-2.0 |
gozer/voice-web | web/src/components/pages/home/stats.tsx | 9544 | const spline = require('@yr/monotone-cubic-spline');
import {
LocalizationProps,
Localized,
withLocalization,
} from 'fluent-react/compat';
import * as React from 'react';
import { useState } from 'react';
import { connect } from 'react-redux';
import API from '../../../services/api';
import { trackHome } from '.... | mpl-2.0 |
ThesisPlanet/EducationPlatform | src/public/js/libs/dojox/atom/widget/nls/zh/PeopleEditor.js | 94 | ({
add: "添加",
addAuthor: "添加作者",
addContributor: "添加内容添加者"
}) | mpl-2.0 |
sirthias/swave | core/src/main/scala/swave/core/io/ByteArrayBytes.scala | 6576 | /*
* 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 swave.core.io
import java.io.OutputStream
import java.nio.charset.{CharacterCodingException, Charset}... | mpl-2.0 |
Yukarumya/Yukarum-Redfoxes | js/src/jit/mips32/Simulator-mips32.cpp | 118513 | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
// Copyright 2011 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributio... | mpl-2.0 |
MozillaSecurity/FuzzManager | server/ec2spotmanager/templatetags/recursetags.py | 1156 | from django import template
from django.utils.safestring import mark_safe
register = template.Library()
class RecurseConfigTree(template.Node):
def __init__(self, template_nodes, config_var):
self.template_nodes = template_nodes
self.config_var = config_var
def _render_node(self, context, no... | mpl-2.0 |
richardwilkes/gcs | com.trollworks.gcs/src/com/trollworks/gcs/ui/widget/Checkbox.java | 7714 | /*
* Copyright ©1998-2022 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 "Incompat... | mpl-2.0 |
Photolude/Mob-Platform | PlatformWebsite/src/main/java/com/mob/www/platform/controller/AppsController.java | 5347 | package com.mob.www.platform.controller;
import java.io.IOException;
import java.util.LinkedList;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.codehaus.jackson.JsonGenerationException;
import org.codehaus.jackson.map.JsonMappingExcepti... | mpl-2.0 |
ubschmidt2/terraform-provider-google | google/resource_spanner_instance_generated_test.go | 2245 | // ----------------------------------------------------------------------------
//
// *** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
//
// ----------------------------------------------------------------------------
//
// This file is automatically generated by Magic Modules and manual
// ... | mpl-2.0 |
vladikoff/fxa-relier-client | tasks/bump.js | 479 | /* 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/. */
module.exports = function (grunt) {
'use strict';
grunt.config('bump', {
options: {
files: ['packag... | mpl-2.0 |
jryans/servo | components/script/dom/xmlhttprequest.rs | 41626 | /* 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/. */
use dom::bindings::codegen::Bindings::EventHandlerBinding::EventHandlerNonNull;
use dom::bindings::codegen::Bindin... | mpl-2.0 |
ricardclau/packer | builder/hcloud/step_create_server.go | 6706 | package hcloud
import (
"context"
"fmt"
"io/ioutil"
"sort"
"strings"
"github.com/hashicorp/packer-plugin-sdk/multistep"
packersdk "github.com/hashicorp/packer-plugin-sdk/packer"
"github.com/hetznercloud/hcloud-go/hcloud"
)
type stepCreateServer struct {
serverId int
}
func (s *stepCreateServer) Run(ctx con... | mpl-2.0 |
diging/giles-eco-giles-web | giles-eco/src/main/java/edu/asu/diging/gilesecosystem/web/core/files/IFilesManager.java | 2068 | package edu.asu.diging.gilesecosystem.web.core.files;
import java.util.List;
import java.util.Map;
import edu.asu.diging.gilesecosystem.util.exceptions.UnstorableObjectException;
import edu.asu.diging.gilesecosystem.web.core.files.impl.StorageStatus;
import edu.asu.diging.gilesecosystem.web.core.model.DocumentAccess;... | mpl-2.0 |
mozilla/remote-newtab | tests/index.js | 199 | const req = require.context(".", true, /\.test.js$/);
const files = req.keys();
const chai = require("chai");
chai.use(require("chai-as-promised"));
chai.should();
files.forEach(file => req(file));
| mpl-2.0 |
DominoTree/servo | tests/wpt/web-platform-tests/offscreen-canvas/compositing/2d.composite.image.destination-in.worker.js | 1142 | // DO NOT EDIT! This test has been generated by tools/gentest.py.
// OffscreenCanvas test in a worker:2d.composite.image.destination-in
// Description:
// Note:
importScripts("/resources/testharness.js");
importScripts("/2dcontext/resources/canvas-tests.js");
var t = async_test("");
var t_pass = t.done.bind(t);
var t... | mpl-2.0 |
jimberlage/servo | components/script/dom/console.rs | 5161 | /* 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/. */
use crate::dom::bindings::inheritance::Castable;
use crate::dom::bindings::str::DOMString;
use crate::dom::globals... | mpl-2.0 |
richardkiene/sdc-cn-agent | lib/tasks/machine_reprovision.js | 6225 | /*
* 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) 2015, Joyent, Inc.
*/
var Task = require('../task_agent/task');
var vmadm = require('vma... | mpl-2.0 |
WanionCane/BiggerCraftingTables | src/main/java/wanion/biggercraftingtables/block/TileEntityBiggerCraftingTable.java | 4810 | package wanion.biggercraftingtables.block;
/*
* Created by WanionCane(https://github.com/WanionCane).
*
* 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/.
*/
import... | mpl-2.0 |
olegccc/streams-client | src/interfaces/IConfiguration.ts | 57 | interface IConfiguration {
ConnectionPath: string;
}
| mpl-2.0 |
wlach/treeherder | treeherder/etl/pushlog.py | 8595 | import logging
import requests
from django.core.cache import cache
from treeherder.client import TreeherderResultSetCollection
from treeherder.etl.common import (fetch_json,
generate_revision_hash,
get_not_found_onhold_push)
from .mixins import Cl... | mpl-2.0 |
taskcluster/taskcluster-client-java | src/main/java/org/mozilla/taskcluster/client/awsprovisioner/RegionLaunchSpec.java | 422 | package org.mozilla.taskcluster.client.awsprovisioner;
/**
* LaunchSpecification entries unique to this Region
*
* See http://schemas.taskcluster.net/aws-provisioner/v1/region-launch-spec.json#
*/
public class RegionLaunchSpec {
/**
* Per-region AMI ImageId
*
* See http://schemas.taskcluster.ne... | mpl-2.0 |
mozilla-iot/gateway | src/controllers/push_controller.js | 1206 | /**
* Push API Controller.
*
* Implements the Push API for notifications to use
*
* 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/.
*/
'use strict';
const Promis... | mpl-2.0 |
cal-r/sscctd | src/simulator/util/Response.java | 2335 | /**
*
*/
package simulator.util;
import java.util.List;
/**
* City University BSc Computing with Artificial Intelligence Project title:
* Building a TD Simulator for Real-Time Classical Conditioning
*
* @supervisor Dr. Eduardo Alonso
* @author Jonathan Gray
**/
public enum Response {
CHURCH_KIRKPATRICK("Ch... | mpl-2.0 |
servo/doc.servo.org | euclid/matrix/sidebar-items.js | 44 | initSidebarItems({"type":[["Matrix4",""]]}); | mpl-2.0 |
hazzik/Rhino.Net | src/Rhino.Tests/Tests/FunctionTest.cs | 1603 | /*
* This code is derived from rhino (http://github.com/mozilla/rhino)
*
* 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/.
*/
using NUnit.Framework;
using... | mpl-2.0 |
Farof/cleaner-web | lib/main.js | 14614 | "use strict";
const pageMod = require('sdk/page-mod');
const self = require('sdk/self');
const data = self.data;
const cm = require('sdk/context-menu');
const simplePrefs = require('sdk/simple-prefs');
const prefs = simplePrefs.prefs;
const str = require('sdk/l10n').get;
const ss = require('sdk/simple-storage').storag... | mpl-2.0 |
Yukarumya/Yukarum-Redfoxes | js/src/proxy/DeadObjectProxy.cpp | 4397 | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* vim: set ts=8 sts=4 et sw=4 tw=99:
* 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/. */
... | mpl-2.0 |
anom0ly/WoWAnalyzer | src/interface/report/ProgressBar.tsx | 1239 | import React from 'react';
interface Props {
width: number;
height: number;
percentage: number;
}
const ProgressBar = ({ width, height, percentage }: Props) => {
const backgroundColor = 'rgba(0,0,0,.6)';
const wipeFillColor = '#fb6d35';
const killFillColor = '#1d9c07';
// We use round stroke so there is... | agpl-3.0 |
SentinelDataHub/DataHubSystem | client/webclient/src/main/frontend/app/components/management-users/directive.js | 9637 | /*
* Data HUb Service (DHuS) - For Space data distribution.
* Copyright (C) 2013,2014,2015,2016 European Space Agency (ESA)
* Copyright (C) 2013,2014,2015,2016 GAEL Systems
* Copyright (C) 2013,2014,2015,2016 Serco Spa
*
* This file is part of DHuS software sources.
*
* This program is free software: you can ... | agpl-3.0 |
LYY/code2docx | vendor/baliance.com/gooxml/schema/soo/sml/CT_SharedUser.go | 3661 | // Copyright 2017 Baliance. All rights reserved.
//
// DO NOT EDIT: generated by gooxml ECMA-376 generator
//
// Use of this source code is governed by the terms of the Affero GNU General
// Public License version 3.0 as published by the Free Software Foundation and
// appearing in the file LICENSE included in the pack... | agpl-3.0 |
pgorod/SuiteCRM | include/generic/SugarWidgets/SugarWidgetSubPanelEditSecurityGroupUserButton.php | 3196 | <?php
if (!defined('sugarEntry') || !sugarEntry) {
die('Not A Valid Entry Point');
}
/**
* SugarWidgetSubPanelEditRoleButton
*
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004 - 2007 SugarCRM Inc.
*
* This program is free software; you can redistribute ... | agpl-3.0 |
ekacnet/z-push | tools/migrate-2.0.x-2.1.0.php | 7051 | #!/usr/bin/env php
<?php
/***********************************************
* File : migrate-2.0.x-2.1.0.php
* Project : Z-Push - tools
* Descr : Convertes states from
* Z-Push 2.0.x to Z-Push 2.1.0
*
* Created : 30.11.2012
*
* Copyright 2007 - 2013 Zarafa Deutschland GmbH
*
* This ... | agpl-3.0 |
Hilfe/decidim | decidim-comments/app/frontend/comments/add_comment_form.component.tsx | 13198 | /* eslint-disable no-return-assign, react/no-unused-prop-types, max-lines */
import * as classnames from "classnames";
import * as React from "react";
import { graphql } from "react-apollo";
import * as uuid from "uuid";
import Icon from "../application/icon.component";
const { I18n, Translate } = require("react-i18n... | agpl-3.0 |
dhlab-basel/Salsah | src/app/view/dashboard/system/system-projects/system-projects.component.ts | 2059 | /* Copyright © 2016 Lukas Rosenthaler, André Kilchenmann, Andreas Aeschlimann,
* Sofia Georgakopoulou, Ivan Subotic, Benjamin Geer, Tobias Schweizer, Sepideh Alassi
* This file is part of SALSAH.
* SALSAH is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public L... | agpl-3.0 |
hacklabr/timtec | accounts/migrations/0004_auto_20180203_0020.py | 631 | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('accounts', '0003_timtecuser_cpf'),
]
operations = [
migrations.AddField(
model_name='timtecuser',
na... | agpl-3.0 |
t123/ReadingTool | app/controllers/AccountController.php | 3673 | <?php
use RT\Core\FlashMessage;
use RT\Services\IUserService;
use RT\Core\Bucket;
class AccountController extends BaseController {
private $userService;
public function __construct(IUserService $userService) {
$this->userService = $userService;
View::share('currentController', 'Account');
... | agpl-3.0 |
HadoDokis/loomio | app/models/ability.rb | 8192 | class Ability
include CanCan::Ability
def user_is_member_of?(group_id)
@member_group_ids.include?(group_id)
end
def user_is_admin_of?(group_id)
@admin_group_ids.include?(group_id)
end
def user_is_author_of?(object)
object.author_id == @user.id
end
def initialize(user)
user ||= User.... | agpl-3.0 |
artefactual/archivematica-history | src/dashboard/src/media/vendor/jquery.event.drop-1.1.js | 7216 | /*!
jquery.event.drop.js ~ v1.1 ~ Copyright (c) 2008, Three Dub Media (http://threedubmedia.com)
Liscensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-LICENSE.txt
*/
;(function($){ // secure $ jQuery alias
// Created: 2008-06-04 | Updated: 2009-01-26
/*********************************... | agpl-3.0 |
meldio/meldio | src/mutations/validator/__tests__/validateEdgeProps.js | 4158 | import strip from '../../../jsutils/strip';
import { expect } from 'chai';
import { describe, it } from 'mocha';
import { parse, analyzeAST, validate } from '../../../schema';
import { newGlobalId } from '../../../jsutils/globalId';
import { validateEdgeProps } from '../validateEdgeProps';
const mutation = {
name: '... | agpl-3.0 |
guillaumerobin/nlp | src/AppBundle/Entity/Poll/PollVote.php | 2954 | <?php
namespace AppBundle\Entity\Poll;
use AppBundle\Entity\User;
use Gedmo\Mapping\Annotation as Gedmo;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
use Symfony\Component\Validator\Constraints as Assert;
/**
* @ORM\Table(name="polls_votes")
* @ORM\Entity()
*/
class PollVote
{... | agpl-3.0 |
grupoProyecto1/gestionTienda | src/Modelo/ConexionBBDD.java | 1678 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Modelo;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
/**
*
* @auth... | agpl-3.0 |
JuanjoA/l10n-spain | l10n_es_aeat_mod303/tests/test_l10n_es_aeat_mod303.py | 4854 | # -*- coding: utf-8 -*-
# © 2016 Pedro M. Baeza
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0
from openerp.tests import common
class TestL10nEsAeatMod303Base(object):
def setUp(self):
super(TestL10nEsAeatMod303Base, self).setUp()
self.partner = self.env['res.partner'].create({'name'... | agpl-3.0 |
akvo/akvo-sites-zz-template | code/wp-content/plugins/ninja-forms/includes/Config/BatchProcesses.php | 620 | <?php if ( ! defined( 'ABSPATH' ) ) exit;
return apply_filters( 'ninja_forms_batch_processes', array(
'chunked_publish' => array(
'class_name' => 'NF_Admin_Processes_ChunkPublish',
),
'data_cleanup' => array(
'class_name' => 'NF_Admin_Processes_DataCleanup',
),
'expired_submission_c... | agpl-3.0 |
Program-AR/pilas-bloques | tests/helpers/actividadTest.js | 7468 | import { run } from '@ember/runloop';
import setupMirage from "ember-cli-mirage/test-support/setup-mirage";
import 'ember-qunit';
import { setupPBIntegrationTest, acceptTerms } from '../helpers/utils'
import hbs from 'htmlbars-inline-precompile';
import jQuery from 'jquery';
import { module, skip, test } from 'qunit';
... | agpl-3.0 |
see-r/SeerDataCruncher | src/main/java/com/datacruncher/jpa/entity/FieldTypeEntity.java | 4181 |
/*
* DataCruncher
* Copyright (c) Mario Altimari. 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 Foundation, either version 3 of the
* License, or (at your option) any... | agpl-3.0 |
bluestreak01/questdb | core/src/main/java/io/questdb/cutlass/http/HttpResponseSink.java | 22932 | /*******************************************************************************
* ___ _ ____ ____
* / _ \ _ _ ___ ___| |_| _ \| __ )
* | | | | | | |/ _ \/ __| __| | | | _ \
* | |_| | |_| | __/\__ \ |_| |_| | |_) |
* \__\_\\__,_|\___||___/\__|____/|____/
*
* Copyright (c... | agpl-3.0 |
asm-products/tiptrace | Manage/Content/Javascript/jquery-ui-1.10.3.js | 254448 | /*! jQuery UI - v1.10.3 - 2013-11-21
* http://jqueryui.com
* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.datepicker.js, jquery.ui.slider.js
*... | agpl-3.0 |
firstmoversadvantage/sugarcrm | tests/include/JSONTest.php | 5417 | <?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
... | agpl-3.0 |
jesramirez/odoo | addons/account/report/account_invoice_report.py | 13019 | # -*- 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 |
richhl/kalturaCE | package/app/app/plugins/metadata/lib/KalturaMetadataProfileFieldStatus.php | 211 | <?php
/**
* @package plugins.metadata
* @subpackage api.enum
*/
class KalturaMetadataProfileFieldStatus extends KalturaEnum
{
const ACTIVE = 1;
const DEPRECATED = 2;
const NONE_SEARCHABLE = 3;
} | agpl-3.0 |
colearn-co/Colearn | app/controllers/api/v1/push_notifications_controller.rb | 77 | class Api::V1::PushNotificationsController < PushNotificationsController
end
| agpl-3.0 |
lepo-project/lepo | app/models/sticky_star.rb | 528 | # == Schema Information
#
# Table name: sticky_stars
#
# id :integer not null, primary key
# manager_id :integer
# sticky_id :integer
# stared :boolean default(TRUE)
# created_at :datetime not null
# updated_at :datetime not null
#
class StickyStar < ApplicationReco... | agpl-3.0 |
panterch/future_kids | db/migrate/20180531173049_add_comment_bcc_e_mail_to_site.rb | 130 | class AddCommentBccEMailToSite < ActiveRecord::Migration[5.2]
def change
add_column :sites, :comment_bcc, :string
end
end
| agpl-3.0 |
anneline/Bika-LIMS | bika/lims/browser/js/bika.lims.analysisrequest.js | 20790 | /**
* Controller class for Analysis Request View/s
*/
function AnalysisRequestView() {
var that = this;
/**
* Entry-point method for AnalysisRequestView
*/
that.load = function() {
$("#workflow-transition-prepublish").click(workflow_transition_prepublish);
$("#workflow-transit... | agpl-3.0 |
rotofly/odoo | addons/account_financial_report_webkit/__openerp__.py | 8480 | # -*- encoding: utf-8 -*-
##############################################################################
#
# Authors: Nicolas Bessi, Guewen Baconnier
# Copyright Camptocamp SA 2011
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public ... | agpl-3.0 |
inter6/jHears | jhears-servlet-api/src/main/java/org/jhears/web/rs/InsertResource.java | 2129 | /*
* jHears, acoustic fingerprinting framework.
* Copyright (C) 2009-2010 Juha Heljoranta.
*
* This file is part of jHears.
*
* jHears 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 ver... | agpl-3.0 |
ketan-ghumatkar/Canvas-LMS | app/models/role.rb | 6133 | #
# Copyright (C) 2012 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 |
uniteddiversity/mycollab | mycollab-services/src/main/java/com/esofthead/mycollab/module/crm/service/ibatis/CampaignServiceImpl.java | 6855 | /**
* This file is part of mycollab-services.
*
* mycollab-services 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.
*
* mycolla... | agpl-3.0 |
Sage-Bionetworks/rstudio | src/gwt/src/org/rstudio/studio/client/workbench/views/console/events/ConsoleResetHistoryHandler.java | 705 | /*
* ConsoleResetHistoryHandler.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,
* MERCHANTABILI... | agpl-3.0 |
MuckRock/muckrock | muckrock/tags/admin.py | 482 | """
Admin registration for tag models
"""
# Django
from django.contrib import admin
# Third Party
from taggit.models import Tag as TaggitTag
# MuckRock
from muckrock.tags.models import Tag
class TagAdmin(admin.ModelAdmin):
"""Model Admin for a tag"""
# pylint: disable=too-many-public-methods
prepopul... | agpl-3.0 |
devent/sscontrol | sscontrol-dns/src/main/java/com/anrisoftware/sscontrol/dns/zone/AbstractRecord.java | 3153 | /*
* Copyright 2012-2015 Erwin Müller <erwin.mueller@deventm.org>
*
* This file is part of sscontrol-dns.
*
* sscontrol-dns 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 |
aptivate/ckanext-mapactionevent | ckanext/mapactionevent/plugin.py | 5039 | from ckan import logic
from ckan.lib.navl.validators import ignore_missing
import pylons.config as config
import ckan.plugins as plugins
import ckan.plugins.toolkit as toolkit
import ckanext.mapactionevent.logic.action.create
import ckanext.mapactionevent.logic.action.get
group_type = 'event'
def event_descripti... | agpl-3.0 |
ow2-proactive/agent-windows | ProActiveAgent/CommonStartInfo.cs | 6349 | /*
* ################################################################
*
* ProActive Parallel Suite(TM): The Java(TM) library for
* Parallel, Distributed, Multi-Core Computing for
* Enterprise Grids & Clouds
*
* Copyright (C) 1997-2011 INRIA/University of
* Nice-Sophia Antipolis/Ac... | agpl-3.0 |
cheekahao/lianteam | src/admin/controllers/page-change.controller.js | 3162 | /**
* Page Change Controller
*/
angular.module('controllers').controller('pageChange', ['$scope', '$state', '$stateParams', '$http', 'account', '$sce',
function ($scope, $state, $stateParams, $http, account, $sce) {
'use strict';
/**
* 初始化变量
*/
$scope.transmitting = true;
$scope._id = $st... | agpl-3.0 |
itschool/kalolsavam-subdistrict | system/application/views/result/afterresult_report/rpt_grade_wise_participant_details.php | 1019 | <table width="890" height="62" border="0">
<tr>
<td width="884"><h2 align="center"><strong>Grade Wise Participant Details</strong></h2></td>
</tr>
</table>
<table width="889" border="0">
<tr>
<td width="85">Rank</td>
<td width="10">:</td>
<td width="293"> </td>
<td width="483">&... | agpl-3.0 |
retorquere/zotero | chrome/content/zotero/xpcom/itemTreeView.js | 90164 | /*
***** BEGIN LICENSE BLOCK *****
Copyright © 2009 Center for History and New Media
George Mason University, Fairfax, Virginia, USA
http://zotero.org
This file is part of Zotero.
Zotero is free software: you can redistribute it and/or modify
... | agpl-3.0 |
zvini/website | www/places/fns/sort_panel.php | 1274 | <?php
function sort_panel ($user, $total, $base = '') {
if ($total < 2) return;
$order_by = $user->places_order_by;
$fnsDir = __DIR__.'/../../fns';
include_once "$fnsDir/ItemList/escapedPageQuery.php";
$escapedPageQuery = ItemList\escapedPageQuery();
$title = 'Created time';
if ($order_... | agpl-3.0 |
Comunitea/CMNT_004_15 | project-addons/sale_product_customize/wizard/__init__.py | 157 | # © 2019 Comunitea
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from . import mrp_customization_wizard
from . import mrp_product_produce
| agpl-3.0 |
tymiles003/system | application/controllers/Action/Activity.php | 1416 | <?php
/**
* @package Billing
* @copyright Copyright (C) 2012-2013 S.D.O.C. LTD. All rights reserved.
* @license GNU Affero General Public License Version 3; see LICENSE.txt
*/
require_once APPLICATION_PATH . '/application/controllers/Action/Api.php';
/**
* Activity action class
*
* @pack... | agpl-3.0 |
brimstone/cookbook-chef | metadata.rb | 17 | version "0.0.15"
| agpl-3.0 |
dokterbob/django-shopkit | shopkit/core/forms.py | 1726 | # Copyright (C) 2010-2011 Mathijs de Bruin <mathijs@mathijsfietst.nl>
#
# This file is part of django-shopkit.
#
# django-shopkit 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 2, or (at... | agpl-3.0 |
GTI-Learning/LdShake | views/default/output/pulldown.php | 441 | <?php
/**
* Elgg pulldown display
* Displays a value that was entered into the system via a pulldown
*
* @package Elgg
* @subpackage Core
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
* @author Curverider Ltd
* @copyright Curverider Ltd 2008
... | agpl-3.0 |
castlegateit/cgit-wp-user-guide | classes/Cgit/UserGuide/Guide.php | 3182 | <?php
namespace Cgit\UserGuide;
/**
* User guide
*
* Assembles the user guide from all its component sections and renders or
* prints it as HTML.
*/
class Guide
{
/**
* User guide page title
*
* @var string
*/
private $title = 'About';
/**
* Include a table of contents?
... | agpl-3.0 |
gangadharkadam/office_erp | erpnext/selling/doctype/customer/customer.py | 6472 | # Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe
from frappe.model.naming import make_autoname
from frappe import msgprint, _
import frappe.defaults
from erpnext.utilities.transactio... | agpl-3.0 |
opensourceBIM/BIMserver | PluginBase/generated/org/bimserver/models/ifc2x3tc1/IfcObjectDefinition.java | 9269 | /**
* 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 |
Gebesa-Dev/Addons-gebesa | account_payment_transfer/models/account_payment.py | 1372 | # -*- coding: utf-8 -*-
# © <YEAR(S)> <AUTHOR(S)>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import _, api, fields, models
class AccountPayment(models.Model):
_inherit = "account.payment"
def _get_dst_liquidity_aml_dict_vals(self):
dst_liquidity_aml_dict = {
... | agpl-3.0 |
rockneurotiko/wirecloud | src/wirecloud/platform/static/js/wirecloud/ui/UpgradeWindowMenu.js | 7522 | /*
* Copyright (c) 2015 CoNWeT Lab., Universidad Politécnica de Madrid
*
* This file is part of Wirecloud Platform.
*
* Wirecloud Platform 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 ... | agpl-3.0 |
rockneurotiko/wirecloud | src/wirecloud/commons/tests/admin_commands.py | 15086 | # -*- coding: utf-8 -*-
# Copyright (c) 2014-2016 CoNWeT Lab., Universidad Politécnica de Madrid
# This file is part of Wirecloud.
# Wirecloud is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either v... | agpl-3.0 |
digilys/digilys | config/deploy.rb | 3481 | require "bundler/capistrano"
# Digilys is deployed to a single server. The name of the server
# can either be supplied as an environment variable +digilys_instance+
# when executing cap:
#
# > digilys_instance=digilys-production cap deploy
#
# or it defaults to the server +digilys+.
#
# A good idea is to have an +~/... | agpl-3.0 |
splicemachine/spliceengine | db-tools-testing/src/main/java/com/splicemachine/dbTesting/junit/SystemPropertyTestSetup.java | 5585 | /*
* 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... | agpl-3.0 |
StarshineOnline/Starshine-Online | attaque.php | 24595 | <?php // -*- tab-width:2; mode: php -*-
/**
* @file attaque.php
* Gestion des combats
*/
if (file_exists('root.php'))
include_once('root.php');
//Inclusion des fichiers indispensables
include_once(root.'inc/fp.php');
$perso = &joueur::get_perso();
$interf_princ = $G_interf->creer_jeu();
$interf_princ->verif_m... | agpl-3.0 |
dmitr25/demobbed-viewer | js/nuEventsData/nuMu/loadEvent10180007950.js | 7832 | demobbed.resetEvent();
demobbed.event().id(10180007950);
demobbed.event().date(1277775832000);
demobbed.event().hitsTT()[0] = [
new HitTT(10000, 173.93, 188.39, 38.39),
new HitTT(10001, 163.16, 188.39, 8.31),
new HitTT(10002, 173.36, 201.79, 70.94),
new HitTT(10003, 170.72, 201.79, 135.75),
new HitTT(10004,... | agpl-3.0 |
Naeka/vosae-app | www/timeline/api/resources/__init__.py | 473 | # -*- coding:Utf-8 -*-
from timeline.api.resources import contacts_entries
from timeline.api.resources.contacts_entries import *
from timeline.api.resources import invoicing_entries
from timeline.api.resources.invoicing_entries import *
from timeline.api.resources import timeline_entry_resource
from timeline.api.resou... | agpl-3.0 |
aydancoskun/fairness | classes/modules/install/InstallSchema_1050A.class.php | 1500 | <?php
/*********************************************************************************
* FairnessTNA is a Workforce Management program forked from TimeTrex in 2013,
* copyright Aydan Coskun. Original code base is copyright TimeTrex Software Inc.
*
* This program is free software: you can redistribute it and/or mo... | agpl-3.0 |
kaltura/playkit-android | playkit/src/main/java/com/kaltura/playkit/PKAbrFilter.java | 114 | package com.kaltura.playkit;
public enum PKAbrFilter {
NONE,
BITRATE,
HEIGHT,
WIDTH,
PIXEL
}
| agpl-3.0 |
pinfort/mastodon | app/models/area_feed.rb | 1224 | # frozen_string_literal: true
class AreaFeed < PublicFeed
# @param [Array<String>] instances
# @param [Account] account
# @param [Hash] options
# @option [Boolean] :with_replies
# @option [Boolean] :with_reblogs
# @option [Boolean] :local
# @option [Boolean] :remote
# @option [Boolean] :only_media
de... | agpl-3.0 |
hamstar0/tml-hamstarhelpers-mod | HamstarHelpers/Helpers/HUD/HUDHelpers.cs | 429 | using System;
using Terraria;
namespace HamstarHelpers.Helpers.HUD {
/// <summary>
/// Assorted static "helper" functions pertaining to general HUD.
/// </summary>
public partial class HUDHelpers {
/// <summary>
/// Indicates if `Main.LocalPlayer.mouseInterface` was true at the end of the previous tick.
/... | agpl-3.0 |