repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
EldadDor/AnnoRefPlugin | src/main/java/com/idi/intellij/plugin/query/annoref/lang/AnnoRefHighlightingAnnotator.java | 6610 | /*
* User: eldad.Dor
* Date: 16/02/14 10:42
*
* Copyright (2005) IDI. All rights reserved.
* This software is a proprietary information of Israeli Direct Insurance.
* Created by IntelliJ IDEA.
*/
package com.idi.intellij.plugin.query.annoref.lang;
import com.google.common.collect.Lists;
import com.idi.intell... | gpl-2.0 |
l4ka/idl4 | src/be/ops/alloc.cc | 1111 | #include "ops.h"
#define dprintln(a...) do { if (debug_mode&DEBUG_MARSHAL) println(a); } while (0)
CBEOpAllocOnServer::CBEOpAllocOnServer(CMSConnection *connection, CBEType *type, CBEParameter *param, int flags) : CBEMarshalOp(connection, 0, NULL, param, flags)
{
this->type = type;
this->tempVar = NULL;
}
void ... | gpl-2.0 |
BisongT/Myevent_website | wp-content/themes/Basetheme/post-types/action-post-type-occasions.php | 3996 | <?php
// Register Custom taxonomy
function Occasion_items() {
$labels = array(
'name' => 'myoccasions',
'singular_name' => 'myoccasion',
'menu_name' => 'Myoccasions',
'parent_item' => 'parent_item',
'parent_item_colon' => 'Parent Item:',
'all_items' ... | gpl-2.0 |
thepixture/html5data | languages/de/tl_article.php | 340 | <?php
$GLOBALS['TL_LANG']['tl_article']['html5data'][0] = 'HTML5 Data-Attribut';
$GLOBALS['TL_LANG']['tl_article']['html5data'][1] = 'Geben Sie einen Namen (ohne data-) und einen Wert ein.';
$GLOBALS['TL_LANG']['tl_article']['html5data_attribute_name'] = 'Name';
$GLOBALS['TL_LANG']['tl_article']['html5data_attribu... | gpl-2.0 |
liquidmetal/bananaman | jni/gfx/bullet/btMinkowskiPenetrationDepthSolver.cpp | 12026 | /*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
P... | gpl-2.0 |
dj6/funbreak | app.js | 2017 | var express = require('express');
var path = require('path');
var mongoose = require('mongoose');
var morgan =require('morgan');//express.logger
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
var session = require('express-session');
var mongoStore = require('connect-mongo')(ses... | gpl-2.0 |
ZDteam/emil | components/com_easyblog/themes/default/blog.categories.php | 8817 | <?php
/**
* @package EasyBlog
* @copyright Copyright (C) 2010 Stack Ideas Private Limited. All rights reserved.
* @license GNU/GPL, see LICENSE.php
*
* EasyBlog is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative ... | gpl-2.0 |
sodacrackers/washyacht | sites/all/modules/xautoload/tests/src/VirtualDrupal/HookSystem.php | 1674 | <?php
namespace Drupal\xautoload\Tests\VirtualDrupal;
class HookSystem {
/**
* @var ModuleImplements
*/
private $moduleImplements;
/**
* @param DrupalStatic $drupalStatic
* @param Cache $cache
* @param ModuleList $moduleList
*/
function __construct(DrupalStatic $drupa... | gpl-2.0 |
wfeliz/aicsite | sites/default/themes/ipc/page-node-4.tpl.php | 9189 | <?php
// $Id: page.tpl.php,v 1.14.2.6 2009/08/18 16:28:33 jselt Exp $
/**
* @file page.tpl.php
*
* Theme implementation to display a single Drupal page.
*
* Available variables:
*
* General utility variables:
* - $base_path: The base URL path of the Drupal installation. At the very
* least, this will always... | gpl-2.0 |
Yhzhtk/bookcatch | shot_new_old.py | 480 | # coding=utf-8
'''
Created on 2013-8-30
拍书,新书或者已添加的书
@author: gudh
'''
import bookauto
if __name__ == '__main__':
# 抓取新数据
#args = []
#args.append(["http://e.jd.com/products/5272-5287-5507-1-%d.html", 1, 5])
#args.append(["http://e.jd.com/products/5272-5287-5507-1-%d.html", 5, 10])
#bookauto.new_sh... | gpl-2.0 |
kunj1988/Magento2 | app/code/Magento/SalesRule/view/frontend/web/js/action/set-coupon-code.js | 1853 | /**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
/**
* Customer store credit(balance) application
*/
define([
'ko',
'jquery',
'Magento_Checkout/js/model/quote',
'Magento_Checkout/js/model/resource-url-manager',
'Magento_Checkout/js/model/error-proc... | gpl-2.0 |
bdmod/extreme-subversion | BinarySourcce/subversion-1.6.17/tools/po/l10n-report.py | 6043 | #!/usr/bin/env python
"""Usage: l10n-report.py [OPTION...]
Send the l10n translation status report to an email address. If the
email address is not specified, print in stdout.
Options:
-h, --help Show this help message.
-m, --to-email-id Send the l10n translation status report to this
... | gpl-2.0 |
rfdrake/opennms | opennms-alarms/http-northbounder/src/main/java/org/opennms/netmgt/alarmd/northbounder/http/HttpNorthbounder.java | 9281 | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2011-2012 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | gpl-2.0 |
786228836/MyAndroid | app/src/main/java/com/example/test/myandroid/LoginActivity.java | 1127 | package com.example.test.myandroid;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
public class LoginActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(s... | gpl-2.0 |
wakuki14/bangluong | components/com_mad4joomla/language/frontend.fr.php | 3979 | <?PHP
/**
* @version $Id: mad4joomla 10041 2008-03-18 21:48:13Z fahrettinkutyol $
* @package joomla
* @copyright Copyright (C) 2008 Mad4Media. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* t... | gpl-2.0 |
seekmas/cms_dev | cache/mod_custom/bd162cb6189e3e2a2bd8fccee31759dc-cache-mod_custom-3f896e5e6dfae42b1a5fa611dce3f5ee.php | 324 | <?php die("Access Denied"); ?>#x#a:2:{s:6:"output";a:2:{s:4:"body";s:0:"";s:4:"head";a:0:{}}s:6:"result";s:209:"
<h3 class="margin-bottom">SERVICES</h3>
<ul class="uk-list uk-list-line">
<li><a href="#">Print version</a></li>
<li><a href="#">Newsletter</a></li>
<li><a href="#">RSS feed</a></li>
</ul>
... | gpl-2.0 |
haidarafif0809/qwooxcqmkozzxce | batal_item_masuk.php | 674 | <?php
// memasukan file db.php
include 'db.php';
// mengirim data(file) no_faktur, menggunakan metode GET
$no_faktur = $_GET['no_faktur'];
// menghapus data pada tabel tbs_pembelian berdasarkan no_faktur
$query = $db->query("DELETE FROM tbs_item_masuk WHERE no_faktur = '$no_faktur'");
// ... | gpl-2.0 |
Blaez/ZiosGram | TMessagesProj/src/main/java/org/telegram/messenger/support/widget/util/SortedListAdapterCallback.java | 1908 | /*
* Copyright (C) 2014 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 |
miguelinux/vbox | src/VBox/Devices/Audio_old/DrvHostNullAudio.cpp | 10540 | /* $Id: DrvHostNullAudio.cpp $ */
/** @file
* NULL audio driver -- also acts as a fallback if no
* other backend is available.
*/
/*
* Copyright (C) 2006-2015 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free softwa... | gpl-2.0 |
scanalesespinoza/battlebit | templates/atomic/html/modules.php | 1998 | <?php
/**
* @version $Id: modules.php 14276 2010-01-18 14:20:28Z louis $
* @package Joomla.Site
* @copyright Copyright (C) 2005 - 2011 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 di... | gpl-2.0 |
alpinelab/lzd | wp-content/themes/minimum/category.php | 36419 | <?php get_header(); ?>
<?php
global $wp_query;
global $woocommerce;
$id = $wp_query->get_queried_object_id();
$sidebar = $qode_options['category_blog_sidebar'];
?>
<div class="container">
<div class="title">
<h1><span><?php single_cat_title(''); ?></span></h1>
<div class="woocommerce_cart_it... | gpl-2.0 |
mulligaj/hubzero-cms | core/components/com_collections/admin/controllers/items.php | 6833 | <?php
/**
* HUBzero CMS
*
* Copyright 2005-2015 HUBzero Foundation, LLC.
*
* 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 |
gforghetti/jenkins-tomcat-wildbook | src/main/java/org/ecocean/SinglePhotoVideo.java | 7335 | package org.ecocean;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.ecocean.Util;
import org.ecocean.genetics.TissueSample;
import org.ecocean.Encounter;
import org.ecocean.servlet.ServletUtilities;
import org.apache.commons.fileupload.FileItem;
import ... | gpl-2.0 |
cristiantanas/MCS-MobilityGenerator | MobilityGenerator.py | 2112 | #!/usr/bin/env python
import getopt, sys
CODE_PROGRAM_EXIT = 1
CODE_OPTIONS_ERROR = -1
CODE_SHORT_HELP = -2
def usage():
print "-------------------------------------------------------------------------------------"
print "MobilityGenerator.py"
print "Year 2015, v1.0"
print ""
print "Python program that generate... | gpl-2.0 |
rmbinder/admidio | adm_program/system/classes/conditionparser.php | 19497 | <?php
/**
***********************************************************************************************
* @copyright 2004-2016 The Admidio Team
* @see https://www.admidio.org/
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License v2.0 only
***********************************************... | gpl-2.0 |
pjlong/business-time | manage.py | 256 | #!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "business_time.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
| gpl-2.0 |
vivianacerrutti/wordpress | wp-content/themes/infoway/front-page.php | 6479 | <?php
/**
* The template for displaying front page pages.
*
*/
?>
<?php get_header(); ?>
<!--Start Slider Wrapper-->
<div class="slider_wrapper">
<div id="featured">
<!-- First Content -->
<div id="fragment-1" class="ui-tabs-panel" style="">
<?php if (infoway_get_option('in... | gpl-2.0 |
sektioneins/sandbox_toolkit | sb2dot/outputdot.py | 2858 | #
# sb2dot - a sandbox binary profile to dot convertor for iOS 9 and OS X 10.11
# Copyright (C) 2015 Stefan Esser / SektionEins GmbH <stefan@sektioneins.de>
# uses and extends code from Dionysus Blazakis with his permission
#
# module: outputdot.py
# task: cheap .dot file generator
#
# This program is free ... | gpl-2.0 |
AlekSi/Jabbin | src/tools/yastuff/yawidgets/yawindowbackground.cpp | 5613 | /*
* yawindowbackground.cpp
* Copyright (C) 2008 Yandex LLC (Michail Pishchagin)
*
* 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) ... | gpl-2.0 |
misto/worked | lib/worked/graph.rb | 753 | require 'rubygems'
require 'gruff'
require 'worked/reader'
module Worked
class Graph
def self.create_weekly entries, output_file
create(entries, output_file)
end
def self.create_daily entries, output_file
create(entries, output_file)
end
private
def self.create entries, outp... | gpl-2.0 |
gburca/mediatomb | src/iohandler/file_io_handler.cc | 2548 | /*MT*
MediaTomb - http://www.mediatomb.cc/
file_io_handler.cc - this file is part of MediaTomb.
Copyright (C) 2005 Gena Batyan <bgeradz@mediatomb.cc>,
Sergey 'Jin' Bostandzhyan <jin@mediatomb.cc>
Copyright (C) 2006-2010 Gena Batyan <bgeradz@mediatomb.cc>,
... | gpl-2.0 |
xabiamu/Daltonic | src/es/capsule/daltonic/MainActivity.java | 846 | package es.capsule.daltonic;
import java.nio.IntBuffer;
import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.Bitmap.Config;
import android.graphics.Color;
import android.os.Bundle;
import android.widget.ImageView;
public class MainActivity extends Activity {
@Override
protected voi... | gpl-2.0 |
MaxKellermann/xbmc | xbmc/threads/platform/ThreadImpl.cpp | 1055 | /*
* Copyright (C) 2005-2013 Team XBMC
* http://kodi.tv
*
* 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.
*
* T... | gpl-2.0 |
FernandoS27/dynarmic | src/backend_x64/hostloc.cpp | 647 | /* This file is part of the dynarmic project.
* Copyright (c) 2016 MerryMage
* This software may be used and distributed according to the terms of the GNU
* General Public License version 2 or any later version.
*/
#include <xbyak.h>
#include "backend_x64/hostloc.h"
namespace Dynarmic {
namespace BackendX64 {
X... | gpl-2.0 |
kstover/tmnt-tutorial | admin.js | 73 | jQuery( document ).ready( function( $ ) {
/**
* JS goes here
*/
} ); | gpl-2.0 |
mattsteele/garbanzo.dev | wp-content/plugins/store-locator-le/include/class.themes.admin.php | 16366 | <?php
/**
* The wpCSL Themes Admin Class
*
* @package wpCSL\Themes\Admin
* @author Lance Cleveland <lance@charlestonsw.com>
* @copyright 2014 Charleston Software Associates, LLC
*
*/
class PluginThemeAdmin {
//-------------------------------------
// Properties
//-----------------------------------... | gpl-2.0 |
shellposhy/cms | src/main/java/cn/com/cms/library/service/LibraryCopyService.java | 4981 | package cn.com.cms.library.service;
import java.util.List;
import javax.annotation.Resource;
import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.ObjectMessage;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Service;
import com.google.common.collect.Lists;
import cn.com.... | gpl-2.0 |
Karniyarik/karniyarik | karniyarik-wng/src/main/java/net/sourceforge/wurfl/wng/component/ValidatorVisitor.java | 501 | /*
* This file is released under the GNU General Public License.
* Refer to the COPYING file distributed with this package.
*
* Copyright (c) 2008-2009 WURFL-Pro srl
*/
package net.sourceforge.wurfl.wng.component;
/**
* This visitor calls validate on each visited component.
*
* @author Filippo De Luca
*
* ... | gpl-2.0 |
alexsh/Telegram | TMessagesProj/src/main/java/org/telegram/ui/FilterUsersActivity.java | 69772 | /*
* This is the source code of Telegram for Android v. 5.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-2018.
*/
package org.telegram.ui;
import android.animation.Animator;
import android.an... | gpl-2.0 |
Lythimus/lptv | apache-solr-3.6.0/solr/core/src/test/org/apache/solr/schema/PolyFieldTest.java | 6827 | package org.apache.solr.schema;
/**
* 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... | gpl-2.0 |
David-Desmaisons/MusicCollection | MusicCollectionWPF/MusicCollectionWPF/Windows/CustoMessageBox.xaml.cs | 1292 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
... | gpl-2.0 |
DCLMonk/Pennyworth | Server/ClientPackets/DeviceDefPacket.cpp | 1535 | /**
* Pennyworth - A new smarthome protocol.
* Copyright (C) 2012 Dream-Crusher Labs LLC
*
* 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 ... | gpl-2.0 |
georgejhunt/HaitiDictionary.activity | data/words/sitwonv~et.js | 176 | showWord(["n fr. "," Ti fwi piti, sitris, nan menm fanmi ak zorany; li si; yo fè limonad avèk li epi yo itilize l pou netwaye vyann tou. Sitwon vèt bon pou fè limonad."
]) | gpl-2.0 |
RenatGilmanov/tau-usability-tool | src/main/net/taunova/usability/util/ThreadUtil.java | 410 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package net.taunova.usability.util;
/**
*
* @author renat
*/
public class ThreadUtil {
public static final void sleep(int millis) {
try{
Thread.sleep(millis); //this will slow the capture rate... | gpl-2.0 |
JoelPub/wordpress-amazon | order/source/modules/reg/receiver.php | 1545 | <?php
/**
* 订阅就绑定FAKEID
*
* @author 19.3CM
* @QQ 81324093
*/
defined('IN_IA') or exit('Access Denied');
include_once IA_ROOT . '/source/modules/19.3cm.php';
class RegModuleReceiver extends WeModuleReceiver {
public function receive() {
global $_W;
//增加关注就插入最基础的FROMID和WEID 以及绑定微信号
if($this->message['ty... | gpl-2.0 |
bgarrels/freedomotic | plugins/devices/simulation/src/main/java/com/freedomotic/plugins/VariousSensors.java | 5302 | /**
*
* Copyright (c) 2009-2014 Freedomotic team http://freedomotic.com
*
* This file is part of Freedomotic
*
* 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 yo... | gpl-2.0 |
trueg/virtuoso-opensource | binsrc/sesame/virtuoso_driver/VirtuosoExample3.java | 4001 | /*
* $Id$
*
* This file is part of the OpenLink Software Virtuoso Open-Source (VOS)
* project.
*
* Copyright (C) 1998-2012 OpenLink Software
*
* This project 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 |
jaanusnurmoja/redjoomla | components/com_redevent/views/details/view.csv.php | 3355 | <?php
/**
* @version 1.0 $Id: view.html.php 1625 2009-11-18 16:54:27Z julien $
* @package Joomla
* @subpackage redEVENT
* @copyright redEVENT (C) 2008 redCOMPONENT.com / EventList (C) 2005 - 2008 Christoph Lukes
* @license GNU/GPL, see LICENSE.php
* redEVENT is based on EventList made by Christoph Lukes from schl... | gpl-2.0 |
wells369/Rubato | java/src/org/rubato/rubettes/denotex/Token.java | 2674 | /* Generated By:JavaCC: Do not edit this line. Token.java Version 3.0 */
package org.rubato.rubettes.denotex;
/**
* Describes the input token stream.
*/
public class Token {
/**
* An integer that describes the kind of this token. This numbering
* system is determined by JavaCCParser, and a table of these ... | gpl-2.0 |
etiko/thegossipfeed | sites/all/themes/tgf/views-view.tpl.php | 1640 | <?php
/**
* @file
* Main view template.
*
* Variables available:
* - $classes_array: An array of classes determined in
* template_preprocess_views_view(). Default classes are:
* .view
* .view-[css_name]
* .view-id-[view_name]
* .view-display-id-[display_name]
* .view-dom-id-[dom_id]
*... | gpl-2.0 |
Riketta/Stronghold-Kingdoms | StrongholdKingdoms/Kingdoms/VillageLostReportPanelDerived.cs | 1061 | namespace Kingdoms
{
using CommonTypes;
using System;
internal class VillageLostReportPanelDerived : GenericReportPanelBasic
{
public override void setData(GetReport_ReturnType returnData)
{
base.setData(returnData);
base.lblMainText.Text = SK.Text("Re... | gpl-2.0 |
athiasjerome/XORCISM | SOURCES/XORCISMModel/OPERATORENUMERATION.cs | 1661 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | gpl-2.0 |
wpsmith/WP-API | tests/test-rest-terms-controller.php | 25885 | <?php
/**
* Unit tests covering WP_REST_Terms_Controller functionality.
*
* @package WordPress
* @subpackage JSON API
*/
class WP_Test_REST_Terms_Controller extends WP_Test_REST_Controller_Testcase {
public function setUp() {
parent::setUp();
$this->administrator = $this->factory->user->create( array(
'r... | gpl-2.0 |
botswana-harvard/edc-calendar | edc_calendar/models/update_or_create_event_model_mixin.py | 2108 | from django.apps import apps as django_apps
from django.db import models
from .event import Event
class UpdatesOrCreatesCalenderEventModelError(Exception):
pass
class UpdatesOrCreatesCalenderEventModelMixin(models.Model):
"""A model mixin that creates or updates a calendar event
on post_save signal.
... | gpl-2.0 |
marcomnc/magento2bloming | app/code/local/MpsSistemi/Gui/Helper/Blomming.php | 1908 | <?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, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope tha... | gpl-2.0 |
stweil/TYPO3.CMS | typo3/sysext/impexp/Classes/Utility/ImportExportUtility.php | 2685 | <?php
declare(strict_types=1);
/*
* 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 license information, ple... | gpl-2.0 |
saintcode/cenotexplore | src/wordpress/wp-content/plugins/travelpayouts/app/includes/common/TPCurrencyUtils.php | 6569 | <?php
/**
* Created by PhpStorm.
* User: freeman
* Date: 18.04.16
* Time: 17:43
*/
namespace app\includes\common;
use \app\includes\TPPlugin;
class TPCurrencyUtils
{
const TP_CURRENCY_RUB = 'RUB';
const TP_CURRENCY_USD = 'USD';
const TP_CURRENCY_EUR = 'EUR';
const TP_CURRENCY_BR... | gpl-2.0 |
lejingw/ice-java | python/IceStorm/clock/Publisher.py | 2684 | #!/usr/bin/env python
# **********************************************************************
#
# Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved.
#
# **********************************************************************
import sys, traceback, time, Ice, IceStorm, getopt
Ice.loadSlice('Clock.ice')
import De... | gpl-2.0 |
adrianjonmiller/Anacap-Tech | wp-content/plugins/sticky-custom-post-types/sticky-custom-post-types.php | 4502 | <?php
/*
Plugin Name: Sticky Custom Post Types
Plugin URI: http://superann.com/sticky-custom-post-types/
Description: Enables support for sticky custom post types. Set options in Settings → Reading.
Version: 1.2.3
Author: Ann Oyama
Author URI: http://superann.com
License: GPL2
Copyright 2011 Ann Oyama (email : w... | gpl-2.0 |
agustincl/scq2015m | forms/modules/Application/src/Application/Forms/UserForm.php | 2533 | <?php
return array(
'id'=>array(
'type'=>'hidden',
'filters'=> array('Stringtrim', 'StripTags', 'Escape'),
'validators' => array ('required'=>true)
),
'name'=>array(
'label'=>'Nombre',
'type'=>'text',
'filters'=> array('Stringtrim', 'StripTags', 'Escape'),
... | gpl-2.0 |
deewilcox/soul-serenades | wp-content/plugins/woocommerce-tm-extra-product-options/include/tm-functions.php | 2022 | <?php
// Direct access security
if (!defined('TM_EPO_PLUGIN_SECURITY')){
die();
}
if (!function_exists('tm_woocommerce_check')){
function tm_woocommerce_check(){
$active_plugins = (array) get_option( 'active_plugins', array() );
if ( is_multisite() ){
$active_plugins = array_merge( $active_p... | gpl-2.0 |
pierres/archlinux-mediawiki | extensions/TitleBlacklist/includes/api/ApiQueryTitleBlacklist.php | 3434 | <?php
/**
* TitleBlacklist extension API
*
* Copyright © 2011 Wikimedia Foundation and Ian Baker <ian@wikimedia.org>
* Based on code by Victor Vasiliev, Bryan Tong Minh, Roan Kattouw, and Alex Z.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Publ... | gpl-2.0 |
ziyunhx/document-management | Code/Model/Model/WorkFlow.cs | 1237 | namespace Model
{
public class WorkFlow
{
private string _ID;
private string _Name;
private string _URL;
private string _State;
private string _Remark;
public string ID
{
get
{
return this._ID;
}
... | gpl-2.0 |
AplayER/baigoSSO | core/lang/zh_CN/common.php | 7205 | <?php
/*-----------------------------------------------------------------
!!!!警告!!!!
以下为系统文件,请勿修改
-----------------------------------------------------------------*/
//不能非法包含或直接执行
if(!defined("IN_BAIGO")) {
exit("Access Denied");
}
/*-------------------------通用-------------------------*/
return array(
/*------站点---... | gpl-2.0 |
abhishekmurthy/Calligra | kexi/widget/tableview/kexidatetableedit.cpp | 8011 | /* This file is part of the KDE project
Copyright (C) 2002 Lucijan Busch <lucijan@gmx.at>
Copyright (C) 2003 Daniel Molkentin <molkentin@kde.org>
Copyright (C) 2003-2004,2006 Jarosław Staniek <staniek@kde.org>
This program is free software; you can redistribute it and/or
modify it under the terms of... | gpl-2.0 |
szb231053450/tourism | src/main/webapp/resources/base/js/handsontable-pro-1.7.0/src/plugins/ganttChart/ganttChartDataFeed.js | 9610 | import {objectEach, deepClone} from 'handsontable/helpers/object';
import {arrayEach} from 'handsontable/helpers/array';
import {DateCalculator} from './dateCalculator';
/**
* This class handles the data-related calculations for the GanttChart plugin.
*
* @plugin GanttChart
*/
class GanttChartDataFeed {
construc... | gpl-2.0 |
dangdinhtu2014/nukeviet_slider | modules/slider/admin/alias.php | 1039 | <?php
/**
* @Project NUKEVIET 4.x
* @Author DANGDINHTU (dlinhvan@gmail.com)
* @Copyright (C) 2013 Webdep24.com - dangdinhtu.com. All rights reserved
* @License GNU/GPL version 2 or any later version
* @Createdate Wed, 21 Jan 2015 14:00:59 GMT
*/
if( ! defined( 'NV_IS_FILE_ADMIN' ) ) die( 'Stop!!!' );
$name = ... | gpl-2.0 |
mecirt/7k2 | src/olightn.cpp | 9174 | /*
* Seven Kingdoms 2: The Fryhtan War
*
* Copyright 1999 Enlight 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, either version 2 of the License, or
* (at your option) a... | gpl-2.0 |
tommythorn/yari | shared/cacao-related/phoneme_feature/cldc/src/javaapi/share/com/sun/cldc/io/ResourceInputStream.java | 7651 | /*
*
*
* Copyright 1990-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
*
* This program 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 |
Droces/casabio | vendor/phpexiftool/phpexiftool/lib/PHPExiftool/Driver/Tag/ASF/FileLength.php | 694 | <?php
/*
* This file is part of PHPExifTool.
*
* (c) 2012 Romain Neutron <imprec@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\ASF;
use PHPExiftool\Driver\AbstractTag;
class FileLen... | gpl-2.0 |
darkloveir/Skyfire-6.1.2-version | src/server/game/Quests/QuestDef.cpp | 10621 | /*
* Copyright (C) 2011-2014 Project SkyFire <http://www.projectskyfire.org/>
* Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2014 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Genera... | gpl-2.0 |
Neo2003/mame4all-pi-adv | src/vidhrdw/mermaid.cpp | 4559 | /***************************************************************************
vidhrdw.c
Functions to emulate the video hardware of the machine.
***************************************************************************/
#include "driver.h"
#include "vidhrdw/generic.h"
unsigned char* mermaid_background_videor... | gpl-2.0 |
Kinokoh/hotspotmap | web/js/markerclusterer.min.js | 8303 | function d(a){return function(b){this[a]=b}}function f(a){return function(){return this[a]}}var k;
function l(a,b,c){this.extend(l,google.maps.OverlayView);this.b=a;this.a=[];this.f=[];this.da=[53,56,66,78,90];this.j=[];this.A=!1;c=c||{};this.g=c.gridSize||60;this.l=c.minimumClusterSize||2;this.K=c.maxZoom||null;this.... | gpl-2.0 |
kunj1988/Magento2 | app/code/Magento/Reports/Controller/Adminhtml/Report/Sales/ExportCouponsExcel.php | 811 | <?php
/**
*
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Reports\Controller\Adminhtml\Report\Sales;
use Magento\Framework\App\ResponseInterface;
use Magento\Framework\App\Filesystem\DirectoryList;
class ExportCouponsExcel extends \Magento\Reports\Con... | gpl-2.0 |
sani-coop/tinjaca | doc/informe1/_graphviz/bpmn_pgv.py | 4453 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
BPMN PGV generates BPMN diagrams from graphviz using pygraphviz. This is an early alpha, usable but lacks many features
and configuration flexibility.
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
fro... | gpl-2.0 |
oat-sa/extension-tao-itemqti | model/qti/attribute/PowerForm.php | 1334 | <?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 WITH... | gpl-2.0 |
ghorbanzade/ghorcom | src/view/teaching-github.php | 171 | <?php
if (isset($course)) {
echo "<h3>".$course->get_name()." <small>".$course->get_semester()."</small></h3>";
echo "<h4>Course Repository</h4>";
echo "<hr></hr>";
}
| gpl-2.0 |
azadmanesh/sl-tracer | truffle/com.oracle.truffle.object.basic/src/com/oracle/truffle/object/basic/BasicLocations.java | 24511 | /*
* Copyright (c) 2013, 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 |
latentPrion/zambesii | core/kernel/common/memoryTrib/vaddrSpaceStream.cpp | 1462 |
#include <debug.h>
#include <__kclasses/debugPipe.h>
#include <kernel/common/process.h>
#include <kernel/common/memoryTrib/vaddrSpaceStream.h>
error_t VaddrSpaceStream::initialize(void)
{
error_t ret;
ret = vaddrSpace.initialize(parent->addrSpaceBinding);
if (ret != ERROR_SUCCESS) { return ret; };
ret = pageCa... | gpl-2.0 |
vconrado/gtest-example | src/test/Multiply_Test.cpp | 379 | #include <limits.h>
#include "gtest/gtest.h"
#include "Multiply.hpp"
class MultiplyTest : public ::testing::Test {
protected:
virtual void SetUp() {
}
virtual void TearDown() {
}
};
TEST_F(MultiplyTest,twoValues){
const int x = 4;
const int y = 5;
Multiply multiply;
EXPECT_EQ(20,multiply.two... | gpl-2.0 |
Team-OfferManager/ebay-jaxb-bindings | src/main/java/de/idealo/offers/imports/offermanager/ebay/api/binding/jaxb/trading/GetMyeBaySellingRequestType.java | 8800 | //
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2014.11.06 um 0... | gpl-2.0 |
jrmrjnck/okular-tabbed | part.cpp | 93172 | /***************************************************************************
* Copyright (C) 2002 by Wilco Greven <greven@kde.org> *
* Copyright (C) 2002 by Chris Cheney <ccheney@cheney.cx> *
* Copyright (C) 2002 by Malcolm Hunter <malcolm.hunter@gmx.co.uk> *
* Copyrig... | gpl-2.0 |
ubiquitypress/OJS-Draft-Editorial | plugins/reports/timedView/TimedViewReportForm.inc.php | 7639 | <?php
/**
* @file plugins/generic/timedView/TimedViewReportForm.inc.php
*
* Copyright (c) 2013 Simon Fraser University Library
* Copyright (c) 2003-2013 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* @class TimedViewReportForm
*/
import('lib.pkp.classes.form.Fo... | gpl-2.0 |
byrialsen/HA4IoT | SDK/HA4IoT.Hardware/Knx/KnxClient.cs | 4301 | using System;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Text;
using Windows.Networking;
using Windows.Networking.Sockets;
using Windows.Storage.Streams;
using HA4IoT.Contracts.Logging;
using Buffer = Windows.Storage.Streams.Buffer;
namespace HA4IoT.Hardware.Knx
{
public sealed class KnxCli... | gpl-2.0 |
wrbraga/JGrafix | src/grafix/graficos/indices/Indice.java | 8113 | /*
Copyright (C) 2001-2012, Joao Medeiros, Paulo Vilela (grafix2.com)
Este arquivo é parte do programa Grafix2.com
Grafix2.com é um software livre; você pode redistribui-lo e/ou
modifica-lo dentro dos termos da Licença Pública Geral GNU como
publicada pela Fundação do Software Livre (FSF); na v... | gpl-2.0 |
tier5/lakemeawaybj | wp-content/plugins/VRPConnector-master/themes/mountainsunset/vrpComplexes.php | 672 | <?php
/**
* [vrpComplexes] ShortCode view
*/
foreach($data as $complex) { ?>
<div class="row">
<div class="row">
<h2>
<a href="/vrp/complex/<?php echo esc_attr($complex->page_slug); ?>">
<?php echo esc_html($complex->name); ?>
</a>
... | gpl-2.0 |
ulearn/spanishblogwp | wp-content/themes/shift/includes/widgets/widget-custom-page.php | 2251 | <?php
add_action('widgets_init', create_function('', 'return register_widget("stag_custom_page");'));
class stag_custom_page extends WP_Widget{
function stag_custom_page(){
$widget_ops = array('classname' => 'section-block', 'description' => __('Display content from an specific page.', 'stag'));
$control_ops... | gpl-2.0 |
Petermck8806/FunTeamEasterEggHunt | FunTeamEasterEggHunt/Question.cs | 1037 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FunTeamEasterEggHunt
{
public class Question
{
public string QuestionImage { get; set; }
public string QuestionPrompt { get; set; }
public string Answer { get; ... | gpl-2.0 |
niloc132/mauve-gwt | src/main/java/gnu/testlet/java/lang/UnsupportedClassVersionError/classInfo/getName.java | 1735 | // Test for method java.lang.UnsupportedClassVersionError.getClass().getName()
// Copyright (C) 2012 Pavel Tisnovsky <ptisnovs@redhat.com>
// This file is part of Mauve.
// Mauve 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 |
nopticon/jcg | administrator/components/com_claroforms/tables/game.php | 1505 | <?php
/**
* Claroforms Model for Claroforms Component
*
* @package Claroforms
* @subpackage com_claroforms
* @license GNU/GPL v2
*
* Created with Marco's Component Creator for Joomla! 1.5
* http://www.mmleoni.net/joomla-component-builder
*
*/
// No direct access
defined( '_JEXEC' ) or die(... | gpl-2.0 |
JulieKuehl/voices | footer.php | 571 | <?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after
*
* @package areavoices
*/
?>
</div><!-- #content -->
<footer id="colophon" class="site-footer" role="contentinfo">
<div class="copyright">
<?php printf( esc_html__( '© Copyright '... | gpl-2.0 |
xh4zr/fence-app | app/src/build/app.js | 13046 | var app = angular.module('fenceProject',[]);
var mainCtrl = app.controller('mainCtrl',['$scope','api', function ($scope, api) {
window.debug = $scope;
$scope.api = api;
//Set up
var drawLayer = document.getElementById("layer1");
var saveLayer = document.getElementById("layer2");
var gridLayer = document.getElem... | gpl-2.0 |
Multigaming/WoW434 | src/server/scripts/EasternKingdoms/Scholomance/boss_illucia_barov.cpp | 3706 | /*
* 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 |
BitCoding/BitCore-PHP | src/Core/Traits/InstanceConfig.php | 6699 | <?php
/**
* BitCore-PHP: Rapid Development Framework (https://phpcore.bitcoding.eu)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyright notice.
*
* @link https://phpcore.bitcoding.eu BitCo... | gpl-2.0 |
pranavladkat/3dVPM | examples/post_process_wind_turbine.py | 6025 | """
post process wind turbine Cp data
"""
import csv
import math
import matplotlib.pyplot as plt
def normalize_x(x):
minimum = min(x)
x = [i+abs(minimum) for i in x]
maximum = max(x)
for i in range(0,len(x),1):
x[i] = (x[i]) / maximum
return x
def main()... | gpl-2.0 |
FRCHumans4501/Trusspasser | src/org/firsthumans/trusspasser/util/VisionListener.java | 520 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.firsthumans.trusspasser.util;
/**
*
* @author Humans
*/
public interface VisionListener {
publi... | gpl-2.0 |
1nv4d3r5/eshop | system/core/Controller.php | 1592 | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc.
* @license http://ellis... | gpl-2.0 |
reversetrex/infotectraing-pantheon | sites/all/modules/custom/infotec/classes/dmanager/dman.php | 22664 | <?php
namespace infotec {
use ecpi\dbc;
/**
* @package infotec module
* @subpackage data manager class
* @version 1.0
* @author gbellucci (ECPI University)
* @copyright (c) 2015 ECPI University
* @license Proprietary
* @abstract
*
* This class is responsible for converting sql data ob... | gpl-2.0 |
rex-xxx/mt6572_x201 | frameworks/av/services/audioflinger/AudioPolicyService.cpp | 58994 | /*
* Copyright (C) 2009 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 |
yngfng/LightYears_craft | code/quiet_season.py | 561 | #
# 20,000 Light Years Into Space
# This game is licensed under GPL v2, and copyright (C) Jack Whitham 2006.
#
class Quiet_Season:
# The quiet season is... very quiet.
def __init__(self, net):
self.net = net
self.name = "Quiet"
def Per_Frame(self, frame_time):
pass
def Per_P... | gpl-2.0 |