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 |
|---|---|---|---|---|---|
/*
* Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | jbachorik/btrace | btrace-core/src/main/java/org/openjdk/btrace/core/annotations/Property.java | Java | gpl-2.0 | 1,873 |
<?php
/**
* Kunena Component
* @package Kunena.Template.Blue_Eagle
* @subpackage User
*
* @copyright (C) 2008 - 2016 Kunena Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link http://www.kunena.org
**/
defined ( '_JEXEC' ) or die ();
JHtml::_('behavior.calendar');
JHtml::... | githubupttik/upttik | components/com_kunena/template/blue_eagle/html/user/default_tab.php | PHP | gpl-2.0 | 5,180 |
<?php
/**
* @file
* Default theme implementation to display a term.
*
* Available variables:
* - $name: (deprecated) The unsanitized name of the term. Use $term_name
* instead.
* - $content: An array of items for the content of the term (fields and
* description). Use render($content) to print them all, or ... | ishoj/ishoj.dk | public_html/sites/all/themes/ishoj/templates/taxonomy-term--aktivitetstype.tpl.php | PHP | gpl-2.0 | 5,453 |
// Copyright (C) 2007, 2008, 2009 EPITA Research and Development Laboratory (LRDE)
//
// This file is part of Olena.
//
// Olena 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, version 2 of the License.
//
/... | glazzara/olena | milena/mln/canvas/all.hh | C++ | gpl-2.0 | 1,796 |
<?php
/**
* pChart - a PHP class to build charts!
* Copyright (C) 2008 Jean-Damien POGOLOTTI
* Version 2.0
*
* http://pchart.sourceforge.net
*
* 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... | Lorpotin/Dokuwiki-Gamification | lib/plugins/statistics/inc/pchart/pChart.php | PHP | gpl-2.0 | 122,890 |
<?php
$french = array(
'gccollab_stats:title' => "Statistiques de GCconnex",
'gccollab_stats:unknown' => "Inconnu",
'gccollab_stats:membercount' => "Membres inscrits",
'gccollab_stats:loading' => "Chargement des données...",
'gccollab_stats:registration:title' => "Inscription des membres",
... | pscrevs/gcconnex | mod/gccollab_stats/languages/fr.php | PHP | gpl-2.0 | 2,506 |
<?php
/**
* The Footer widget areas.
*
* @package ECVET STEP Themes
* @subpackage ECVET STEP One
* @since ECVET STEP One 1.0
*/
?>
<?php
/* The footer widget area is triggered if any of the areas
* have widgets. So let's check that first.
*
* If none of the sidebars have widgets, then let's bail early.
... | EcvetStep/ecvet-step.eu | wp-content/themes/ecvet-step/sidebar-footer.php | PHP | gpl-2.0 | 1,753 |
/* Copyright (C) 2008 AbiSource Corporation B.V.
*
* 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 the License, or (at your option) any later version.
*
* This progr... | hfiguiere/abiword | plugins/collab/backends/service/xp/ServiceErrorCodes.cpp | C++ | gpl-2.0 | 1,153 |
<?php
namespace Google\AdsApi\AdWords\v201705\cm;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class ManualCpcBiddingScheme extends \Google\AdsApi\AdWords\v201705\cm\BiddingScheme
{
/**
* @var boolean $enhancedCpcEnabled
*/
protected $enhancedCpcEnabled = null;
/**
* @param... | renshuki/dfp-manager | vendor/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/v201705/cm/ManualCpcBiddingScheme.php | PHP | gpl-2.0 | 1,018 |
//////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2006-2007. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/interpr... | scs/uclinux | lib/boost/boost_1_38_0/libs/interprocess/example/doc_windows_shared_memory2.cpp | C++ | gpl-2.0 | 1,665 |
<?php
/**
* @package Joomla.Administrator
* @subpackage com_privacy
*
* @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/** @var PrivacyViewRequest $this */
// I... | mvanvu/joomla-cms | administrator/components/com_privacy/views/request/tmpl/default.php | PHP | gpl-2.0 | 2,937 |
<?php
namespace FluidTYPO3\Flux\Tests\Unit\Transformation;
/*
* This file is part of the FluidTYPO3/Flux project under GPLv2 or later.
*
* For the full copyright and license information, please read the
* LICENSE.md file that was distributed with this source code.
*/
use FluidTYPO3\Flux\Form;
use FluidTYPO3\Flux... | famelo/TYPO3-Base | typo3conf/ext/flux/Tests/Unit/Transformation/FormDataTransformerTest.php | PHP | gpl-2.0 | 2,629 |
/* $Id: KeyboardImpl.cpp $ */
/** @file
* VirtualBox COM class implementation
*/
/*
* Copyright (C) 2006-2012 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or modify it un... | yuyuyu101/VirtualBox-NetBSD | src/VBox/Main/src-client/KeyboardImpl.cpp | C++ | gpl-2.0 | 12,529 |
/*
* Firemox is a turn based strategy simulator
* Copyright (C) 2003-2007 Fabrice Daugan
*
* 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 the License, or... | JoeyLeeuwinga/Firemox | src/main/java/net/sf/firemox/clickable/ability/TriggeredAbilitySet.java | Java | gpl-2.0 | 3,258 |
var requestQueue = new Request.Queue({
concurrent: monitorData.length,
stopOnFailure: false
});
function Monitor(monitorData) {
this.id = monitorData.id;
this.connKey = monitorData.connKey;
this.url = monitorData.url;
this.status = null;
this.alarmState = STATE_IDLE;
this.lastAlarmState = STATE_IDLE;
... | Simpler1/ZoneMinder | web/skins/classic/views/js/montage.js | JavaScript | gpl-2.0 | 16,321 |
from miasm2.core.asmblock import disasmEngine
from miasm2.arch.aarch64.arch import mn_aarch64
cb_aarch64_funcs = []
def cb_aarch64_disasm(*args, **kwargs):
for func in cb_aarch64_funcs:
func(*args, **kwargs)
class dis_aarch64b(disasmEngine):
attrib = "b"
def __init__(self, bs=None, **kwargs):
... | stephengroat/miasm | miasm2/arch/aarch64/disasm.py | Python | gpl-2.0 | 731 |
/************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
*
* Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved.
*
* Use is subject to license terms.
*
* Licensed under the Apache License, Version 2.0 (the "Lic... | jbjonesjr/geoproponis | external/odfdom-java-0.8.10-incubating-sources/org/odftoolkit/odfdom/dom/attribute/table/TableScriptAttribute.java | Java | gpl-2.0 | 2,957 |
<?
/**[N]**
* JIBAS Education Community
* Jaringan Informasi Bersama Antar Sekolah
*
* @version: 3.2 (September 03, 2013)
* @notes: JIBAS Education Community will be managed by Yayasan Indonesia Membaca (http://www.indonesiamembaca.net)
*
* Copyright (C) 2009 Yayasan Indonesia Membaca (http://www.indon... | nurulimamnotes/sistem-informasi-sekolah | jibas/infosiswa/buletin/galerifoto/galerifoto_ss.php | PHP | gpl-2.0 | 7,300 |
/*
Copyright (c) 2009, 2012, Oracle and/or its affiliates. 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; version 2 of the License.
This program is distributed i... | MrDunne/myblockchain | storage/ndb/clusterj/clusterj-tie/src/main/java/com/mysql/clusterj/tie/OperationImpl.java | Java | gpl-2.0 | 13,552 |
package mica
import "fmt"
// LinkToCompressed represents a link from a reference sequence to a
// compressed original sequence. It serves as a bridge from a BLAST hit in
// the coarse database to the corresponding original sequence that is
// redundant to the specified residue range in the reference sequence.
type Li... | jameslz/MICA | link_to_compressed.go | GO | gpl-2.0 | 843 |
// renderimpl.cpp
// this file is part of Context Free
// ---------------------
// Copyright (C) 2006-2008 Mark Lentczner - markl@glyphic.com
// Copyright (C) 2006-2014 John Horigan - john@glyphic.com
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Pub... | burstas/context-free | src-common/renderimpl.cpp | C++ | gpl-2.0 | 35,325 |
<?php
namespace Syw\Front\ApiBundle\Tests\Controller;
use Syw\Front\MainBundle\Tests\BaseTestCase;
/**
* Class BaseControllerTest
*
* @author Christin Löhner <alex.loehner@linux.com>
*/
abstract class BaseControllerTest extends BaseTestCase
{
/**
* @var EntityManager
*/
public $_em;
protec... | christinloehner/linuxcounter.new | src/Syw/Front/ApiBundle/Tests/Controller/BaseControllerTest.php | PHP | gpl-3.0 | 795 |
/* Copyright (C) 2003-2015 LiveCode Ltd.
This file is part of LiveCode.
LiveCode is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License v3 as published by the Free
Software Foundation.
LiveCode is distributed in the hope that it will be useful, but WITHOUT ANY
WA... | PaulMcClernan/livecode | engine/src/scrolbar.cpp | C++ | gpl-3.0 | 33,008 |
using FluentValidation;
using NzbDrone.Core.Annotations;
using NzbDrone.Core.ThingiProvider;
using NzbDrone.Core.Validation;
namespace NzbDrone.Core.ImportLists.StevenLu
{
public class StevenLuSettingsValidator : AbstractValidator<StevenLuSettings>
{
public StevenLuSettingsValidator()
{
... | Radarr/Radarr | src/NzbDrone.Core/ImportLists/StevenLu/StevenLuSettings.cs | C# | gpl-3.0 | 981 |
static void Button_tick(Button *self) {
if(self->onTick) self->onTick();
}
void Button::create(Window &parent, unsigned x, unsigned y, unsigned width, unsigned height, const string &text) {
object->widget = gtk_button_new_with_label(text);
widget->parent = &parent;
gtk_widget_set_size_request(object->widget, w... | grim210/defimulator | snespurify/phoenix/gtk/button.cpp | C++ | gpl-3.0 | 629 |
<?php
/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2016 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2009 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2013 Antoine Iauch <aiauch@gpcsolutions.fr>
*
* Thi... | apachler/dolibarr | htdocs/compta/stats/cabyuser.php | PHP | gpl-3.0 | 15,636 |
package utils
import (
"os"
"path/filepath"
"github.com/securityfirst/tent/component"
)
func WriteCmp(base string, c component.Component) error {
path := filepath.Join(base, c.Path())
if err := os.MkdirAll(filepath.Dir(path), 0777); err != nil {
return err
}
f, err := os.Create(path)
if err != nil {
retu... | securityfirst/tent | utils/persistence.go | GO | gpl-3.0 | 416 |
System.register(['angular2/core'], function(exports_1) {
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "obje... | burner/AngularVibed | Examples2/Example05/node_modules/angular2/ts/examples/core/ts/prod_mode/my_component.js | JavaScript | gpl-3.0 | 1,526 |
<?php
// This is a SPIP language file -- Ceci est un fichier langue de SPIP
// extrait automatiquement de http://trad.spip.net/tradlang_module/forum?lang_cible=id
// ** ne pas modifier le fichier **
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
$GLOBALS[$GLOBALS['idx_lang']] = array(
// B
'bouton_radio_artic... | ernestovi/ups | spip/plugins-dist/forum/lang/forum_id.php | PHP | gpl-3.0 | 6,067 |
<?php
class Dashboard extends Controller
{
// Protected or private properties
protected $_template;
// Constructor
public function __construct()
{
parent::Controller();
// Check if the logged user is an administrator
$this->access_library->check_access();
// Load needed models, librar... | JasonBaier/Open-Blog | application/modules/admin/controllers/dashboard.php | PHP | gpl-3.0 | 952 |
# This file is part of BuhIRC.
#
# BuhIRC 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.
#
# BuhIRC is distributed in the hope that ... | AppleDash/burpyhooves | modules/vore.py | Python | gpl-3.0 | 3,226 |
"""
WSGI config for group_warning project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANG... | fazlerabby7/group_warning | group_warning/wsgi.py | Python | gpl-3.0 | 404 |
/****************************************
* This file is part of UNIX Guide for the Perplexed project.
* Copyright (C) 2014 by Assaf Gordon <assafgordon@gmail.com>
* Released under GPLv3 or later.
****************************************/
/* Each test in 'tests' array has the following elements:
* 1. short name... | agordon/agnostic | src/tests/shell_syntax_tests.js | JavaScript | gpl-3.0 | 27,765 |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 2011 OpenConcerto, by ILM Informatique. All rights reserved.
*
* The contents of this file are subject to the terms of the GNU General Public License Version 3
* only ("GPL"). You may not use this file except in compliance with th... | eric-lemesre/OpenConcerto | OpenConcerto/src/org/openconcerto/sql/view/EditPanelListener.java | Java | gpl-3.0 | 830 |
@extends('hideyo_backend::_layouts.default')
@section('main')
<div class="row">
<div class="col-sm-3 col-md-2 sidebar">
@include('hideyo_backend::_partials.news-tabs', array('newsEdit' => true))
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<ol class="breadc... | kkorte/backend | src/resources/views/news/edit.blade.php | PHP | gpl-3.0 | 3,427 |
package org.sigmah.offline.js;
/*
* #%L
* Sigmah
* %%
* Copyright (C) 2010 - 2016 URD
* %%
* 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 you... | Raphcal/sigmah | src/main/java/org/sigmah/offline/js/TransfertJS.java | Java | gpl-3.0 | 3,177 |
#region License
// Copyright (c) 2013, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This file is part of the ClearCanvas RIS/PACS open source project.
//
// The ClearCanvas RIS/PACS open source project is free software: you can
// redistribute it and/or modify it under the term... | chinapacs/ImageViewer | ImageViewer/PresentationStates/Dicom/Tests/OverlayPlanePresentationTests.cs | C# | gpl-3.0 | 14,746 |
#!/usr/bin/python3
from ansible.module_utils.arvados_common import process
def main():
additional_argument_spec={
"uuid": dict(required=True, type="str"),
"owner_uuid": dict(required=True, type="str"),
"name": dict(required=True, type="str"),
}
filter_property = "uuid"
filter... | wtsi-hgi/hgi-ansible | ansible/library/arvados_repository.py | Python | gpl-3.0 | 670 |
/*
* This file is part of Flying PhotoBooth.
*
* Flying PhotoBooth 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.
*
* Flying... | benhylau/flying-photo-booth | party-photo-booth/src/com/groundupworks/partyphotobooth/setup/fragments/PhotoBoothSetupFragment.java | Java | gpl-3.0 | 7,157 |
import React, { PropTypes } from 'react'
import classnames from 'classnames'
const SettingsPageMenuLayout = ({ children, title, className }) => (
<div
className={classnames(
'settings-page-menu-layout bg-white pt3 pr4 pl5 border-only-bottom border-gray94',
className
)}
>
<h1 className="h1 m... | igr-santos/hub-client | app/components/Layout/SettingsPageMenuLayout.js | JavaScript | gpl-3.0 | 624 |
export default class FilesUploadHandler {
static isUploadEnabled( mediaType ) {
const unfilteredFilesTypes = [ 'svg', 'application/json' ];
if ( ! unfilteredFilesTypes.includes( mediaType ) ) {
return true;
}
return elementor.config.filesUpload.unfilteredFiles;
}
static setUploadTypeCaller( frame ) {
... | pojome/elementor | assets/dev/js/editor/utils/files-upload-handler.js | JavaScript | gpl-3.0 | 1,087 |
'use superstrict';
try {
if ((-25 >> 3) === -4) {
'ok';
} else {
'fail';
}
} catch (e) {
}
| vacuumlabs/babel-plugin-superstrict | test/eval_tests/casting_signed_right_shift_numbers.js | JavaScript | gpl-3.0 | 106 |
# (c) Nelen & Schuurmans. GPL licensed, see LICENSE.rst.
# -*- coding: utf-8 -*-
"""Use AppConf to store sensible defaults for settings. This also documents the
settings that lizard_damage defines. Each setting name automatically has
"FLOODING_LIB_" prepended to it.
By puttng the AppConf in this module and importing... | lizardsystem/flooding | flooding_lib/conf.py | Python | gpl-3.0 | 875 |
package com.mucommander.share.impl.imgur;
import com.mucommander.commons.file.AbstractFile;
import com.mucommander.commons.file.FileFactory;
import com.mucommander.commons.file.util.FileSet;
import com.mucommander.share.impl.imgur.ImgurAPI.Callback;
import com.mucommander.text.Translator;
import com.mucommander.ui.dia... | raisercostin/mucommander | src/test/com/mucommander/share/impl/imgur/ImgurJobTest.java | Java | gpl-3.0 | 3,124 |
package edu.hucare.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import javax.persistence.*;
import java.util.Set;
/**
* Created by Kuzon on 7/28/2016.
*/
@Entity
@Table(name = "users")
public class User {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private long id;
private ... | adalee-group/watering-system | server/schedule-service/src/main/java/edu/hucare/model/User.java | Java | gpl-3.0 | 1,897 |
/**
* Copyright 2013 hbz NRW (http://www.hbz-nrw.de/)
*
* This file is part of regal-drupal.
*
* regal-drupal 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 y... | jschnasse/regal-drupal | edoweb/js/edoweb.js | JavaScript | gpl-3.0 | 13,745 |
/*
This file is part of Cute Chess.
Copyright (C) 2008-2018 Cute Chess authors
Cute Chess 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 optio... | joergoster/cutechess | projects/lib/src/sprt.cpp | C++ | gpl-3.0 | 4,340 |
/*
* Copyright (c) 2018 OBiBa. All rights reserved.
*
* This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*... | obiba/mica2 | mica-webapp/src/main/webapp/app/contact/contact-service.js | JavaScript | gpl-3.0 | 3,513 |
# -*- coding: utf-8 -*-
"""
<license>
CSPLN_MaryKeelerEdition; Manages images to which notes can be added.
Copyright (C) 2015, Thomas Kercheval
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 ... | jjs0sbw/CSPLN | test/update_test_subreadme.py | Python | gpl-3.0 | 3,717 |
package org.labcrypto.edusys.domain.jpa.dao.membership;
import org.labcrypto.edusys.domain.jpa.dao.EntityDao;
import org.labcrypto.edusys.domain.jpa.entity.membership.Token;
public interface TokenDao extends EntityDao<Token> {
Token getLatestActiveToken(Long userId);
Token getTokenByValue(String tokenValue)... | ckpp/edusys | src/edusys/domain/src/main/java/org/labcrypto/edusys/domain/jpa/dao/membership/TokenDao.java | Java | gpl-3.0 | 324 |
/**
* Marlin 3D Printer Firmware
* Copyright (C) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | teemuatlut/Marlin | Marlin/src/gcode/feature/trinamic/M911-M914.cpp | C++ | gpl-3.0 | 12,013 |
<?php
/* Copyright (C) 2002-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>
* Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005 Marc Barilley / Ocebo <marc@ocebo.com>
* Copyright (C) 2005... | IndustriaLeuven/dolibarr | htdocs/compta/facture/list.php | PHP | gpl-3.0 | 38,537 |
/*!
* web-SplayChat v0.4.0 - messaging web application for MTProto
* http://SplayChat.com/
* Copyright (C) 2014 SplayChat Messenger <igor.beatle@gmail.com>
* http://SplayChat.com//blob/master/LICENSE
*/
chrome.app.runtime.onLaunched.addListener(function(launchData) {
chrome.app.window.create('../index.html', {
... | ishmaelchibvuri/splayweb.io | app/js/background.js | JavaScript | gpl-3.0 | 481 |
<?php
namespace CartBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
class CartController extends Controller {
/**
* @Route("/cart/current", name="admin_cart_... | stephanfo/AWG | src/CartBundle/Controller/CartController.php | PHP | gpl-3.0 | 914 |
/**
* Copyright (C) 2019 Takima
*
* This file is part of OSM Contributor.
*
* OSM Contributor 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 ... | mapsquare/osm-contributor | src/main/java/io/jawg/osmcontributor/ui/utils/ZoomAnimationGestureDetector.java | Java | gpl-3.0 | 2,599 |
#region License
/*
Microsoft Public License (Ms-PL)
MonoGame - Copyright © 2009 The MonoGame Team
All rights reserved.
This license governs use of the accompanying software. If you use the software, you accept this license. If you do not
accept the license, do not use the software.
1. Definitions
The terms "reproduc... | Blucky87/Otiose2D | src/libs/MonoGame/MonoGame.Framework/Content/ContentReaders/TimeSpanReader.cs | C# | gpl-3.0 | 3,388 |
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "AP_TECS.h"
#include <AP_HAL.h>
extern const AP_HAL::HAL& hal;
#if CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
#include <stdio.h>
# define Debug(fmt, args ...) do {printf("%s:%d: " fmt "\n", __FUNCTION__, __LINE__, ## args); hal.sche... | mrpollo/ardupilot | libraries/AP_TECS/AP_TECS.cpp | C++ | gpl-3.0 | 33,291 |
'use strict';
/**
* A class representation of the BSON Double type.
*/
class Double {
/**
* Create a Double type
*
* @param {number} value the number we want to represent as a double.
* @return {Double}
*/
constructor(value) {
this.value = value;
}
/**
* Access the number value.
*
... | TamataOcean/TamataSpiru | node_modules/bson/lib/double.js | JavaScript | gpl-3.0 | 993 |
/*
* Copyright (C) 2013-2014 Dominik Schürmann <dominik@dominikschuermann.de>
*
* 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 l... | bresalio/apg | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/ImportKeysAdapter.java | Java | gpl-3.0 | 11,323 |
package engine.gameScene;
import engine.gameController.GameController;
import engine.gameScene.url.Url;
import java.io.IOException;
import java.net.URL;
import java.util.Collection;
import javafx.fxml.FXMLLoader;
import javafx.geometry.Pos;
import javafx.scene.CacheHint;
import javafx.scene.Node;
import javafx.scene.P... | smasoumi/stupidwarriors | src/engine/gameScene/SceneBuilder.java | Java | gpl-3.0 | 5,638 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | boydjd/openfisma | library/Zend/Measure/Capacitance.php | PHP | gpl-3.0 | 4,107 |
/// <reference path = "EscenaActividad.ts" />
/// <reference path = "../../dependencias/pilasweb.d.ts"/>
/// <reference path = "../actores/Cuadricula.ts"/>
/// <reference path = "../actores/PerroCohete.ts"/>
/// <reference path = "../comportamientos/MovimientosEnCuadricula.ts"/>
/**
* @class TresNaranjas
*
*/
cla... | bit0Ar/pilas-bloques | releases/pilas-engine-bloques-linux-ia32/resources/app/ejerciciosPilas/src/escenas/TresNaranjas.ts | TypeScript | gpl-3.0 | 1,676 |
/*
* Copyright (C) 2015-2016 Willi Ye <williye97@gmail.com>
*
* This file is part of Kernel Adiutor.
*
* Kernel Adiutor 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, o... | randomstuffpaul/KernelAdiutor | app/src/main/java/com/grarak/kerneladiutor/activities/BaseActivity.java | Java | gpl-3.0 | 5,069 |
/*
* Copyright (C) 2007-2017 Crafter Software Corporation.
*
* 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.
*
*... | dejan-brkic/commons | utilities/src/main/java/org/craftercms/commons/logging/Logged.java | Java | gpl-3.0 | 1,171 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using System.ComponentModel;
using System.Data;
namespace ECommerce.Utility.DataAccess.Database.Config
{
[XmlRoot("dataOperations", Namespace = "http://oversea.ECommerce.com/DataOperation")]
p... | ZeroOne71/ql | 03_SellerPortal/ECommerce.Utility.DataAccess/RLDB/Config/DataOperations.cs | C# | gpl-3.0 | 4,968 |
using System;
using AutoMapper;
using Machete.Web.Helpers;
using static Machete.Web.Helpers.Extensions;
namespace Machete.Web.Maps
{
public class WorkerSigninProfile : Profile
{
public WorkerSigninProfile()
{
CreateMap<Domain.WorkerSignin, Service.DTO.WorkerSigninList>()
... | SavageLearning/Machete | Machete.Web/Maps/Legacy/WorkerSigninProfile.cs | C# | gpl-3.0 | 5,028 |
<?php
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Quote\Model\GuestCartManagement\Plugin;
use Magento\Framework\Exception\StateException;
class Authorization
{
/**
* @var \Magento\Authorization\Model\UserContextInterface
*/
prot... | rajmahesh/magento2-master | vendor/magento/module-quote/Model/GuestCartManagement/Plugin/Authorization.php | PHP | gpl-3.0 | 1,301 |
package nl.knaw.huygens.timbuctoo.v5.dropwizard.contenttypes;
import nl.knaw.huygens.timbuctoo.v5.dropwizard.SupportedExportFormats;
import java.util.HashMap;
import java.util.Optional;
import java.util.Set;
import static java.lang.String.format;
public class SerializerWriterRegistry implements SupportedExportForma... | HuygensING/timbuctoo | timbuctoo-instancev4/src/main/java/nl/knaw/huygens/timbuctoo/v5/dropwizard/contenttypes/SerializerWriterRegistry.java | Java | gpl-3.0 | 1,216 |
package org.bukkit.craftbukkit.event;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import org.bukkit.event.player.PlayerInteractEvent;
public class CraftEventFactory
{
public static org.bukkit.event.player.PlayerInteractEvent callPlayerInteractEvent(EntityPlayer playe... | GotoLink/Battlegear2 | src/api/java/org/bukkit/craftbukkit/event/CraftEventFactory.java | Java | gpl-3.0 | 693 |
package tsb.examenFinal.util;
import java.util.Stack;
/**
*
* Verifica el balanceo de caractertes de apertura y cierre
* como [] {} <>
*/
public abstract class Balance {
public static boolean isBalanced(final String str, final char c0, final char c1) {
boolean toReturn;
if (c0 == c1) {
... | javiermatias/jbc-utn-frc | 3ro/TSB/final/util/src/tsb/examenFinal/util/Balance.java | Java | gpl-3.0 | 1,495 |
/*
Scripts for cnprog.com
Project Name: Lanai
All Rights Resevred 2008. CNPROG.COM
*/
var lanai = {
/**
* Finds any <pre><code></code></pre> tags which aren't registered for
* pretty printing, adds the appropriate class name and invokes prettify.
*/
highlightSyntax: function(){
var style... | simalytics/askbot-devel | static/default/media/js/post.js | JavaScript | gpl-3.0 | 160,054 |
/*
* This file is part of ADDIS (Aggregate Data Drug Information System).
* ADDIS is distributed from http://drugis.org/.
* Copyright © 2009 Gert van Valkenhoef, Tommi Tervonen.
* Copyright © 2010 Gert van Valkenhoef, Tommi Tervonen, Tijs Zwinkels,
* Maarten Jacobs, Hanno Koeslag, Florin Schimbinschi, Ahmad Kamal,... | drugis/addis | application/src/main/java/org/drugis/addis/entities/relativeeffect/GaussianBase.java | Java | gpl-3.0 | 3,288 |
// http://eslint.org/docs/user-guide/configuring
module.exports = {
root: true,
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module'
},
env: {
browser: true,
},
extends: 'airbnb-base',
// required to lint *.vue files
plugins: [
'html'
],
// check if imports actually resolve
... | gera2ld/Stylish-mx | .eslintrc.js | JavaScript | gpl-3.0 | 1,429 |
# -*- coding: UTF-8 -*-
"""
Lastship Add-on (C) 2019
Credits to Lastship, Placenta and Covenant; our thanks go to their creators
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, e... | lastship/plugin.video.lastship | resources/lib/sources/de/movie4k.py | Python | gpl-3.0 | 8,599 |
var interval = setInterval(function () {
$("button[type=submit]").hide();
$("p.info").hide();
try {
var prompting = loadTXT("/data/status.json");
if (prompting.indexOf("started")>0 || prompting.indexOf("active")>0 ) {
$("button[type=submit]").show();
$("p.warning").hide();
$("p.info").show();
clearI... | opendomo/OpenDomoOS | src/odbase/var/www/scripts/wizFirstConfigurationStep5.sh.js | JavaScript | gpl-3.0 | 389 |
class Cms::Controller::Admin::Base < Sys::Controller::Admin::Base
include Cms::Controller::Layout
helper Cms::FormHelper
layout 'admin/cms'
def default_url_options
Core.concept ? { :concept => Core.concept.id } : {}
end
def initialize_application
return false unless super
if para... | zomeki/zomeki2-development | lib/cms/controller/admin/base.rb | Ruby | gpl-3.0 | 1,475 |
<?php
/**
* Next/Previous Post Pagination Link
* -----------------------------------------------------------------------------
* @category PHP Script
* @package Sheepie
* @author Mark Grealish <mark@bhalash.com>
* @copyright Copyright (c) 2015 Mark Grealish
* @license https://www.gnu.org/copyleft/g... | bhalash/sheepie | partials/pagination-post.php | PHP | gpl-3.0 | 760 |
../../../../../share/pyshared/checkbox/reports/__init__.py | Alberto-Beralix/Beralix | i386-squashfs-root/usr/lib/python2.7/dist-packages/checkbox/reports/__init__.py | Python | gpl-3.0 | 58 |
<?php
/**
* Copyright © OXID eSales AG. All rights reserved.
* See LICENSE file for license details.
*/
namespace OxidEsales\EshopCommunity\Application\Model;
use oxRegistry;
use oxDb;
/**
* Promotion List manager.
*/
class ActionList extends \OxidEsales\Eshop\Core\Model\ListModel
{
/**
* List Object ... | michaelkeiluweit/oxideshop_ce | source/Application/Model/ActionList.php | PHP | gpl-3.0 | 7,605 |
/////////////////////////////////////////////////////////////////////////////
/// @file AbstractSection.cpp
///
/// @author Daniel Wilczak
/////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2000-2013 by the CAPD Group.
//
// This file constitutes a part of the CAPD library,... | soonhokong/capd4 | capdDynSys4/src/mpcapd/poincare/AbstractSection.cpp | C++ | gpl-3.0 | 1,168 |
<?php
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\App\Test\Unit\View\Deployment\Version\Storage;
use \Magento\Framework\App\View\Deployment\Version\Storage\File;
class FileTest extends \PHPUnit_Framework_TestCase
{
/**
* @var ... | rajmahesh/magento2-master | vendor/magento/framework/App/Test/Unit/View/Deployment/Version/Storage/FileTest.php | PHP | gpl-3.0 | 2,744 |
/******************************************************************************/
/* */
/* X r d S e c g s i P r o x y . c c */
/* ... | ffurano/xrootd-xrdhttp | src/XrdSecgsi/XrdSecgsiProxy.cc | C++ | gpl-3.0 | 25,410 |
/*
lcdui - A simple framework for embedded systems with an LCD/button interface
Copyright (C) 2012 by Al Williams (al.williams@awce.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, e... | thespeeder/lcdui | lcdui.cpp | C++ | gpl-3.0 | 5,873 |
######################################################################
# Copyright (C) 2014 Jaakko Luttinen
#
# This file is licensed under Version 3.0 of the GNU General Public
# License. See LICENSE for a text of the license.
######################################################################
####################... | nipunreddevil/bayespy | bayespy/inference/vmp/nodes/gaussian_wishart.py | Python | gpl-3.0 | 10,240 |
using System;
using Server.Items;
namespace Server.Items
{
public class DecorativePlateKabuto : BaseArmor
{
public override int BasePhysicalResistance { get { return 6; } }
public override int BaseFireResistance { get { return 2; } }
public override int BaseColdResistance { get { return 2; } }
publ... | greeduomacro/xrunuo | Scripts/Distro/Items/Armor/Plate/DecorativePlateKabuto.cs | C# | gpl-3.0 | 1,204 |
<?php
/* Copyright (C) 2012 Regis Houssin <regis.houssin@capnetworks.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 version 3 of the License, or
* (at your option) any later ... | woakes070048/crm-php | htdocs/langs/da_DK/contracts.lang.php | PHP | gpl-3.0 | 6,072 |
package bb
import "github.com/Syfaro/telegram-bot-api"
type message struct {
Err error
bot *tgbotapi.BotAPI
config tgbotapi.MessageConfig
Ret tgbotapi.Message
}
func (b *Base) NewMessage(chatID int, text string) *message {
return &message{
bot: b.Bot,
config: tgbotapi.NewMessage(chatID, text),
... | jqs7/telegram-chinese-groups | vendor/github.com/jqs7/bb/message.go | GO | gpl-3.0 | 1,264 |
#
# This file is part of Checkbox.
#
# Copyright 2008 Canonical Ltd.
#
# Checkbox 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.
#
# C... | jds2001/ocp-checkbox | checkbox/lib/safe.py | Python | gpl-3.0 | 2,778 |
require 'working_class/version'
require 'working_class/parser'
require 'working_class/task'
require 'working_class/tasklist'
# WorkingClass Module
#
module WorkingClass
# Loads the file from the path and returns a Tasklist
#
# @param path [String] the filepath
# @return [WorkingClass::Tasklist] the parsed Tas... | TimKaechele/Working-Class | lib/working_class.rb | Ruby | gpl-3.0 | 680 |
/*
* Copyright 2012 OSBI Ltd
*
* 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... | clevernet/CleverNIM | saiku-ui/js/ga.js | JavaScript | gpl-3.0 | 1,366 |
#ifndef STAN_MATH_PRIM_SCAL_PROB_STUDENT_T_RNG_HPP
#define STAN_MATH_PRIM_SCAL_PROB_STUDENT_T_RNG_HPP
#include <boost/random/student_t_distribution.hpp>
#include <boost/random/variate_generator.hpp>
#include <stan/math/prim/scal/err/check_consistent_sizes.hpp>
#include <stan/math/prim/scal/err/check_finite.hpp>
#inclu... | TomasVaskevicius/bouncy-particle-sampler | third_party/stan_math/stan/math/prim/scal/prob/student_t_rng.hpp | C++ | gpl-3.0 | 1,700 |
from py2neo import Graph
from py2neo.ext.gremlin import Gremlin
import os
DEFAULT_GRAPHDB_URL = "http://localhost:7474/db/data/"
DEFAULT_STEP_DIR = os.path.dirname(__file__) + '/bjoernsteps/'
class BjoernSteps:
def __init__(self):
self._initJoernSteps()
self.initCommandSent = False
def setGr... | mrphrazer/bjoern | python-bjoern/bjoern/all.py | Python | gpl-3.0 | 2,645 |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\... | will-bainbridge/OpenFOAM-dev | src/OpenFOAM/fields/pointPatchFields/derived/slip/slipPointPatchFields.C | C++ | gpl-3.0 | 1,689 |
/*
* gvNIX is an open source tool for rapid application development (RAD).
* Copyright (C) 2010 Generalitat Valenciana
*
* 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... | osroca/gvnix | addon-web-mvc-geo/addon/src/main/java/org/gvnix/addon/geo/addon/GvNIXMapViewerMetadataProvider.java | Java | gpl-3.0 | 10,078 |
// Copyright � 2010 - May 2014 Rise Vision Incorporated.
// Use of this software is governed by the GPLv3 license
// (reproduced in the LICENSE file).
function rvPlayerDCPage() {
var pageHTML = "";
this.get = function (port, ports, dcStatus, onStr, offStr) {
var res = pageHTML.replace("[PORT]", port)... | xlsuite/reach.network | player-socialweedia/app/js/player/dc_page.js | JavaScript | gpl-3.0 | 985 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
Ansible module to manage A10 Networks slb service-group objects
(c) 2014, Mischa Peters <mpeters@a10networks.com>,
Eric Chou <ericc@a10networks.com>
This file is part of Ansible
Ansible is free software: you can redistribute it and/or modify
it under the terms of the GNU... | kbrebanov/ansible-modules-extras | network/a10/a10_service_group.py | Python | gpl-3.0 | 13,531 |
# The majority of The Supplejack Manager code is Crown copyright (C) 2014, New Zealand Government,
# and is licensed under the GNU General Public License, version 3. Some components are
# third party components that are licensed under the MIT license or otherwise publicly available.
# See https://github.com/DigitalNZ... | motizuki/supplejack_manager | spec/helpers/collection_statistics_helper_spec.rb | Ruby | gpl-3.0 | 566 |
package com.oryx.remote.webservice.element._enum;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Classe Java pour XmlEnumContact.
* <p>
* <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette cla... | 241180/Oryx | oryx-server-ws-gen/src/main/java/copied/com/oryx/remote/webservice/element/_enum/XmlEnumContact.java | Java | gpl-3.0 | 1,467 |
# -*- coding: utf-8 -*-
"""
tiponpython Simulacion de ensayos de acuiferos
Copyright 2012 Andres Pias
This file is part of tiponpython.
tiponpython 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 v... | fenixon/tiponpython | views/ingresarObservaciones.py | Python | gpl-3.0 | 5,555 |
import WordCombination from "../../src/values/WordCombination";
import relevantWords from "../../src/stringProcessing/relevantWords";
import polishFunctionWordsFactory from "../../src/researches/polish/functionWords.js";
const getRelevantWords = relevantWords.getRelevantWords;
const polishFunctionWords = polishFunctio... | Yoast/js-text-analysis | spec/stringProcessing/relevantWordsPolishSpec.js | JavaScript | gpl-3.0 | 3,204 |