repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
datagutten/comics
comics/accounts/urls.py
4857
from django.conf import settings from django.conf.urls import patterns, url from django.contrib.auth import views as auth_views from django.views.generic.base import TemplateView from invitation import views as invitation_views from registration import views as reg_views from comics.accounts.forms import ( Authen...
agpl-3.0
ccg/freenote
app/mock/store/NoteListStore.js
656
Ext.define('App.mock.store.NoteListStore', { extend: 'Ext.data.TreeStore', model: 'App.model.Note', autoLoad: true, storeId: 'noteListStore', root: { expanded: true, text: "Root", children: [ { "leaf": true, "id": 1, ...
agpl-3.0
closeio/nylas
inbox/models/mixins.py
6188
import abc from datetime import datetime from sqlalchemy import Column, DateTime, String, inspect, Boolean, sql, func from sqlalchemy.ext.hybrid import hybrid_property, Comparator from inbox.sqlalchemy_ext.util import Base36UID, generate_public_id, ABCMixin from inbox.models.constants import MAX_INDEXABLE_LENGTH from...
agpl-3.0
bietiekay/hacs
tools/hacs-dbtool/GoogleLatitudeDataObject.cs
1939
using System; using System.Collections.Generic; using System.Linq; using System.Text; using sones.Storage.Serializer; namespace xs1_data_logging { // TODO: GeoHash! /// <summary> /// holds the values /// </summary> public class GoogleLatitudeDataObject : IFastSerialize { public String AccountN...
agpl-3.0
jzinedine/CMDBuild
dms/alfresco/src/main/java/org/cmdbuild/dms/alfresco/ftp/AlfrescoFtpService.java
1326
package org.cmdbuild.dms.alfresco.ftp; import javax.activation.DataHandler; import org.cmdbuild.dms.DmsConfiguration; import org.cmdbuild.dms.DocumentDelete; import org.cmdbuild.dms.DocumentDownload; import org.cmdbuild.dms.DocumentSearch; import org.cmdbuild.dms.StorableDocument; import org.cmdbuild.dms.alfresco.Alf...
agpl-3.0
pmitros/x-analytics-scripts
xanalytics/streaming.py
15280
''' This file contains streaming data processors. Why stream processing? A few reasons: 1. You get immediate results. Development time is much faster. If you have a bug, you see it almost immediately. 2. The code is more readable. Downsides: 1. Stack traces are a bit ugly. See: http://www.dabeaz.com/generators...
agpl-3.0
dzc34/Asqatasun
rules/rules-rgaa3.0/src/main/java/org/asqatasun/rules/rgaa30/Rgaa30Rule010401.java
2576
/* * Asqatasun - Automated webpage assessment * Copyright (C) 2008-2019 Asqatasun.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 y...
agpl-3.0
sgmap/mes-aides-ui
src/main.js
1620
import "core-js/stable" import Vue from "vue" import App from "./App.vue" import router from "./router" import store from "./store" import moment from "moment" import ScrollService from "./plugins/ScrollService" import StateService from "./plugins/StateService" import AsyncComputed from "vue-async-computed" import *...
agpl-3.0
ungerik/ephesoft
Ephesoft_Community_Release_4.0.2.0/source/gxt/gxt-admin/src/main/java/com/ephesoft/gxt/admin/client/presenter/document/testextraction/datatable/DataTableGridPresenter.java
3522
/********************************************************************************* * Ephesoft is a Intelligent Document Capture and Mailroom Automation program * developed by Ephesoft, Inc. Copyright (C) 2015 Ephesoft Inc. * * This program is free software; you can redistribute it and/or modify it under * the term...
agpl-3.0
natea/Miro-Community
localtv/util.py
12513
# Copyright 2009 - Participatory Culture Foundation # # This file is part of Miro Community. # # Miro Community 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
open-craft/opencraft
instance/tests/models/test_mixin_utilities.py
15755
""" Test model mixin utilities. """ import json from unittest import TestCase import ddt from django.test.utils import override_settings from instance.models.mixins.utilities import SensitiveDataFilter, get_ansible_failure_log_entry from instance.tests.models.factories.openedx_instance import OpenEdXInstanceFactory ...
agpl-3.0
BatedUrGonnaDie/splits-io
config/initializers/cors.rb
636
Rails.application.config.middleware.insert_before 0, Rack::Cors do allow do origins '*' resource '/api/*', methods: :any, headers: 'Origin, X-Requested-With, Content-Type, Accept, Authorization', expose: 'X-Filename', if: Proc.new { |env| req = Rack::Request.new(env) i...
agpl-3.0
automenta/narchy
lab/src/main/java/jurls/reinforcementlearning/domains/grid/Grid1D.java
5442
package jurls.reinforcementlearning.domains.grid; /* One-dimensional grid task In this task, the agent steps forward and backward along a nine-position line. The fourth position is rewarded and the ninth position is punished. There is also a slight punishment for effort expended in trying t...
agpl-3.0
icecity96/PAT
PAT1018.cpp
1170
#include <iostream> #include <vector> using namespace std; int a_w = 0; int b_w = 0; int a_b = 0; int a_B = 0; int a_C = 0; int a_J = 0; int b_B = 0; int b_C = 0; int b_J = 0; int judge(char A,char B) { if(A==B) { a_b++; return 0; } else if(A=='B'&&B=='C') { a_w++; a_B++; return 1; } else if(A=='B'&&B...
agpl-3.0
anuj-rajput/snipe-it
resources/lang/id/admin/models/general.php
1177
<?php return array( 'about_models_title' => 'Tentang Model Aset', 'about_models_text' => 'Model Aset adalah cara untuk mengelompokkan aset identik. "MBP 2013", "IPhone 6s", dll.', 'deleted' => 'Model ini telah dihapus. <a href="/hardware/models/:model_id/restore">Click di sini u...
agpl-3.0
sgmap/pix
api/tests/unit/infrastructure/adapters/assessment-adapter_test.js
4164
const { expect } = require('../../../test-helper'); const assessmentAdapter = require('../../../../lib/infrastructure/adapters/assessment-adapter'); const CatAssessment = require('../../../../lib/cat/assessment'); const CatCourse = require('../../../../lib/cat/course'); const CatSkill = require('../../../../lib/cat/sk...
agpl-3.0
kobotoolbox/kpi
jsapp/js/components/common/audioPlayer.tsx
3645
import React from 'react' import autoBind from 'react-autobind' import bem, {makeBem} from 'js/bem' import KoboRange from 'js/components/common/koboRange' import 'js/components/common/audioPlayer.scss' bem.AudioPlayer = makeBem(null, 'audio-player') bem.AudioPlayer__controls = makeBem(bem.AudioPlayer, 'controls', 'div...
agpl-3.0
PW-Sat2/PWSat2OBC
unit_tests/base/Include/mock/ImtqTelemetryCollectorMock.hpp
471
#ifndef MOCK_IMTQ_TELEMETRY_COLLECTOR_MOCK_HPP #define MOCK_IMTQ_TELEMETRY_COLLECTOR_MOCK_HPP #pragma once #include "gmock/gmock.h" #include "telemetry/IImtqTelemetryCollector.hpp" #include "telemetry/state.hpp" struct ImtqTelemetryCollectorMock : public telemetry::IImtqTelemetryCollector { ImtqTeleme...
agpl-3.0
OrganicityEu-Platform/organicity-urban-data-observatory
gulp/build.js
3559
'use strict'; var gulp = require('gulp'); var replace = require('replace'); var gutil = require('gulp-util') var $ = require('gulp-load-plugins')({ pattern: ['gulp-*', 'main-bower-files', 'uglify-save-license', 'del'] }); module.exports = function(options) { gulp.task('partials', function () { return gulp.sr...
agpl-3.0
mytechia/UNIDA
unida_library/src/main/java/com/hi3project/unida/library/location/StringLiteralLocation.java
861
package com.hi3project.unida.library.location; /** * <p><b>Description:</b></p> * * * * * <p><b>Creation date:</b> 28-dic-2009</p> * * <p><b>Changelog:</b></p> * <ul> * <li>1 - 28-dic-2009 Initial release</li> * </ul> * * * @author Gervasio Varela Fernandez * @version 1 */ public class StringLiteralLoc...
agpl-3.0
juxtalearn/clipit
mod/z04_clipit_activity/views/default/activity/admin/groups/users_list.php
790
<?php /** * Clipit Web Space * PHP version: >= 5.2 * Creation date: 25/08/14 * Last update: 25/08/14 * @author Miguel Ángel Gutiérrez <magutierrezmoreno@gmail.com>, URJC Clipit Project * @version $Version$ * @link http://clipit.es * @license GNU Affero General Publ...
agpl-3.0
shaze/genesis
src/admix/AdmixSubject.java
2879
/************************************************************************* * Genesis -- program for creating structure and PCA plots of genotype data * Copyright (C) 2014. Robert W Buchmann, University of the Witwatersrand, Johannesburg * * This program is free software: you can redistribute it and/or modify ...
agpl-3.0
tsakas/juju
worker/dependency/util_test.go
4029
// Copyright 2015 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package dependency_test import ( "time" "github.com/juju/testing" jc "github.com/juju/testing/checkers" gc "gopkg.in/check.v1" "launchpad.net/tomb" coretesting "github.com/juju/juju/testing" "github.com/juju/juju/wor...
agpl-3.0
ymilord/OctoPrint-MrBeam
src/octoprint/plugins/cura/profile.py
33248
# coding=utf-8 from __future__ import absolute_import __author__ = "Gina Häußge <osd@foosel.net>" __license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html' __copyright__ = "Copyright (C) 2014 The OctoPrint Project - Released under terms of the AGPLv3 License" from . import s import re ...
agpl-3.0
casualuser/Qbix
MyApp/views/MyApp/content/about.php
152
<div id='content'> <h1>About MyApp</h1> Here you can write something about this app or website.<br> Or if you want, you can remove this page. </div>
agpl-3.0
acsone/purchase-workflow
purchase_supplier_rounding_method/tests/__init__.py
78
# -*- coding: utf-8 -*- from . import test_purchase_supplier_rounding_method
agpl-3.0
smichel17/pollr
python/db.py
4600
import sys, math import sqlite3 as lite # Converts Erlang style strings into python style strings def convert(sentence): return ''.join(chr(i) for i in sentence) # Will build both dbs in their initial state, deleting any prior data def build_db_scratch(): build_word_db() build_hashtag_db() build_queue...
agpl-3.0
pgdurand/BeeDeeM
src/bzh/plealog/dbmirror/util/event/DBMirrorListener.java
882
/* Copyright (C) 2007-2017 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. * ...
agpl-3.0
jakemadison/FeedEater
__init__.py
132
# add project root folder to pythonpath from os.path import dirname from sys import path path.append(dirname(dirname(__file__)))
agpl-3.0
juxtalearn/clipit
mod/z02_clipit_api/views/default/forms/useradd.php
1612
<?php /** * Elgg add user form. * * @package Elgg * @subpackage Core * */ $name = $username = $email = $password = $password2 = $admin = ''; if (elgg_is_sticky_form('useradd')) { extract(elgg_get_sticky_values('useradd')); elgg_clear_sticky_form('useradd'); if (is_array($admin)) { $admin = $admin[0]; } }...
agpl-3.0
reuven/modelingcommons
public/extensions/gis/src/org/myworldgis/netlogo/RasterDataset.java
26469
// // Copyright (c) 2007 Eric Russell. All rights reserved. // package org.myworldgis.netlogo; import com.vividsolutions.jts.geom.Coordinate; import com.vividsolutions.jts.geom.Envelope; import com.vividsolutions.jts.geom.GeometryFactory; import com.vividsolutions.jts.geom.Point; import com.vividsolutions.jts.geom.ut...
agpl-3.0
Seklfreak/Robyul2
cache/elastic.go
599
package cache import ( "errors" "sync" "github.com/olivere/elastic" ) var ( elasticClient *elastic.Client elasticClientMutex sync.RWMutex ) func SetElastic(s *elastic.Client) { elasticClientMutex.Lock() elasticClient = s elasticClientMutex.Unlock() } func HasElastic() bool { if elasticClient == nil {...
agpl-3.0
City-of-Bloomington/civic-legislation
src/Application/Controllers/LegislationStatusesController.php
2049
<?php /** * @copyright 2017-2020 City of Bloomington, Indiana * @license http://www.gnu.org/licenses/agpl.txt GNU/AGPL, see LICENSE */ declare (strict_types=1); namespace Application\Controllers; use Application\Models\Legislation\Status; use Application\Models\Legislation\StatusesTable; use Web\Controller; use We...
agpl-3.0
firefly-iii/firefly-iii
app/Support/Search/SearchInterface.php
2157
<?php /** * SearchInterface.php * Copyright (c) 2019 james@firefly-iii.org * * This file is part of Firefly III (https://github.com/firefly-iii). * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Soft...
agpl-3.0
Ramkavanan/SHCRM
app/protected/modules/routes/controllers/DefaultController.php
39445
<?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ class RoutesDefaultController extends ZurmoModuleController { /* * public function filters() { $modelClassName = $this->getModule()->getPrimaryModelName(); $viewClassName = $modelClassNa...
agpl-3.0
hasseboulen/WoWAnalyzer
src/Parser/Mage/Frost/Modules/Items/SoulOfTheArchmage.js
1549
import React from 'react'; import ITEMS from 'common/ITEMS'; import SPELLS from 'common/SPELLS'; import SpellLink from 'common/SpellLink'; import ItemLink from 'common/ItemLink'; import Wrapper from 'common/Wrapper'; import Analyzer from 'Parser/Core/Analyzer'; import Combatants from 'Parser/Core/Modules/Combatants'; ...
agpl-3.0
Intermesh/groupoffice-webclient
app/modules/groupoffice/users/language/fr.js
1123
angular.module("GO.Core") .config(["GO.Core.Providers.TranslateProvider", function (TranslateProvider) { TranslateProvider.addTranslations("fr", { "GO\\Core\\Users\\Model\\User": "Utilisateur", "GO\\Core\\Users\\Module": "Utilisateurs", "userLoggedIn": "utilisateur connect\u00e9", "login": "...
agpl-3.0
bitsquare/bitsquare
core/src/main/java/bisq/core/app/CoreModule.java
3638
/* * This file is part of Bisq. * * Bisq 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. * * Bisq is distributed in the ...
agpl-3.0
buremba/rakam
rakam-ui/src/main/resources/scheduled-task/google-webmaster/script.js
6527
//@ sourceURL=rakam-ui/src/main/resources/scheduled-task/google-webmaster/script.js var countryMapping = { "ABW": "AW", "AFG": "AF", "AGO": "AO", "AIA": "AI", "ALB": "AL", "AND": "AD", "ARE": "AE", "ARG": "AR", "ARM": "AM", "ASM": "AS", "ATA": "AQ", "ATF": "TF", "ATG...
agpl-3.0
horus68/SuiteCRM
include/SugarObjects/templates/person/Person.php
11923
<?php /** * * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * * SuiteCRM is an extension to SugarCRM Community Edition developed by SalesAgility Ltd. * Copyright (C) 2011 - 2017 SalesAgility Ltd. * * This program is f...
agpl-3.0
p-acs/ethereum-secure-proxy
src/main/java/de/petendi/ethereum/secure/proxy/Application.java
6533
package de.petendi.ethereum.secure.proxy; /*- * #%L * Ethereum Secure Proxy * %% * Copyright (C) 2016 P-ACS UG (haftungsbeschränkt) * %% * 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 Found...
agpl-3.0
usu/ecamp3
backend/module/eCampCore/test/Data/ActivityTypeTestData.php
1223
<?php namespace eCamp\CoreTest\Data; use Doctrine\Common\DataFixtures\AbstractFixture; use Doctrine\Common\DataFixtures\DependentFixtureInterface; use Doctrine\Persistence\ObjectManager; use eCamp\Core\Entity\ActivityType; use eCamp\Core\Entity\ActivityTypeContentType; class ActivityTypeTestData extends AbstractFixt...
agpl-3.0
o2oa/o2oa
o2server/x_processplatform_assemble_designer/src/main/java/com/x/processplatform/assemble/designer/jaxrs/projection/BaseAction.java
6190
//package com.x.processplatform.assemble.designer.jaxrs.projection; // //import java.util.Objects; // //import org.apache.commons.lang3.StringUtils; // //import com.x.base.core.project.exception.ExceptionEntityFieldEmpty; //import com.x.base.core.project.exception.ExceptionUnknowValue; //import com.x.base.core.project....
agpl-3.0
Trustroots/trustroots
modules/offers/client/services/offers-by.client.service.js
431
// OffersBy service used for communicating with the offers REST endpoints // Read offers by userId // Accepts also `type` parameter angular.module('offers').factory('OffersByService', OffersByService); /* @ngInject */ function OffersByService($resource) { return $resource( '/api/offers-by/:userId', { u...
agpl-3.0
PaloAlto/jbilling
classes/com/sapienter/jbilling/server/pluggableTask/PaymentTaskWithTimeout.java
1925
/* jBilling - The Enterprise Open Source Billing System Copyright (C) 2003-2009 Enterprise jBilling Software Ltd. and Emiliano Conde This file is part of jbilling. jbilling is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as...
agpl-3.0
cheery/pyllisp
bincode/common.py
147
hexcode = lambda s: s.replace(" ", "").decode('hex') # Encoder produces this code, decoder reads it. header = hexcode("89 4C 49 43 0D 0A 1A 0A")
agpl-3.0
RipcordSoftware/AvanceDB
src/avancedb/rest_exceptions.cpp
5510
/* * AvanceDB - an in-memory database similar to Apache CouchDB * Copyright (C) 2015-2017 Ripcord Software * * 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...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/src/server/zone/objects/tangible/tool/recycle/RecycleToolImplementation.cpp
3371
#include "engine/engine.h" #include "server/zone/objects/tangible/tool/recycle/RecycleTool.h" #include "server/zone/Zone.h" #include "server/zone/objects/tangible/Container.h" #include "server/zone/objects/tangible/TangibleObject.h" #include "server/zone/objects/creature/CreatureObject.h" #include "server/zone/object...
agpl-3.0
qcri-social/AIDR
aidr-manager/src/main/webapp/resources/js/taggui/tagger-collection-details/controller/TaggerCollectionDetailsController.js
65293
Ext.define('TAGGUI.tagger-collection-details.controller.TaggerCollectionDetailsController', { extend: 'Ext.app.Controller', views: [ 'TaggerCollectionDetailsPanel' ], init: function () { this.control({ 'tagger-collection-details-view': { beforerender: this...
agpl-3.0
nmpgaspar/PainlessProActive
src/Core/org/objectweb/proactive/core/body/ft/internalmsg/GlobalStateCompletion.java
2325
/* * ################################################################ * * ProActive Parallel Suite(TM): The Java(TM) library for * Parallel, Distributed, Multi-Core Computing for * Enterprise Grids & Clouds * * Copyright (C) 1997-2012 INRIA/University of * Nice-Sophia Antipolis/ActiveEon ...
agpl-3.0
Konubinix/weboob
modules/inrocks/browser.py
1474
"browser for inrocks.fr website" # -*- coding: utf-8 -*- # Copyright(C) 2011 Julien Hebert # # 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 ...
agpl-3.0
heroandtn3/openpaas-esn
frontend/js/modules/user-notification/toggler/user-notification-toggler.directive.js
957
(function() { 'use strict'; angular.module('esn.user-notification') .directive('esnUserNotificationToggler', esnUserNotificationToggler); function esnUserNotificationToggler($popover) { return { link: link, restrict: 'E', replace: true, scope: true, templateUrl: '/views/mod...
agpl-3.0
Cineca/OrcidHub
src/main/webapp/bower_components/angular-i18n/angular-locale_bs-latn-ba.js
3222
/* * This file is part of huborcid. * * huborcid 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. * * huborcid is distrib...
agpl-3.0
mrexodia/fabiano-swagger-of-doom
wServer/networking/svrPackets/FilePacket.cs
741
namespace wServer.networking.svrPackets { public class FilePacket : ServerPacket { public string Name { get; set; } public byte[] Bytes { get; set; } public override PacketID ID { get { return PacketID.FILE; } } public override Packet CreateInstance...
agpl-3.0
ginkgostreet/civicrm_multiform
api/v3/EntityForm/Get.php
659
<?php /** * EntityForm.Get API specification (optional) * This is used for documentation and validation. * * @param array $spec description of fields supported by this API call * @return void * @see http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards */ function _civicrm_api3_entity_form_g...
agpl-3.0
plazari15/pi-uscs-app-de-conta-de-luz
ajax/SelecionaAno.php
1061
<?php require '../_app/Config.inc.php'; $Read = new \Conn\Read(); $Post = filter_input_array(INPUT_POST, FILTER_DEFAULT); $Read->ExeRead('bandeiras', "WHERE year = :year", "year={$Post['ano']}"); $Select = array(); $Result = array(); $Result = ''; //$Result['select'] = "<select id='SelecionaMes' name='m...
agpl-3.0
juju/juju
apiserver/common/crossmodel/state.go
7649
// Copyright 2017 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package crossmodel import ( "github.com/juju/errors" "github.com/juju/names/v4" "github.com/juju/juju/core/crossmodel" "github.com/juju/juju/core/network/firewall" "github.com/juju/juju/state" ) // StatePool provides t...
agpl-3.0
quikkian-ua-devops/will-financials
kfs-core/src/main/java/org/kuali/kfs/coa/businessobject/AccountType.java
2782
/* * The Kuali Financial System, a comprehensive financial management system for higher education. * * Copyright 2005-2017 Kuali, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundat...
agpl-3.0
gamesurvey/GSurveyCode
gsweb/src/main/java/views/ResetPasswordView.java
327
package views; import gamesurvey.dao.MyDAOImpl; import views.base.PublicBaseView; /** * Created by Martin on 24.10.2015. */ public class ResetPasswordView extends PublicBaseView { private MyDAOImpl dao; public ResetPasswordView(MyDAOImpl dao) { super("resetPassword.ftl"); this.dao=dao; ...
agpl-3.0
OfficineDigitali/pendola
app/Alarm.php
2718
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; use Auth; class Alarm extends Model { use SoftDeletes; protected $dates = ['deleted_at']; public function type() { return $this->belongsTo('App\AlarmType'); } public function entity() { return $t...
agpl-3.0
ahmedaljazzar/fairuze
accounts/factories.py
285
from django.contrib.auth.models import User import factory class UserFactory(factory.DjangoModelFactory): username = factory.Sequence('user_{}'.format) first_name = factory.Faker('first_name') last_name = factory.Faker('last_name') class Meta: model = User
agpl-3.0
retest/recheck
src/main/java/de/retest/recheck/ui/actions/ActionExecutionResult.java
1503
package de.retest.recheck.ui.actions; import java.io.Serializable; /** * This is a lightweight class that contains the duration of the execution and the resulting error, if one occurred. */ public class ActionExecutionResult implements Serializable { private static final long serialVersionUID = 1L; private fina...
agpl-3.0
m-sc/yamcs
yamcs-core/src/main/java/org/yamcs/yarch/rocksdb/RdbConfig.java
12968
package org.yamcs.yarch.rocksdb; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.regex.Pattern; import java.util.regex.PatternSyntaxException; import org.rocksdb.BlockBasedTableConfig; import org.rocksdb.BloomFilter; import org.rocksdb.ColumnFamilyOp...
agpl-3.0
Sage-Bionetworks/rstudio
src/gwt/src/org/rstudio/studio/client/workbench/views/source/editors/text/AceCompletionAdapter.java
2419
/* * AceCompletionAdapter.java * * Copyright (C) 2009-11 by RStudio, Inc. * * This program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. This program is distributed WITHOUT * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, * MERCHANTABILITY OR ...
agpl-3.0
ProjetSigma/frontend
src/resources/group.ts
1108
import {Record} from 'utils/record'; import {Collection} from 'utils/collection'; import {GroupMember} from './group-member'; import {Publication} from './publication'; import {Acknowledgment} from './acknowledgment'; import {User} from './user'; import {Chat} from './chat'; export class Group extends Record { pu...
agpl-3.0
colares/touke-flow
Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Resource/Resource.php
4217
<?php namespace TYPO3\Flow\Resource; /* * * This script belongs to the TYPO3 Flow framework. * * * * It is free software; you can redistribute it and/or...
agpl-3.0
prabhakhar/juju-core
charm/repo_test.go
9902
package charm_test import ( "crypto/sha256" "encoding/hex" "encoding/json" "io/ioutil" . "launchpad.net/gocheck" "launchpad.net/juju-core/charm" "launchpad.net/juju-core/log" "launchpad.net/juju-core/testing" "net" "net/http" "os" "path/filepath" "strconv" ) type MockStore struct { mux *http.Se...
agpl-3.0
Tatwi/legend-of-hondo
MMOCoreORB/bin/scripts/mobile/misc/seeker.lua
698
seeker = Creature:new { objectName = "@droid_name:probe_droid", socialGroup = "", faction = "", level = 1, chanceHit = 0.01, damageMin = 1, damageMax = 1, baseXp = 0, baseHAM = 405, baseHAMmax = 495, armor = 0, resists = {0,0,0,0,0,0,0,-1,-1}, meatType = "", meatAmount = 0, hideType = "", hideAmount = 0...
agpl-3.0
Zarel/Pokemon-Showdown-Client
src/panel-chat.tsx
17124
/** * Chat panel * * @author Guangcong Luo <guangcongluo@gmail.com> * @license AGPLv3 */ class ChatRoom extends PSRoom { readonly classType: 'chat' | 'battle' = 'chat'; users: {[userid: string]: string} = {}; userCount = 0; readonly canConnect = true; // PM-only properties pmTarget: string | null = null; ...
agpl-3.0
Orichievac/FallenGalaxy
src-server/fr/fg/server/test/action/trade/TestGetRates.java
1537
/* Copyright 2010 Jeremie Gottero This file is part of Fallen Galaxy. Fallen Galaxy 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
aborg0/rapidminer-studio
src/main/java/com/rapidminer/operator/features/construction/ExampleSetBasedIndividual.java
2887
/** * Copyright (C) 2001-2019 by RapidMiner and the contributors * * Complete list of developers available at our web site: * * http://rapidminer.com * * This program is free software: you can redistribute it and/or modify it under the terms of the * GNU Affero General Public License as published by ...
agpl-3.0
tiltfactor/mg-game
www/protected/modules/plugins/modules/dictionary/views/stopWord/_search.php
881
<div class="wide form"> <?php $form = $this->beginWidget('GxActiveForm', array( 'action' => Yii::app()->createUrl($this->route), 'method' => 'get', )); ?> <div class="row"> <?php echo $form->label($model, 'word'); ?> <?php echo $form->textField($model, 'word', array('maxlength' => 64)); ?> </div> <div class...
agpl-3.0
AsherBond/MondocosmOS
bundler-sfm/src/keys.cpp
28778
/* * Copyright (c) 2008-2010 Noah Snavely (snavely (at) cs.cornell.edu) * and the University of Washington * * 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 2 of th...
agpl-3.0
marincelo/mtb-timing
spec/controllers/dashboard_controller_spec.rb
236
require 'rails_helper' RSpec.describe DashboardController, type: :controller do describe "GET #index" do pending "returns http success" do get :index expect(response).to have_http_status(:success) end end end
agpl-3.0
metabit/bitsquare
core/src/main/java/io/bitsquare/trade/protocol/availability/messages/OfferMessage.java
1613
/* * This file is part of Bitsquare. * * Bitsquare 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. * * Bitsquare is dist...
agpl-3.0
cindy820219/milsss
UI/new_for_sim_rhythm.py
31502
### import parsing from xml.dom.minidom import parse import xml.dom.minidom ### import ElementTree from xml.etree.ElementTree import ElementTree, Element, parse ### import math import math ### if it's cut note, change melody_cutnote[] of staff_data def melody_cut_note(melody_cutnote, measure, staff_data): if(le...
agpl-3.0
automenta/narchy
lab/src/main/java/jake2/sound/jsound/SND_MIX.java
13066
/* * SND_MIX.java * Copyright (C) 2004 * * $Id: SND_MIX.java,v 1.2 2004-09-22 19:22:09 salomo Exp $ */ /* Copyright (C) 1997-2001 Id Software, 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 Found...
agpl-3.0
KWZwickau/KREDA-Sphere
Library/Bootstrap.Jasny/3.1.3/vendor/twitter/bootstrap/grunt/bs-lessdoc-parser.js
6582
/*! * Bootstrap Grunt task for parsing Less docstrings * http://getbootstrap.com * Copyright 2014-2015 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ 'use strict'; var Markdown = require( 'markdown-it' ); function markdown2html( markdownString ) { var md = new ...
agpl-3.0
ANAXRIDER/OpenAI
OpenAI/OpenAI/Penalties/Pen_GVG_039.cs
284
using System; using System.Collections.Generic; using System.Text; namespace OpenAI { class Pen_GVG_039 : PenTemplate //vitalitytotem { public override float getPlayPenalty(Playfield p, Handmanager.Handcard hc, Minion target, int choice, bool isLethal) { return 0; } } }
agpl-3.0
cloudbau/donar
app/controllers/application_controller.rb
566
class ApplicationController < ActionController::Base protect_from_forgery before_filter { I18n.locale = params[:locale] || :en } before_filter :set_open_stack_connection rescue_from Excon::Errors::Unauthorized do |exception| # sign out user when session has timed out sign_out(current_user) redirect...
agpl-3.0
ivaylokenov/MyTested.Mvc
test/MyTested.AspNetCore.Mvc.ViewComponents.Test/Properties/AssemblyInfo.cs
369
using System.Reflection; using System.Runtime.InteropServices; using Microsoft.AspNetCore.Mvc.ApplicationParts; using Xunit; [assembly: ApplicationPart("MyTested.AspNetCore.Mvc.Test.Setups")] [assembly: AssemblyProduct("MyTested.AspNetCore.Mvc.ViewComponents.Test")] [assembly: ComVisible(false)] [assembly: Collecti...
agpl-3.0
wwood/ApiLocServer
db/migrate/053_create_annotations.rb
334
class CreateAnnotations < ActiveRecord::Migration def self.up create_table :annotations do |t| t.references :coding_region t.string :annotation t.timestamps end add_index :annotations, [:coding_region_id, :annotation], :unique => true end def self.down drop_table :annotati...
agpl-3.0
402231466/cda-0512
wsgi.py
21446
# coding=utf-8 # 上面的程式內容編碼必須在程式的第一或者第二行才會有作用 ################# (1) 模組導入區 # 導入 cherrypy 模組, 為了在 OpenShift 平台上使用 cherrypy 模組, 必須透過 setup.py 安裝 import cherrypy # 導入 Python 內建的 os 模組, 因為 os 模組為 Python 內建, 所以無需透過 setup.py 安裝 import os # 導入 random 模組 import random import math from cherrypy.lib.static import serve_file # ...
agpl-3.0
tis-innovation-park/carsharing-ds
src/main/java/it/bz/tis/integreen/carsharingbzit/tis/FakeConnector.java
2515
/* carsharing-ds: car sharing datasource for the integreen cloud Copyright (C) 2015 TIS Innovation Park - Bolzano/Bozen - Italy 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
mihir-parikh/sugarcrm_playground
custom/metadata/car_f_car_file_car_f_car_fileMetaData.php
2030
<?php // created: 2014-10-03 15:53:48 $dictionary["car_f_car_file_car_f_car_file"] = array ( 'true_relationship_type' => 'one-to-many', 'relationships' => array ( 'car_f_car_file_car_f_car_file' => array ( 'lhs_module' => 'car_f_car_file', 'lhs_table' => 'car_f_car_file', 'lhs_key' => ...
agpl-3.0
itstar4tech/news
l10n/tr.php
8519
<?php $TRANSLATIONS = array( "Feed contains invalid XML" => "Besleme, geçersiz XML içeriyor", "Feed not found: either the website does not provide a feed or blocks access. To rule out blocking, try to download the feed on your server's command line using curl: curl http://the-feed.tld" => "Besleme bulunamadı: ya web si...
agpl-3.0
boramko/PiSnap
snap/byob.js
100435
/* byob.js "build your own blocks" for SNAP! based on morphic.js, widgets.js blocks.js, threads.js and objects.js inspired by Scratch written by Jens Mönig jens@moenig.org Copyright (C) 2015 by Jens Mönig This file is part of Snap!. Snap! is free software: you can redistribute ...
agpl-3.0
harish-patel/ecrm
include/Expressions/Expression/Boolean/IsAlphaExpression.php
3161
<?php /* * ******************************************************************************* * The contents of this file are subject to the SugarCRM Master Subscription * Agreement ("License") which can be viewed at * http://www.sugarcrm.com/crm/en/msa/master_subscription_agreement_11_April_2011.pdf * By installing ...
agpl-3.0
sysraj86/carnivalcrm
include/javascript/yui3/build/stylesheet/stylesheet-min.js
7698
/* Copyright (c) 2009, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.net/yui/license.txt version: 3.0.0 build: 1549 */ YUI.add("stylesheet", function (B) { var J = B.config.doc, C = J.createElement("p"), F = C.style, D = B.Lang.isString, M = {}, I = {}, K = ("css...
agpl-3.0
opensourceBIM/BIMserver
PluginBase/generated/org/bimserver/models/store/impl/PercentageChangeImpl.java
3076
/** * 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
see-r/SeerDataCruncher
src/main/java/com/datacruncher/jpa/Update.java
1439
/* * 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
dhongu/l10n-romania
l10n_ro_dvi/tests/test_dvi.py
7749
# Copyright (C) 2020 Terrabit # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo.tests import Form from odoo.tests.common import SavepointCase class TestDVI(SavepointCase): @classmethod def setUpClass(cls): super(TestDVI, cls).setUpClass() account_type_inc = cls....
agpl-3.0
DBezemer/server
alpha/apps/kaltura/lib/batch2/kFlowManager.php
23756
<?php /** * * Manages the batch flow * * @package Core * @subpackage Batch * */ class kFlowManager implements kBatchJobStatusEventConsumer, kObjectAddedEventConsumer, kObjectChangedEventConsumer, kObjectDeletedEventConsumer, kObjectReadyForReplacmentEventConsumer,kObjectDataChangedEventConsumer { public final ...
agpl-3.0
battlecode/battlecode-server
src/main/battlecode/server/GameState.java
82
package battlecode.server; public enum GameState { RUNNING, DONE }
agpl-3.0
brewingagile/backoffice.brewingagile.org
application/src/main/java/org/brewingagile/backoffice/db/operations/StripeChargeSql.java
1777
package org.brewingagile.backoffice.db.operations; import fj.data.List; import lombok.EqualsAndHashCode; import lombok.ToString; import org.brewingagile.backoffice.instances.PreparedStatements; import org.brewingagile.backoffice.instances.ResultSets; import org.brewingagile.backoffice.types.Account; import org.brewing...
agpl-3.0
Siyy/RoadFlow
src/RoadFlow/Data.MSSQL/UsersRelation.cs
8859
using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Data.SqlClient; namespace Data.MSSQL { public class UsersRelation : Data.Interface.IUsersRelation { private DBHelper dbHelper = new DBHelper(); /// <summary> /// 构造函数 ...
agpl-3.0
BagelOrb/SpreadMaximizationJava
src/objective/ChaObjective.java
28106
package objective; import io.Images.InputSample; import java.util.Arrays; import layer.CnnDoubleLayer; import layer.CnnDoubleLayerState; import learningMechanism.LearningParameter; import network.LayerParameters; import network.Network; import network.NetworkState; import network.analysis.Debug; import network.main....
agpl-3.0
KiddoKiddo/WebSecA1Q1
lib/MDB2/Driver/Native/sqlite3.php
1035
<?php /** * ownCloud * * @author Robin Appelman * @copyright 2011 Robin Appelman icewind1991@gmail.com * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * License as published by the Free Software Foundation; either * version ...
agpl-3.0
noelhunter/SuiteCRM
tests/unit/lib/SuiteCRM/API/v8/Exception/UnsupportedMediaTypeTest.php
1223
<?php namespace SuiteCRM\Exception; use Psr\Log\LogLevel; use SuiteCRM\API\v8\Exception\ApiException; use SuiteCRM\API\v8\Exception\UnsupportedMediaType; class UnsupportedMediaTypeTest extends \Codeception\Test\Unit { /** * @var \UnitTester */ protected $tester; /**# * @var ApiException $...
agpl-3.0
superdesk/web-publisher
src/SWP/Bundle/ElasticSearchBundle/Loader/SearchResultLoader.php
3871
<?php declare(strict_types=1); /* * This file is part of the Superdesk Web Publisher ElasticSearch Bundle. * * Copyright 2017 Sourcefabric z.ú. and contributors. * * For the full copyright and license information, please see the * AUTHORS and LICENSE files distributed with this source code. * * @copyright 201...
agpl-3.0