repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
pauljohnleonard/pod-world | pod/world.py | 8671 | '''
Created on 21 Dec 2010
@author: pjl
'''
from config import *
from math import *
from util import *
if NUMPY:
import numpy
import gui_base
small=1e-8
DEFAULT_DT=0.05
class Wall:
def __init__(self,name):
self.name=name
self.segments=[]
self.maxX=-huge
self.minX=huge
... | gpl-2.0 |
jbjonesjr/geoproponis | external/odfdom-java-0.8.10-incubating-sources/org/odftoolkit/odfdom/dom/attribute/style/StyleListStyleNameAttribute.java | 3025 | /************************************************************************
*
* 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... | gpl-2.0 |
majewsky/holo | src/holo-files/platform/rpm.go | 2001 | /*******************************************************************************
*
* Copyright 2015 Stefan Majewsky <majewsky@gmx.net>
*
* This file is part of Holo.
*
* Holo 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
... | gpl-2.0 |
Max90/MT4j_Breakout | src/org/mt4j/util/camera/MTCamera.java | 16254 | /***********************************************************************
* mt4j Copyright (c) 2008 - 2009 C.Ruff, Fraunhofer-Gesellschaft 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
* th... | gpl-2.0 |
kajgan/stbgui | lib/python/Components/MovieList.py | 31497 | from GUIComponent import GUIComponent
from Tools.FuzzyDate import FuzzyTime
from ServiceReference import ServiceReference
from Components.MultiContent import MultiContentEntryText, MultiContentEntryPixmapAlphaTest, MultiContentEntryProgress
from Components.config import config
import os
import struct
import random
from... | gpl-2.0 |
jolay/ayansa | cache/mod_vvisit_counter/860aea6b5aac75573e8d7d8ebc839c97-cache-mod_vvisit_counter-6a7772510271027a6b295060283a41f5.php | 84 | <?php die("Access Denied"); ?>#x#a:2:{s:6:"output";s:0:"";s:6:"result";s:5:"11637";} | gpl-2.0 |
biodamasceno/joomla-3.x | administrator/components/com_phocagallery/models/fields/phocagallerycategory.php | 2418 | <?php
/*
* @package Joomla.Framework
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*
* @component Phoca Component
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
* @license http://www.g... | gpl-2.0 |
nachandr/cfme_tests | cfme/control/explorer/alerts.py | 17778 | """Page model for Control / Explorer"""
from copy import copy
import attr
from navmazing import NavigateToAttribute
from navmazing import NavigateToSibling
from widgetastic.exceptions import NoSuchElementException
from widgetastic.widget import Checkbox
from widgetastic.widget import Text
from widgetastic.widget impor... | gpl-2.0 |
klst-com/metasfresh | de.metas.adempiere.adempiere/base/src/main/java-gen/org/compiere/model/X_K_Index.java | 7907 | /******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
... | gpl-2.0 |
acsid/stendhal | tests/games/stendhal/client/actions/AddBuddyActionTest.java | 2228 | /* $Id$ */
/***************************************************************************
* (C) Copyright 2003-2010 - Stendhal *
***************************************************************************
***************************************************************************
... | gpl-2.0 |
ShaningSoul/pi-qmc | src/fixednode/test/Atomic2spDMTest.cc | 4782 | #include <gtest/gtest.h>
#include <cmath>
#include "fixednode/Atomic2spDM.h"
namespace {
class Atomic2spDMTest: public ::testing::Test {
protected:
virtual void SetUp() {
Z = 1.0;
weight = 1.0;
pweight = 0.3;
npart = 1;
ifirst = 0;
nfermion = 1;
orbitalDM =... | gpl-2.0 |
affilicious-theme/affilicious | templates/admin/notice/error-notice.php | 255 | <div class="notice notice-error <?php if(!empty($dismissible_id)): ?>is-dismissible<?php endif; ?>" <?php if(!empty($dismissible_id)): ?>data-dismissible-id="<?php echo esc_attr($dismissible_id); ?>"<?php endif; ?>>
<p><?php echo $message; ?></p>
</div>
| gpl-2.0 |
sdl/Sdl-Community | Qualitivity/Sdl.Community.Qualitivity/Dialogs/LanguageRate/LanguageRate.designer.cs | 49124 | using System.ComponentModel;
using System.Windows.Forms;
namespace Sdl.Community.Qualitivity.Dialogs.LanguageRate
{
partial class LanguageRate
{
/// <summary>
/// Required designer variable.
/// </summary>
private IContainer components = null;
/// <summary>
///... | gpl-2.0 |
wnsonsa/destin-foot | ezpublish_legacy/var/ezdemo_site/cache/translation/116c467d302d69cc1951896fc44b1880/fre-FR/f3d258115c21b07b16314e6170592c42.php | 814 | <?php
$eZTranslationCacheCodeDate = 1058863428;
$CacheInfo = array (
'charset' => 'utf-8',
);
$TranslationInfo = array (
'context' => 'design/ezdemo/collectedinfomail/form',
);
$TranslationRoot = array (
'aabfc43c368e92708143b6e794fdb916' =>
array (
'context' => 'design/ezdemo/collectedinfomail/form',
... | gpl-2.0 |
wangwen1220/ruigui-electronic.com | wp-content/themes/e-mall/single.php | 308 | <?php
/**
* The Template for displaying all single posts.
*
* @package _s
*/
$post = $wp_query->post;
$catid = get_option('shopcatid');
$catid = explode(',',$catid);
if ( in_category($catid) ) {
include(TEMPLATEPATH . '/single-shop.php');
}
else {
include(TEMPLATEPATH . '/single-good.php');
} ?> | gpl-2.0 |
alucard263096/XMLRPC | Service/libs/PEAR/PEAR/Installer/Role/Data.php | 1234 | <?php
/**
* PEAR_Installer_Role_Data
*
* PHP versions 4 and 5
*
* LICENSE: This source file is subject to version 3.0 of the PHP license
* that is available through the world-wide-web at the following URI:
* http://www.php.net/license/3_0.txt. If you did not receive a copy of
* the PHP License and are... | gpl-2.0 |
m-kuhn/QGIS | src/core/geometry/qgsmultilinestring.cpp | 5234 | /***************************************************************************
qgsmultilinestring.cpp
-------------------------------------------------------------------
Date : 28 Oct 2014
Copyright : (C) 2014 by Marco Hugentobler
email : marco.hugentobl... | gpl-2.0 |
mitchellzen/DLAMP-MAX | magento/app/code/core/Mage/Adminhtml/Block/Catalog/Category/Helper/Image.php | 1448 | <?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... | gpl-2.0 |
syborg101/co2serverclone | wp-content/themes/jupiter/components/shortcodes/mk_moving_image/vc_map.php | 2480 | <?php
vc_map(array(
"name" => __("Moving Image", "mk_framework") ,
"base" => "mk_moving_image",
"category" => __('General', 'mk_framework') ,
'icon' => 'icon-mk-moving-image vc_mk_element-icon',
'description' => __('Images powered by CSS3 moving animations.', 'mk_framework') ,
"params" => array(... | gpl-2.0 |
sguha-work/fiddletest | backup/fiddles/Chart/Trend_lines/Customizing_trend_line_properties_in_charts/demo.js | 1487 | FusionCharts.ready(function () {
var salesChart = new FusionCharts({
type: 'column2d',
renderAt: 'chart-container',
id: 'myChart',
width: '450',
height: '300',
dataFormat: 'json',
dataSource: {
"chart": {
"caption": "Quarterly Sales... | gpl-2.0 |
teamfx/openjfx-9-dev-rt | modules/javafx.base/src/main/java/com/sun/javafx/reflect/MethodUtil.java | 12840 | /*
* Copyright (c) 2005, 2017, 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 ... | gpl-2.0 |
hs-web/webbuilder | wb-utils/src/main/java/org/webbuilder/utils/storage/instance/PropertiesStorage.java | 3354 | package org.webbuilder.utils.storage.instance;
import org.webbuilder.utils.common.StringUtils;
import org.webbuilder.utils.storage.Storage;
import org.webbuilder.utils.storage.event.StorageListener;
import org.webbuilder.utils.storage.event.Finder;
import org.webbuilder.utils.storage.exception.StorageException;
impo... | gpl-2.0 |
scottopolis/WP-API | lib/infrastructure/class-wp-rest-server.php | 32073 | <?php
/**
* WordPress REST API
*
* Contains the WP_REST_Server class.
*
* @package WordPress
*/
require_once( ABSPATH . 'wp-admin/includes/admin.php' );
/**
* WordPress REST API server handler
*
* @package WordPress
*/
class WP_REST_Server {
/**
* GET transport method.
*
* @var string
*/
const MET... | gpl-2.0 |
sQcrm/sqcrm | plugins/EmailerSendWithUs/libs/sendwithus/vendor/autoload.php | 183 | <?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer' . '/autoload_real.php';
return ComposerAutoloaderInit9d6c2fd5a781689cf48e56c3bb112415::getLoader();
| gpl-2.0 |
bugcy013/opennms-tmp-tools | core/snmp/api/src/main/java/org/opennms/netmgt/snmp/SnmpAgentAddress.java | 1397 | package org.opennms.netmgt.snmp;
import java.net.InetAddress;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.opennms.core.utils.InetAddressUtils;
import org.springframework.util.Assert;
public final class SnmpAgentAddress {
private final I... | gpl-2.0 |
VortexCore/VortexCore434 | src/server/game/AI/SmartScripts/SmartScript.cpp | 148161 | /*
* Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
*
* 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 ve... | gpl-2.0 |
shuk08/test1 | backend/views/userrestdata/_form.php | 1254 | <?php
use yii\helpers\Html;
use yii\helpers\ArrayHelper;
use yii\bootstrap\ActiveForm;
use common\models\User;
$dataUser = ArrayHelper::map(User::find()->asArray()->all(),'id', 'username');
/* @var $this yii\web\View */
/* @var $model common\models\Userrestdata */
/* @var $form yii\bootstrap\ActiveForm */
?>
<div c... | gpl-2.0 |
sandrinr/XCSoar | src/Form/Form.hpp | 5518 | /*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2021 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | gpl-2.0 |
Wylbur/cc | sites/all/modules/img_assist/img_assist.js | 1818 |
Drupal.behaviors.img_assist = function(context) {
$('textarea.img_assist:not(.img_assist-processed)', context).each(function() {
// Drupal's teaser behavior is a destructive one and needs to be run first.
if ($(this).is('textarea.teaser:not(.teaser-processed)')) {
Drupal.behaviors.teaser(context);
... | gpl-2.0 |
pnkfelix/sourceware-binutils | gold/output.cc | 159310 | // output.cc -- manage the output file for gold
// Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012
// Free Software Foundation, Inc.
// Written by Ian Lance Taylor <iant@google.com>.
// This file is part of gold.
// This program is free software; you can redistribute it and/or modify
// it under the terms of the ... | gpl-2.0 |
kikutou/rentalmotor | src/Eccube/Entity/TaxRule.php | 8580 | <?php
/*
* This file is part of EC-CUBE
*
* Copyright(c) 2000-2015 LOCKON CO.,LTD. All Rights Reserved.
*
* http://www.lockon.co.jp/
*
* 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; ei... | gpl-2.0 |
cidesa/roraima | apps/formulacion/modules/fordefpryaccmet/templates/listSuccess.php | 1222 | <?php
/**
* Funciones de la vista.
*
* @package Roraima
* @subpackage vistas
* @author $Author:lhernandez $ <desarrollo@cidesa.com.ve>
* @version SVN: $Id:listSuccess.php 32813 2009-09-08 16:19:47Z lhernandez $
*/
// date: 2007/06/19 12:42:22
?>
<?php use_helper('I18N', 'Date') ?>
<?php use_stylesheet... | gpl-2.0 |
gurkih/lammps | src/MC/fix_gcmc.cpp | 68049 | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | gpl-2.0 |
rydnr/queryj-rt | queryj-template-packaging/src/main/java/org/acmsl/queryj/templates/packaging/TemplatePackagingSettings.java | 3791 | /*
QueryJ Template Packaging
Copyright (C) 2002-today Jose San Leandro Armendariz
chous@acm-sl.org
This library 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 S... | gpl-2.0 |
jolay/ayansa | cache/mod_vvisit_counter/860aea6b5aac75573e8d7d8ebc839c97-cache-mod_vvisit_counter-d5b984118dba69a4bac6fbd796c87af6.php | 83 | <?php die("Access Denied"); ?>#x#a:2:{s:6:"output";s:0:"";s:6:"result";s:4:"5935";} | gpl-2.0 |
Gordondalos/nwp | wp-content/plugins/unison/framework/extensions/shortcodes/shortcodes/section/includes/page-builder-section-item/class-page-builder-section-item.php | 4540 | <?php
class Page_Builder_Section_Item extends Page_Builder_Item
{
public function get_type()
{
return 'section';
}
private function get_shortcode_options()
{
$shortcode_instance = fw_ext('shortcodes')->get_shortcode('section');
return $shortcode_instance->get_options();
}
private function get_shortcode_... | gpl-2.0 |
andreas-schwab/open-build-service | src/api/config/initializers/flipper.rb | 483 | Flipper.configure do |config|
config.default do
adapter = Flipper::Adapters::ActiveRecord.new
Flipper.new(adapter)
end
# Register beta and rollout groups by default.
# We need to add it when initializing because Flipper.register doesn't
# store anything in database.
Flipper.register(:beta) do |use... | gpl-2.0 |
michaeleibl/tcpproxy | config/configuration.go | 2508 | package config
import (
"os"
"io/ioutil"
"encoding/xml"
"log"
)
type Proxyserver struct {
ProxyName string `xml:"name,attr"`
Buffersize string `xml:"buffersize,attr"`
SourceItem Source `xml:"source"`
DestinationItem Destination `xml:"destination"`
}
type Source struct {
Port st... | gpl-2.0 |
graph-io/soundhouse-dev | wp-content/themes/blogs-mu/members/single/messages/single.php | 3422 | <div id="message-thread" role="main">
<?php do_action( 'bp_before_message_thread_content' ) ?>
<?php if ( bp_thread_has_messages() ) : ?>
<h3 id="message-subject"><?php bp_the_thread_subject() ?></h3>
<p id="message-recipients">
<span class="highlight">
<?php if ( !bp_get_the_thread_recipie... | gpl-2.0 |
dantman/mediawiki-core | tests/phpunit/includes/content/ContentHandlerTest.php | 13953 | <?php
/**
* @group ContentHandler
* @group Database
*
* @note Declare that we are using the database, because otherwise we'll fail in the "databaseless" test run.
* This is because the LinkHolderArray used by the parser needs database access.
*
*/
class ContentHandlerTest extends MediaWikiTestCase {
public fu... | gpl-2.0 |
bdogger/rails4-devise-bootstrap-user-roles | app/models/user.rb | 499 | class User < ActiveRecord::Base
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable and :omniauthable
devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :trackable, :validatable,
:confirmable, :lockable, :timeoutable
has_m... | gpl-2.0 |
DesignBP/Guymark | wp-content/plugins/woocommerce-wishlists/assets/js/woocommerce-wishlists.js | 4240 | jQuery(document).ready(function($) {
var bundles = $('.bundle_wrap');
if (bundles.length) {
$('.wl-button-wrap').appendTo( $('.bundle_wrap') ).removeClass('hide');
} else {
//Move the add to wishlist button inside the variation.
var variations = $('.variations_button');
if (variations.length) {
$('.wl-b... | gpl-2.0 |
yama/phplist | public_html/lists/admin/info/vi/statsmgt.php | 471 |
<p>Trang này hiển thị những thống kê có thể lấy về. Hiện tại trang này còn nhiều việc phải làm và cần được cập nhật trong các phiên bản tới.... | gpl-2.0 |
EdViva/mainviva | christmas/recipe_roastedmushrooms.php | 5921 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><!-- InstanceBegin template="/Templates/xmas07.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- InstanceBeginEditable name="doctitle" -... | gpl-2.0 |
matthesrieke/subverse | delivery/src/main/java/org/n52/subverse/delivery/UnsupportedDeliveryDefinitionException.java | 1714 | /*
* Copyright (C) 2016-2016 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*
* If the program is linked with ... | gpl-2.0 |
Linhu86/openwrt_dev | package/rooter/ext-aria2/files/www/aria2/js/services/rpc/syscall.js | 1733 | angular
.module('webui.services.rpc.syscall', [
'webui.services.rpc.jsoncall', 'webui.services.rpc.sockcall',
'webui.services.utils', 'webui.services.alerts'
])
.factory('$syscall', ['$log', '$jsoncall', '$sockcall', '$alerts',
function(log, jsonRPC, sockRPC, alerts) {
return {
// called to initialize... | gpl-2.0 |
miraclelinux/MIRACLE-ZBX-2.0.3-NoSQL | frontends/php/tests/selenium/testFormHostGroup.php | 4184 | <?php
/*
** Zabbix
** Copyright (C) 2000-2011 Zabbix SIA
**
** 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.
**
** Th... | gpl-2.0 |
Qwaz/solved-hacking-problem | holyshield/2016/mobile_sound_meter/source_refactored/android/support/v7/p014a/C0218h.java | 496 | package android.support.v7.p014a;
import android.view.View;
/* renamed from: android.support.v7.a.h */
class C0218h implements Runnable {
final /* synthetic */ View f778a;
final /* synthetic */ View f779b;
final /* synthetic */ C0215e f780c;
C0218h(C0215e c0215e, View view, View view2) {
this... | gpl-2.0 |
rowanthorpe/IXP-Manager | resources/views/api/v4/router/as112/bird/neighbors.foil.php | 781 |
<?php foreach( $t->ints as $int ):
// do not set up a session to ourselves!
if( $int['autsys'] == $t->router->asn() ):
continue;
endif;
?>
protocol bgp pb_as<?= $int['autsys'] ?>_vli<?= $int['vliid'] ?>_ipv<?= $int['protocol'] ?? 4 ?> {
description "AS<?= $int['autsys... | gpl-2.0 |
planee/SoDCORE | src/server/scripts/Outland/zone_shadowmoon_valley.cpp | 65717 | /*
*
* Copyright (C) 2011-2013 ArkCORE <http://www.arkania.net/>
*
* Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/>
*
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms o... | gpl-2.0 |
leto/389-ds | lib/libaccess/register.cpp | 21009 | /** BEGIN COPYRIGHT BLOCK
* 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 in the hope that it will be useful, but WITHOUT
* ANY W... | gpl-2.0 |
mohsinoffline/wp-twilio-core | twilio-php/src/Twilio/Rest/Api/V2010/Account/Usage/RecordOptions.php | 4684 | <?php
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
namespace Twilio\Rest\Api\V2010\Account\Usage;
use Twilio\Options;
use Twilio\Values;
abstract class RecordOptions {
/**
* @param string $category The usage category of the UsageRecord resourc... | gpl-2.0 |
bamtron5/wordpress | wp-content/plugins/all-in-one-video-pack/lib/Kaltura/Client/ExternalMedia/Type/ExternalMediaEntry.php | 2177 | <?php
// ===================================================================================================
// _ __ _ _
// | |/ /__ _| | |_ _ _ _ _ __ _
// | ' </ _` | | _| || | '_/ _` |
// |_|\_\__,_|_|\__|\_,_... | gpl-2.0 |
BeGe78/esood | vendor/bundle/ruby/3.0.0/gems/sqlite3-1.4.2/test/test_integration_resultset.rb | 3759 | require 'helper'
class TC_ResultSet < SQLite3::TestCase
def setup
@db = SQLite3::Database.new(":memory:")
@db.transaction do
@db.execute "create table foo ( a integer primary key, b text )"
@db.execute "insert into foo ( b ) values ( 'foo' )"
@db.execute "insert into foo ( b ) values ( 'bar... | gpl-3.0 |
neo4j-contrib/neo4j-mobile-android | neo4j-android/kernel-src/org/neo4j/kernel/impl/transaction/LockType.java | 966 | /**
* Copyright (c) 2002-2013 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j 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 Foundati... | gpl-3.0 |
wareya/Spark-Reader | src/ui/input/KeyHandler.java | 2496 | package ui.input;
import hooker.WindowHook;
import main.Main;
import ui.UI;
/**
* Handles keyboard based control of Spark Reader. <br>
* This class is abstract and requires an implementation to get key events, since there are a few ways of doing this,
* some of which are platform dependent.
*/
public abstract cla... | gpl-3.0 |
Limezero/libreoffice | reportbuilder/java/org/libreoffice/report/pentaho/parser/xlink/XLinkReadHandler.java | 2295 | /*
* This file is part of the LibreOffice project.
*
* 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/.
*
* This file incorporates work covered by the following lice... | gpl-3.0 |
amaurywalbert/snappy | network_structure.py | 8224 | # -*- coding: latin1 -*-
################################################################################################
#
#
import snap, datetime, sys, time, json, os, os.path, shutil, time, random, math
import numpy as np
from math import*
# Script auxiliar para cálculos matemáticos que deve estar no mesmo diretóri... | gpl-3.0 |
mayioit/MacroMedicalSystem | ImageServer/Enterprise/RemoteCoreServiceProvider.cs | 2176 | #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 terms of the G... | gpl-3.0 |
test-storage/test-storage | server/src/modules/auth/auth.controller.ts | 1291 | import { Controller, Post, HttpCode, Body } from '@nestjs/common';
import { ValidationPipe } from '../common/pipes/validation.pipe';
import { AuthService } from './auth.service';
import { UserDto } from './user.dto';
import { ApiTags, ApiBearerAuth, ApiResponse, ApiOperation } from '@nestjs/swagger';
@ApiBearerAuth... | gpl-3.0 |
hpzeller/xos_shop_system | shop/smarty/admin/languages/english/modules/shipping/item.php | 2822 | <?php
////////////////////////////////////////////////////////////////////////////////
// project : XOS-Shop, open source e-commerce system
// http://www.xos-shop.com
//
// filename : item.php
// author : Hanspeter Zeller <hpz@x... | gpl-3.0 |
ivuk/ubuntu-make | tests/medium/test_games.py | 3393 | # -*- coding: utf-8 -*-
# Copyright (C) 2014 Canonical
#
# Authors:
# Didier Roche
#
# 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 3.
#
# This program is distributed in the hope that ... | gpl-3.0 |
portfors-lab/sparkle | test/tests/unit/acq/__init__.py | 228 | import os
tempfolder = os.path.join(os.path.abspath(os.path.dirname(__file__)), u"tmp")
def setup_package():
if not os.path.exists(tempfolder):
os.mkdir(tempfolder)
def teardown_package():
os.rmdir(tempfolder) | gpl-3.0 |
Tyde/TuCanMobile | app/src/main/java/com/dalthed/tucan/acraload/LoadAcraResults.java | 4537 | /**
* This file is part of TuCan Mobile.
*
* TuCan Mobile 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.
*
* TuCan Mobile is d... | gpl-3.0 |
rranz/javalego | javalego/javalego_ui/src/main/java/com/javalego/ui/mvp/beans/view/IBeansView.java | 1861 | package com.javalego.ui.mvp.beans.view;
import java.util.Collection;
import com.javalego.exception.LocalizedException;
import com.javalego.ui.patterns.IView;
/**
* Vista de visualización de una lista de beans.
*
* Ver implementaciones de paginación o simple listas basadas en tablas o grid componentes.
... | gpl-3.0 |
tagoonp/rmis | pm/rs_edit_19082015.php | 38259 | <?php
session_start();
if($_SESSION['id'] == ""){
?>
<script>
alert('Session timeout!');
window.location = '../index.php';
</script>
<?php
exit();
}else
require "config.inc.php";
require ("../lib/connect.class.php");
$db = new database();
$db->connect();
if(isset($_GET['id_rs'])){
}else{
?>
<script>
al... | gpl-3.0 |
PeTeL-Weizmann/moodle | mod/questionnaire/tests/behat/behat_mod_questionnaire.php | 16648 | <?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 ... | gpl-3.0 |
dkerr64/astlinux | package/webinterface/altweb/admin/zabbix.php | 12378 | <?php
// Copyright (C) 2012 Lonnie Abelbeck
// This is free software, licensed under the GNU General Public License
// version 3 as published by the Free Software Foundation; you can
// redistribute it and/or modify it under the terms of the GNU
// General Public License; and comes with ABSOLUTELY NO WARRANTY.
// zab... | gpl-3.0 |
tobbi/stk-code | src/karts/kart.hpp | 21360 | //
// SuperTuxKart - a fun racing game with go-kart
// Copyright (C) 2004-2015 Steve Baker <sjbaker1@airmail.net>
// Copyright (C) 2006-2015 SuperTuxKart-Team, Joerg Henrichs, Steve Baker
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public Lice... | gpl-3.0 |
neroziros/GameJam2017 | Assets/uScript/uScriptRuntime/Nodes/Conditions/Comparison/uScriptCon_CompareFloat.cs | 2163 | // uScript Action Node
// (C) 2010 Detox Studios LLC
using UnityEngine;
using System.Collections;
[NodePath("Conditions/Comparison")]
[NodeCopyright("Copyright 2011 by Detox Studios LLC")]
[NodeToolTip("Fires the appropriate output link(s) depending on the comparison of the attached float variables.")]
[NodeAuthor("... | gpl-3.0 |
drjova/zenodo | zenodo/modules/citationformatter/static/js/citationformatter/citationformatter.js | 2726 | /*
* This file is part of Zenodo.
* Copyright (C) 2014 CERN.
*
* Zenodo 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.
*
* Ze... | gpl-3.0 |
mayioit/MacroMedicalSystem | ImageServer/Web/Application/Pages/Login/PasswordExpiredDialog.ascx.cs | 2196 | #region License
// Copyright (c) 2011, ClearCanvas Inc.
// All rights reserved.
// http://www.ClearCanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.ClearCanvas.ca/OSLv3.0
#endregion
using System;
using System.Web.Security;
using System.Web.UI... | gpl-3.0 |
rranz/javalego | javalego/javalego_ui_vaadin/src/main/java/com/javalego/ui/vaadin/component/search/ListSelectSearch.java | 723 | package com.javalego.ui.vaadin.component.search;
import java.util.Collection;
import com.vaadin.ui.ListSelect;
/**
* Ejemplo de implementación de componente de lista de objetos.
* @author ROBERTO RANZ
*
*/
public class ListSelectSearch extends ListSelect implements ISearch {
private static final... | gpl-3.0 |
rranz/javalego | javalego/javalego_ui_vaadin/src/main/java/com/javalego/ui/vaadin/component/confirmdialog/DefaultConfirmDialogFactory.java | 6971 | package com.javalego.ui.vaadin.component.confirmdialog;
import java.text.NumberFormat;
import java.util.Locale;
import com.javalego.ui.vaadin.component.confirmdialog.ConfirmDialog.Factory;
import com.vaadin.event.ShortcutAction.KeyCode;
import com.vaadin.shared.ui.label.ContentMode;
import com.vaadin.ui.Align... | gpl-3.0 |
NIT-Warangal/LibSys | core/LuaSetManLib.cpp | 26339 | //
//---------------------------------------------------------------------------
#include "stdinc.h"
//---------------------------------------------------------------------------
#include "LuaInc.h"
//---------------------------------------------------------------------------
#include "LuaSetManLib.h"
//------... | gpl-3.0 |
taylorkarras/diamondblog | index.php | 639 | <?php
/** PHP version check **/
define('MINIMUM_PHP', '7.0');
if (version_compare(PHP_VERSION, MINIMUM_PHP, '<'))
{
die('Your host needs to use PHP ' . MINIMUM_PHP . ' or higher to run DiamondBlog,');
}
/** MySQL check **/
function check_mysql_versions() {
if ( ! extension_loaded( 'mysqli' ) && ! extension_loaded( ... | gpl-3.0 |
wiki2014/Learning-Summary | alps/art/compiler/linker/vector_output_stream.cc | 1398 | /*
* 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 app... | gpl-3.0 |
luciouskami/YDWE | Development/Plugin/YDColorizer/YDColorizer/winapi/Ini.cs | 3287 | using System.Text;
using System.Runtime.InteropServices;
namespace WinApi
{
public class Ini
{
[DllImport("kernel32.dll", EntryPoint = "GetPrivateProfileInt", SetLastError = true)]
private static extern int GetPrivateProfileInt(string lpApplicationName, string lpKeyName, int nDefault, string l... | gpl-3.0 |
masaomi/slim | db/migrate/20150728081608_add_oxichain_to_features.rb | 123 | class AddOxichainToFeatures < ActiveRecord::Migration
def change
add_column :features, :oxichain, :integer
end
end
| gpl-3.0 |
masaomi/slim | test/controllers/lipids_controller_test.rb | 2038 | require 'test_helper'
class LipidsControllerTest < ActionController::TestCase
setup do
@lipid = lipids(:one)
end
test "should get index" do
get :index
assert_response :success
assert_not_nil assigns(:lipids)
end
test "should get new" do
get :new
assert_response :success
end
tes... | gpl-3.0 |
polterguy/phosphorusfive | core/p5.exp/iterators/IteratorNumberedChild.cs | 1896 | /*
* Phosphorus Five, copyright 2014 - 2017, Thomas Hansen, thomas@gaiasoul.com
*
* This file is part of Phosphorus Five.
*
* Phosphorus Five is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3, as published by
* the Free Software Found... | gpl-3.0 |
unix4you2/pmydb | dev_tools/adminer-4.3.1/plugins/sql-log.php | 1035 | <?php
/** Log all queries to SQL file (manual queries through SQL command are not logged)
* @link https://www.adminer.org/plugins/#use
* @author Jakub Vrana, https://www.vrana.cz/
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU G... | gpl-3.0 |
craftercms/studio-ui | static-assets/modules/editors/tinymce/v2/tiny_mce/themes/simple/langs/ja.js | 458 | tinymce2.addI18n('ja.simple',{"cleanup_desc":"\u30b3\u30fc\u30c9\u6574\u5f62","redo_desc":"\u3084\u308a\u76f4\u3059 (Ctrl+Y)","undo_desc":"\u5143\u306b\u623b\u3059 (Ctrl+Z)","numlist_desc":"\u756a\u53f7\u3064\u304d\u30ea\u30b9\u30c8","bullist_desc":"\u756a\u53f7\u306a\u3057\u30ea\u30b9\u30c8","striketrough_desc":"\u625... | gpl-3.0 |
will-bainbridge/OpenFOAM-dev | src/OpenFOAM/fields/GeometricFields/geometricOneField/geometricOneFieldI.H | 3187 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\... | gpl-3.0 |
armeniaca/rudder | rudder-core/src/main/scala/com/normation/rudder/services/policies/DependencyAndDeletionService.scala | 18612 | /*
*************************************************************************************
* Copyright 2011 Normation SAS
*************************************************************************************
*
* This file is part of Rudder.
*
* Rudder is free software: you can redistribute it and/or modify
* it under the... | gpl-3.0 |
harrelle/pawtucket2 | themes/default/views/Details/ca_collections_default_html.php | 5538 | <?php
$t_item = $this->getVar("item");
$va_comments = $this->getVar("comments");
$vn_comments_enabled = $this->getVar("commentsEnabled");
$vn_share_enabled = $this->getVar("shareEnabled");
# --- get collections configuration
$o_collections_config = caGetCollectionsConfig();
$vb_show_hierarchy_viewer = true;
... | gpl-3.0 |
karmakat/jot-lib | src/widgets/file_select_icon_folder_x.hpp | 5840 | /*****************************************************************
* This file is part of jot-lib (or "jot" for short):
* <http://code.google.com/p/jot-lib/>
*
* jot-lib 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 Sof... | gpl-3.0 |
Jonbean/models | dssm_lstm/DSSM_blstm_1neg_hidden300_shareall.py | 16739 | import theano
import theano.tensor as T
import lasagne
import numpy as np
import os
import time
import utils
import cPickle as pickle
import collections
import BLSTMMLP_Encoder
import sys
class DSSM_BLSTM_Model(object):
def __init__(self,blstmmlp_setting, dropout_rate, batchsize, wemb_size = None):
# Initi... | gpl-3.0 |
inglis-dl/onyx-instruments | interface-audiogram-tremetrics-ra300/src/main/java/org/obiba/onyx/jade/instrument/tremetrics/ra300/Ra300Test.java | 5990 | /*******************************************************************************
* Copyright (c) 2011 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 L... | gpl-3.0 |
RoyalDev/TheHumanity | src/main/java/org/royaldev/thehumanity/cards/play/PlaySnapshot.java | 846 | package org.royaldev.thehumanity.cards.play;
import org.royaldev.thehumanity.util.json.JSONSerializable;
import java.io.Serializable;
import java.util.List;
public class PlaySnapshot implements Serializable, JSONSerializable {
private static final long serialVersionUID = 44L;
private String player;
priv... | gpl-3.0 |
WolfGaming/OpenRA | OpenRA.Mods.Common/SpriteLoaders/ShpTDLoader.cs | 6030 | #region Copyright & License Information
/*
* Copyright 2007-2019 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of
* the Licen... | gpl-3.0 |
nishanttotla/predator | cpachecker/src/org/sosy_lab/cpachecker/cpa/monitor/MonitorStatistics.java | 1892 | /*
* CPAchecker is a tool for configurable software verification.
* This file is part of CPAchecker.
*
* Copyright (C) 2007-2014 Dirk Beyer
* 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... | gpl-3.0 |
mguentner/tomahawk | thirdparty/qxt/qxtweb-standalone/qxtweb/qxtmetaobject.cpp | 14199 | /****************************************************************************
**
** Copyright (C) Qxt Foundation. Some rights reserved.
**
** This file is part of the QxtCore module of the Qxt library.
**
** This library is free software; you can redistribute it and/or modify it
** under the terms of the Common ... | gpl-3.0 |
Raphcal/sigmah | src/main/java/org/sigmah/server/servlet/exporter/data/columns/GlobalExportDataColumn.java | 4111 | package org.sigmah.server.servlet.exporter.data.columns;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.persistence.EntityManager;
import org.sigmah.server.dispatch.CommandHandler;
import org.sigmah.server.domain.base.EntityId;
import org.sigmah.server.domain.category.CategoryType;
imp... | gpl-3.0 |
ngasull/well-auction | src/main/java/net/gasull/well/auction/shop/entity/AucShopEntityManager.java | 2789 | package net.gasull.well.auction.shop.entity;
import java.util.HashMap;
import java.util.Map;
import net.gasull.well.WellCore;
import net.gasull.well.auction.WellAuction;
import net.gasull.well.auction.db.model.AucEntityToShop;
import net.gasull.well.auction.db.model.AuctionShop;
import net.gasull.well.auctio... | gpl-3.0 |
kkorte/backend | src/resources/views/product_category/edit-highlight.blade.php | 5392 | @extends('hideyo_backend::_layouts.default')
@section('main')
<div class="row">
<div class="col-sm-3 col-md-2 sidebar">
@include('hideyo_backend::_partials.product-category-tabs', array('productCategoryHighlight' => true))
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/North_Gustaberg/mobs/Goblin_Fisher.lua | 812 | -----------------------------------
-- Area: North Gustaberg (106)
-- Mob: Goblin_Fisher
-----------------------------------
-- require("scripts/zones/North_Gustaberg/MobIDs");
-----------------------------------
-- onMobInitialize
-----------------------------------
function onMobInitialize(mob)
end;
---------... | gpl-3.0 |
joseluisquiroga/parallella-baby-steps | jlq-test-20/old/stack_trace_hst.cpp | 1211 |
/*------------------------------------------------------------
bjh_stack_trace.cpp
stack_trace funcs.
--------------------------------------------------------------*/
#include <sstream>
#include <execinfo.h>
#include <cstdlib>
//include "bj_stream.h"
#include "string_hst.h"
#include "stack_trace_hst.h"
bool
b... | gpl-3.0 |
OpenCFD/OpenFOAM-1.7.x | src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchFieldMapperPatchRef.H | 2939 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
\\/ M anipulation |
---------------... | gpl-3.0 |
LANGFAN/ardupilot | libraries/AP_BattMonitor/AP_BattMonitor.cpp | 14429 | #include "AP_BattMonitor.h"
#include "AP_BattMonitor_Analog.h"
#include "AP_BattMonitor_SMBus.h"
#include "AP_BattMonitor_Bebop.h"
#include <AP_Vehicle/AP_Vehicle_Type.h>
extern const AP_HAL::HAL& hal;
const AP_Param::GroupInfo AP_BattMonitor::var_info[] = {
// @Param: _MONITOR
// @DisplayName: Battery monito... | gpl-3.0 |