repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
vividoranje/drupal6 | sites/all/modules/civicrm/CRM/Contribute/Import/Controller.php | 2618 | <?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 3.1 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2010 |
+--------------------... | gpl-2.0 |
GeneSurvey/TcgaGSData | src/org/mda/bcb/tcgagsdata/CallFromR.java | 23047 | /*
TcgaGSData Copyright 2014, 2015, 2016 University of Texas MD Anderson Cancer Center
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 v... | gpl-2.0 |
phoenix19900219/publish_aar_or_jar_to_local_demo | alib/src/test/java/com/stone/alib/ExampleUnitTest.java | 392 | package com.stone.alib;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void additio... | gpl-2.0 |
d7415/merlin | Hooks/sms/__init__.py | 1145 | # This file is part of Merlin.
# Merlin is the Copyright (C)2008,2009,2010 of Robin K. Hansen, Elliot Rosemarine, Andreas Jacobsen.
# Individual portions may be copyright by individual contributors, and
# are included in this collective work with permission of the copyright
# owners.
# This program is free software; ... | gpl-2.0 |
sergei-svistunov/gorpc | transport/http_json/swagger_json_test.go | 966 | package http_json
import (
"io/ioutil"
"net/http"
"net/http/httptest"
"testing"
"github.com/sergei-svistunov/gorpc"
"github.com/stretchr/testify/suite"
test_handler1 "github.com/sergei-svistunov/gorpc/test/handler1"
)
// Suite
type SwaggerJSONSute struct {
suite.Suite
server *httptest.Server
}
func (s *S... | gpl-2.0 |
freestyleinternet/oxford-cartographers | wp-content/themes/oxford-cartographers/sidebar.php | 2999 | <?php
$result = '';
$subscribeError = '';
if (isset($_POST['email']) AND $_POST['email'] != '')
{
include("lib/class.mailchimp.php");
// in mailchimp this is held in account > api
$api = new MCAPI('89d78b2b770f72e8b9e73052e56494c9-us5');
$merge_vars = array
(
'FNAME' => $_POST['lname'],
... | gpl-2.0 |
imadkaf/lsdoEZ4 | lib/ezpdf/classes/ezpdf.php | 44662 | <?php
//
// Created on: <26-Aug-2003 15:15:32 kk>
//
// ## BEGIN COPYRIGHT, LICENSE AND WARRANTY NOTICE ##
// SOFTWARE NAME: eZ Publish Community Project
// SOFTWARE RELEASE: 4.2011
// COPYRIGHT NOTICE: Copyright (C) 1999-2011 eZ Systems AS
// SOFTWARE LICENSE: GNU General Public License v2.0
// NOTICE: >
// This pr... | gpl-2.0 |
w2/ctb | modules/mod_login/tmpl/default.php | 5755 | <?php
/**
* @package Joomla.Site
* @subpackage mod_login
*
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
require_once JPATH_SITE . '/components/com_users/help... | gpl-2.0 |
SermonDistributor/Joomla-3-Component | admin/views/help_document/tmpl/edit.php | 7609 | <?php
/*-------------------------------------------------------------------------------------------------------------| www.vdm.io |------/
____ ____ __ __ __
/\ _`\ /\ _`\ __... | gpl-2.0 |
ngxuanmui/hanhphuc.vn | templates/hanhphuc/html/mod_hp_b_blogs/default.php | 1589 | <?php
/**
* @package Joomla.Site
* @subpackage mod_banners
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
?>
<script type="text/javascr... | gpl-2.0 |
dherrerav/Azteca-Sonora | administrator/components/com_acymailing/views/cpanel/tmpl/mail.php | 14916 | <?php
/**
* @copyright Copyright (C) 2009-2012 ACYBA SARL - All rights reserved.
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
*/
defined('_JEXEC') or die('Restricted access');
?>
<div id="page-mail">
<br style="font-size:1px;" />
<fieldset class="adminform" >
<legend><?php echo JText::_... | gpl-2.0 |
osv/cose | thirdparty/clunk/contrib/ogg_stream.cpp | 2355 | #include "ogg_stream.h"
#include "../sample.h"
#include <assert.h>
#include <stdexcept>
//This example is the public domain
static size_t stream_read_func (void *ptr, size_t size, size_t nmemb, void *datasource) {
//LOG_DEBUG(("read(%p, %u, %u)", ptr, (unsigned)size, (unsigned)nmemb));
assert(datasource != NULL);
... | gpl-2.0 |
christopher-johnson/cyto-rdf | helixsoft-commons/nl.helixsoft.gui/src/nl/helixsoft/param/ParameterPanel.java | 2986 | // PathVisio,
// a tool for data visualization and analysis using Biological Pathways
// Copyright 2006-2009 BiGCaT Bioinformatics
//
// 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
//
// ht... | gpl-2.0 |
eugeis/eugeis-seminarman | site/views/tags/tmpl/default_courses.php | 5059 | <?php
/**
* @Copyright Copyright (C) 2010 www.profinvent.com. All rights reserved.
* Copyright (C) 2011 Open Source Group GmbH www.osg-gmbh.de
* @website http://www.profinvent.com
* @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
**/
defined('_JEXEC') or die('Restricted access');
jimport( 'joomla.html.... | gpl-2.0 |
donatellosantoro/freESBee | freesbeeGE/test/test/it/unibas/freesbee/ge/funzionali/i/Pubblicazione13.java | 4684 | package test.it.unibas.freesbee.ge.funzionali.i;
import it.unibas.freesbee.ge.messaggi.XmlJDomUtil;
import it.unibas.freesbee.ge.persistenza.hibernate.DAOCategoriaEventiEsternaHibernate;
import it.unibas.freesbee.ge.persistenza.hibernate.DAOCategoriaEventiInternaHibernate;
import it.unibas.freesbee.ge.persistenza.hibe... | gpl-2.0 |
tintintti/qt-software-project | db/20160616072144_fix_topic_column_names.rb | 339 | class FixTopicColumnNames < ActiveRecord::Migration
def change
rename_column :topics, :mainpid, :mainPid
rename_column :topics, :isquestion, :isQuestion
rename_column :topics, :issolved, :isSolved
rename_column :topics, :relativetime, :relativeTime
rename_column :topics, :lastposttimeiso, :lastpos... | gpl-2.0 |
christianchristensen/resin | modules/quercus/src/com/caucho/quercus/lib/i18n/Utf8Encoder.java | 3434 | /*
* 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 |
gwupe/Gwupe | BlitsMeAgent/UI/WPF/Utils/ImageStreamReader.cs | 1347 | using System;
using System.Globalization;
using System.IO;
using System.Windows.Data;
using System.Windows.Media.Imaging;
using Gwupe.Agent.Properties;
namespace Gwupe.Agent.UI.WPF.Utils
{
class ImageStreamReader : IValueConverter
{
public object Convert(object value, Type targetType, objec... | gpl-2.0 |
mviitanen/marsmod | mcp/src/minecraft/net/minecraft/block/BlockVine.java | 15507 | package net.minecraft.block;
import java.util.Random;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.ite... | gpl-2.0 |
protyposis/SRC.NET | SRC.NET/LibSampleRate/SrcData.cs | 2744 | /*
** Copyright (C) 2002-2011 Erik de Castro Lopo <erikd@mega-nerd.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 v... | gpl-2.0 |
ravikr9096/wcg | wp-content/themes/arch/template-fullwidth.php | 427 | <?php
/*
Template Name: Fullwidth
*/
?>
<?php get_header(); ?>
<div class="inside load-item">
<div class="page-content fullwidth">
<!--FULLWIDTH-->
<?php get_theme_page_title(); ?>
<div class="theme-pages">
<?php
if (have_posts()) :
while (have_posts()) : the_post();
the_... | gpl-2.0 |
rinkuvantage/puyangantemples | wp-content/plugins/temple/listdistricts.php | 5915 | <?php
global $wpdb;
$prefix=$wpdb->base_prefix;
$totalrec=20;
if(isset($_REQUEST['pagedid']) && $_REQUEST['pagedid']>1)
{
$pageid=$_REQUEST['pagedid'];
$limitstart=$totalrec*($pageid-1);
}
else
{
$pageid=1;
$limitstart=0;
$limitsend=$totalrec;
}
$cnd='';
$state_id='';
$district_id='';
if(iss... | gpl-2.0 |
leoloso/PoP | layers/Legacy/Schema/packages/migrate-everythingelse/migrate/migrate-packages/migrate-media/initialize.php | 584 | <?php
$class = (new class() extends \PoP\Root\Component\AbstractComponent
{
/**
* Classes from PoP components that must be initialized before this component
*
* @return string[]
*/
public function getDependedComponentClasses(): array
{
return [];
}
/**
* Boot compon... | gpl-2.0 |
Cide424/cidewebpage | components/com_eventgallery/views/snippets/tmpl/event/simple.php | 1619 | <?php
/**
* @package Sven.Bluege
* @subpackage com_eventgallery
*
* @copyright Copyright (C) 2005 - 2013 Sven Bluege All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
?>
<div itemscope ... | gpl-2.0 |
dudemanvox/Dawn-of-Light-Server | DOLDatabase/Tables/Artifact.cs | 7708 | /*
* DAWN OF LIGHT - The first free open source DAoC server emulator
*
* 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 ver... | gpl-2.0 |
kydrenw/boca | wp-content/themes/boca/templates/header.php | 2063 | <section id="top-header">
<div class="container">
<div class="content row">
<div class="col-sm-12">
<div id="logo-content">
<div><a href="#"><img src="<?php echo bloginfo('template_url'); ?>/assets/img/main-logo.png" alt="Boca"></a></div>
<h1>Bristol Owners Club</h1>
<d... | gpl-2.0 |
hashfunktion/icingaweb2-module-director | library/Director/Web/Table/SyncruleTable.php | 1838 | <?php
namespace Icinga\Module\Director\Web\Table;
use dipl\Html\Link;
use dipl\Web\Table\ZfQueryBasedTable;
class SyncruleTable extends ZfQueryBasedTable
{
protected $searchColumns = [
'rule_name',
'description',
];
protected function assemble()
{
$this->getAttributes()->add(... | gpl-2.0 |
Baaleos/nwnx2-linux | plugins/jvm/java/src/org/nwnx/nwnx2/jvm/constants/FeatGreaterSpell.java | 1751 | package org.nwnx.nwnx2.jvm.constants;
/**
* This class contains all unique constants beginning with "FEAT_GREATER_SPELL".
* Non-distinct keys are filtered; only the LAST appearing was
* kept.
*/
public final class FeatGreaterSpell {
private FeatGreaterSpell() {}
public final static int FOCUS_ABJURATION = 393;
... | gpl-2.0 |
Wikia/OldStructuredDataPrototype | extensions/VisualEditor/modules/ve/init/sa/ve.init.sa.Target.js | 1281 | /*!
* VisualEditor Standalone Initialization Target class.
*
* @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
/**
* Initialization Standalone target.
*
* @example
* new ve.init.sa.Target(
* $( '<div>' ).appendTo( 'body' ... | gpl-2.0 |
Voskrese/mipsonqemu | user/uc/home/source/unused/cp_domain.php | 2150 | <?php
/*
[UCenter Home] (C) 2007-2008 Comsenz Inc.
$Id: cp_domain.php 12141 2009-05-12 07:07:52Z zhengqingpeng $
*/
if(!defined('IN_UCHOME')) {
exit('Access Denied');
}
//¶þ¼¶ÓòÃû
$domainlength = checkperm('domainlength');
if($_SCONFIG['allowdomain'] && $_SCONFIG['domainroot'] && $domainlength) {
$... | gpl-2.0 |
gamenew09/GMod-Jailbreak | entities/weapons/weapon_weaponchecker/shared.lua | 2031 | -- First some standard GMod stuff
if SERVER then
AddCSLuaFile( )
end
if CLIENT then
SWEP.PrintName = "Weapon Checker"
SWEP.Slot = 0 -- add 1 to get the slot number key
SWEP.ViewModelFOV = 72
SWEP.ViewModelFlip = true
end
SWEP.IllegalWeapons = {
"ptp_cs"
}
-- Always derive from weapon_tttbase.
... | gpl-2.0 |
enixdark/Project_Class_Management | src/DTO/New_DTO.java | 494 | package DTO;
public class New_DTO {
private int manew;
private String news;
public int getManew() {
return manew;
}
public void setManew(int manew) {
this.manew = manew;
}
public String getNews() {
return news;
}
public void setNews(String news) {
this.news = news;
}
public New_DTO(int manew){
thi... | gpl-2.0 |
apoorvingle/tango-with-django | tango_with_django_project/populate_rango.py | 1763 | import os
def populate():
python_cat = add_cat('Python')
add_page(cat=python_cat,
title="Official Python Tutorial",
url="http://docs.python.org/2/tutorial/")
add_page(cat=python_cat,
title="How to Think like a Computer Scientist",
url="http://www.greenteapress.com/thinkpyt... | gpl-2.0 |
freeenergy/review | wp-content/themes/review_engine_developer/processing/single_product_processing.php | 10138 | <?php
global $current_user, $user_ID, $post, $wpdb, $helper, $wp_query;
/**
* show product
*/
$product = array(
'rating' => array(
'user' => array(
'count' => 0,
'rating' => 0
),
'editor' => array(
'count' => 0,
'rating' => 0
)
));
$product['rating']['user']['count'] = get_post_meta($post->ID, PRODUCT_... | gpl-2.0 |
nattthebear/dolphin-avsync | Source/Core/VideoCommon/Src/HiresTextures.cpp | 4296 | // Copyright (C) 2003 Dolphin Project.
// 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.0.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WAR... | gpl-2.0 |
fahadhatib/KwaMoja | Z_CheckGLTransBalance.php | 1414 | <?php
include('includes/session.inc');
$Title = _('Check Period Sales Ledger Control Account');
include('includes/header.inc');
echo '<table>';
$Header = '<tr>
<th>' . _('Type') . '</th>
<th>' . _('Number') . '</th>
<th>' . _('Period') . '</th>
<th>' . _('Difference') . '</th>
</tr>';
echo $Header;
$... | gpl-2.0 |
WillyXJ/facileManager | server/fm-modules/fmFirewall/variables.inc.php | 6880 | <?php
/*
+-------------------------------------------------------------------------+
| Copyright (C) 2013-2019 The facileManager Team |
| |
| This program is free software; you can redistribute it and/or |
| ... | gpl-2.0 |
Josemurillo/frokTinkel | src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/instance_ruby_sanctum.cpp | 22665 | /*
* 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 |
sniezekjp/prod-fs | wp-content/themes/fairfax-stars/woocommerce/single-product/product-image.php | 1406 | <?php
/**
* Single Product Image
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.0.14
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
global $post, $woocommerce, $product;
?>
<div class="images">
<?php
if ( has_post_thumbnail() ) {
$image_title = esc_... | gpl-2.0 |
bonfil1/masmuscular | wp-content/themes/sportexx/templates/sections/team-member.php | 785 | <?php
/**
* Team Member
*
* @author Transvelo
* @package Sportexx/Templates
* @version 1.0.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<div class="team">
<?php
$args = array(
'post_type' => 'team-member',
'post__in' => array($id),
);
query_posts( $args );
?>
<?php while ( have_posts() ... | gpl-2.0 |
hroncok/devassistant | test/dapi/test_dapicli.py | 6671 | # -*- coding: utf-8 -*-
import pytest
import glob
import os
import six
import sys
import yaml
from flexmock import flexmock
from devassistant import dapi
from devassistant.dapi import dapicli
class TestDapicli(object):
'''Test if the Dapi CLI works'''
users_yaml = '''
count: 2
next: null
previous: null
resu... | gpl-2.0 |
reparosemlagrima/producao | components/com_jcart/admin/language/en-gb/module/special.php | 902 | <?php
/**
* @package jCart
* @copyright Copyright (C) 2009 - 2016 softPHP,http://www.soft-php.com
* @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
// Heading
$_['heading_title'] = 'Specials';
// Text
$_['text_module'] = 'Mod... | gpl-2.0 |
quamen/enki | vendor/ruby-openid-2.0.2/test/test_cryptutil.rb | 3199 | require 'test/unit'
require "openid/cryptutil"
class CryptUtilTestCase < Test::Unit::TestCase
BIG = 2 ** 256
def test_rand
# If this is not true, the rest of our test won't work
assert(BIG.is_a?(Bignum))
# It's possible that these will be small enough for fixnums, but
# extraorindarily unlikely.
... | gpl-2.0 |
diatem-net/framework-jin | jin/image/imagepart.php | 2048 | <?php
/**
* Jin FrameWork
*/
namespace jin\image;
use jin\image\Image;
/**
* Classe permettant d'exploiter une portion d'un objet Image Jin.
* @author Loïc Gerard
*/
class ImagePart {
/**
* Ressource image contenant la portion coupée
* @var resource
*/
private $cuttedRess... | gpl-2.0 |
chrisjihee/java_toolkit | src/test/kr/ac/kaist/ir/java_toolkit/lang/TestLang.java | 7868 | /**
* Utility package
*/
package kr.ac.kaist.ir.java_toolkit.lang;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.time.Instant;
import java.util.Date;
import java.util.HashMa... | gpl-2.0 |
stevezuoli/BooxApp | sdk/code/examples/sys/battery_test.cpp | 424 |
#include <QtGui/QtGui>
#include "onyx/sys/sys.h"
int main(int argc, char* argv[])
{
QApplication app(argc, argv);
SysStatus & sys_status = SysStatus::instance();
int left = 0;
int status = BATTERY_STATUS_DANGEROUS;
if (argc >= 3)
{
left = app.arguments().at(1).toInt();
status... | gpl-2.0 |
cameronscott137/rustbuilt | wp-content/themes/rustbuilt/core/model/modx/processors/element/plugin/create.class.php | 2744 | <?php
require_once (dirname(dirname(__FILE__)).'/create.class.php');
/**
* Creates a plugin
*
* @param string $name The name of the plugin
* @param string $plugincode The code of the plugin.
* @param string $description (optional) A description of the plugin.
* @param integer $category (optional) The category for... | gpl-2.0 |
mfournier/puppet | lib/puppet/provider/service/init.rb | 3943 | # The standard init-based service type. Many other service types are
# customizations of this module.
Puppet::Type.type(:service).provide :init, :parent => :base do
desc "Standard init service management.
This provider assumes that the init script has no ``status`` command,
because so few scripts do, so y... | gpl-2.0 |
oniiru/html | sendy/includes/campaigns/check_sns.php | 3735 | <?php
include('../config.php');
include('../helpers/class.phpmailer.php');
include('../helpers/ses.php');
//--------------------------------------------------------------//
function dbConnect() { //Connect to database
//--------------------------------------------------------------//
// Access global variab... | gpl-2.0 |
liningwang/camera-beijing | android-php-weibo/client/src/com/app/demos/test/TestProxy.java | 1012 | package com.app.demos.test;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
import com.app.demos.util.AppUtil;
public class TestProxy implements InvocationHandler {
Object testObj;
public TestProxy (Object obj) {
testObj = obj;
}
public static O... | gpl-2.0 |
yakuzmenko/bereg | templates/berehynya/html/com_k2/default/item.php | 29209 | <?php
/**
* @version $Id: item.php 1812 2013-01-14 18:45:06Z lefteris.kavadas $
* @package K2
* @author JoomlaWorks http://www.joomlaworks.net
* @copyright Copyright (c) 2006 - 2013 JoomlaWorks Ltd. All rights reserved.
* @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html
*/
// no direct access
d... | gpl-2.0 |
rogoznik/test | sample2/function.cpp | 1814 | #include <function.h>
int qwe(std::string s1, std::string s2){
int result=0;
int k,n;
if (s1.length() >= s2.length()){
for (int i=0; i < s1.length(); i++){
k=0;
n=i;
if (result > (s1.length()-i)) break;
if ((s1.length()-i) >= s2.length()){
... | gpl-2.0 |
lewurm/graal | graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/calc/OrNode.java | 3038 | /*
* Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | gpl-2.0 |
ptidej/SmellDetectionCaller | PADL/src/padl/kernel/impl/Relationship.java | 2917 | /*******************************************************************************
* Copyright (c) 2001-2014 Yann-Gaël Guéhéneuc and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v2.0
* which accompanies this dist... | gpl-2.0 |
mafru/icms2 | system/controllers/admin/forms/form_ctypes_basic.php | 23399 | <?php
class formAdminCtypesBasic extends cmsForm {
public function init($do, $ctype) {
$template = new cmsTemplate(cmsConfig::get('template'));
$meta_ctype_fields = [
'ctype_title' => LANG_CONTENT_TYPE . ': ' . LANG_TITLE,
'ctype_description' => LANG_CONTENT_TYPE . '... | gpl-2.0 |
paulkarlik/Standards | wp-content/themes/skeleton/checkout/form.php | 629 | <?php do_action('before_checkout_form'); ?>
<form name="checkout" method="post" class="checkout" action="<?php echo jigoshop_cart::get_checkout_url(); ?>">
<div class="col2-set" id="customer_details">
<div class="one_half">
<?php do_action('jigoshop_checkout_billing'); ?>
</div>
<div class="one_hal... | gpl-2.0 |
Frankenhooker/FCore | src/server/shared/Database/Implementation/LoginDatabase.cpp | 13876 | /*
* Copyright (C) 2008-2013 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 |
yakuzmenko/bereg | administrator/components/com_users/views/debuguser/view.html.php | 1386 | <?php
/**
* @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;
/**
* View class for a list of users.
*
* @package Joomla.Administrator
* @subpackage com_users
... | gpl-2.0 |
twistedvisions/anaximander | lib/parser/writers/getSubTypes.js | 5608 | var when = require("when"),
guard = require("when/guard"),
_ = require("underscore"),
winston = require("winston"),
utils = require("../utils"),
lock = require("../acquireLock"),
db = require("../raw_db");
lock.start();
var getSubtypeIdQuery = _.template([
"SELECT id",
"FROM type",
"WHER... | gpl-2.0 |
sunmoyi/ACM | ACM 2015/The Doors.cpp | 17607 | #include<cstdio>
#include<vector>
#include<cmath>
#include<algorithm>
using namespace std;
#define PI acos(-1.0)
#define TWO_PI 2 * acos(-1.0)
const double eps = 1e-8;
double dcmp(double x) {
if (fabs(x) < eps) return 0; else return x < 0 ? -1 : 1;
}
struct Point {
double x, y;
Point(double x = 0, d... | gpl-2.0 |
ValkyrieUK/habitatSMP-Forum | app/assets/javascripts/discourse/views/header_view.js | 4522 | /**
This view handles rendering of the header of the site
@class HeaderView
@extends Discourse.View
@namespace Discourse
@module Discourse
**/
Discourse.HeaderView = Discourse.View.extend({
tagName: 'header',
classNames: ['d-header', 'clearfix'],
classNameBindings: ['editingTopic'],
templateName: 'he... | gpl-2.0 |
evernote/pootle | tests/fixtures/models/user.py | 2023 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2014 Evernote Corporation
#
# This file is part of Pootle.
#
# 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 L... | gpl-2.0 |
sufism/qucs_chs | qucs-core/src/vector.cpp | 31021 | /*
* vector.cpp - vector class implementation
*
* Copyright (C) 2003, 2004, 2005, 2006, 2007 Stefan Jahn <stefan@lkcc.org>
* Copyright (C) 2006, 2007 Gunther Kraut <gn.kraut@t-online.de>
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as pub... | gpl-2.0 |
BiglySoftware/BiglyBT | core/src/com/biglybt/core/networkmanager/admin/NetworkAdminProgressListener.java | 984 | /*
* Created on Feb 1, 2008
* Created by Paul Gardner
*
* Copyright (C) Azureus Software, 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 Foundation; either version 2
* ... | gpl-2.0 |
MicroTrustRepos/microkernel | src/l4/pkg/l4re/util/libs/dataspace_svr.cc | 6162 | // vi:ft=cpp
/*
* (c) 2008-2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>,
* Alexander Warg <warg@os.inf.tu-dresden.de>,
* Torsten Frenzel <frenzel@os.inf.tu-dresden.de>
* economic rights: Technische Universität Dresden (Germany)
*
* This file is part of TUD:OS and distributed ... | gpl-2.0 |
serghei/kde3-kdelibs | kdeprint/lpr/klprfactory.cpp | 1141 | /*
* This file is part of the KDE libraries
* Copyright (c) 2001 Michael Goffioul <kdeprint@swing.be>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License version 2 as published by the Free Software Foundation.
*
* This l... | gpl-2.0 |
paranoiasystem/Java-RMI-projects | FERRAIOLIMARCO/src/Messaggio.java | 408 |
public class Messaggio {
private int id;
private String username;
private int count;
public Messaggio(int id, String username) {
this.id = id;
this.username = username;
this.count = 0;
}
public int getId() {
return this.id;
}
public String getUsername() {
return this.username;
}
public int ge... | gpl-2.0 |
cpuzzuol/library-wordpress | wp-content/plugins/libhours/includes/class.libhours.php | 13215 | <?php
class Libhours {
public static function cp_libhours_plugin_activation(){
$options = array(
);
add_option('cp_libhours_options', $options);
}
public static function cp_libhours_plugin_deactivation(){
}
public static function cp_libhours_init(){
add_action( 'wp_enqu... | gpl-2.0 |
alejob/mdanalysis | testsuite/MDAnalysisTests/topology/test_gms.py | 2322 | # -*- Mode: python; tab-width: 4; indent-tabs-mode:nil; coding:utf-8 -*-
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 fileencoding=utf-8
#
# MDAnalysis --- http://www.mdanalysis.org
# Copyright (c) 2006-2016 The MDAnalysis Development Team and contributors
# (see the file AUTHORS for the full list of names)
#
... | gpl-2.0 |
chiadem/YET | YAF.Types/Interfaces/Data/IDbSortableOperation.cs | 1285 | /* Yet Another Forum.NET
* Copyright (C) 2006-2013 Jaben Cargman
* http://www.yetanotherforum.net/
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or... | gpl-2.0 |
cmj123/medtechdevs_meetup | medtech_doctor_portal/client_pusher/client_pusher/ServerProxy.py | 277 | import requests
import json
class ServerProxy(object):
URL = 'someurl.com'
USERNAME = 'user'
PASSWORD = 'pass'
def __init__(self):
pass
def send_data(self, data):
result = requests.post(self.URL, data, auth=(self.USERNAME, self.PASSWORD)) | gpl-2.0 |
arafathnihar/esy | administrator/components/com_j2store/j2store.php | 2938 | <?php
/*------------------------------------------------------------------------
# com_j2store - J2Store
# ------------------------------------------------------------------------
# author Sasi varna kumar - Weblogicx India http://www.weblogicxindia.com
# copyright Copyright (C) 2012 Weblogicxindia.com. All Rights ... | gpl-2.0 |
ShimShtein/katello | engines/bastion_katello/test/errata/details/errata-content-hosts.controller.test.js | 4363 | /**
* Copyright 2014 Red Hat, Inc.
*
* This software is licensed to you under the GNU General Public
* License as published by the Free Software Foundation; either version
* 2 of the License (GPLv2) or (at your option) any later version.
* There is NO WARRANTY for this software, express or implied,
* including t... | gpl-2.0 |
rex-xxx/mt6572_x201 | packages/apps/Contacts/src/com/android/contacts/list/LegacyPostalAddressListAdapter.java | 4226 | /*
* Copyright (C) 2010 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 |
gerryDreamer/dreamerLib | src/com/dreamer/data/structures/ExtendedStackFunctions.java | 8229 | /*
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.
*
* Oracle and Java are registered trademarks of Oracle and/or its affiliates.
* Other names may be trademarks of their respective owners.
*
* The contents of this ... | gpl-2.0 |
JohannesBuchner/HIntLib | share/convert_matrix.cpp | 1873 | /*
* HIntLib - Library for High-dimensional Numerical Integration
*
* Copyright (C) 2002,03,04,05 Rudolf Schuerer <rudolf.schuerer@sbg.ac.at>
*
* 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 Softwar... | gpl-2.0 |
rickli/Java | Day2/com/darwinsys/database/GenericDAO.java | 987 | package com.darwinsys.database;
import java.io.Serializable;
/**
* Interface to be implemented by DAOs; using Java 5 Generics.
* @author Per Mellqvist, http://www.ibm.com/developerworks/java/library/j-genericdao.html
*/
public interface GenericDAO<T, PK extends Serializable> {
/** Persist the newInstance obje... | gpl-2.0 |
lamsfoundation/lams | 3rdParty_sources/spring/org/springframework/beans/factory/NoSuchBeanDefinitionException.java | 4944 | /*
* Copyright 2002-2016 the original author or authors.
*
* 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 ap... | gpl-2.0 |
GoldenGnu/jeveassets | src/main/java/net/nikr/eve/jeveasset/gui/dialogs/update/TaskDialog.java | 17457 | /*
* Copyright 2009-2021 Contributors (see credits.txt)
*
* This file is part of jEveAssets.
*
* jEveAssets 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 you... | gpl-2.0 |
PDavid/aTunes | aTunes/src/main/java/net/sourceforge/atunes/model/ILocalAudioObject.java | 2239 | /*
* aTunes
* Copyright (C) Alex Aranda, Sylvain Gaudard and contributors
*
* See http://www.atunes.org/wiki/index.php?title=Contributing for information about contributors
*
* http://www.atunes.org
* http://sourceforge.net/projects/atunes
*
* This program is free software; you can redistribute it and... | gpl-2.0 |
ronal2do/fonda56-theme | wp-content/plugins/smio-push-notification/class.controller.php | 10299 | <?php
class smpush_controller extends smpush_helper{
public static $apisetting;
public static $defconnection;
public static $pushdb;
public static $history;
public function __construct(){
$this->get_api_setting();
$this->set_def_connection();
$this->add_rewrite_rules();
$this->cr... | gpl-2.0 |
milowg/Par-N-Rar | SettingsDlg.cpp | 20833 | // This file is part of Par-N-Rar
// http://www.milow.net/site/projects/parnrar.html
//
// Copyright (c) Gil Milow
//
// Par-N-Rar 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 |
murraycu/prefixsuffix | src/string_renamer.cc | 3449 | /** Copyright (C) 2002-2015 The PrefixSuffix Development Team
*
* 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.
*
... | gpl-2.0 |
joshalbrecht/memdam | memdam/recorder/collector/osx/webcam.py | 896 |
import os
import tempfile
import subprocess
import memdam.common.event
import memdam.recorder.collector.collector
class WebcamCollector(memdam.recorder.collector.collector.Collector):
'''
Collects snapshots from webcam by using external universal (osx) binary wacaw
'''
def _collect(self, limit):
... | gpl-2.0 |
Voskrese/mipsonqemu | user/uc/home/114/admin/controllers/ctl_trade_class.php | 4673 | <?php
/**
* 行业分类管理控制器
*
* @author eric <0o0zzyZ@gmail.com>
* @version $Id: ctl_trade_class.php 1542 2009-12-11 08:03:41Z syh $
*/
!defined('PATH_ADMIN') && exit('Forbidden');
class ctl_trade_class
{
/**
* 分类列表
*/
public function index()
{
try
{
app_tpl::assign(... | gpl-2.0 |
germaaan/trabajos_universidad | 2GII/PDOO/practica_02/java/Jugador.java | 1382 | package munchkin_cthulhu;
import java.util.ArrayList;
import java.util.Iterator;
/**
*
* @author Germán Martínez Maldonado
* @author José Rubén Sánchez Iruela
* @author Pablo Sánchez Robles
*/
public class Jugador {
private String nombre;
private int nivel;
private ArrayList<Tesoro> visibles;
pr... | gpl-2.0 |
lavigor/QuickReply | language/es/quickreply.php | 1617 | <?php
/**
*
* @package QuickReply Reloaded
* @copyright (c) 2014 - 2016 Tatiana5 and LavIgor
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}
if (empty($lang) || !is_array($lang))
{
$lang = array()... | gpl-2.0 |
blablack/ams-lv2 | src/lfo2_freq_ttl.hpp | 690 | #ifndef ams_lv__lfo__freq_ttl_hpp
#define ams_lv__lfo__freq_ttl_hpp
#ifndef PEG_STRUCT
#define PEG_STRUCT
typedef struct {
float min;
float max;
float default_value;
char toggled;
char integer;
char logarithmic;
} peg_data_t;
#endif
/* <http://github.com/blablack/ams-lv2/lfo2_freq> */
static const char ... | gpl-2.0 |
pavanratnakar/selebrations.pavanratnakar.com | wp-content/themes/abundance/js/aviaslider-dev.js | 22622 | /**
* AviaSlider - A jQuery image slider
* (c) Copyright Christian "Kriesi" Budschedl
* http://www.kriesi.at
* http://www.twitter.com/kriesi/
* For sale on ThemeForest.net
*/
/* this prevents dom flickering, needs to be outside of dom.ready event: */
document.documentElement.className += ' js_active ';
/*end dom... | gpl-2.0 |
arobbins/wp-shopify | classes/factories/db/class-db-factory.php | 300 | <?php
namespace WPS\Factories\DB;
use WPS\DB;
if (!defined('ABSPATH')) {
exit;
}
class DB_Factory {
protected static $instantiated = null;
public static function build() {
if (is_null(self::$instantiated)) {
self::$instantiated = new DB();
}
return self::$instantiated;
}
}
| gpl-2.0 |
yixu34/Mastrix | clviewport.cpp | 5288 | #include "mastrix.hpp"
//#define SCREEN_WIDTH 1024
//#define SCREEN_HEIGHT 768
//TODO: get the viewports to change resolutions correctly
static int screenWidth = 1024;//graphics.getScreenWidth();
static int screenHeight = 768;//graphics.getScreenHeight();
const ClientViewport viewport_full (0, -1, 0, -1,... | gpl-2.0 |
mitchbasetwo/wordpress-test | wp-content/plugins/give/includes/payments/functions.php | 43115 | <?php
/**
* Payment Functions
*
* @package Give
* @subpackage Payments
* @copyright Copyright (c) 2015, WordImpress
* @license http://opensource.org/licenses/gpl-1.0.php GNU Public License
* @since 1.0
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/*... | gpl-2.0 |
leocockroach/JasperServer5.6 | jasperserver-remote-tests/src/test/java/com/jaspersoft/jasperserver/ws/axis/authority/UserAndRoleManagement.java | 1358 | /**
* UserAndRoleManagement.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.3 Oct 05, 2005 (05:23:37 EDT) WSDL2Java emitter.
*/
package com.jaspersoft.jasperserver.ws.axis.authority;
public interface UserAndRoleManagement extends java.rmi.Remote {
public com.jaspersoft.jasperserver.ws.... | gpl-2.0 |
tonygambone/henricocrime | tools/fetch.php | 182 | #!/usr/bin/env php
<?php
require_once("HenricoCrime.php");
$date = $argv[1];
$h=new HenricoCrime($date);
echo $h->get_incidents()." incidents found.\n";
$h->save_incidents();
?>
| gpl-2.0 |
shizus/farhatguitar | plugins/list-category-posts/include/lcp-catlistdisplayer.php | 17547 | <?php
/**
* This is an auxiliary class to help display the info
* on your CatList instance.
* @author fernando@picandocodigo.net
*/
require_once 'lcp-catlist.php';
class CatListDisplayer {
private $catlist;
private $params = array();
private $lcp_output;
public static function getTemplatePaths(){
$temp... | gpl-2.0 |
LulzJs/DaDumpster | random/code/classExample.js | 1521 | 'use strict'
//Abstractiun type 1
function Apple (type, color) {
this.type = type;
this.color = color;
this.ToString = function() {
return 'Apple: ' + this.type + ' ' + this.color;
};
}
//Abstractiun type 2
function Pear (type, color){
this.type = type;
this.color = color;
}
Pear.prototyp... | gpl-2.0 |
fritids/embroideryadvertisers | wp-content/plugins/mailpress/mp-includes/js/fileupload/si.files.js | 1284 | // STYLING FILE INPUTS 1.0 | Shaun Inman <http://www.shauninman.com/> | 2007-09-07
if (!window.SI) { var SI = {}; };
SI.Files =
{
htmlClass : 'SI-FILES-STYLIZED',
fileClass : 'file',
wrapClass : 'cabinet',
fini : false,
able : false,
stylize : function(elem)
{
if (!this.fini) { this.init(); };... | gpl-2.0 |
timofeysie/myra | .c9/metadata/workspace/config/application.rb | 431 | {"filter":false,"title":"application.rb","tooltip":"/config/application.rb","undoManager":{"mark":0,"position":-1,"stack":[]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":23,"column":0},"end":{"row":23,"column":0},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wra... | gpl-2.0 |
Automattic/simplenote-electron | lib/icons/simplenote.tsx | 855 | import React from 'react';
export default function SimplenoteLogo() {
return (
<svg className="logo" width="96" height="96" viewBox="0 0 176 176">
<g fillRule="evenodd" clipRule="evenodd">
<circle cx="88" cy="88" r="88" fill="#fff" />
<path
d="M152.37 87.885c0-34.066-27.182-63.42-... | gpl-2.0 |
DB-SE/isp2014.anne.reich | task2/MangaDB/src/isp1415/ar/guiPack/Bibo.java | 33036 | package isp1415.ar.guiPack;
import isp1415.ar.Main;
import isp1415.ar.dbPack.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent... | gpl-2.0 |