repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
situx/POSTagger | src/main/java/com/github/situx/postagger/dict/chars/asian/JapaneseChar.java | 2740 | /*
* Copyright (C) 2017. Timo Homburg
* 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 ... | gpl-3.0 |
bishalgautam/CodePathII | week6/globitek 4/public/index.php | 642 | <?php
require_once('../private/initialize.php');
?>
<?php $page_title = 'Globitek'; ?>
<?php include(SHARED_PATH . '/header.php'); ?>
<?php include(SHARED_PATH . '/public_menu.php'); ?>
<div id="main-content">
<div id="home">
<h1>Welcome to Globitek!</h1>
<p style="width: 500px;">
Globitek is a wor... | gpl-3.0 |
illya13/ethermint | vendor/github.com/tendermint/abci/example/chain_aware/chain_aware_test.go | 1249 | package main
import (
"strconv"
"strings"
"testing"
. "github.com/tendermint/go-common"
"github.com/tendermint/abci/client"
"github.com/tendermint/abci/server"
"github.com/tendermint/abci/types"
)
func TestChainAware(t *testing.T) {
app := NewChainAwareApplication()
// Start the listener
srv, err := serv... | gpl-3.0 |
kenshay/ImageScripter | ProgramData/SystemFiles/Python/Lib/site-packages/skimage/measure/tests/test_regionprops.py | 15332 | import math
import functools
import numpy as np
from skimage.measure._regionprops import (regionprops as regionprops_default,
PROPS, perimeter, _parse_docs)
from skimage._shared import testing
from skimage._shared.testing import (assert_array_equal, assert_almost_equal,
... | gpl-3.0 |
grapefruitinc/grapefruit | spec/factories/assignment_types.rb | 594 | # == Schema Information
#
# Table name: assignment_types
#
# id :integer not null, primary key
# name :string(255)
# default_point_value :float(24)
# drops_lowest :boolean
# percentage :float(24)
# course_id :integer
# created_at :dateti... | gpl-3.0 |
AlexTMjugador/mtasa-blue | MTA10/core/CMainMenu.cpp | 42701 | /*****************************************************************************
*
* PROJECT: Multi Theft Auto v1.0
* LICENSE: See LICENSE in the top level directory
* FILE: core/CMainMenu.cpp
* PURPOSE: 2D Main menu graphical user interface
* DEVELOPERS: Cecill Etheredge <ijsf@gmx.net>
* ... | gpl-3.0 |
cppisfun/GameEngine | foreign/boost/libs/mpl/preprocessed/list/list50.cpp | 518 |
// Copyright Aleksey Gurtovoy 2002-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/mpl for documentation.
// $Id: list50.cpp 49268 2008-10-11 06:26:17Z agu... | gpl-3.0 |
Radarr/Radarr | src/NzbDrone.Core.Test/MovieTests/MovieIsAvailableFixture.cs | 6227 | using System;
using FizzWare.NBuilder;
using FluentAssertions;
using NUnit.Framework;
using NzbDrone.Core.Movies;
using NzbDrone.Core.Test.Framework;
namespace NzbDrone.Core.Test.MovieTests
{
[TestFixture]
public class MovieIsAvailableFixture : CoreTest
{
private Movie _movie;
[SetUp]
... | gpl-3.0 |
vincentleon/MEPP | src/components/Analysis/Correspondence/src/libicp/matrix.cpp | 23182 | /*
Copyright 2011. All rights reserved.
Institute of Measurement and Control Systems
Karlsruhe Institute of Technology, Germany
Authors: Andreas Geiger
matrix 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; eith... | gpl-3.0 |
s20121035/rk3288_android5.1_repo | packages/apps/Gallery2/src_pd/com/android/gallery3d/util/IntentHelper.java | 1162 | /*
* Copyright (C) 2013 The Android Open Source Project
*
* 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 app... | gpl-3.0 |
crazyhottommy/manta | src/c++/lib/svgraph/EdgeInfoUtil.cpp | 2106 | // -*- mode: c++; indent-tabs-mode: nil; -*-
//
// Manta - Structural Variant and Indel Caller
// Copyright (c) 2013-2015 Illumina, Inc.
//
// 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, eit... | gpl-3.0 |
lambdablocks/blocks-front-react | src/components/Brick.js | 2407 | import React, { PropTypes, Component } from 'react'
import { Group, Text } from 'react-art'
import Rectangle from 'react-art/lib/Rectangle.art'
import composeBrick from './composeBrick'
import { getConstant } from './constants'
import { getFillColor } from '../utils'
import {
BindingPropTypes,
PositionPropTypes,
... | gpl-3.0 |
jasonehines/mycroft-core | mycroft/skills/container.py | 3372 | # Copyright 2016 Mycroft AI, Inc.
#
# This file is part of Mycroft Core.
#
# Mycroft Core 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 versio... | gpl-3.0 |
ProjectTegano/Tegano | src/libwolframe_langbind/input.cpp | 3149 | /************************************************************************
Copyright (C) 2011 - 2014 Project Wolframe.
All rights reserved.
This file is part of Project Wolframe.
Commercial Usage
Licensees holding valid Project Wolframe Commercial licenses may
use this file in accordance with the Project Wolframe
Comm... | gpl-3.0 |
benlo06/dolibarr | htdocs/websites/class/websitepage.class.php | 18875 | <?php
/* Copyright (C) 2007-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2014 Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2015 Florian Henry <florian.henry@open-concept.pro>
* Copyright (C) 2015 Raphaël Doursenaud <rdoursenaud@gpcsolutions.fr>
* Copyrigh... | gpl-3.0 |
carlpulley/chs2580-assignment | db/schema.rb | 3983 | # This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your
# dat... | gpl-3.0 |
ded-zamkad/wp-flickr-embed-plus | include/class.flickr.php | 22785 | <?php
/**
* Flickr API Kit with support for OAuth 1.0a for PHP >= 5.3.0. Requires curl.
*
* Author: David Wilkinson
* Web: http://dopiaza.org/
*
* Copyright (c) 2012 David Wilkinson
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* documentation... | gpl-3.0 |
stevenvandervalk/aodn-portal | web-app/js/portal/utils/ObservableUtils.js | 694 | Ext.namespace('Portal.utils');
Portal.utils.ObservableUtils = {
FUNCTIONS_TO_FORWARD: [
'addEvents',
'addListener',
'enableBubble',
'fireEvent',
'hasListener',
'on',
'purgeListeners',
'relayEvents',
'removeListener',
'resumeEvents',
... | gpl-3.0 |
tgvaughan/bacter | src/bacter/util/parsers/ExtendedNewickVisitor.java | 2686 | // Generated from /Users/vaughant/code/beast_and_friends/bacter/src/bacter/util/parsers/ExtendedNewick.g4 by ANTLR 4.7
package bacter.util.parsers;
import org.antlr.v4.runtime.tree.ParseTreeVisitor;
/**
* This interface defines a complete generic visitor for a parse tree produced
* by {@link ExtendedNewickParser}.
... | gpl-3.0 |
Nivl/www.melvin.re | nivls_website/seo/admin.py | 327 | from django.contrib import admin
from django.contrib.contenttypes import generic
from models import *
class InlineSeo(generic.GenericTabularInline):
model = SeoEverywhere
max_num = 1
extra = 0
class InlineMicroData(generic.GenericTabularInline):
model = SeoMicroData
extra = 1
admin.site.registe... | gpl-3.0 |
ekansa/open-context-py | opencontext_py/apps/edit/modlinkentities.py | 10148 | import os
import codecs
from django.conf import settings
from django.db import models
from django.db.models import Q
from opencontext_py.apps.entities.uri.models import URImanagement
from opencontext_py.apps.ldata.linkentities.models import LinkEntity
from opencontext_py.apps.ocitems.manifest.models import Manifest
fro... | gpl-3.0 |
ucsf-ckm/moodle | course/tests/behat/behat_course.php | 86163 | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle ... | gpl-3.0 |
Excommunicated/Hangfire | src/Hangfire.Core/Obsolete/IBootstrapperConfiguration.cs | 4189 | // This file is part of Hangfire.
// Copyright © 2013-2014 Sergey Odinokov.
//
// Hangfire 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 3
// of the License, or any later version.... | gpl-3.0 |
reinhrst/panda | usr/lib/python2.7/dist-packages/chardet/escprober.py | 47 | ../../../../share/pyshared/chardet/escprober.py | gpl-3.0 |
jfrazelle/boulder | vendor/github.com/zmap/zlint/lints/lint_path_len_constraint_improperly_included.go | 2312 | package lints
/*
* ZLint Copyright 2018 Regents of the University of Michigan
*
* 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 req... | mpl-2.0 |
tommynsong/terraform | working_dir.go | 377 | package main
import "github.com/hashicorp/terraform/internal/command/workdir"
func WorkingDir(originalDir string, overrideDataDir string) *workdir.Dir {
ret := workdir.NewDir(".") // caller should already have used os.Chdir in "-chdir=..." mode
ret.OverrideOriginalWorkingDir(originalDir)
if overrideDataDir != "" {... | mpl-2.0 |
hhdevelopment/ocelot | ocelot-web/src/test/java/org/ocelotds/web/CdiBootstrapTest.java | 3131 | /* 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.ocelotds.web;
import java.lang.annotation.Annotation;
import java.util.HashSet;
import java.uti... | mpl-2.0 |
CUModSquad/Camelot-Unchained | game/hud/src/components/fullscreen/PaperDoll/PopupMiniInventory.tsx | 15960 | /*
* 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 React, { useContext } from 'react';
import * as _ from 'lodash';
import { css } from '@csegames/lina... | mpl-2.0 |
servinglynk/servinglynk-hmis | hmis-service-v2014/src/main/java/com/servinglynk/hmis/warehouse/service/impl/IncomeAndSourceServiceImpl.java | 4770 | package com.servinglynk.hmis.warehouse.service.impl;
import java.time.LocalDateTime;
import java.util.List;
import java.util.UUID;
import org.springframework.transaction.annotation.Transactional;
import com.servinglynk.hmis.warehouse.SortedPagination;
import com.servinglynk.hmis.warehouse.core.model.IncomeAndSource... | mpl-2.0 |
tafia/servo | components/layout/layout_task.rs | 70634 | /* 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/. */
//! The layout task. Performs layout on the DOM, builds display lists and sends them to be
//! painted.
#![allow(... | mpl-2.0 |
Enterprise-Content-Management/infoarchive-sip-sdk | core/src/main/java/com/opentext/ia/sdk/dto/Contents.java | 184 | /*
* Copyright (c) 2016-2017 by OpenText Corporation. All Rights Reserved.
*/
package com.opentext.ia.sdk.dto;
public class Contents extends ItemContainer<NamedLinkContainer> {
}
| mpl-2.0 |
Distrotech/libpwd | src/lib/WP6GraphicsBoxStylePacket.cpp | 9380 | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
/* libwpd
* Version: MPL 2.0 / LGPLv2.1+
*
* 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... | mpl-2.0 |
ricardclau/packer | vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-06-01/subscriptions/subscriptions.go | 10363 | package subscriptions
// Copyright (c) Microsoft and contributors. 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
//
... | mpl-2.0 |
digidotcom/xbeewificloudkit | karma/karma-unit.tpl.js | 2096 | module.exports = function ( karma ) {
karma.configure({
/**
* From where to look for files, starting with the location of this file.
*/
basePath: '../../',
/**
* This is the list of file patterns to load into the browser during testing.
*/
files: [
<% scripts.forEach( functi... | mpl-2.0 |
openMF/mifosx-e2e-testing | browsermob-proxy/src/main/java/org/browsermob/proxy/jetty/log/LogSink.java | 1991 | // ========================================================================
// Copyright (c) 1997 MortBay Consulting, Sydney
// $Id: LogSink.java,v 1.1 2004/06/04 21:37:20 gregwilkins Exp $
// ========================================================================
package org.browsermob.proxy.jetty.log;
import org.b... | mpl-2.0 |
pvandervelde/packer | builder/hyperv/iso/builder.go | 17473 | package iso
import (
"errors"
"fmt"
"log"
"os"
"path/filepath"
"strings"
hypervcommon "github.com/hashicorp/packer/builder/hyperv/common"
"github.com/hashicorp/packer/common"
powershell "github.com/hashicorp/packer/common/powershell"
"github.com/hashicorp/packer/common/powershell/hyperv"
"github.com/hashic... | mpl-2.0 |
geoffschoeman/notes | src/notemodel.cpp | 4338 | #include "notemodel.h"
#include <QDebug>
NoteModel::NoteModel(QObject *parent)
: QAbstractListModel(parent)
{
}
NoteModel::~NoteModel()
{
}
QModelIndex NoteModel::addNote(NoteData* note)
{
const int rowCnt = rowCount();
beginInsertRows(QModelIndex(), rowCnt, rowCnt);
m_noteList << note;
endInse... | mpl-2.0 |
GENIVI/CANdevStudio | src/components/canload/tests/canloadmodel_test.cpp | 2766 | #include <QtWidgets/QApplication>
#include <canloadmodel.h>
#include <datamodeltypes/canrawdata.h>
#define CATCH_CONFIG_RUNNER
#include "log.h"
#include <QSignalSpy>
#include <catch.hpp>
#include <fakeit.hpp>
std::shared_ptr<spdlog::logger> kDefaultLogger;
// needed for QSignalSpy cause according to qtbug 49623 commen... | mpl-2.0 |
libigl/libigl-examples | intersections/example.cpp | 16707 | #include <igl/Camera.h>
#include <igl/opengl/OpenGL_convenience.h>
#include <igl/barycenter.h>
#include <igl/cat.h>
#include <igl/opengl2/draw_floor.h>
#include <igl/opengl2/draw_mesh.h>
#include <igl/get_seconds.h>
#include <igl/jet.h>
#include <igl/list_to_matrix.h>
#include <igl/material_colors.h>
#include <igl/matl... | mpl-2.0 |
nnethercote/servo | tests/wpt/web-platform-tests/bluetooth/characteristic/getDescriptor/gen-descriptor-get-same-object.https.window.js | 1636 | // META: script=/resources/testharness.js
// META: script=/resources/testharnessreport.js
// META: script=/resources/testdriver.js
// META: script=/resources/testdriver-vendor.js
// META: script=/bluetooth/resources/bluetooth-helpers.js
// Generated by //third_party/WebKit/LayoutTests/bluetooth/generate.py
'use strict'... | mpl-2.0 |
ericawright/bedrock | tests/pages/regions/download_button.py | 965 | # 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/.
from selenium.webdriver.common.by import By
from pages.base import BaseRegion
class DownloadButton(BaseRegion):
... | mpl-2.0 |
Enterprise-Content-Management/infoarchive-sip-sdk | core/src/main/java/com/opentext/ia/sdk/dto/StorageEndPoints.java | 189 | /*
* Copyright (c) 2016-2017 by OpenText Corporation. All Rights Reserved.
*/
package com.opentext.ia.sdk.dto;
public class StorageEndPoints extends ItemContainer<StorageEndPoint> {
}
| mpl-2.0 |
Fidaman/Camelot-Unchained | widgets/cu-character-creation/lib/services/session/genders.d.ts | 423 | /**
* 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 { gender } from 'camelot-unchained';
export declare function selectGender(selected: gender): {
type... | mpl-2.0 |
choreos/enactment_engine | cookbooks/jar/recipes/default.rb | 1188 | # 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/.
include_recipe "apt" # java recipe is failing without recipe apt
include_recipe "java"
remote_file "#{node['CHOReOSDat... | mpl-2.0 |
Yukarumya/Yukarum-Redfoxes | addon-sdk/source/test/test-require.js | 2278 | /* 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 traceback = require('sdk/console/traceback');
const REQUIRE_LINE_NO = 29;
exports.test_no_arg... | mpl-2.0 |
Yukarumya/Yukarum-Redfoxes | js/src/tests/test262/ch12/12.9/12.9-1.js | 869 | /// Copyright (c) 2012 Ecma International. All rights reserved.
/// Ecma International makes this code available under the terms and conditions set
/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
/// "Use Terms"). Any redistribution of this code must retain the above
/// copyright an... | mpl-2.0 |
imujjwal96/Brime | app/src/androidTest/java/com/procleus/brime/ApplicationTest.java | 349 | package com.procleus.brime;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
supe... | agpl-3.0 |
FreecraftCore/FreecraftCore.Serializer | src/FreecraftCore.Serializer.Compiler/IsExternalInit.cs | 220 | //See: https://stackoverflow.com/questions/64749385/predefined-type-system-runtime-compilerservices-isexternalinit-is-not-defined
namespace System.Runtime.CompilerServices
{
internal static class IsExternalInit { }
} | agpl-3.0 |
roselleebarle04/AIDR | aidr-persister/src/main/java/qa/qcri/aidr/persister/api/Persister4CollectionAPI.java | 3052 | /**
* REST Web Service
*
* @author Imran
*/
package qa.qcri.aidr.persister.api;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import org.apache.commons.lang.StringUtils;
import org.... | agpl-3.0 |
krille90/unitystation | UnityProject/Assets/Scripts/Electricity/PoweredDevices/APCPoweredDevice.cs | 3519 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using UnityEngine;
using Mirror;
using Debug = UnityEngine.Debug;
public class APCPoweredDevice : NetworkBehaviour, IServerDespawn
{
public float MinimumWorkingVoltage = 190;
public float MaximumWorkingVoltage = 300;... | agpl-3.0 |
City-of-Bloomington/green-rental | rentrocket/settings.py | 10440 | # Django settings for rentrocket project.
import os
# Set up relative references with "os"
BASE_DIR = os.path.abspath(os.path.dirname(__file__)) + os.sep
# Make sure the project is on the PYTHONPATH
import sys
if BASE_DIR not in sys.path:
sys.path.append(BASE_DIR)
ADMINS = (
#('Admin', 'admin@rentrocket.org'... | agpl-3.0 |
aborg0/RapidMiner-Unuk | src/com/rapidminer/gui/look/borders/ButtonBorder.java | 4542 | /*
* RapidMiner
*
* Copyright (C) 2001-2013 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 License as pub... | agpl-3.0 |
antoine-de/navitia | source/calendar/calendar_api.cpp | 3629 | /* Copyright © 2001-2014, Canal TP and/or its affiliates. All rights reserved.
This file is part of Navitia,
the software to build cool stuff with public transport.
Hope you'll enjoy and contribute to this project,
powered by Canal TP (www.canaltp.fr).
Help us simplify mobility and open public transport:
... | agpl-3.0 |
FullMetal210/milton2 | external/cardme/src/main/java/info/ineighborhood/cardme/vcard/features/KeyFeature.java | 5262 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | agpl-3.0 |
open-health-hub/openmaxims-linux | openmaxims_workspace/Nursing/src/ims/nursing/forms/skinbodychart/GenForm.java | 42250 | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | agpl-3.0 |
dmeltzer/snipe-it | app/Models/Loggable.php | 5826 | <?php
namespace App\Models;
use App\Notifications\AuditNotification;
use Illuminate\Support\Facades\Auth;
trait Loggable
{
/**
* @author Daniel Meltzer <dmeltzer.devel@gmail.com>
* @since [v3.4]
* @return \App\Models\Actionlog
*/
public function log()
{
return $this->morphM... | agpl-3.0 |
RestComm/jasn | asn-impl/src/main/java/org/mobicents/protocols/asn/AsnException.java | 1365 | /*
* JBoss, Home of Professional Open Source
* Copyright 2011, Red Hat, Inc. 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 G... | agpl-3.0 |
venturehive/canvas-lms | app/jsx/calendar/scheduler/reducer.js | 1247 | /*
* Copyright (C) 2016 - present 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 distribut... | agpl-3.0 |
Irstea/collec | display/node_modules/alpaca/src/js/views/jquerymobile.js | 4403 | /**
* jQuery Mobile Theme ("mobile")
*
* Defines the Alpaca theme for jQuery Mobile.
*
* The views are:
*
* jquerymobile-view
* jquerymobile-edit
* jquerymobile-create
*
* This theme can also be selected by specifying the following view:
*
* {
* "ui": "jquerymobile",
* "type": "vi... | agpl-3.0 |
sysraj86/carnivalcrm | custom/Extension/modules/relationships/language/Quotes.php | 516 | <?php
//THIS FILE IS AUTO GENERATED, DO NOT MODIFY
$mod_strings['LBL_ACCOUNTS_QUOTES_FROM_ACCOUNTS_TITLE'] = 'GITs';
$mod_strings['LBL_CONTACTS_QUOTES_FROM_CONTACTS_TITLE'] = 'Contacts';
$mod_strings['LBL_QUOTES_TOURS_FROM_TOURS_TITLE'] = 'Tours';
$mod_strings['LBL_QUOTES_ODERS_FROM_ODERS_TITLE'] = 'Oders';
$mod_string... | agpl-3.0 |
rogpeppe/juju | cmd/juju/removeunit.go | 1207 | // Copyright 2012, 2013 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package main
import (
"fmt"
"github.com/juju/cmd"
"github.com/juju/names"
"github.com/juju/juju/cmd/envcmd"
"github.com/juju/juju/juju"
)
// RemoveUnitCommand is responsible for destroying service units.
type Re... | agpl-3.0 |
gangadhar-kadam/sapphire_app | patches/january_2013/give_report_permission_on_read.py | 239 | # Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
# License: GNU General Public License v3. See license.txt
import webnotes
def execute():
webnotes.conn.sql("""update tabDocPerm set `report`=`read`
where ifnull(permlevel,0)=0""")
| agpl-3.0 |
horus68/SuiteCRM-Horus68 | Zend/Gdata/Photos/UserQuery.php | 9946 | <?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 a... | agpl-3.0 |
RBSWebFactory/modules.website | lib/phptal/FormElements.php | 4733 | <?php
class FormElement extends ChangeTalAttribute
{
/**
* @see ChangeTalAttribute::getEvaluatedParameters()
*
* @return String[]
*/
protected function getEvaluatedParameters()
{
return array('value', 'evaluatedname', 'evaluatedlabel');
}
/**
* @see ChangeTalAttribute::getRenderClassName()
*
... | agpl-3.0 |
harihpr/tweetclickers | test/test_admin.py | 31857 | # -*- coding: utf8 -*-
# This file is part of PyBossa.
#
# Copyright (C) 2013 SF Isle of Man Limited
#
# PyBossa is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at... | agpl-3.0 |
emgirardin/compassion-modules | child_compassion/models/child_note.py | 1595 | # -*- encoding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2016 Compassion CH (http://www.compassion.ch)
# Releasing children from poverty in Jesus' name
# @author: Maxime Beck <mbcompte@gmail.com>
#
# The licence is in the file __openerp__.py
... | agpl-3.0 |
ArminMa/metabaseElectronExecutable | frontend/src/metabase/questions/undo.js | 2302 |
import { createAction, createThunkAction } from "metabase/lib/redux";
import MetabaseAnalytics from "metabase/lib/analytics";
import _ from "underscore";
const ADD_UNDO = 'metabase/questions/ADD_UNDO';
const DISMISS_UNDO = 'metabase/questions/DISMISS_UNDO';
const PERFORM_UNDO = 'metabase/questions/PERFORM_UNDO';
l... | agpl-3.0 |
xs2maverick/adhocracy3.mercator | src/adhocracy_frontend/adhocracy_frontend/tests/acceptance/RateSpec.js | 2089 | "use strict";
var shared = require("./shared.js");
var EmbeddedCommentsPage = require("./EmbeddedCommentsPage.js");
describe("ratings", function() {
var page;
beforeEach(function() {
shared.loginParticipant();
page = new EmbeddedCommentsPage("c1").get();
});
it("can upvote", functio... | agpl-3.0 |
TeamHypersomnia/Hypersomnia | src/3rdparty/Box2D/Dynamics/b2Island.cpp | 16656 | /*
* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose,
* i... | agpl-3.0 |
bisq-network/exchange | desktop/src/test/java/bisq/desktop/ComponentsDemoLauncher.java | 204 | package bisq.desktop;
import javafx.application.Application;
public class ComponentsDemoLauncher {
public static void main(String[] args) {
Application.launch(ComponentsDemo.class);
}
}
| agpl-3.0 |
dwango/mastodon | app/javascript/mastodon/features/status/index.js | 15020 | import Immutable from 'immutable';
import React from 'react';
import { connect } from 'react-redux';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import ImmutablePropTypes from 'react-immutable-proptypes';
import { fetchStatus } from '../../actions/statuses';
import MissingIndicator from '..... | agpl-3.0 |
brain-tec/server-tools | base_search_fuzzy/models/trgm_index.py | 5775 | # Copyright 2016 Eficent Business and IT Consulting Services S.L.
# Copyright 2016 Serpent Consulting Services Pvt. Ltd.
# Copyright 2017 LasLabs Inc.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
import logging
from odoo import _, api, exceptions, fields, models
from psycopg2.extensions import AsIs... | agpl-3.0 |
frankrousseau/weboob | modules/lutim/pages.py | 1113 | # -*- coding: utf-8 -*-
# Copyright(C) 2014 Vincent A
#
# This file is part of weboob.
#
# weboob 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 opt... | agpl-3.0 |
snap-cloud/snap-cloud | config/initializers/paperclip.rb | 233 | # Paperclip initializer
# change the default paths to work with S3.
Paperclip::Attachment.default_options[:url] = ':s3_domain_url'
Paperclip::Attachment.default_options[:path] = '/:class/:attachment/:id_partition/:style/:filename'
| agpl-3.0 |
BuildingSMART/IfcDoc | IfcKit/schemas/IfcDateTimeResource/IfcDayInMonthNumber.cs | 698 | // This file may be edited manually or auto-generated using IfcKit at www.buildingsmart-tech.org.
// IFC content is copyright (C) 1996-2018 BuildingSMART International Ltd.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentMo... | agpl-3.0 |
ritumalhotra8/IRIS | interaction-core/src/test/java/com/temenos/interaction/core/rim/TestResponseHTTPHypermediaRIM.java | 114118 | package com.temenos.interaction.core.rim;
/*
* #%L
* interaction-core
* %%
* Copyright (C) 2012 - 2013 Temenos Holdings N.V.
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, ... | agpl-3.0 |
HZKnight/hzguestbook | env/dbmanager.class.php | 3968 | <?php
/*
* Copyright (C) 2014 Luca
*
* 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 ... | agpl-3.0 |
firewalla/firewalla | platform/docker/DockerPlatform.js | 1411 | /* Copyright 2016 Firewalla LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
*... | agpl-3.0 |
kailIII/emaresa | trunk.pe/account_reconcile_modifier/wizard/account_reconcile.py | 8383 | # -*- coding: utf-8 -*-
##############################################################################
#
# Author: OpenDrive Ltda
# Copyright (c) 2013 Opendrive Ltda
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsibility of assessing all potential
# cons... | agpl-3.0 |
rafaelcoutinho/sislegis-app | src/main/java/br/gov/mj/sislegis/app/model/Comentario.java | 2515 | package br.gov.mj.sislegis.app.model;
import java.util.Date;
import java.util.Objects;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persi... | agpl-3.0 |
Muhannes/diaspora | app/controllers/likes_controller.rb | 1792 | # Copyright (c) 2010-2011, Diaspora Inc. This file is
# licensed under the Affero General Public License version 3 or later. See
# the COPYRIGHT file.
class LikesController < ApplicationController
include ApplicationHelper
before_action :authenticate_user!
respond_to :html,
:mobile,
... | agpl-3.0 |
erdincay/lpclientpc | src/com/lp/editor/ui/LpToolBarButton.java | 2743 | /*******************************************************************************
* HELIUM V, Open Source ERP software for sustained success
* at small and medium-sized enterprises.
* Copyright (C) 2004 - 2015 HELIUM V IT-Solutions GmbH
*
* This program is free software: you can redistribute it and/or modify
* it... | agpl-3.0 |
neo4j-attic/graphdb | graph-algo/src/test/java/common/SimpleGraphBuilder.java | 8151 | /**
* Copyright (c) 2002-2011 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j 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 F... | agpl-3.0 |
open-health-hub/openmaxims-linux | openmaxims_workspace/Clinical/src/ims/clinical/forms/surgicalauditprocedurestaffdialog/GlobalContext.java | 6088 | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | agpl-3.0 |
kaltura/KalturaGeneratedAPIClientsJava | src/main/java/com/kaltura/client/enums/EntryApplication.java | 2415 | // ===================================================================================================
// _ __ _ _
// | |/ /__ _| | |_ _ _ _ _ __ _
// | ' </ _` | | _| || | '_/ _` |
// |_|\_\__,_|_|\__|\_,_|_| \_... | agpl-3.0 |
trobert2/juju-core | utils/fslock/fslock_test.go | 8305 | // Copyright 2013 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package fslock_test
import (
"fmt"
"io/ioutil"
"os"
"path"
"runtime"
"sync/atomic"
"time"
gc "launchpad.net/gocheck"
"launchpad.net/tomb"
coretesting "launchpad.net/juju-core/testing"
"launchpad.net/juju-core/tes... | agpl-3.0 |
GluuFederation/gluu-Asimba | asimba-wa/src/test/java/org/asimba/wa/integrationtest/saml/CustomAuthnRequestIntegrationTest.java | 4755 | /*
* Asimba - Serious Open Source SSO
*
* Copyright (C) 2014 Asimba
*
* 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 |
RBSWebFactory/framework | persistentdocument/import/ScriptBindingElement.class.php | 784 | <?php
class import_ScriptBindingElement extends import_ScriptBaseElement
{
public function process()
{
if (isset($this->attributes['fileName']))
{
$fileName = f_util_FileUtils::buildAbsolutePath(WEBEDIT_HOME, $this->attributes['fileName']);
if (file_exists($fileName))
{
$this->script->execu... | agpl-3.0 |
sharmila76/empower_fresh_setup | custom/Extension/modules/HRM_Holydays/Ext/Language/en_us.HRM.php | 31769 | <?php
$mod_strings [ "LBL_HRM_EMPLOYEES_HRM_HOLYDAYS_FROM_HRM_EMPLOYEES_TITLE" ] = "Employees" ;
$mod_strings [ "LBL_HRM_EMPLOYEES_HRM_HOLYDAYS_FROM_HRM_EMPLOYEES_TITLE" ] = "Employees" ;
$mod_strings [ "LBL_HRM_EMPLOYEES_HRM_HOLYDAYS_FROM_HRM_EMPLOYEES_TITLE" ] = "Employees" ;
$mod_strings [ "LBL_HRM_EMPLOYEES_HRM_HOL... | agpl-3.0 |
open-health-hub/openmaxims-linux | openmaxims_workspace/ValueObjects/src/ims/core/vo/domain/LocSiteFullVoAssembler.java | 23722 | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | agpl-3.0 |
zh/statusnet | plugins/Bookmark/importbookmarks.php | 2631 | <?php
/**
* StatusNet - the distributed open-source microblogging tool
* Copyright (C) 2010 StatusNet, Inc.
*
* Import a bookmarks file as notices
*
* PHP version 5
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as publish... | agpl-3.0 |
FaizaGara/lima | lima_common/src/common/MediaProcessors/MediaProcessUnitPipeline.cpp | 994 | /*
Copyright 2002-2013 CEA LIST
This file is part of LIMA.
LIMA 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 versi... | agpl-3.0 |
salesagility-davidthomson/SuiteCRM | soap/SoapError.php | 3815 | <?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
* SuiteCRM... | agpl-3.0 |
PopulateTools/gobierto-dev | config/webpack/config/splitChunks.js | 141 | module.exports = {
optimization: {
runtimeChunk: false,
splitChunks: {
chunks: chunk => chunk.name !== "embeds"
}
}
};
| agpl-3.0 |
afishbeck/HPCC-Platform | system/security/test/author/StdAfx.cpp | 1099 | /*##############################################################################
Copyright (C) 2011 HPCC Systems.
All rights reserved. This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foun... | agpl-3.0 |
mbauskar/internal-hr | erpnext/accounts/doctype/sales_invoice/sales_invoice.py | 28480 | # 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
import frappe.defaults
from frappe.utils import add_days, cint, cstr, date_diff, flt, getdate, nowdate, \
get_first_day, get_last_day... | agpl-3.0 |
veda-consulting/uk.co.vedaconsulting.mosaico | ang/crmMosaico/AdvancedDialogCtrl.js | 458 | (function(angular, $, _) {
// Controller for editing mail-content with Mosaico in a popup dialog
// Scope members:
// - [input] "model": Object
// - "mailing": Object, CiviMail mailing
// - "attachments": Object, CrmAttachment
angular.module('crmMosaico').controller('CrmMosaicoAdvancedDialogCtrl'... | agpl-3.0 |
mohierf/fusioninventory-for-glpi | scripts/logging.php | 2483 | <?php
/**
* Logging facility
*/
ini_set("log_errors", true);
ini_set('display_errors', 'On');
error_reporting(E_ALL | E_STRICT);
set_error_handler(null);
include_once(__DIR__ . "/../../../inc/toolbox.class.php");
class Logging {
public static $LOG_CRITICAL = ['level'=>50, 'name'=>'CRITICAL '];
public static... | agpl-3.0 |
ESOedX/edx-platform | common/lib/safe_lxml/safe_lxml/tests.py | 624 | """Test that we have defused XML."""
from __future__ import absolute_import
import defusedxml
from lxml import etree
import pytest
@pytest.mark.parametrize("attr", ["XML", "fromstring", "parse"])
def test_etree_is_defused(attr):
func = getattr(etree, attr)
assert "defused" in func.__code__.co_filename
de... | agpl-3.0 |
yonghyun-cho/QueryParser | QueryParser/src/queryParser/parser/PasingTest.java | 4436 | package queryParser.parser;
import java.util.ArrayList;
import java.util.List;
/*
*
SELECT EMP.ENAME, EMP.SAL, DEPT.DNAME, (SELECT EMP.SAL FROM EMP WHERE EMPNO = 7839) FROM EMP, (SELECT DEPT.DNAME, DEPT.DEPTNO, DEPT.LOC FROM DEPT WHERE DEPTNO.SIZE > 100) DEPT WHERE EMP.DEPTNO = DEPT.DEPTNO AND DEPT.LOC = 'C... | agpl-3.0 |