code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 4 991 | language stringclasses 9
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
/**
* Mutinack mutation detection program.
* Copyright (C) 2014-2016 Olivier Cinquin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, version 3.
*
* This program is distributed i... | cinquin/mutinack | src/uk/org/cinquin/mutinack/misc_util/exceptions/ParseRTException.java | Java | agpl-3.0 | 1,045 |
/**
* Axelor Business Solutions
*
* Copyright (C) 2016 Axelor (<http://axelor.com>).
*
* 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 distribute... | jph-axelor/axelor-business-suite | axelor-production/src/main/java/com/axelor/apps/production/report/IReport.java | Java | agpl-3.0 | 920 |
/*=====================================================================
QGroundControl Open Source Ground Control Station
(c) 2009 - 2015 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
This file is part of the QGROUNDCONTROL project
QGROUNDCONTROL is free software: you can redistribute it and/or mod... | dagoodma/qgroundcontrol | src/FirmwarePlugin/PX4/PX4FirmwarePlugin.cc | C++ | agpl-3.0 | 7,680 |
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
import logging
from datetime import timedelta
from functools import partial
import psycopg2
import pytz
from odoo import api, fields, models, tools, _
from odoo.tools import float_is_zero
from odoo.exceptions import Use... | maxive/erp | addons/point_of_sale/models/pos_order.py | Python | agpl-3.0 | 56,888 |
# frozen_string_literal: true
class CreateTagReferences < ActiveRecord::Migration[4.2]
def change
create_table :tag_references do |t|
t.references :tag, null: false
t.references :taggable, null: false, polymorphic: true
t.timestamps null: false
end
end
end
| Feuerwehrsport/wettkampf-manager | db/migrate/20160229204201_create_tag_references.rb | Ruby | agpl-3.0 | 288 |
# -*- coding: utf-8 -*-
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright (C) 2014-2022 GEM Foundation
#
# OpenQuake 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 Licen... | gem/oq-engine | openquake/hazardlib/tests/gsim/ghofrani_atkinson_test.py | Python | agpl-3.0 | 4,595 |
# encoding: UTF-8
module MongoMapper
module Plugins
module Associations
class BelongsToProxy < Proxy
def replace(doc)
if doc
doc.save if doc.new?
id = doc.id
end
proxy_owner[association.foreign_key] = id
reload
end
pro... | anuragsolanki/ofri-Haus | vendor/gems/mongo_mapper-0.8.6/lib/mongo_mapper/plugins/associations/belongs_to_proxy.rb | Ruby | agpl-3.0 | 530 |
"""add column automatic_crawling to the user table
Revision ID: 8bf5694c0b9e
Revises: 5553a6c05fa7
Create Date: 2016-10-06 13:47:32.784711
"""
# revision identifiers, used by Alembic.
revision = '8bf5694c0b9e'
down_revision = '5553a6c05fa7'
branch_labels = None
depends_on = None
from alembic import op
import sqlalc... | JARR/JARR | migrations/versions/8bf5694c0b9e_add_column_automatic_crawling_to_the_.py | Python | agpl-3.0 | 543 |
// Copyright (c) 2012-present The upper.io/db authors. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the... | admpub/nging | vendor/github.com/webx-top/db/sqlite/sqlite.go | GO | agpl-3.0 | 2,795 |
/*-----------------------------------------------------------------------------
**
** -Gozer is not Zuul-
**
** Copyright 2017 by SwordLord - the coding crew - https://www.swordlord.com/
**
** This program is free software; you can redistribute it and/or modify it
** under the terms of the GNU Affero General Pub... | swordlordcodingcrew/gozer | src/main/java/com/swordlord/gozer/components/generic/graph/GGraph.java | Java | agpl-3.0 | 5,730 |
# Copyright 2012 John Sullivan
# Copyright 2012 Other contributers as noted in the CONTRIBUTERS file
#
# This file is part of Galah.
#
# Galah 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 vers... | tugluck/galah | galah/base/prioritydict.py | Python | agpl-3.0 | 4,196 |
/*
* 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... | quikkian-ua-devops/will-financials | kfs-kns/src/main/java/org/kuali/kfs/krad/util/documentserializer/SerializationState.java | Java | agpl-3.0 | 4,510 |
/*
* 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... | quikkian-ua-devops/will-financials | kfs-ar/src/main/java/org/kuali/kfs/module/ar/document/validation/impl/InvoiceRecurrencePreRules.java | Java | agpl-3.0 | 8,173 |
/* -*-mode:java; c-basic-offset:2; -*- */
/* JSchSession
* Copyright (C) 2002,2007 ymnk, JCraft,Inc.
*
* Written by: ymnk<ymnk@jcaft.com>
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public License
* as published by the Free Software ... | automenta/narchy | ui/src/main/java/com/jcraft/jcterm/JSchSession.java | Java | agpl-3.0 | 5,095 |
#region
using System;
using System.Collections.Generic;
using System.IO;
using common;
using Ionic.Zlib;
using wServer.realm.entities;
using wServer.realm.entities.merchant;
#endregion
namespace wServer.realm.terrain
{
public enum TileRegion : byte
{
None,
Spawn,
Realm_Portals,
... | GhostMaree/fsod_redis | wServer/realm/terrain/Wmap.cs | C# | agpl-3.0 | 14,367 |
@nantel.java.annotations.NonNullByDefault
package nantel.java.boulder.models.matrix; | hiveship/BoulderDash | src/main/java/nantel/java/boulder/models/matrix/package-info.java | Java | agpl-3.0 | 84 |
require 'rails_helper'
describe LocalesController, type: :controller do
describe 'PUT #update' do
it 'sets the locale session if valdi' do
put :update, params: { locale: 'es' }
expect(session[:locale]).to eq('es')
expect(response).to redirect_to root_path
end
it 'does nothing if invali... | Codeminer42/cm42-central | spec/controllers/locales_controller_spec.rb | Ruby | agpl-3.0 | 484 |
# -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) Open Solutions Finland 2013.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... | OpenSolutionsFinland/deliver_date | __openerp__.py | Python | agpl-3.0 | 1,459 |
<?php
namespace NetBull\CoreBundle\Utils;
// original source: http://kuwamoto.org/2007/12/17/improved-pluralizing-in-php-actionscript-and-ror/
/*
The MIT License (MIT)
Copyright (c) 2015
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentati... | netbull/CoreBundle | src/Utils/Inflect.php | PHP | agpl-3.0 | 9,221 |
<?php
/*
* Xibo - Digital Signage - http://www.xibo.org.uk
* Copyright (C) 2009-2016 Daniel Garner
*
* This file is part of Xibo.
*
* Xibo 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 ... | guruevi/xibo-cms | lib/Controller/Stats.php | PHP | agpl-3.0 | 29,839 |
/*
* ============================================================================
* Copyright (C) 2017 Kaltura Inc.
*
* Licensed under the AGPLv3 license, unless a different license for a
* particular library is specified in the applicable library path.
*
* You may obtain a copy of the License at
* https://ww... | shaoliancheng/videoplayer-android-tv | playkit/src/main/java/com/kaltura/playkit/api/base/model/BasePlaybackSource.java | Java | agpl-3.0 | 2,574 |
/* ---------------------------------------------------------------------
* Numenta Platform for Intelligent Computing (NuPIC)
* Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
* with Numenta, Inc., for a separate license for this software code, the
* following terms and conditions apply:
*
* This ... | EricSB/nupic.core | src/test/integration/PyRegionTest.cpp | C++ | agpl-3.0 | 20,414 |
package expr
import (
"context"
"encoding/json"
"fmt"
"github.com/grafana/grafana/pkg/expr/mathexp"
"gonum.org/v1/gonum/graph/simple"
"gonum.org/v1/gonum/graph/topo"
)
// NodeType is the type of a DPNode. Currently either a expression command or datasource query.
type NodeType int
const (
// TypeCMDNode is ... | grafana/grafana | pkg/expr/graph.go | GO | agpl-3.0 | 5,270 |
import React from 'react';
import StatisticBox from 'interface/others/StatisticBox';
import { formatNumber, formatPercentage } from 'common/format';
import SpellIcon from 'common/SpellIcon';
import SPELLS from 'common/SPELLS';
import Analyzer from 'parser/core/Analyzer';
const MS_BUFFER=200;
const ABUNDANCE_MANA_REDU... | FaideWW/WoWAnalyzer | src/parser/druid/restoration/modules/talents/Abundance.js | JavaScript | agpl-3.0 | 2,620 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MSTech.GestaoEscolar.ObjetosSincronizacao.Entities
{
public class Nivel
{
public int Nvl_id { get; set; }
public int Cur_id { get; set; }
public int Crr_id { get; set; }
public int C... | prefeiturasp/SME-SGP | Src/MSTech.GestaoEscolar.ObjetosSincronizacao/Entities/Nivel.cs | C# | agpl-3.0 | 701 |
/**
* Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later... | hltn/opencps | portlets/opencps-portlet/docroot/WEB-INF/service/org/opencps/usermgt/OutOfLengthUnitEmailException.java | Java | agpl-3.0 | 1,076 |
package nl.wietmazairac.bimql.get.attribute;
/******************************************************************************
* Copyright (C) 2009-2017 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
* publish... | opensourceBIM/bimql | BimQL/src/nl/wietmazairac/bimql/get/attribute/GetAttributeSubIfcStructuralLoadSingleForceWarping.java | Java | agpl-3.0 | 3,974 |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('scrapy', '0003_personvote_timestamp'),
('mps_v2', '0032_auto_20160531_1913'),
]
operations = [
migrations.AddField(
... | ManoSeimas/manoseimas.lt | manoseimas/mps_v2/migrations/0033_auto_20160603_1235.py | Python | agpl-3.0 | 745 |
/*
* JBILLING CONFIDENTIAL
* _____________________
*
* [2003] - [2012] Enterprise jBilling Software Ltd.
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Enterprise jBilling Software.
* The intellectual and technical concepts contained
* herein are proprie... | maxdelo77/replyit-master-3.2-final | src/java/com/sapienter/jbilling/server/pluggableTask/admin/PluggableTaskManager.java | Java | agpl-3.0 | 6,502 |
<?php
App::uses('Folder', 'Utility');
App::uses('File', 'Utility');
App::uses('FileAccessTool', 'Tools');
require_once 'AppShell.php';
/**
* @property User $User
* @property Event $Event
* @property Job $Job
* @property Tag $Tag
* @property Server $Server
*/
class EventShell extends AppShell
{
public $uses =... | SteveClement/MISP | app/Console/Command/EventShell.php | PHP | agpl-3.0 | 26,597 |
# 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:
# a non ending quest to the responsive locomotion way of traveling!
#... | antoine-de/navitia | source/jormungandr/jormungandr/interfaces/v1/serializer/schedule.py | Python | agpl-3.0 | 4,895 |
package org.marsik.elshelves.api.entities;
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
import lombok.Getter;
import lombok.Setter;
import... | MarSik/shelves | lib/api/src/main/java/org/marsik/elshelves/api/entities/ItemApiModel.java | Java | agpl-3.0 | 1,382 |
/*
* Aphelion
* Copyright (c) 2013 Joshua Edwards
*
* This file is part of Aphelion
*
* Aphelion 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.
*
* Aphelion is d... | Periapsis/aphelion | src/main/java/aphelion/shared/map/tile/classic/TileGoal.java | Java | agpl-3.0 | 4,254 |
// ----------------------------------------------------------------------------------
// Microsoft Developer & Platform Evangelism
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
// EITHER EXPRESSED OR IMPLIED, INCLUD... | Evilazaro/MCSDAzureTraining | Implement and Design Websites/HOL/ASPNETAzureWebSites/Source/Assets/MVCSample.Web/MVCSample.Web/Models/Customer.cs | C# | agpl-3.0 | 1,429 |
<?php
namespace Application\Migrations;
use Doctrine\DBAL\Migrations\AbstractMigration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
class Version20150317013950 extends AbstractMigration
{
/**
* @param Schema $schema
*/
public function up(Schema... | LePartiDeGauche/congres | app/DoctrineMigrations/Version20150317013950.php | PHP | agpl-3.0 | 1,165 |
#
# Copyright (C) 2011 - 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 distributed in the ... | venturehive/canvas-lms | spec/models/account_spec.rb | Ruby | agpl-3.0 | 64,875 |
/* © 2016 Jairo Llopis <jairo.llopis@tecnativa.com>
* License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). */
(function ($) {
"use strict";
$('.oe_website_sale').each(function () {
var $this = $(this),
$country_selector = $this.find("select[name=country_id]"),
$no_coun... | brain-tec/e-commerce | website_sale_checkout_country_vat/static/src/js/change_country.js | JavaScript | agpl-3.0 | 921 |
/*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* 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... | phenotips/phenotips | components/entities/api/src/main/java/org/phenotips/entities/spi/AbstractIncomingPrimaryEntityConnectionsManager.java | Java | agpl-3.0 | 8,148 |
class Ticket::Glance
def self.report(reports)
reports.each do |mthd, klass|
# Define the getter method for this report
class_eval(<<-EOS, __FILE__, __LINE__)
def #{mthd}
@#{mthd} ||= #{klass}.new(@parent)
end
EOS
# Delegate methods to the created method
del... | andrewkrug/artfully_ose | app/models/ticket/glance.rb | Ruby | agpl-3.0 | 846 |
/*
* Copyright © 2014 Benjamin Gehrels
*
* This file is part of The Single Transferable Vote Elections Library.
*
* The Single Transferable Vote Elections Library 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... | BGehrels/singleTransferableVoteElections | src/test/java/info/gehrels/voting/genderedElections/StringBuilderBackedElectionCalculationWithFemaleExclusivePositionsListener.java | Java | agpl-3.0 | 3,869 |
<?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| ... | kurund/com.webaccessglobal.membershipcard | CRM/Membershipcard/BAO/Card.php | PHP | agpl-3.0 | 8,234 |
<?php
App::uses('AppController', 'Controller');
App::uses('Xml', 'Utility');
class ServersController extends AppController {
public $components = array('Security' ,'RequestHandler'); // XXX ACL component
public $paginate = array(
'limit' => 60,
'recursive' => -1,
'contain' => array(
'User' => array(
... | cristianbell/MISP | app/Controller/ServersController.php | PHP | agpl-3.0 | 56,712 |
#!/usr/bin/env python2
from titanembeds.app import app, socketio
import subprocess
def init_debug():
import os
from flask import jsonify, request
os.environ['OAUTHLIB_INSECURE_TRANSPORT'] = '1' # Testing oauthlib
app.jinja_env.auto_reload = True
app.config['TEMPLATES_AUTO_RELOAD'] = True
... | TitanEmbeds/Titan | webapp/run.py | Python | agpl-3.0 | 1,599 |
//
// ImportUtils.cs
//
// Author:
// Emmanuel Mathot <emmanuel.mathot@terradue.com>
//
// Copyright (c) 2014 Terradue
using System;
using System.Collections.Generic;
using System.Xml;
using Terradue.ServiceModel.Syndication;
using System.Collections.Specialized;
using System.Linq;
using System.Xml.Linq;
usi... | Terradue/DotNetOpenSearchGeoJson | Terradue.OpenSearch.GeoJson/Terradue/OpenSearch/GeoJson/Import/ImportUtils.cs | C# | agpl-3.0 | 14,902 |
package humanize
import "strings"
// Language definition structures.
// List all the existing language providers here.
var languages = map[string]LanguageProvider{
"pl": lang_pl,
"en": lang_en,
"zh-cn": lang_zh_cn,
}
func Register(language string, provider LanguageProvider) {
language = strings.ToLower(la... | admpub/nging | vendor/github.com/admpub/humanize/lang_structs.go | GO | agpl-3.0 | 1,591 |
<?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 [
'play_more' => 'Thay vào đó, hay là chơi osu! một chút nhỉ?',
'require_login' => 'Vui lòng đăng nhập để tiếp tục.',
... | LiquidPL/osu-web | resources/lang/vi/authorization.php | PHP | agpl-3.0 | 8,941 |
/*
* Copyright (C) 2000 - 2012 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spec... | NicolasEYSSERIC/Silverpeas-Core | web-core/src/main/java/org/silverpeas/admin/web/AbstractTypeEntity.java | Java | agpl-3.0 | 1,911 |
package net.contargo.iris.address.dto;
import net.contargo.iris.GeoLocation;
import net.contargo.iris.address.nominatim.service.OsmType;
import java.util.List;
import java.util.Map;
/**
* Delegates to AddressService and converts Address Beans into Address DTOs.
*
* @author Arnold Franke - franke@synyx.de
* @au... | Contargo/iris | src/main/java/net/contargo/iris/address/dto/AddressDtoService.java | Java | agpl-3.0 | 3,782 |
from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^pool/(?P<pk>[0-9a-zA-Z\/]+)/$', views.UserRedirectView.as_view(), name='pool'),
url(r'^pool/(?P<pk>[\d\w_]+)$', views.pool_fix, name='pool_fix'), #allow decimal and words only.
]
| agusmakmun/Some-Examples-of-Simple-Python-Script | Django/redirect/urls.py | Python | agpl-3.0 | 264 |
// ===================================================================================================
// _ __ _ _
// | |/ /__ _| | |_ _ _ _ _ __ _
// | ' </ _` | | _| || | '_/ _` |
// |_|\_\__,_|_|\__|\_,_|_| \_... | kaltura/KalturaGeneratedAPIClientsAndroid | KalturaClient/src/main/java/com/kaltura/client/types/ESearchEntryNestedBaseItem.java | Java | agpl-3.0 | 2,352 |
package org.bimserver.plugins;
/******************************************************************************
* Copyright (C) 2009-2019 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... | opensourceBIM/BIMserver | PluginBase/src/org/bimserver/plugins/PluginBundle.java | Java | agpl-3.0 | 1,454 |
/*
* Copyright 2014 Telefonica Investigación y Desarrollo, S.A.U
*
* This file is part of fiware-iotagent-lib
*
* fiware-iotagent-lib 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 versio... | telefonicaid/iotagent-node-lib | lib/services/devices/deviceRegistryMongoDB.js | JavaScript | agpl-3.0 | 11,503 |
/*
jBilling - The Enterprise Open Source Billing System
Copyright (C) 2003-2011 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 published by
the Fre... | WebDataConsulting/billing | src/java/com/sapienter/jbilling/server/payment/tasks/PaymentRouterCurrencyTask.java | Java | agpl-3.0 | 3,019 |
# -*- coding: utf-8 -*-
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).
from odoo import models, api
class SendPEC(models.TransientModel):
_name = 'wizard.fatturapa.send.pec'
_description = "Wizard to send multiple e-invoice PEC"
@api.multi
def send_pec(self):
if self.env.co... | linkitspa/l10n-italy | l10n_it_fatturapa_pec/wizard/send_pec.py | Python | agpl-3.0 | 503 |
{{--
Copyright 2015 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 GNU General Public License... | dvcrn/osu-web | resources/views/store/product.blade.php | PHP | agpl-3.0 | 6,180 |
require 'spec_helper'
feature "Using embedded shopfront functionality", js: true do
include OpenFoodNetwork::EmbeddedPagesHelper
include AuthenticationWorkflow
include WebHelper
include ShopWorkflow
include CheckoutWorkflow
include UIComponentHelper
describe "using iframes" do
let(:distributor) { cr... | lin-d-hop/openfoodnetwork | spec/features/consumer/shopping/embedded_shopfronts_spec.rb | Ruby | agpl-3.0 | 4,300 |
# To ensure that the core entry types are registered
| melissiproject/server | melisi/mlscommon/__init__.py | Python | agpl-3.0 | 54 |
import AbstractServiceReceiver from "../../Base/AbstractServiceReceiver";
import Sender from "../../Base/Container/Sender";
import HomeInstanceController from "./HomeInstanceController";
import ClientBootSender from "../../Contents/Sender/ClientBootSender";
import GetRoomSender from "../../Contents/Sender/GetRoomSen... | iwatendo/skybeje | src/Page/HomeInstance/HomeInstanceReceiver.ts | TypeScript | agpl-3.0 | 5,246 |
class PandaseqModule extends Module {
constructor (params) {
super ("pandaseq", "https://github.com/yoann-dufresne/amplicon_pipeline/wiki/Pandaseq-module");
this.params = params;
}
onLoad () {
super.onLoad();
var that = this;
// --- Inputs ---
var inputs = this.dom.getElementsByClassName('input_file'... | yoann-dufresne/amplicon_pipeline | www/modules/pandaseq.js | JavaScript | agpl-3.0 | 1,149 |
# frozen_string_literal: true
module Decidim
module Meetings
# This class serializes a Meeting so can be exported to CSV, JSON or other
# formats.
class MeetingSerializer < Decidim::Exporters::Serializer
include Decidim::ApplicationHelper
include Decidim::ResourceHelper
# Public: Initi... | codegram/decidim | decidim-meetings/lib/decidim/meetings/meeting_serializer.rb | Ruby | agpl-3.0 | 2,351 |
# -*- coding: utf-8 -*-
# © 2016 Elico Corp (https://www.elico-corp.com).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
'name': 'Business Requirement Deliverable - Project',
'category': 'Business Requirements Management',
'summary': 'Create projects and tasks directly from'
... | sudhir-serpentcs/business-requirement | business_requirement_deliverable_project/__manifest__.py | Python | agpl-3.0 | 882 |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using SSCMS.Configuration;
using SSCMS.Core.StlParser.Models;
using SSCMS.Core.StlParser.StlElement;
using SSCMS.Utils;
namespace SSCMS.Web.Controllers.Stl
{
public partial class ActionsIfController
{
[HttpPost, Route(Constants.RouteStlRout... | siteserver/cms | src/SSCMS.Web/Controllers/Stl/ActionsIfController.Get.cs | C# | agpl-3.0 | 1,361 |
/*
* Copyright (C) 2006-2016 Music Technology Group - Universitat Pompeu Fabra
*
* This file is part of Essentia
*
* Essentia 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 (FSF), either version... | carthach/essentia | src/algorithms/standard/ifftwcomplex.cpp | C++ | agpl-3.0 | 3,238 |
/*
* Copyright 2011 Witoslaw Koczewsi <wi@koczewski.de>, Artjom Kochtchi
*
* 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 l... | MiguelSMendoza/Kunagi | WEB-INF/classes/scrum/server/impediments/ImpedimentListPdfCreator.java | Java | agpl-3.0 | 2,682 |
using UnityEngine;
using System.Collections;
public class ExitButton : MonoBehaviour {
public Texture buttonTextureExit;
void OnGUI() {
GUIStyle myButtonStyle = new GUIStyle(GUI.skin.button);
myButtonStyle.fontSize = 20;
if (GUI.Button (new Rect ((Screen.width*2/4) -40, Screen.height*4/5, 80, 80), buttonTextu... | softwarejimenez/funnyBall | project/Assets/Scripts/ExitButton.cs | C# | agpl-3.0 | 558 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;
using Breeze.Sharp;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Northwind.Models;
namespace Test_NetClient
{
[TestClass]
public class InsideEntityTests
{
priv... | Breeze/breeze.sharp.samples | DocCode/Client/DocCode.Client/InsideEntityTests.cs | C# | agpl-3.0 | 8,515 |
# encoding: utf-8
# This file is part of the K5 bot project.
# See files README.md and COPYING for copyright and licensing information.
require 'stringio'
require 'IRC/complex_regexp/visitors/node_visitor'
module ComplexRegexp
module Visitors
class NodeStringVisitor
include NodeVisitor
attr_reader... | k5bot/k5bot | IRC/complex_regexp/visitors/node_string_visitor.rb | Ruby | agpl-3.0 | 1,709 |
/*
Copyright (c) 2000-2013 "independIT Integrative Technologies GmbH",
Authors: Ronald Jeninga, Dieter Stubler
schedulix Enterprise Job Scheduling System
independIT Integrative Technologies GmbH [http://www.independit.de]
mailto:contact@independit.de
This file is part of schedulix
schedulix is free software:
you c... | schedulix/schedulix | src/server/repository/SDMSnpSrvrSRFootprint.java | Java | agpl-3.0 | 1,454 |
/*********************************************************************************
* Ephesoft is a Intelligent Document Capture and Mailroom Automation program
* developed by Ephesoft, Inc. Copyright (C) 2010-2012 Ephesoft Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the... | kuzavas/ephesoft | dcma-util/src/main/java/com/ephesoft/dcma/util/FileUtils.java | Java | agpl-3.0 | 38,031 |
<?php
/**
* @author Joas Schilling <coding@schilljs.com>
* @author Lukas Reschke <lukas@statuscode.ch>
* @author Morris Jobke <hey@morrisjobke.de>
*
* @copyright Copyright (c) 2016, ownCloud GmbH.
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of ... | IljaN/core | lib/public/Mail/IMailer.php | PHP | agpl-3.0 | 2,482 |
<?php
/**
* Copyright (C) 2016 Piotr Janczyk
*
* This file is part of lo1olkusz unofficial app - website.
*
* 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... | pjanczyk/lo1olkusz-website | app/code/src/Cron/CronTask.php | PHP | agpl-3.0 | 3,232 |
import click
from lc8_download.lc8 import Downloader
@click.command('lc8_download')
@click.argument('scene', type=str, metavar='<scene>')
@click.option('-b', type=str, help="""Bands to be downloaded. Use commas as
delimiter. Example: '-b 2,3,4,BQA'""")
@click.option('--all', is_flag=True, help="Download all band... | ibamacsr/lc8_download | lc8_download/scripts/cli.py | Python | agpl-3.0 | 937 |
const patron = require('patron.js');
class Remove extends patron.Command {
constructor() {
super({
names: ['remove', 'r'],
groupName: 'fun',
description: 'Deletes the command',
guildOnly: false,
args: [
new patron.Argument({
name: 'text',
key: 'text',
... | VapidSlay/selfbot | src/commands/Fun/remove.js | JavaScript | agpl-3.0 | 565 |
<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* The contents of this file are subject to the SugarCRM Master Subscription
* Agreement ("License") which can be viewed at
* http://www.sugarcrm.com/crm/e... | harish-patel/ecrm | modules/Emails/Grab.php | PHP | agpl-3.0 | 3,432 |
import {
event as currentEvent,
selectAll as d3SelectAll,
select as d3Select,
mouse as currentMouse,
} from 'd3-selection'
import { NODE_RADIUS } from '../constants'
const nodeRe = /node(\d*)_(.*)/
const getNodeIdFromElementId = (elementId) => (
[
elementId.replace(nodeRe, "$1"),
e... | bryanph/Geist | client/app/components/graphs/ExploreGraph/drag.js | JavaScript | agpl-3.0 | 6,601 |
#!/usr/bin/env python
# -*- encoding: UTF-8 -*-
# This file is part of Addison Arches.
#
# Addison Arches 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 you... | tundish/addisonarches | addisonarches/web/hateoas.py | Python | agpl-3.0 | 1,827 |
<?php
//Pau: Google Analytics asynchronous tracking code
//If we are not running on a local machine
if (!preg_match('/localhost/', $_SERVER['HTTP_HOST'])):
//And we are not in a UPF computer
$excludedIPs = array (
'^193\.145\.56\.241$',
'^193\.145\.56\.242$',
'^193\.145\.56\.243$',
'^193\.145\.56\.24... | GTI-Learning/LdShake | views/default/page_elements/analytics.php | PHP | agpl-3.0 | 1,065 |
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
import uuid
from itertools import groupby
from datetime import datetime, timedelta
from werkzeug.urls import url_encode
from odoo import api, fields, models, _
from odoo.exceptions import UserError, AccessError
from od... | maxive/erp | addons/sale/models/sale.py | Python | agpl-3.0 | 64,688 |
package com.x.processplatform.assemble.designer.jaxrs.file;
import java.util.Date;
import javax.persistence.EntityManager;
import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaQuery;
import javax.persistence.criteria.Predicate;
import javax.persistence.criteria.Root;
import co... | o2oa/o2oa | o2server/x_processplatform_assemble_designer/src/main/java/com/x/processplatform/assemble/designer/jaxrs/file/ActionCopy.java | Java | agpl-3.0 | 3,848 |
// Copyright 2014-2015 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package operation
import (
"time"
corecharm "github.com/juju/charm/v9"
"github.com/juju/errors"
"github.com/juju/names/v4"
utilexec "github.com/juju/utils/v2/exec"
"github.com/juju/juju/core/model"
"github.com/j... | jameinel/juju | worker/uniter/operation/interface.go | GO | agpl-3.0 | 10,078 |
(function(C2C, $) {
// area selector size
C2C.changeSelectSize = function(id, up_down) {
var select = $('#' + id);
var height = select.height();
if (up_down) {
height += 150;
} else {
height = Math.max(100, height - 150);
}
select.height(height);
};
// for some search inp... | c2corg/camptocamp.org | web/static/js/filter.js | JavaScript | agpl-3.0 | 2,561 |
/*
* Copyright (c) 2013-2016 John Connor (BM-NC49AxAjcqVcF5jNPu85Rb8MJ2d9JqZt)
*
* This file is part of vcash.
*
* vcash is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License with
* additional permissions to the one published by the Free Software
*... | xCoreDev/vanillacoin | include/coin/stack.hpp | C++ | agpl-3.0 | 6,768 |
# frozen_string_literal: true
module Decidim
module Blogs
# The data store for a Blog in the Decidim::Blogs component. It stores a
# title, description and any other useful information to render a blog.
class Post < Blogs::ApplicationRecord
include Decidim::Resourceable
include Decidim::HasAt... | decidim/decidim | decidim-blogs/app/models/decidim/blogs/post.rb | Ruby | agpl-3.0 | 2,000 |
/**
* 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.
*
... | opensourceBIM/BIMserver | PluginBase/generated/org/bimserver/models/ifc2x3tc1/IfcBoundingBox.java | Java | agpl-3.0 | 9,365 |
<?php
/*********************************************************************************
* Zurmo is a customer relationship management program developed by
* Zurmo, Inc. Copyright (C) 2013 Zurmo Inc.
*
* Zurmo is free software; you can redistribute it and/or modify it under
* the terms of t... | sandeep1027/zurmo_ | app/protected/modules/zurmo/components/ZurmoBaseController.php | PHP | agpl-3.0 | 61,140 |
<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* The contents of this file are subject to the SugarCRM Master Subscription
* Agreement ("License") which can be viewed at
* http://www.sugarcrm.com/crm... | harish-patel/ecrm | modules/ContractTypes/language/pl_PL.lang.php | PHP | agpl-3.0 | 2,751 |
'use strict';
var Tokenizer = require('../tokenization/tokenizer'),
HTML = require('./html');
//Aliases
var $ = HTML.TAG_NAMES,
NS = HTML.NAMESPACES,
ATTRS = HTML.ATTRS;
//MIME types
var MIME_TYPES = {
TEXT_HTML: 'text/html',
APPLICATION_XML: 'application/xhtml+xml'
};
//Attributes
var DEFINITI... | Adimpression/NewsMute | service/lambda/counsellor/node_modules/cheerio/node_modules/jsdom/node_modules/parse5/lib/common/foreign_content.js | JavaScript | agpl-3.0 | 9,186 |
/* Copyright © 2016 Lukas Rosenthaler, André Kilchenmann, Andreas Aeschlimann,
* Sofia Georgakopoulou, Ivan Subotic, Benjamin Geer, Tobias Schweizer.
* This file is part of SALSAH.
* SALSAH is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as publi... | dhlab-basel/Salsah | src/app/view/dashboard/project/project.component.ts | TypeScript | agpl-3.0 | 3,384 |
<?php
/**
* Copyright (c) 2012, Agence Française Informatique (AFI). All rights reserved.
*
* AFI-OPAC 2.0 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.
*
* There are special exceptions to the ... | lolgzs/opacce | library/Class/WebService/SIGB/BiblixNet/Service.php | PHP | agpl-3.0 | 3,002 |
/**
* 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 ... | aborg0/rapidminer-studio | src/main/java/com/rapidminer/operator/ports/impl/AbstractOutputPort.java | Java | agpl-3.0 | 5,206 |
var map;
var maps = [];
var thisLayer;
var proj_4326 = new OpenLayers.Projection('EPSG:4326');
var proj_900913 = new OpenLayers.Projection('EPSG:900913');
var vlayer;
var vlayers = [];
var highlightCtrl;
var selectCtrl;
var selectedFeatures = [];
function initEditMap(settings){
var defaultSettings = {
... | txau/OpenEvSys | www/res/openlayers/map.js | JavaScript | agpl-3.0 | 26,354 |
# coding: utf-8
# @ 2015 Valentin CHEMIERE @ Akretion
# © @author Mourad EL HADJ MIMOUNE <mourad.elhadj.mimoune@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
import logging
import os
import threading
import odoo
from odoo import models, api
# from odoo.addons.auth_signup.controll... | thinkopensolutions/tkobr-addons | tko_document_ocr_external_file_location_threaded/models/task.py | Python | agpl-3.0 | 4,504 |
<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) PHP-Fusion Inc
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: user_name_last_include.php
| Author: Chubatyj Vitalij (Rizado)
+-------------------... | Talocha/PHP-Fusion | includes/user_fields/user_name_last_include.php | PHP | agpl-3.0 | 1,190 |
// installed by cozy-scripts
require('babel-polyfill')
// polyfill for requestAnimationFrame
/* istanbul ignore next */
global.requestAnimationFrame = cb => {
setTimeout(cb, 0)
}
| gregorylegarec/cozy-collect | test/jestLib/setup.js | JavaScript | agpl-3.0 | 182 |
// This file is part of Mystery Dungeon eXtended.
// Copyright (C) 2015 Pikablu, MDX Contributors, PMU Staff
// 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 ... | pmdcp/Server | Server/DataConverter/Moves/V1/Move.cs | C# | agpl-3.0 | 1,744 |
package scrum.client.common;
import ilarkesto.core.base.Str;
import ilarkesto.gwt.client.AAction;
import ilarkesto.gwt.client.AWidget;
import ilarkesto.gwt.client.ButtonWidget;
import ilarkesto.gwt.client.DropdownMenuButtonWidget;
import ilarkesto.gwt.client.Gwt;
import com.google.gwt.dom.client.Style.Unit;
import co... | hogi/kunagi | src/main/java/scrum/client/common/BlockHeaderWidget.java | Java | agpl-3.0 | 5,038 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using common;
using wServer.logic.behaviors;
using wServer.realm.entities;
using wServer.realm;
using wServer.realm.worlds;
using wServer.realm.worlds.logic;
namespace wServer.logic
{
public class DamageCounter
{
Ene... | cp-nilly/NR-CORE | wServer/logic/DamageCounter.cs | C# | agpl-3.0 | 6,032 |
/*
* ################################################################
*
* ProActive Parallel Suite(TM): The Java(TM) library for
* Parallel, Distributed, Multi-Core Computing for
* Enterprise Grids & Clouds
*
* Copyright (C) 1997-2011 INRIA/University of
* Nice-Sophia Antipolis/ActiveEon
... | acontes/scheduling | src/scheduler/src/org/ow2/proactive/scheduler/common/task/ExecutableInitializer.java | Java | agpl-3.0 | 2,209 |
package de.fhg.fokus.mdc.serviceNutzerProfil.services;
// imports
import java.io.IOException;
import java.util.logging.Logger;
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.Context;
import javax.ws.rs.core.HttpHeaders;
import javax... | fraunhoferfokus/gemo | src/mobility-services/userprofile/src/main/java/de/fhg/fokus/mdc/serviceNutzerProfil/services/GetUserDetailsService.java | Java | agpl-3.0 | 1,541 |
//******************************************************************************
///
/// @file core/shape/truetype.cpp
///
/// This module implements rendering of TrueType fonts.
/// This file was written by Alexander Enzmann. He wrote the code for
/// rendering glyphs and generously provided us these enhancements.
//... | FLOWERCLOUD/povray | source/core/shape/truetype.cpp | C++ | agpl-3.0 | 95,703 |