repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
leoloso/PoP | layers/Legacy/Schema/packages/migrate-everythingelse/migrate/plugins/pop-locationposts-processors/library/processor-hooks/submenu-hooks.php | 975 | <?php
class PoP_CommonPages_EM_SubmenuHooks
{
public function __construct()
{
// Execute before the Events, so it can add the page right next to "All Content" button
\PoP\Root\App::addFilter(
'PoP_Module_Processor_CustomSubMenus:author:routes',
array($this, 'addRoutes')... | gpl-2.0 |
dlitz/resin | modules/resin/src/com/caucho/boot/ResultStatus.java | 1852 | /*
* Copyright (c) 1998-2011 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 |
TeaJizzle/AntiTeaJizzle | src/cx/gg/antiteajizzle/AntiTeaJizzle.java | 997 | package cx.gg.antiteajizzle;
import org.bukkit.*;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.world.ChunkLoadEvent;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.java.JavaPlugin;
import cx.gg.antiteajizzle.AsyncCheckChunkBedrock;
public class AntiTeaJ... | gpl-2.0 |
georgejhunt/HaitiDictionary.activity | data/words/kalite_kalte_.js | 251 | showWord(["n. "," 1. Tip, varyete. Ki kalite twal sa a. 2. Jan, espès. Sa se yon kalite plant ki ra. 3. Karaktè pozitif. Jera gen anpil kalite, li prèske pa gen defo. 4. Siperyè, ki gen valè, ki pa bon mache. Wonm Babankou se wonm bon kalite."
]) | gpl-2.0 |
atibbs/mysite2015 | wp-content/themes/andrewtibbs2015/content-none.php | 1245 | <?php
/**
* The template part for displaying a message that posts cannot be found
*
* Learn more: {@link https://codex.wordpress.org/Template_Hierarchy}
*
* @package WordPress
* @subpackage Twenty_Fifteen
* @since Twenty Fifteen 1.0
*/
?>
<section class="no-results not-found">
<div class="row">
<div class=... | gpl-2.0 |
LordPsyan/WoWSource434_V10 | src/server/shared/Database/Implementation/CharacterDatabase.cpp | 86261 | /*
* Copyright (C) 2013-2015 DeathCore <http://www.noffearrdeathproject.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 (at your
* option) any l... | gpl-2.0 |
otmarjr/jtreg-fork | make/netbeans/lib/testng-6.8/testng-6.8/src/main/java/org/testng/internal/SuiteRunnerMap.java | 526 | package org.testng.internal;
import org.testng.ISuite;
import org.testng.collections.Maps;
import org.testng.xml.XmlSuite;
import java.util.Collection;
import java.util.Map;
public class SuiteRunnerMap {
private Map<String, ISuite> m_map = Maps.newHashMap();
public void put(XmlSuite xmlSuite, ISuite suite) {
... | gpl-2.0 |
wenshao/oceanbase | src/rootserver/ob_root_meta2.cpp | 6210 | /*
* (C) 2007-2010 Taobao Inc.
*
*
*
* Version: 0.1
*
* Authors:
* daoan <daoan@taobao.com>
*
*/
#include <algorithm>
#include <tbsys.h>
#include "rootserver/ob_root_meta2.h"
#include "rootserver/ob_tablet_info_manager.h"
namespace oceanbase
{
using namespace common;
namespace rootserver
{
... | gpl-2.0 |
tommythorn/yari | shared/cacao-related/phoneme_feature/jsr239/src/share/classes/javax/microedition/khronos/opengles/GL11ExtensionPack.java | 112860 | /*
* 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 Software ... | gpl-2.0 |
AlanGuerraQuispe/SisAtuxPerfumeria | atux-jrcp/src/main/java/com/aw/swing/mvp/ui/painter/ColorInfoProvider.java | 2848 | /*
* Copyright (c) 2007 Agile-Works
* All rights reserved.
*
* This software is the confidential and proprietary information of
* Agile-Works. ("Confidential Information").
* You shall not disclose such Confidential Information and shall use
* it only in accordance with the terms of the license agreement you
* ... | gpl-2.0 |
hoaibang07/Webscrap | transcripture/sources/checkcomplete.py | 1294 | import io
import os.path
def check_numline(filename):
urlsach_list = []
urlsach_file = open(filename, 'r')
for line in urlsach_file:
urlsach_list.append(line.strip())
_len = len(urlsach_list)
return _len
def main():
f = io.open('check_output.txt', 'w', encoding = 'utf-8')
f... | gpl-2.0 |
kuul-dev/Kuul-Dev-Booking | themes/default/views/pages/search.php | 2320 | <?php defined('SYSPATH') or die('No direct script access.');?>
<div class="well clearfix">
<?= FORM::open(Route::url('search'), array('class'=>'form-search', 'method'=>'GET', 'action'=>''))?>
<div class="">
<div class="col-md-3">
<label><?=__('Name')?></label>
<i... | gpl-2.0 |
GMDSP-Linked-Data/PhaseTwo | Visualisations/Expenditure/chartVis.js | 801 | function visChart(data, canvas) {
var chartData = [];
var pieOptions = {
segmentShowStroke: false,
animateScale: true
};
var results = data.results.bindings;
for (i = 0; i < results.length; i++) {
var unit = results[i].label.value;
var amount = parseFloat(results[i].c... | gpl-2.0 |
vlabatut/totalboumboum | resources/ai/org/totalboumboum/ai/v201112/ais/_simplet/v1/UtilityHandler.java | 12948 | package org.totalboumboum.ai.v201112.ais._simplet.v1;
/*
* Total Boum Boum
* Copyright 2008-2014 Vincent Labatut
*
* This file is part of Total Boum Boum.
*
* Total Boum Boum is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published b... | gpl-2.0 |
frrisus/dnd5e | app/assets/javascripts/characters/index.js | 3666 | function characters_open_edit_form(ev) {
var $modal = $( '#editchar-modal' ).modal( 'show' );
var $form = $( 'form', $modal );
var $me = $( ev.currentTarget );
var $this_row = $me.parents( 'tr' );
var char_id = $this_row.attr( 'data-char-id' );
var $these_data = $this_row.children( 'td' );
$form.attr( 'ac... | gpl-2.0 |
maddy2101/TYPO3.CMS | typo3/sysext/core/Tests/Unit/Context/UserAspectTest.php | 6012 | <?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 |
wellyyang/NovelTool | src/com/welly/noveltool/dao/po/package-info.java | 99 | /**
* ºÍÊý¾Ý¿â±í¶ÔÓ¦µÄʵÌåÀà
* @author welly-yang
*
*/
package com.welly.noveltool.dao.po; | gpl-2.0 |
V1rd/ReanEmu | src/server/game/Entities/Unit/Unit.cpp | 670339 | /*
* Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.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 ver... | gpl-2.0 |
Southampton-RSG/genie | app/Controller/CategoriesController.php | 5090 | <?php
App::uses('AppController', 'Controller');
/**
* Categories Controller
*
* @property Category $Category
*/
class CategoriesController extends AppController {
/**
* admin_index method
*
* @return void
*/
public function admin_index() {
$this->Category->recursive = 0;
/*
* Facilitators a... | gpl-2.0 |
thesoftwarejedi/JediAppADay | Source/26.JediDiggSource/AnAppADay.JediDigg.WinApp/Properties/AssemblyInfo.cs | 1298 | using System.Reflection;
using System.Runtime.CompilerServices;
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: AssemblyTi... | gpl-2.0 |
ducdongmg/joomla_tut25 | plugins/jsnimageshow/themestrip/classes/jsn_is_stripdisplay.php | 14703 | <?php
/**
* @version $Id$
* @package JSN.ImageShow - Theme.Strip
* @author JoomlaShine Team <support@joomlashine.com>
* @copyright Copyright (C) 2012 JoomlaShine.com. All Rights Reserved.
* @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html
*
* Websites: http://www.joomlashine.co... | gpl-2.0 |
baxri/cvote | administrator/components/com_componentarchitect/tables/fieldtypes.php | 6756 | <?php
/**
* @version $Id: fieldtypes.php 411 2014-10-19 18:39:07Z BrianWade $
* @name Component Architect (Release 1.1.3)
* @author Component Architect (www.componentarchitect.com)
* @package com_componentarchitect
* @subpackage com_componentarchitect.admin
* @copyright Copyright (c)2013 - 2014 Simply O... | gpl-2.0 |
marioli/havp-ng | havp/scanners/avgscanner.cpp | 4971 | /***************************************************************************
avgscanner.cpp - description
-------------------
begin : Sa Feb 12 2005
copyright : (C) 2005 by Christian Hilgers
email : christian@h... | gpl-2.0 |
agutheil/ftds | example/src/main/java/de/agutheil/ftds/example/solid/ocp/Kreis.java | 133 | package de.agutheil.ftds.example.solid.ocp;
public class Kreis extends Geom {
public Kreis() {
super();
type = "Kreis";
}
}
| gpl-2.0 |
joseclavijo/gsclube | wp-content/plugins/gantry5/src/classes/Gantry/WordPress/Assignments/AssignmentsInterface.php | 558 | <?php
/**
* @package Gantry5
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2015 RocketTheme, LLC
* @license GNU/GPLv2 and later
*
* http://www.gnu.org/licenses/gpl-2.0.html
*/
namespace Gantry\WordPress\Assignments;
interface AssignmentsInterface
{
/**
* Re... | gpl-2.0 |
candramelon/nsa | admin/views/manual_page/form.php | 3976 | <!-- Content Header (Page header) -->
<?php
if(isset($_GET['did']) && $_GET['did'] == 1){
?>
<section class="content_new">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-check"... | gpl-2.0 |
dos1/Gogomoku | java/game/Game.java | 2414 | package game;
import java.util.Date;
import playState.PlayState;
import pawn.BlackPawn;
import pawn.Pawn;
import pawn.WhitePawn;
import gameboard.Gameboard;
import gameboard.Gameboard.MoveOutOfBounds;
import history.History;
import field.Field;
import field.Field.UnallowedMove;
public class Game {
pr... | gpl-2.0 |
matthias-fue/kipi-plugins | flickr/login.cpp | 3680 | /* ============================================================
*
* This file is a part of kipi-plugins project
* http://www.digikam.org
*
* Date : 2005-07-07
* Description : a kipi plugin to export images to Flickr web service
*
* Copyright (C) 2005-2008 by Vardhman Jain <vardhman at gmail dot com>
*
... | gpl-2.0 |
iWantMoneyMore/ykj | ykj-api/src/main/java/com/gnet/app/customerHouseProperty/CustomerHousePropertyErrorBuilder.java | 1394 | package com.gnet.app.customerHouseProperty;
import com.gnet.resource.errorBuilder.BaseErrorBuilder;
public class CustomerHousePropertyErrorBuilder extends BaseErrorBuilder{
/**
* 客户房产信息的编号为空
*/
public static final Integer ERROR_ID_NULL = 10701;
/**
* 客户房产信息为空
*/
public static final Int... | gpl-2.0 |
Pengfei-Gao/source-Insight-3-for-centos7 | SourceInsight3/NetFramework/ISymbolBinder.cs | 151 | public interface ISymbolBinder
{
// Methods
public abstract virtual ISymbolReader GetReader(int importer, string filename, string searchPath) {}
}
| gpl-2.0 |
abondoa/adaos | src/Adaos.Shell.Execution/VirtualMachine.cs | 7292 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Adaos.Shell.Interface;
using Adaos.Shell.Interface.SyntaxAnalysis;
using Adaos.Shell.Interface.Execution;
using Adaos.Shell.Interface.Exceptions;
using Adaos.Shell.SyntaxAnalysis.Parsing;
using System.IO;
using Adaos.Shell.Modu... | gpl-2.0 |
danyim/advanced-gulp-wordpress | src/comments.php | 2744 | <?php
/**
* The template for displaying comments.
*
* The area of the page that contains both current comments
* and the comment form.
*
* @package NeatBootstrap
*/
/*
* If the current post is protected by a password and
* the visitor has not yet entered the password we will
* return early without loading th... | gpl-2.0 |
jhonrsalcedo/sitio | wp-config.php | 3005 | <?php
/**
* The base configurations of the WordPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys, and ABSPATH. You can find more information by visiting
* {@link https://codex.wordpress.org/Editing_wp-config.php Editing wp-config.php}
* Codex page. You can get the ... | gpl-2.0 |
mfursov/ugene | src/plugins/dbi_bam/src/SamReader.cpp | 21739 | /**
* UGENE - Integrated Bioinformatics Tools.
* Copyright (C) 2008-2017 UniPro <ugene@unipro.ru>
* http://ugene.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
* ... | gpl-2.0 |
redeanisioteixeira/aew_github | library/Sec/Global.php | 1262 | <?php
/**
* Classe Global
*
* @author diego
*
*/
class Sec_Global
{
/**
* Log uma mensagem no firebug
* @param $message
* @param $label
* @return void
*/
public static function fb($message, $label=null)
{
if ($label!=null) {
$message = array($label,$message);
}
... | gpl-2.0 |
openbu/client | source/src/saveload/afterload.cpp | 108587 | /* $Id$ */
/*
* This file is part of OpenTTD.
* OpenTTD 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.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without... | gpl-2.0 |
FxNion/elgg-custom-index-widgets | views/default/widgets/latest_wire_index/content.php | 360 | <?php
$num_items = $vars['entity']->num_items;
if (!isset($num_items)) $num_items = 10;
elgg_set_context('search');
$widget_datas = elgg_list_entities(array(
'type'=>'object',
'subtype'=>'thewire',
'limit'=>$num_items,
'full_view' => false,
'list_type_toggle' => false,
'pagination' => fal... | gpl-2.0 |
maxiunlm/NoMeOlvides | NoMeOlvides/Domain/Hepler/ResultPackageBase.cs | 572 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Domain.Hepler
{
public abstract class ResultPackageBase
{
private ErrorsPackageContent errors;
public ErrorsPackageContent Errors { get
{
if... | gpl-2.0 |
leoloso/PoP | layers/CMSSchema/packages/user-roles/src/FieldResolvers/ObjectType/RootRolesObjectTypeFieldResolver.php | 3050 | <?php
declare(strict_types=1);
namespace PoPCMSSchema\UserRoles\FieldResolvers\ObjectType;
use PoP\ComponentModel\FieldResolvers\ObjectType\AbstractObjectTypeFieldResolver;
use PoP\ComponentModel\Schema\SchemaTypeModifiers;
use PoP\ComponentModel\TypeResolvers\ObjectType\ObjectTypeResolverInterface;
use PoP\Engine\T... | gpl-2.0 |
vishwaAbhinav/OpenNMS | integrations/opennms-jasper-extensions/target/generated-sources/castor/org/opennms/netmgt/jasper/rrdtool/descriptors/RowDescriptor.java | 7699 | /*
* This class was automatically generated with
* <a href="http://www.castor.org">Castor 1.1.2.1</a>, using an XML
* Schema.
* $Id$
*/
package org.opennms.netmgt.jasper.rrdtool.descriptors;
//---------------------------------/
//- Imported classes and packages -/
//---------------------------------/
import... | gpl-2.0 |
Jacksson/mywmsnb | lib/richfaces/examples/richfaces-showcase/src/test/integration/org/richfaces/showcase/togglePanel/ITestSimple.java | 2371 | /*******************************************************************************
* JBoss, Home of Professional Open Source
* Copyright 2010-2014, Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is ... | gpl-2.0 |
northfacts/City-Skylines-AdvancedRoadAnarchy | AdvancedRoadAnarchyOptionBox.cs | 5224 | using ColossalFramework.UI;
using UnityEngine;
namespace AdvancedRoadAnarchy
{
public class AdvancedRoadAnarchyOptionBox : UIPanel
{
private readonly float OptionBoxTitleHeight = 50f;
private UITextureAtlas OnOffAtlas = AdvancedRoadAnarchyButton.CreateAtlas("OnOffAtlas", 316, 82, "OnOff.png",... | gpl-2.0 |
alideny/ChgMangos_CTM | src/server/scripts/EasternKingdoms/MoltenCore/boss_baron_geddon.cpp | 3985 | /*
* Copyright (C) 2011-2012 ArkCORE2 <http://www.arkania.net/>
* Copyright (C) 2010-2012 Project SkyFire <http://www.projectskyfire.org/>
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2012 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* This program is free so... | gpl-2.0 |
saahil/MSSegmentation | model/msr_dataset.py | 4553 | import os
import numpy
import glob
from pylearn2.datasets.dense_design_matrix import DenseDesignMatrix, DefaultViewConverter
SHAPE = [55, 55, 10]
NSAMPLING = 8000
NIMAGES = 20
N = NIMAGES*NSAMPLING
NTRAIN = NSAMPLING*12
NTEST = NSAMPLING*4
class MSRDataset(DenseDesignMatrix):
def __init__(self, path_to_data='/ho... | gpl-2.0 |
bmerry/dg_view | src/dg_view_options.cpp | 4325 | /*
This file is part of Datagrind, a tool for tracking data accesses.
Copyright (C) 2010 Bruce Merry
bmerry@users.sourceforge.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;... | gpl-2.0 |
hddevteam/luckyci | Project/common/BL/ConfigController.cs | 5838 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Xml;
using System.Xml.Linq;
using common.DAO;
using common.DTO;
namespace common.BL
{
public class ConfigController
{
/// <summary>
/// 查询配置信息
... | gpl-2.0 |
uwosh/uwosh.filariasis | uwosh/filariasis/tests/base.py | 3059 | from Products.Five import zcml
from Products.Five import fiveconfigure
from Testing import ZopeTestCase as ztc
from Products.PloneTestCase import PloneTestCase as ptc
from Products.PloneTestCase.layer import onsetup
from AccessControl import Unauthorized
from mechanize._mechanize import LinkNotFoundError
from smtpl... | gpl-2.0 |
spixi/wesnoth | src/play_controller.cpp | 39536 | /*
Copyright (C) 2006 - 2018 by Joerg Hinrichs <joerg.hinrichs@alice-dsl.de>
wesnoth playlevel Copyright (C) 2003 by David White <dave@whitevine.net>
Part of the Battle for Wesnoth Project https://www.wesnoth.org/
This program is free software; you can redistribute it and/or modify
it under the terms of... | gpl-2.0 |
sunnycase/MPF | src/MPF.Core/Interop/INativeWindow.cs | 1091 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
namespace MPF.Interop
{
[ComImport]
[Guid("12DCA941-A675-4A79-81E0-2378753D6DAF")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
internal interface INativeWind... | gpl-2.0 |
angelblue05/Embytest.Kodi | contextmenu.py | 6951 | # -*- coding: utf-8 -*-
#################################################################################################
import os
import sys
import urlparse
import xbmc
import xbmcaddon
import xbmcgui
addon_ = xbmcaddon.Addon(id='plugin.video.emby')
addon_path = addon_.getAddonInfo('path').decode('utf-8')
base_re... | gpl-2.0 |
radiowarwick/digiplay_legacy | src/www/DPS/models/DPSStationMoveJingleModel.class.php | 2391 | <?php
/**
* @package DPS
*/
include_once($cfg['DBAL']['dir']['root'] . '/Database.class.php');
include_once($cfg['MVC']['dir']['root'] . '/MVCUtils.class.php');
MVCUtils::includeModel('Model', 'tkfecommon');
class DPSStationMoveJingleModel extends Model {
const module = 'DPS';
protected function processValid(... | gpl-2.0 |
netgen/NetgenInformationCollectionBundle | tests/old/FieldHandler/FieldHandlerRegistryTest.php | 2179 | <?php
namespace Netgen\Bundle\InformationCollectionBundle\Tests\FieldHandler;
use eZ\Publish\Core\FieldType\Integer\Value as TestValue;
use Netgen\Bundle\InformationCollectionBundle\FieldHandler\Custom\CustomFieldHandlerInterface;
use Netgen\Bundle\InformationCollectionBundle\FieldHandler\FieldHandlerRegistry;
use PH... | gpl-2.0 |
bringert/plan | src/primitives/Eq.java | 956 | /* Copyright (C) 2003 Bjorn Bringert (bjorn@bringert.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
* (at your option) any later version.
*
* T... | gpl-2.0 |
dwagon/Scheduler | scheduler/report/urls.py | 735 | from django.conf.urls import patterns, url
from .reports import reportIndex, displayMonth, displayYear
from .reports import displayDay, exportData, clientReport
urlpatterns = patterns(
'',
url(r'^$', reportIndex, name='reportIndex'),
url(r"^month/(\d+)/(\d+)/$", displayMonth, name='displayYearMonth'),
... | gpl-2.0 |
OasisProject/WebVR-Template | node_modules/webvr-polyfill/gyro-position-sensor-vr-device.js | 3173 | /*
* Copyright 2015 Boris Smus. All Rights Reserved.
* 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 applicable... | gpl-2.0 |
Mosheman/TesisProyect-CustomWebPlataform | test/controllers/searches_controller_test.rb | 1257 | require 'test_helper'
class SearchesControllerTest < ActionController::TestCase
setup do
@search = searches(:one)
end
test "should get index" do
get :index
assert_response :success
assert_not_nil assigns(:searches)
end
test "should get new" do
get :new
assert_response :success
end... | gpl-2.0 |
hkaj/CoFITS | mt4j/CoFiTS/src/utc/bsfile/util/PropertyManager.java | 2177 | package utc.bsfile.util;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.Properties;
import java.util.Set;
/**
* Class used for managing the project properties
* give facilities for some properties
* Give the path to directories where are sto... | gpl-2.0 |
phpbb-extensions/teamsecurity | tests/event/team_passwords_test.php | 2597 | <?php
/**
*
* Team Security Measures extension for the phpBB Forum Software package.
*
* @copyright (c) 2015 phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
*/
namespace phpbb\teamsecurity\tests\event;
class team_passwords_test extends listener_base
{
/**
*... | gpl-2.0 |
estrategasdigitales/dictobas | wp-content/themes/decibel/includes/customizer-css.php | 2735 | <?php
/**
* Customizer CSS
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
/**
* Inline CSS with the customizer options
*/
function wolf_customizer_css() {
$css = wolf_get_customizer_bg_options( 'body_bg', 'body' );
$css .= wolf_get_customizer_bg_options( 'site_footer_bg', '.si... | gpl-2.0 |
kthblmfld/poopscavator | components/pins.js | 247 | module.exports = {
arm:{
base: 0,
elbow: 2,
shoulder: 4,
head: 6
},
speaker: 11,
lid: 8,
motionSensor: 9,
panicButton: 10,
lidButton: 5,
light:{
rgb:{
red: 14,
green: 12,
blue: 13
}
}
}; | gpl-2.0 |
bulhaa/translate-dhivehi | src/main/java/org/jboss/samples/webservices/HelloWorld.java | 359 | package org.jboss.samples.webservices;
import javax.jws.WebMethod;
import javax.jws.WebService;
import com.gmail.freestyle_reunion.Translator;
@WebService()
public class HelloWorld {
@WebMethod()
public String sayHello(String eText) {
String dText = Translator.translate(eText.split("\\s"), -1).getTranslatedT... | gpl-2.0 |
pleonex/UniversityCP | P7/Tetris/src/data/Punto.java | 1884 | /*
* Copyright (C) 2014 Benito Palacios Sánchez
*
* 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 progr... | gpl-2.0 |
kunj1988/Magento2 | app/code/Magento/Sales/Model/ResourceModel/Order/Payment/Transaction/Collection.php | 5600 | <?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Sales\Model\ResourceModel\Order\Payment\Transaction;
use Magento\Sales\Api\Data\TransactionSearchResultInterface;
use Magento\Sales\Model\ResourceModel\Order\Collection\AbstractCollection;
/**
* ... | gpl-2.0 |
carvalhomb/tsmells | sample/poco/poco/XML/samples/PrettyPrint/src/PrettyPrint.cpp | 2638 | //
// PrettyPrint.cpp
//
// $Id: //poco/svn/XML/samples/PrettyPrint/src/PrettyPrint.cpp#1 $
//
// This sample demonstrates the SAXParser, WhitespaceFilter,
// InputSource and XMLWriter classes.
//
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// Permission is hereby ... | gpl-2.0 |
siiiiilvio/moviesite | wp-content/themes/portthemetrust/footer.php | 914 | <div id="footer" >
<img style="display: none;" src="http://gerontophilia-thefilm.com/wp-content/uploads/2014/04/blogOn.png">
<img style="display: none;" src="http://gerontophilia-thefilm.com/wp-content/uploads/2014/04/blogOff.png">
<img style="display: none;" src="http://gerontophilia-thefilm.com/wp-content... | gpl-2.0 |
jacontrerasp/lab8-commons-io | src/main/java/org/apache/commons/io/filefilter/OrFileFilter.java | 4940 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | gpl-2.0 |
pg18/perso_website | vendor/ezsystems/ezplatform-solr-search-engine/lib/Query/Location/CriterionVisitor/ContentTypeGroupIdIn.php | 1941 | <?php
/**
* This file is part of the eZ Platform Solr Search Engine package.
*
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*
* @version //autogentag//
*/
namespace EzSystems\EzPlatformSo... | gpl-2.0 |
mor10/kuhn | header.php | 1784 | <?php
/**
* The header for our theme
*
* This is the template that displays all of the <head> section and everything up until <div id="content">
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Kuhn
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>... | gpl-2.0 |
godiard/log-activity | logcollect.py | 19456 | # Copyright (C) 2007, Pascal Scheffers <pascal@scheffers.net>
#
# 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 to use,
# copy, ... | gpl-2.0 |
hojsimpson/LiSA | src/xml/lisa_xml.cpp | 45050 | #include <string>
#include <vector>
#include <sstream>
#include <map>
#include <libxml/xmlmemory.h>
#include <libxml/parser.h>
#include <libxml/tree.h>
#define LISA_XML_IMPL
#include "LisaXmlFile.hpp"
#include "xmldefs.hpp"
#include "../basics/matrix.hpp"
#include "../basics/pair.hpp"
#include "../basics/graph.h... | gpl-2.0 |
shiminghua/front_end_practice | webpack.dist.debug.config.js | 1623 | 'use strict';
// process.env.NODE_ENV = 'production';
let Webpack = require('webpack');
let Path = require('path');
let PackageConfig = require('./package.json');
let Configure = require('./webpack/configure');
let WebpackBaseConfig = require('./webpack.base.config');
let WebpackDistDebugConfig = WebpackBaseConfig;
... | gpl-2.0 |
arg0/rss | public.php | 1619 | <?php
set_include_path(dirname(__FILE__) ."/include" . PATH_SEPARATOR .
get_include_path());
/* remove ill effects of magic quotes */
if (get_magic_quotes_gpc()) {
function stripslashes_deep($value) {
$value = is_array($value) ?
array_map('stripslashes_deep', $value) : stripslashes($value);
return $... | gpl-2.0 |
daiogo/LaserHarpists | app/LaserHarpists/app/src/main/java/com/rmscore/laserharpists/Welcome.java | 2053 | package com.rmscore.laserharpists;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.widget.Button;
import android.widget.ImageButton;
import com.rmscore.bases.BaseActivity;
public class Welcome extends BaseActivity {
@Ove... | gpl-2.0 |
steffe/MT4J_KTSI | ktsi/ch/mitoco/main/BuildRadialMenu.java | 27786 | /**
*
*/
package ch.mitoco.main;
import gov.pnnl.components.visibleComponents.widgets.radialMenu.MTRadialMenu;
import gov.pnnl.components.visibleComponents.widgets.radialMenu.item.MTMenuItem;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.mt4j.MTApplication;
... | gpl-2.0 |
donaldinou/nuked-module-userbox | lang/french.lang.php | 1703 | <?php
if (!defined("INDEX_CHECK"))
{
exit('You can\'t run this file alone.');
}
define("_POSTMESS","Poster un message");
define("_AUTHOR","Auteur");
define("_USERFOR","Pour");
define("_SUBJECT","Sujet");
define("_USERMESS","Message");
define("_SEND","Envoyer");
define("_BACK","Retour");
define("_EMPTYFIELD","Assurez v... | gpl-2.0 |
judgels/uriel | app/org/iatoki/judgels/uriel/contest/scoreboard/ioi/IOIScoreboardAdapter.java | 8252 | package org.iatoki.judgels.uriel.contest.scoreboard.ioi;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.google.gson.Gson;
import org.iatoki.judgels.play.jid.AbstractBaseJidCacheServiceImpl;
import org.iatoki.judgels.sandalphon.p... | gpl-2.0 |
timattox/lammps_USER-DPD | src/OPT/pair_eam_opt.cpp | 10950 | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | gpl-2.0 |
Bamboo3000/searchit | wp-content/themes/searchit/metaboxes/contact_spec.php | 348 | <?php
$contact_mb = $contact = new WPAlchemy_MetaBox(array
(
'id' => '_contact',
'title' => 'Contact',
'context' => 'normal',
'priority' => 'high',
'autosave' => TRUE,
'template' => TEMPLATEPATH . '/metaboxes/contact_meta.php',
'include_template' => 'contact-page.php',
'mode' => WPALCHEMY_MODE_EXTRACT,
'prefi... | gpl-2.0 |
eestec/eestec.portal-2 | wp-content/plugins/EESTEC-permissions/EESTEC-permissions.php | 5094 | <?php
/**
* @package EESTEC permissions
*/
/*
Plugin Name: EESTEC permissions
Plugin URI: http://erik.plestenjak.com
Description: The plugin implement EESTEC specific access permissions which are not available by using the other plugins.
Version: 1.0
Author: Erik Plestenjak
Author URI: http://erik.plestenjak.com
Lic... | gpl-2.0 |
cyjseagull/SHMA | zsim-nvmain/pin_kit/source/tools/ToolUnitTests/rtn_insert_call1.cpp | 6553 | /*BEGIN_LEGAL
Intel Open Source License
Copyright (c) 2002-2013 Intel Corporation. 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 noti... | gpl-2.0 |
mixerp6/mixerp | src/Libraries/DAL/Office/GetStoreIdByStoreNameProcedure.cs | 4253 | // ReSharper disable All
/********************************************************************************
Copyright (C) MixERP Inc. (http://mixof.org).
This file is part of MixERP.
MixERP is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Fr... | gpl-2.0 |
Khira/La-Confrerie | src/game/GameObject.cpp | 59892 | /*
* Copyright (C) 2005-2010 MaNGOS <http://getmangos.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 version.
*
... | gpl-2.0 |
swobspace/boskop | spec/features/networks_spec.rb | 2287 | require 'rails_helper'
RSpec.describe "Networks", :type => :feature do
let!(:net1) {FactoryBot.create(:network, netzwerk: '192.168.1.64/27')}
let!(:net2) {FactoryBot.create(:network, netzwerk: '192.168.0.0/23')}
let!(:net3) {FactoryBot.create(:network, netzwerk: '192.168.7.0/24')}
describe "GET /networks" do
... | gpl-2.0 |
jonaseicher/faster-than-kerbal | Assets/UnityKit/Editor/UKEditorProgressBar.cs | 2985 | using UnityEngine;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
using System.Text;
public class UKEditorProgressBar {
public class ProgressInfo {
public string Text;
public int MaxSteps;
public int Step;
public float Percentage {
get {
if (MaxSteps == 0) return 0f;
... | gpl-2.0 |
mttronc/joomla_template_fwrethen | html/com_einsatzkomponente/einsatzarchiv/main_layout_1.php | 25260 | <?php
/**
* @version 3.15.0
* @package com_einsatzkomponente
* @copyright Copyright (C) 2017 by Ralf Meyer. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @author Ralf Meyer <ralf.meyer@mail.de> - https://einsatzkomponente.de
*/
// no direct acc... | gpl-2.0 |
drazenzadravec/nequeo | Tools/PjSIP/Wrapper/Swig_Generation/PersistentDocument.cs | 9817 | //------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.7
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//-----... | gpl-2.0 |
amk221/train-up | class/base/helper_installer.php | 2730 | <?php
/**
* Helper class for installing the plugin
*
* @package Train-Up!
*/
namespace TU;
class Installer {
/**
* __construct
*
* - Fired when this plugin is being activated for the first time.
* - Register the 'static' post types and cache them for the first time.
* - Instantiate the pages, t... | gpl-2.0 |
mfursov/ugene | src/plugins/GUITestBase/src/runnables/ugene/corelibs/U2Gui/ImportToDatabaseDialogFiller.cpp | 13166 | /**
* UGENE - Integrated Bioinformatics Tools.
* Copyright (C) 2008-2017 UniPro <ugene@unipro.ru>
* http://ugene.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
* ... | gpl-2.0 |
gbentley/ezpublish-kernel | eZ/Bundle/EzPublishCoreBundle/DependencyInjection/Compiler/XmlTextConverterPass.php | 1242 | <?php
/**
* File containing the XmlTextConverterPass class.
*
* @copyright Copyright (C) 1999-2013 eZ Systems AS. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
* @version //autogentag//
*/
namespace eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Compiler... | gpl-2.0 |
andresmaeso/neno | libraries/neno/error/error.php | 1357 | <?php
/**
* @package Neno
* @subpackage Error
*
* @copyright Copyright (c) 2014 Jensen Technologies S.L. All rights reserved
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* Class Error
*/
class NenoError
{
public static function error($e... | gpl-2.0 |
MESH-Dev/CMANY | wp-content/themes/CMANEW/template-currentex.php | 1645 | <?php
/**
* Template Name: Current Exhibitions
*/
get_header();
get_sidebar('mainnew');
get_header('nav');
?>
<!--PAGE-NEW-->
<div id="page-new" >
<!--PAGE-CONTAINER -->
<div id="page-container" class="new_page">
<!--TITLE -->
<div class="block">
<h2 class="page-title<?php echo $c... | gpl-2.0 |
elggem/redditbot | src/com/cd/reddit/json/util/RedditComments.java | 1130 | package com.cd.reddit.json.util;
import java.util.List;
import com.cd.reddit.json.mapping.RedditComment;
import com.cd.reddit.json.mapping.RedditLink;
import com.cd.reddit.json.mapping.RedditMore;
public class RedditComments {
private final RedditLink parentLink;
private final List<RedditComment> comment... | gpl-2.0 |
felixonmars/app | extensions/wikia/WikiaHubsServices/models/WikiaHubsPollsModel.class.php | 422 | <?
class WikiaHubsPollsModel extends WikiaModel {
const MANDATORY_OPTIONS_LIMIT = 2;
const VOLUNTARY_OPTIONS_LIMIT = 8;
public function getMandatoryOptionsLimit() {
return self::MANDATORY_OPTIONS_LIMIT;
}
public function getVoluntaryOptionsLimit() {
return self::VOLUNTARY_OPTIONS_LIMIT;
}
public function ... | gpl-2.0 |
btb/punbb-legacy | lang/English/admin_common.php | 1885 | <?php
// Language definitions used in all admin files
$lang_admin_common = array(
// Common items
'Save changes' => 'Save changes',
'Redirect' => 'Redirecting…',
'Add' => 'Add',
'Add new' => 'Add new',
'Delete' => 'Delete',
'Edit' => 'Edit',
'Update' => 'Update',
'Remove' => '... | gpl-2.0 |
jbelborja/lavid | components/com_jevents/jevents.php | 9243 | <?php
/**
* JEvents Component for Joomla 1.5.x
*
* @version $Id: jevents.php 3551 2012-04-20 09:41:37Z geraintedwards $
* @package JEvents
* @copyright Copyright (C) 2008-2009 GWE Systems Ltd
* @license GNU/GPLv2, see http://www.gnu.org/licenses/gpl-2.0.html
* @link http://www.jevents.net
*... | gpl-2.0 |
jshorty/chickadee | db/migrate/20160409215248_add_index_to_user_birds.rb | 111 | class AddIndexToUserBirds < ActiveRecord::Migration
def change
add_index :user_birds, :user_id
end
end
| gpl-2.0 |
nao-pon/xpWiki | html/common/fckxpwiki/plugins/TableEx/fckplugin.js | 8023 | //
// guiedit - PukiWiki Plugin
//
// License:
// GNU General Public License Version 2 or later (GPL)
// http://www.gnu.org/licenses/gpl.html
//
// Copyright (C) 2006-2007 garand
// PukiWiki : Copyright (C) 2001-2006 PukiWiki Developers Team
// FCKeditor : Copyright (C) 2003-2007 Frederico Caldeira Knabben
//
//... | gpl-2.0 |
george5613/libertv | libtorrent.svn/include/libtorrent/invariant_check.hpp | 1482 | // Copyright Daniel Wallin 2004. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef TORRENT_INVARIANT_ACCESS_HPP_INCLUDED
#define TORRENT_INVARIANT_ACCESS_HPP_INCLUDED
#i... | gpl-2.0 |
Lasica/RebeliaProgramowalnychZaskroncow | src/shared/Map.hpp | 908 | #ifndef WORLD_HPP
#define WORLD_HPP
#include <iostream>
#include <cstdio>
#include <vector>
typedef char MapUnit;
class Map {
public:
Map(): width(10), height(10), baseMapUnit_('.') { map_resize(width,height);}
void map_resize(int x, int y) {
if(x > 20) x = 20;
if(y > 20) y = 20;
if(x ... | gpl-2.0 |
yinheark/yincart2 | lib/yincart/cart/_helpers/_kiwi_helper.php | 388 | <?php
namespace kiwi;
exit("This file should not be included, only analyzed by your IDE");
/**
* @method static \yincart\cart\models\ShoppingCart getShoppingCart()
* @method static \yincart\cart\models\Cart getCart()
* @method static string|\yincart\cart\models\ShoppingCart getShoppingCartClass()
* @method stati... | gpl-2.0 |