repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
momogentoo/ehour | eHour-wicketweb/src/test/java/net/rrm/ehour/ui/userprefs/page/UserPreferencePageTest.java | 1825 | /*
* 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 distributed in the hope that it will... | gpl-2.0 |
pinxi/training | profiles/conference/modules/contrib/views_bonus/export/views-bonus-export-xls.tpl.php | 881 | <?php
// $Id: views-bonus-export-xls.tpl.php,v 1.1 2010/01/07 22:56:47 neclimdul Exp $
/**
* @file
* Template to display a view as an excel XLS file.
*
* - $title : The title of this group of rows. May be empty.
* - $rows: An array of row items. Each row is an array of content
* keyed by field ID.
* - $header... | gpl-2.0 |
eugenesia/eugenesia.co.uk | core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermLanguageTest.php | 4535 | <?php
/**
* @file
* Definition of Drupal\taxonomy\Tests\TermLanguageTest.
*/
namespace Drupal\taxonomy\Tests;
use Drupal\Core\Language\Language;
/**
* Tests for the language feature on taxonomy terms.
*/
class TermLanguageTest extends TaxonomyTestBase {
public static $modules = array('language');
public ... | gpl-2.0 |
brodock/sunuo | scripts/legacy/Mobiles/Animals/Mounts/FireSteed.cs | 1905 | using System;
using Server.Items;
using Server.Mobiles;
namespace Server.Mobiles
{
[CorpseName( "a fire steed corpse" )]
public class FireSteed : BaseMount
{
[Constructable]
public FireSteed() : this( "a fire steed" )
{
}
[Constructable]
public FireSteed( string name ) : base( name, 0xBE, 0x3E9E, AITyp... | gpl-2.0 |
sourceleaker/gaycore | src/server/scripts/Northrend/Ulduar/Ulduar/instance_ulduar.cpp | 26429 | /*
* Copyright (C) 2008-2011 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 |
pulse-project/mmc-core | doc-doxy/html/search/classes_1.js | 2260 | var searchData=
[
['abstracttpl',['AbstractTpl',['../classAbstractTpl.html',1,'']]],
['actionconfirmitem',['ActionConfirmItem',['../classActionConfirmItem.html',1,'']]],
['actionencapsulator',['ActionEncapsulator',['../classActionEncapsulator.html',1,'']]],
['actionitem',['ActionItem',['../classActionItem.html'... | gpl-2.0 |
TheTypoMaster/calligra | braindump/src/View.cpp | 13676 | /*
* Copyright (c) 2009,2010 Cyrille Berger <cberger@cberger.net>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation;
* either version 2, or (at your option) any later version of the... | gpl-2.0 |
mlloewen/chinhama | wp-content/plugins/host-php-info/info.php | 158 | <?php
if(function_exists("phpinfo")){
phpinfo();
}else{
?>Your host does not allow <code>phpinfo()</code>, please contect your host administrator.<?php
}
?> | gpl-2.0 |
relaciones-internacionales-journal/ojs-2-4-2 | ojs/plugins/themes/custom/index.php | 390 | <?php
/**
* @defgroup plugins_themes_custom
*/
/**
* @file plugins/themes/custom/index.php
*
* Copyright (c) 2003-2013 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* @ingroup plugins_themes_custom
* @brief Wrapper for "custom" theme plugin.
*
*/
require_on... | gpl-2.0 |
CA-IRIS/mn-iris | src/us/mn/state/dot/tms/client/camera/CameraManager.java | 7822 | /*
* IRIS -- Intelligent Roadway Information System
* Copyright (C) 2008-2018 Minnesota Department of Transportation
*
* 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 ... | gpl-2.0 |
media6/cms6 | inc/admin_header.php | 592 | <?
header('Content-Type: text/html; charset=UTF-8');
if(!isset($_SESSION['REFERENCE_3'])) { $_SESSION['REFERENCE_3']=""; }
if(!isset($_SESSION['REFERENCE_2'])) { $_SESSION['REFERENCE_2']=""; }
if(!isset($_SESSION['REFERENCE_1'])) { $_SESSION['REFERENCE_1']=""; }
if(!isset($_SERVER['HTTP_REFERER'])) { $_SERVER... | gpl-2.0 |
joshmoore/openmicroscopy | components/insight/SRC/org/openmicroscopy/shoola/env/data/views/AdminViewImpl.java | 7499 | /*
* org.openmicroscopy.shoola.env.data.views.AdminViewImpl
*
*------------------------------------------------------------------------------
* Copyright (C) 2006-2010 University of Dundee. All rights reserved.
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms o... | gpl-2.0 |
fbrusatti/g | config/initializers/devise.rb | 12785 | # Use this hook to configure devise mailer, warden hooks and so forth.
# Many of these configuration options can be set straight in your model.
Devise.setup do |config|
# The secret key used by Devise. Devise uses this key to generate
# random tokens. Changing this key will render invalid all existing
# confirmat... | gpl-2.0 |
AndrewLink/Stylekit | wp-content/themes/layerwp/layerswp/core/customizer/registration.php | 15853 | <?php /**
* Customizer Registration File
*
* This file is used to register panels, sections and controls
*
* @package Layers
* @since Layers 1.0.0
*/
class Layers_Customizer_Regsitrar {
public $customizer;
public $config;
public $prefix;
private static $instance; // stores singleton class
/**
* Get ... | gpl-2.0 |
kocko/gottogo | wp-content/plugins/gottogo/views/utils/luggage_utils.php | 919 | <?php
require_once '../database.php';
require_once '../../../../../wp-load.php';
function getLuggageItemsCategories() {
$database = new Database();
$connection = $database->getConnection();
$query = "SELECT DISTINCT category from luggage_item order by category";
$result = mysqli_query($connection, $... | gpl-2.0 |
argivaitv/argivaitv | plugin.video.salts/scrapers/easynews_scraper.py | 7921 | """
SALTS XBMC Addon
Copyright (C) 2014 tknorris
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.
T... | gpl-2.0 |
bcoles/WhatWeb | plugins/coldfusion.rb | 3149 | ##
# This file is part of WhatWeb and may be subject to
# redistribution and commercial restrictions. Please see the WhatWeb
# web site for more information on licensing and terms of use.
# https://www.morningstarsecurity.com/research/whatweb
##
Plugin.define do
name "ColdFusion"
authors [
"Brendan Coles <bcoles@gmai... | gpl-2.0 |
tomaszklim/klim-framework | phpmailer-5.2.14-patched/class.smtp.php | 39908 | <?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 |
chrislarrycarl/Helios-Calendar | admin/components/Location.php | 4889 | <?php
/**
* @package Helios Calendar
* @license GNU General Public License version 2 or later; see LICENSE
*/
if(!defined('hcAdmin')){header("HTTP/1.1 403 No Direct Access");exit();}
include(HCLANG.'/admin/locations.php');
$resDiff = 6;
$resLimit = (isset($_GET['a']) && is_numeric($_GET['a']) && abs... | gpl-2.0 |
brendo10x/site-estagio | wp-content/themes/accesspress-lite/content-none.php | 1143 | <?php
/**
* The template part for displaying a message that posts cannot be found.
*
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package AccesspressLite
*/
?>
<section class="no-results not-found">
<header class="page-header">
<h1 class="page-title"><?php _e( 'Nada encontrado', 'accesspre... | gpl-2.0 |
zcurylo/EGUI | lab4_Qt1/my_push_button.cpp | 1602 | #include "my_push_button.h"
#include<QtGui>
my_push_button::my_push_button(QWidget *parent) :
QWidget(parent), state_m(stateColor::NORMAL)
{
//setAttribute(Qt::WA_);
}
void my_push_button::mousePressEvent(QMouseEvent *event)
{
if(event->button() == Qt::LeftButton)
{
if(state_m == stateColo... | gpl-2.0 |
davel1/dj-page-news | faq/models.py | 378 | from django.db import models
# Create your models here.
class question(models.Model):
q = models.TextField('Question')
q_date = models.DateTimeField('Date insert')
class answer(models.Model):
r = models.TextField('Answer')
r_date = models.DateTimeField('Date add answer')
public = models.Bool... | gpl-2.0 |
shinnya/jd-mirror | src/control/control.cpp | 11660 | // ライセンス: GPL2
//#define _DEBUG
#include "jddebug.h"
#include "control.h"
#include "controlid.h"
#include "controlutil.h"
#include "get_config.h"
#include "keyconfig.h"
#include "mouseconfig.h"
#include "buttonconfig.h"
#include "config/globalconf.h"
#include "command.h"
#include "global.h"
using namespace CONTROL... | gpl-2.0 |
zkota/pyblio-1.2 | Pyblio/GnomeUI/Fields.py | 15638 | # This file is part of pybliographer
#
# Copyright (C) 1998-2004 Frederic GOBRY
# Email : gobry@pybliographer.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 t... | gpl-2.0 |
torraodocerrado/leader_election_sinalgo | src/projects/t1/LogFile.java | 1484 | package projects.t1;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
public final class LogFile {
private File file;
private FileOutputStream fos;
private double step;
public FileOutputStream getFos() {
return fos;
}
public void setFos... | gpl-2.0 |
xdajog/samsung_sources_i927 | external/webkit/Source/WebCore/dom/Document.cpp | 176904 | /*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* (C) 2001 Dirk Mueller (mueller@kde.org)
* (C) 2006 Alexey Proskuryakov (ap@webkit.org)
* Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserved.
* Copyrigh... | gpl-2.0 |
johynpapin/AfterBooks | server/main.js | 11755 | var opHelper = new apac.OperationHelper({
awsId: 'AKIAIUQM6GCZJIFGQXFA',
awsSecret: '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',
assocId: 'after01d-21',
// xml2jsOptions: an extra, optional, parameter for if you want to pass additional options for the xml2js module. (see https://github.com/Leonidas... | gpl-2.0 |
Ch0wW/odamex | libraries/discord-rpc/src/discord_register_win.cpp | 6160 | #include "discord_rpc.h"
#include "discord_register.h"
#define WIN32_LEAN_AND_MEAN
#define NOMCX
#define NOSERVICE
#define NOIME
#include <windows.h>
#include <psapi.h>
#include <cstdio>
/**
* Updated fixes for MinGW and WinXP
* This block is written the way it does not involve changing the rest of the code
* Chec... | gpl-2.0 |
andrewsmm/SimpleShopApiBundle | app/AppKernel.php | 1757 | <?php
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\SecurityBundle\Sec... | gpl-2.0 |
swapnilaptara/tao-aptara-assess | generis/core/kernel/users/interface.RolesManagement.php | 3697 | <?php
/*
* 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; under version 2
* of the License (non-upgradable).
*
* This program is distributed in the hope that it will be useful,
* but WI... | gpl-2.0 |
CharlieKuharski/hg4j | src/org/tmatesoft/hg/internal/FileContentSupplier.java | 2283 | /*
* Copyright (c) 2013 TMate Software Ltd
*
* 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... | gpl-2.0 |
tiian/lixa | ext/php/tests/lixa_021.phpt | 1310 | --TEST--
LIXA PostgreSQL availability - basic test: PostgreSQL is reachable
--SKIPIF--
<?php
if (!stristr(PHP_OS, "Linux")) die("skip this test is Linux platforms only");
if (!lixa_config_have_postgresql()) die("skip this test requires LIXA configured for PostgreSQL");
?>
--FILE--
<?php
/* Connecting to "testdb" local... | gpl-2.0 |
pablanco/taskManager | Android/UserControlLibraries/BaiduMaps/src/com/artech/controls/maps/baidu/MapLocationBounds.java | 1307 | package com.artech.controls.maps.baidu;
import com.artech.controls.maps.common.IMapLocationBounds;
import com.baidu.platform.comapi.basestruct.GeoPoint;
public class MapLocationBounds implements IMapLocationBounds<MapLocation>
{
private int mMinimumLatitude;
private int mMaximumLatitude;
private int mMini... | gpl-2.0 |
KylePreston/Soft-Hills-Website | wp-content/themes/inthedistance/functions/options-functions.php | 2709 | <?php
/**
* @package IntheDistance
*/
/**
* Theme options require the "Options Framework" plugin to be installed in order to display.
* If it's not installed, default settings will be used.
*/
if ( !function_exists( 'of_get_option' ) ) {
function of_get_option($name, $default = false) {
$optionsframewo... | gpl-2.0 |
papillon-cendre/d8 | core/modules/search/src/SearchPluginManager.php | 1218 | <?php
/**
* @file
* Contains \Drupal\search\SearchPluginManager.
*/
namespace Drupal\search;
use Drupal\Core\Cache\CacheBackendInterface;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\Plugin\DefaultPluginManager;
/**
* SearchExecute plugin manager.
*/
class SearchPluginManager extends Defau... | gpl-2.0 |
Jeepal/iLogin | API/taobao/top/request/WidgetItempanelGetRequest.php | 1908 | <?php
/**
* TOP API: taobao.widget.itempanel.get request
*
* @author auto create
* @since 1.0, 2012-11-01 12:40:06
*/
class WidgetItempanelGetRequest
{
/**
* 参数fields为选填参数,表示需要返回哪些字段,默认为空:表示所有字段都返回。指定item_id返回item_id; 指定title返回title; 指定click_url返回click_url(如果此商品有淘宝客会默认返回转换过的淘宝客连接,绑定用户为appkey对应的用户); 指定price返回p... | gpl-2.0 |
zjohn4/PD2-lua-src | core/lib/managers/coreworldcameramanager.lua | 61762 | core:import( "CoreManagerBase" )
CoreWorldCameraManager = CoreWorldCameraManager or class()
function CoreWorldCameraManager:init()
self._camera = World:create_camera()
self:set_default_fov( 75 )
self:set_fov( self._default_fov )
self:set_default_dof( 150, 10000 )
self._current_near_dof = self._default_near_dof
... | gpl-2.0 |
rshell/biorails | config/environments/development.rb | 946 | # Settings specified here will take precedence over those in
# config/environment.rb In the development environment your application's code
# is reloaded on every request. This slows down response time but is perfect
# for development since you don't have to restart the webserver when you make
# code changes.
SYSTEM_... | gpl-2.0 |
kunj1988/Magento2 | app/code/Magento/Authorizenet/Helper/Backend/Data.php | 2913 | <?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Authorizenet\Helper\Backend;
use Magento\Authorizenet\Helper\Data as FrontendDataHelper;
use Magento\Framework\App\Helper\Context;
use Magento\Store\Model\StoreManagerInterface;
use Magento\Sales\M... | gpl-2.0 |
christianchristensen/resin | modules/resin/src/com/caucho/amber/cfg/AccessType.java | 1159 | /*
* Copyright (c) 1998-2010 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 |
emilroz/openmicroscopy | components/server/src/ome/logic/PixelsImpl.java | 13287 | /*
* $Id$
*
* Copyright 2006-2014 University of Dundee. All rights reserved.
* Use is subject to license terms supplied in LICENSE.txt
*/
package ome.logic;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import org.springfram... | gpl-2.0 |
x42/sisco.lv2 | zita-resampler/resampler.cc | 5078 | // ----------------------------------------------------------------------------
//
// Copyright (C) 2006-2012 Fons Adriaensen <fons@linuxaudio.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 Softw... | gpl-2.0 |
csust-dreamstation/CsustFlea | src/com/csustflea/action/ListCollectionAction.java | 3589 | package com.csustflea.action;
import java.sql.Date;
import java.util.List;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.apache.struts2.ServletActionContext;
import org.springframework.context.annotation.Scope;
import org.springframe... | gpl-2.0 |
iegor/kdeedu | kiten/deinf.cpp | 3091 | /**
This file is part of Kiten, a KDE Japanese Reference Tool...
Copyright (C) 2001 Jason Katz-Brown <jason@katzbrown.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 th... | gpl-2.0 |
cortinico/spm | src/it/ncorti/histogramthresholding/SplitMatrix.java | 1487 | package it.ncorti.histogramthresholding;
import cl.niclabs.skandium.muscles.Split;
/**
* Classe per la divisione della matrice in sottomatrici per righe
* Questa classe implementa l'interfaccia Split ed e' pensata per funzionare all'interno di uno
* skeleton di tipo Map
*
* @author Nicola
*/
public class Split... | gpl-2.0 |
atmark-techno/atmark-dist | lib/STLport/test/regression/func1.cpp | 601 | // STLport regression testsuite component.
// To compile as a separate example, please #define MAIN.
#include <iostream>
#include <vector>
#include <algorithm>
#ifdef MAIN
#define func1_test main
#endif
#if !defined (STLPORT) || defined(__STL_USE_NAMESPACES)
using namespace std;
#endif
static bool bigger(int i_)
{
... | gpl-2.0 |
DanielTichy/plagat.com | templates/equalizer/index.php | 8116 | <?php
/*----------------------------------------------------------------------
#Youjoomla Defaul Index -
# ----------------------------------------------------------------------
# Copyright (C) 2007 You Joomla. All Rights Reserved.
# Designed by: You Joomla
# License: GNU, GPL Index.php Only!
# Website: http://www.you... | gpl-2.0 |
adrian2020my/gavick | components/com_hikashop/params/selectoptions.php | 1373 | <?php
/**
* @package HikaShop for Joomla!
* @version 2.3.1
* @author hikashop.com
* @copyright (C) 2010-2014 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php
class JElementSelectoptions extends J... | gpl-2.0 |
invy/far2l | colorer/src/shared/unicode/DString.cpp | 8272 |
#include<unicode/DString.h>
#include <stdio.h>
DString& DString::operator=(const DString &cstring){
if (type == ST_UTF8) delete[] stream_wstr;
type = cstring.type;
encodingIdx = cstring.encodingIdx;
str = cstring.str;
start = cstring.start;
len = cstring.len;
if (type == ST_UTF8){
stream_wstr = new w... | gpl-2.0 |
codelibs/n2dms | src/main/java/com/openkm/module/db/DbNoteModule.java | 9704 | package com.openkm.module.db;
import java.util.ArrayList;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.security.core.Authentication;
import com.openkm.bean.Note;
import com.openkm.core.AccessDeniedException;
import com.openkm.core.Config;
import com.openk... | gpl-2.0 |
rcfduarte/nmsat | docs/src/assets/javascripts/components/Material/Source/Adapter/Abstract.js | 3598 | /*
* Copyright (c) 2016-2017 Martin Donath <martin.donath@squidfunk.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 in the Software without restriction, including without limitation the
* rights... | gpl-2.0 |
facebookexperimental/eden | eden/mononoke/microwave/if/thrift_build.rs | 1910 | // @generated by autocargo
use std::env;
use std::fs;
use std::path::Path;
use thrift_compiler::Config;
#[rustfmt::skip]
fn main() {
// Rerun if this gets rewritten.
println!("cargo:rerun-if-changed=thrift_build.rs");
let out_dir = env::var_os("OUT_DIR").expect("OUT_DIR env not provided");
let out_di... | gpl-2.0 |
gunoodaddy/coconut | src/RedisRequest.cpp | 15548 | /*
* Copyright (c) 2012, Eunhyuk Kim(gunoodaddy)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of ... | gpl-2.0 |
Teness/BreakServer | test/functional/tasks_controller_test.rb | 1145 | require 'test_helper'
class TasksControllerTest < ActionController::TestCase
setup do
@task = tasks(:one)
end
test "should get index" do
get :index
assert_response :success
assert_not_nil assigns(:tasks)
end
test "should get new" do
get :new
assert_response :success
end
test "s... | gpl-2.0 |
Dr-Shadow/android_kernel_acer_c10 | mediatek/platform/mt6577/hardware/camera/hal/CamAdapter/mHal/mHalCamAdapter.cpp | 99712 | /* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein is
* confidential and proprietary to MediaTek Inc. and/or its licensors. Without
* the prior written permission of MediaTek inc. and/or ... | gpl-2.0 |
slackstone/tuxjunior | src/scripting/serialize.hpp | 1219 | // $Id: serialize.hpp 4063 2006-07-21 21:05:23Z anmaster $
//
// SuperTux
// Copyright (C) 2006 Matthias Braun <matze@braunis.de>
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; eith... | gpl-2.0 |
Saftemand/S_DW_Continuous_Deployment_Test | S_DW_Continuous_Deployment_test/CustomModules/CustomDealersearch/Objects/DealerCollection.cs | 1224 | using Dynamicweb;
using System.Data;
namespace CustomDealersearch
{
public class DealerCollection : System.Collections.Generic.List<Dealer>
{
public DealerCollection()
{
}
public DealerCollection(int categoryID)
{
string SQL = "SELECT * ";
SQL +=... | gpl-2.0 |
georgejhunt/HaitiDictionary.activity | data/words/potko.js | 124 | showWord(["adv. "," Poko, pako, advèb ki endike yon bagay poko fini osnon fèt. Jak potko vini lè lapli a tap tonbe a."
]) | gpl-2.0 |
nurulimamnotes/sistem-informasi-sekolah | jibas/infoguru/jadwal/blank_jadwalkelas.php | 2386 | <?
/**[N]**
* JIBAS Education Community
* Jaringan Informasi Bersama Antar Sekolah
*
* @version: 3.2 (September 03, 2013)
* @notes: JIBAS Education Community will be managed by Yayasan Indonesia Membaca (http://www.indonesiamembaca.net)
*
* Copyright (C) 2009 Yayasan Indonesia Membaca (http://www.indon... | gpl-2.0 |
x2nie/open10fingers | js/util.js | 236 | Array.prototype.contains = function(elm) {
for (var i = 0; i < this.length; i++) {
if (elm == this[i]) return true;
}
return false;
};
Array.prototype.random = function() {
return this[Math.floor(Math.random() * this.length)];
}; | gpl-2.0 |
jschwartzenberg/kicker | kicker/kicker/ui/addapplet.cpp | 9863 | /*****************************************************************
Copyright (c) 2007, 2006 Rafael Fernández López <ereslibre@kde.org>
Copyright (c) 2005 Marc Cramdal
Copyright (c) 2005 Aaron Seigo <aseigo@kde.org>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and assoc... | gpl-2.0 |
iWantMoneyMore/ykj | ykj-api/src/main/java/com/gnet/app/customerHouseProperty/CustomerHouseProperty.java | 1165 | package com.gnet.app.customerHouseProperty;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.gnet.mybatis.BaseEntity;
import lombok.Getter;
import lombok.Setter;
@Setter
@Getter
@Entity
@Table(name =... | gpl-2.0 |
Fluorohydride/ygopro-scripts | c48576971.lua | 3040 | --与奪の首飾り
function c48576971.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_CONTINUOUS_TARGET)
e1:SetTarget(c48576971.target)
e1:SetOperation(c48576971.ope... | gpl-2.0 |
agencerebus/Site-ariew | wp-content/themes/FoundationPress-master/js/script.js | 8382 | (function ($, root, undefined) {
$(function () {
'use strict';
init();
});
function init(){
first_scroll();
fixed_header();
margin_top();
copyright();
absolute_center('#arrow');
absolute_center('.calltoaction_text');
absolute_center('.bloc_content5');
details_toggle();
slider_produit();
c... | gpl-2.0 |
belkincapital/wpmunotify | js/notification-js.php | 5857 | <?php
/**
* WPMU Push (wpmunotify.com)
* Prepare notification script
* @author: Jason Jersey
* @since: 1.0
*/
function wpmun_notify_js() {
global $wpdb;
$user_id = get_current_user_id();
$post_id = get_posts("numberposts=1");
$wpmun_ip_address = $_SERVER['REMOTE_ADDR']; /** receiver ip */
$w... | gpl-2.0 |
ksjogo/TYPO3.CMS | typo3/sysext/workspaces/Classes/Domain/Record/WorkspaceRecord.php | 6359 | <?php
namespace TYPO3\CMS\Workspaces\Domain\Record;
/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and lice... | gpl-2.0 |
svn2github/autowikibrowser | tags/REL_4_3_2/UnitTests/ToolsTests.cs | 15590 | using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using WikiFunctions;
using System.Text.RegularExpressions;
using System.Diagnostics;
namespace UnitTests
{
[TestFixture]
public class ToolsTests
{
public ToolsTests()
{
Glob... | gpl-2.0 |
gaofengGit/TDQQ | TDQQ/obj/Debug/TDQQ_Content.g.i.cs | 608 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34003
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | gpl-2.0 |
htuyen1994/nukeviet_hue | admin/themes/package_theme_module.php | 5017 | <?php
/**
* @Project NUKEVIET 4.x
* @Author VINADES.,JSC (contact@vinades.vn)
* @Copyright (C) 2014 VINADES.,JSC. All rights reserved
* @License GNU/GPL version 2 or any later version
* @Createdate 2-2-2010 12:55
*/
if( ! defined( 'NV_IS_FILE_THEMES' ) ) die( 'Stop!!!' );
$xtpl = new XTemplate( 'pa... | gpl-2.0 |
CodeTreeCommunity/Shooter2D | Source/Shooter2D/Properties/AssemblyInfo.cs | 1362 | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Shooter2D")]
[assembly: AssemblyProduct(... | gpl-2.0 |
ATRGamers/ATRSeeder | PureSeeder.Core/Monitoring/ProcessMonitor.cs | 5073 | using System;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using ATRGamers.ATRSeeder.Core.Annotations;
using ATRGamers.ATRSeeder.Core.Configuration;
namespace ATRGamers.ATRSeeder.Core.Monitoring
{
public delegate void ProcessStateChangeHandler(object sender, P... | gpl-2.0 |
birkelbach/python-canbus | canbus/simulate.py | 7040 | # CAN-FIX Utilities - An Open Source CAN FIX Utility Package
# Copyright (c) 2012 Phil Birkelbach
#
# 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
# (a... | gpl-2.0 |
MatrixPeckham/Ray-Tracer-Ground-Up-Java | RayTracer-BookBuild/src/com/matrixpeckham/raytracer/build/figures/ch31/BuildFigure29C.java | 3259 | /*
* Copyright (C) 2016 William Matrix Peckham
*
* 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 progra... | gpl-2.0 |
seankelly/buildbot | master/buildbot/test/unit/test_data_buildrequests.py | 26077 | # This file is part of Buildbot. Buildbot 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.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without eve... | gpl-2.0 |
bcmb/Classes | Task3.java | 538 | package practice.one;
public class Task3 {
public static void main(String[] args) {
short short1 = 10 + 11;
short short2 = (short) (10 + (10.08f));
short short3 = (short) (10 + (1.008));
byte byteVar = 5;
float floatVar = 102.745f;
double doubleVar = 102457.44745;
short short4 = (short) (byteVar + ... | gpl-2.0 |
vazmer/edgar | wp-content/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php | 46489 | <?php
function ssba_admin_panel($arrSettings, $htmlSettingsSaved) {
// variables
$htmlShareButtonsForm = '';
// header
$htmlShareButtonsForm .= '<div id="ssba-header">';
//logo
$htmlShareButtonsForm .= '<div id="ssba-logo">';
$htmlShareButtonsForm .= '<a href="http://www.simplesharebuttons.com" target... | gpl-2.0 |
Click3X/abbot-water | wp-content/themes/ariva/templates/onepage-template.php | 3989 | <?php
/**
* Template Name: One Page Template
*
* @author FastWP
* @package Babel
* @since 1.0.0
*/
get_header();
global $ts_ariva;
?>
<!-- VIEW PORT TEST DIV - NOT VISIBLE -->
<div id="vw-test" class="vw-test"></div>
<!-- content -->
<div id="container_full">
<?php
while ( have_post... | gpl-2.0 |
TYPO3-extensions/oelib | Classes/Domain/Repository/CountryRepository.php | 1675 | <?php
/***************************************************************
* Copyright notice
*
* (c) 2012-2013 Oliver Klee <typo3-coding@oliverklee.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... | gpl-2.0 |
ya6adu6adu/schoolmule | dhtmlx/dhtmlxGrid/codebase/ext/dhtmlxgrid_mcol.js | 8155 | //v.3.5 build 120822
/*
Copyright DHTMLX LTD. http://www.dhtmlx.com
To use this component please contact sales@dhtmlx.com to obtain license
*/
dhtmlXGridObject.prototype.insertColumn=function(b,a,d,c,f,e,g,h,k){b=parseInt(b);if(b>this._cCount)b=this._cCount;if(!this._cMod)this._cMod=this._cCount;this._processAllArrays... | gpl-2.0 |
adamrduffy/pjx | src/main/java/com/etymon/pjx/stream/PdfDecodeStream.java | 4359 | /*
Copyright (C) Etymon Systems, Inc. <http://www.etymon.com/>
*/
package com.etymon.pjx.stream;
import java.io.*;
import java.util.*;
import com.etymon.pjx.*;
/**
Performs pipelined stream filtering to attempt to decode a stream.
This class is synchronized.
@author Nassib Nassar
*/
public class PdfDecode... | gpl-2.0 |
zhang123shuo/javamop | src/javamop/output/combinedaspect/indexingtree/centralized/FullParamIndexingTree.java | 13428 | package javamop.output.combinedaspect.indexingtree.centralized;
import java.util.HashMap;
import javamop.MOPException;
import javamop.output.MOPVariable;
import javamop.output.combinedaspect.event.advice.LocalVariables;
import javamop.output.combinedaspect.indexingtree.IndexingCache;
import javamop.output.com... | gpl-2.0 |
accruemarketing/DanceEnergy | wp-content/plugins/post-forking/tests/post_forking_test.php | 2876 | <?php
/**
* Core functions used in tested. All tests extend this class
* Creates objects for testing purposes
*
*/
class Post_Forking_Test extends WP_UnitTestCase {
static $instance;
function __construct() {
self::$instance = &$this;
}
function get_instance(... | gpl-2.0 |
RodneyMcKay/x_hero_siege | game/dota_addons/barebones/scripts/vscripts/abilities/heroes/hero_marine.lua | 6729 | function FanOfRockets( keys )
local caster = keys.caster
local ability = keys.ability
local particleName = "particles/econ/items/clockwerk/clockwerk_paraflare/clockwerk_para_rocket_flare.vpcf"
local modifierDudName = "modifier_fan_of_rockets_dud"
local projectileSpeed = 850
local radius = ability:GetLevelSpecial... | gpl-2.0 |
ghtmtt/DataPlotly | DataPlotly/test/test_translations.py | 1837 | # coding=utf-8
"""Safe Translations Test.
.. 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 License, or
(at your option) any later version.
"""
__auth... | gpl-2.0 |
titokone/titotrainer | public/js/utils.js | 3083 |
/*
* Miscellaneous utility functions.
*/
/**
* Writes the object to Firebug's console if Firebug is installed.
*/
function debug(obj) {
if (typeof(window.loadFirebugConsole) == 'function')
window.loadFirebugConsole();
if (window.console && window.console.log) {
window.console.log(obj);
... | gpl-2.0 |
eugeneuskov/modna | components/com_mijoshop/opencart/admin/model/localisation/return_status.php | 3929 | <?php
/*
* @package MijoShop
* @copyright 2009-2013 Miwisoft LLC, miwisoft.com
* @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
* @license GNU/GPL based on AceShop www.joomace.net
*/
// No Permission
defined('_JEXEC') or die('Restricted access');
class ModelLocalisationReturnStatus extends Model {
public ... | gpl-2.0 |
cleanrock/flobby | src/main.cpp | 3138 | // This file is part of flobby (GPL v2 or later), see the LICENSE file
#include "FlobbyDirs.h"
#include "FlobbyConfig.h"
#include "log/Log.h"
#include "controller/Controller.h"
#include "model/Model.h"
#include "gui/UserInterface.h"
#include <FL/Fl.H>
#include <csignal>
// TODO #include <pr-downloader.h>
static std::... | gpl-2.0 |
scoophealth/oscar | src/main/java/oscar/oscarLab/ca/all/upload/handlers/IHAPOIHandler.java | 7305 | /**
* 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 |
appsol/gf-quickbooks-online | public/class-gf-quickbooks-online-public.php | 2673 | <?php
/**
* The public-facing functionality of the plugin.
*
* @link http://example.com
* @since 0.1.0
*
* @package GFQuickbooksOnline
* @subpackage GFQuickbooksOnline/public
*/
namespace AppSol\GFQuickbooksOnline\Pub;
/**
* The public-facing functionality of the plugin.
*
* Defines the plugin... | gpl-2.0 |
mekolat/ManaPlus | src/resources/db/emotedb.cpp | 9474 | /*
* The ManaPlus Client
* Copyright (C) 2009 Aethyra Development Team
* Copyright (C) 2011-2018 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
* 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 |
ahmedRguei/job | typo3conf/ext/flux/Classes/Utility/AnnotationUtility.php | 5452 | <?php
namespace FluidTYPO3\Flux\Utility;
/*
* This file is part of the FluidTYPO3/Flux project under GPLv2 or later.
*
* For the full copyright and license information, please read the
* LICENSE.md file that was distributed with this source code.
*/
use TYPO3\CMS\Extbase\Reflection\ClassReflection;
use TYPO3\CMS... | gpl-2.0 |
iut-ibk/DynaMind-ToolBox | DynaMind-BasicModules/src/DynaMind-BasicModules/simplecrypt.cpp | 7260 | /*
Copyright (c) 2011, Andre Somers
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the fol... | gpl-2.0 |
Open-Transport/synthese | legacy/server/src/10_db/103_svn/SVNCommitAction.cpp | 4200 |
//////////////////////////////////////////////////////////////////////////
/// SVNCommitAction class implementation.
/// @file SVNCommitAction.cpp
/// @author Hugues Romain
/// @date 2012
///
/// This file belongs to the SYNTHESE project (public transportation specialized software)
/// Copyright (C) 2002 Hugue... | gpl-2.0 |
ProfessorX/Config | .PyCharm30/system/python_stubs/-1247971765/_ssl.py | 59543 | # encoding: utf-8
# module _ssl
# from /usr/lib/python3.4/lib-dynload/_ssl.cpython-34m-x86_64-linux-gnu.so
# by generator 1.135
"""
Implementation module for SSL socket operations. See the socket module
for documentation.
"""
# imports
import ssl as __ssl
# Variables with simple values
ALERT_DESCRIPTION_ACCESS_DEN... | gpl-2.0 |
Epix37/Hearthstone-Deck-Tracker | Hearthstone Deck Tracker/Enums/DeckLayout.cs | 243 | namespace Hearthstone_Deck_Tracker.Enums
{
public enum DeckLayout
{
[LocDescription("Enum_DeckLayout_Layout1")]
Layout1,
[LocDescription("Enum_DeckLayout_Layout2")]
Layout2,
[LocDescription("Enum_DeckLayout_Legacy")]
Legacy
}
}
| gpl-2.0 |
nologic/nabs | client/trunk/shared/libraries/je-3.2.74/test/com/sleepycat/je/RunRecoveryFailureTest.java | 4948 | /*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2002,2008 Oracle. All rights reserved.
*
* $Id: RunRecoveryFailureTest.java,v 1.34.2.4 2008/01/07 15:14:25 cwl Exp $
*/
package com.sleepycat.je;
import java.io.File;
import java.io.RandomAccessFile;
import java.nio.ByteBuffer;
import... | gpl-2.0 |
czurnieden/Little | libs/frexp.js | 1896 | /*
Port of the Posix frexp(3) from the SunPro C-code
Needs current ECMAScript 5.1 to work
*/
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunPro, a Sun Microsystems, Inc. business.
* Permission to use, copy, mod... | gpl-2.0 |
nizaranand/tide-and-pool | wp-content/plugins/woocommerce-gravityforms-product-addons/gravityforms-product-addons.php | 37988 | <?php
/*
Plugin Name: WooCommerce - Gravity Forms Product Add-Ons
Plugin URI: http://woothemes.com/woocommerce
Description: Allows you to use Gravity Forms on individual WooCommerce products. Requires the Gravity Forms plugin to work.
Version: 2.1
Author: Lucas Stark
Author URI: http://lucasstark.com... | gpl-2.0 |
pngames/pavillon-noir | pavillonnoir/__src/pncommon/PNRendererInterface.cpp | 1905 | /*
* PNRendererInterface.cpp
*
* Description :
* PNRendererInterface definition
*
* Copyright (C) 2005 PAVILLON-NOIR TEAM, http://pavillon-noir.org
* This software has been written in EPITECH <http://www.epitech.net>
* EPITECH is computer science school in Paris - FRANCE -
* under the direction of flav <http:... | gpl-2.0 |
tectronics/volunteer-passport | units/rpc/rpc_init.php | 1842 | <?php
/*
* XML-RPC init stuff
*/
// The class libraries
include_once $CFG->dirroot . "units/rpc/lib/class_elggobject.php";
include_once $CFG->dirroot . "units/rpc/lib/class_user.php";
include_once $CFG->dirroot . "units/rpc/lib/class_weblog.php";
include_once $CFG->dirr... | gpl-2.0 |