repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
TOMIGalway/cmoct-sourcecode | src/com/joey/software/volumeTools/SliceLinker.java | 6124 | /*******************************************************************************
* Copyright (c) 2012 joey.enfield.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
... | gpl-2.0 |
atizo/epicwall | standalone/src/rec.py | 2408 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# epicwall Project
# http://epicwall.ch/
#
# Copyright (c) 2017 see AUTHORS file. 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 Found... | gpl-2.0 |
Hefester/l2c-devsadmin | L2DevsAdmins/L2.LoginService/InnerNetwork/CacheServiceConnection.cs | 5223 | using System;
using System.Net;
using L2.Net.LoginService.OuterNetwork;
using L2.LoginService.Properties;
using L2.Net.Network;
using L2.Net.Structs.Services;
namespace L2.Net.LoginService.InnerNetwork
{
/// <summary>
/// Provides connection between cache service and login service.
/// </summary>
inte... | gpl-2.0 |
zaakpay/zaakpay-drupal-commerce-kit | response.php | 692 | <?php include('checksum.php'); ?>
<?php
// Please insert your own secret key here
$secret_key = 'Your Secret key goes here';
$recd_checksum = $_POST['checksum'];
$all = Checksum::getAllParams();
$checksum_check = Checksum::verifyChecksum($recd_checksum, $all, $secret_key);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD ... | gpl-2.0 |
pitosalas/blogbridge | test/com/salas/bb/domain/TestStandardGuideEvents.java | 9149 | // BlogBridge -- RSS feed reader, manager, and web based service
// Copyright (C) 2002-2006 by R. Pito Salas
//
// 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 Li... | gpl-2.0 |
ericphamhoang/awesomeblock | includes/class-awesomeblock-loader.php | 5053 | <?php
/**
* Register all actions and filters for the plugin
*
* @link https://github.com/ericphamhoang
* @since 1.0.0
*
* @package Awesomeblock
* @subpackage Awesomeblock/includes
*/
/**
* Register all actions and filters for the plugin.
*
* Maintain a list of all hooks that are registered th... | gpl-2.0 |
dmitrysmagin/profadeluxe | src/sprites/TSprVerticalFlip.cpp | 3525 | #ifndef _TSPRVERTICALFLIP_
#define _TSPRVERTICALFLIP_
#include "sprites.h"
#include "../escenas/escenarios.h"
REGISTER_CLASS_ID(TSprVerticalFlip);
// Babosas
//
int TSprVerticalFlip::AnimBabosaAmarilla[8]={92,93,94,95,96,95,94,93};
int TSprVerticalFlip::AnimBabosaVerde[8]= {109,110,111,112,113,112,111,1... | gpl-2.0 |
nobrother/omc-wp-draft | wp-content/plugins/wp-media-javascript-guide-master/sections/wp.media.view.MediaFrame.Post/index.php | 3077 | <h3>wp.media.view.MediaFrame.Post</h3>
<p>A workflow for choosing content in various forms (media, galleries, playlists) to insert into the content editor.</p>
<h3>Properties</h3>
<dl>
<dt><code>content</code><?php WPMJG::inherited_from_text( 'wp.media.view.Frame' ) ?></dt>
<dd>The <code>content</code> region control... | gpl-2.0 |
fafeitsch/Lateness | src/main/java/de/fafeitsch/lateness/domain/Route.java | 2185 | /*
* 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 de.fafeitsch.lateness.domain;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java... | gpl-2.0 |
alip/paludis-alip | paludis/resolver/strongly_connected_component.hh | 2274 | /* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
* Copyright (c) 2010 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis 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 Found... | gpl-2.0 |
Smattacus/data-analysis | python/5-28-2014/analyze_xcorrs_5_28_2014.py | 982 | #/usr/bin/python2
#Import some packages. Mainly the scipy stuff.
#Consider being more selective with imports in the future, for speed of course.
import numpy as np
import matplotlib as mp
import os
import glob
import scipy as sp
from scipy import io
from matplotlib import pyplot as plt
print("Hello world!")
N = 80... | gpl-2.0 |
archlinux/archweb | packages/views/signoff.py | 8366 | import json
from operator import attrgetter
from django import forms
from django.contrib.auth.decorators import permission_required
from django.contrib.auth.models import User
from django.core.mail import EmailMessage
from django.core.serializers.json import DjangoJSONEncoder
from django.db import transaction
from dja... | gpl-2.0 |
adster101/French-Connections- | administrator/templates/fcadmin/html/modules.php | 3275 | <?php
/**
* @package Joomla.Administrator
* @subpackage Templates.isis
*
* @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;
/**
* This is a file to add template sp... | gpl-2.0 |
drazenzadravec/nequeo | Source/Clients/Common/Nequeo.Client.Common/Nequeo.Client.Common/Chat/IChat.cs | 2446 | /* Company : Nequeo Pty Ltd, http://www.nequeo.com.au/
* Copyright : Copyright © Nequeo Pty Ltd 2010 http://www.nequeo.com.au/
*
* File :
* Purpose :
*
*/
#region Nequeo Pty Ltd License
/*
Permission is hereby granted, free of charge, to any person
obtaining a copy of th... | gpl-2.0 |
ElvisLouis/code | work/QT/Expriment/EVA/EVA_0.1/EVA/main.cpp | 278 | #include "mainwindow.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QPushButton * button = new QPushButton("EVA");
connect(button , &QPushButton::clicked,&QApplication::quit);
button.show();
/*
MainWindow w;
w.show();
*/
return a.exec();
}
| gpl-2.0 |
MinhTrung352/webbanhang | wp-content/themes/golmart/inc/core/widgets/twitter.php | 13617 | <?php
/**
* $Desc
*
* @version $Id$
* @package wpbase
* @author Opal Team <opalwordpressl@gmail.com >
* @copyright Copyright (C) 2014 wpopal.com. All Rights Reserved.
* @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html
*
* @website http://www.wpopal.com
* @support http://w... | gpl-2.0 |
ajaniv/softwarebook | c++/Calendar/CalendarTest/Rules/RulesTest.cpp | 13628 | /**
* \file RulesTest.hpp
* \brief RulesTest header file
*
*/
/*
* This file is part of OndALear collection of open source components.
*
* 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 thi... | gpl-2.0 |
espertechinc/nesper | src/NEsper.Avro/Writer/AvroEventBeanWriterPerProp.cs | 1895 | ///////////////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2006-2015 Esper Team. All rights reserved. /
// http://esper.codehaus.org /
// --------------------------------------------------... | gpl-2.0 |
joelbrock/PFC_CORE | pos/is4c-nf/plugins/QuickMenus/quickmenus/1.php | 207 | <?php
$my_menu = array(
"Charge Available Card" => "CCFROMCACHE",
"Reset Terminal (Quick)" => "TERMRESET",
"Tender External CC" => "MANUALCC",
"Reboot Terminal (Slow)" => "TERMREBOOT",
);
?>
| gpl-2.0 |
umlsynco/umlsync | diagrammer/dm/dm/LocalFilesView.js | 1546 | /*
Class: LocalFilesView
Author:
Evgeny Alexeyev (evgeny.alexeyev@googlemail.com)
Copyright:
Copyright (c) 2012 Evgeny Alexeyev (evgeny.alexeyev@googlemail.com). All rights reserved.
URL:
umlsync.org/about
Version:
2.0.0 (2012-07-22)
*/
//@aspect
(function($, dm, undefined) {
dm.base.LocalFilesView = fun... | gpl-2.0 |
Caduceus/DecapitatedSoul | src/protocolgame.cpp | 69065 | /**
* The Forgotten Server - a free and open-source MMORPG server emulator
* Copyright (C) 2020 Mark Samman <mark.samman@gmail.com>
* Modifications made by Caduceus <decapitatedsoulot@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Publi... | gpl-2.0 |
ianling/nespy | setup.py | 530 | from distutils.core import setup
from Cython.Build import cythonize
# python3 setup.py build_ext --inplace
# cythonize -3 -a -i .\nespy\util.py .\nespy\cpu.py .\nespy\ppu.py .\nespy\clock.py .\nespy\nes.py .\nespy\apu.py .\nespy\enum.py
setup(ext_modules=cythonize(['nespy/nes.py', 'nespy/apu.py', 'nespy/clock.py',
... | gpl-2.0 |
ctag/cpe453 | JMRI/jython/TurnoutReset.py | 1105 | # Reset a turnout to Closed every time it's clicked Thrown
#
# This might be used so that a turnout icon on a panel sits
# in one position, ready to be clicked and fire a route
#
# The top of the file defines the needed code. There are some
# lines near the bottom you should edit to adapt it to your
# particular lay... | gpl-2.0 |
jsampedro77/AccessTokenSecurityBundle | Util/TokenGenerator.php | 1100 | <?php
namespace Nazka\AccessTokenSecurityBundle\Util;
/**
* Adapted from FOSUserBundle
*/
class TokenGenerator
{
private $useOpenSsl;
public function __construct()
{
// determine whether to use OpenSSL
if (defined('PHP_WINDOWS_VERSION_BUILD') && version_compare(PHP_VERSIO... | gpl-2.0 |
bsteph/FFLLogbook | tests/TestCase/Controller/GunmaintControllerTest.php | 1210 | <?php
namespace App\Test\TestCase\Controller;
use App\Controller\GunmaintController;
use Cake\TestSuite\IntegrationTestCase;
/**
* App\Controller\GunmaintController Test Case
*/
class GunmaintControllerTest extends IntegrationTestCase
{
/**
* Fixtures
*
* @var array
*/
public $fixtures ... | gpl-2.0 |
grlf/eyedock | components/com_gpmaterial/js/search_box.js | 2409 | var SearchBox = new Class({
Implements: [Options, Events],
options: {
transition: 'quad:out',
fps: 50,
open_width: 315,
open_color: '#e7c348',
duration: 300,
defaults: {
width: 150,
color: '#a5a5a5',
border_color: '#2687ae',
value: 'Search everything...'
}
},
initialize: function(cont... | gpl-2.0 |
xtingray/tupi | src/shell/tupapplication.cpp | 3925 | /***************************************************************************
* Project TUPI: Magia 2D *
* Project Contact: info@maefloresta.com *
* Project Website: http://www.maefloresta.com *
* Project... | gpl-2.0 |
rebase-helper/rebase-helper | rebasehelper/argument_parser.py | 4142 | # -*- coding: utf-8 -*-
#
# This tool helps you rebase your package to the latest version
# Copyright (C) 2013-2019 Red Hat, 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... | gpl-2.0 |
brianedsauer/wordpress-fieldmanager | tests/php/test-fieldmanager-term-meta.php | 5593 | <?php
/**
* Tests the Fieldmanager Term Meta
*
* @group util
* @group term
*/
class Test_Fieldmanager_Term_Meta extends WP_UnitTestCase {
public $current_user;
public function setUp() {
parent::setUp();
Fieldmanager_Field::$debug = true;
$this->current_user = get_current_user_id();
wp_set_current_user... | gpl-2.0 |
GiuseppeGorgoglione/mame | src/devices/bus/cbmiec/c1541.cpp | 37306 | // license:BSD-3-Clause
// copyright-holders:Curt Coder
/**********************************************************************
Commodore 1540/1541/1541C/1541-II Single Disk Drive emulation
**********************************************************************/
/*
TODO:
- c1540 fails to load the direct... | gpl-2.0 |
no-reply/cbpl-vufind | module/VuFind/src/VuFind/Theme/Root/Helper/Record.php | 12557 | <?php
/**
* Record driver view helper
*
* PHP version 5
*
* 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 d... | gpl-2.0 |
gitbooster/kuhnijam.ru | page-about.php | 10537 | <?php
/*
* Template name: About
* */
get_header(); ?>
<div class="conteiner"><div class="head_about pad">
<img src="images/modules.png" alt="">
<div class="cont">
<h1 class="title">О студии</h1>
<div class="text">
В нашей студии вы можете заказать: <a href="/works/web-design">сай... | gpl-2.0 |
marceloomiqueles/vallewp_miqueles | wp-content/themes/storefront/template-rental.php | 21217 | <?php
/**
* The template for displaying full width pages.
*
* Template Name: Rental
*
* @package storefront
*/
$nombre;
$apellido;
$edad;
$estatura;
$fecha;
$fecha_rental;
$peso;
$sexo;
$sexo_text = array( 0 => "", 1 => "MASCULINO", 2 => "FEMENINO" );
$aparato;
$aparato_text = array( 0 => "", 1 => "Ski", 2 => "S... | gpl-2.0 |
gurjitdhillon/phpmyadmin | test/libraries/common/PMA_formatNumberByteDown_test.php | 2654 | <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Test for format number and byte
*
* @package PhpMyAdmin-test
* @group common.lib-tests
*/
/*
* Include to test.
*/
require_once 'libraries/CommonFunctions.class.php';
require_once 'libraries/php-gettext/gettext.inc';
class PMA_formatNumberByteDown_test exte... | gpl-2.0 |
Zaturrby/deploykanvas | wp-config.php | 3388 | <?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 |
DynamicDevices/dta | Renci.SshNet/ScpClient.cs | 16166 | using System;
using System.Linq;
using System.Text;
using Renci.SshNet.Channels;
using System.IO;
using Renci.SshNet.Common;
using System.Text.RegularExpressions;
using System.Threading;
using System.Diagnostics.CodeAnalysis;
namespace Renci.SshNet
{
/// <summary>
/// Provides SCP client function... | gpl-2.0 |
alxnns1/Essemancy | src/main/java/com/alxnns1/essemancy/init/EEntities.java | 1891 | package com.alxnns1.essemancy.init;
import com.alxnns1.essemancy.Essemancy;
import com.alxnns1.essemancy.entity.EntitySpawn;
import com.alxnns1.essemancy.entity.EntityWisp;
import com.alxnns1.essemancy.entity.EntityWraith;
import com.alxnns1.essemancy.entity.render.RenderSpawn;
import com.alxnns1.essemancy.entity.rend... | gpl-2.0 |
Bryukh-Checkio-Tasks/checkio-task-simplification | editor/animation/init.js | 4856 | //Dont change it
requirejs(['ext_editor_1', 'jquery_190', 'raphael_210', 'snap.svg_030'],
function (ext, $, Raphael, Snap) {
var cur_slide = {};
ext.set_start_game(function (this_e) {
});
ext.set_process_in(function (this_e, data) {
cur_slide = {};
cur_slid... | gpl-2.0 |
EaseTech/schema-generator | src/main/java/org/easetech/schema/SimpleType.java | 5794 | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.04.28 at 02:40:2... | gpl-2.0 |
langcog/wordbank | instruments/migrations/0015_english_british_teds_twos.py | 13063 | # -*- coding: utf-8 -*-
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('instruments', '0014_auto_20160517_1301'),
]
operations = [
migrations.CreateModel(
name='English_British_TEDS_Twos',
fields=[
... | gpl-2.0 |
diogodanielsoaresferreira/ProgrammingExercises-Java- | P2/Aula 3/p34.java | 1024 | package p2;
import static java.lang.System.*;
public class p34
{
public static void main(String[] args)
{
Agenda agenda = new Agenda();
agenda.novaNota(new Data2(14,6,2012), new Data2(27,6,2012), "Prog2: APF");
agenda.novaNota(new Data2(2,7,2012), new Data2(13,7,2012), "Prog2: Recurso");
... | gpl-2.0 |
lycoben/veneflights | plugins/system/jfdatabase.php | 8635 | <?php
/**
* Joom!Fish - Multi Lingual extention and translation manager for Joomla!
* Copyright (C) 2003-2008 Think Network GmbH, Munich
*
* All rights reserved. The Joom!Fish project is a set of extentions for
* the content management system Joomla!. It enables Joomla!
* to manage multi lingual sites ... | gpl-2.0 |
tiberiusteng/financisto1-holo | app/src/main/java/ru/orangesoftware/financisto/activity/PayeeListActivity.java | 1222 | /*******************************************************************************
* Copyright (c) 2010 Denis Solonenko.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v2.0
* which accompanies this distribution, and is available at
* ... | gpl-2.0 |
automenta/corenlp | src/edu/stanford/nlp/util/CoreMaps.java | 5205 | package edu.stanford.nlp.util;
import edu.stanford.nlp.ling.CoreAnnotation;
import edu.stanford.nlp.ling.CoreLabel;
import java.util.*;
/**
* Utility functions for working with {@link CoreMap}'s.
*
* @author dramage
* @author Gabor Angeli (merge() method)
*/
public class CoreMaps {
private CoreMaps() {} // s... | gpl-2.0 |
ACP3/cms | ACP3/Modules/ACP3/System/Resources/Assets/js/partials/polyfill.js | 193 | /*
* Copyright (c) by the ACP3 Developers.
* See the LICENSE file at the top-level module directory for licensing details.
*/
import "core-js/stable";
import "regenerator-runtime/runtime";
| gpl-2.0 |
moulderr/pm | wp-content/themes/lucy/helpers/classes/output_ug.class.php | 37216 | <?php
defined('_JEXEC') or die('Restricted access');
class UGMainOutput extends UniteOutputBaseUF{
protected static $serial = 0;
private $page;
protected $urlPlugin;
private $pageHtmlID;
private $pageID;
protected $theme;
private $putNoConflictMode = false;
protected $putJsToBody = false;
p... | gpl-2.0 |
alex-winter/totton-timber | administrator/components/com_hikashop/views/discount/tmpl/listing.php | 7444 | <?php
/**
* @package HikaShop for Joomla!
* @version 2.3.4
* @author hikashop.com
* @copyright (C) 2010-2014 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><div class="iframedoc" id="iframedoc"></div>
<form ac... | gpl-2.0 |
tgrimault/manorhouseporto.wp | wp-content/plugins/checkfront-wp-booking/checkfront.php | 8458 | <?php
/*
Plugin Name: Checkfront Online Booking System
Plugin URI: http://www.checkfront.com/wordpress
Description: Connects Wordpress to the Checkfront Online Booking, Reservation and Availability System. Checkfront integrates into popular payment systems including Paypal, Authorize.net, SagePay and integrates into... | gpl-2.0 |
Creativetech-Solutions/joomla-easysocial-network | plugins/system/crowdfundingmodules/postinstall.script.php | 1951 | <?php
/**
* @package Crowdfunding
* @subpackage Plugins
* @author Todor Iliev
* @copyright Copyright (C) 2016 Todor Iliev <todor@itprism.com>. All rights reserved.
* @license GNU General Public License version 3 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or ... | gpl-2.0 |
cst316/spring16project-Team-Detroit | src/net/sf/memoranda/EmailContact.java | 2631 | /*
File: EmailContact.java
Author: Ryan Schultz
Date: 2/4/2016
Description: Creates contacts
*/
package net.sf.memoranda;
import java.io.Serializable;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
Class: EmailContact
Description: Creates contact with following attributes: name, e... | gpl-2.0 |
laoneo/joomla-pythagoras | tests/unit/ORM/Storage/Csv/CsvRelationTest.php | 1465 | <?php
/**
* Part of the Joomla Framework ORM Package Test Suite
*
* @copyright Copyright (C) 2015 - 2016 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
namespace Joomla\Tests\Unit\ORM\Storage\Csv;
use Joomla\ORM\Repository\Repository;
u... | gpl-2.0 |
ismaelmelo/git-zapmetrics | 02 - Prototipação/01 - Fontes/gc_resolucaoedit.php | 44886 | <?php
if (session_id() == "") session_start(); // Initialize Session data
ob_start(); // Turn on output buffering
?>
<?php include_once "ewcfg10.php" ?>
<?php include_once "adodb5/adodb.inc.php" ?>
<?php include_once "phpfn10.php" ?>
<?php include_once "gc_resolucaoinfo.php" ?>
<?php include_once "usuarioinfo.php" ?>
<... | gpl-2.0 |
Hill2/JONGman | source/pkg_jongman/libraries/jongman/quota/duration/week.php | 2246 | <?php
defined('_JEXEC') or die;
class RFQuotaDurationWeek extends RFQuotaDuration implements IQuotaDuration
{
/**
* @param RFReservationSeries $reservationSeries
* @param string $timezone
* @return QuotaSearchDates
*/
public function getSearchDates(RFReservationSeries $reservationSeries, $timezone)
{
$da... | gpl-2.0 |
pods-framework/pods | src/Pods/REST/V1/Post_Repository.php | 3379 | <?php
namespace Pods\REST\V1;
use Tribe__REST__Messages_Interface as REST_Messages_Interface;
use Tribe__REST__Post_Repository as REST_Post_Repository;
use WP_Post;
/**
* Class Post_Repository
*
* @since 2.8.0
*/
class Post_Repository extends REST_Post_Repository {
/**
* A post type to get data request handl... | gpl-2.0 |
OpenMORDM/rgl | src/Texture.cpp | 6700 |
#include "Texture.hpp"
#include "pixmap.h"
#include "config.hpp"
#include "platform.h"
using namespace std;
using namespace rgl;
//////////////////////////////////////////////////////////////////////////////
//
// CLASS
// Texture
//
Texture::Texture(
const char* in_filename
, Type in_type
, bool in_mipmap
, un... | gpl-2.0 |
eddywebs/apimaker | app/views/search.blade.php | 724 | @extends('master')
@section('title')
Show APIs
@stop
@section('content')
<div class="starter-template" style="text-align: left;">
<!-- <div class="jumbotron" style="text-align: left;"> -->
@if($datasets==null)
<h2>boo no apis for you</h2>
@else
@if($query==null)
<h2>All available APIs</h2>
@else
... | gpl-2.0 |
LeeRisk/JavaTorrent | torrent/download/files/Piece.java | 8557 | package torrent.download.files;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.util.ArrayList;
import java.util.List;
import org.johnnei.utils.JMath;
import torrent.TorrentException;
import torrent.download.AFiles;
import torrent.download.FileInfo;
import torrent.encoding.SHA1;
public clas... | gpl-2.0 |
vanbumi/pencerahan | plugins/jsnpagebuilder/defaultelements/socialicon/socialicon.php | 8246 | <?php
/**
* @version $Id$
* @package JSN_PageBuilder
* @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.com
* Technic... | gpl-2.0 |
Remo/concrete5-syntax-highlighter | blocks/syntax_highlighter/view.php | 144 | <?php
defined('C5_EXECUTE') or die('Access Denied.');
?>
<div class="ccm-syntax-highlighter">
<?php
echo $highlightedCode;
?>
</div> | gpl-2.0 |
Murzic/Quiz-ToolKit | app/models/group.rb | 93 | class Group < ActiveRecord::Base
has_and_belongs_to_many :questions
belongs_to :quiz
end
| gpl-2.0 |
arifirh/juliet-scott-sculpture | wp-content/themes/dandelion/template-contact.php | 1379 | <?php
/*
Template Name: Contact form page
*/
get_header();
if ( have_posts() ) {
while ( have_posts() ) {
the_post();
//get the default page settings
$subtitle=get_post_meta( $post->ID, 'subtitle_value', true );
$slider=get_post_meta( $post->ID, 'slider_value', $single = true );
$slider_pr... | gpl-2.0 |
XCSoar/XCSoar | src/ui/event/poll/WaylandQueue.hpp | 2447 | /*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2021 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | gpl-2.0 |
ncss-tech/geo-pit | SSURGO_DownloadTools_2015/SSURGO_MergeSoilShapefilesbyAreasymbol.py | 5277 | # SSURGO_MergeSoilShapefilesbyAreasymbol.py
#
# This script is almost identical to SSURGO_MergeSoilShapefiles.py except for parameter order.
# Keep both scripts in synch!!!
#
# Purpose: allow batch appending of SSURGO soil polygon shapefiles into a single shapefile
# Requires input dataset structures to follow th... | gpl-2.0 |
dlitz/resin | modules/resin/src/com/caucho/amber/cfg/TableGeneratorConfig.java | 2734 | /*
* 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 |
Droces/casabio | vendor/phpexiftool/phpexiftool/lib/PHPExiftool/Driver/Tag/LNK/FullScreen.php | 692 | <?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\LNK;
use PHPExiftool\Driver\AbstractTag;
class FullScr... | gpl-2.0 |
germanmoyano09/goStreety | components/com_iproperty/controllers/ipuser.php | 4241 | <?php
/**
* @version 3.2.1 2014-02-04
* @package Joomla
* @subpackage Intellectual Property
* @copyright (C) 2009 - 2014 the Thinkery LLC. All rights reserved.
* @license GNU/GPL see LICENSE.php
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access');
jimport('joomla.application.component.control... | gpl-2.0 |
mooflu/critter | utilssdl/PNG.cpp | 2698 | // Description:
// Helper to save a SDL surface as a PNG.
//
// Copyright (C) 2001 Frank Becker
//
// 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 |
hieuit7/freewifi | web/module/Login/autoload_classmap.php | 213 | <?php
/*
* 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.
*/
return array();
?>
| gpl-2.0 |
mikepea/pkg-puppet-debian | spec/unit/indirector/catalog/compiler.rb | 9991 | #!/usr/bin/env ruby
#
# Created by Luke Kanies on 2007-9-23.
# Copyright (c) 2007. All rights reserved.
require File.dirname(__FILE__) + '/../../../spec_helper'
require 'puppet/indirector/catalog/compiler'
describe Puppet::Resource::Catalog::Compiler do
describe "when initializing" do
before do
... | gpl-2.0 |
tronsha/homepage | wp-content/themes/basic/index.php | 278 | <?php get_header(); ?>
<h1><?php the_title(); ?></h1>
<?php
if(has_post_thumbnail()) {
the_post_thumbnail();
}
?>
<?php
if (have_posts()) {
while (have_posts()) {
the_post();
the_content();
}
}
?>
<br style="clear: both">
<?php get_footer(); ?>
| gpl-2.0 |
Saarlonz/Ilch-2.0 | application/modules/guestbook/models/Entry.php | 3274 | <?php
/**
* @copyright Ilch 2.0
* @package ilch
*/
namespace Modules\Guestbook\Models;
class Entry extends \Ilch\Model
{
/**
* The id of the entry.
*
* @var integer
*/
protected $id;
/**
* The email of the entry.
*
* @var string
*/
protected $email;
/**... | gpl-2.0 |
rylynchen/ekff | sites/all/includes/jquery-impromptu.3.2.js | 11178 | /*
* jQuery Impromptu
* By: Trent Richardson [http://trentrichardson.com]
* Version 3.2
* Last Modified: 10/12/2011
*
* Copyright 2011 Trent Richardson
* Dual licensed under the MIT and GPL licenses.
* http://trentrichardson.com/Impromptu/GPL-LICENSE.txt
* http://trentrichardson.com/Impromptu/MIT-LIC... | gpl-2.0 |
wp-plugins/quickstart | php/aliases.php | 9158 | <?php
/**
* QuickStart External Alias Functions
*
* @package QuickStart
* @subpackage Aliases
* @since 1.0.0
*/
/**
* Setup function, process the theme configurations and defaults.
*
* @since 1.0.0
*
* @param array $configs An associative array of theme configuration options.
* @param array $default Option... | gpl-2.0 |
AazzIT/MyHomeWork | src/lesson6/fileSystem/AudioFile.java | 500 | package lesson6.fileSystem;
public class AudioFile extends File {
public AudioFile(String name, File parentFolder) {
if (name.substring(name.length() - 4 ,name.length()).equals(MP3_EXTENSION)) { //Хардкод
super.setName(name);
super.setType(AUDIO_FILE_TYPE); //Хардкод
su... | gpl-2.0 |
lewlewstar/test | hw.py | 44 | # Hello world program
print "Hello world!"
| gpl-2.0 |
shalomRachapudi/AlgoBench | Frontend/src/inf2b/algobench/util/ITaskSubPanel.java | 1686 | /*
* The MIT License
*
* Copyright 2015 Eziama Ubachukwu (eziama.ubachukwu@gmail.com).
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitati... | gpl-2.0 |
videolabs/vlc-android | vlc-android/tv/src/org/videolan/vlc/gui/tv/audioplayer/AudioPlayerActivity.java | 13004 | /*****************************************************************************
* AudioPlayerActivity.java
*****************************************************************************
* Copyright © 2014-2015 VLC authors, VideoLAN and VideoLabs
* Author: Geoffrey Métais
*
* This program is free software; you can r... | gpl-2.0 |
kylemclaren/buddypress | wp-content/themes/chum/_inc/widgets/widget-shortcode.php | 2965 | <?php
/*
* Shortcode Widget Displat
* Name: Centauri Testimonials
* Class: widget-testimonial
* Function: widget_testimonial
*
* Author: Patrick James Garcia
* Company: Beenest Technology Solutions, Inc.
* Author URI: http://www.beenest-tech.com
*
*/
add_action( 'widgets_init', 'bn_shortcode_widget'... | gpl-2.0 |
jamal-fuma/epic-food-frequency | include/boost/bind/mem_fn_vw.hpp | 7951 | //
// bind/mem_fn_vw.hpp - void return helper wrappers
//
// Do not include this header directly
//
// Copyright (c) 2001 Peter Dimov and Multi Media Ltd.
//
// Distributed under 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)
//
... | gpl-2.0 |
crotwell/sod | src/main/java/edu/sc/seis/sod/status/MicroSecondTimeRangeFormatter.java | 2237 | package edu.sc.seis.sod.status;
import java.util.Iterator;
import org.w3c.dom.Element;
import edu.sc.seis.fissuresUtil.time.MicroSecondTimeRange;
import edu.sc.seis.sod.ConfigurationException;
public class MicroSecondTimeRangeFormatter extends Template implements
MicroSecondTimeRangeTemplate {
public M... | gpl-2.0 |
speendo/raspi-mpd-lcd | locale_class.py | 149 | # -*- coding: utf-8 -*-
class LocaleClass(object):
def __init__(self):
self.locale_chars = {}
self.custom_chars = {} # up to 8 5x8 custom chars
| gpl-2.0 |
dougwm/psi-probe | core/src/main/java/psiprobe/controllers/apps/GetApplicationProcDetailsController.java | 1430 | /**
* Licensed under the GPL License. You may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
* THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
* WITHOUT LI... | gpl-2.0 |
rossfoley/mqp_neat | src/mqp/mario/MQPMarioTask.java | 2381 | package mqp.mario;
import ch.idsia.agents.Agent;
import ch.idsia.benchmark.tasks.BasicTask;
import ch.idsia.benchmark.tasks.Task;
import ch.idsia.tools.MarioAIOptions;
import org.apache.log4j.Logger;
/**
* Contains the levels that will be used to evolve Mario AI agents
* @author Ross Foley and Karl Kuhn
*/
public ... | gpl-2.0 |
avlhitech256/TimeTable | TimeTable/ViewModel/TopMenu/Command/SpecialtyCommand.cs | 480 | namespace TimeTable.ViewModel.TopMenu.Command
{
internal class SpecialtyCommand : TopMenuCommonCommand
{
#region Constructors
public SpecialtyCommand(ITopMenuViewModel viewModel) : base(viewModel)
{
CanExecuteProperty = true;
}
#endregion
#region M... | gpl-2.0 |
wfqzhgl/mapyou | manage.py | 249 | #!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mapyou.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
| gpl-2.0 |
inverse-inc/packetfence | html/pfappserver/root/src/views/Configuration/syslogParsers/config.js | 4295 | import { pfFieldType } from '@/globals/pfField'
import i18n from '@/utils/locale'
export const types = {
dhcp: i18n.t('DHCP'),
fortianalyser: i18n.t('FortiAnalyzer'),
nexpose: i18n.t('Nexpose'),
regex: i18n.t('Regex'),
security_onion: i18n.t('Security Onion'),
snort: i18... | gpl-2.0 |
svante2001/AndroidTest | app/src/androidTest/java/dk/supersejemig/to/ApplicationTest.java | 349 | package dk.supersejemig.to;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
supe... | gpl-2.0 |
moehuster/dms | client/exception_test.cpp | 229 | #include "dms_exception.h"
#include <cstdio>
int main(int argc, char *argv[])
{
dmsException *e = new dmsClientException("dms client backup exception");
puts(e->what());
} /* ---------- end of function main ---------- */
| gpl-2.0 |
vansatchen/sundries | zerow/fancontrol/fancontrol.py | 1555 | #!/usr/bin/env python3
import os
import os.path
import subprocess
import time
import requests
domomq135 = 'http://domoticz:8080/json.htm?type=command¶m=udevice&idx=35&nvalue=0&svalue='
domowcfan = 'http://domoticz:8080/json.htm?type=command¶m=switchlight&idx=40&switchcmd=Set%20Level&level='
checktimes=12
cont... | gpl-2.0 |
jijianwen/Learn | Linux/container/geektime/24_API_Objects/k8s-controller-custom-resource/pkg/client/clientset/versioned/typed/samplecrd/v1/generated_expansion.go | 659 | /*
Copyright The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softw... | gpl-2.0 |
UniversalLP/Minimalistica | src/main/java/de/universallp/minimalistica/gui/client/widget/GuiTab.java | 8460 | package de.universallp.minimalistica.gui.client.widget;
import java.util.ArrayList;
import java.util.List;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.RenderHelper;
import net.minecraft.item.ItemStack;
import net.minecraft.t... | gpl-2.0 |
iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest07280.java | 2432 | /**
* 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 |
sihai/openshop | server/webapp/src/main/java/com/openteach/openshop/server/webapp/controller/admin/CouponController.java | 7740 | /*
* Copyright 2005-2013 AIGECHIBAOLE. All rights reserved.
* Support: http://www.aigechibaole.com
* License: http://www.aigechibaole.com/license
*/
package com.openteach.openshop.server.webapp.controller.admin;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Date;
import... | gpl-2.0 |
repotvsupertuga/tvsupertuga.repository | script.module.streamtvsupertuga/lib/resources/lib/sources/en/cmovieshd.py | 1805 | # -*- coding: UTF-8 -*-
# -Cleaned and Checked on 10-16-2019 by JewBMX in Scrubs.
# -Cleaned and Checked on 04-14-2020 by Tempest.
# -Created by Tempest
import re
from resources.lib.modules import cleantitle, client, log_utils
from resources.lib.modules import source_utils
from resources.lib.sources import cfscrape
... | gpl-2.0 |
nathanscottdaniels/pnant | tests/NAnt.VisualCpp/VisualCppTestBase.cs | 9428 | // pNAnt - A parallel .NET build tool
// Copyright (C) 2004 Thomas Strauss (strausst@arcor.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 yo... | gpl-2.0 |
nathanscottdaniels/pnant | pNAntContrib/src/Tasks/NUnit2Report/NUnit2ReportTask.cs | 21796 | // NUnit2ReportTask.cs
//
// Loosely based on Tomas Restrepo NUnitReport for NAnt.
// Loosely based on Erik Hatcher JUnitReport for Ant.
//
// Author:
// Gilles Bayon (gilles.bayon@laposte.net)
//
// Copyright (C) 2003 Gilles Bayon
//
//
// This program is free software; you can redistribute it and/or modify
/... | gpl-2.0 |
amertahir/QuadTRON | GroundControlStation/src/com/digi/xbee/api/models/XBeePacketsQueue.java | 12033 | /**
* Copyright (c) 2014 Digi International Inc.,
* All rights not expressly granted are reserved.
*
* 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://mozilla.org/MPL/2.0/.
*
* Digi Int... | gpl-2.0 |
script-solution/FrameWorkSolution | html/textarea.php | 2346 | <?php
/**
* Contains the textarea-class
*
* @package FrameWorkSolution
* @subpackage html
*
* Copyright (C) 2003 - 2012 Nils Asmussen
*
* 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 Foundatio... | gpl-2.0 |
rjbaniel/upoor | wp-content/themes/Feather/footer.php | 1202 | </div> <!-- end .container -->
</div> <!-- end #content -->
<div id="footer">
<div class="container">
<div id="footer-widgets" class="clearfix">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer') ) : ?>
<?php endif; ?>
</div> <!-- end #footer-widgets -->
<div... | gpl-2.0 |
MatthieuMichon/flight_data_miner | src/extract/geojson_reader.py | 2260 | #!/usr/bin/python3
"""
extract.geojson_reader
~~~~~~~~~~~~~~~~~~~~~~
This module handles flight data represented as a list of positions in a format
compliant with the Geo JSON specification.
- longitude
- latitude
- altitude as well as a time in
seconds.
"""
import json
import logging
class GeoJsonReader:
de... | gpl-2.0 |