repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
rubelnimbuzz/bm2 | android/src/org/bombusmod/BombusModService.java | 8230 | package org.bombusmod;
import android.app.Notification;
import android.support.v4.app.NotificationCompat;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.IBinder;
import android.u... | gpl-2.0 |
dkoudela/advanced-ldap-for-crucible | src/main/java/com/davidkoudela/crucible/ldap/model/AdvancedLdapBind.java | 622 | package com.davidkoudela.crucible.ldap.model;
/**
* Description: {@link AdvancedLdapBind} contains all necessary LDAP bind parameters and their access methods.
* Copyright (C) 2015 David Koudela
*
* @author dkoudela
* @since 2015-05-06
*/
public class AdvancedLdapBind {
private String dn;
priv... | gpl-2.0 |
rodhoff/cdn1 | libraries/regularlabs/fields/akeebasubs.php | 1106 | <?php
/**
* @package Regular Labs Library
* @version 16.7.10746
*
* @author Peter van Westen <info@regularlabs.com>
* @link http://www.regularlabs.com
* @copyright Copyright © 2016 Regular Labs All Rights Reserved
* @license http://www.gnu.org/licenses/gpl-2.0.h... | gpl-2.0 |
graemechristie/NinjaSettings | NinjaSettings.Example.Autofac/Properties/AssemblyInfo.cs | 1389 | 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: AssemblyTitle("Nin... | gpl-2.0 |
ssteinerx/customer-area | src/php/core-addons/customer-private-files/templates/customer-private-files-content-item.template.php | 1902 | <?php /** Template version: 1.1.0
-= 1.1.0 =-
- Updated markup
- Normalized the extra class filter name
-= 1.0.0 =-
- Initial version
*/ ?>
<?php
global $post;
$is_author = get_the_author_meta('ID')==get_current_user_id();
$file_size = cuar_get_the_file_size( get_the_ID() );
if ( $is_author ) {
$subti... | gpl-2.0 |
jeffgdotorg/opennms | features/poller/monitors/core/src/test/java/org/opennms/netmgt/poller/monitors/SshMonitorIT.java | 8538 | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2014 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(R) is... | gpl-2.0 |
manuelgentile/MAP | spring/spring_annotation_configurator/src/main/java/it/cnr/itd/uni2014/spring/service/impl/CalcolatoreServiceImpl.java | 261 | package it.cnr.itd.uni2014.spring.service.impl;
import it.cnr.itd.uni2014.spring.service.CalcolatoreService;
public class CalcolatoreServiceImpl implements CalcolatoreService {
@Override
public int calculate(int a, int b) {
return a+b;
}
}
| gpl-2.0 |
mtu-most/most-delta | Repetier/libraries/U8gui.cpp | 22 | #include <U8glib.cpp>
| gpl-2.0 |
favedit/MoPlatform | mp-platform/webroot/ajs/2-base/MDataset.js | 28817 | //==========================================================
// <T>操作数据集的管理类。</T>
//
// @tool
// @param o:object:Object 拥有者对象
// @history 091118 MAOCY 创建
//==========================================================
function MDataset(o){
o = RClass.inherits(this, o, MEditable);
//..................................... | gpl-2.0 |
waqarmuneer/RN-Cor | tmp/install_50a62d3b00c3a/com_rednet/site/views/orders/tmpl/default_order_form.php | 15848 | <?php
// no direct access
defined('_JEXEC') or die('Restricted access');
JHtml::_ ( 'behavior.formvalidation' );
$app = JFactory::getApplication();
$form_data = $this->form_data;
$ad_on_orders = $form_data['ad_on_orders'];
$heading = '';
$add_on_txt = '';
if($form_data['is_addon'])
{
$add_on_txt = 'Add-on ';
} ... | gpl-2.0 |
unioslo/cerebrum | contrib/event/republisher.py | 1618 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2015 University of Oslo, Norway
#
# This file is part of Cerebrum.
#
# Cerebrum 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 t... | gpl-2.0 |
jeremyfr/co_nomad | Nomad/src/com/eads/co/nomad/ATALevel2.java | 777 | package com.eads.co.nomad;
import java.util.ArrayList;
public class ATALevel2 {
private String description;
private ArrayList<ATALevel3> listATALevel3;
public ATALevel2(String description) {
this.description = description;
listATALevel3 = new ArrayList<ATALevel3>();
}
public ATALevel2(String description, ... | gpl-2.0 |
akiver/CSGO-Demos-Manager | Core/Models/Maps/Dust2.cs | 162 | namespace Core.Models.Maps
{
public class Dust2 : Map
{
public Dust2()
{
Name = "de_dust2";
PosX = -2400;
PosY = 3383;
Scale = 4.4;
}
}
}
| gpl-2.0 |
BIORIMP/biorimp | BIO-RIMP/test_data/code/cio/src/main/java/org/apache/commons/io/filefilter/ConditionalFileFilter.java | 2054 | /*
* 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 |
manniss/WCell2 | Services/WCell.RealmServer/Spells/Auras/Mod/ModManaRegenInterrupt.cs | 1289 | /*************************************************************************
*
* file : ModManaRegenInterrupt.cs
* copyright : (C) The WCell Team
* email : info@wcell.org
* last changed : $LastChangedDate: 2009-03-07 07:58:12 +0100 (lø, 07 mar 2009) $
* last author : $LastChangedBy: ralekdev $
* re... | gpl-2.0 |
hellkite500/HydroQGIS | HydroData/services/USGSPeak.py | 5589 | # -*- coding: utf-8 -*-
"""
/***************************************************************************
FFA worker class for downloading USGS peak flow data using a QThread
-------------------
begin : 2015-04-01
git sha : $Format:%H$
cop... | gpl-2.0 |
davilla/mrmc | xbmc/linux/LinuxTimezone.cpp | 7330 | /*
* Copyright (C) 2005-2013 Team XBMC
* http://xbmc.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, or (at your option)
* any later version.
*
* ... | gpl-2.0 |
nimaghorbani/THOR | plugins/block.lua | 715 | do
local function block_user_callback(cb_extra, success, result)
local receiver = cb_extra.receiver
local user = 'user#id'..result.id
if success == 0 then
return send_large_msg(receiver, "I cant block user.")
end
block_user(user, cb_ok, false)
end
end
local function run(msg, matches)
if msg.to.type == 'c... | gpl-2.0 |
zaijung/udis | wp-content/themes/atticus/js/custom.js | 3555 | "use strict";
jQuery(document).ready(function(){
jQuery('.menu li a').click(function() {
var href = jQuery(this).attr('href');
jQuery("html, body").animate({ scrollTop: jQuery(href).offset().top - 90 }, 1000);
return false;
});
/* RESPONSIVE VIDEOS */
jQuery(".main").fitVids();
/*blog hover image*/
jQ... | gpl-2.0 |
onishiweb/Book-Demo-Theme | single-ptd_menu.php | 393 | <?php
/**
* Template menu single
*/
?>
<?php get_header(); ?>
<?php if( have_posts() ): while( have_posts() ): the_post(); ?>
<article <?php post_class(); ?>>
<h1><?php the_title(); ?></h1>
<?php if( has_post_thumbnail() ): ?>
<?php the_post_thumbnail(); ?>
<?php endif; ?>
<?php the_conte... | gpl-2.0 |
cappsllc/first_app | app/models/product.rb | 119 | class Product < ActiveRecord::Base
attr_accessible :description, :ends_at, :price, :quantity, :starts_at, :title
end
| gpl-2.0 |
admo/aria | aria/java/SWIGTYPE_p_ArMapChangeDetails.java | 2191 | /*
MobileRobots Advanced Robotics Interface for Applications (ARIA)
Copyright (C) 2004, 2005 ActivMedia Robotics LLC
Copyright (C) 2006, 2007, 2008, 2009 MobileRobots Inc.
Copyright (C) 2010, 2011 Adept Technology, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms o... | gpl-2.0 |
heros/LasCore | src/server/scripts/Northrend/Nexus/Oculus/boss_varos.cpp | 14084 | /*
* Copyright (C) 2013 LasCore <http://lascore.makeforum.eu/>
* Copyright (C) 2008-2012 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 ... | gpl-2.0 |
itos/workeet | wp-content/themes/workeet/includes/functions/comments.php | 1765 | <?php if ( ! function_exists( 'et_custom_comments_display' ) ) :
function et_custom_comments_display($comment, $args, $depth) {
$GLOBALS['comment'] = $comment; ?>
<li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>">
<div class="comment-body">
<div id="comment-<?php comment_ID(); ?>" cl... | gpl-2.0 |
pacoqueen/ginn | ginn/formularios/consulta_global.py | 157503 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
###############################################################################
# Copyright (C) 2005-2014 Francisco José Rodríguez Bogado, #
# Diego Muñoz Escalante. #
# (pacoqueen@users.sourceforge.ne... | gpl-2.0 |
michaelklapper/TYPO3.CMS | typo3/sysext/core/Classes/Integrity/DatabaseIntegrityCheck.php | 32160 | <?php
namespace TYPO3\CMS\Core\Integrity;
/*
* 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 inform... | gpl-2.0 |
arthurtumanyan/squid-3.0-stable1-shaga | src/StoreSwapLogData.cc | 1863 | /*
* $Id: StoreSwapLogData.cc,v 1.4 2007/08/13 17:20:51 hno Exp $
*
* DEBUG: section 47 Store Directory Routines
* AUTHOR: Duane Wessels
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
* ----------------------------------------------------------
*
* Squid is the result of efforts by numerous... | gpl-2.0 |
sgrieve/LH_Paper_Plotting | Plotting_Code/Figure_4_Coweeta_revision.py | 5560 | # -*- coding: utf-8 -*-
"""
Copyright (C) 2015 Stuart W.D Grieve 2015
Developer can be contacted by s.grieve _at_ ed.ac.uk
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 Lic... | gpl-2.0 |
syvaidya/openstego | src/main/java/com/openstego/desktop/util/dwt/Filter.java | 3422 | /*
* Steganography utility to hide messages into cover files
* Author: Samir Vaidya (mailto:syvaidya@gmail.com)
* Copyright (c) Samir Vaidya
*/
package com.openstego.desktop.util.dwt;
/**
* Object to store Filter data
*/
public class Filter {
/**
* Constant for filter type = NoSymm
*/
public s... | gpl-2.0 |
tonysparks/seventh | src/seventh/game/events/BombPlantedListener.java | 308 | /*
* The Seventh
* see license.txt
*/
package seventh.game.events;
import seventh.shared.EventListener;
import seventh.shared.EventMethod;
/**
* @author Tony
*
*/
public interface BombPlantedListener extends EventListener {
@EventMethod
public void onBombPlanted(BombPlantedEvent event);
}
| gpl-2.0 |
zroeduardo/Framebone | Packages/Framebone/Package/Abstract/Package.php | 175 | <?php
namespace Packages\Framebone\Package\Abstract;
use \Packages\Framebone as fb;
abstract class Package implements fb\Package\Interface\Package
{
}
| gpl-2.0 |
vishwaAbhinav/OpenNMS | opennms-config/src/main/java/org/opennms/netmgt/config/datacollection/descriptors/SnmpCollectionDescriptor.java | 21465 | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2011-2012 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | gpl-2.0 |
rjbaniel/upoor | wp-content/themes/mystique/header.php | 3124 | <?php /* Mystique/digitalnature */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php //language_attributes('xhtml'); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php blogin... | gpl-2.0 |
evaluon/api | dao/gamification.js | 198 | module.exports = function(app){
var Gamification = app.db.Gamification;
return {
indicators: function(user){
return Gamification.indicators(user);
}
}
}
| gpl-2.0 |
mikhaelmurmur/GameJamKPIGame | GameJamKPI/Assets/Scripts/PlayerController.cs | 628 | using System;
using UnityEngine;
using System.Collections;
[Serializable]
public class Boundary
{
public float xMin, xMax, yMin, yMax;
}
public class PlayerController : MonoBehaviour
{
public float speed = 2f;
public float jumpHeight = 10f;
private Rigidbody2D rb;
void Start()
{
rb =... | gpl-2.0 |
vinni-au/vega-strike | vegastrike/setup/src/c/setup.cpp | 7800 | /***************************************************************************
* setup.cpp - description
* ----------------------------
* begin : January 18, 2002
* copyright : (C) 2002 ... | gpl-2.0 |
seecr/cqlparser | cqlparser/cqltoexpression.py | 3264 | ## begin license ##
#
# "CQLParser" is a parser that builds a parsetree for the given CQL and can convert this into other formats.
#
# Copyright (C) 2015, 2020-2021 Seecr (Seek You Too B.V.) https://seecr.nl
# Copyright (C) 2015, 2021 Stichting Kennisnet https://www.kennisnet.nl
# Copyright (C) 2021 Data Archiving and ... | gpl-2.0 |
cdsource/sonarmail | src/org/jpf/sonar/rpts/WeekRptCoverage.java | 2663 | /**
* @author 吴平福
* E-mail:wupf@asiainfo-linkage.com
* @version 创建时间:2013-4-12 下午6:55:39
* 类说明
*/
package org.jpf.sonar.rpts;
import java.sql.ResultSet;
public class WeekRptCoverage extends AbstractRpt
{
/**
* @param strPrjName
* @param iType
* @param strMailCC
*/
public WeekRptCoverage(String st... | gpl-2.0 |
loadedcommerce/loaded7 | catalog/admin/includes/functions/cfg_parameters/lc_cfg_set_currencies_pulldown_menu.php | 1017 | <?php
/**
@package admin::functions
@author Loaded Commerce
@copyright Copyright 2003-2014 Loaded Commerce, LLC
@copyright Portions Copyright 2003 osCommerce
@license https://github.com/loadedcommerce/loaded7/blob/master/LICENSE.txt
@version $Id: lc_cfg_set_currencies_pulldown_menu.php v1.0 2... | gpl-2.0 |
marc1706/Board3-Portal-Gallery-Block | root/install/index.php | 12674 | <?php
/**
*
* @package B3P Addon - Gallery block
* @version $Id: index.php 67 2009-09-30 14:28:10Z Christian_N $
* @copyright (c) Christian_N ( www.phpbb-projekt.de )
* @installer based on: phpBB Gallery by nickvergessen, www.flying-bits.org
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
... | gpl-2.0 |
RedBilled/pcsc4java-framework | src/fr/redbilled/pcscforjava/CommandAPDU.java | 22242 | /*
* Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | gpl-2.0 |
AL20/SRCL | page-engagements.php | 1021 | <?php
/*
Template Name: Page Engagements
*/
$context = Timber::get_context();
include 'templates/utils/setSession.php';
//include fucntion to determine current url (data -> $context['current_url'])
include 'templates/utils/getCurrentUrl.php';
$context['title'] = get_the_title();
$context['texte_intro'] ... | gpl-2.0 |
jcitysinner/eggman | wp-content/themes/EggMan/_inc/cpt_items.php | 2624 | <?php
function register_cpt_items(){
$singularname = 'Item';
$pluralname = 'Items';
$slug = 'items';
$labels = array(
'name' => __($pluralname),
'singular_name' => __($singularname),
'add_new' => __('Add New '.$singularname),
'add_new_item' => __('Add New '. $singularname),
'edit... | gpl-2.0 |
hanslovsky/bigcat | src/main/java/bdv/bigcat/BigCatDvidViewer.java | 9328 | package bdv.bigcat;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import org.scijava.ui.behaviour.io.InputTriggerConfig;
import org.scijava.ui.behaviour.io.InputTriggerDescription;
import org.scijava.ui.behaviour.io.yaml.YamlConfigIO;
import org.scijava.ui.behav... | gpl-2.0 |
pongowu/in-class | wp-content/themes/simplest-theme/header.php | 1062 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="description" content="A description about your site" />
<title><?php bloginfo('name'); ?> - <?php bloginfo('description'); ?></title>
<link rel="stylesheet" href="path/to/css/reset.css" media="screen" />
<link rel="stylesheet" href="<?php... | gpl-2.0 |
kunj1988/Magento2 | dev/tests/integration/testsuite/Magento/Customer/Block/Adminhtml/Edit/Tab/View/SalesTest.php | 3181 | <?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Customer\Block\Adminhtml\Edit\Tab\View;
use Magento\Customer\Controller\RegistryConstants;
use Magento\TestFramework\Helper\Bootstrap;
/**
* Class SalesTest
*
* @magentoAppArea adminhtml
*/
cl... | gpl-2.0 |
itstriz/usda_foia_log_downloader | csv_cleaner.py | 1250 | import csv, re, sys
# Check if csv file is formatted right
def check_file(csv_list, needles):
first_cell = csv_list[0][0]
if ' '.join(first_cell.split()) in needles:
return True
return False
def find_good_row(csv_list, col_num):
counter = 0
for row in csv_list:
if row[col... | gpl-2.0 |
secern/gfreader | src/org/vudroid/pdfdroid/codec/PdfContext.java | 417 | package org.vudroid.pdfdroid.codec;
import android.content.ContentResolver;
public class PdfContext
{
static
{
System.loadLibrary("vudroid");
}
public PdfDocument openDocument(String fileName)
{
return PdfDocument.openDocument(fileName, "");
}
public void setContentResolver(... | gpl-2.0 |
wclifton1/biohouston | wp-content/themes/philanthropy-child/tribe-events/widgets/list-widget.php | 2135 | <?php
/**
* Events List Widget Template
* This is the template for the output of the events list widget.
* All the items are turned on and off through the widget admin.
* There is currently no default styling, which is needed.
*
* This view contains the filters required to create an effective events list widget v... | gpl-2.0 |
amadeusproject/amadeuslms | notifications/templatetags/notification_filters.py | 4909 | """
Copyright 2016, 2017 UFPE - Universidade Federal de Pernambuco
Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS
O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como publicada pela ... | gpl-2.0 |
nickhargreaves/starreports | app/src/org/codeforafrica/starreports/facebook/FacebookLogin.java | 939 | package org.codeforafrica.starreports.facebook;
import android.annotation.TargetApi;
import android.os.Build;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
public class FacebookLogin extends FragmentActivity{
private MainFragment mainFragment;
@TargetApi(Build.VERSION_CODES.HONEYCOMB)
... | gpl-2.0 |
stweil/glpi | front/slalevel.form.php | 3157 | <?php
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2022 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNE... | gpl-2.0 |
TUD-OS/M3 | src/libs/rustbase/src/kif/pedesc.rs | 5973 | /*
* Copyright (C) 2018, Nils Asmussen <nils@os.inf.tu-dresden.de>
* Economic rights: Technische Universitaet Dresden (Germany)
*
* This file is part of M3 (Microkernel-based SysteM for Heterogeneous Manycores).
*
* M3 is free software: you can redistribute it and/or modify
* it under the terms of the GNU Genera... | gpl-2.0 |
psahalot/runway | single.php | 926 | <?php
/**
* The Template for displaying all single posts.
*
* @package Runway
* @since Runway 1.0
*/
get_header(); ?>
<div id="maincontentcontainer">
<div id="primary" class="site-content row" role="main">
<div class="col grid_8_of_12">
<div class="main-content">
<?php while (... | gpl-2.0 |
dailin/wesnoth | src/editor/map/map_context.cpp | 21108 | /*
Copyright (C) 2008 - 2014 by Tomasz Sniatowski <kailoran@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 Foundation; ei... | gpl-2.0 |
Eincrou/YouTubeThumbnailGrabber | ViewModel/ViewModel.cs | 17676 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Xml.Serializat... | gpl-2.0 |
kikocastro/2014FallWeb | fitness_track_app/onepageapp/content/js/diet-control.js | 5893 | // var or functions that angular provides comes with a $
var $mContent;
var $socialScope = null;
var friendsArray = [];
var app = angular.module('app', ["highcharts-ng", 'ui.bootstrap']).factory('DataFactory', function($http) {
var filteredData = {};
return {
getData : function(callback) {
return $http.... | gpl-2.0 |
f1194361820/helper | frameworkex/frameworkex-apache-catalina/src/main/java/com/fjn/helper/frameworkex/apache/catalina/jmxclient/Constants.java | 998 | /*
*
* Copyright 2018 FJN Corp.
*
* 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 ag... | gpl-2.0 |
slackfaith/fadingFantasy | rpg/src/rpg_animation.cpp | 133 | #include "rpg_animation.h"
rpg_animation::rpg_animation()
{
//ctor
}
rpg_animation::~rpg_animation()
{
//dtor
}
| gpl-2.0 |
seanhoughton/kstars | kstars/tools/wutdialog.cpp | 20821 | /***************************************************************************
wutdialog.cpp - K Desktop Planetarium
-------------------
begin : Die Feb 25 2003
copyright : (C) 2003 by Thomas Kabelmann
email : tk... | gpl-2.0 |
RandallFlagg/kgbarchiver | KGB Archiver 1/gpl/kgb_arch_mfc/FolderDlg.cpp | 8140 | ////////////////////////////////////////////////////////////////
// MSDN Magazine -- June 2005
// If this code works, it was written by Paul DiLascia.
// If not, I don't know who wrote it.
// Compiles with Visual Studio .NET 2003 (V7.1) on Windows XP. Tab size=3.
//
#include "stdafx.h"
#include "FolderDlg.h"
#include <... | gpl-2.0 |
iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest03962.java | 2238 | /**
* 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 |
mekolat/ManaPlus | src/gui/popups/skillpopup.cpp | 7513 | /*
* The ManaPlus Client
* Copyright (C) 2008 The Legend of Mazzeroth Development Team
* Copyright (C) 2008-2009 The Mana World Development Team
* Copyright (C) 2009-2010 The Mana Developers
* Copyright (C) 2011-2018 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
* This prog... | gpl-2.0 |
stanfordreview/site | wp-content/plugins/subscribe2/classes/class-s2-admin.php | 47206 | <?php
class s2_admin extends s2class {
/* ===== WordPress menu registration and scripts ===== */
/**
Hook the menu
*/
function admin_menu() {
add_menu_page(__('Subscribe2', 'subscribe2'), __('Subscribe2', 'subscribe2'), apply_filters('s2_capability', "read", 'user'), 's2', NULL, S2URL . 'include/email_edit.png');... | gpl-2.0 |
VisualIdeation/Nano-Construction-Kit | Triangle.cpp | 5300 | /***********************************************************************
Triangle - Class for carbon structural units (used to build nanotubes
and Buckyballs).
Copyright (c) 2003 Oliver Kreylos
***********************************************************************/
#include <Misc/ConfigurationFile.h>
#include <Misc/S... | gpl-2.0 |
loadedcommerce/loaded7 | catalog/install/includes/classes/order_total.php | 2786 | <?php
/**
@package catalog::install::classes
@author Loaded Commerce
@copyright Copyright 2003-2014 Loaded Commerce, LLC
@copyright Portions Copyright 2003 osCommerce
@license https://github.com/loadedcommerce/loaded7/blob/master/LICENSE.txt
@version $Id: order_total.php v1.0 2013-08-08 dataz... | gpl-2.0 |
stevenzh/tourismwork | src/apps/portal/src/main/java/com/opentravelsoft/action/product/LineListAction.java | 1083 | package com.opentravelsoft.action.product;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import com.opentravelsoft.entity.Plan;
import com.opentravelsoft.service.portal.PlanListService;
import com.opentravelsoft.webapp.action.PortalAction;
/**
* 线路列表
*
* @author <a herf="... | gpl-2.0 |
timp21337/Melati | poem/src/main/java/org/melati/poem/ValueInfo.java | 9202 | /*
* $Source$
* $Revision$
*
* Copyright (C) 2000 William Chesters
*
* Part of Melati (http://melati.org), a framework for the rapid
* development of clean, maintainable web applications.
*
* Melati is free software; Permission is granted to copy, distribute
* and/or modify this software under the terms eithe... | gpl-2.0 |
jedwards1211/breakout | breakout-main/src/main/java/org/breakout/SearchMode.java | 123 | package org.breakout;
public enum SearchMode {
AUTO, SURVEY_DESIGNATION, STATION_REGEX, SURVEY_TEAM, TRIP_DESCRIPTION;
}
| gpl-2.0 |
zdislaw/forestknollspool_wp | wp-content/plugins/wp-photo-album-plus/wppa-comment-widget.php | 5211 | <?php
/* wppa-comment-widget.php
* Package: wp-photo-album-plus
*
* display the recent commets on photos
* Version 6.3.17
*/
if ( ! defined( 'ABSPATH' ) ) die( "Can't load this file directly" );
class wppaCommentWidget extends WP_Widget {
/** constructor */
function __construct() {
$widget_ops ... | gpl-2.0 |
iniverno/RnR-LLC | simics-3.0-install/simics-3.0.31/amd64-linux/lib/malta_components.py | 10546 | # MODULE: malta-components
# CLASS: malta-system
import time
from sim_core import *
from components import *
from base_components import find_device
### Malta System
class malta_system_component(component_object):
classname = 'malta-system'
basename = 'system'
description = ('The "malta-system" compone... | gpl-2.0 |
m-lassoued/testezp5Repo | ezpublish_legacy/kernel/classes/ezcollaborationprofile.php | 5715 | <?php
/**
* File containing the eZCollaborationProfile 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 2013.11
* @package kernel
*/
/*!
\class eZCollaborationProfile ezcollaborationpr... | gpl-2.0 |
holtrop/pysdl2 | tests/pixels.py | 1554 | #!/usr/bin/env python
import os
import sys
import time
for d in filter(lambda x: x.startswith('lib.'), os.listdir('build')):
sys.path = [os.path.sep.join([os.getcwd(), 'build', d])] + sys.path
import SDL
def invert_surface(surf):
i = 0
for y in range(surf.h):
for x in range(surf.w):
su... | gpl-2.0 |
cjdru-association/d6-website | piwik/libs/jqplot/jqplot.tableLegendRenderer.js | 13645 | /**
* jqPlot
* Pure JavaScript plotting plugin using jQuery
*
* Version: @VERSION
*
* Copyright (c) 2009-2011 Chris Leonello
* jqPlot is currently available for use in all personal or commercial projects
* under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL
* version 2.0 ... | gpl-2.0 |
gaugusto/CellAut3D | mainwindow.cpp | 5045 | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include "jogodavida.h"
#include "flocosneve.h"
#include "testneighbors.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
glwidget = createGLWidget(ui->spinBoxRows->value(),
... | gpl-2.0 |
Merlinium/server | src/game/ThreatManager.cpp | 20927 | /*
* This file is part of the Continued-MaNGOS Project
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Thi... | gpl-2.0 |
Venturi/cms | env/lib/python2.7/site-packages/djangocms_installer/django/__init__.py | 17665 | # -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
import glob
import os
import re
import shutil
import subprocess
import sys
import tempfile
import textwrap
import zipfile
from copy import copy, deepcopy
from six import BytesIO
from ..compat import iteritems
from ..conf... | gpl-2.0 |
RoProducts/rastertheque | JAILibrary/src/com/sun/media/jai/opimage/MaxOpImage.java | 18329 | /*
* $RCSfile: MaxOpImage.java,v $
*
* Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved.
*
* Use is subject to license terms.
*
* $Revision: 1.1 $
* $Date: 2005/02/11 04:56:33 $
* $State: Exp $
*/
package com.sun.media.jai.opimage;
import java.awt.Rectangle;
import java.awt.image.Dat... | gpl-2.0 |
dpwrussell/openmicroscopy | components/tools/OmeroPy/src/omero/cli.py | 81737 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Python driver for OMERO
Provides access to various OMERO.blitz server- and client-side
utilities, including starting and stopping servers, running
analyses, configuration, and more.
Usable via the ./omero script provided with the distribution
as well as from python v... | gpl-2.0 |
max-dicson-cf/unas-erp | fiis-erp/src/java/com/max/oti/system/model/View.java | 2683 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.max.oti.system.model;
import java.io.Serializable;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.pers... | gpl-2.0 |
opendatakosovo/odk-wp-theme | content-page.php | 1500 | <?php
/**
* The template used for displaying page content in page.php
*
* @package Spun
*/
?>
<?php
// Here we call post_class() and assign the echo into a variable so that we can str replace a styling class in it.
// Hacky, yes, but we don't want to change functions that are outside of the theme.
ob_start();
... | gpl-2.0 |
tonglin/pdPm | public_html/typo3_src-6.1.7/typo3/sysext/felogin/pi1/class.tx_felogin_pi1.php | 381 | <?php
/*
* @deprecated since 6.0, the classname tx_felogin_pi1 and this file is obsolete
* and will be removed with 6.2. The class was renamed and is now located at:
* typo3/sysext/felogin/Classes/Controller/FrontendLoginController.php
*/
require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('fel... | gpl-2.0 |
GregoryMorse/IslamSource | IslamSourceQuranViewer/Xam/App.xaml.cs | 950 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xamarin.Forms;
#if WINDOWS_UWP
namespace IslamSourceQuranViewer.Xam
{
public partial class App : Application
{
public App ()
{
InitializeComponent();
//AppSettings.InitDefaultSettings().Wait();
MainPa... | gpl-2.0 |
rihjsantos/dgnp | app/models/entry.rb | 1019 | class Entry < ActiveRecord::Base
# relationships
belongs_to :category
has_many :taggings
has_many :tags, through: :taggings
accepts_nested_attributes_for :category
#validations
validates :entry, length: { maximum: 255 }
validates :picture_file_name, length: { maximum: 255 }
validates :picture_content_type, le... | gpl-2.0 |
doublesword/commuse | Source/W201621/GetProcThreadCpuUsage/CommLog.cpp | 18946 | #pragma once
#include "stdafx.h"
#include <Windows.h>
#include <io.h>
#include <stdio.h>
#include "CommLog.h"
#include <tchar.h>
#include <stdarg.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <io.h>
#include <fstream>
#define MAX_BUFFER 5000
#define INVALID_FILE INV... | gpl-2.0 |
piti118/SPR | include/StatPatternRecognition/SprVector.hh | 8633 | // -*- C++ -*-
// CLASSDOC OFF
// $Id: SprVector.hh,v 1.3 2007-11-07 00:56:14 narsky Exp $
// ---------------------------------------------------------------------------
// CLASSDOC ON
//
// This file is a part of the CLHEP - a Class Library for High Energy Physics.
//
//
// Copyright Cornell University 1993, 1996, A... | gpl-2.0 |
melko/qtiplot | 3rdparty/qwtplot3d/src/qwt3d_axis.cpp | 8159 | #include "qwt3d_axis.h"
#include "qwt3d_plot.h"
using namespace Qwt3D;
Axis::Axis()
{
init();
};
Axis::~Axis()
{
}
Axis::Axis(Triple beg, Triple end)
{
init();
setPosition(beg,end);
}
void Axis::init()
{
detachAll();
scale_ = qwt3d_ptr<Scale>(new LinearScale);
beg_ = Triple(0.0, 0.0, 0.0);
end_ = beg_... | gpl-2.0 |
dennyli/HandySolution | Tools/Prism4.1/Prism/Modularity/AssemblyResolver.Desktop.cs | 5800 | //===================================================================================
// Microsoft patterns & practices
// Composite Application Guidance for Windows Presentation Foundation and Silverlight
//===================================================================================
// Copyright (c) Microsoft C... | gpl-2.0 |
PlanetLotus/Settings-Recall | SettingsRecall/RestoreService.cs | 1155 | using SettingsRecall.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using BackupDataModel = SettingsRecall.BackupService.BackupDataModel;
namespace SettingsRecall {
public class RestoreService {
/// <summary>
/// Overwrites files, but does not create directori... | gpl-2.0 |
lujianzhi/photoalbum | app/src/main/java/com/lujianzhi/photoalbum/view/photoview/Compat.java | 511 | package com.lujianzhi.photoalbum.view.photoview;
import android.os.Build.VERSION;
import android.os.Build.VERSION_CODES;
import android.view.View;
public class Compat {
private static final int SIXTY_FPS_INTERVAL = 1000 / 60;
public static void postOnAnimation(View view, Runnable runnable) {
if (VER... | gpl-2.0 |
sirfreedom/ChessNet | frmPickupColor.cs | 7400 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace SrcChess {
/// <summary>Pickup the colors use to draw the chess control</summary>
public partial class frmPickupColor : Form {
p... | gpl-2.0 |
fvcproductions/CS-HU | CSC-152/Inheritance/Lesson I/Faculty.java | 1312 | /***************************************************
fvcproductions
july 2012
Faculty class extended from Person class
****************************************************/
public class Faculty extends Person {
//define attributes that are protected
//aka additional attributes
protected String department;
... | gpl-2.0 |
freemed/freemed | ui/dojo/htdocs/dojo/src/collections/Set.js | 3101 | /*
Copyright (c) 2004-2006, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/community/licensing.shtml
*/
dojo.provide("dojo.collections.Set");
dojo.require("do... | gpl-2.0 |
anomen-s/programming-challenges | mff.cuni.cz/SWI080/jms/src/ExampleProducer.java | 1648 | import javax.jms.Connection;
import javax.jms.Message;
import javax.jms.MessageProducer;
import javax.jms.Queue;
import javax.jms.Session;
import org.apache.activemq.ActiveMQConnectionFactory;
public class ExampleProducer {
public static void main(String[] args) {
Connection connection = null;
try {
... | gpl-2.0 |
laurenpenn/Website | content/plugins/addthis/js/options-page.32.js | 12637 | jQuery(document).ready(function($) {
$( "#config-error" ).hide();
$( "#share-error" ).hide();
$( "#tabs" ).tabs();
var thickDims, tbWidth, tbHeight;
thickDims = function() {
var tbWindow = $('#TB_window'), H = $(window).height(), W = $(window).width(), w, h;
w = (tbWidth && tbWidth ... | gpl-2.0 |
eba2s/blog | static/admin/js/admin/RelatedObjectLookups.js | 4465 | // Handles related-objects functionality: lookup link for raw_id_fields
// and Add Another links.
function html_unescape(text) {
// Unescape a string that was escaped using django.utils.html.escape.
text = text.replace(/</g, '<');
text = text.replace(/>/g, '>');
text = text.replace(/"/g, '"'... | gpl-2.0 |
TI-ECS/battleship | src/networkentity.cpp | 4025 | /*
Copyright (c) 2007 Paolo Capriotti <p.capriotti@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; either version 2 of the License, or
(at your option) any later version.
*/
#in... | gpl-2.0 |
RyeBread90/ryesnewsite | wp-content/themes/ryes_new_site/inc/customizer.php | 984 | <?php
/**
* ryes_new_site Theme Customizer
*
* @package ryes_new_site
*/
/**
* Add postMessage support for site title and description for the Theme Customizer.
*
* @param WP_Customize_Manager $wp_customize Theme Customizer object.
*/
function ryes_new_site_customize_register( $wp_customize ) {
$wp_customize->... | gpl-2.0 |
Muyadong/C- | 第7章节 数组与集合/7.7.2数组参数的使用/7.7.2数组参数的使用/Program.cs | 2455 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace _7._7._2数组参数的使用
{
class Program
{
static void Main(string[] args)
{
int[] NewChangeArray = new int[5] { 1, 2, 3, 4, 5 };
NewChange(NewChangeArray);//调用重新创建数组并修改值得方法
... | gpl-2.0 |
Droces/casabio | vendor/phpexiftool/phpexiftool/lib/PHPExiftool/Driver/Tag/Matroska/SignedElement.php | 751 | <?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\Matroska;
use PHPExiftool\Driver\AbstractTag;
class Si... | gpl-2.0 |