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 |
|---|---|---|---|---|---|
#include "statuslabel.h"
#include "../utility/font.h"
StatusLabel::StatusLabel(QWidget *parent, std::size_t id, const QString &initial) :
QLabel(initial, parent),
m_id(id) {
setFont(qfont::courier());
}
std::size_t StatusLabel::id() const {
return m_id;
}
| Controls-UWNRG/minotaur-cpp | code/camera/statuslabel.cpp | C++ | gpl-3.0 | 274 |
package com.earth2me.essentials.commands;
import com.earth2me.essentials.CommandSource;
import static com.earth2me.essentials.I18n.tl;
import com.earth2me.essentials.User;
import com.earth2me.essentials.UserMap;
import com.earth2me.essentials.craftbukkit.BanLookup;
import com.earth2me.essentials.utils.DateUtil;
import... | RubyFreedomDevelopmentTeam/TF-Essentials | Essentials/src/com/earth2me/essentials/commands/Commandseen.java | Java | gpl-3.0 | 8,040 |
class RemoveKatelloFlagFromContainers < ActiveRecord::Migration[4.2]
def up
remove_column :containers, :katello
end
def down
add_column :containers, :katello, :boolean
end
end
| theforeman/foreman-docker | db/migrate/20150303175646_remove_katello_flag_from_containers.rb | Ruby | gpl-3.0 | 193 |
<?php
/** OGotcha, a combat report converter for Ogame
* Copyright (C) 2014 Klaas Van Parys
*
* 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 Licens... | Warsaalk/OGotcha | app/modules/kokx/renderer/vii/settings.php | PHP | gpl-3.0 | 1,038 |
/*
* Copyright (C) 2008-2009 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | dyne/ZShaolin | termapk/src/com/spartacusrex/spartacuside/keyboard/CandidateView.java | Java | gpl-3.0 | 10,396 |
from scipy import stats
N=stats.norm
print N.mean() # 0
print N.var() # 1
xi = N.isf(0.95)
print xi # -1.64485
N.cdf(xi) # Vérification : 0.05
# Graphiques de la fonction de densité et la cumulative.
P=plot(N.cdf,x,-10,10)
Q=plot(N.pdf,x,-10,10,color="red")
show(P+Q)
| LaurentClaessens/mazhe | tex/frido/code_sage2.py | Python | gpl-3.0 | 306 |
package fr.xephi.authme.process.join;
import fr.xephi.authme.ConsoleLogger;
import fr.xephi.authme.data.limbo.LimboService;
import fr.xephi.authme.datasource.DataSource;
import fr.xephi.authme.events.ProtectInventoryEvent;
import fr.xephi.authme.message.MessageKey;
import fr.xephi.authme.permission.PlayerStatePermissi... | Xephi/AuthMeReloaded | src/main/java/fr/xephi/authme/process/join/AsynchronousJoin.java | Java | gpl-3.0 | 7,728 |
/*
* Copyright 2010 Research Studios Austria Forschungsgesellschaft mBH
*
* This file is part of easyrec.
*
* easyrec 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
... | ferronrsmith/easyrec | easyrec-core/src/main/java/org/easyrec/store/dao/core/impl/ProfileDAOMysqlImpl.java | Java | gpl-3.0 | 17,841 |
package net.minecraft.client.particle;
import net.minecraft.block.material.Material;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
public class ParticleBubble extends Particle
{
protected ParticleBubble(World worldIn, double xCoordIn, double yCoordIn, double zCoordIn, double xSpeedIn,... | MartyParty21/AwakenDreamsClient | mcp/src/minecraft/net/minecraft/client/particle/ParticleBubble.java | Java | gpl-3.0 | 2,145 |
/*
* ScaleAdapter.java
*
* Norbiron Game
* This is a case study for creating sprites for SamuEntropy/Brainboard.
*
* Copyright (C) 2016, Dr. Bátfai Norbert
*
* 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... | artibarti/SamuEntropy | cs/BrainBoard/BrainBoard_v9/src/batfai/samuentropy/brainboard8/ScaleAdapter.java | Java | gpl-3.0 | 2,254 |
/**
* GaiaEHR (Electronic Health Records)
* Copyright (C) 2012 Ernesto Rodriguez
*
* 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) a... | chithubco/doctorapp | app/model/administration/LabObservations.js | JavaScript | gpl-3.0 | 1,649 |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... | luke-tucker/moodle-old | admin/tool/uploaduser/version.php | PHP | gpl-3.0 | 1,173 |
package net.programmierecke.radiodroid2.recording;
import android.content.ClipData;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.net.Uri;
import android.os.Build;
import android.util.Log;
import android.vi... | segler-alex/RadioDroid | app/src/main/java/net/programmierecke/radiodroid2/recording/RecordingsAdapter.java | Java | gpl-3.0 | 4,544 |
<?php
namespace phpws;
/**
* Creates a session to hold module settings.
* Prevents modules from having to load their config tables
* per page.
*
* @author Matt McNaney <mcnaney at gmail dot com>
* @version $Id$
*/
class PHPWS_Settings
{
/**
* Returns the value of a setting or false if not set
*/
... | jlbooker/phpwebsite | src-phpws-legacy/src/PHPWS_Settings.php | PHP | gpl-3.0 | 8,205 |
// SuperTux
// Copyright (C) 2006 Matthias Braun <matze@braunis.de>
// Ingo Ruhnke <grumbel@gmail.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, either versi... | GrumbelsTrashbin/supertux.auto_export | src/video/font.cpp | C++ | gpl-3.0 | 12,765 |
/*
* Copyright (c) 2018, Psiphon Inc.
* All rights reserved.
*
* 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.
*... | Psiphon-Labs/psiphon-tunnel-core | psiphon/common/accesscontrol/accesscontrol.go | GO | gpl-3.0 | 8,880 |
/*
* Copyright (c) 2010-2012 Thiago T. Sá
*
* This file is part of CloudReports.
*
* CloudReports 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... | thiagotts/CloudReports | src/main/java/cloudreports/gui/Dialog.java | Java | gpl-3.0 | 4,355 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Win32;
namespace RemotePotatoServer
{
public class MCLibraryFolderHelper
{
public MCLibraryFolderHelper()
{
}
public enum Libraries { Image, Movie, Video }
public L... | isawred2/RemotePotatoLiveTV | Server/RPServer/Code/FileBrowsing/MCLibraryFolderHelper.cs | C# | gpl-3.0 | 1,369 |
/*
* Copyright (C) 2011 Hans Vandierendonck (hvandierendonck@acm.org)
* Copyright (C) 2011 George Tzenakis (tzenakis@ics.forth.gr)
* Copyright (C) 2011 Dimitrios S. Nikolopoulos (dsn@ics.forth.gr)
*
* This file is part of Swan.
*
* Swan is free software: you can redistribute it and/or modify
* it under the te... | hvdieren/swan | tests/exobject.cc | C++ | gpl-3.0 | 3,826 |
/**
* Copyright (C) 2013-2014 Project-Vethrfolnir
*
* 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.
*
... | Setekh/vethrfolnir-mu | src/main/game-core/com/vethrfolnir/game/controllers/NpcController.java | Java | gpl-3.0 | 1,769 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
# (c) 2012, Jeroen Hoekx <jeroen@hoekx.be>
#
# This file is part of Ansible
#
# Ansible 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 Licens... | sysadmin75/ansible-modules-core | utilities/logic/wait_for.py | Python | gpl-3.0 | 20,316 |
using NLog;
using System.Web.Mvc;
namespace Web.Attributes
{
public class GlobalHandleErrorAttribute : HandleErrorAttribute
{
private static readonly Logger Nlog = LogManager.GetCurrentClassLogger();
public override void OnException(ExceptionContext filterContext)
{
Nlog.Lo... | goiwebdev/accountgo | src/Web/Attributes/GlobalHandleErrorAttribute.cs | C# | gpl-3.0 | 429 |
<?php
// This is a SPIP language file -- Ceci est un fichier langue de SPIP
// extrait automatiquement de http://trad.spip.net/tradlang_module/ecrire_?lang_cible=es
// ** ne pas modifier le fichier **
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
$GLOBALS[$GLOBALS['idx_lang']] = array(
// A
'activer_plugin' ... | ernestovi/ups | spip/ecrire/lang/ecrire_es.php | PHP | gpl-3.0 | 62,766 |
#!/usr/bin/env python
########################################################################
# File : dirac-proxy-init.py
# Author : Adrian Casajus
###########################################################from DIRAC.Core.Base import Script#############
import sys
import DIRAC
from DIRAC.Core.Base import Script
... | Andrew-McNab-UK/DIRAC | FrameworkSystem/scripts/dirac-proxy-get-uploaded-info.py | Python | gpl-3.0 | 2,416 |
#
# Copyright 2005,2006,2007 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
#
from __future__ import print_function
from __future__ import absolute_import
from __future__ import division
import struct
import numpy
import six
from gnuradio import gru... | jdemel/gnuradio | gr-digital/python/digital/packet_utils.py | Python | gpl-3.0 | 27,833 |
package de.metas.ui.web.view.json;
import java.util.List;
import java.util.Set;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import c... | metasfresh/metasfresh-webui-api | src/main/java/de/metas/ui/web/view/json/JSONViewLayout.java | Java | gpl-3.0 | 8,641 |
# Copyright (C) 2008-2009 Adam Olsen
#
# 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, or (at your option)
# any later version.
#
# This program is distributed in the hope that... | jeromeLB/client175 | metadata/speex.py | Python | gpl-3.0 | 1,397 |
/**
* Copyright (C) 2013 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | wanam/AppOpsXposed | src/com/android/settings/applications/AppOpsCategory.java | Java | gpl-3.0 | 13,860 |
/*
This file is part of LibQtLua.
LibQtLua is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
LibQtLua is distr... | likwueron/libqtlua_fork | src/internal/qtluaenum.hh | C++ | gpl-3.0 | 1,522 |
angular.module("app").controller("DeleteRequiredSignoffsCtrl",
function ($scope, $modalInstance, $q, CSRF, ProductRequiredSignoffs, PermissionsRequiredSignoffs,
required_signoffs, mode, product, channel, current_user) {
$scope.saving = false;
$scope.errors = {};
$scope.required_signoffs = required_sign... | testbhearsum/balrog | ui/app/js/controllers/required_signoffs_delete.js | JavaScript | mpl-2.0 | 5,585 |
using System;
using System.Globalization;
using System.Windows.Data;
namespace AutoCompleteTextBoxLib
{
public class PopupWidthConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
try
{
... | evrenaker/Vidyo | src/VidyoIntegration/Addin/AutoCompleteTextBoxLib/PopupWidthConverter.cs | C# | mpl-2.0 | 713 |
//call this to add a warning icon to a graph and log an error to the console
function error(args) {
console.log('ERROR : ', args.target, ' : ', args.error);
d3.select(args.target).select('.mg-chart-title')
.append('i')
.attr('class', 'fa fa-x fa-exclamation-circle warning');
}
| HDAT/hdat-statstest | src/js/misc/error.js | JavaScript | mpl-2.0 | 307 |
/**
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under
* the terms of the Healthcare Disclaimer located at http://openmrs.org/license.... | kabariyamilind/openMRSDEV | api/src/main/java/org/openmrs/api/UserService.java | Java | mpl-2.0 | 18,568 |
describe('EncounterService tests', function() {
var encounterService;
var q;
var deferred;
beforeEach(module('encounterService'));
// create mock Encounter resource
var mockEncounter = jasmine.createSpyObj('Encounter', ['query']);
mockEncounter.query.andCallFake(function() {
defe... | yadamz/first-module | omod/src/test/webapp/resources/scripts/services/encounterServiceTest.js | JavaScript | mpl-2.0 | 942 |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// Keep track of events tied to both email and IP addresses
module.exports = function (RATE_LIMIT_INTERVAL_MS, MAX... | ofer43211/fxa-customs-server | ip_email_record.js | JavaScript | mpl-2.0 | 2,820 |
// Copyright (C) 2016 Jordan Harband. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: Object.getOwnPropertyDescriptors does not see inherited properties.
esid: pending
author: Jordan Harband
---*/
var F = function () {};
F.prototype.a = {};
F.prototype.b ... | cstipkovic/spidermonkey-research | js/src/tests/test262/built-ins/Object/getOwnPropertyDescriptors/inherited-properties-omitted.js | JavaScript | mpl-2.0 | 1,334 |
// Copyright 2012, 2013 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package openstack
import (
"regexp"
"github.com/go-goose/goose/v4/neutron"
"github.com/go-goose/goose/v4/nova"
"github.com/go-goose/goose/v4/swift"
"github.com/juju/collections/set"
"github.com/juju/juju/core/in... | freyes/juju | provider/openstack/export_test.go | GO | agpl-3.0 | 5,450 |
"""
Dictzone
@website https://dictzone.com/
@provide-api no
@using-api no
@results HTML (using search portal)
@stable no (HTML can change)
@parse url, title, content
"""
import re
from lxml import html
from searx.utils import is_valid_lang
from searx.url_utils import urljoin
categories = ... | potato/searx | searx/engines/dictzone.py | Python | agpl-3.0 | 1,645 |
// 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 ... | osgcc/ryzom | ryzom/tools/leveldesign/world_editor/world_editor_fauna_graph_plugin/DialogFlags.cpp | C++ | agpl-3.0 | 3,760 |
/*
*
* (c) Copyright Ascensio System Limited 2010-2015
*
* This program is freeware. You can redistribute it and/or modify it under the terms of the GNU
* General Public License (GPL) version 3 as published by the Free Software Foundation (https://www.gnu.org/copyleft/gpl.html).
* In accordance with Section 7(a... | Khamull/CommunityServer | module/ASC.Jabber/ASC.Xmpp.Core/protocol/x/rosterx/RosterItem.cs | C# | agpl-3.0 | 3,291 |
<?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-2011 SugarCRM Inc.
*
* This ... | anuradha-iic/sugar | ModuleInstall/ModuleScanner.php | PHP | agpl-3.0 | 14,797 |
<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
*
* This program is free so... | aldridged/gtg-sugar | modules/DynamicFields/templates/Fields/TemplateId.php | PHP | agpl-3.0 | 2,249 |
import rdflib
from rdflib.graph import ConjunctiveGraph as Graph
from rdflib import plugin
from rdflib.store import Store, NO_STORE, VALID_STORE
from rdflib.namespace import Namespace
from rdflib.term import Literal
from rdflib.term import URIRef
from tempfile import mkdtemp
from gstudio.models import *
def rdf_descri... | gnowledge/ncert_nroer | gstudio/testloop.py | Python | agpl-3.0 | 1,908 |
import os
import pathlib2
import logging
import yaml
import sys
import networkx as nx
from collections import namedtuple
import argparse
TRAVIS_BUILD_DIR = os.environ.get("TRAVIS_BUILD_DIR")
DOCKER_PATH_ROOT = pathlib2.Path(TRAVIS_BUILD_DIR, "docker", "build")
CONFIG_FILE_PATH = pathlib2.Path(TRAVIS_BUILD_DIR, "util",... | karimdamak123/configuration2 | util/parsefiles.py | Python | agpl-3.0 | 13,776 |
/*
*
* (c) Copyright Ascensio System Limited 2010-2015
*
* This program is freeware. You can redistribute it and/or modify it under the terms of the GNU
* General Public License (GPL) version 3 as published by the Free Software Foundation (https://www.gnu.org/copyleft/gpl.html).
* In accordance with Section 7(a... | StepProgrammer/CommunityServer | web/studio/ASC.Web.Studio/Products/Community/Modules/Bookmarking/UserBookmarks.aspx.designer.cs | C# | agpl-3.0 | 2,639 |
=begin
Camaleon CMS is a content management system
Copyright (C) 2015 by Owen Peredo Diaz
Email: owenperedo@gmail.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 the Free Software Foundation, either version 3... | raulanatol/camaleon-cms | app/models/camaleon_cms/meta.rb | Ruby | agpl-3.0 | 818 |
// Copyright 2012, 2013 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package upgrader
import (
"github.com/juju/errors"
"github.com/juju/loggo"
"github.com/juju/names"
"github.com/juju/juju/apiserver/common"
"github.com/juju/juju/apiserver/params"
"github.com/juju/juju/environs/co... | fwereade/juju | apiserver/upgrader/upgrader.go | GO | agpl-3.0 | 6,177 |
package info.nightscout.androidaps.watchfaces;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.SharedPreferences;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.L... | PoweRGbg/AndroidAPS | wear/src/main/java/info/nightscout/androidaps/watchfaces/BIGChart.java | Java | agpl-3.0 | 29,951 |
class ChangeGithubProjectRelationship < ActiveRecord::Migration
def change
remove_column :github_repositories, :project_id
add_column :projects, :github_repository_id, :integer
end
end
| samjacobclift/libraries.io | db/migrate/20150204004703_change_github_project_relationship.rb | Ruby | agpl-3.0 | 197 |
# This file is part of Shuup.
#
# Copyright (c) 2012-2017, Shoop Commerce Ltd. All rights reserved.
#
# This source code is licensed under the OSL-3.0 license found in the
# LICENSE file in the root directory of this source tree.
from shuup.campaigns.models.catalog_filters import (
CategoryFilter, ProductFilter, Pr... | suutari-ai/shoop | shuup/campaigns/admin_module/forms/_catalog_filters.py | Python | agpl-3.0 | 734 |
# frozen_string_literal: true
module Decidim
module Consultations
# This query class filters all consultations given an organization.
class OrganizationActiveConsultations < Rectify::Query
def self.for(organization)
new(organization).query
end
def initialize(organization)
@... | AjuntamentdeBarcelona/decidim | decidim-consultations/app/queries/decidim/consultations/organization_active_consultations.rb | Ruby | agpl-3.0 | 475 |
"""
ACE message types for the calendar_sync module.
"""
from openedx.core.djangoapps.ace_common.message import BaseMessageType
class CalendarSync(BaseMessageType):
def __init__(self, *args, **kwargs):
super(CalendarSync, self).__init__(*args, **kwargs)
self.options['transactional'] = True
| edx-solutions/edx-platform | openedx/features/calendar_sync/message_types.py | Python | agpl-3.0 | 315 |
/*
* Async_DataObjectListener.java Version-1.4, 2002/11/22 09:26:10 -0800 (Fri)
* ECTF S.410-R2 Source code distribution.
*
* Copyright (c) 2002, Enterprise Computer Telephony Forum (ECTF),
* All Rights Reserved.
*
* Use and redistribution of this file is subject to a License.
* For terms and conditions see: ja... | kerr-huang/openss7 | src/java/javax/telephony/media/container/async/Async_DataObjectListener.java | Java | agpl-3.0 | 913 |
# frozen_string_literal: true
require 'rails_helper'
describe 'devise/mailer/confirmation_instructions.html.haml', type: "view" do
context "logged in" do
before do
@resource = FactoryBot.create(:member)
render
end
it 'has a confirmation link' do
rendered.should have_content 'Confirm m... | Br3nda/growstuff | spec/views/devise/mailer/confirmation_instructions_spec.rb | Ruby | agpl-3.0 | 441 |
/**
* Copyright (c) 2012, 2013 Fraunhofer Institute FOKUS
*
* This file is part of Open Data Platform.
*
* Open Data Platform is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of t... | fraunhoferfokus/odp-opendataregistry-client | src/main/java/de/fhg/fokus/odp/registry/model/package-info.java | Java | agpl-3.0 | 919 |
/**
* Copyright © MyCollab
* <p>
* 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.
* <p>
* This program is ... | esofthead/mycollab | mycollab-web/src/main/java/com/mycollab/module/project/view/FollowingTicketSearchPanel.java | Java | agpl-3.0 | 8,167 |
<?php
/**
* Shopware 5
* Copyright (c) shopware AG
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* The texts of the GNU Affero General Public License with an additional
* perm... | JonidBendo/shopware | engine/Shopware/Configs/Default.php | PHP | agpl-3.0 | 6,707 |
<?php $CI = & get_instance(); ?>
<?php
$permissions = $auth->getPermissionType();
$clsWidth = 50;
foreach ($this->colsCustom as $k => $v) {
if ($k == 'action') {
$matches = array();
preg_match_all('/<a[^>]*>([^<]*)<\/a>/iU', $this->colsCustom['action'], $matches);
if (!in_array(2, $permissions)) {
unset($... | nin9creative/magrocket-backend | source/application/third_party/scrud/templates/index.php | PHP | agpl-3.0 | 26,148 |
'use strict';
var minilog = require('minilog')
, log = minilog('traverson')
, abortTraversal = require('./abort_traversal')
, applyTransforms = require('./transforms/apply_transforms')
, httpRequests = require('./http_requests')
, isContinuation = require('./is_continuation')
, walker = require('./walker')... | cgi-eoss/fstep | fs-tep-portal/src/main/resources/app/scripts/vendor/traverson/lib/actions.js | JavaScript | agpl-3.0 | 3,942 |
// Copyright (c) 2015-2021 MinIO, Inc.
//
// This file is part of MinIO Object Storage stack
//
// 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
// (... | krisis/mc | cmd/retention-set.go | GO | agpl-3.0 | 5,444 |
<?php
/**
The goal of the Open Affiliate Report Aggregator (OARA) is to develop a set
of PHP classes that can download affiliate reports from a number of affiliate networks, and store the data in a common format.
Copyright (C) 2014 Fubra Limited
This program is free software: you can redistribute it and/or modify... | actioussan/php-oara | Oara/Network/Publisher/PayMode.php | PHP | agpl-3.0 | 15,229 |
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class PerlXmlLibxml(PerlPackage):
"""This module is an interface to libxml2, providing XML and H... | iulian787/spack | var/spack/repos/builtin/packages/perl-xml-libxml/package.py | Python | lgpl-2.1 | 1,155 |
// BufferedReaderTest.java
// submitted by Dalibor Topic <robilad@yahoo.com>
import java.io.*;
public class BufferedReaderTest {
static class PseudoReader extends Reader {
public void close() {
}
public int read(char buf[], int offset, int count) {
System.out.println("count = " + count);
return (... | 02N/kaffe | test/regression/BufferedReaderTest.java | Java | lgpl-2.1 | 10,954 |
/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the examples of the Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:B... | KDE/android-qt-mobility | examples/sensors/arrowkeys/main.cpp | C++ | lgpl-2.1 | 3,604 |
/*
* (C) Copyright 2011 Nuxeo SAS (http://nuxeo.com/) and contributors.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser General Public License
* (LGPL) version 2.1 which accompanies this distribution, and is available at
* http://www.gnu.... | deadcyclo/nuxeo-features | annot/nuxeo-annot-repo/src/main/java/org/nuxeo/ecm/platform/annotations/repository/listener/AnnotationFulltextEventListener.java | Java | lgpl-2.1 | 3,907 |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="hu" sourcelanguage="en">
<context>
<name>CmdApproxPlane</name>
<message>
<location filename="../../Command.cpp" line="+93"/>
<source>Reverse Engineering</source>
<translation>Fordított tervezés</translation>... | usakhelo/FreeCAD | src/Mod/ReverseEngineering/Gui/Resources/translations/ReverseEngineering_hu.ts | TypeScript | lgpl-2.1 | 7,738 |
/* LanguageTool, a natural language style checker
* Copyright (C) 2010 Marcin Miłkowski (www.languagetool.org)
*
* 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... | languagetool-org/languagetool | languagetool-core/src/main/java/org/languagetool/rules/patterns/bitext/FalseFriendsAsBitextLoader.java | Java | lgpl-2.1 | 2,825 |
/* This example is for quasi-conformal minimization */
/* mu controls the beltrami coefficient */
#include "FemusInit.hpp"
#include "MultiLevelSolution.hpp"
#include "MultiLevelProblem.hpp"
#include "NumericVector.hpp"
#include "VTKWriter.hpp"
#include "GMVWriter.hpp"
#include "NonLinearImplicitSystem.hpp"
#include "T... | saikanth88/femus | applications/Conformal/ex7/ex7.cpp | C++ | lgpl-2.1 | 37,597 |
/****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the Qt Assistant of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees ... | RLovelett/qt | tools/assistant/lib/qhelpdatainterface.cpp | C++ | lgpl-2.1 | 6,865 |
##############################################################################
# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# This file is part of Spack.
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
# LLNL-CODE-64... | TheTimmy/spack | var/spack/repos/builtin/packages/py-qtawesome/package.py | Python | lgpl-2.1 | 1,759 |
/*
* Copyright (C) 2003 Tommi Maekitalo
*
* 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 version.
*
* As a sp... | OlafRadicke/cxxtools | demo/dir.cpp | C++ | lgpl-2.1 | 2,778 |
package railo.commons.io.res;
import java.io.IOException;
import java.io.Serializable;
import java.util.Map;
/**
* Interface for resource provider, loaded by "Resources",
* classes that implement a provider that produce resources, that match given path.
*
*/
public interface ResourceProvider extends S... | modius/railo | railo-java/railo-loader/src/railo/commons/io/res/ResourceProvider.java | Java | lgpl-2.1 | 1,709 |
/*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) Alkacon Software GmbH & Co. KG (http://www.alkacon.com)
*
* 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 th... | ggiudetti/opencms-core | src/org/opencms/ade/sitemap/shared/CmsSubSitemapInfo.java | Java | lgpl-2.1 | 2,493 |
/**
* Copyright (c) 2014, the Railo Company Ltd.
* Copyright (c) 2015, Lucee Assosication Switzerland
*
* 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... | lucee/unoffical-Lucee-no-jre | source/java/core/src/lucee/runtime/gateway/SocketGateway.java | Java | lgpl-2.1 | 8,962 |
/*******************************************************************************
* Copyright (c) 2005, Kobrix Software, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v2.1
* which accompanies this distribution, and is ava... | elaatifi/disko | src/java/disko/ParagraphAnn.java | Java | lgpl-2.1 | 2,235 |
/*
* Created on 02-dic-2005
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package org.herac.tuxguitar.app.view.menu.impl;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.MenuItem;
import ... | bluenote10/TuxguitarParser | tuxguitar-src/TuxGuitar/src/org/herac/tuxguitar/app/view/menu/impl/TransportMenuItem.java | Java | lgpl-2.1 | 6,077 |
//-----------------------------------------------------------
//
// Copyright (C) 2015 by the deal2lkit authors
//
// This file is part of the deal2lkit library.
//
// The deal2lkit library is free software; you can use it, redistribute
// it, and/or modify it under the terms of the GNU Lesser General
// ... | asartori86/dealii-sak | tests/error_handler/error_handler_02.cc | C++ | lgpl-2.1 | 1,741 |
/**************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with ... | martyone/sailfish-qtcreator | src/plugins/todo/todooutputtreeviewdelegate.cpp | C++ | lgpl-2.1 | 2,123 |
/******************************************************************************
* SOFA, Simulation Open-Framework Architecture, development version *
* (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH *
* *
... | Anatoscope/sofa | applications/projects/qtSofa/QSofaMainWindow.cpp | C++ | lgpl-2.1 | 9,524 |
package beast.evolution.operators;
import java.text.DecimalFormat;
import beast.core.Description;
import beast.core.Input;
import beast.core.Input.Validate;
import beast.core.Operator;
import beast.core.parameter.RealParameter;
import beast.util.Randomizer;
@Description("A random walk operator that selects a rand... | CompEvol/beast2 | src/beast/evolution/operators/RealRandomWalkOperator.java | Java | lgpl-2.1 | 3,679 |
/*
* Hibernate OGM, Domain model persistence for NoSQL datastores
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.ogm.massindex.impl;
import java.io.Serializable;
impo... | hibernate/hibernate-ogm | core/src/main/java/org/hibernate/ogm/massindex/impl/TupleIndexer.java | Java | lgpl-2.1 | 9,368 |
/*
* Minecraft Forge
* Copyright (c) 2016.
*
* 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 version 2.1
* of the License.
*
* This library is distributed in the hope that it will... | boredherobrine13/morefuelsmod-1.10 | build/tmp/recompileMc/sources/net/minecraftforge/client/ForgeHooksClient.java | Java | lgpl-2.1 | 30,248 |
// Integer Utility
export const UINT32_MAX = 0xffff_ffff;
// DataView extension to handle int64 / uint64,
// where the actual range is 53-bits integer (a.k.a. safe integer)
export function setUint64(view: DataView, offset: number, value: number): void {
const high = value / 0x1_0000_0000;
const low = value; // h... | qianqians/abelkhan | sample/CocosCli/assets/script/@msgpack/msgpack/utils/int.ts | TypeScript | lgpl-2.1 | 1,060 |
/*
* Copyright (C) 2005-2010 Alfresco Software Limited.
*
* This file is part of Alfresco
*
* Alfresco is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at y... | nguyentienlong/community-edition | projects/repository/source/java/org/alfresco/repo/policy/CachedPolicyFactory.java | Java | lgpl-3.0 | 8,878 |
<?php
/*
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ \___... | kabluinc/PocketMine-MP | src/pocketmine/network/mcpe/protocol/types/ScorePacketEntry.php | PHP | lgpl-3.0 | 1,203 |
import javax.swing.text.*;
class Notepad {
//declaration of the private variables used in the program
//create the text area
private JTextPane textPane;
Notepad() {
Container cp = getContentPane();
textPane = new JTextPane();
cp.add(textPane);
cp.add(new JScrollPane(textPane));
}
public JTextPane getTex... | SergiyKolesnikov/fuji | examples/Notepad_casestudies/NotepadAdrianQuark/TextStyled/Notepad.java | Java | lgpl-3.0 | 420 |
/* -*-c++-*- */
/* osgEarth - Dynamic map generation toolkit for OpenSceneGraph
* Copyright 2008-2014 Pelican Mapping
* http://osgearth.org
*
* osgEarth 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 Foundat... | Riorlan/osgearth | src/osgEarthDrivers/kml/KML_IconStyle.cpp | C++ | lgpl-3.0 | 1,910 |
<?php
/**
* Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
*
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
* use, copy, modify, and distribute this software in source code or binary
* form for use in connection with the web services and APIs provided by
* Facebook.
... | advanced-online-marketing/AOM | vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ReachFrequencyPredictionStatuses.php | PHP | lgpl-3.0 | 1,911 |
package org.molgenis.security.permission;
import static java.util.Objects.requireNonNull;
import java.util.HashSet;
import java.util.Set;
import java.util.stream.Stream;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContext;
import org.springframewor... | dennishendriksen/molgenis | molgenis-security/src/main/java/org/molgenis/security/permission/PrincipalSecurityContextRegistryImpl.java | Java | lgpl-3.0 | 2,625 |
//
// TcpRequestChannel.cs
//
// Author:
// Atsushi Enomoto <atsushi@ximian.com>
//
// Copyright (C) 2009 Novell, Inc. http://www.novell.com
//
// 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 Soft... | edwinspire/VSharp | class/System.ServiceModel/System.ServiceModel.Channels.NetTcp/TcpRequestChannel.cs | C# | lgpl-3.0 | 3,556 |
/* -*-c++-*- */
/* osgEarth - Dynamic map generation toolkit for OpenSceneGraph
* Copyright 2008-2010 Pelican Mapping
* http://osgearth.org
*
* osgEarth 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 Foundat... | airwzz999/osgearth-for-android | src/osgEarth/SparseTexture2DArray.cpp | C++ | lgpl-3.0 | 16,225 |
/*
* @BEGIN LICENSE
*
* Psi4: an open-source quantum chemistry software package
*
* Copyright (c) 2007-2017 The Psi4 Developers.
*
* The copyrights for code used from other parties are included in
* the corresponding files.
*
* This file is part of Psi4.
*
* Psi4 is free software; you can redistribute it an... | rmcgibbo/psi4public | psi4/src/psi4/cctriples/cache.cc | C++ | lgpl-3.0 | 17,267 |
<?php
class InserFeaturesInProjectMetadata extends AbstractMatecatMigration
{
/**
* Insert features in project metadata, reading from owner_features.
*
* Only operate on projects that were created after the addition of the owner feature to the user,
* so that we avoid strange due to inconsiste... | Ostico/MateCat | migrations/20170113150724_inser_features_in_project_metadata.php | PHP | lgpl-3.0 | 1,022 |
# This file is part of Androguard.
#
# Copyright (c) 2012 Geoffroy Gueguen <geoffroy.gueguen@gmail.com>
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://... | flamableconcrete/androguard | androguard/decompiler/dad/control_flow.py | Python | lgpl-3.0 | 13,166 |
/*******************************************************************************************************
This file was created/modified by Hervé PHILIPPE alchiweb[at]gmail.com
********************************************************************************************************
Copyright (C) 2013 Hervé PHILIPPE,... | hultqvist/SharpKit-SDK | Defs/Xdk.Html/dom/DeviceOrientationEventType.cs | C# | lgpl-3.0 | 3,094 |
/**
* Copyright © 2002 Instituto Superior Técnico
*
* This file is part of FenixEdu Academic.
*
* FenixEdu Academic is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License... | gil-l/fenix | src/main/java/org/fenixedu/academic/domain/accessControl/AllAlumniGroup.java | Java | lgpl-3.0 | 3,863 |
/*
* Copyright 2010, 2011, 2012, 2013 mapsforge.org
* Copyright 2016 Andrey Novikov
* Copyright 2017 Gustl22
*
* This program is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free Software
* Foundation, either version 3 of t... | usrusr/mapsforge | mapsforge-map-writer/src/main/java/org/mapsforge/map/writer/model/OSMTag.java | Java | lgpl-3.0 | 5,490 |
/*
* #%L
* Alfresco Repository
* %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited
* %%
* This file is part of the Alfresco software.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided under the... | Alfresco/community-edition | projects/repository/source/java/org/alfresco/repo/workflow/jbpm/JoinEndForkedTokens.java | Java | lgpl-3.0 | 3,578 |
package org.molgenis.data.validation.meta;
import org.molgenis.data.AbstractRepositoryDecorator;
import org.molgenis.data.Repository;
import org.molgenis.data.meta.model.Attribute;
import org.molgenis.data.validation.meta.AttributeValidator.ValidationMode;
import java.util.stream.Stream;
import static java.util.Obje... | jjettenn/molgenis | molgenis-data-validation/src/main/java/org/molgenis/data/validation/meta/AttributeRepositoryValidationDecorator.java | Java | lgpl-3.0 | 1,556 |
package com.javabeast.teltonikia;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.annotation.Transient;
import java.io.Serializable;
import java.util.List;
@Data
@Builder
@NoAr... | AJauffre/trackr | domain/src/main/java/com/javabeast/teltonikia/TeltonikaMessage.java | Java | unlicense | 660 |