repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
l1ght13aby/Ubilling | userstats/modules/engine/api.lightastral.php | 28509 | <?php
/**
* Return web form element id
*
* @return string
*/
function la_InputId() {
// I know it looks really funny.
// You can also get a truly random values by throwing dice ;)
$characters = '0123456789abcdefghijklmnopqrstuvwxyz';
$result = "";
for ($p = 0; $p < 8; $p++) {
$resu... | gpl-2.0 |
Doap/acopio | 0217/add_all_to_cart0228.php | 2899 | <?php
require_once("../wp-config.php");
require_once("../wp-load.php");
function curHostURL() {
$HostURL = 'http';
if ($_SERVER["HTTPS"] == "on") {$HostURL .= "s";}
$HostURL .= "://";
if ($_SERVER["SERVER_PORT"] != "80") {
$HostURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"];
} else {
$HostURL .= $_... | gpl-2.0 |
tatsuhiro-t/aria2 | src/CUIDCounter.cc | 1846 | /* <!-- copyright */
/*
* aria2 - The high speed download utility
*
* Copyright (C) 2010 Tatsuhiro Tsujikawa
*
* 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 Lice... | gpl-2.0 |
cidesa/roraima-comunal | lib/model/Presupuesto5Peer.php | 421 | <?php
/**
* Subclase para crear funcionalidades específicas de busqueda y actualización en la tabla 'presupuesto5'.
*
*
*
* @package Roraima
* @subpackage lib.model
* @author $Author$ <desarrollo@cidesa.com.ve>
* @version SVN: $Id$
*
* @copyright Copyright 2007, Cide S.A.
* @license http://open... | gpl-2.0 |
cidesa/roraima-comunal | lib/model/Hisconb.php | 349 | <?php
/**
* Subclass for representing a row from the 'hisconb'.
*
*
*
* @package Roraima
* @subpackage lib.model
* @author $Author$ <desarrollo@cidesa.com.ve>
* @version SVN: $Id$
*
* @copyright Copyright 2007, Cide S.A.
* @license http://opensource.org/licenses/gpl-2.0.php GPLv2
*/
class His... | gpl-2.0 |
ipomoena/dasher | Src/Common/Trace.cpp | 902 | // Trace.cpp
//
// Copyright (c) 2005 David Ward
#include "Common.h"
#include "Trace.h"
// Track memory leaks on Windows to the line that new'd the memory
#ifdef _WIN32
#ifdef _DEBUG
#define DEBUG_NEW new( _NORMAL_BLOCK, THIS_FILE, __LINE__ )
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;... | gpl-2.0 |
akohlmey/lammps | lib/kokkos/core/unit_test/TestAtomicOperations.hpp | 25670 | /*
//@HEADER
// ************************************************************************
//
// Kokkos v. 3.0
// Copyright (2020) National Technology & Engineering
// Solutions of Sandia, LLC (NTESS).
//
// Under the terms of Contract DE-NA0003525 with NTESS,
// the U.S. Govern... | gpl-2.0 |
dan-harlav/sosb | sites/all/modules/contrib/wrappers_delight/modules/wrappers_delight_query/includes/WdUserWrapperQuery.php | 6007 | <?php
/**
* @file
* Class WdUserWrapperQuery
*/
class WdUserWrapperQuery extends WdWrapperQuery {
/**
* Construct a WdUserWrapperQuery
*/
public function __construct() {
parent::__construct('user');
}
/**
* Construct a WdUserWrapperQuery
*
* @return WdUserWrapperQuery
*/
public st... | gpl-2.0 |
GiGa-Emulator/Aion-Core-v4.7.5 | AC-Game/data/scripts/system/handlers/quest/katalam/_12844AnastasiaRequest.java | 3890 | /**
* This file is part of Aion-Lightning <aion-lightning.org>.
*
* Aion-Lightning 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 lat... | gpl-2.0 |
tobiasbuhrer/tobiasb | vendor/symfony/http-foundation/IpUtils.php | 5774 | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\HttpFoundation;
/**
* Http utility functions.
*
* ... | gpl-2.0 |
javalidigital/riema | wp-content/plugins/simple-links/classes/Simple_Link.php | 3305 | <?php
/**
* Simple Link
*
* Custom Post Type handler
*
* @class Simple_Link
* @package Simple Links
*
* @since 2.5.3
*
*
* @todo Remove SL_post_type_tax dependencies
*
*/
class Simple_Link {
const POST_TYPE = 'simple_link';
private $post_id;
/**
* @var self
*/
stat... | gpl-2.0 |
dhenrygithub/QGIS | python/plugins/processing/algs/gdal/tri.py | 2757 | # -*- coding: utf-8 -*-
"""
***************************************************************************
tri.py
---------------------
Date : October 2013
Copyright : (C) 2013 by Alexander Bruy
Email : alexander dot bruy at gmail dot com
*********************... | gpl-2.0 |
lcrojanouninorte/gie_portal | sites/all/libraries/ckeditor/plugins/googledocs/dialogs/googledocs.js | 4109 | CKEDITOR.dialog.add('googledocs', function (editor) {
return {
title: editor.lang.googledocs.title,
width: 400,
height: 350,
onLoad : function() {
getDocuments();
},
contents:
[
// document settings tab
{
id: 'settingsTab',
label: editor.lang.googledoc... | gpl-2.0 |
TripleYou/WordPress_3.7_kit_startup | wp-includes/meta.php | 29091 | <?php
/**
* Metadata API
*
* Functions for retrieving and manipulating metadata of various WordPress object types. Metadata
* for an object is a represented by a simple key-value pair. Objects may contain multiple
* metadata entries that share the same key and differ only in their value.
*
* @package Wor... | gpl-2.0 |
chrisinammo/arthurmcneil | components/com_search/views/search/tmpl/default_form.php | 2282 | <?php defined('_JEXEC') or die('Restricted access'); ?>
<form id="searchForm" action="<?php echo JRoute::_( 'index.php?option=com_search' );?>" method="post" name="searchForm">
<table class="contentpaneopen<?php echo $this->params->get( 'pageclass_sfx' ); ?>">
<tr>
<td nowrap="nowrap">
<label for="search_sea... | gpl-2.0 |
cw196/tiwal | wp-includes/version.php | 642 | <?php
/**
* The WordPress version string
*
* @global string $wp_version
*/
$wp_version = '4.3.1';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
*
* @global int $wp_db_version
*/
$wp_db_version = 33056;
/**
* Holds the TinyMCE version
*
* @global string ... | gpl-2.0 |
plone/plone.patternslib | src/plone/patternslib/static/components/patternslib/src/pat/expandable-tree/expandable-tree.js | 2265 | define([
"jquery",
"pat-inject",
"pat-parser",
"pat-registry"
], function($, inject, Parser, registry) {
var parser = new Parser("expandable");
parser.addArgument("load-content");
var _ = {
name: "expandable",
trigger: "ul.pat-expandable",
jquery_plugin: true,
... | gpl-2.0 |
Frazurbluu/ServUO | Scripts/Services/Monster Stealing/Items/StoneSkinLotion.cs | 1246 | using System;
using Server.Mobiles;
using Server;
namespace Server.Items
{
[TypeAlias("drNO.ThieveItems.StoneSkinLotion")]
public class StoneSkinLotion : BaseBalmOrLotion
{
protected override void ApplyEffect(PlayerMobile pm)
{
pm.AddResistanceMod(new ResistanceMod(Resistance... | gpl-2.0 |
alexbevi/scummvm | engines/xeen/dialogs/dialogs_message.cpp | 3317 | /* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | gpl-2.0 |
cidesa/roraima-comunal | lib/model/Tspararc.php | 554 | <?php
/**
* Subclass for representing a row from the 'tspararc'.
*
*
*
* @package Roraima
* @subpackage lib.model
* @author $Author: dmartinez $ <desarrollo@cidesa.com.ve>
* @version SVN: $Id: Tspararc.php 34269 2009-10-26 21:21:50Z dmartinez $
*
* @copyright Copyright 2007, Cide S.A.
* @license ... | gpl-2.0 |
JohnDeved/citra | src/core/hle/service/soc_u.cpp | 29123 | // Copyright 2014 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <algorithm>
#include <cstring>
#include <unordered_map>
#include <vector>
#include "common/assert.h"
#include "common/bit_field.h"
#include "common/common_types.h"
#include "common/... | gpl-2.0 |
sobomax/virtualbox_64bit_edd | src/VBox/Frontends/VirtualBox/src/extensions/QIWidgetValidator.cpp | 4888 | /* $Id: QIWidgetValidator.cpp $ */
/** @file
* VBox Qt GUI - VirtualBox Qt extensions: QIWidgetValidator class implementation.
*/
/*
* Copyright (C) 2006-2013 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free softwar... | gpl-2.0 |
octoray/AJAX_PFI | testmon/vendors/ckeditor/plugins/a11yhelp/dialogs/lang/km.js | 5194 | /*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp", "km", {title: "Accessibility Instructions", contents: "មាតិកាជំនួយ។ ដើម្បីបិទផ្ទាំងនេះ សូមចុច ESC ។", legend: [
{name: "ទូទៅ", ... | gpl-2.0 |
janewang0913/sbu | wp-content/themes/sbu-theme/inc/jetpack.php | 758 | <?php
/**
* Jetpack Compatibility File.
*
* @link https://jetpack.me/
*
* @package Bizlight
*/
/**
* Add theme support for Infinite Scroll.
* See: https://jetpack.me/support/infinite-scroll/
*/
function bizlight_jetpack_setup() {
add_theme_support( 'infinite-scroll', array(
'container' => 'main',
'render... | gpl-2.0 |
sirAndros/IdeaMarket | plugins/vmpayment/klarna/klarna.php | 68616 | <?php
defined ('_JEXEC') or die();
/**
* @version $Id: klarna.php 6541 2012-10-15 14:48:35Z alatak $
*
* @author Valérie Isaksen
* @package VirtueMart
* @link http://www.virtuemart.net
* @copyright Copyright (C) 2012 iStraxx - All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LI... | gpl-2.0 |
mambax7/smartfaq | assets/js/overlib/overlib_exclusive.js | 3391 | //\/////
//\ overLIB Exclusive Plugin
//\ This file requires overLIB 4.00 or later.
//\
//\ overLIB 4.05 - You may not remove or change this notice.
//\ Copyright Erik Bosrup 1998-2004. All rights reserved.
//\ Contributors are listed on the homepage.
//\ See http://www.bosrup.com/web/overlib/ for details.
// $... | gpl-2.0 |
tstephen/srp-digital | wp-content/plugins/broken-link-checker/modules/containers/dummy.php | 1577 | <?php
/*
Plugin Name: Dummy
Description:
Version: 1.0
Author: Janis Elsts
ModuleID: dummy
ModuleCategory: container
ModuleClassName: blcDummyManager
ModuleAlwaysActive: true
ModuleHidden: true
*/
/**
* A "dummy" container class that can be used as a fallback when the real container class can't be found.
*
*
* @p... | gpl-2.0 |
ahsparrow/xcsoar_orig | src/Screen/GDI/Bitmap.cpp | 3143 | /*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2015 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 |
sandrinr/XCSoar | src/Repository/Glue.cpp | 1320 | /*
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 |
zcwilt/zencart | includes/classes/split_page_results.php | 9797 | <?php
/**
* split_page_results Class.
*
* @copyright Copyright 2003-2020 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: mc12345678 2020 Sep 29 Modified in v1.5.7a $
*/
if (!defined('IS... | gpl-2.0 |
felopri/floristeriaabril | templates/gk_yourshop/layouts/blocks/tools/tools.php | 204 | <?php
// No direct access.
defined('_JEXEC') or die;
?>
<div id="gkTools">
<a href="#" id="gkToolsInc">A+</a>
<a href="#" id="gkToolsReset">A</a>
<a href="#" id="gkToolsDec">A-</a>
</div> | gpl-2.0 |
dezelin/virtualbox | src/VBox/Frontends/VirtualBox/src/wizards/newvd/UIWizardNewVDPageBasic2.cpp | 6487 | /* $Id$ */
/** @file
*
* VBox frontends: Qt4 GUI ("VirtualBox"):
* UIWizardNewVDPageBasic2 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... | gpl-2.0 |
gemol/Ecommerce | MrCMS.Web/Apps/Ecommerce/Areas/Admin/Services/ISetETagService.cs | 747 | using MrCMS.Web.Apps.Ecommerce.Entities.ETags;
using MrCMS.Web.Apps.Ecommerce.Entities.Products;
namespace MrCMS.Web.Apps.Ecommerce.Areas.Admin.Services
{
public interface ISetETagService
{
void SetETag(ProductVariant productVariant, int eTag);
}
public class SetETagService : ISetETagService
... | gpl-2.0 |
nizaranand/APC | apc-apps/apc-mlsdownload/common/rendering/statsFormatter.php | 17001 | <?php
// Copyright (C) 2003-2010 National Association of REALTORS(R)
//
// All rights reserved.
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without... | gpl-2.0 |
EuroPlusFinance/Software | QuantLib-1.4/ql/handle.hpp | 7366 | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2000, 2001, 2002, 2003 RiskMap srl
Copyright (C) 2003, 2004, 2005, 2006, 2007 StatPro Italia srl
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - ... | gpl-2.0 |
0svald/icingaweb2 | modules/monitoring/application/controllers/DowntimeController.php | 3967 | <?php
/* Icinga Web 2 | (c) 2015 Icinga Development Team | GPLv2+ */
namespace Icinga\Module\Monitoring\Controllers;
use Icinga\Module\Monitoring\Controller;
use Icinga\Module\Monitoring\Forms\Command\Object\DeleteDowntimeCommandForm;
use Icinga\Module\Monitoring\Object\Host;
use Icinga\Module\Monitoring\Object\Servi... | gpl-2.0 |
sjarvela/mollify | backend/plugin/FileViewerEditor/viewers/Google/Google.viewer.php | 852 | <?php
class GoogleViewer extends ViewerBase {
public function getInfo($item) {
return array(
"embedded" => $this->getDataUrl($item, "embedded"),
"full" => $this->getGoogleViewerUrl($item, TRUE)
);
}
public function processDataRequest($item, $path) {
if (count($path) != 1 and $path[0] != 'em... | gpl-2.0 |
elkuku/jfw-linkedin-api | src/OAuth.php | 3603 | <?php
/**
* Part of the Joomla Framework Linkedin Package
*
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
namespace Joomla\Linkedin;
use Joomla\OAuth1\Client;
use Joomla\Registry\Registry;
use Joo... | gpl-2.0 |
yuuyama/vccw-wp-orange | wp-content/plugins/wp-total-hacks/wp-total-hacks.php | 12558 | <?php
/*
Plugin Name: WP Total Hacks
Author: Takayuki Miyauchi
Plugin URI: https://github.com/miya0001/wp-total-hacks
Description: WP Total Hacks can customize your WordPress.
Version: 1.9.2
Author URI: http://wpist.me/
Domain Path: /languages
Text Domain: wp-total-hacks
*/
new TotalHacks();
class TotalHacks {
priv... | gpl-2.0 |
btovar/cctools | parrot/src/pfs_service_s3.cc | 9176 | /*
This software is distributed under the GNU General Public License.
See the file COPYING for details.
*/
/*
Theory of Operation:
*/
#include "pfs_service.h"
extern "C" {
#include "debug.h"
#include "stringtools.h"
#include "domain_name.h"
#include "link.h"
#include "file_cache.h"
#include "password_cache.h"
#incl... | gpl-2.0 |
bassmanpaul/joomla-cms | libraries/joomla/language/language.php | 29592 | <?php
/**
* @package Joomla.Platform
* @subpackage Language
*
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
/**
* Allows for quoting in language .ini fil... | gpl-2.0 |
techspark/citybuilder | modules/mod_bt_sociallogin/admin/formfield/profilefield.php | 8549 | <?php
/**
* @package formfield
* @version 2.0
* @created April 2012
* @author BowThemes
* @email support@bowthems.com
* @website http://bowthemes.com
* @support Forum - http://bowthemes.com/forum/
* @copyright Copyright (C) 2011 Bowthemes. All rights reserved.
* @license http://www.gnu.org/licenses/gp... | gpl-2.0 |
aestetix/pn-18 | sites/all/modules/commerce_braintree/braintree_php/tests/integration/SubscriptionSearchTest.php | 12606 | <?php
require_once realpath(dirname(__FILE__)) . '/../TestHelper.php';
require_once realpath(dirname(__FILE__)) . '/SubscriptionTestHelper.php';
class Braintree_SubscriptionSearchTest extends PHPUnit_Framework_TestCase
{
function testSearch_planIdIs()
{
$creditCard = Braintree_SubscriptionTestHelper::c... | gpl-2.0 |
cidesa/roraima-comunal | web/reportes/reportes/contabilidad/pdfConBalGen.php | 21902 | <?
require_once("../../lib/general/fpdf/fpdf.php");
require_once("../../lib/bd/basedatosAdo.php");
require_once("../../lib/general/cabecera.php");
require_once("../../lib/general/funcionescontabilidad.php");
/*
AYUDA:
Cell(with,healt,Texto,border,linea,align,fillm-Fondo,link)
AddFont(family,style,file)
ln(... | gpl-2.0 |
SuriyaaKudoIsc/wikia-app-test | skins/campfire/modules/CampfireController.class.php | 7487 | <?php
class CampfireController extends WikiaController {
private static $extraBodyClasses = array();
private $printStyles;
/**
* Add extra CSS classes to <body> tag
* @author: Inez Korczyński
*/
public static function addBodyClass($className) {
self::$extraBodyClasses[] = $className;
}
public functio... | gpl-2.0 |
sharpmachine/framework | wp-content/plugins/jetpack/modules/custom-css/custom-css.php | 32746 | <?php
/**
* Migration routine for moving safecss from wp_options to wp_posts to support revisions
*
* @return void
*/
function migrate() {
$css = get_option( 'safecss' );
// Check if CSS is stored in wp_options
if ( $css ) {
// Remove the async actions from publish_post
remove_action( 'publish_post', 'queu... | gpl-2.0 |
GiGa-Emulator/Aion-Core-v4.7.5 | AC-Tools/powerweb30/framework/web/CPagination.php | 7411 | <?php
/**
* CPagination class file.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.yiiframework.com/
* @copyright Copyright © 2008-2011 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
/**
* CPagination represents information relevant to pagination.
*
* Wh... | gpl-2.0 |
jackyhong/esper | esper/src/main/java/com/espertech/esper/pattern/EvalRootStateNode.java | 5092 | /**************************************************************************************
* Copyright (C) 2006-2015 EsperTech Inc. All rights reserved. *
* http://www.espertech.com/esper *
* http://www.espertech.com ... | gpl-2.0 |
neeravbm/trial | tests/vendor/brianium/habitat/src/Habitat/Parser/ParserInterface.php | 231 | <?php
namespace Habitat\Parser;
interface ParserInterface
{
/**
* Parse the environment variables into an associative array
*
* @param $content
* @return array
*/
public function parse($content);
} | gpl-2.0 |
opennms-forge/poc-nms-core | opennms-icmp/opennms-icmp-jna/src/main/java/org/opennms/netmgt/icmp/jna/JnaPingRequestId.java | 4290 | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2011-2012 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | gpl-2.0 |
MAN-IN-WAN/Kob-Eye | Skins/VetoccitanT3/ReactSrc/node_modules/react-redux/lib/alternate-renderers.js | 1239 | "use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.batch = void 0;
var _Provider = _interopRequireDefault(require("./components/Provider"));
exports.Provider = _Provider["default"];
var _connectAdvanced = _interopRequireDefault(req... | gpl-2.0 |
davidvossel/pacemaker | cts/environment.py | 27612 | '''
Classes related to producing and searching logs
'''
__copyright__='''
Copyright (C) 2014 Andrew Beekhof <andrew@beekhof.net>
Licensed under the GNU GPL.
'''
#
# 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 So... | gpl-2.0 |
waywardcoder/small_programs | fast_fibo/scala_version/fibs.scala | 536 | package com.waywardcode.math
import java.math.BigInteger
object FastFib {
private val TWO = BigInteger.valueOf(2L)
private def recFib(n: Int) : Tuple2[BigInteger,BigInteger] = {
if(n == 0) {
return (BigInteger.ZERO, BigInteger.ONE)
}
val (a,b) = recFib(n/2)
val c = ((b multiply TWO) subtract a) mu... | gpl-2.0 |
vcgato29/cygwin | winsup/cygwin/fhandler_socket.cc | 68400 | /* fhandler_socket.cc. See fhandler.h for a description of the fhandler classes.
Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
2011, 2012, 2013, 2014 Red Hat, Inc.
This file is part of Cygwin.
This software is a copyrighted work licensed under the terms of the
Cygwin lice... | gpl-2.0 |
chisimba/chisimba | app/core_modules/utilities/resources/oauth/OAuth.php | 22342 | <?php
// vim: foldmethod=marker
/* Generic exception class
*/
class OAuthException extends Exception {/*{{{*/
// pass
}/*}}}*/
class OAuthConsumer {/*{{{*/
public $key;
public $secret;
function __construct($key, $secret, $callback_url=NULL) {/*{{{*/
$this->key = $key;
$this->secret = $secret;
$t... | gpl-2.0 |
ymc-elst/playground-ez48 | kernel/content/copy.php | 9220 | <?php
/**
* @copyright Copyright (C) 1999-2012 eZ Systems AS. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
* @version 2012.8
* @package kernel
*/
$Module = $Params['Module'];
$ObjectID = $Params['ObjectID'];
$http = eZHTTPTool::instance();
if ( $http->ha... | gpl-2.0 |
gemol/Ecommerce | MrCMS/DbConfiguration/SqliteProvider.cs | 925 | using System.ComponentModel;
using FluentNHibernate.Cfg.Db;
using MrCMS.Settings;
namespace MrCMS.DbConfiguration
{
[Description("Use built-in data storage (Sqlite) (limited compatibility).")]
[NoConnectionStringBuilder]
public class SqliteProvider : IDatabaseProvider
{
private readonly Databas... | gpl-2.0 |
brookinsconsulting/ezpedia | ezpublish_legacy/tests/toolkit/ezpdatabasehelper.php | 2762 | <?php
/**
* File containing the ezpDatabaseHelper class
*
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
* @version 2014.07.0
* @package tests
*/
class ezpDatabaseHelper
{
/**
* Co... | gpl-2.0 |
levofski/timeforlesson | wp-content/themes/fruitful/inc/func/plugins-included.php | 3818 | <?php
get_template_part('inc/func/plugin-activation');
add_action( 'tgmpa_register', 'fruitful_register_required_plugins' );
/**
* Register the required plugins for Fruitful theme.
*/
function fruitful_register_required_plugins() {
$plugins = array(
array(
'name' => 'Maintenance',
'slug' => 'mainten... | gpl-2.0 |
mzmine/mzmine2 | src/main/java/net/sf/mzmine/util/interpolatinglookuppaintscale/InterpolatingLookupPaintScaleSetupDialogTableModel.java | 1778 | /*
* Copyright 2006-2018 The MZmine 2 Development Team
*
* This file is part of MZmine 2.
*
* MZmine 2 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 yo... | gpl-2.0 |
grooverdan/mariadb-server | extra/yassl/include/log.hpp | 1270 | /*
Copyright (C) 2000-2007 MySQL AB
Use is subject to license terms
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 hop... | gpl-2.0 |
mityada/mangos-classic | src/game/AI/ScriptDevAI/scripts/eastern_kingdoms/molten_core/boss_garr.cpp | 5593 | /* This file is part of the ScriptDev2 Project. See AUTHORS file for Copyright information
* 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 opti... | gpl-2.0 |
KimHe/skeleton | tools/arageli/src/arageli/gauss.hpp | 30160 | /*****************************************************************************
gauss.hpp
This file is part of Arageli library.
Copyright (C) 1999--2006 Nikolai Yu. Zolotykh
Copyright (C) 2005--2007 Sergey S. Lyalin
The Arageli Library is free software; you can redistribute it and/or
modify i... | gpl-2.0 |
hexbinary/landing | src/test/java/org/oscarehr/common/dao/LabPatientPhysicianInfoDaoTest.java | 2341 | /**
* Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. All Rights Reserved.
* This software is published under the GPL GNU General Public License.
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published... | gpl-2.0 |
Trim/qtmoko | src/libraries/qtopiaphonemodem/qmodemphonebook.cpp | 28448 | /******************************************************+**********************
**
** This file is part of the Qt Extended Opensource Package.
**
** Copyright (C) 2009 Trolltech ASA.
**
** Contact: Qt Extended Information (info@qtextended.org)
**
** This file may be used under the terms of the GNU General Public License... | gpl-2.0 |
dbaker3/welshimer2013_r14 | no-results.php | 1096 | <?php
/**
* The template part for displaying a message that posts cannot be found.
*
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package welshimer2013
* @since welshimer2013 1.0
*/
?>
<article id="post-0" class="post no-results not-found">
<header class="entry-header">
<h1 class="entry-t... | gpl-2.0 |
MinnPost/minnpost-wordpress | wp-content/plugins/the-events-calendar/src/deprecated/Tribe__Events__Meta_Factory.php | 7531 | <?php
/**
* Meta Factory
*
* Events have meta that may change in the way it is displayed across templates.
* The meta factory provides a storage and templating engine similar to the WordPress
* Widget Factory which allows for registration, sorting, assignment, templating and
* deregistration of meta items within ... | gpl-2.0 |
SuriyaaKudoIsc/wikia-app-test | extensions/RTLDebug/rtl-debug.js | 321 | ( function( $ ) {
// Select all elements in the body (we don't need stuff in <head>)
$( document.body )
.find( '*' )
.andSelf() // include body as well
.each( function() {
var $el = $( this );
$el.addClass( $el.css( 'direction' ) === 'rtl' ? 'mw-rtldebug-rtl' : 'mw-rtldebug-ltr' );
} );
} )( jQuery );... | gpl-2.0 |
magic2du/contact_matrix | Contact_maps/DeepLearning/DeepLearningTool/DL_contact_matrix_load2-new10fold_11_04_2014_server.py | 41826 |
# coding: utf-8
# In[3]:
import sys, os
sys.path.append('../../../libs/')
import os.path
import IO_class
from IO_class import FileOperator
from sklearn import cross_validation
import sklearn
import numpy as np
import csv
from dateutil import parser
from datetime import timedelta
from sklearn import svm
import numpy ... | gpl-2.0 |
Seynen/egfrd | binding/disk_class.hpp | 173 | #ifndef BINDING_DISK_CLASS_HPP
#define BINDING_DISK_CLASS_HPP
namespace binding {
void register_disk_class();
} // namespace binding
#endif /* BINDING_DISK_CLASS_HPP */
| gpl-2.0 |
bhirsch/voipdrupal-4.7-1.0 | modules/contributions/civicrm/packages/JPSpan/js/util/typeof.js | 3250 | // $Id: typeof.js,v 1.1 2004/11/22 10:51:57 harryf Exp $
// Taken from http://www.webreference.com/dhtml/column68/ by Peter Belesis
function JPSpan_Util_typeof( vExpression ) {
var sTypeOf = typeof vExpression;
if( sTypeOf == "function" ) {
var sFunction = vExpression.toString();
if( (... | gpl-2.0 |
Tpo76/centreon | www/lib/HTML/QuickForm/input.php | 5467 | <?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* Base class for <input /> form elements
*
* PHP versions 4 and 5
*
* LICENSE: This source file is subject to version 3.01 of the PHP license
* that is available through the world-wide-web at the following URI:
* http://www.php.net/licens... | gpl-2.0 |
chujieyang/ice | scripts/__init__.py | 399 | # **********************************************************************
#
# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
#
# This copy of Ice is licensed to you under the terms described in the
# ICE_LICENSE file included in this distribution.
#
# ***********************************************************... | gpl-2.0 |
TeamOfMalaysia/X_discuz | public/discuz/source/plugin/qqconnect/connect/connect_config.php | 5044 | <?php
/**
* [Discuz!] (C)2001-2099 Comsenz Inc.
* This is NOT a freeware, use is subject to license terms
*
* $Id: connect_config.php 33543 2013-07-03 06:01:33Z nemohou $
*/
if(!defined('IN_DISCUZ')) {
exit('Access Denied');
}
if(empty($_G['uid'])) {
showmessage('to_login', '', array(), array('... | gpl-2.0 |
austinv11/PeripheralsPlusPlus | src/main/java/com/austinv11/peripheralsplusplus/tiles/containers/ContainerAnalyzer.java | 2708 | package com.austinv11.peripheralsplusplus.tiles.containers;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
public class ContainerAnalyzer extends Container {... | gpl-2.0 |
christopherstock/GC_Vital-Clean | _ASSETS/placeholder/placeholder2/js/preloader.js | 917 | /*
//maximize screen & reset window
var maxWidth = screen.availWidth;
var maxHeight = screen.availHeight;
window.moveTo(0,0);
window.resizeTo(maxWidth,maxHeight);
*/
//preload all required images
var myImage = new Array();
var myArray = new Array
(
"images/spacer.gif"
);
//... | gpl-2.0 |
kolab-groupware/kdelibs | kdecore/network/ksocketfactory.cpp | 5026 | /*
* This file is part of the KDE libraries
* Copyright (C) 2007 Thiago Macieira <thiago@kde.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the Licen... | gpl-2.0 |
plx9421/JavaRushHomeWork | javarush/test/level22/lesson18/big01/Figure.java | 3704 | package com.javarush.test.level22.lesson18.big01;
/**
* Класс Figure описывает фигурку тетриса
*/
public class Figure
{
//метрица которая определяет форму фигурки: 1 - клетка не пустая, 0 - пустая
private int[][] matrix;
//координаты
private int x;
private int y;
public Figure(int x, int y,... | gpl-2.0 |
MajorCaiger/MiscBlog | wp-includes/script-loader.php | 54405 | <?php
/**
* WordPress scripts and styles default loader.
*
* Most of the functionality that existed here was moved to
* {@link http://backpress.automattic.com/ BackPress}. WordPress themes and
* plugins will only be concerned about the filters and actions set in this
* file.
*
* Several constants are used to ma... | gpl-2.0 |
DailyShana/ygopro-scripts | c22493811.lua | 1540 | --アリの増殖
function c22493811.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c22493811.cost)
e1:SetTarget(c22493811.target)
e1:SetOperation(c22493811.activate)
c:RegisterEffect(e1)
end
fu... | gpl-2.0 |
debugger06/MiroX | tv/osx/plat/script_codes.py | 5132 | # Miro - an RSS based video player application
# Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011
# Participatory Culture Foundation
#
# 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; eithe... | gpl-2.0 |
JMC47/dolphin | Source/Core/DiscIO/Enums.cpp | 22645 | // Copyright 2016 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include <map>
#include <string>
#include "Common/Assert.h"
#include "Common/Common.h"
#include "Common/CommonTypes.h"
#include "Common/Logging/Log.h"
#include "Common/MsgHandler.h"
#include "DiscIO/Enums.h"... | gpl-2.0 |
tonvinh/ez | ezpublish_legacy/extension/ngsymfonytools/classes/ngsymfonytoolscontrolleroperator.php | 3547 | <?php
use Symfony\Component\HttpKernel\Controller\ControllerReference;
class NgSymfonyToolsControllerOperator
{
/**
* Returns the list of template operators this class supports
*
* @return array
*/
function operatorList()
{
return array( 'symfony_controller' );
}
/**
... | gpl-2.0 |
mzmine/mzmine2 | src/main/java/net/sf/mzmine/modules/tools/mzrangecalculator/MzRangeMassCalculatorModule.java | 2616 | /*
* Copyright 2006-2018 The MZmine 2 Development Team
*
* This file is part of MZmine 2.
*
* MZmine 2 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 yo... | gpl-2.0 |
SuriyaaKudoIsc/wikia-app-test | lib/vendor/php-nlp-tools/documents/training_document.php | 662 | <?php
namespace NlpTools\Documents;
/**
* A TrainingDocument is a document that "decorates" any other document
* to add the real class of the document. It is used while training
* together with the training set.
*/
class TrainingDocument implements Document
{
protected $d;
protected $class;
/**
* @param st... | gpl-2.0 |
rex-xxx/mt6572_x201 | frameworks/wilhelm/src/android/BufferQueueSource.cpp | 6355 | /*
* Copyright (C) 2011 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-2.0 |
futurice/vdsm | vdsm_hooks/nestedvt/before_vm_start.py | 1521 | #!/usr/bin/python
#
# Copyright 2012 Red Hat, Inc.
#
# 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 program is... | gpl-2.0 |
ReichardtIT/modified-inkl-bootstrap-by-karl | lang/german/modules/shipping/dp.php | 5734 | <?php
/* -----------------------------------------------------------------------------------------
$Id: dp.php 899 2005-04-29 02:40:57Z hhgag $
XT-Commerce - community made shopping
http://www.xt-commerce.com
Copyright (c) 2003 XT-Commerce
------------------------------------------------------------... | gpl-2.0 |
vanasisf/DeathCore_4.3.4 | src/server/game/AI/SmartScripts/SmartScriptMgr.cpp | 60495 | /*
* Copyright (C) 2008-2014 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 |
uthopiko/Joomla | administrator/components/com_community/install.community.php | 2525 | <?php
/**
* @category Core
* @package JomSocial
* @copyright (C) 2008 by Slashes & Dots Sdn Bhd - All rights reserved!
* @license GNU/GPL, see LICENSE.php
*/
// Disallow direct access to this file
defined('_JEXEC') or die('Restricted access');
/**
* This file and method will automatically get call... | gpl-2.0 |
rjeschmi/easybuild-easyblocks | easybuild/easyblocks/m/matlab.py | 6124 | ##
# Copyright 2009-2013 Ghent University
#
# This file is part of EasyBuild,
# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en),
# with support of Ghent University (http://ugent.be/hpc),
# the Flemish Supercomputer Centre (VSC) (https://vscentrum.be/nl/en),
# the Hercules foundation (htt... | gpl-2.0 |
jagnoha/website | profiles/varbase/profiles/varbase/libraries/ckeditor/plugins/about/lang/ar.js | 519 | /*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'about', 'ar', {
copy: 'حقوق النشر © $1. جميع الحقوق محفوظة.',
dlgTitle: 'عن CKEditor',
help: 'راجع $1 من أجل المساعدة',
moreInfo: 'للحصول على... | gpl-2.0 |
nightflyza/Ubilling | openpayz/frontend/liqpaymulti/index.php | 4331 | <?php
/*
* Фронтенд платежной системы LiqPay получающий ответы в виде POST XML
* согласно протокола: https://www.liqpay.ua/documentation/api/aquiring/checkout/
*/
//достаем конфиг
$liqConf = parse_ini_file('config/liqpay.ini');
// подключаем API OpenPayz
include ("../../libs/api.openpayz.php");
/**
* Gets user... | gpl-2.0 |
jawug/wugms | web/js/i18n/af.js | 866 | /*! Select2 4.0.11 | https://github.com/select2/select2/blob/master/LICENSE.md */
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/af",[],function(){return{errorLoading:function(){return"Die resultate kon nie gelaai word nie."},inputTooLong:f... | gpl-2.0 |
xiqingongzi/AMH | VERSION/3.1/Model/tasks.php | 6805 | <?php
class tasks extends AmysqlModel
{
// 取得任务
function get_task($id = null, $crontab_md5 = null)
{
$where = '';
$where .= (!empty($id)) ? " AND crontab_id = '$id' " : '';
$where .= (!empty($crontab_md5)) ? " AND crontab_md5 = '$crontab_md5' " : '';
$sql = "SELECT * FROM amh_crontab WHERE 1 $wher... | gpl-2.0 |
GiGa-Emulator/Aion-Core-v4.7.5 | AC-Game/data/scripts/system/handlers/quest/greater_stigma/_11276StigmaEnlightenment.java | 3774 | /**
* This file is part of Aion-Lightning <aion-lightning.org>.
*
* Aion-Lightning 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 lat... | gpl-2.0 |
haivuong/kistech | administrator/components/com_mobilize/libraries/joomlashine/mobilize.php | 8315 | <?php
/**
* @version $Id: mobilize.php 15520 2012-08-27 08:20:36Z cuongnm $
* @package JSN_Mobilize
* @subpackage AdminComponent
* @author JoomlaShine Team <support@joomlashine.com>
* @copyright Copyright (C) 2012 JoomlaShine.com. All Rights Reserved.
* @license GNU/GPL v2 or later http://www... | gpl-2.0 |
Myrninvollo/Server | src/net/minecraft/item/ItemAnvilBlock.java | 523 | package net.minecraft.item;
import net.minecraft.block.Block;
import net.minecraft.block.BlockAnvil;
public class ItemAnvilBlock extends ItemMultiTexture
{
private static final String __OBFID = "CL_00001764";
public ItemAnvilBlock(Block p_i1826_1_)
{
super(p_i1826_1_, p_i1826_1_, BlockAnvil.field... | gpl-2.0 |
raidho93/buildrace | profiles/social/modules/contrib/message/src/MessageException.php | 125 | <?php
namespace Drupal\message;
/**
* Message module-specific exception.
*/
class MessageException extends \Exception {}
| gpl-2.0 |
TakingInitiative/wesnoth | src/game_initialization/playcampaign.hpp | 2499 | /*
Copyright (C) 2003-2005 by David White <dave@whitevine.net>
Copyright (C) 2005 - 2016 by Philippe Plantier <ayin@anathas.org>
Part of the Battle for Wesnoth Project http://www.wesnoth.org
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public... | gpl-2.0 |