repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
completit/PHP-MySql
c04/03_form_regex/lucru/01_start.php
4088
<?php include "includes/header.html"; ?> <?php include "includes/form_functions.php"; ?> <?php //ini_set('display errors', 1); # valori initiale, pentru prima afisare a formularului $nume =''; $prenume =''; $email =''; $mesaj =''; $calificativ =''; $limba =''; $cursuri =array(); # daca a fost transmis for...
gpl-2.0
krashanoff/GechoOpen
Zend/Db/Adapter/Exception.php
1617
<?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...
gpl-2.0
yujihayashi/socialismosustentavel
wp-content/plugins/sendpress/classes/class-sendpress-option.php
2828
<?php // SendPress Required Class: SendPress_Option // Prevent loading this file directly if ( !defined('SENDPRESS_VERSION') ) { header('HTTP/1.0 403 Forbidden'); die; } if(class_exists('SendPress_Option')){ return; } /** * SendPress_Options * * @uses * * * @package SendPRess * @author Josh Lyford * @lice...
gpl-2.0
SuriyaaKudoIsc/wikia-app-test
extensions/wikia/MyHome/templates/activityfeed.oasis.tmpl.php
2217
<div id="wikiactivity-main" data-type="<?= $type ?>"> <?php if( isset( $emptyMessage ) ): ?> <h3 class="myhome-empty-message"><?php print $emptyMessage ?></h3> <?php else: ?> <ul class="activityfeed reset" id="myhome-activityfeed"> <?php foreach($data as $row): ?> <li class="activity-type-<?php print FeedRe...
gpl-2.0
elkorn/SSiED
project/RapidMiner_Unuk/src/com/rapidminer/operator/learner/tree/SingleLabelTermination.java
1808
/* * RapidMiner * * Copyright (C) 2001-2013 by Rapid-I and the contributors * * Complete list of developers available at our web site: * * http://rapid-i.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 pub...
gpl-2.0
bugcy013/opennms-tmp-tools
opennms-webapp/src/main/java/org/opennms/web/command/ManageDatabaseReportCommand.java
1750
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2010-2011 The OpenNMS Group, Inc. * OpenNMS(R) is Copyright (C) 1999-2011 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * * OpenNMS(...
gpl-2.0
davilla/meatgrinder
xbmc/filesystem/SourcesDirectory.cpp
3794
/* * Copyright (C) 2005-2013 Team XBMC * http://xbmc.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, or (at your option) * any later version. * * ...
gpl-2.0
jo-sf/joomla-cms
libraries/src/Table/Menu.php
8136
<?php /** * Joomla! Content Management System * * @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\CMS\Table; defined('JPATH_PLATFORM') or die; use Joomla\CMS\Application\Applicat...
gpl-2.0
A2152225/ServUO
Scripts/Items/Artifacts/Equipment/Weapons/CavalrysFolly.cs
1307
using System; namespace Server.Items { public class CavalrysFolly : BladedStaff { public override bool IsArtifact { get { return true; } } public override int LabelNumber { get { return 1115446; } } // Cavalry's Folly [Constructable] public CavalrysFolly() : base() { ...
gpl-2.0
ayuzhanin/cornell-spf-scala
src/main/java/edu/cornell/cs/nlp/spf/ccg/categories/ComplexCategory.java
3051
/******************************************************************************* * Copyright (C) 2011 - 2015 Yoav Artzi, All rights reserved. * <p> * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Found...
gpl-2.0
nhiha60591/sumona-new
wp-content/themes/Directory/library/extensions/get-the-image.php
19527
<?php /** * Get the Image - An advanced post image script for WordPress. * * Get the Image was created to be a highly-intuitive image script that displays post-specific images (an * image-based representation of a post). The script handles old-style post images via custom fields for * backwards compatibility. ...
gpl-2.0
sunmoyi/ACM
acm clion/Hello World/Hello World.cpp
449
// // Created by 孙启龙 on 2017/3/22. // #include<cstdio> #include<cstdlib> using namespace std; int n; int main() { int cases=0; while(scanf("%d",&n)!=EOF) { if(n < 0) break; int num = 1; int k = 0; while(1) { if(num >= n) brea...
gpl-2.0
A2152225/ServUO
Scripts/Items/Artifacts/Equipment/Weapons/DarkglowScimitar.cs
878
using System; namespace Server.Items { public class DarkglowScimitar : RadiantScimitar { public override bool IsArtifact { get { return true; } } [Constructable] public DarkglowScimitar() { WeaponAttributes.HitDispel = 10; } public DarkglowScimitar(Serial ser...
gpl-2.0
ghostbar/powertop.deb
src/devices/i915-gpu.cpp
2765
/* * Copyright 2010, Intel Corporation * * This file is part of PowerTOP * * This program file 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...
gpl-2.0
javalidigital/multipla
wp-content/plugins/wedevs-project-manager-pro/assets/js/task.js
19022
;(function($) { var CPM_Task = { init: function () { $('.cpm-task-complete .cpm-complete').attr('checked', 'checked').attr('disabled', false); $('.cpm-task-uncomplete .cpm-uncomplete').removeAttr('checked').attr('disabled', false); $('ul.cpm-todolists').on('click', 'a...
gpl-2.0
Sunella/Vidweb
administrator/components/com_mijovideos/views/channels/view.html.php
3758
<?php /** * @package MijoVideos * @copyright 2009-2014 Mijosoft LLC, mijosoft.com * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html */ # No Permission defined( '_JEXEC' ) or die ; class MijovideosViewChannels extends MijovideosView { public function display($tpl = null) { if ($this->_mainframe->...
gpl-2.0
davidturissini/Travel-Blog-wp
wp-content/themes/mystique/inc/theme-options.php
10783
<?php add_action( 'admin_init', 'mystique_theme_options_init' ); add_action( 'admin_menu', 'mystique_theme_options_add_page' ); /** * Add theme options page styles */ wp_register_style( 'mystique', get_template_directory_uri() . '/inc/theme-options.css', '', '0.1' ); if ( isset( $_GET['page'] ) && $_GET['page'] == ...
gpl-2.0
babitaneog/learnd8
modules/contrib/facets/src/FacetSource/FacetSourcePluginManager.php
1778
<?php namespace Drupal\facets\FacetSource; use Drupal\Component\Plugin\Exception\PluginException; use Drupal\Core\Cache\CacheBackendInterface; use Drupal\Core\Extension\ModuleHandlerInterface; use Drupal\Core\Plugin\DefaultPluginManager; /** * Manages facet source plugins. * * @see \Drupal\facets\Annotation\Facet...
gpl-2.0
flow-J/Exercise
c++_Primer/cpp_10/ex10.31.cpp
408
#include <iostream> #include <vector> #include <algorithm> #include <iterator> int main() { std::istream_iterator<int> in_iter(std::cin), eof; std::vector<int> vec; while (in_iter != eof) vec.push_back(*in_iter++); std::sort(vec.begin(), vec.end()); std::unique_copy(vec.cbegin(), vec.cend()...
gpl-2.0
ranjeetsinha13/androidcodes
CityPediaV2/src/com/citypedia/app/enities/Cabs.java
356
package com.citypedia.app.enities; public class Cabs { private String name; private String number; public String getName() { return name; } public void setName(String name) { this.name = name; } public String getNumber() { return number; } public void setNumber(String number) {...
gpl-2.0
WelcomeHUME/svn-caucho-com-resin
modules/quercus/src/com/caucho/quercus/env/JsonEncodeContext.java
3186
/* * Copyright (c) 1998-2012 Caucho Technology -- all rights reserved * * This file is part of Resin(R) Open Source * * Each copy or derived work must preserve the copyright notice and this * notice unmodified. * * Resin Open Source is free software; you can redistribute it and/or modify * it under the terms o...
gpl-2.0
axsauze/HackaSoton
wp-content/themes/Sahifa-Theme/sahifa/sahifa/tag.php
790
<?php get_header(); ?> <div class="content"> <?php tie_breadcrumbs() ?> <div class="page-head"> <h2 class="page-title"> <?php printf( __( 'Tag Archives: %s', 'tie' ), '<span>' . single_tag_title( '', false ) . '</span>' ); ?> </h2> <?php if( tie_get_option( 'tag_rss' ) ): $tag_id = get_query_var(...
gpl-2.0
chronotrig/ponscripter-fork-wh
src/PonscripterLabel_rmenu.cpp
21200
/* -*- C++ -*- * * PonscripterLabel_rmenu.cpp - Right click menu handler of Ponscripter * * Copyright (c) 2001-2007 Ogapee (original ONScripter, of which this * is a fork). * * ogapee@aqua.dti2.ne.jp * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU...
gpl-2.0
jonaslindert/susyhell
common/FeynHiggs-2.10.1/extse/OasatPdep.app/SecDec3/loop/T1234m1110/together/epstothe0/f6.cc
2246
#include "intfile.hh" dcmplx Pf6(const double x[], double es[], double esx[], double em[], double lambda, double lrs[], double bi) { double x0=x[0]; double x1=x[1]; double x2=x[2]; dcmplx y[62]; dcmplx FOUT; dcmplx MYI(0.,1.); y[1]=1./bi; y[2]=em[0]; y[3]=2.*x0*y[1]*y[2]; y[4]=2.*x0*x1*y[1]*y[2]; y[5]=esx[0]; y[6]=-x1...
gpl-2.0
psav/cfme_tests
cfme/tests/control/test_compliance.py
7064
# -*- coding: utf-8 -*- import diaper import fauxfactory import pytest from cfme import test_requirements from cfme.common.vm import VM from cfme.configure.configuration.analysis_profile import AnalysisProfile from cfme.control.explorer.conditions import VMCondition from cfme.control.explorer.policies import HostCompl...
gpl-2.0
GaryTheBrown/OpenSettlers
src/Functions/Image/Files/BMPv4.cpp
5977
/******************************************************************************* * Open Settlers - A Game Engine to run the Settlers 1-4 * Copyright (C) 2016 Gary The Brown * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as publis...
gpl-2.0
ravi-cnetric/cnetric_cm
administrator/components/com_salespro/classes/core/salesProCookieVars.class.php
1526
<?php /* ------------------------------------------- Component: com_salesPro Author: Barnaby V. Dixon Email: barnaby@php-web-design.com Copywrite: Copywrite (C) 2014 Barnaby Dixon. All Rights Reserved. License: http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL ---------------------------------------------*/ defined('_...
gpl-2.0
gios/hashline
src/components/discussion/DiscussionPasswordModal.js
1616
import React, { Component } from 'react' import { DropModal } from 'boron' class DiscussionPasswordModal extends Component { discussionPasswordSubmit(e) { e.preventDefault() let { discussionId } = this.props this.props.onJoinDiscussion({ id: discussionId, password: this.refs.passwordRef.value, store: th...
gpl-2.0
jcleyba/catema
sites/all/modules/elfinder/editors/yui/yui.callback.js
229
// $Id$ function elfinder_yui_callback(url) { var editorId = window.opener.Drupal.wysiwyg.activeId; window.opener.jQuery('input#' + editorId + '_insertimage_url').val(url); window.close(); }
gpl-2.0
mtbc/bioformats
components/bio-formats/src/loci/formats/TileStitcher.java
9307
/* * #%L * OME Bio-Formats package for reading and converting biological file formats. * %% * Copyright (C) 2005 - 2012 Open Microscopy Environment: * - Board of Regents of the University of Wisconsin-Madison * - Glencoe Software, Inc. * - University of Dundee * %% * This program is free software: you ca...
gpl-2.0
gafenn08/ttadsoftware
sites/all/themes/zoundation/STARTERKIT/javascripts/foundation/app.js
1818
(function ($, window, undefined) { 'use strict'; var $doc = $(document), Modernizr = window.Modernizr; $(document).ready(function() { $.fn.foundationAlerts ? $doc.foundationAlerts() : null; $.fn.foundationButtons ? $doc.foundationButtons() : null; $.fn.foundationAccordion ...
gpl-2.0
ntj/ComplexRapidMiner
operator/preprocessing/filter/FeatureNameFilter.java
5243
/* * RapidMiner * * Copyright (C) 2001-2008 by Rapid-I and the contributors * * Complete list of developers available at our web site: * * http://rapid-i.com * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public Lice...
gpl-2.0
sarahkpeck/thought-leaders
wp-content/plugins/optimizePressPlugin/lib/admin/clone_page.php
3527
<?php /** * Tool for cloning OP page * @author OptimizePress <info@optimizepress.com> */ class OptimizePress_Admin_ClonePage { /** * @var OptimizePress_Admin_ClonePage */ protected static $instance; /** * Private constructor */ private function __construct() {} /** * Singleton pattern * @return ...
gpl-2.0
gilles-yvetot/NewDayNewHope
wp-content/plugins/stop-spammer-registrations-plugin/modules/countries/chkTM.php
285
<?php // generated Saturday 11th of April 2015 04:13:21 PM if (!defined('ABSPATH')) exit; class chkTM extends be_module { public $searchname='Turkmenistan'; public $searchlist=array( array('217174224000','217174225000'), array('217174233000','217174235000') ); } ?>
gpl-2.0
aikonlee/TrinityCore
src/bindings/scripts/scripts/eastern_kingdoms/blackwing_lair/boss_vaelastrasz.cpp
8398
/* 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 of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any l...
gpl-2.0
biodamasceno/joomla-3.x
administrator/components/com_youtubegallery/views/themeform/tmpl/layoutwizard.php
5584
<?php /** * YoutubeGallery Joomla! 3.0 Native Component * @version 3.5.9 * @author DesignCompass corp< <support@joomlaboat.com> * @link http://www.joomlaboat.com * @GNU General Public License **/ // No direct access to this file defined('_JEXEC') or die('Restricted access'); ?> <h4>General Them...
gpl-2.0
mohsinoffline/wp-twilio-core
twilio-php/src/Twilio/Rest/Api/V2010/Account/NotificationList.php
5634
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Api\V2010\Account; use Twilio\ListResource; use Twilio\Options; use Twilio\Serialize; use Twilio\Values; use Twilio\Version; class NotificationList extends ListResource { /** ...
gpl-2.0
Victov/NClass
lib/NRefactory/ICSharpCode.NRefactory.CSharp.Refactoring/CodeIssues/Custom/UnreachableCodeIssue.cs
8473
// // UnreachableCodeIssue.cs // // Author: // Mansheng Yang <lightyang0@gmail.com> // // Copyright (c) 2012 Mansheng Yang <lightyang0@gmail.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 ...
gpl-2.0
rojas1985/ejemplo1
hola/src/hola/Hola.java
567
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package hola; /** * * @author rojas */ public class Hola { /** * @param args the command line arguments */ publi...
gpl-2.0
longersoft/nextcms
static/js/dojo/1.6.0/dijit/_editor/plugins/EnterKeyHandling.js
10138
/* Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dijit._editor.plugins.EnterKeyHandling"]){ dojo._hasResource["dijit._editor.plugins.EnterKeyHandling...
gpl-2.0
erjohnso/ansible
lib/ansible/modules/cloud/amazon/route53.py
22378
#!/usr/bin/python # Copyright: Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['stableinterf...
gpl-3.0
dlangille/librenms
includes/html/graphs/application/pureftpd_users.inc.php
712
<?php require 'includes/html/graphs/common.inc.php'; $scale_min = 0; $nototal = 1; $unit_text = 'Users connected'; $unitlen = 15; $bigdescrlen = 20; $smalldescrlen = 15; $colours = 'mixed'; $array = [ 'total' => 'Total', ]; $rrd_filename = rrd_name($device['hostname'], ['app', 'pureftpd', $app['app_id'], 'users'...
gpl-3.0
larukedi/tasslehoff-library
DataAccess/DatabaseManagerQuery.cs
2094
// ----------------------------------------------------------------------- // <copyright file="DatabaseManagerQuery.cs" company="-"> // Copyright (c) 2014 Eser Ozvataf (eser@sent.com). All rights reserved. // Web: http://eser.ozvataf.com/ GitHub: http://github.com/larukedi // </copyright> // <author>Eser Ozvataf (eser@...
gpl-3.0
jusabatier/georchestra
security-proxy/src/main/java/org/georchestra/security/workaround/GatewayEnabledCasProcessingFilter.java
1594
/* * Copyright (C) 2009-2016 by the geOrchestra PSC * * This file is part of geOrchestra. * * geOrchestra 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 opt...
gpl-3.0
kotsios5/openclassifieds2
themes/default/views/widget_notification.php
3078
<?php defined('SYSPATH') or die('No direct script access.');?> <?if(Auth::instance()->logged_in()):?> <?if (core::config('general.messaging') AND $messages = Model_Message::get_unread_threads(Auth::instance()->get_user())) :?> <div class="btn-group" role="group"> <?if (($messages_count = $messa...
gpl-3.0
boydjd/openfisma
library/Zend/Measure/Volume.php
11071
<?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...
gpl-3.0
SecHackLabs/WebHackSHL
modules/tplmap/plugins/engines/pug.py
3249
from utils.strings import quote, chunkit, md5 from utils.loggers import log from plugins.languages import javascript from utils import rand import base64 import re class Pug(javascript.Javascript): def init(self): self.update_actions({ 'render' : { 'call': 'inject', ...
gpl-3.0
tomaslaz/KLMC_Analysis
DM_FHIaims_Spin_Analysis.py
6238
""" A script to prepare/execute/analyse FHI-aims polarisation calculations @author Tomas Lazauskas, 2016 @web www.lazauskas.net @email tomas.lazauskas[a]gmail.com """ import os from optparse import OptionParser import source.IO as IO import source.Messages as Messages from source.Messages import log # a directory w...
gpl-3.0
946493655/cul_user
app/Models/Wallet/WalletModel.php
1142
<?php namespace App\Models\Wallet; use App\Models\BaseModel; class WalletModel extends BaseModel { /** * 这是用户签到表 */ protected $table = 'ac_wallet'; protected $fillable = [ 'id','uid','sign','gold','tip','weal','created_at','updated_at', ]; //weal福利,单位元:10签到兑换1元福利;...
gpl-3.0
OpenFOAM/OpenFOAM-5.x
src/TurbulenceModels/turbulenceModels/RAS/kOmegaSSTLM/kOmegaSSTLM.H
8963
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2016 OpenFOAM Foundation \\/ M anipulation | -------------...
gpl-3.0
holger-seelig/titania
libtitania-x3d/Titania/X3D/Components/RigidBodyPhysics/UniversalJoint.cpp
7852
/* -*- Mode: C++; coding: utf-8; tab-width: 3; indent-tabs-mode: tab; c-basic-offset: 3 -*- ******************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011. * * Al...
gpl-3.0
bioinformatics-ua/montra
emif/api/serializers.py
1014
# -*- coding: utf-8 -*- # Copyright (C) 2014 Universidade de Aveiro, DETI/IEETA, Bioinformatics Group - http://bioinformatics.ua.pt/ # # 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 vers...
gpl-3.0
tranleduy2000/javaide
aosp/lint-api/src/main/java/com/android/tools/lint/client/api/CircularDependencyException.java
2245
/* * Copyright (C) 2012 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
jkroll20/tlgbackend
doxygen/html/classtlgflaws_1_1_f_no_images_1_1_action.js
158
var classtlgflaws_1_1_f_no_images_1_1_action = [ [ "execute", "classtlgflaws_1_1_f_no_images_1_1_action.html#a82b0a6a0ba3a761c50d79e0395d6685f", null ] ];
gpl-3.0
minin43/nzombies
gamemodes/nzombies/entities/entities/button_elec/shared.lua
1037
AddCSLuaFile( ) ENT.Type = "anim" ENT.PrintName = "button_elec" ENT.Author = "Alig96" ENT.Contact = "Don't" ENT.Purpose = "" ENT.Instructions = "" function ENT:SetupDataTables() self:NetworkVar( "Bool", 0, "Switch" ) end function ENT:Initialize() if SERVER then self:SetModel( "models/MaxOfS2D/button_...
gpl-3.0
geminorum/gpeople
gplugin/taxonomyhelper.class.php
8709
<?php defined( 'ABSPATH' ) || die( header( 'HTTP/1.0 403 Forbidden' ) ); if ( ! class_exists( 'gPluginTaxonomyHelper' ) ) { class gPluginTaxonomyHelper extends gPluginClassCore { // Originally from : Custom Field Taxonomies : https://github.com/scribu/wp-custom-field-taxonomies public static function getMetaRows( $...
gpl-3.0
TriumphLLC/FashionProject
modules/operators/tools/points/line_intersection_and_circle.py
737
import bpy from fashion_project.modules.draw.points.line_intersection_and_circle import LineIntersectionAndCircle class FP_LineIntersectionAndCircle(bpy.types.Operator): ''' Позволяет построить точки пересечения линии и окружности ''' bl_idname = "fp.line_intersection_and_circle" bl_label = "FP_LineInters...
gpl-3.0
hgiemza/DIRAC
Core/Base/Client.py
3300
""" Base class for DIRAC Client """ __RCSID__ = "$Id$" from DIRAC.Core.DISET.RPCClient import RPCClient class Client( object ): """ Simple class to redirect unknown actions directly to the server. Arguments to the constructor are passed to the RPCClient constructor as they are. Some...
gpl-3.0
structr/structr
structr-db-driver-api/src/main/java/org/structr/api/search/SortSpec.java
876
/* * Copyright (C) 2010-2021 Structr GmbH * * This file is part of Structr <http://structr.org>. * * Structr 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 yo...
gpl-3.0
pillarone/risk-analytics-property-casualty
src/groovy/org/pillarone/riskanalytics/domain/assets/IModellingStrategy.java
309
package org.pillarone.riskanalytics.domain.assets; import org.pillarone.riskanalytics.core.parameterization.IParameterObject; /** * @author cyril (dot) neyme (at) kpmg (dot) fr */ public interface IModellingStrategy extends IParameterObject { void reset(); //maybe useful to clean up }
gpl-3.0
cascheberg/Signal-Android
app/src/main/java/org/thoughtcrime/securesms/util/Projection.java
7360
package org.thoughtcrime.securesms.util; import android.graphics.Path; import android.graphics.Rect; import android.graphics.RectF; import android.os.Build; import android.view.View; import android.view.ViewGroup; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.recyclerview.wi...
gpl-3.0
structr/structr
structr-core/src/main/java/org/structr/core/graph/ModificationEvent.java
1679
/* * Copyright (C) 2010-2021 Structr GmbH * * This file is part of Structr <http://structr.org>. * * Structr 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 yo...
gpl-3.0
omegasoft7/wATL
whsutils/src/main/java/su/whs/utils/FileUtils.java
4471
package su.whs.utils; import android.content.Context; import android.os.Build; import android.os.StatFs; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import...
gpl-3.0
dsibournemouth/autoweka
.wekafiles/packages/localOutlierFactor/src/test/java/weka/filters/unsupervised/attribute/LOFTest.java
1872
package weka.filters.unsupervised.attribute; import weka.core.Attribute; import weka.core.Instances; import weka.filters.AbstractFilterTest; import weka.filters.Filter; import weka.filters.unsupervised.attribute.LOF; import junit.framework.Test; import junit.framework.TestSuite; import junit.textui.TestRunner; publi...
gpl-3.0
andrewfernie/quantracker
sim/splitter.cpp
936
/* Copyright (c) 2003-2014 Andy Little. 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. This program is distributed in th...
gpl-3.0
praveenax/BotCentric
TFEngine/TF/Neural3.py
1197
import numpy as np def initSyn(inp,out): return 2*np.random.random((inp,out)) - 1 def nonlin(x,deriv=False): if(deriv==True): return (x*(1-x)) return 1/(1+np.exp(-x)) def trainLayer(in_layer,out_layer): return nonlin(np.dot(in_layer,out_layer)) X = np.array([[0,0,1],[0,1,1],[...
gpl-3.0
Gwynthell/FFDB
scripts/zones/Castle_Oztroja/npcs/_47e.lua
1227
----------------------------------- -- Area: Castle Oztroja -- NPC: _47e (Handle) -- Notes: Opens _470 (Brass Door) from behind -- @pos 22.905 -1.087 -8.003 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/zone...
gpl-3.0
jesuscript/parity
js/src/views/Settings/Views/defaults.js
2171
// Copyright 2015, 2016 Parity Technologies (UK) Ltd. // This file is part of Parity. // Parity 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 la...
gpl-3.0
COx2/JUCE_JAPAN_DEMO
vol2/JUCE/modules/juce_audio_devices/native/juce_win32_ASIO.cpp
53854
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2017 - ROLI Ltd. JUCE is an open source library subject to commercial or open-source licensing. The code included in this file is provided under the terms of the ISC...
gpl-3.0
jonyroda97/redbot-amigosprovaveis
lib/matplotlib/tests/test_subplots.py
4659
from __future__ import (absolute_import, division, print_function, unicode_literals) import warnings import numpy import matplotlib.pyplot as plt from matplotlib.testing.decorators import image_comparison import pytest def check_shared(axs, x_shared, y_shared): """ x_shared and y_sh...
gpl-3.0
spMohanty/sigmah_svn_to_git_migration_test
sigmah/src/test/java/org/sigmah/server/report/generator/map/CircleMathTest.java
1049
/* * All Sigmah code is released under the GNU General Public License v3 * See COPYRIGHT.txt and LICENSE.txt. */ package org.sigmah.server.report.generator.map; import org.junit.Assert; import org.junit.Test; import org.sigmah.shared.report.content.Point; public class CircleMathTest { private stat...
gpl-3.0
lazyfrosch/pkg-ingraph
ingraph-web/ingraph/libs/agavi/src/translation/data/timezones/America_47_Winnipeg.php
11201
<?php /** * Data file for timezone "America/Winnipeg". * Compiled from olson file "northamerica", version 8.51. * * @package agavi * @subpackage translation * * @copyright Authors * @copyright The Agavi Project * * @since 0.11.0 * * @version $Id: America_47_Winnipeg.php 4833 2011-11-01 11:40:1...
gpl-3.0
ychaim/boilr
src/main/java/mobi/boilr/boilr/views/fragments/ChangelogDialogFragment.java
1123
package mobi.boilr.boilr.views.fragments; import it.gmariotti.changelibs.library.view.ChangeLogListView; import mobi.boilr.boilr.R; import mobi.boilr.boilr.utils.VersionTracker; import android.app.AlertDialog; import android.app.Dialog; import android.app.DialogFragment; import android.content.Context; import android....
gpl-3.0
portablemind/compass_agile_enterprise
erp_commerce/app/models/extensions/product_type.rb
49
ProductType.class_eval do acts_as_priceable end
gpl-3.0
projectvalis/ALTk
beanshell/src/bsh/ClassGeneratorUtil.java
38843
/***************************************************************************** * * * This file is part of the BeanShell Java Scripting distribution. * * Documentation and updates may be found at http://www.beanshell.org/ * * ...
gpl-3.0
hgiemza/DIRAC
DataManagementSystem/Agent/RequestOperations/ReplicateAndRegister.py
24660
######################################################################## # File: ReplicateAndRegister.py # Author: Krzysztof.Ciba@NOSPAMgmail.com # Date: 2013/03/13 18:49:12 ######################################################################## """ :mod: ReplicateAndRegister ========================== .. mo...
gpl-3.0
IKB4Stream/IKB4Stream
src/test/com/waves_rsp/ikb4stream/datasource/rss/RSSProducerConnectorTest.java
749
package com.waves_rsp.ikb4stream.datasource.rss; import org.junit.Before; import org.junit.Test; public class RSSProducerConnectorTest { private RSSProducerConnector rss; @Before @Test public void testCreateRSSProducer() { rss = new RSSProducerConnector(); } @Test(expected = NullPoin...
gpl-3.0
jozsi/wealthor
src/backend/__tests__/wallet.route.js
1639
const omit = require('object.omit'); const supertest = require('supertest'); const DATA = require('./wallet.json'); const app = require('../app'); const db = require('../db'); const Wallet = require('../models/wallet'); const ROUTE = '/wallet'; describe('wallet', () => { let server; let request; let wallet; ...
gpl-3.0
KBerstene/Subsonic
app/src/main/java/github/daneren2005/dsub/activity/SettingsActivity.java
2072
/* This file is part of Subsonic. Subsonic 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. Subsonic is distributed in the hope that i...
gpl-3.0
alisw/thepeg
Cuts/NJetsCut.cc
2967
// -*- C++ -*- // // NJetsCut.cc is a part of ThePEG - Toolkit for HEP Event Generation // Copyright (C) 1999-2019 Leif Lonnblad // Copyright (C) 2009-2019 Simon Platzer // // ThePEG is licenced under version 3 of the GPL, see COPYING for details. // Please respect the MCnet academic guidelines, see GUIDELINES for deta...
gpl-3.0
justmesr/web-ui
src/app/core/dto/group.ts
878
/* * Lumeer: Modern Data Definition and Processing Platform * * Copyright (C) since 2017 Answer Institute, s.r.o. and/or its affiliates. * * 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, ...
gpl-3.0
gorkinovich/Icarus
src/icaro/aplicaciones/recursos/visualizacionAcceso/imp/swing/VentanaEstandar.java
1253
package icaro.aplicaciones.recursos.visualizacionAcceso.imp.swing; import java.awt.Dimension; import java.awt.Toolkit; import javax.swing.JFrame; import javax.swing.JMenuBar; import javax.swing.JPanel; /** * *@author Felipe Polo *@created 30 de noviembre de 2007 */ public class VentanaEstandar extends J...
gpl-3.0
seadas/beam
beam-ui/src/test/java/org/esa/beam/framework/ui/product/spectrum/DisplayableSpectrumTest.java
3971
package org.esa.beam.framework.ui.product.spectrum; import junit.framework.TestCase; import org.esa.beam.framework.datamodel.Band; import org.esa.beam.framework.datamodel.ProductData; /** * Created by E1001827 on 21.2.2014. */ public class DisplayableSpectrumTest extends TestCase { public void testNewDisplayab...
gpl-3.0
MyronZimmerman/holostor
HoloStorLib/CodingTable.cpp
6376
/* Copyright (C) 2003-2011 Thomas P. Scott and Myron Zimmerman Thomas P. Scott <tpscott@alum.mit.edu> Myron Zimmerman <MyronZimmerman@alum.mit.edu> This file is part of HoloStor. HoloStor is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License...
gpl-3.0
Alberto-Beralix/Beralix
i386-squashfs-root/usr/lib/python2.7/dist-packages/dateutil/relativedelta.py
52
../../../../share/pyshared/dateutil/relativedelta.py
gpl-3.0
gertvv/addis
application/src/main/java/org/drugis/addis/entities/relativeeffect/Distribution.java
1772
/* * 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,...
gpl-3.0
didrocks/snapcraft
snapcraft/internal/lifecycle.py
16205
# -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*- # # Copyright (C) 2015 Canonical Ltd # # This program 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 Foundation. # # This program is distributed in the h...
gpl-3.0
Passw/gn_GFW
base/memory/shared_memory_posix.cc
12626
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/memory/shared_memory.h" #include <errno.h> #include <fcntl.h> #include <stddef.h> #include <sys/mman.h> #include <sys/stat.h> #include...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Gusgen_Mines/npcs/qm4.lua
1383
----------------------------------- -- Area: Gusgen Mines -- NPC: qm4 (???) -- Involved In Quest: Ghosts of the Past -- @pos -174 0 369 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("...
gpl-3.0
Dnet3/CustomAndroidOneSheeld
oneSheeld/src/main/java/com/integreight/onesheeld/shields/fragments/KeyboardFragment.java
13986
package com.integreight.onesheeld.shields.fragments; import android.graphics.Point; import android.os.Build; import android.os.Bundle; import android.support.annotation.Nullable; import android.text.Editable; import android.text.TextWatcher; import android.util.DisplayMetrics; import android.view.Display; import andro...
gpl-3.0
mcsalgado/ansible
lib/ansible/inventory/script.py
6432
# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.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 General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) an...
gpl-3.0
DanielReid/addis-core
src/main/webapp/resources/app/js/intervention/dosageService.js
1330
'use strict'; define(['lodash', 'moment'], function(_, moment) { var dependencies = ['$http', 'SparqlResource']; var DosageService = function($http, SparqlResource) { var queryUnits = SparqlResource.get('queryUnits.sparql'); function deFusekify(data) { var json = JSON.parse(data); var bindings...
gpl-3.0
Rahber/pncom
assets/js/complete.js
23873
/** * Ajax Autocomplete for jQuery, version 1.2.7 * (c) 2013 Tomas Kirda * * Ajax Autocomplete for jQuery is freely distributable under the terms of an MIT-style license. * For details, see the web site: http://www.devbridge.com/projects/autocomplete/jquery/ * */ /*jslint browser: true, white: true, plusplus: tru...
gpl-3.0
deltreey/Codingame-Tron-Bot
go/src/paranoidandroid/paranoidandroid.go
2830
package main import "fmt" import "os" /** * Auto-generated code below aims at helping you parse * the standard input according to the problem statement. **/ func main() { // nbFloors: number of floors // width: width of the area // nbRounds: maximum number of rounds // exitFloor: floor on which the exit i...
gpl-3.0
ewijaya/ngsfeatures
ematch_src/graph/ConnectedComponentOnlineComputer.cc
3777
/* * Author: Paul B. Horton * Organization: Computational Biology Research Center, AIST, Japan * Copyright (C) 2003, 2006, Paul B. Horton, All rights reserved. * Creation Date: 2003.6.11 * Last Modified: $Date: 2008/08/25 12:22:18 $ * * Description: See header files. */ #include "utils/graph/ConnectedC...
gpl-3.0
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Lower_Jeuno/TextIDs.lua
2211
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6620; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6378; -- Obtained: <item> GIL_OBTAINED = 6379; -- Obtained <number> gil KEYITEM_OBTAINED = 6381; -- Obtain...
gpl-3.0
WSULib/iamaman
application/views/scripts/items/tags.php
327
<?php head(array('title'=>'Browse Items','bodyid'=>'items','bodyclass'=>'tags')); ?> <div id="primary"> <h1>Browse Items</h1> <ul class="navigation item-tags" id="secondary-nav"> <?php echo custom_nav_items(); ?> </ul> <?php echo tag_cloud($tags,uri('items/browse')); ?> </div><!-- end primary --> <?php foo...
gpl-3.0
reaperrr/OpenRA
OpenRA.Mods.Common/EditorBrushes/EditorTileBrush.cs
8103
#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
chefduweb/cuisine
shortcodes/shortcode-highlights.php
358
<?php /** * Cuisine Highlights Shortcodes * * Includes all the highlight shortcodes. * * @author Chef du Web * @category Shortcodes * @package Cuisine */ function cuisine_icon( $atts, $content = null ){ if( isset( $atts['type'] ) ) return '<i class="icon-'.$atts['type'].'"></i>'; } add_sho...
gpl-3.0
andrewyoung1991/abjad
abjad/tools/scoretools/test/test_scoretools_NoteHead_is_forced.py
330
# -*- encoding: utf-8 -*- from abjad import * def test_scoretools_NoteHead_is_forced_01(): note_head = scoretools.NoteHead(written_pitch="c'") assert note_head.is_forced is None note_head.is_forced = True assert note_head.is_forced == True note_head.is_forced = False assert note_head.is_force...
gpl-3.0