repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
Intermesh/groupoffice-server | lib/IFW.php | 613 | <?php
use IFW\App;
/**
* Global IFW class with static functions to access the application instance.
*
* eg. IFW::app()->config() access the application configuration
*/
class IFW {
private static $app;
/**
* Register the application instance
*
* @param App $app
* @throws Exception
*/
public static ... | agpl-3.0 |
Linaro/lava-server | lava_results_app/views/chart/forms.py | 2583 | # Copyright (C) 2015 Linaro Limited
#
# Author: Stevan Radakovic <stevan.radakovic@linaro.org>
#
# This file is part of Lava Server.
#
# Lava Server 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 Foundat... | agpl-3.0 |
gamchantoi/AgroSHop-UTUAWARDS | var/cache/production_201510221322/templates/frontend_Responsive_id_ID_1/97/7c/fe/977cfeb9bb070320a1c6f58c27362cf6c3284590.snippet.facet-value-list.tpl.php | 5114 | <?php /* Smarty version Smarty-3.1.12, created on 2015-11-09 19:00:26
compiled from "/home/gam/themes/Frontend/Bare/frontend/listing/filter/facet-value-list.tpl" */ ?>
<?php /*%%SmartyHeaderCode:11956854235640df3a270b21-87257079%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty... | agpl-3.0 |
AndranikMarkosyan/lms | app/controllers/provisional_grades_controller.rb | 8598 | #
# Copyright (C) 2011 - 2015 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 hop... | agpl-3.0 |
culturagovbr/CEUs | www/includes/JsLibrary/css/tabelaTarefaNotIE.css | 2104 | body
{
}
#listaTarefas table.tabelaTarefas
{
width: 95%;
padding: 1px;
border-spacing: 1px;
border: 1px;
border-color: #DDDDAA;
border-style: solid;
background-color: #dcdcdc;
border-collapse:
}
#conteudoTarefas
{
width: 95%;
overflow: auto;
height: 450px;
border: 1px;
border-color: #DDDDAA;
border-styl... | agpl-3.0 |
osgcc/ryzom | ryzom/client/src/interface_v3/reflect.cpp | 4462 | // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
// Copyright (C) 2010 Winch Gate Property Limited
//
// 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 ... | agpl-3.0 |
nextcloud/deck | l10n/es_AR.js | 1856 | OC.L10N.register(
"deck",
{
"Deck" : "Deck",
"Personal" : "Personal",
"Finished" : "Terminado",
"To review" : "Para revisar",
"Action needed" : "Acción requerida",
"Later" : "Después",
"copy" : "copiar",
"Done" : "Hecho",
"The uploaded file exceeds the MAX_FILE_SIZE directive... | agpl-3.0 |
azyva/dragom-api | src/main/java/org/azyva/dragom/model/config/NodeConfigTransferObject.java | 7040 | /*
* Copyright 2015 - 2017 AZYVA INC. INC.
*
* This file is part of Dragom.
*
* Dragom 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 |
Ardinis/server | apps/updatenotification/lib/Notification/Notifier.php | 5672 | <?php
/**
* @copyright Copyright (c) 2016, ownCloud, Inc.
*
* @author Joas Schilling <coding@schilljs.com>
* @author Morris Jobke <hey@morrisjobke.de>
*
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, versi... | agpl-3.0 |
ixdu/capsule | modules/timer.js | 457 | var error = require('parts/error');
exports.create = function(callback, millisec, cyclic){
if(typeof(setInterval) == 'undefined'
&&typeof(setTimeout) == 'undefined')
return new error('not supported', 'this platform is not supported timer functionality');
var id = cyclic ? setInterval(callback, millis... | agpl-3.0 |
kobotoolbox/kpi | kpi/tests/api/v2/test_api_permissions.py | 34731 | # coding: utf-8
from django.contrib.auth.models import User, Permission
from django.urls import reverse
from django.utils import timezone
from rest_framework import status
from kpi.constants import (
ASSET_TYPE_COLLECTION,
PERM_CHANGE_ASSET,
PERM_MANAGE_ASSET,
PERM_VIEW_ASSET,
)
from kpi.models import ... | agpl-3.0 |
bikeindex/bike_index | db/migrate/20180918220604_create_exports.rb | 421 | class CreateExports < ActiveRecord::Migration[4.2]
def change
create_table :exports do |t|
t.references :organization, index: true
t.references :user, index: true
t.text :file
t.integer :file_format, default: 0
t.integer :kind, default: 0
t.integer :progress, default: 0
t... | agpl-3.0 |
FriendSoftwareLabs/friendup | interfaces/web_desktop/apps/Server/Templates/server.html | 2476 | <div class="ContentFull LayoutButtonbarBottom">
<div class="VContentTop">
<div id="STabs" class="ContentFull">
<div class="Tab IconSmall fa-wrench">
{i18n_settings_attributes}
</div>
<div class="Tab IconSmall fa-archive">
{i18n_software}
</div>
<div class="Tab IconSmall fa-server">
... | agpl-3.0 |
RealN-RnD/Test-Automation-C | src/netkuliTesting/NetkulixGUI.java | 9645 | /*
* 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 netkuliTesting;
/**
*
* @author Phildor92 <phillip.evans09@hotmail.com>
*/
public class NetkulixGUI extends javax.swing.JFr... | agpl-3.0 |
cchang3/worldview-design | src/animation-module/code/web/js/proj/wv.proj.js | 885 | /*
* NASA Worldview
*
* This code was originally developed at NASA/Goddard Space Flight Center for
* the Earth Science Data and Information System (ESDIS) project.
*
* Copyright (C) 2013 - 2014 United States Government as represented by the
* Administrator of the National Aeronautics and Space Administration.
*... | agpl-3.0 |
SilverDav/Silverpeas-Core | core-war/src/main/java/org/silverpeas/web/notificationserver/channel/silvermail/requesthandlers/ReadMessage.java | 2242 | /*
* Copyright (C) 2000 - 2021 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spec... | agpl-3.0 |
DeepFound/deep_platform | build/cmake/Common.cmake | 2676 | #
# Definitions
#
set(REPOSITORY "$ENV{HOME}/.cmake/deepis")
set(CMAKE_MODULE_PATH "${REPOSITORY}")
#
# Build type and flags
#
include(${TOP}/build/cmake/BuildType.cmake)
include(${TOP}/build/cmake/Defines.cmake)
#
# Compiler
#
set(CMAKE_C_COMPILER gcc)
set(CMAKE_CXX_COMPILER g++)
#
# Verbose make output
#
set(CMAKE... | agpl-3.0 |
lucaswerkmeister/ceylon-herd | db/update-11.sql | 376 | create table ModuleRating (
id int8 not null,
mark int4 not null,
module_id int8,
owner_id int8,
primary key (id)
);
alter table ModuleRating
add constraint FK52DE174953B2465E
foreign key (module_id)
references Module;
alter table ModuleRating
add constraint FK52DE1749B2FABF16 ... | agpl-3.0 |
gvSIGAssociation/gvsig-web | src/main/java/es/gva/dgti/gvgeoportal/security/SafeLoginController.java | 1419 | /*******************************************************************************
* gvGeoportal is sponsored by the General Directorate for Information
* Technologies (DGTI) of the Regional Ministry of Finance and Public
* Administration of the Generalitat Valenciana (Valencian Community,
* Spain), managed by gvSIG ... | agpl-3.0 |
Kaushikbv/Gluster | libglusterfs/src/graph.c | 15858 | /*
Copyright (c) 2010 Gluster, Inc. <http://www.gluster.com>
This file is part of GlusterFS.
GlusterFS is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation; either version 3 of the License,
or (at yo... | agpl-3.0 |
WebsterFolksLabs/cuttlefish | spec/models/email_spec.rb | 6425 | require 'spec_helper'
describe Email do
describe "create!" do
it "should set the default app if none is given" do
email = FactoryGirl.create(:email, app_id: nil)
email.app.should be_default_app
end
context "One email is created" do
before :each do
FactoryGirl.create(:email,
... | agpl-3.0 |
pgdurand/Bioinformatics-UI-API | src/bzh/plealog/bioinfo/ui/feature/FeatureStatusViewer.java | 4589 | /* Copyright (C) 2006-2016 Patrick G. Durand
*
* 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.
*
* Yo... | agpl-3.0 |
ging/isabel | components/MCU/app2/demux.h | 2705 | /*
* ISABEL: A group collaboration tool for the Internet
* Copyright (C) 2009 Agora System S.A.
*
* This file is part of Isabel.
*
* Isabel is free software: you can redistribute it and/or modify
* it under the terms of the Affero GNU General Public License as published by
* the Free Software Foundation, eith... | agpl-3.0 |
openfaux/openfaux-website | HTML/faqs.html | 4424 | <!DOCTYPE html>
<html>
<head>
<title>FAQs - OpenFaux</title>
<link href="/IMG/openfaux-icon-128px.png" rel="icon" type="image/ico">
<link href="/CSS/app.css" rel="stylesheet" type="text/css">
</head>
<body>
<!--#include virtual="/INC/header.html"-->
<!--#include virtual="/INC/under_construction.html"-->... | agpl-3.0 |
tugelbend/friendica | doc/readme.md | 1439 | Friendica Documentation and Resources
=====================================
**Contents**
* General functions - first steps
* [Account Basics](help/Account-Basics)
* [New User Quick Start](help/Quick-Start-guide)
* [Creating posts](help/Text_editor)
* [BBCode tag reference](help/BBCode)
* [Comment, sort an... | agpl-3.0 |
rodrigohubner/openvibe | contrib/packages/wavelet2d/wavelet2s.h | 5213 |
#if defined(TARGET_HAS_ThirdPartyFFTW3)
#ifndef WAVELET2S_H
#define WAVELET2S_H
#include <vector>
#include <complex>
using namespace std;
// 1D Functions
// void* dwt(vector<double> &, int ,string , vector<double> &, vector<double> &);
void* dwt1(string, vector<double> &, vector<double> &, vector<double> &);
... | agpl-3.0 |
Tesora/tesora-dve-pub | tesora-dve-core/src/test/java/com/tesora/dve/sql/FunctionsTest.java | 26017 | package com.tesora.dve.sql;
/*
* #%L
* Tesora Inc.
* Database Virtualization Engine
* %%
* Copyright (C) 2011 - 2014 Tesora Inc.
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Soft... | agpl-3.0 |
mimmi20/Wurfl | src/Configuration/FileConfig.php | 2589 | <?php
/**
* Copyright (c) 2015 ScientiaMobile, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
*... | agpl-3.0 |
AtnNn/rethinkdb | src/rdb_protocol/exceptions.hpp | 1921 | // Copyright 2010-2012 RethinkDB, all rights reserved.
#ifndef RDB_PROTOCOL_EXCEPTIONS_HPP_
#define RDB_PROTOCOL_EXCEPTIONS_HPP_
#include <string>
#include "utils.hpp"
#include "rdb_protocol/bt.hpp"
#include "rpc/serialize_macros.hpp"
namespace query_language {
/* Thrown if the client sends a malformed or nonsensic... | agpl-3.0 |
SilverDav/Silverpeas-Core | core-library/src/main/java/org/silverpeas/core/security/authentication/password/PasswordEncryptionProvider.java | 3947 | /*
* Copyright (C) 2000 - 2021 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spec... | agpl-3.0 |
Spycho/aimmo | aimmo-game/simulation/test/__init__.py | 23 | __author__ = 'c.brett'
| agpl-3.0 |
ChinookBook/ember-simple-validate | addon/mixins/simple-validation-mixin.js | 2032 | import Ember from 'ember';
import _validate from 'ember-simple-validate/utils/validate';
import Validator from 'ember-simple-validate/lib/validator';
var get = Ember.get;
var set = Ember.set;
var validValidator = function(validator) {
return validator instanceof Validator;
};
export default Ember.Mixin.create({
... | agpl-3.0 |
kalikaneko/leap_mx | setup.py | 2678 | # -*- coding: utf-8 -*-
# setup.py
# Copyright (C) 2013 LEAP
#
# 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 ... | agpl-3.0 |
jacklicn/owncloud | core/doc/user/files/gallery_app.html | 19787 | <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Gallery App — ownCloud 10.0.1 User Manual 10.0.1 documentation</title>
<link rel="stylesheet" href="../_static/" type="text/css" />
<link re... | agpl-3.0 |
nuagelabsfr/cloud-gateway | src/scripts/CloudGatewayStatus.sh | 4664 | #!/bin/bash
# Definitions
readonly SCRIPT_DIR=`dirname $0`
readonly ARGC="$#"
# First, try to set up env
if [ -f "${SCRIPT_DIR}/CloudGateway_env.sh" ]; then
. "${SCRIPT_DIR}/CloudGateway_env.sh"
else
echo "Unable to find Cloud Gateway environment file, exiting." 1>&2
exit 1
fi
function usage
{
print_... | agpl-3.0 |
CoughDrop/coughdrop | lib/feature_flags.rb | 3182 | module FeatureFlags
# TODO: remove unused feature flags after like December 2019
AVAILABLE_FRONTEND_FEATURES = ['subscriptions', 'assessments', 'custom_sidebar',
'canvas_render', 'snapshots', 'enable_all_buttons',
'video_recording', 'goals', 'app_connections', 'translation', 'geo_sideb... | agpl-3.0 |
hirakc/eur_crm | modules/Administration/vardefs.php | 5819 | <?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.
*
* This ... | agpl-3.0 |
LiquidPL/osu-web | resources/lang/he-IL/beatmaps.php | 14321 | <?php
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
// See the LICENCE file in the repository root for full licence text.
return [
'discussion-votes' => [
'update' => [
'error' => 'נכשל בעדכון הצבעה',
],
],
'discussio... | agpl-3.0 |
c2corg/v6_ui | c2corg_ui/templates/outing/preview.html | 2361 | <%namespace file="../helpers/view.html" import="get_document_min_max,
get_document_locale_text, get_activities, get_document_description"/>
<%namespace file="../helpers/preview.html" import="show_preview_warning"/>
<%namespace file="helpers/view.html" import="get_outing_snow, get_outing_access,
get_outing_parti... | agpl-3.0 |
jerome-poisson/superdesk-client-core | scripts/apps/authoring/authoring/directives/SendItem.js | 35674 | import _ from 'lodash';
import React from 'react';
import {PreviewModal} from '../previewModal';
SendItem.$inject = ['$q', 'api', 'desks', 'notify', 'authoringWorkspace',
'superdeskFlags', '$location', 'macros', '$rootScope', 'deployConfig',
'authoring', 'send', 'editorResolver', 'confirm', 'archiveService',
... | agpl-3.0 |
luisivan/on | panel/common/cairoutils.h | 1226 | /*
* This file is part of unity-2d
*
* Copyright 2011 Canonical Ltd.
*
* Authors:
* - Aurélien Gâteau <aurelien.gateau@canonical.com>
*
* 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; ... | agpl-3.0 |
andreas-p/nextcloud-server | apps/files_versions/lib/Listener/LoadSidebarListener.php | 1562 | <?php
declare(strict_types=1);
/**
* @copyright Copyright (c) 2019, Roeland Jago Douma <roeland@famdouma.nl>
*
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* @author Roeland Jago Douma <roeland@famdouma.nl>
*
* @license GNU AGPL version 3... | agpl-3.0 |
zielmicha/multilink | multilink/transport_targets.h | 399 | #ifndef TRANSPROT_TARGETS_H_
#define TRANSPROT_TARGETS_H_
#include "multilink/transport.h"
#include "libreactor/tcp.h"
TargetCreator create_connecting_tcp_target_creator(Reactor& reactor, std::string host, int port);
void create_listening_tcp_target_creator(Reactor& reactor, std::shared_ptr<Transport> transport, std::... | agpl-3.0 |
sjtug/mirror-docker | lug/worker-script/archlinux-cn.sh | 190 | #!/bin/bash
RSYNC_PASSWORD=$LUG_password rsync -rtlivH --delete-after --delay-updates --safe-links --max-delete=1000 --contimeout=60 $LUG_username@sync.repo.archlinuxcn.org::repo $LUG_path
| agpl-3.0 |
mvdstruijk/flamingo | viewer/src/main/webapp/viewer-html/common/viewercontroller/flamingo/FlamingoLayer.js | 5324 | /** The FlamingLayer Class **/
/**
* @constructor
* @augments Layer
* @description The superclass for all flamingolayers
* @param id The id of the layer
* @param options The options to be given to the layer
* @param flamingoObject The flamingo object of the layer
*
*/
Ext.define("viewer.viewer... | agpl-3.0 |
LitusProject/Litus | module/ShiftBundle/Controller/Admin/RegistrationSubscriptionController.php | 5908 | <?php
namespace ShiftBundle\Controller\Admin;
use Laminas\Mail\Message;
use Laminas\View\Model\ViewModel;
use ShiftBundle\Entity\RegistrationShift;
use ShiftBundle\Entity\Shift\Registered;
/**
* RegistrationSubscriptionController
*
* @author Pieter Maene <pieter.maene@litus.cc>
*/
class RegistrationSubscriptionC... | agpl-3.0 |
virtapi/virtapi | controllers/storage_controller.rb | 569 | namespace '/storages' do
get do
@storages = Storage.all
return_resource object: @storages
end
post do
@storage = Storage.create!(params[:storage])
return_resource object: @storage
end
before %r{\A/(?<id>\d+)/?.*} do
@storage = Storage.find(params[:id])
end
namespace '/:id' do
de... | agpl-3.0 |
nmc-probe/emulab-nome | www/netemu.php3 | 1261 | <?php
#
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
# This file is part of the Emulab network testbed software.
#
# This file 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 S... | agpl-3.0 |
routetopa/tet | tet/browser/templatetags/keyvalue.py | 127 | from django import template
register = template.Library()
@register.simple_tag
def keyvalue(dict, key):
return dict[key]
| agpl-3.0 |
zcorrecteurs/zcorrecteurs.fr | src/Zco/Bundle/GroupesBundle/Form/GroupType.php | 1347 | <?php
namespace Zco\Bundle\GroupesBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Validator\Constraints as Assert;
final c... | agpl-3.0 |
RestComm/jss7 | cap/cap-api/src/main/java/org/restcomm/protocols/ss7/cap/api/service/circuitSwitchedCall/primitive/CollectedInfo.java | 1352 | /*
* TeleStax, Open Source Cloud Communications
* Copyright 2012, Telestax 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... | agpl-3.0 |
abhinavvaidya90/8.0 | multi_duplication/static/description/index.html | 1715 | <section class="oe_container">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">Multiple Duplication</h2>
<h3 class="oe_slogan">Duplicate multiple records in the List View.</h3>
<div class="oe_span8">
<div class="oe_demo oe_picture oe_screenshot">
<a href="">
... | agpl-3.0 |
suutari/shoop | shuup/admin/utils/str_utils.py | 605 | # This file is part of Shuup.
#
# Copyright (c) 2012-2016, Shoop Commerce Ltd. All rights reserved.
#
# This source code is licensed under the AGPLv3 license found in the
# LICENSE file in the root directory of this source tree.
import re
def camelcase_to_snakecase(string_to_convert):
"""
Convert CamelCase st... | agpl-3.0 |
Tesora/tesora-dve-pub | tesora-dve-common/src/main/java/com/tesora/dve/errmap/OneParamErrorCode.java | 910 | package com.tesora.dve.errmap;
/*
* #%L
* Tesora Inc.
* Database Virtualization Engine
* %%
* Copyright (C) 2011 - 2014 Tesora Inc.
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free S... | agpl-3.0 |
mukadder/kc | coeus-impl/src/main/java/org/kuali/kra/iacuc/IacucProtocolForm.java | 16703 | /*
* Kuali Coeus, a comprehensive research administration system for higher education.
*
* Copyright 2005-2016 Kuali, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, eithe... | agpl-3.0 |
dzc34/Asqatasun | documentation/fr/README.md | 367 | # Asqatasun
@@@TODO
## Fonctionnalités
@@@TODO
## Téléchargement
@@@TODO
## Démo
@@@TODO
## Installation et documentation
@@@TODO
## Contribuer
@@@TODO
## Contact et discussions
* Asqatasun forum @@@TODO
* email à `asqatasun AT asqatasun dot org` (only English, French and klingon is spoken :) )
* [Twitter @As... | agpl-3.0 |
simonoche/wterritoires | lib/model/doctrine/sfGuardGroupUtf8Table.class.php | 183 | <?php
class sfGuardGroupUtf8Table extends sfGuardGroupTable
{
public static function getInstance()
{
return Doctrine_Core::getTable('sfGuardGroupUtf8');
}
} | agpl-3.0 |
lspitzner/brittany | data/Test88.hs | 62 | func x | x = simple expression
| otherwise = 0
| agpl-3.0 |
LtRipley36706/ACE-World | Database/3-Core/9 WeenieDefaults/SQL/Creature/Unsorted/25726 Torch.sql | 3716 | DELETE FROM `weenie` WHERE `class_Id` = 25726;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (25726, 'torchnoir1', 10, '2019-02-10 00:00:00') /* Creature */;
INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`)
VALUES (25726, 1, 16) /* ItemType - Creature */
... | agpl-3.0 |
baughj/hybrasylserver | XML/XSD/Objects/VariantGroup.cs | 7438 | // ------------------------------------------------------------------------------
// <auto-generated>
// Generated by Xsd2Code++. Version 5.2.0.0. www.xsd2code.com
// </auto-generated>
// ------------------------------------------------------------------------------
#pragma warning disable
namespace Hybrasyl.Xml
{... | agpl-3.0 |
jbreitbart/priceguard_classic | branches/first/anmelden.php | 4179 | <?php
require_once("conf.php");
$text = $head;
$text .= $body;
$text .= menu("");
$text .= main();
$text .= $foot;
echo gzipoutput($text);
// ===========================================================================
function main()
{
global $email, $pass, $pass2, $mysql_db, $name;
if (($email != "") and ($... | agpl-3.0 |
cBioPortal/cbioportal-frontend | src/pages/patientView/structuralVariant/column/AnnotationColumnFormatter.tsx | 9418 | import * as React from 'react';
import _ from 'lodash';
import {
civicSortValue,
DEFAULT_ANNOTATION_DATA,
GenericAnnotation,
IAnnotation,
USE_DEFAULT_PUBLIC_INSTANCE_FOR_ONCOKB,
oncoKbAnnotationSortValue,
} from 'react-mutation-mapper';
import { CancerStudy, StructuralVariant } from 'cbioportal-... | agpl-3.0 |
ontohub/ontohub-backend | spec/graphql/queries/repository/tag_query_spec.rb | 1684 | # frozen_string_literal: true
require 'rails_helper'
RSpec.describe 'repository/tag query' do
let(:context) { {} }
let(:query_string) do
<<-QUERY
query ($repositoryId: ID!, $name: String!) {
repository(id: $repositoryId) {
tag(name: $name) {
name
target {
id
... | agpl-3.0 |
teleiakaipavla/diafthoratelos.gr | php/wordpress/qa/qa-include/qa-ajax-version.php | 2412 | <?php
/*
Question2Answer (c) Gideon Greenspan
http://www.question2answer.org/
File: qa-include/qa-ajax-version.php
Version: See define()s at top of qa-include/qa-base.php
Description: Server-side response to Ajax version check requests
This program is free software; you can redistribute it and... | agpl-3.0 |
xujb/odoo | doc/_extensions/odoo/translator.py | 26143 | # -*- coding: utf-8 -*-
import os.path
import posixpath
import re
import urllib
from docutils import nodes
from sphinx import addnodes, util
from sphinx.locale import admonitionlabels
def _parents(node):
while node.parent:
node = node.parent
yield node
class BootstrapTranslator(nodes.NodeVisitor... | agpl-3.0 |
akretion/roulier | roulier/carriers/laposte_fr/decoder.py | 4729 | """Laposte XML -> Python."""
from datetime import datetime
from lxml import objectify
from ...codec import DecoderGetLabel
from ...codec import DecoderGetPackingSlip
import base64
class _UNSPECIFIED:
pass
def _get_text(xml, tag, default=_UNSPECIFIED):
"""
Returns the text content of a tag to avoid retu... | agpl-3.0 |
mattcen/alloc | bin/alloccli/reminder.py | 3917 | """alloccli subcommand for editing alloc reminders."""
from alloc import alloc
import re
class reminder(alloc):
"""Add or edit a reminder."""
# Setup the options that this cli can accept
ops = []
ops.append(('', 'help ', 'Show this help.'))
ops.append(('q', 'quiet ', 'Run with... | agpl-3.0 |
ComPlat/chemotion_ELN | app/packs/src/components/SampleDetailsContainersDnd.js | 2510 | import React from 'react';
import { DragSource, DropTarget } from 'react-dnd';
import { compose } from 'redux';
import DragDropItemTypes from './DragDropItemTypes';
import { HeaderDeleted, HeaderNormal } from './SampleDetailsContainersAux';
const orderSource = {
beginDrag(props) {
const { container, sample } = p... | agpl-3.0 |
whs-poodle/poodle | src/main/resources/templates/student/exerciseSearch.html | 6478 | <!--/*
Copyright 2015 Westfälische Hochschule
This file is part of Poodle.
Poodle is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later... | agpl-3.0 |
CiviCooP/no.maf.oppgavexml | CRM/Oppgavexml/LoadQueue.php | 716 | <?php
/**
* @author Jaap Jansma <jaap.jansma@civicoop.org>
* @license AGPL-3.0
*/
class CRM_Oppgavexml_LoadQueue {
const QUEUE_NAME = 'no.maf.oppgavexml.load.queue';
private $queue;
static $singleton;
/**
* @return CRM_Queuehowto_Helper
*/
public static function singleton() {
if (!self::$sing... | agpl-3.0 |
esthermm/odoo-addons | product_supplierinfo_import/wizard/import_price_files.py | 6282 | # -*- coding: utf-8 -*-
# (c) 2017 Daniel Campos - AvanzOSC
# (c) 2017 Alfredo de la Fuente - AvanzOSC
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
from openerp import fields, models, api, exceptions, _
import base64
import cStringIO
import tempfile
import csv
class ImportPriceFile(models.Transien... | agpl-3.0 |
semantic-web-software/dynagent | Elecom/src/gdev/gawt/GListBox.java | 26370 | package gdev.gawt;
import gdev.gawt.utils.ItemList;
import gdev.gen.AssignValueException;
import gdev.gen.IComponentData;
import gdev.gen.IComponentListener;
import gdev.gen.NotValidValueException;
import gdev.gfld.GFormEnumerated;
import gdev.gfld.GFormField;
import java.awt.Dimension;
import java.awt.Font;
import j... | agpl-3.0 |
jondo/paperpile | plack/perl5/win32/lib/unicore/lib/CWKCF/N.pl | 8928 | # !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by mktables from the Unicode
# database, Version 5.2.0. Any changes made here will be lost!
# !!!!!!! INTERNAL PERL USE ONLY !!!!!!!
# This file is for internal use by the Perl program only. The format and even
# the name or existence o... | agpl-3.0 |
part-up/part-up | app/packages/partup-client-base/client/chatmessages.js | 2893 | var round = function(number, increment, offset) {
return Math.ceil((number - offset) / increment) * increment + offset;
};
Partup.client.chatmessages = {
groupByDelay: function(messages, options) {
var delay = options.seconds ? options.seconds * 1000 : 1000;
var outputArray = [];
messag... | agpl-3.0 |
see-r/SeerDataCruncher | src/main/java/com/datacruncher/datastreams/DatastreamsInput.java | 18067 | /*
* 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 |
kj415j45/osu-web | resources/lang/zh/beatmaps.php | 10212 | <?php
/**
* Copyright 2015-2018 ppy Pty. Ltd.
*
* This file is part of osu!web. osu!web is distributed with the hope of
* attracting more community contributions to the core ecosystem of osu!.
*
* osu!web is free software: you can redistribute it and/or modify
* it under the terms of the Affero G... | agpl-3.0 |
InfinniPlatform/InfinniPlatform.readthedocs.org.en | docs/source/_docfx/api/reference/InfinniPlatform.PrintView.Writers.Pdf.PdfPrintDocumentWriter.html | 19435 | <!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Class PdfPrintDocumentWriter
</title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class PdfPrintDocumentWri... | agpl-3.0 |
defudger/nebula | code/foundation/iterator/algorithm/move_n.h | 2531 | /*--!>
This file is part of Nebula, a multi-purpose library mainly written in C++.
Copyright 2015-2016 outshined (outshined@riseup.net)
(PGP: 0x8A80C12396A4836F82A93FA79CA3D0F7E8FBCED6)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License... | agpl-3.0 |
gale320/sync-engine | inbox/crispin.py | 34132 | """ IMAPClient wrapper for the Nilas Sync Engine. """
import contextlib
import re
import time
import imaplib
import imapclient
# Even though RFC 2060 says that the date component must have two characters
# (either two digits or space+digit), it seems that some IMAP servers only
# return one digit. Fun times.
imaplib.I... | agpl-3.0 |
zackw/pelican | pelican/tests/output/basic/category/bar.html | 2980 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>A Pelican Blog - bar</title>
<link rel="stylesheet" href="/theme/css/main.css" />
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" />
</head>
<body id="in... | agpl-3.0 |
camsys/ridepilot | app/models/trip_purpose.rb | 441 | class TripPurpose < ApplicationRecord
acts_as_paranoid # soft delete
has_paper_trail
validates :name, presence: true, uniqueness: { :case_sensitive => false, conditions: -> { where(deleted_at: nil) } }
def self.by_provider(provider)
hidden_ids = HiddenLookupTableValue.hidden_ids self.table_name, provide... | agpl-3.0 |
kaltura/KalturaGeneratedAPIClientsCsharp | KalturaClient/Types/AccessControlContextTypeHolder.cs | 2292 | // ===================================================================================================
// _ __ _ _
// | |/ /__ _| | |_ _ _ _ _ __ _
// | ' </ _` | | _| || | '_/ _` |
// |_|\_\__,_|_|\__|\_,_|_| \_... | agpl-3.0 |
Connexions/simulations | common/math/vector2.js | 731 | define(function (require) {
'use strict';
var Vector2 = require('vector2-node');
/**
* Returns a new unit vector in the direction specified by the angle
*/
Vector2.fromAngle = function(angle) {
return new Vector2(1, 0).rotate(angle);
};
Vector2.prototype.toString = function(pr... | agpl-3.0 |
rolencea/org.civicrm.civisocial2 | twitterAPI/civisocialtwitter/report/search_dms.php | 2051 | <?php
//
require('../config.php');
require('../db_lib.php');
$db = new db();
// If the user clicked one of the buttons
if ((isset($_GET['submit'])) || (isset($_GET['prev'])) || (isset($_GET['next']))) {
$where = '';
$start_date = htmlspecialchars($_GET['start_date'], ENT_QUOTES);
if ($start_date != '... | agpl-3.0 |
PrairieLearn/PrairieLearn | lib/paginate.js | 1786 | const ERR = require('async-stacktrace');
const _ = require('lodash');
const async = require('async');
const sqldb = require('../prairielib/lib/sql-db');
module.exports = {
pages(chosenPage, count, pageSize) {
let lastPage = Math.ceil(count / pageSize);
if (lastPage === 0) lastPage = 1;
let currPage = N... | agpl-3.0 |
MostlyOpen/odoo_addons | myo_pharmacy/models/tag.py | 1365 | # -*- coding: utf-8 -*-
###############################################################################
#
# Copyright (C) 2013-Today Carlos Eduardo Vercelino - CLVsol
#
# 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
#... | agpl-3.0 |
plentymarkets/plugin-hack-api | Modules/ItemSet/Models/ItemSetConfig.php | 326 | <?php
namespace Plenty\Modules\ItemSet\Models;
/**
* The ItemSetConfig model.
*/
abstract class ItemSetConfig
{
const CREATED_AT = 'createdAt';
const UPDATED_AT = 'updatedAt';
public $setId;
public $rebate;
/**
* Returns this model as an array.
*/
public function toArray(
):array
{
return [];... | agpl-3.0 |
bio4j/bio4j-neo4j | docs/src/main/java/com/bio4j/neo4j/model/relationships/go/HasPartOfGoRel.java.md | 64210 |
* Copyright (C) 2010-2011 "Bio4j"
*
* This file is part of Bio4j
*
* Bio4j 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 vers... | agpl-3.0 |
patrickcmartins/goautodialtraduzido | vicidial/AST_LISTS_stats.php | 37059 | <?php
# AST_LISTS_stats.php
#
# Copyright (C) 2014 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
#
# This is a list inventory report, not a calling report. This report will show
# statistics for all of the lists in the selected campaigns
#
# CHANGES
# 130926-0721 - First build based upon LISTS campai... | agpl-3.0 |
d3b-center/pedcbioportal | service/src/main/java/org/cbioportal/service/impl/CopyNumberEnrichmentServiceImpl.java | 5177 | package org.cbioportal.service.impl;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import org.cbioportal.model.AlterationCountByGene;
import org.cbioportal.model.AlterationEnrichment;
import org.cbioportal.model.CopyNumberCountBy... | agpl-3.0 |
stadt-karlsruhe/ckanext-discovery | ckanext/discovery/plugins/discovery.py | 999 | # encoding: utf-8
from __future__ import (absolute_import, division, print_function,
unicode_literals)
import logging
import os.path
import sys
import ckan.plugins as plugins
import ckan.plugins.toolkit as toolkit
from ckan.lib.plugins import DefaultTranslation
from . import get_config
log... | agpl-3.0 |
intechWiFi/doatools | doc/puppet_providers_iam_policy/awscli.html | 2443 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Provider: awscli
— Documentation by YARD 0.9.8
</title>
<link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
<link rel="styleshee... | agpl-3.0 |
odoo-arg/odoo_l10n_ar | l10n_ar/wizard/__init__.py | 951 | # - coding: utf-8 -*-
##############################################################################
#
# 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
# ... | agpl-3.0 |
o2oa/o2oa | o2server/x_processplatform_assemble_designer/src/main/java/com/x/processplatform/assemble/designer/jaxrs/projection/ActionEnable.java | 1828 | //package com.x.processplatform.assemble.designer.jaxrs.projection;
//
//import com.x.base.core.container.EntityManagerContainer;
//import com.x.base.core.container.factory.EntityManagerContainerFactory;
//import com.x.base.core.project.exception.ExceptionAccessDenied;
//import com.x.base.core.project.exception.Excepti... | agpl-3.0 |
imCodePartnerAB/imcms | src/main/webapp/imcms/js/builders/components/page_info_tabs/imcms-templates-tab-builder.js | 2976 | define("imcms-templates-tab-builder",
[
"imcms-bem-builder", "imcms-components-builder", "imcms-templates-rest-api", "imcms-document-types",
"imcms-i18n-texts", "imcms-page-info-tab"
],
function (BEM, components, templatesRestApi, docTypes, texts, PageInfoTab) {
texts = texts.pageIn... | agpl-3.0 |
antoine-de/navitia | source/jormungandr/tests/ptref_tests.py | 38313 | # encoding: utf-8
# Copyright (c) 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 ... | agpl-3.0 |
jdesboeufs/geogw-datagouvfr | app/partials/services/index.html | 2135 | <ol class="breadcrumb">
<li>Accueil</li>
<li>Services</li>
<li class="active">{{ protocol | uppercase }}</li>
</ol>
<div class="alert alert-info">
Choisissez parmi les types de service pris en charge :
<a class="alert-link" ui-sref="root.services({ serviceProtocol: 'csw' })">CSW</a>,
<a class="alert-link" ... | agpl-3.0 |
wkeyuan/DWSurvey | src/main/resources/static/static/diaowen/design.html | 102923 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>问卷编辑</title>
<link href="js/plugs/jquery-ui-1.10.3.custom/css/mycss/jquery-ui-1.10.3.custom.css" rel="stylesheet" type="te... | agpl-3.0 |
sagemathinc/smc | src/smc-webapp/editors/slate/elements/hashtag.tsx | 1639 | /*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
*/
import { CSS, React } from "smc-webapp/app-framework";
import { FOCUSED_COLOR } from "../util";
import {
SlateElement,
register,
useFocused,
useSelected,
useSlateStat... | agpl-3.0 |
CoherentLogic/fis-gtm-netbsd | sr_port/format_targ_key.c | 4061 | /****************************************************************
* *
* Copyright 2001, 2014 Fidelity Information Services, Inc *
* *
* This source code contains the intellectual property *
* of its copyright holder(s), and is made available *
* under a license. If you do not know the terms of *
*... | agpl-3.0 |