repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
PDWMorpheus/paradox | src/server/scripts/Commands/cs_misc.cpp | 2343 | /*
* 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 |
maxamillion/anaconda | pyanaconda/kickstart.py | 88144 | #
# kickstart.py: kickstart install support
#
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
# Red Hat, Inc. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Fou... | gpl-2.0 |
Creativetech-Solutions/joomla-easysocial-network | modules/mod_jmslideshow/mod_jmslideshow.php | 4846 | <?php
/*
#------------------------------------------------------------------------
# Package - JoomlaMan JMSlideShow
# Version 1.0
# -----------------------------------------------------------------------
# Author - JoomlaMan http://www.joomlaman.com
# Copyright © 2012 - 2013 JoomlaMan.com. All Rights Reserved.
... | gpl-2.0 |
eltondias/SiteMica | wp-content/plugins/tubepress/src/main/php/classes/tubepress/spi/boot/BootConfigService.php | 1327 | <?php
/**
* Copyright 2006 - 2014 TubePress LLC (http://tubepress.com)
*
* This file is part of TubePress (http://tubepress.com)
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http... | gpl-2.0 |
leeparsons/tpp | wp-content/plugins/tppstore/emails/application_successful.php | 4420 | <html><head></head><body>
<table style="width:100%;">
<tr>
<td><p style="color:#777777;">Hello <?php echo $user->first_name; ?></p></td>
</tr>
<tr>
<td><p style="color:#777777;">Thanks so much for creating your store on The Photography Parlour! We're really pleased to let you know that your ... | gpl-2.0 |
dipendra009/SPIS | display.php | 10849 |
<?php
include_once('db.php');
?>
<?php
##########################################################################
####################### Any Subject ###################################
#######################################################################
if($_POST['type']=="subject_wise" && isset($_PO... | gpl-2.0 |
chronoxor/Depth | source/statistic/CDistributionFisher.cpp | 5818 | /*!
* \file CDistributionFisher.cpp Fisher-Snedecor distribution class.
* \brief Fisher-Snedecor distribution class (source).
* \author Berndt M. Gammel (gammel@matpack.de)
* \version 1.0
* \date 05.03.2009
*/
/*==========================================================================*/
/*
FILE... | gpl-2.0 |
dyrlund/mzmine3 | src/main/java/io/github/mzmine/gui/preferences/NumOfThreadsEditor.java | 3286 | /*
* Copyright 2006-2015 The MZmine 3 Development Team
*
* This file is part of MZmine 3.
*
* MZmine 3 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 opti... | gpl-2.0 |
WarlockD/crispy-doom | stm32/quake/zone.cpp | 18874 | /*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... | gpl-2.0 |
pubpub/pubpub | server/featureFlag/__tests__/queries.test.ts | 3704 | import { modelize, setup } from 'stubstub';
import { getFeatureFlagForUserAndCommunity, getFeatureFlagsForUserAndCommunity } from '../queries';
const createUuidForFraction = (frac: number) => {
const prefix = '00000000-0000-0000-0000-';
const suffix = Math.round(0xffffffffffff * frac)
.toString(16)
.padStart(12... | gpl-2.0 |
goinvo/FacioWebsite | wp-content/themes/facio/category.php | 2240 | <?php
/**
* The template for displaying Category Archive pages.
*
* @package WordPress
* @subpackage Twenty_Eleven
* @since Twenty Eleven 1.0
*/
get_header(); ?>
<section id="primary" class="clearfix">
<div id="content" role="main">
<div class="container">
<div id="post-container">
<?php if ... | gpl-2.0 |
Jannis/ardour3 | gtk2_ardour/automation_streamview.cc | 9793 | /*
Copyright (C) 2001-2007 Paul Davis
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is ... | gpl-2.0 |
oracle2025/ggseq | src/TLSetSnapDialog.cpp | 16548 | /* TLSetSnapDialog.cpp
*
* Copyright (C) 2003 Richard Spindler <oracle2025@gmx.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at ... | gpl-2.0 |
oat-sa/extension-tao-test | actions/class.RestTests.php | 2075 | <?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 WIT... | gpl-2.0 |
seema93/LibreHatti | src/librehatti/programmeletter/views.py | 1199 | from django.shortcuts import render
from django.http import HttpResponse, HttpResponseRedirect
from django.core.urlresolvers import reverse
from librehatti.catalog.request_change import request_notify
from django.contrib.auth.decorators import login_required
from librehatti.suspense.models import Staff
from libre... | gpl-2.0 |
pgena/instance-portal | templates/_default_/special/bbcode_panel.php | 7027 | <?php
if(!defined('VALID_CMS')) { die('ACCESS DENIED'); }
$inUser = cmsUser::getInstance();
?>
<a class="usr_bb_button" href="javascript:addTag('<?php echo $field_id ?>', '[b]', '[/b]')" title="Жирный">
<img src="/includes/bbcode/images/b.png" border="0" alt="Жирный" />
</a>
<a class="usr_bb_button" href="javas... | gpl-2.0 |
taconaut/pms-mlx | core/src/main/java/net/pms/medialibrary/commons/enumarations/ConditionUnit.java | 1093 | /*
* PS3 Media Server, for streaming any medias to your PS3.
* Copyright (C) 2012 Ph.Waeber
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; version 2
* of the License only.
*
* This ... | gpl-2.0 |
lukmaz/BitcoinLottery | src/lottery/transaction/PutMoneyTx.java | 1549 | package lottery.transaction;
import java.math.BigInteger;
import java.util.Arrays;
import com.google.bitcoin.core.NetworkParameters;
import com.google.bitcoin.core.ProtocolException;
import com.google.bitcoin.core.ScriptException;
import com.google.bitcoin.core.Transaction;
import com.google.bitcoin.core.Transaction... | gpl-2.0 |
Septima/qgis-wedgebuffer | src/WedgeBuffer/wedge_buffer_algorithm.py | 6833 | # -*- coding: utf-8 -*-
"""
/***************************************************************************
WedgeBuffer
A QGIS plugin
Makes wedge shaped buffers on points
-------------------
begin : 2016-02-04
copyright ... | gpl-2.0 |
unktomi/form-follows-function | mjavac/langtools/test/tools/javac/enum/ExplicitlyFinalEnum1.java | 1311 | /*
* Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundati... | gpl-2.0 |
tfgordon/zeno | src/zeno2/velocity/action/PostEditAttachmentCommand.java | 17194 | package zeno2.velocity.action;
/*
*
*
*
*
*/
import com.oreilly.servlet.MultipartRequest;
import java.lang.reflect.Method;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.uti... | gpl-2.0 |
groupjkc/esuma | wp-content/themes/esuma/js/esuma.js | 14982 | $(document).ready(function(){
$(document).on('click', '.triangle-shadow', function(){
console.log($(this).position());
});
$(document).on('click', '.youtube', function() {
var width = 500;
var height = 500;
var left = (screen.width / 2) - (width / 2);
var top = (screen.height / 2) - (height / 2);
windo... | gpl-2.0 |
renelopez/JustCars | components/com_jsautoz/views/buyer/tmpl/vehicle_specification.php | 52311 | <?php
/**
* @Copyright Copyright (C) 2012 ... Ahmad Bilal
* @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
* Company: Buruj Solutions
+ Contact: www.burujsolutions.com , ahmad@burujsolutions.com
* Created on: April 05, 2012
^
+ Project: JS Autoz
^
*/
defined('_JEXEC') or die('Restricted access');
... | gpl-2.0 |
triceratops1/cinelerra | cinelerra-4.6/cinelerra-4.6.mod/cinelerra/vdevicebuz.C | 17891 | ;
/*
* CINELERRA
* Copyright (C) 2008 Adam Williams <broadcast at earthling dot 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 opti... | gpl-2.0 |
joenjoin/dp | dp/src/com/dp/structural/Adapter.java | 59 | package com.dp.structural;
public class Adapter {
}
| gpl-2.0 |
Automattic/wp-calypso | packages/language-picker/src/constants.ts | 3296 | import { I18n } from '@wordpress/i18n';
import { LanguageGroup } from './Language';
export const createLanguageGroups = ( __: I18n[ '__' ] ): LanguageGroup[] => [
{
id: 'popular',
name: () => __( 'Popular languages', __i18n_text_domain__ ),
},
{
id: 'africa-middle-east',
name: () => __( 'Africa and Middle E... | gpl-2.0 |
sdl/Sdl-Community | CleanUpTasks/CleanUpTasks/IConversionFileView.cs | 1337 | using System;
using System.Diagnostics.Contracts;
using System.Windows.Forms;
using SDLCommunityCleanUpTasks.Contracts;
namespace SDLCommunityCleanUpTasks
{
[ContractClass(typeof(IConversionFileViewContract))]
public interface IConversionFileView : IDisposable
{
BindingSource BindingSource { get; }
... | gpl-2.0 |
SasaKlepikov/Frogo | wp-content/plugins/scroll-top/admin/admin.php | 14389 | <?php
/**
* Settings functions for the plugin.
*
* @package Scroll_Top
* @since 0.1.0
* @author Satrya
* @copyright Copyright (c) 2014-2015, Satrya
* @license http://www.gnu.org/licenses/gpl-2.0.html
*/
/**
* Sets up the plugin settings page and registers the plugin settings.
*
* @since 0.1... | gpl-2.0 |
playerO1/FieldBOT | src/fieldbot/baseplaning/TBasePlaning_tetris.java | 17257 | /*
* Copyright (C) 2014 PlayerO1
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distribut... | gpl-2.0 |
sebastienD/genetic-car | genetic-car-starters/genetic-car-starter-java/src/main/java/fr/genetic/client/java/api/Team.java | 105 | package fr.genetic.client.java.api;
public enum Team {
RED, YELLOW, BLUE, GREEN, ORANGE, PURPLE
}
| gpl-2.0 |
perrys/WSRC | modules/wsrc/site/email/migrations/0001_initial.py | 2348 | # -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2018-09-12 13:12
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import os
class Migration(migrations.Migration):
initial = True
dependencies = [
m... | gpl-2.0 |
libretro/nestopia | source/core/board/NstBoardWaixing.hpp | 4384 | ////////////////////////////////////////////////////////////////////////////////////////
//
// Nestopia - NES/Famicom emulator written in C++
//
// Copyright (C) 2003-2008 Martin Freij
//
// This file is part of Nestopia.
//
// Nestopia is free software; you can redistribute it and/or modify
// it under the te... | gpl-2.0 |
OS2World/UTIL-FILEMANAGER-OnScreen2 | func/getopt.cpp | 5395 | /**
* $Id$
*
* Copyright 1993-2006, John J. Allen.
* Released under the GNU GPL v2 or later.
*/
#include <getopt.hpp>
#include <stdio.h>
#pragma warn -use
static char rcsID[]="$Id: getopt.cpp 1.6 1995/02/10 09:32:16 jallen Exp $";
#pragma warn +use
static CString _getoptArg;
static int _getoptError;
/**... | gpl-2.0 |
tonglin/pdPm | public_html/typo3_src-6.1.7/t3lib/tree/renderer/class.t3lib_tree_renderer_abstract.php | 395 | <?php
/*
* @deprecated since 6.0, the classname t3lib_tree_Renderer_Abstract and this file is obsolete
* and will be removed with 6.2. The class was renamed and is now located at:
* typo3/sysext/backend/Classes/Tree/Renderer/AbstractTreeRenderer.php
*/
require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility... | gpl-2.0 |
updownlife/multipleK | bin/random_boxquery/patterns.py | 1063 | import re
#seq = 'TTTT' # pattern 0
#seq = 'ATGCTGCTGCTGCA' # pattern 1
#seq = 'ATGCTGCTGCTGCT' # pattern 2
#seq = 'CTGCTGCTGCTGCTGCTGCCGGCG' # pattern 3
#seq = 'AGTAATAGAATAGCCGTA' # pattern 4
def getPattern(seq):
patternId = 5;
# pattern 0: AAAAA
match = re.search(r"^([A,T,G,C]?)\1+$", seq)
if match:
... | gpl-2.0 |
sergeev/hgroundcore | src/scripts/scripts/zone/isle_of_queldanas/isle_of_queldanas.cpp | 28391 | /* Copyright (C) 2006 - 2008 ScriptDev2 <https://scriptdev2.svn.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; either version 2 of the License, or
* (at your option) any l... | gpl-2.0 |
okolisny/integration_tests | cfme/web_ui/timelines.py | 2872 | from datetime import datetime
from cfme.utils.appliance.implementations.ui import navigate_to
NONE_GROUP = 'NONE'
class Timelines(object):
""" Represents Common UI Page for showing generated events
of different Providers as a timeline.
UI page contains several drop-down items which are doing filtering of... | gpl-2.0 |
DanChaltiel/SEQA | androidSEQA/src/main/java/com/dan/seqa/fragments/StatistiqueSessionFragment.java | 3181 | package com.dan.seqa.fragments;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import and... | gpl-2.0 |
JulienLeonard/PVG | lib/shape.py | 2195 | from geoutils import *
from polygon import *
from circle import *
from bezier import *
class Shape:
@staticmethod
def intersectSegmentCircle(segment,circle,strict=False):
result = False
for p in segment.points():
if circle.containpoint(p,strict):
re... | gpl-2.0 |
Tripwire/tripwire-open-source | src/twprint/twprint.cpp | 2265 | //
// The developer of the original code and/or files is Tripwire, Inc.
// Portions created by Tripwire, Inc. are copyright (C) 2000-2018 Tripwire,
// Inc. Tripwire is a registered trademark of Tripwire, Inc. All rights
// reserved.
//
// This program is free software. The contents of this file are subject
// to the ... | gpl-2.0 |
Decentrify/GVoD | core/core-api/src/main/java/se/sics/nstream/FileId.java | 2640 | /*
* Copyright (C) 2009 Swedish Institute of Computer Science (SICS) Copyright (C)
* 2009 Royal Institute of Technology (KTH)
*
* GVoD 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 |
awyrough/thisishill | thisishill/views.py | 447 | # from django.http import HttpResponse
# from django.core.urlresolvers import resolve
from django.shortcuts import render, redirect
from django.contrib import messages
# from django.contrib.auth.decorators import login_required, permission_required
from thisishill.loggers import logger
def landing(request):
"""... | gpl-2.0 |
ehsan/wesnoth | src/image_modifications.cpp | 20101 | /* $Id$ */
/*
Copyright (C) 2009 - 2012 by Ignacio R. Morelle <shadowm2006@gmail.com>
Part of the Battle for Wesnoth Project http://www.wesnoth.org/
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software... | gpl-2.0 |
Takahiro-Maruki/Package-GFE | Programs/GFE_v3.0.cpp | 71446 | // Updated on 09/15/21
/*
Program GFE_v3.0.cpp to estimate allele and genotype frequencies
from pro files of individual high-throughput sequencing data of
multiple individuals from a population. In this version, the
genotype-call (c) mode is added. An error message is given when
the identity of the minor allele i... | gpl-2.0 |
tea-dragon/triplea | src/main/java/games/strategy/engine/pbem/NullWebPoster.java | 1798 | package games.strategy.engine.pbem;
import games.strategy.engine.data.GameData;
import games.strategy.engine.framework.startup.ui.editors.EditorPanel;
import games.strategy.engine.framework.startup.ui.editors.IBean;
import java.io.File;
import java.util.Vector;
public class NullWebPoster implements IWebPoster
{
pri... | gpl-2.0 |
Sonnh290791/techfest | wp-content/plugins/wr-contactform/helpers/contactform.php | 52571 | <?php
/**
* @version $Id$
* @package WR_ContactForm
* @author WooRockets Team <support@woorockets.com>
* @copyright Copyright (C) 2014 WooRockets.com. All Rights Reserved.
* @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html
*
* Websites: http://www.woorockets.com
*/
/**
* WR ... | gpl-2.0 |
stevebutton/kellymancini | wp-content/plugins/constant-contact-signup-form-widget/constant_contact.php | 51402 | <?php
/*
Plugin Name: Constant Contact Widget 2.0
Plugin URI: http://www.seodenver.com/constant-contact-wordpress-widget/
Description: Adds Constant Contact signup form to your sidebar or content without touching code.
Author: Katz Web Services, Inc.
Version: 2.0.3
Author URI: http://www.katzwebservices.com
*/
/*
Copy... | gpl-2.0 |
gustavosaume/caravan | app/assets/javascripts/components.js | 3975 | // RATING COMPONENT
var template = '<fieldset class="rating rating-{{id}}">' +
'<h1 class="rating-title">{{title}}</h1>' +
'<input type="radio" id="star5-{{id}}" name="rating{{id}}" value="5" {{rating >= 5 ? \'checked="checked"\' : \'\'}}/><label class = "full" for="star5-{{id}}" title="Awes... | gpl-2.0 |
chisimba/modules | uwcelearningmobile/templates/content/forum_workgroup_noaccess.php | 470 | <?php
$this->loadClass('link', 'htmlelements');
$str = $this->objLanguage->languageText('mod_forum_accessdeniedworkgroup', 'forum');
echo '<strong>' . $str . '</strong>';
echo '<p>';
echo $this->objLanguage->languageText('mod_forum_accessdeniedworkgroupmessage', 'forum');
echo '</p>';
echo '<p>';
$backLink = new link... | gpl-2.0 |
Tomasen/SPlayer | Thirdparty/atlmfc/src/mfc/ctlconn.cpp | 6224 | // This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sourc... | gpl-2.0 |
tmikkonen/NDL-VuFind2 | module/VuFind/tests/unit-tests/src/VuFindTest/Record/LoaderTest.php | 11669 | <?php
/**
* Record loader tests.
*
* PHP version 7
*
* Copyright (C) Villanova University 2010.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program is distr... | gpl-2.0 |
damj3t/judicial | components/com_causa/views/search/tmpl/default_error.php | 1061 | <?php
/**
* @package Joomla
* @subpackage Tecnomed
* @copyright (C) 2010 Ugolotti Federica
* @license GNU/GPL, see LICENSE.php
* Tecnomed is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License 2
* as published by the Free Software Foundation.
* Tecnomed i... | gpl-2.0 |
EdoMagen/project-s-v2 | me_v0.2/src/components/form-types/form-types.js | 1517 | import React, { Component } from 'react';
const FormTypes = {
items: {},
/*
* addItem:
* adds a new react component that will be used according to the input types
*/
addItem(types, component) {
var items = this.items;
types = Array.isArray(types) ? types : [types];
types.forEach((formTypeItem)... | gpl-2.0 |
heydenreich/sw360portal | backend/src/src-licenses/src/main/java/com/siemens/sw360/licenses/LicenseServlet.java | 1467 | /*
* Copyright Siemens AG, 2013-2015. Part of the SW360 Portal Project.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License Version 2.0 as published by the
* Free Software Foundation with classpath exception.
*
* This program is distribu... | gpl-2.0 |
Percona-QA/package-testing | molecule/pdmysql/orchestrator/molecule/tests_underwork/test_10_graceful_master_takeover_fail_cross_region.py | 640 | import os
import testinfra.utils.ansible_runner
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
def test_graceful_master_takeover_fail_cross_region(host):
expected_failure = "PreventCrossRegionMasterFailover"
cmd = "orchestrator-cli... | gpl-2.0 |
ericleib/planespotter | scraping/planespotters/spiders/spider.py | 5326 | import scrapy
import re
import urlparse
import urllib
import unicodedata
#from scrapy.contrib.spiders import CrawlSpider, Rule
#from scrapy.contrib.linkextractors import LinkExtractor
from planespotters.items import PlaneItem
def strip_accents(s):
return ''.join(c for c in unicodedata.normalize('NFD', s) if unic... | gpl-2.0 |
theguardian/JIRA-APPy | lib/apscheduler/schedulers/asyncio.py | 2044 | from __future__ import absolute_import
from functools import wraps
from lib.apscheduler.schedulers.base import BaseScheduler
from lib.apscheduler.util import maybe_ref
try:
import asyncio
except ImportError: # pragma: nocover
try:
import trollius as asyncio
except ImportError:
raise Impor... | gpl-2.0 |
kunj1988/Magento2 | lib/internal/Magento/Framework/MessageQueue/Consumer.php | 10221 | <?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\MessageQueue;
use Magento\Framework\App\ResourceConnection;
use Magento\Framework\Exception\LocalizedException;
use Magento\Framework\Phrase;
use Magento\Framework\MessageQueue\Consumer\C... | gpl-2.0 |
salviati/gens-gs-debug | src/gens/emulator/g_main_haiku.cpp | 5291 | /***************************************************************************
* Gens: Main Loop. (Haiku-specific code) *
* *
* Copyright (c) 1999-2002 by Stéphane Dallongeville *
* Copyright... | gpl-2.0 |
Ale32bit/SlimeCore | console/installer.lua | 167 | local h = http.get("https://raw.githubusercontent.com/Ale32bit/SlimeCore/master/console/console.lua").readAll()
local f = fs.open("/console","w")
f.write(h)
f.close()
| gpl-2.0 |
vitorsalgado/crap | cqrs/crime-map/src/CrimeMap.CommandHandlers/Infrastructure/CommandDispatcher.cs | 675 | using System.Threading.Tasks;
using CrimeMap.Command;
namespace CrimeMap.CommandHandlers {
public class CommandDispatcher : ICommandDispatcher {
private readonly ICommandHandlerResolver _commandHandlerResolver;
public CommandDispatcher(ICommandHandlerResolver commandHandlerResolver) {
_commandHandlerResolv... | gpl-2.0 |
Danielx64/WP-phpbb-bridge | phpBB-WordPress-bridge/Bridge-phpBB-WordPress/wordpress/wp-content/themes/phpbb-to-wp-connector/settings/wp-united.php | 719 | <?php
/**
* @package phpBB to WP connector
* @version $Id: 1.5.0
* @copyright (c) 2013-2014 danielx64.com
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @author Danielx64
*
* @based off WP-United
* @orginal author John Wells wp-united.com
*/
/**
Much of this was taken from wp-unit... | gpl-2.0 |
olivierdalang/stdm | ui/customcontrols/fk_browser.py | 884 | __author__ = 'SOLOMON'
class FKBrowserProperty(object):
def __init__(self, id, value, parent=None):
"""
Initialize class variables
:param id:
:param value:
:param parent:
:return:
"""
self._id = id
self._display_value = value
... | gpl-2.0 |
cmacq2/plasma-desktop | kcms/kfontinst/kcmfontinst/FontFilter.cpp | 13306 | /*
* KFontInst - KDE Font Installer
*
* Copyright 2003-2007 Craig Drummond <craig@kde.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... | gpl-2.0 |
dannykopping/mysql-utilities | mysql-test/t/server_info.py | 6979 | #
# Copyright (c) 2010, 2013, Oracle and/or its affiliates. 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; version 2 of the License.
#
# This program is distributed in th... | gpl-2.0 |
hulifox008/bitbake | lib/bb/fetch2/local.py | 2570 | # ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
BitBake 'Fetch' implementations
Classes for obtaining upstream sources for the
BitBake build tools.
"""
# Copyright (C) 2003, 2004 Chris Larson
#
# This program is free software; you can redistribute it and/or modify
# it u... | gpl-2.0 |
jonabbey/Ganymede | src/ganymede/arlut/csd/JTable/rowSelectCallback.java | 2970 | /*
rowSelectCallback.java
An interface that objects can implement to allow arlut.csd.JTable tables
to report when a row is selected.
Created: 19 June 1996
Module By: Jonathan Abbey, jonabbey@arlut.utexas.edu
-----------------------------------------------------------------------
Ganymede Direc... | gpl-2.0 |
mentat/nnim | boost/weak_ptr.hpp | 3976 | #ifndef BOOST_WEAK_PTR_HPP_INCLUDED
#define BOOST_WEAK_PTR_HPP_INCLUDED
//
// weak_ptr.hpp
//
// Copyright (c) 2001, 2002 Peter Dimov
//
// Permission to copy, use, modify, sell and distribute this software
// is granted provided this copyright notice appears in all copies.
// This software is provided ... | gpl-2.0 |
jeetpatel/commerce | modules/contrib/commerce_opp/src/Transaction/Status/Rejected3dsecureIntercard.php | 231 | <?php
namespace Drupal\commerce_opp\Transaction\Status;
class Rejected3dsecureIntercard extends Rejected {
/**
* @inheritDoc
*/
public function getType() {
return Constants::TYPE_REJECTED_3DSECURE_INTERCARD;
}
} | gpl-2.0 |
cuongnd/test_pro | components/com_utility/controllers/utility.php | 35444 | <?php
/**
* @package Joomla.Site
* @subpackage com_users
*
* @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_COMPONENT . '/controller.php';
req... | gpl-2.0 |
inspiraCode/scspro | scspro-parent/scspro_dto/src/main/java/com/nowgroup/scspro/dto/prod/ReceiptMerchandise.java | 4072 | package com.nowgroup.scspro.dto.prod;
import java.math.BigDecimal;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
i... | gpl-2.0 |
samboy/Oblige | games/doom/fabs/stairs/lift_64.lua | 273 | --
-- basic lift, 64 units high
--
PREFABS.Lift_64 =
{
file = "stairs/lift_64.wad"
prob = 1
theme = "!hell"
style = "steepness"
where = "seeds"
shape = "I"
seed_w = 2
x_fit = "stretch"
bound_z1 = 0
delta_h = 64
plain_ceiling = true
}
| gpl-2.0 |
iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest14359.java | 2187 | /**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | gpl-2.0 |
baratine/baratine | framework/src/main/java/com/caucho/v5/bartender/proc/ProcServices.java | 3921 | /*
* Copyright (c) 1998-2015 Caucho Technology -- all rights reserved
*
* This file is part of Baratine(TM)
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Baratine is free software; you can redistribute it and/or modify
* it under the terms of the GNU General... | gpl-2.0 |
indiyskiy/WorldOnline | src/view/servlet/phone/GetAllCardsServlet.java | 770 | package view.servlet.phone;
import controller.phone.parser.AllCardsParser;
import controller.phone.parser.MobileParser;
import model.constants.Component;
import model.logger.LoggerFactory;
import model.phone.requesthandler.AllCardsHandler;
import model.phone.requesthandler.MobileHandler;
public class GetAllCardsServl... | gpl-2.0 |
SFINA/SFINA | core/src/power/backend/PowerFlowType.java | 295 | /*
* 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 power.backend;
/**
*
* @author evangelospournaras
*/
public enum PowerFlowType {
AC,
DC
}
| gpl-2.0 |
Vector919/deserialize | setup.py | 299 | #!/usr/bin/env python
from distutils.core import setup
setup(name='Deserialize',
version='0.1',
description='Utility for generating generic data from JSON or XML',
author='Kirt Gittens',
author_email='damagecontrolsoftware@gmail.com',
packages=['deserialize'],
) | gpl-2.0 |
adelq/rosalind | PMCH.py | 348 | from math import factorial
def perfect_matchings(rna):
"""Find number of perfect matchings in a string of RNA.
>>> perfect_matchings("AGCUAGUCAU")
12
"""
return factorial(rna.count("A")) * factorial(rna.count("C"))
def test_main():
assert perfect_matchings("AGCUAGUCAU") == 12
if __name__ == ... | gpl-2.0 |
lovevv/IM_QQ | server/IMQ_server.cpp | 14554 | #include "IMQ_server.h"
#include "Tcpsocket_client.h"
#include <stdlib.h>
#include <QtSql/QSqlDatabase>
#include<QtSql/QSqlQuery>
#include<stdio.h>
#include <QDateTime>
#include "message.h"
IMQ_server::IMQ_server(QObject *parent,int port):QTcpServer(parent)
{
qDebug("jianli ziji erver oject");
usernum=0;//用户数目... | gpl-2.0 |
Unofficial-Extend-Project-Mirror/openfoam-extend-Breeder2.0-libraries-swak4Foam | Libraries/swakDynamicMesh/patches/groovyCyclicACMIPolyPatchI.H | 1312 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright held by original author
\\/ M anipulation |
-----------------... | gpl-2.0 |
MikkelSandbag/seElgg | views/default/widgets/content_stats/edit.php | 507 | <?php
/**
* Content statistics widget edit view
*/
$num_display = sanitize_int ( $vars ['entity']->num_display, false );
// set default value for display number
if (! $num_display) {
$num_display = 8;
}
$params = array (
'name' => 'params[num_display]',
'value' => $num_display,
'options' => array (
5,
... | gpl-2.0 |
fschaper/netcell | core/libraries/oxml/include/oxml/sml-baseTypes_writers.hpp | 4391 | /**
* \file
* Copyright (C) 2006-2009 Jedox AG
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License (Version 2) as published
* by the Free Software Foundation at http://www.gnu.org/copyleft/gpl.html.
*
* This program is dis... | gpl-2.0 |
sdc/DevonStudioSchool | templates/rt_clarion/html/com_weblinks/category/default_items.php | 5773 | <?php
/**
* @package Joomla.Site
* @subpackage com_weblinks
* @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;
// Code to support edit links for weblinks
... | gpl-2.0 |
cassiodeveloper/blog.cassiobp.com.br | wp-config.php | 3114 | <?php
/**
* The base configurations of the WordPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys, WordPress Language, and ABSPATH. You can find more information
* by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
* wp-config.php} Codex pag... | gpl-2.0 |
rsouza01/eos.hadron.Bethe_Johnson | src/eos.hadron.Bethe_Johnson/bethe_johnson_eos.py | 2403 | #!/usr/bin/python
# eos.hadron.Bethe_Johnson - Bethe & Johnson EOS (Shapiro, pg 211)
# Copyright (C) 2015 Rodrigo Souza <rsouza01@gmail.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; eit... | gpl-2.0 |
tkdiooo/framework | QI-Basic/QI-Basic-Menu/src/main/java/com/qi/menu/logback/HttpContextInitializer.java | 2300 | package com.qi.menu.logback;
import ch.qos.logback.classic.LoggerContext;
import ch.qos.logback.classic.gaffer.GafferUtil;
import ch.qos.logback.classic.joran.JoranConfigurator;
import ch.qos.logback.classic.util.ContextInitializer;
import ch.qos.logback.classic.util.EnvUtil;
import ch.qos.logback.core.LogbackExceptio... | gpl-2.0 |
Dudro/317_AI | make_plots.py | 710 | from utils import *
def make_plots(bar_plots_name, plots_name, file_names):
"""
Uses the JSON data in the given 'file_names' to write aggregate bar plots
to 'bar_plots_name' and aggregate plots to 'plots_name'.
"""
data = [read_json_data(file) for file in file_names]
output_bar_multiple(bar_pl... | gpl-2.0 |
nitesh146/Motleymart | administrator/components/com_quick2cart/tables/customer_address.php | 6969 | <?php
/**
* @version SVN: <svn_id>
* @package Quick2cart
* @author Techjoomla <extensions@techjoomla.com>
* @copyright Copyright (c) 2009-2016 TechJoomla. All rights reserved.
* @license GNU General Public License version 2 or later.
*/
// No direct access
defined('_JEXEC') or die;
use Joomla\Utili... | gpl-2.0 |
EsriCanada-CE/ecce-app-challenge-2016 | maraudersmApp/maraudersmApp/GeoJsonBuild/Calgary Trail North.js | 254736 | var CalgaryTrailNorthbuild = {
"type": "FeatureCollection",
"features": [
{
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-113.4926247146674,
53.48687978561501
],
[
-113.49262498382464,
... | gpl-2.0 |
yovanychx/GestionCasos | sv.edu.uesocc.casosacad.project/sv.edu.uesocc.casosacad.project-web/src/main/java/rest/RequisitoRest.java | 5154 | /*
* 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 rest;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import j... | gpl-2.0 |
jopereira/minha | runtime/src/main/java/pt/minha/models/global/ExitHandler.java | 1093 | /*
* Minha.pt: middleware testing platform.
* Copyright (c) 2011-2014, Universidade do Minho.
*
* 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 ... | gpl-2.0 |
amang-cuelogic/wp_test | wp-content/themes/omega/vendor/oxygenna/oxygenna-framework/inc/OxygennaTheme.php | 4823 | <?php
/**
* Main theme class file
*
* @package ThemeFramework
* @subpackage Theme
* @since 1.0
*
* @copyright (c) 2014 Oxygenna.com
* @license http://wiki.envato.com/support/legal-terms/licensing-terms/
* @version 1.2
* @author Oxygenna.com
*/
define('OXY_TF_DIR', OXY_THEME_DIR . 'vendor/oxygenna/oxygenna-f... | gpl-2.0 |
lyrgard/HexScape | client_core/src/main/java/fr/lyrgard/hexScape/model/model3d/loader/AseModelLoader.java | 28749 | package fr.lyrgard.hexScape.model.model3d.loader;
/*
* Copyright (c) 2003, jMonkeyEngine - Mojo Monkey Coding 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 c... | gpl-2.0 |
aosm/gcc_40 | gcc/testsuite/g++.dg/parse/friend2.C | 316 | // { dg-do compile }
// Origin: <struppi@acm.org>
// PR c++/8591
// Template or class detection in friend declaration
namespace NS {
template <class T1, class T2, class T3 = int, class T4 = int>
struct C {};
}
template <class T> class X {
friend class NS::C; // { dg-error "expected|friend" }
};
X<int> c;
| gpl-2.0 |
judgels/jerahmeel | app/assets/javascripts/problemUpdateView.js | 330 | require(["jquery"], function( __tes__ ) {
$(document).ready(function() {
$.ajax({
url: problemUpdateViewUrl,
type: 'POST',
data: {
chapterProblemId: chapterProblemId
},
contentType: 'application/x-www-form-urlencoded',
});
... | gpl-2.0 |
crodesign/mailgapp | wp-content/themes/thetheme/index.php | 330 | <?php
/**
* @package theTheme
* @author CroDesign http://www.yootheme.com
* @copyright Copyright (C) CroDesign GmbH
* @license http://www.gnu.org/licenses/gpl.html GNU/GPL
*/
// get warp
$warp = require(__DIR__.'/warp.php');
// load main theme file, located in /layouts/theme.php
echo $warp['template']->render(... | gpl-2.0 |
uwosh/uwosh.itpeoplesoftdocs | uwosh/itdocs/content/runinstruction.py | 3063 | """Definition of the RunInstruction content type
"""
from zope.interface import implements
from Products.Archetypes import atapi
from Products.ATContentTypes.content import folder
from Products.ATContentTypes.content import schemata
from uwosh.itdocs import itdocsMessageFactory as _
from uwosh.itdocs.interfaces impo... | gpl-2.0 |
Vovke/cubetris | Source/cubetris_client/Assets/NGUI/Scripts/Internal/UpdateManager.cs | 6172 | //----------------------------------------------
// NGUI: Next-Gen UI kit
// Copyright © 2011-2012 Tasharen Entertainment
//----------------------------------------------
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// Update manager allows for simple progr... | gpl-2.0 |
chamamo/Cham.DocxReport | Cham.DocxReport.Helper.Winform/DocxFields/UcPercentageFormatControle.cs | 1043 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using System.Globalization;
using Cham.DocxReport.Helper.Core;
namespace Cham.DocxReport.Helper.Winform.DocxFields
{
internal partial class UcPercent... | gpl-2.0 |
pieter/mysql-server | ndb/src/kernel/vm/ArrayList.hpp | 950 | /* Copyright (C) 2003 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT AN... | gpl-2.0 |