repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
LeonanCarvalho/jataka-commons | jataka-common-dao-impl/src/main/java/org/jatakasource/common/dao/GenericHibernateDao.java | 518 | package org.jatakasource.common.dao;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.StatelessSession;
import org.springframework.beans.factory.annotation.Autowired;
public abstract class GenericHibernateDao implements GenericDao {
@Autowired
private SessionFactory sessionFa... | gpl-3.0 |
SDCC-Ken/Ghost-Leg-Game | Ajax/finish.php | 2607 | <?php
function sendemail($id, $players) {
require "../Mailer/PHPMailerAutoload.php";
$ok = false;
foreach ($players AS $player) {
$tempplayer = (object) $player;
$name = $tempplayer->name;
$email = $tempplayer->email;
if ($email != "") {
$mail = new PHPMailer;
... | gpl-3.0 |
alaineman/PowerGrid | src/Bridge/rs/worldcontroller.cpp | 145 | #include "worldcontroller.h"
namespace RS {
IMPL_JACE_CONSTRUCTORS(WorldController)
IMPL_RSCLASS_GET(WorldController)
} // namespace bridge
| gpl-3.0 |
firebirdberlin/nightdream | src/com/firebirdberlin/nightdream/services/SqliteIntentService.java | 2872 | package com.firebirdberlin.nightdream.services;
import android.content.Context;
import android.util.Log;
import androidx.work.Data;
import androidx.work.OneTimeWorkRequest;
import androidx.work.WorkManager;
import com.firebirdberlin.nightdream.models.SimpleTime;
import com.google.gson.Gson;
public class SqliteInten... | gpl-3.0 |
unsftn/bisis-v4 | src/com/gint/app/bisis4/commandservice/JdbcServiceFactory.java | 643 | package com.gint.app.bisis4.commandservice;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class JdbcServiceFactory implements ServiceFactory{
private static Log log = LogFactory.getLog(JdbcServiceFactory.class.getName());
public Service createService(int type, Strin... | gpl-3.0 |
rafaelqueiroz89/design_patterns_in_csharp | Builder/ClassAttribute.cs | 2110 | using System.Collections.Generic;
using System.Text;
/*
* A builder is a separate component for builing an object
* Can either give builder a constructor or return it via a static function
* To make builder fluent, return this (AddChild Thing nested on the same element)
* Different facets of an object can ... | gpl-3.0 |
hpl1nk/nonamegame | xray/editor/world/sources/resource_editor.cpp | 4509 | ////////////////////////////////////////////////////////////////////////////
// Created : 09.02.2010
// Author : Evgeniy Obertyukh
// Copyright (C) GSC Game World - 2010
////////////////////////////////////////////////////////////////////////////
#include "pch.h"
#include "window_ide.h"
#include "resource_editor.h"
... | gpl-3.0 |
motlib/simple-sin | cfg/styles.php | 459 | <?php
$styles = array(
'default' => array(
'head-color' => 'lightgray',
'border-color' =>'lightgray',
'border-hover-color' => 'gray',
'background-color' => 'white',
'text-color' => 'black',
),
'hacker' => array(
'head-color' => 'black',
'border-color'... | gpl-3.0 |
luwrain/app-calc | src/main/java/org/luwrain/app/calc/Strings.java | 677 | /*
Copyright 2012-2015 Michael Pozhidaev <msp@altlinux.org>
This file is part of the Luwrain.
Luwrain is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at you... | gpl-3.0 |
QiuLihua83/Magento_with_some_popular_mods | app/code/local/Autocompleteplus/Autosuggest/Model/Observer.php | 23189 | <?php
/**
* InstantSearchPlus (Autosuggest)
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
*
* @category Mage
* @package InstantSearchPlus
* @copyright ... | gpl-3.0 |
peteyhayman/peteyhayman.github.io | Projects/Flowfield/Particle.js | 1731 |
function Particle() {
this.reset = function () {
this.pos = createVector(random(width), random(height));
this.vel = createVector();
//this.vel = p5.Vector.random2D();
this.acc = createVector();
this.radius = 1;
this.maxSpeed = random(0.5, 1.2)
this.lifespan = random(512)
... | gpl-3.0 |
ubbi86/rootg | src/utility/Menu.java | 3201 | package utility;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.Rectangle;
import java.awt.font.FontRenderContext;
import java.awt.geom.Rectangle2D;
import java.awt.geom.RoundRectangle2D;
import java.util.ArrayList;
import main.Main;
publ... | gpl-3.0 |
BerserkerDotNet/Ether | src/Ether/Types/OrderByConfiguration.cs | 363 | using System;
namespace Ether.Types
{
public class OrderByConfiguration<T>
{
public OrderByConfiguration(Func<T, object> property, bool isDesc)
{
Property = property;
IsDescending = isDesc;
}
public Func<T, object> Property { get; set; }
public... | gpl-3.0 |
WVDR/LittleBlackBook | IreneAdler/Areas/HelpPage/SampleGeneration/ObjectGenerator.cs | 19492 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Reflection;
namespace IreneAdler.Areas.HelpPage
{
/// <summary>
/// This class will create an object of a given type and populate it with ... | gpl-3.0 |
Richterrettich/slidemgr | lib/commands/create.rb | 1444 | require 'thor'
require 'thor/group'
require 'pathname'
require 'util'
require 'nokogiri'
require 'net/http'
require 'json'
require 'yaml'
class Create < Thor::Group
include Thor::Actions
include Util
argument :name, :type => :string, :desc => 'The presentation name'
def self.source_root
File.expand_path... | gpl-3.0 |
mathisdt/sdb2 | src/main/java/org/zephyrsoft/sdb2/model/SongElementEnum.java | 1227 | /*
* This file is part of the Song Database (SDB).
*
* SDB is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License 3.0 as published by
* the Free Software Foundation.
*
* SDB is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; wit... | gpl-3.0 |
ybAmazing/encrypt_pymongo | cursor.py | 42415 | # Copyright 2009-2014 MongoDB, Inc.
#
# 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 writin... | gpl-3.0 |
sergiovilar/backbonejs-mvc-boilerplate | app/scripts/router.js | 971 | /* global define, Backbone */
define([
], function () {
'use strict';
var AppRouter = Backbone.Router.extend({
routes: {
'*actions': 'index'
}
});
var initialize = function (init) {
if (init === true) {
var router = new AppRouter();
ro... | gpl-3.0 |
Towerism/ascii-engine | ascii-engine/render/matrix_renderer.hh | 967 | // Copyright 2016 Martin Fracker, Jr.
// All Rights Reserved.
//
// AsciiEngine is free software, released under the terms
// of the GNU General Public License v3. Please see the
// file LICENSE in the root directory or visit
// www.gnu.org/licenses/gpl-3.0.en.html for license terms.
#pragma once
#include <mem... | gpl-3.0 |
CARTAvis/carta | carta/cpp/core/Viewer.cpp | 4267 | #include "CartaLib/CartaLib.h"
#include "CartaLib/Hooks/ColormapsScalar.h"
#include "CartaLib/Hooks/Initialize.h"
#include "GrayColormap.h"
#include "Viewer.h"
#include "Globals.h"
#include "IPlatform.h"
#include "State/ObjectManager.h"
#include "Data/ViewManager.h"
#include "Data/Image/Controller.h"
#include "PluginMa... | gpl-3.0 |
ADyson/clDM-EWR | AdjustRecon.cpp | 7266 | // AdjustRecon.cpp : implementation file
//
#include "stdafx.h"
#include "AdjustRecon.h"
#include "afxdialogex.h"
#include "FTSR.h"
#include "boost\lexical_cast.hpp"
#include "Utility.h"
#include "ClKernelsAdjust.h"
#include "clState.h"
// AdjustRecon dialog
IMPLEMENT_DYNAMIC(AdjustRecon, CDialog)
AdjustRecon::Adj... | gpl-3.0 |
projectestac/alexandria | html/langpacks/de/availability_role.php | 2031 | <?php
// This file is part of Moodle - https://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle... | gpl-3.0 |
samszo/open-edition | plugins/auto/compositions/v3.5.3/lang/compositions_sk.php | 2155 | <?php
// This is a SPIP language file -- Ceci est un fichier langue de SPIP
// extrait automatiquement de http://trad.spip.net/tradlang_module/compositions?lang_cible=sk
// ** ne pas modifier le fichier **
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
$GLOBALS[$GLOBALS['idx_lang']] = array(
// C
'composition... | gpl-3.0 |
geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtdeclarative/tests/auto/qml/ecmascripttests/test262/test/suite/ch15/15.4/15.4.4/15.4.4.18/15.4.4.18-5-6.js | 782 | /// Copyright (c) 2012 Ecma International. All rights reserved.
/// Ecma International makes this code available under the terms and conditions set
/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
/// "Use Terms"). Any redistribution of this code must retain the above
/// copyright an... | gpl-3.0 |
catdoru/taxi | i/zakaz_otmenen_clientom.php | 457 | <?
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
CModule::IncludeModule("iblock");
global $USER;
CIBlockElement::SetPropertyValues($z, 5, Array("VALUE"=>"" ) ,"vkorzine_ukogo_id" );
//очистить UF_LIVEZAKAZ у текущего водителя
$user = new CUser;
$fields = Array( "UF_LIVEZAKAZ" => "" );
$... | gpl-3.0 |
villagedefrance/OpenCart-Overclocked | upload/system/vendor/stripe-php/lib/Stripe/Recipient.php | 1768 | <?php
class Stripe_Recipient extends Stripe_ApiResource {
/**
* @param string $id The ID of the recipient to retrieve.
* @param string|null $apiKey
*
* @return Stripe_Recipient
*/
public static function retrieve($id, $apiKey=null) {
$class = get_class();
return self::_s... | gpl-3.0 |
15Mpedia/15Mpedia-scripts | youtube-missingparams.py | 5645 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2014 emijrp
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later versio... | gpl-3.0 |
mcisse3007/moodle_esco_master | mod/dataform/backup/moodle2/restore_dataform_stepslib.php | 13902 | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... | gpl-3.0 |
tfossi/APolGe | src/tfossi/apolge/common/state/guard/After_.java | 1884 | /**
*
*/
package tfossi.apolge.common.state.guard;
import static tfossi.apolge.time.pit.ConstCPPit.*;
import tfossi.apolge.common.scripting.PreAddress;
import tfossi.apolge.data.core.ICoreData;
import tfossi.apolge.data.guide.IGuideData;
import tfossi.apolge.time.pit.PPiT;
/**
* Guard überwacht, ... | gpl-3.0 |
OlafLee/RankSys | RankSys-core/src/main/java/es/uam/eps/ir/ranksys/core/util/topn/package-info.java | 867 | /*
* Copyright (C) 2015 Information Retrieval Group at Universidad Autonoma
* de Madrid, http://ir.ii.uam.es
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the Lice... | gpl-3.0 |
crayner/Gibbon | modules/Students/report_students_byRollGroup.php | 6806 | <?php
/*
Gibbon, Flexible & Open School System
Copyright (C) 2010, Ross Parker
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
... | gpl-3.0 |
idega/platform2 | src/com/idega/servlet/filter/IWEncodingFilter.java | 1837 | package com.idega.servlet.filter;
import java.io.IOException;
import java.util.logging.Logger;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax... | gpl-3.0 |
darkware-dev/ObjectPortal | src/test/java/org/darkware/objportal/ObjectPortalFacadeTests.java | 4117 | /*
* Copyright (c) 2016. darkware.org and contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Thi... | gpl-3.0 |
Raising/Animations | 14_10_28_Bloque 1/AnimationRaisingModule.js | 5684 | /*
ARM, Animation Raising Module.
@autor: Ignacio Medina Castillo, AKA Raising.
*/
var ARM = {version:"1"};
ARM.timeline = function (/* .... */){
var tl = new TimelineLite();
var executor = "tl";
for(var i = 0; i < arguments.length; i++){
executor= executor.concat(arguments[i]);
}
executor = executor.conc... | gpl-3.0 |
mikelmaron/OpenMapKit | app/src/main/java/org/redcross/openmapkit/odkcollect/ODKCollectTagActivity.java | 5880 | package org.redcross.openmapkit.odkcollect;
import android.app.Activity;
import android.content.Intent;
import android.support.v7.app.ActionBarActivity;
import android.support.v4.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import a... | gpl-3.0 |
coding-books/website | migrations/m170530_185658_add_format_column_to_books_lins_table.php | 665 | <?php
use yii\db\Migration;
/**
* Handles adding format to table `books_lins`.
*/
class m170530_185658_add_format_column_to_books_lins_table extends Migration
{
/**
* @inheritdoc
*/
public function up()
{
$this->dropColumn('books', 'download_link');
$this->addColumn('books_lin... | gpl-3.0 |
tsiakmaki/jcropeditor | src/edu/teilar/jcropeditor/swing/action/AddKObjectAction.java | 2769 | /*
* (C) Copyright 2010-2013 Maria Tsiakmaki.
*
* This file is part of jcropeditor.
*
* jcropeditor is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License (LGPL)
* as published by the Free Software Foundation, version 3.
*
* jcropeditor is distr... | gpl-3.0 |
huzheng001/stardict-3 | tools/src/edict.cpp | 5628 | /*
* This file is part of StarDict.
*
* StarDict is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* StarDict is distributed in... | gpl-3.0 |
maruen/yowsup.jlguardi | yowsup/demos/receiveclient/run.py | 2185 | from layer import EchoLayer
from yowsup.layers.auth import YowCryptLayer, YowAuthenticationProtocolLayer, AuthError
from yowsup.layers.protocol_messages import YowMessagesProtocolLayer
from yowsup.layers.protocol_receipts import YowReceiptProtocolLayer
from yowsup.layers.protocol_acks import YowAckProtocolLayer
from yo... | gpl-3.0 |
ngot/nightly-test | fibjs/src/db/mongo/MongoCursor.cpp | 6670 | /*
* MongoCursor.cpp
*
* Created on: Oct 31, 2012
* Author: lion
*/
#include "object.h"
#include "MongoCursor.h"
#include "encoding_bson.h"
#include "ifs/util.h"
#include "Fiber.h"
namespace fibjs {
result_t MongoCursor::_initCursor(MongoDB* db, AsyncEvent* ac)
{
if (!ac)
return CHECK_ERROR(CA... | gpl-3.0 |
smattis/BET-1 | test/test_postProcess/test_plotP.py | 8894 | # Copyright (C) 2014-2019 The BET Development Team
"""
This module contains tests for :module:`bet.postProcess.plotP`.
Tests for correct computation of marginals and plotting.
"""
import unittest
import bet.calculateP.calculateP as calcP
import bet.calculateP.simpleFunP as simpleFunP
import bet.postProcess.plotP as... | gpl-3.0 |
paulwilde/woocommerce | includes/admin/class-wc-admin-assets.php | 25674 | <?php
/**
* Load assets
*
* @author WooThemes
* @category Admin
* @package WooCommerce/Admin
* @version 2.1.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( ! class_exists( 'WC_Admin_Assets', false ) ) :
/**
* WC_Admin_Assets Class.
*/
class WC_Admin_Assets {
/**
* Hook in tabs.
*/
... | gpl-3.0 |
evilsocket/Kerby_Surveillance | main.cpp | 3553 | /***************************************************************************
* @brief Kerby - Light weight video surveillance system *
* @author Simone Margaritelli (aka evilsocket) <evilsocket@gmail.com> *
* *
* ... | gpl-3.0 |
geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtlocation/src/3rdparty/mapbox-gl-native/platform/android/src/test/main.jni.cpp | 3426 | #include "../jni.hpp"
#include <android/log.h>
#include <jni/jni.hpp>
#include <jni/jni.hpp>
#include <mbgl/util/logging.hpp>
#include <mbgl/test.hpp>
#include <vector>
#pragma clang diagnostic ignored "-Wunused-parameter"
#define MAKE_NATIVE_METHOD(name, sig) jni::MakeNativeMethod<decltype(name), name>( #name, si... | gpl-3.0 |
jukkes/TulipProject | plugins/metric/Eccentricity.cpp | 5296 | /**
*
* This file is part of Tulip (www.tulip-software.org)
*
* Authors: David Auber and the Tulip development Team
* from LaBRI, University of Bordeaux
*
* Tulip is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
* as published by the Free Sof... | gpl-3.0 |
futurable/futural | backend/protected/models/AccountCommonReport.php | 5243 | <?php
/**
* This is the model class for table "account_common_report".
*
* The followings are the available columns in table 'account_common_report':
* @property integer $id
* @property integer $create_uid
* @property string $create_date
* @property string $write_date
* @property integer $write_uid
* @propert... | gpl-3.0 |
xEssentials/xEssentials | src/tv/mineinthebox/essentials/commands/CmdTpa.java | 3483 | package tv.mineinthebox.essentials.commands;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import tv.mineinthebox.essentials.xEssentials;
import tv.mineinthebox.essentials.enums.PermissionKey... | gpl-3.0 |
joseortega/finance | apps/backend/modules/category/actions/actions.class.php | 406 | <?php
require_once dirname(__FILE__).'/../lib/categoryGeneratorConfiguration.class.php';
require_once dirname(__FILE__).'/../lib/categoryGeneratorHelper.class.php';
/**
* category actions.
*
* @package finance
* @subpackage category
* @author Jose Ortega
* @version SVN: $Id: actions.class.php 12474 20... | gpl-3.0 |
ManifoldScholar/manifold | api/app/services/importer/helpers/list.rb | 3594 | # This class is used in place of the GoogleDrive gem's list class, which provides an
# enumerable interface to Google worksheets. The reason we override it is because our
# current implementation assumes that the data in the worksheet begins on row 4, and that
# the column headers begin on row 2. This is per the struct... | gpl-3.0 |
Apretaste/Core | classes/Response.php | 4020 | <?php
class Response
{
public $email;
public $subject;
public $template;
public $content;
public $json; // NULL unless the return is an email API
public $images;
public $attachments;
public $internal; // false if the user provides the template
public $render; // false if the response should not be email to th... | gpl-3.0 |
NLeSC/eEcology-Classification | src/main/java/nl/esciencecenter/eecology/classification/segmentloading/GpsRecord.java | 5209 | package nl.esciencecenter.eecology.classification.segmentloading;
import java.util.ArrayList;
import java.util.List;
import org.joda.time.DateTime;
import com.fasterxml.jackson.annotation.JsonIgnore;
public class GpsRecord {
private int deviceId;
private DateTime timeStamp;
private int firstIndex;
p... | gpl-3.0 |
Kloudtek/kloudmake | core/src/main/java/com/kloudtek/kloudmake/resource/intellij/Idea.java | 350 | /*
* Copyright (c) 2015. Kelewan Technologies Ltd
*/
package com.kloudtek.kloudmake.resource.intellij;
import com.kloudtek.kloudmake.annotation.KMResource;
/**
* Created with IntelliJ IDEA.
* User: yannick
* Date: 19/07/13
* Time: 18:24
* To change this template use File | Settings | File Templates.
*/
@KMRe... | gpl-3.0 |
jonasfj/PeTe | PetriEngine/Reachability/BreadthFirstReachabilitySearch.cpp | 3172 | /* PeTe - Petri Engine exTremE
* Copyright (C) 2011 Jonas Finnemann Jensen <jopsen@gmail.com>,
* Thomas Søndersø Nielsen <primogens@gmail.com>,
* Lars Kærlund Østergaard <larsko@gmail.com>,
*
* This program is free software: you can redistribute it and/or modify
* it unde... | gpl-3.0 |
Traderain/Wolven-kit | CP77.CR2W/Types/cp77/SceneEvents.cs | 226 | using CP77.CR2W.Reflection;
namespace CP77.CR2W.Types
{
[REDMeta]
public class SceneEvents : VehicleEventsTransition
{
public SceneEvents(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name) { }
}
}
| gpl-3.0 |
andrewngu/sound-redux | client/src/utils/NumberUtils.js | 448 | export const addCommas = (i) => {
if (i === null || i === undefined) {
return '';
}
return i.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
};
const padZero = (num, size) => {
let s = String(num);
while (s.length < size) {
s = `0${s}`;
}
return s;
};
export const formatSeconds = (num) => {
... | gpl-3.0 |
fisty256/Yoko | build.py | 3735 | from build_config import BUILD_FILES, FORCED_FILES, COMPILER_COMMANDS, LINKER_COMMAND, LINKER_OUT, BEGIN_COMMANDS, FINISH_COMMANDS, SMART_DETECT
from pyout import raw_print, color_print, colors
from file_change_checker import has_file_changed, update_file_cache
from dep_tree import DEPENDENCY_TREE
import glob, os, os.p... | gpl-3.0 |
UniCEUB-Web-Development-2016/Pedro-Henrique-Folador | Location/control/ResourceController.php | 1182 | <?php
include_once "model/Request.php";
include_once "control/UserController.php";
include_once "control/AcademicController.php";
include_once "control/ExperienceController.php";
include_once "control/EnderecoController.php";
include_once "control/ExperienceChartController.php";
class ResourceController
{
private ... | gpl-3.0 |
pwizard2/robojournal | ui/exportmulti.cpp | 7516 | /*
This file is part of RoboJournal.
Copyright (c) 2013 by Will Kraft <pwizard@gmail.com>.
RoboJournal is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
... | gpl-3.0 |
solar3s/goregen | regenbox/regenbox_test.go | 1065 | package regenbox
import (
"sync"
"testing"
"time"
)
var rb *RegenBox
var once sync.Once
func testAutoConnect(tb testing.TB) *RegenBox {
if rb != nil {
return rb
}
var err error
rb, err = NewRegenBox(nil, nil)
if err != nil {
tb.Skip(err)
}
return rb
}
func TestRegenBox_LedToggle(t *testing.T) {
rbx ... | gpl-3.0 |
SuperMap-iDesktop/SuperMap-iDesktop-Cross | WorkflowView/src/main/java/com/supermap/desktop/WorkflowView/graphics/storage/IConnectionManager.java | 1794 | package com.supermap.desktop.WorkflowView.graphics.storage;
import com.supermap.desktop.WorkflowView.graphics.GraphCanvas;
import com.supermap.desktop.WorkflowView.graphics.connection.IConnectable;
import com.supermap.desktop.WorkflowView.graphics.connection.IGraphConnection;
import com.supermap.desktop.WorkflowView.g... | gpl-3.0 |
apruden/opal | opal-gwt-client/src/main/java/org/obiba/opal/web/gwt/app/client/magma/importdata/view/JdbcStepView.java | 1657 | /*******************************************************************************
* Copyright (c) 2012 OBiBa. All rights reserved.
*
* This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0.
*
* You should have received a copy of the GNU General Public Licen... | gpl-3.0 |
XSquareOrg/XS-core | src/vec/vec3.hpp | 3618 | /* ------------------------------------------------------------------------ *
* XSquare is free software: you can redistribute it and/or *
* modify it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation version 3 of the Licence, or *
* (at... | gpl-3.0 |
DRE2N/FactionsXL | src/main/java/de/erethon/factionsxl/command/TagCommand.java | 2408 | /*
* Copyright (c) 2017-2019 Daniel Saukel
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is... | gpl-3.0 |
AuScope/ABIN-Portal | src/main/webapp/js/cswthemefilter/components/BaseComponent.js | 1697 | Ext.namespace("CSWThemeFilter");
/**
* The 'abstract' base component for all CSWThemeFilterForm components to extend from
*/
CSWThemeFilter.BaseComponent = Ext.extend(Ext.form.FieldSet, {
/**
* An instance of GMap2
*/
map : null,
/**
* Constructor for this class, accepts a... | gpl-3.0 |
lsaffre/commondata-be | commondata/be/places.py | 1718 | # -*- coding: UTF-8 -*-
# Copyright 2014 Luc Saffre
# License: BSD (see file COPYING for details)
from __future__ import unicode_literals
from __future__ import print_function
from commondata.utils import Place, PlaceGenerator
class PlaceInBelgium(Place):
def __unicode__(self):
return self.fr
class Co... | gpl-3.0 |
uhoreg/moodle | lib/yui/3.4.1pr1/build/attribute-base/attribute-base.js | 45509 | /*
YUI 3.4.1pr1 (build 4097)
Copyright 2011 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('attribute-base', function(Y) {
/**
* The State class maintains state for a collection of named items, with
* a varying number of properties defined.
... | gpl-3.0 |
cjbaz/AppCont | app/src/main/java/com/sample/drawer/SuperGlobalVariable.java | 134 | package com.sample.drawer;
import java.util.ArrayList;
import java.util.Objects;
/**
* Created by Slava-laptop on 28.07.2015.
*/
| gpl-3.0 |
webshub/rtwithoutrtd | ExcelLogin/ExcelLogin/Properties/AssemblyInfo.cs | 2233 | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | gpl-3.0 |
apuex/akka-model-gen | src/main/scala/com/github/apuex/akka/gen/util/Type.scala | 1824 | package com.github.apuex.akka.gen.util
import scala.xml.{Node, Text}
object Type {
def apply(xml: Node): Type = new Type(xml)
}
class Type(xml: Node) {
def isValidType(typeName: String): Boolean = {
if (isBasicType(typeName)) true
else {
val entities = xml.child.filter(x => x.label == "entity"
... | gpl-3.0 |
gurusharma/StoreHelpLine | helpline/src/main/java/com/s3solutions/helpline/Welcome.java | 6366 | package com.s3solutions.helpline;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.os.Build;
import android.os.Bundle;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.support.v7.app.AppCompatActivity;
impo... | gpl-3.0 |
Drxmo/imaginarium | vendor/swiftmailer/swiftmailer/tests/unit/Swift/Encoder/QpEncoderTest.php | 13133 | <?php
class Swift_Encoder_QpEncoderTest extends \SwiftMailerTestCase {
/* -- RFC 2045, 6.7 --
(1) (General 8bit representation) Any octet, except a CR or
LF that is part of a CRLF line break of the canonical
(standard) form of the data being encoded, may be
represented by an "=" followed by a two d... | gpl-3.0 |
jeffersonmolleri/sesra | lib/form/base/BaseStudyUserCriteriaForm.class.php | 1492 | <?php
/**
* StudyUserCriteria form base class.
*
* @method StudyUserCriteria getObject() Returns the current form's model object
*
* @package mestrado
* @subpackage form
* @author Jefferson Seide Molléri
*/
abstract class BaseStudyUserCriteriaForm extends BaseFormPropel
{
public function setup()
{
... | gpl-3.0 |
sgdc3/AuthMeReloaded | src/main/java/fr/xephi/authme/command/CommandHandler.java | 9722 | package fr.xephi.authme.command;
import fr.xephi.authme.AuthMe;
import fr.xephi.authme.command.help.HelpProvider;
import fr.xephi.authme.util.CollectionUtils;
import fr.xephi.authme.util.StringUtils;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import java.util.ArrayList;
import java.util.Lis... | gpl-3.0 |
cfelton/minnesota | mn/cores/sdram/__init__.py | 110 |
from _intf import SDRAM
from _sdram_sdr import m_sdram
# specific memory definitions
from _memories import * | gpl-3.0 |
MatiasNAmendola/gnome-web | lib/ctrl/api/CmdController.class.php | 2474 | <?php
namespace lib\ctrl\api;
/**
* Execute commands.
* @author $imon
*/
class CmdController extends \lib\ApiBackController {
protected $terminal, $cmd;
/**
* Execute a command.
* @param string $cmdText The command.
* @param int $terminalId The terminal ID.
*/
public function executeExecute($cmd... | gpl-3.0 |
csf-dept-info/stagio | Stagio.Web.Automation/PageObjects/LoginPage.cs | 1281 | using System;
using Stagio.Domain.Entities;
using Stagio.Web.Automation.Selenium;
using Stagio.Web.Automation.Navigation;
using OpenQA.Selenium;
namespace Stagio.Web.Automation.PageObjects
{
public class LoginPage
{
public const string PAGE_ID = "login-page";
public static bool IsDisplayed... | gpl-3.0 |
Unofficial-Extend-Project-Mirror/foam-extend-foam-extend-3.2 | src/finiteVolume/finiteVolume/ddtSchemes/EulerDdtScheme/EulerDdtScheme.H | 5348 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
\\ / O peration | Version: 3.2
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For ... | gpl-3.0 |
ermirbeqiraj/board-time | MvcToDo/Core/Repository/IRepository.cs | 769 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace MvcToDo.Core.Repository
{
public interface IRepository<T> where T : class
{
/// <summary>
/// Get element by id
/// </summary>
... | gpl-3.0 |
cliftonmcintosh/openstates | openstates/ia/votes.py | 9924 | # -*- coding: utf8 -*-
from datetime import datetime
import re
import collections
import lxml.etree
from billy.scrape.utils import convert_pdf
from billy.scrape.votes import VoteScraper, Vote
from .scraper import InvalidHTTPSScraper
class IAVoteScraper(InvalidHTTPSScraper, VoteScraper):
jurisdiction = 'ia'
... | gpl-3.0 |
zpxocivuby/freetong_mobile | ItafMobileApp/src/itaf/mobile/app/ui/MerchantStockOrder.java | 8866 | package itaf.mobile.app.ui;
import itaf.framework.base.dto.WsPageResult;
import itaf.framework.merchant.dto.BzStockOrderDto;
import itaf.framework.merchant.dto.BzStockOrderItemDto;
import itaf.framework.product.dto.BzProductDto;
import itaf.mobile.app.R;
import itaf.mobile.app.services.TaskService;
import itaf.mobile.... | gpl-3.0 |
oswetto/LoboEvolution | LoboJTattoo/src/main/java/com/jtattoo/plaf/acryl/AcrylComboBoxUI.java | 2470 | /*
* Copyright (c) 2002 and later by MH Software-Entwicklung. All Rights Reserved.
*
* JTattoo is multiple licensed. If your are an open source developer you can use
* it under the terms and conditions of the GNU General Public License version 2.0
* or later as published by the Free Software Foundation.
*
* see: gpl-2.... | gpl-3.0 |
ProjectAlphaES/AdVenture-Capitalist | src/es/projectalpha/ac/jobs/list/Oil.java | 334 | package es.projectalpha.ac.jobs.list;
import es.projectalpha.ac.jobs.Job;
public class Oil extends Job {
public Oil(){
super("Oil Company", 25798901760D);
setProductionReward(29668737024D);
setProductionTime(36864); //10:14:24
setCoefficient(1.07);
setUpgradeBase(getCos... | gpl-3.0 |
zfedoran/bubble-physics | bubblephysics/bubblephysics/physics/spring.cs | 3281 | /*
* Copyright (C) 2009-2012 - Zelimir Fedoran
*
* This file is part of Bubble Physics.
*
* Bubble Physics is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
*... | gpl-3.0 |
zeminlu/comitaco | unittest/pldi/StrykerBinomialHeapInsertBug50x33x48Test.java | 2070 | /*
* TACO: Translation of Annotated COde
* Copyright (c) 2010 Universidad de Buenos Aires
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your ... | gpl-3.0 |
barnex/bruteray | tracer/lights/doc.go | 155 | /*
Package lights provides implementations of the tracer.Light interface.
- general transform (either orthonormal or scales intensity)
*/
package lights
| gpl-3.0 |
munshkr/ripple | src/Workspace.cpp | 2840 | #include "Workspace.h"
#define SPLIT_SCREEN
Workspace::Workspace() {
// create log viewers for each REPL
replLog = new ReplLog(repl);
screplLog = new ReplLog(screpl);
createEditor(repl);
createEditor(screpl);
#ifdef SPLIT_SCREEN
// 3rd editor for split screen
Editor* ed = createEditor();... | gpl-3.0 |
Team-Olga/Olga-Verkkokauppa | imports/plugins/custom/olga/server/methods/supplyContracts.app-test.js | 10741 | import { Meteor } from "meteor/meteor";
import { chai } from "meteor/practicalmeteor:chai";
import { Factory } from "meteor/dburles:factory";
import { Random } from "meteor/random";
import StubCollections from "meteor/hwillson:stub-collections";
import { sinon } from "meteor/practicalmeteor:sinon";
import { resetDataba... | gpl-3.0 |
sartim/codebloga | static/blog/assets/frontend/one-page-revolution-slider/fashion/js/blankon.rs-fashion.js | 3757 | var BlankonOnePageRSFashion = function () {
return {
// =========================================================================
// CONSTRUCTOR APP
// =========================================================================
init: function () {
BlankonOnePageRSFashion.... | gpl-3.0 |
Chilinot/SurvivalGamesMultiverse | src/main/java/se/lucasarnstrom/survivalgamesmultiverse/Config.java | 3917 | /**
* Name: Config.java
* Date: 14:27:53 - 8 sep 2012
*
* Author: LucasEmanuel @ bukkit forums
*
*
* Copyright 2013 Lucas Arnström
*
* 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 Fo... | gpl-3.0 |
MeteorAdminz/dnSpy | dnSpy/dnSpy/Text/Editor/TextViewModel.cs | 2101 | /*
Copyright (C) 2014-2016 de4dot@gmail.com
This file is part of dnSpy
dnSpy is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any late... | gpl-3.0 |
zebraxxl/CIL2Java | StdLibs/System/System/ComponentModel/BooleanConverter.cs | 1186 | using System;
using System.Globalization;
namespace System.ComponentModel
{
public class BooleanConverter : TypeConverter
{
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
{
throw new NotImplementedException();
}
... | gpl-3.0 |
Kodomo/Dazzler | BAM/lib/class/Response.inc.php | 24866 | <?php
/* !
* This file is part of Dazzler
* Copyright(c) 2011 USI - Universidad de Concepcion
*
* Dazzler is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your ... | gpl-3.0 |
Sethorax/t3essentials | Classes/Service/TyposcriptLoader.php | 2061 | <?php
namespace Sethorax\T3essentials\Service;
/*
* 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 ... | gpl-3.0 |
dandrocec/PaaSInterop | SemanticServiceDescription/src/java/hr/org/foi/jena/SalesforceDataOntologyCreator.java | 16095 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package hr.org.foi.jena;
import com.hp.hpl.jena.datatypes.RDFDatatype;
import com.hp.hpl.jena.datatypes.xsd.XSDDatatype;
import com.hp.hpl.jena.ontology.DatatypeProperty;
import com.hp.hpl.jena.ontology.Individual;
impo... | gpl-3.0 |
nelmio/techup-mobile | app/views/EventAttendees.js | 1658 | /**
*
* @copyright (c) 2011 Nelmio
* @license http://opensource.org/licenses/gpl-3.0.html GNU Public License, version 3
*
*/
techup.views.EventAttendees = Ext.extend(Ext.Panel, {
record: undefined,
layout: 'fit',
dockedItems: [
{
xtype: 'toolbar',
title: 'Attendees',
... | gpl-3.0 |
psci2195/espresso-ffans | src/core/collision.hpp | 5602 | /*
* Copyright (C) 2011-2019 The ESPResSo project
*
* This file is part of ESPResSo.
*
* ESPResSo is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) ... | gpl-3.0 |
javocsoft/javocsoft-toolbox | src/es/javocsoft/android/lib/toolbox/sms/observer/SMSObserver.java | 12174 | /*
* Copyright (C) 2010-2014 - JavocSoft - Javier Gonzalez Serrano
* http://javocsoft.es/proyectos/code-libs/android/javocsoft-toolbox-android-library
*
* This file is part of JavocSoft Android Toolbox library.
*
* JavocSoft Android Toolbox library is free software: you can redistribute it
* and/or modify it u... | gpl-3.0 |
fbacchella/ipmilib | sample/com/veraxsystems/vxipmi/test/ChassisControlRunner.java | 4688 | /*
* VxipmiRunner.java
* Created on 2011-09-20
*
* Copyright (c) Verax Systems 2011.
* All rights reserved.
*
* This software is furnished under a license. Use, duplication,
* disclosure and all other uses are restricted to the rights
* specified in the written license agreement.
*/
package com.ve... | gpl-3.0 |
kuiwang/my-dev | src/main/java/com/taobao/api/request/ScitemGetRequest.java | 1987 | package com.taobao.api.request;
import java.util.Map;
import com.taobao.api.ApiRuleException;
import com.taobao.api.TaobaoRequest;
import com.taobao.api.internal.util.RequestCheckUtils;
import com.taobao.api.internal.util.TaobaoHashMap;
import com.taobao.api.response.ScitemGetResponse;
/**
* TOP API: taobao.scitem.... | gpl-3.0 |
drewlu/ossql | src/s3ql/cli/adm.py | 27015 | '''
adm.py - this file is part of S3QL (http://s3ql.googlecode.com)
Copyright (C) 2008-2009 Nikolaus Rath <Nikolaus@rath.org>
This program can be distributed under the terms of the GNU GPLv3.
'''
from __future__ import division, print_function, absolute_import
from datetime import datetime as Datetime
from getpass i... | gpl-3.0 |