repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
Freeeaky/VIngameConsole | src/D3D11/FW1FontWrapper/src/FW1Precompiled.cpp | 52 | // FW1Precompiled.cpp
#include "FW1Precompiled.h"
| gpl-2.0 |
TheTypoMaster/Scaper | openjdk/langtools/test/com/sun/javadoc/testNewLanguageFeatures/pkg/Coin.java | 1451 | /*
* Copyright 2003-2004 Sun Microsystems, Inc. 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 Software Fou... | gpl-2.0 |
dantman/mediawiki-core | includes/specials/SpecialRevisiondelete.php | 21348 | <?php
/**
* Implements Special:Revisiondelete
*
* 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... | gpl-2.0 |
hoa32811/wp_thanhtrung_hotel | wp-content/themes/hotelmaster-v2-01/header.php | 5446 | <!DOCTYPE html>
<!--[if IE 7]><html class="ie ie7 ltie8 ltie9" <?php language_attributes(); ?>><![endif]-->
<!--[if IE 8]><html class="ie ie8 ltie9" <?php language_attributes(); ?>><![endif]-->
<!--[if !(IE 7) | !(IE 8) ]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->
<head>
<meta charset="<?php blogi... | gpl-2.0 |
kobliha/yast-network | src/include/network/lan/hardware.rb | 38328 | # encoding: utf-8
# ***************************************************************************
#
# Copyright (c) 2012 Novell, Inc.
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public License as
# published by the F... | gpl-2.0 |
tbs-sct/gcpedia | extensions/MobileFrontend/resources/mobile.loggingSchemas/SchemaEdit.js | 1774 | ( function ( M, $ ) {
var SchemaEdit,
Schema = M.require( 'mobile.startup/Schema' ),
user = M.require( 'mobile.user/user' );
/**
* @class SchemaEdit
* @extends Schema
*/
SchemaEdit = Schema.extend( {
/** @inheritdoc **/
name: 'Edit',
/**
* https://meta.wikimedia.org/wiki/Schema:Edit
* @inherit... | gpl-2.0 |
tuyenln/femmefatalelashes | wp-content/plugins/portfolio/bws_menu/bws_menu.php | 54800 | <?php
/*
* Function for displaying BestWebSoft menu
* Version: 1.2.3
*/
if ( ! function_exists( 'bws_add_menu_render' ) ) {
function bws_add_menu_render() {
global $wpdb, $wpmu, $wp_version, $bws_plugin_info;
$error = $message = $bwsmn_form_email = '';
$bws_donate_link = 'https://www.2checkout.com/checkout/purc... | gpl-2.0 |
GoogleChromeLabs/pwa-wp | wp-includes/theme-compat/offline.php | 482 | <?php
/**
* Contains the offline base template
*
* When the client's internet connection goes down, this template is served as the response
* instead of the service worker. This template can be overridden by including an offline.php
* in the theme.
*
* @package PWA
* @since 0.2.0
*/
pwa_get_header( 'error' );... | gpl-2.0 |
frabarz/DRTrial | src/hud/NSDCylinder.js | 522 | import BaseElement from './Element.js';
export default class NSDCylinder extends BaseElement
{
constructor(ctx)
{
super(ctx);
this.type = 'HUD.NSD.Cylinder';
this.bullets = [];
this.giro = 0;
}
setScale()
{
this.r = this.H * 0.45 * 0.8;
this.x = this.r * -0.1;
this.y = this.H ... | gpl-2.0 |
Hourglass-Resurrection/Hourglass-Resurrection | source/hooks/hooks/inputhooks.cpp | 89172 | /* Copyright (C) 2011 nitsuja and contributors
Hourglass is licensed under GPL v2. Full notice is in COPYING.txt. */
#include <vector>
#include <algorithm>
#include "../wintasee.h"
//#include "../tls.h"
DEFINE_LOCAL_GUID(IID_IDirectInputA, 0x89521360, 0xAA8A, 0x11CF, 0xBF, 0xC7, 0x44, 0x45, 0x53, 0x54,... | gpl-2.0 |
t-zuehlsdorff/wesnoth | src/whiteboard/mapbuilder.cpp | 5573 | /*
Copyright (C) 2010 - 2016 by Gabriel Morin <gabrielmorin (at) gmail (dot) com>
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 License as published by
the Free Software Foundation; ei... | gpl-2.0 |
ranrolls/ras-full-portal | administrator/components/com_acymailing/classes/acyhistory.php | 1311 | <?php
/**
* @package AcyMailing for Joomla!
* @version 4.8.0
* @author acyba.com
* @copyright (C) 2009-2014 ACYBA S.A.R.L. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php
class acyhistoryClass extends acymailingClass{
... | gpl-2.0 |
xstory61/server | scripts/quest/3454.js | 1771 | /*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
Matthias Butz <matze@odinms.de>
Jan Christian Meyer <vimes@odinms.de>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero Genera... | gpl-2.0 |
bbeckman/NDL-VuFind2 | module/VuFindSearch/src/VuFindSearch/Backend/WorldCat/Backend.php | 5041 | <?php
/**
* WorldCat backend.
*
* PHP version 5
*
* Copyright (C) Villanova University 2010.
*
* 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.
*
* This program is distribu... | gpl-2.0 |
otservme/global1053 | data/movements/scripts/the ape city/Mission9TheDeepestCatacombsteleport2.lua | 1265 | local config = {
AmphorasPositions = {
[1] = Position({x = 32792, y = 32527, z = 10}),
[2] = Position({x = 32823, y = 32525, z = 10}),
[3] = Position({x = 32876, y = 32584, z = 10}),
[4] = Position({x = 32744, y = 32586, z = 10})
},
brokenAmphoraId = 4997
}
function onStepIn(cid, item, position, lastPositi... | gpl-2.0 |
drazenzadravec/nequeo | Source/Components/Wpf/Nequeo.Wpf.Controls/Nequeo.Wpf.Controls/UI/MediaPlayer.xaml.cs | 2391 | /* Company : Nequeo Pty Ltd, http://www.nequeo.com.au/
* Copyright : Copyright © Nequeo Pty Ltd 2012 http://www.nequeo.com.au/
*
* File :
* Purpose :
*
*/
#region Nequeo Pty Ltd License
/*
Permission is hereby granted, free of charge, to any person
obtaining a copy of th... | gpl-2.0 |
htw-pk15/vufind | module/LinkedSwissbib/src/LinkedSwissbib/Backend/Elasticsearch/DSLBuilder/Query/Nested.php | 1037 | <?php
/**
*
* @category linked-swissbib
* @package Backend_Eleasticsearch
* @author Guenter Hipler <guenter.hipler@unibas.ch>
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
* @link http://linked.swissbib.ch Main Page
*/
namespace LinkedSwissbib\Backend\Elasticsearch\D... | gpl-2.0 |
MobileRobots/ArAndroidApp | jni/pthread_android_additions.cpp | 3484 | /*
Copyright 2011 Adept Technology, Inc.
*/
#include "pthread_android_additions.h"
/*
Additions to pthread.cpp needed by Aria. These functions are supposed to be a
part of libc.so, but it appears they were left out. As a first pass I have
commented out all code to get them to compile, and it actually appears tha... | gpl-2.0 |
eyetrackingDB/GazeTrackingOfflineProcessing | EyeTabTracker/src_eyetab/gaze_geometry.cpp | 8529 | #include "stdafx.h"
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <math.h>
#include "../lib_eigen/Geometry"
#include "../lib_eigen/StdVector"
#include "utils.h"
#include "ConicSection.h"
#include "../GazeSettingsEyeTab.h"
using namespace Eigen;
using namespace std;
using na... | gpl-2.0 |
pollux1er/SajoscolApp | orm/propel-build/classes/gepi/UtilisateurProfessionnelPeer.php | 1324 | <?php
/**
* Skeleton subclass for performing query and update operations on the 'utilisateurs' table.
*
* Utilisateur de gepi
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
* long as it does not already exist in the output dire... | gpl-2.0 |
Exiv2/exiv2 | src/samsungmn_int.hpp | 2063 | // ***************************************************************** -*- C++ -*-
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as publish... | gpl-2.0 |
fighterCui/L4ReFiascoOC | l4/pkg/l4re_c/lib/src/goos.cc | 2420 | /*
* (c) 2008-2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>
* economic rights: Technische Universität Dresden (Germany)
*
* This file is part of TUD:OS and distributed under the terms of the
* GNU General Public License 2.
* Please see the COPYING-GPL-2 file for details.
*
* As a special exception, you... | gpl-2.0 |
NateJacobs/Brickset-API | admin/class-users-profile.php | 2719 | <?php
/**
* Display necessary fields on the user profile page to allow a user to authenticate themselves with Brickset.
* Take the user hash and save it in the usermeta table.
*
* @author Nate Jacobs
* @date 2/2/13
* @since 1.0
*/
class BricksetAPIUserProfile extends BricksetAPIUtilities
{
/**
* Start t... | gpl-2.0 |
tedbow/scheduled-updates-demo | modules/contrib/workbench_moderation/src/Entity/Handler/NodeModerationHandler.php | 1632 | <?php
/**
* @file
* Contains Drupal\workbench_moderation\Entity\Handler\NodeCustomizations.
*/
namespace Drupal\workbench_moderation\Entity\Handler;
use Drupal\Core\Config\Entity\ConfigEntityInterface;
use Drupal\Core\Entity\ContentEntityInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\node\Entity\N... | gpl-2.0 |
wshearn/openshift-quickstart-modx | php/core/model/modx/sqlsrv/modplugin.class.php | 212 | <?php
/**
* @package modx
* @subpackage sqlsrv
*/
require_once (dirname(dirname(__FILE__)) . '/modplugin.class.php');
/**
* @package modx
* @subpackage sqlsrv
*/
class modPlugin_sqlsrv extends modPlugin {
} | gpl-2.0 |
shannah/cn1 | Ports/iOSPort/xmlvm/apache-harmony-6.0-src-r991881/classlib/modules/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/serialization/RealmChoiceCallbackTest.java | 3805 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License")... | gpl-2.0 |
cuongnd/banhangonline88_joomla | libraries/fsj_core/html/field/fsjrating.php | 3985 | <?php
/**
* @package Freestyle Joomla
* @author Freestyle Joomla
* @copyright (C) 2013 Freestyle Joomla
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
**/
defined('_JEXEC') or die;
JFormHelper::loadFieldClass('text');
jimport('fsj_core.lib.fields.rating');
class JFormFieldFSJRating extends JFormFie... | gpl-2.0 |
d4span/freemindfx | src/main/java/plugins/script/ScriptEditor.java | 7942 | /*FreeMind - A Program for creating and viewing Mindmaps
*Copyright (C) 2000-2007 Joerg Mueller, Daniel Polansky, Dimitri Polivaev, Christian Foltin and others.
*
*See COPYING for Details
*
*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 |
yakuzmenko/bereg | administrator/components/com_sh404sef/plugins/system/shlib/shl_packages/ZendFramework-1.11.7-minimal/library/Zendshl/Amf/Response/Http.php | 1746 | <?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 |
AdmireTheDistance/android_libcore | jsr166-tests/src/test/java/jsr166/FutureTaskTest.java | 29263 | /*
* Written by Doug Lea with assistance from members of JCP JSR-166
* Expert Group and released to the public domain, as explained at
* http://creativecommons.org/publicdomain/zero/1.0/
* Other contributors include Andrew Wright, Jeffrey Hayes,
* Pat Fisher, Mike Judd.
*/
package jsr166;
import static java.uti... | gpl-2.0 |
DevDean/jissaticket | administrator/components/com_hikashop/views/product/tmpl/waitlist.php | 499 | <?php
/**
* @package HikaShop for Joomla!
* @version 2.6.0
* @author hikashop.com
* @copyright (C) 2010-2015 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?> <span id="result" >
<?php echo @$this->rows[... | gpl-2.0 |
maitak/testing | modules/search_api/tests/src/Unit/Plugin/Processor/AggregatedFieldsTest.php | 11759 | <?php
namespace Drupal\Tests\search_api\Unit\Plugin\Processor;
use Drupal\Core\TypedData\DataDefinition;
use Drupal\search_api\Entity\Index;
use Drupal\search_api\Item\ItemInterface;
use Drupal\search_api\Plugin\search_api\processor\AggregatedFields;
use Drupal\search_api\Processor\ProcessorInterface;
use Drupal\sear... | gpl-2.0 |
chinhtx91/khoaquocte | modules/users/language/admin_en.php | 26215 | <?php
/**
* @Project NUKEVIET 4.x
* @Author VINADES.,JSC (contact@vinades.vn)
* @Copyright (C) 2015 VINADES.,JSC. All rights reserved
* @Language English
* @License CC BY-SA (http://creativecommons.org/licenses/by-sa/4.0/)
* @Createdate May 30, 2010, 05:07:00 PM
*/
if( ! defined( 'NV_ADMIN' ) or ! defined( 'NV_MAINFI... | gpl-2.0 |
Moergil/MultiBox | MultiBoxClientJavaCore/src/sk/hackcraft/multibox/TestThread.java | 522 | package sk.hackcraft.multibox;
public class TestThread
{
public static void main(String[] args)
{
Runnable testCode = new Runnable()
{
@Override
public void run()
{
for (int i = 0; i < 10000; i++)
{
System.out.println(".");
}
Thread.currentThread().interrupt();
try
... | gpl-2.0 |
WMFO/rivendell | ripcd/livewire_lwrpaudio.cpp | 7239 | // livewire_lwrpaudio.cpp
//
// A Rivendell LWRP audio switcher driver for LiveWire networks.
//
// (C) Copyright 2002-2013,2016 Fred Gleason <fredg@paravelsystems.com>
//
// 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
/... | gpl-2.0 |
thebruce/d8-test-junk | drupal-8.x-dev/core/modules/user/lib/Drupal/user/UserInterface.php | 3895 | <?php
/**
* @file
* Contains \Drupal\user\UserInterface.
*/
namespace Drupal\user;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Session\AccountInterface;
/**
* Provides an interface defining a user entity.
*/
interface UserInterface extends EntityInterface, AccountInterface {
/**
* Returns a l... | gpl-2.0 |
xkun147/qcvn | wp-content/themes/goodnews5/framework/helpers/js/cats.js | 1124 | //Set up the color pickers to work with our text input field
jQuery( document ).ready(function($){
"use strict";
//jQuery( '.mom_color_picker' ).wpColorPicker();
//upload image
var custom_uploader;
$('#upload_image_button').click(function(e) {
e.preventDefault();
//... | gpl-2.0 |
njmube/mixerp | src/Libraries/DAL/Core/GetShippingAddressByShippingAddressIdProcedure.cs | 4031 | // ReSharper disable All
/********************************************************************************
Copyright (C) MixERP Inc. (http://mixof.org).
This file is part of MixERP.
MixERP is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Fr... | gpl-2.0 |
alioso/museumfire | modules/contrib/audiofield/js/jplayer.builder.es6.js | 5140 | /**
* @file
* Audiofield build jPlayer audio players of various types.
*/
(($, Drupal) => {
'use strict';
Drupal.AudiofieldJplayer = {};
/**
* Generate a jplayer player for the default single file layout.
*
* @param {jQuery} context
* The Drupal context for which we are finding and generating ... | gpl-2.0 |
tharindum/opennms_dashboard | integrations/opennms-link-provisioning-adapter/src/main/java/org/opennms/netmgt/provision/adapters/link/endpoint/EndPointTypeValidator.java | 4010 | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2009-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 |
ldoktor/virt-test | kvm/tests/timedrift_with_migration.py | 3935 | import logging
from autotest.client.shared import error
from virttest import utils_test
def run_timedrift_with_migration(test, params, env):
"""
Time drift test with migration:
1) Log into a guest.
2) Take a time reading from the guest and host.
3) Migrate the guest.
4) Take a second time rea... | gpl-2.0 |
ghodder/pdnsmgr | vendor/autoload.php | 183 | <?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer' . '/autoload_real.php';
return ComposerAutoloaderInit0df268a22953d0c7bfb76d6d1b5a826d::getLoader();
| gpl-2.0 |
prasadtalasila/MMTP | Main/Database/cleaningdata/updated/label.py | 401 | #Sort data according to departure time
from operator import itemgetter
L = []
line = []
for _ in xrange(47377):
line = raw_input().split(" ")
L.append([(line[0]),int(line[1]),int(line[2]),int(line[3]),int(line[4])])
temp = []
for item in L:
if len(item[0])==5:
print item[0],item[1],item[2],item[3],item[4],"train"
... | gpl-2.0 |
IE-LN/HMCOM | wp-content/themes/holly/widgets/templates/gallery-cgo.sidebar.php | 1958 | <?php
$func = function_exists('ice_get_attachment_image') ? 'ice_get_attachment_image' : 'wp_get_attachment_image';
?>
<?php $before_widget ?>
<div class="bmsbw-container bmsbw-gallery-sidebar <?php $instance['css_container_class'] ?>">
<div class="bmsbw-photoHead">
<?php wp_nav_menu(array('theme_location' => 'hot-p... | gpl-2.0 |
cidesa/roraima | apps/nomina/modules/asignarcategoriasconceptosxempleado/templates/editSuccess.php | 1083 | <?php
/**
* Funciones de la vista.
*
* @package Roraima
* @subpackage vistas
* @author $Author$ <desarrollo@cidesa.com.ve>
* @version SVN: $Id$
*/
// date: 2007/12/28 10:23:00
?>
<?php use_helper('Object', 'Validation', 'ObjectAdmin', 'I18N', 'Date') ?>
<?php use_stylesheet('/sf/sf_admin/css/main') ?>... | gpl-2.0 |
bugcy013/opennms-tmp-tools | features/instrumentationLogReader/src/main/java/org/opennms/util/ilr/Filter.java | 8150 | package org.opennms.util.ilr;
import java.util.ArrayList;
import java.util.Collection;
public class Filter {
private static String m_searchString = null;
public static interface PropertyGetter<T> {
T get(ServiceCollector c);
}
static PropertyGetter<String> serviceID() {
return new ... | gpl-2.0 |
tectronics/scummvm-for-sally | engines/sword1/control.cpp | 47578 | /* 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 te... | gpl-2.0 |
sanjay-jagdish/barkerby | webmin/pages/shift_other_employees.php | 2292 | <?php
session_start();
include_once('redirect.php');
include '../config/config.php';
$employee_sql = "SELECT type_id
FROM account WHERE id=".$_POST['account_id'];
$employee_qry = mysql_query($employee_sql);
$employee_res = mysql_fetch_assoc($employee_qry);
//determine the time using the passed schedule_id
$... | gpl-2.0 |
Ideo-lt/l2.skilas.lt | aCis_gameserver/java/net/sf/l2j/gameserver/network/serverpackets/SendTradeRequest.java | 958 | /*
* 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 the hope that it will be us... | gpl-2.0 |
jug-berlin/joomla.berlin | administrator/components/com_rsform/controller.php | 8243 | <?php
/**
* @package RSForm! Pro
* @copyright (C) 2007-2014 www.rsjoomla.com
* @license GPL, http://www.gnu.org/copyleft/gpl.html
*/
defined('_JEXEC') or die('Restricted access');
jimport('joomla.application.component.controller');
class RSFormController extends JControllerLegacy
{
protected $_db;
public functio... | gpl-2.0 |
kamildanak/ForgeEconomy | src/main/java/com/kamildanak/minecraft/enderpay/network/server/MessageIssueBanknote.java | 2885 | package com.kamildanak.minecraft.enderpay.network.server;
import com.kamildanak.minecraft.enderpay.EnderPay;
import com.kamildanak.minecraft.enderpay.Utils;
import com.kamildanak.minecraft.enderpay.economy.Account;
import com.kamildanak.minecraft.enderpay.item.ItemFilledBanknote;
import com.kamildanak.minecraft.enderp... | gpl-2.0 |
BestWebTech/creativefreelanceprofessionals | wp-content/themes/freelanceengine/plugins/yuzo-related-post/assets/ilenframework/assets/lib/utils.php | 22021 | <?php
/**
* Pack Functions and Utils
* iLenFramework
* @package ilentheme
*/
if ( !class_exists('IF_utils') ) {
class IF_utils{
/* FUNCTION GET IMAGE POST */
/*
// Thumbnail (default 150px x 150px max)
// Medium resolution (default 300px x 300px max)
// Large resolution (default 640px x 640px max)
// Full resol... | gpl-2.0 |
iegor/kdegraphics | ksvg/dom/SVGRadialGradientElement.cc | 2479 | /*
Copyright (C) 2001-2003 KSVG Team
This file is part of the KDE project
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 License, or (at your ... | gpl-2.0 |
cvicentiu/mariadb-10.0 | client/mysqltest.cc | 297320 | /* Copyright (c) 2000, 2013, Oracle and/or its affiliates.
Copyright (c) 2009, 2016, Monty Program Ab.
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 p... | gpl-2.0 |
biergaizi/PhilNa-NG | app/yinheli_addrss.php | 1076 | <?php
function yinheli_addrss($content){
$options = get_option('philna_options');
if($options['rss_show_comment_state']):
global $id;
$comment_num = get_comments_number($id);
if($comment_num==0):
$rss_comment_tip="Here is no comments yet by the time your rss reader get this, Do you want to be the first commentor? Hurr... | gpl-2.0 |
ineiti/cothorities | byzcoin/bcadmin/clicontracts/name.go | 6760 | package clicontracts
import (
"encoding/hex"
"fmt"
"github.com/urfave/cli"
"go.dedis.ch/cothority/v3"
"go.dedis.ch/cothority/v3/byzcoin"
"go.dedis.ch/cothority/v3/byzcoin/bcadmin/lib"
"go.dedis.ch/cothority/v3/darc"
"go.dedis.ch/onet/v3/log"
"go.dedis.ch/onet/v3/network"
"go.dedis.ch/protobuf"
"golang.org/... | gpl-2.0 |
doublesword/commuse | Source/W201621/Detours4.0.1/samples/talloc/tdll8x.cpp | 525 | //////////////////////////////////////////////////////////////////////////////
//
// Detours Test Program (tdll8x.cpp of talloc.exe/tdll8x.dll)
//
// Microsoft Research Detours Package
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
///////////////////////////////////////////////////////////////... | gpl-2.0 |
kyonetca/Pirate-Proxy | src/com/piratebayfree/adapters/LogAdapter.java | 3039 | package com.piratebayfree.adapters;
import android.content.Context;
import android.graphics.Typeface;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import java.util.List... | gpl-2.0 |
wikimedia/wikidata-query-blazegraph | bigdata-rdf-test/src/test/java/com/bigdata/rdf/internal/AbstractEncodeDecodeMixedIVsTest.java | 49126 | /**
Copyright (C) SYSTAP, LLC DBA Blazegraph 2006-2016. All rights reserved.
Contact:
SYSTAP, LLC DBA Blazegraph
2501 Calvert ST NW #106
Washington, DC 20008
licenses@blazegraph.com
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Gener... | gpl-2.0 |
OuhscBbmc/redcap-playground | noauth-delete.php | 1252 | <?php
/**
* PLUGIN NAME: Insert Unit Test Cleanup
* DESCRIPTION: delete redcap record inserted by a REDCapR unit test
* VERSION: 1.0
* AUTHOR: Will Beasley, OUHSC, BBMC
*/
// Prevent caching; this code is copied from /redcap/api/index.php
header("Expires: 0");
header("cache-control: no-store, no-cache, must-reval... | gpl-2.0 |
ranrolls/refine-ras-admin | administrator/components/com_judirectory/views/category/tmpl/edit_custom_js.php | 6086 | <?php
/**
* ------------------------------------------------------------------------
* JUDirectory for Joomla 2.5, 3.x
* ------------------------------------------------------------------------
*
* @copyright Copyright (C) 2010-2015 JoomUltra Co., Ltd. All Rights Reserved.
* @license GNU General Publi... | gpl-2.0 |
VKiril/zencart | admin21/includes/languages/english.php | 40961 | <?php
/**
* @package admin
* @copyright Copyright 2003-2012 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 GIT: $Id: Author: DrByte Wed Sep 5 10:59:13 2012 -0400 Modified in v1.5.1 $
*/
if (!defined('... | gpl-2.0 |
KylePreston/Soft-Hills-Website | wp-content/themes/mckinley/index.php | 1008 | <?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme and one of the
* two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* For example, it puts together the home page when no home.php... | gpl-2.0 |
ctrueden/bioformats | components/forks/jai/src/jj2000/j2k/wavelet/WaveletTransform.java | 5803 | /*
* #%L
* Fork of JAI Image I/O Tools.
* %%
* Copyright (C) 2008 - 2013 Open Microscopy Environment:
* - Board of Regents of the University of Wisconsin-Madison
* - Glencoe Software, Inc.
* - University of Dundee
* %%
* Redistribution and use in source and binary forms, with or without
* modification, ... | gpl-2.0 |
kalev/anaconda | pyanaconda/packages.py | 12756 | #
# packages.py: package management - mainly package installation
#
# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Red Hat, Inc.
# All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software... | gpl-2.0 |
viollarr/alab | administrator/components/com_patch/patch/administrator/components/com_menus/wrapper/wrapper.class.php | 3508 | <?php
/**
* @version $Id: wrapper.class.php 10002 2008-02-08 10:56:57Z willebil $
* @package Joomla
* @subpackage Menus
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL, see LICENSE.php
* Joomla! is free software. This version m... | gpl-2.0 |
hekra01/mercurial | hgext/convert/hg.py | 17967 | # hg.py - hg backend for convert extension
#
# Copyright 2005-2009 Matt Mackall <mpm@selenic.com> and others
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
# Notes for hg->hg conversion:
#
# * Old versions of Mercurial didn't tr... | gpl-2.0 |
drazenzadravec/nequeo | Cross/Mono/Components/Cryptography/Nequeo.Cryptography/Nequeo.Cryptography.Key/crypto/macs/HMac.cs | 3279 | using System;
using System.Collections;
using Nequeo.Cryptography.Key.Crypto;
using Nequeo.Cryptography.Key.Crypto.Parameters;
namespace Nequeo.Cryptography.Key.Crypto.Macs
{
/**
* HMAC implementation based on RFC2104
*
* H(K XOR opad, H(K XOR ipad, text))
*/
public class HMac
... | gpl-2.0 |
diamonddevgroup/CodenameOne | Samples/samples/GradientTest/GradientTest.java | 1983 | package com.codename1.samples;
import static com.codename1.ui.CN.*;
import com.codename1.ui.Display;
import com.codename1.ui.Form;
import com.codename1.ui.Dialog;
import com.codename1.ui.Label;
import com.codename1.ui.plaf.UIManager;
import com.codename1.ui.util.Resources;
import com.codename1.io.Log;
import com.code... | gpl-2.0 |
glazzara/olena | scribo/scribo/primitive/link/with_single_left_link_dmax_ratio_aligned.hh | 6035 | // Copyright (C) 2009, 2010, 2011, 2013 EPITA Research and Development
// Laboratory (LRDE)
//
// This file is part of Olena.
//
// Olena is free software: you can redistribute it and/or modify it under
// the terms of the GNU General Public License as published by the Free
// Software Foundation, version 2 of the Lice... | gpl-2.0 |
chrisws/scummvm | engines/kyra/sound_digital.cpp | 13663 | /* 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 |
SIB-Colombia/biodiversidad_wp | wp-content/plugins/az_shortcodes/tinymce/shortcode_generator/js/upload.js | 2627 | /*global jQuery, document, redux_upload, formfield:true, preview:true, tb_show, window, imgurl:true, tb_remove, $relid:true*/
/*
This is the uploader for wordpress starting from version 3.5
*/
jQuery(document).ready(function(){
initUpload();
function initUpload(){
jQuery(".redux-opts-upload").on('click'... | gpl-2.0 |
charismaticchiu/Robotics | examplelist/actionGroupExample.cpp | 5913 | /*
MobileRobots Advanced Robotics Interface for Applications (ARIA)
Copyright (C) 2004, 2005 ActivMedia Robotics LLC
Copyright (C) 2006, 2007, 2008, 2009 MobileRobots 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... | gpl-2.0 |
janusnic/Portfolio | hostweb/typo3conf/ext/rn_base/mod/class.tx_rnbase_mod_BaseModule.php | 17566 | <?php
/***************************************************************
* Copyright notice
*
* (c) 2009 Rene Nitzsche (rene@system25.de)
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
* free software; you can redistribute it and/or modify
* it under the terms of the GNU G... | gpl-2.0 |
CoordCulturaDigital-Minc/culturadigital.br | wp-content/themes/EvoeTheme/mobile/header.php | 764 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN"
"http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">
<html <?php language_attributes(); ?> xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php wp_title('«', true, 'right'); ?> <?php bloginfo('name'); ?></title>
<meta... | gpl-2.0 |
aisuhua/phalcon-jumpstart | libs/Fly/SearchEngine.php | 2002 | <?php
namespace Fly;
use Fly\Sphinx\SphinxClient;
use Phalcon\DI\FactoryDefault as DI;
class SearchEngine
{
public $indexedTables = ['manga'];
public $searchTables = [];
public $searcher = null;
protected $config;
public function __construct()
{
$this->config = DI::getDefault()->get('... | gpl-2.0 |
shannah/cn1 | Ports/iOSPort/xmlvm/apache-harmony-6.0-src-r991881/classlib/modules/beans/src/test/support/java/org/apache/harmony/beans/tests/support/mock/MockFoo2ParentBeanInfo.java | 1510 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); yo... | gpl-2.0 |
conwayje/ase-python | ase/test/eam_test.py | 3162 | import numpy as np
from ase.calculators.eam import EAM
from ase.lattice import bulk
# test to generate an EAM potential file using a simplified
# approximation to the Mishin potential Al99.eam.alloy data
from scipy.interpolate import InterpolatedUnivariateSpline as spline
cutoff = 6.28721
n = 21
rs = np.arange... | gpl-2.0 |
riggtravis/aseprite | src/app/commands/cmd_layer_properties.cpp | 7482 | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// 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.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/app.h"
#incl... | gpl-2.0 |
bwildenhain/virt-manager | virtinst/devicehostdev.py | 5336 | #
# Copyright 2009, 2013 Red Hat, Inc.
# Cole Robinson <crobinso@redhat.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later ve... | gpl-2.0 |
philipl/xbmc | xbmc/FileItem.cpp | 87612 | /*
* 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 |
adamopoulosg/zagori_site | administrator/components/com_k2/models/model.php | 793 | <?php
/**
* @version 2.8.x
* @package K2
* @author JoomlaWorks http://www.joomlaworks.net
* @copyright Copyright (c) 2006 - 2017 JoomlaWorks Ltd. All rights reserved.
* @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html
*/
defined('_JEXEC') or die;
jimport('joomla.application.comp... | gpl-2.0 |
oluabbeys/drupzod | cake/rd_cake/Model/PermanentUser.php | 13199 | <?php
App::uses('AppModel', 'Model');
App::uses('AuthComponent', 'Controller/Component');
/**
* PermanentUser Model
*
*/
class PermanentUser extends AppModel {
public $actsAs = array('Containable');
public $validate = array(
'username' => array(
'required' => array(
'rule' => ar... | gpl-2.0 |
asif-mahmud/Pyramid-Apps | pethouse/pethouse/tests/__init__.py | 1723 | import unittest
import transaction
from pyramid import testing
def dummy_request(dbsession):
return testing.DummyRequest(dbsession=dbsession)
class BaseTest(unittest.TestCase):
def setUp(self):
self.config = testing.setUp(settings={
'sqlalchemy.url': 'sqlite:///:memory:'
})
... | gpl-2.0 |
universsky/openjdk | jdk/src/java.base/share/classes/jdk/internal/jimage/decompressor/CompressedResourceHeader.java | 4319 | /*
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | gpl-2.0 |
d6bmg/BitsB1.1 | include/geshi/geshi/tsql.php | 24150 | <?php
/*
+------------------------------------------------
| BitsB PHP based BitTorrent Tracker
| =============================================
| by d6bmg
| Copyright (C) 2010-2011 BitsB v1.0
| =============================================
| svn: http:// coming soon.. :)
| Licence Info: GPL
+-------------... | gpl-2.0 |
asiersarasua/QGIS | tests/src/python/test_provider_ogr.py | 25422 | # -*- coding: utf-8 -*-
"""QGIS Unit tests for the non-shapefile, non-tabfile datasources handled by OGR provider.
.. note:: 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 Li... | gpl-2.0 |
YelaSeamless/infinidb | dbcon/ddlpackage/columndef.cpp | 3526 | /* Copyright (C) 2014 InfiniDB, 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; version 2 of
the License.
This program is distributed in the hope that it will be useful,
but W... | gpl-2.0 |
dailycavalier/brighterchildren | wp-content/plugins/landing-pages/templates/three-column-lander/index.php | 6250 | <?php
/*****************************************/
// Template Title: Three Column Landing Page
// Plugin: Landing Pages - Inboundnow.com
/*****************************************/
/* Declare Template Key */
$key = lp_get_parent_directory(dirname(__FILE__)); // unique ID associated with this template
$path = LANDINGPA... | gpl-2.0 |
ontoprise/HaloSMWExtension | extensions/ARCLibrary/libs/arc/ARC2_Reader.php | 15779 | <?php
/**
* ARC2 Web Client
*
* @author Benjamin Nowack
* @license <http://arc.semsol.org/license>
* @homepage <http://arc.semsol.org/>
* @package ARC2
* @version 2010-07-06
*/
ARC2::inc('Class');
class ARC2_Reader extends ARC2_Class {
function __construct($a = '', &$caller) {
parent::__construct($a, $c... | gpl-2.0 |
seyekuyinu/highlifer | wp-content/plugins/myMail/classes/libs/phpmailer/class.smtp.php | 39913 | <?php
/**
* PHPMailer RFC821 SMTP email transport class.
* PHP Version 5
* @package PHPMailer
* @link https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
* @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
* @author Jim Jagielski (jimjag) <jimjag@gmail.com>
* @author Andy P... | gpl-2.0 |
mssnaveensharma/mjejaneriver-jaqui | administrator/components/com_jhotelreservation/models/extraoptions.php | 6834 | <?php
/**
* @package JHotelReservation
* @subpackage com_jhotelreservation
*
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
jimport('joomla.application.component... | gpl-2.0 |
quannt/WordPress-WindowsPhone | WordPress/EulaControl.xaml.cs | 1231 | using System.Windows;
using System.Windows.Controls;
using System.IO;
using WordPress.Localization;
using WordPress.Settings;
namespace WordPress
{
public partial class EulaControl : UserControl
{
#region constructors
public EulaControl()
{
// Required to i... | gpl-2.0 |
tuliolages/OpenRedu | spec/helpers/lectures_helper_spec.rb | 345 | # -*- encoding : utf-8 -*-
require 'spec_helper'
describe LecturesHelper do
#Delete this example and add some real ones or delete this file
it "should be included in the object returned by #helper" do
included_modules = (class << helper; self; end).send :included_modules
included_modules.should include(Le... | gpl-2.0 |
titilambert/nagvis | share/server/core/classes/WuiViewManageShapes.php | 2031 | <?php
/*****************************************************************************
*
* WuiViewManageShapes.php - Class to manage shapes
*
* Copyright (c) 2004-2011 NagVis Project (Contact: info@nagvis.org)
*
* License:
*
* This program is free software; you can redistribute it and/or modify
* it under the te... | gpl-2.0 |
prunkdump/gepi | mod_discipline/stats2/apps/vues/bilans.php | 20519 | <?php
/*
*
* Copyright 2001, 2010 Thomas Belliard, Laurent Delineau, Edouard Hue, Eric Lebrun, Gabriel Fischer, Didier Blanqui
*
* This file is part of GEPI.
*
* GEPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fre... | gpl-2.0 |
sojo/d8_friendsofsilence | core/modules/menu_ui/src/Tests/MenuCacheTagsTest.php | 3845 | <?php
/**
* @file
* Contains \Drupal\menu_ui\Tests\MenuCacheTagsTest.
*/
namespace Drupal\menu_ui\Tests;
use Drupal\Core\Url;
use Drupal\menu_link_content\Entity\MenuLinkContent;
use Drupal\system\Tests\Cache\PageCacheTagsTestBase;
use Drupal\system\Entity\Menu;
/**
* Tests the Menu and Menu Link entities' cach... | gpl-2.0 |
groundhogxc/XCSoar | src/Lua/Logger.cpp | 5928 | /*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2016 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 |
glazzara/olena | scribo/src/text_in_doc_preprocess.cc | 2957 | // Copyright (C) 2010, 2011, 2013 EPITA Research and Development
// Laboratory (LRDE)
//
// This file is part of Olena.
//
// Olena is free software: you can redistribute it and/or modify it under
// the terms of the GNU General Public License as published by the Free
// Software Foundation, version 2 of the License.
/... | gpl-2.0 |
netgrams/netgram | TMessagesProj/src/main/java/com/finalsoft/messenger/query/BotQuery.java | 8593 | /*
* This is the source code of Telegram for Android v. 3.x.x.
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Nikolai Kudashov, 2013-2016.
*/
package org.pouyadr.messenger.query;
import org.pouyadr.SQLite.SQLiteCursor;
... | gpl-2.0 |