repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
Stalkstalks/OpenXcom | src/Ufopaedia/ArticleStateTFTDArmor.cpp | 3497 | /*
* Copyright 2010-2015 OpenXcom Developers.
*
* This file is part of OpenXcom.
*
* OpenXcom 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 ... | gpl-3.0 |
TheCrowsJoker/mahara | htdocs/skin/design.php | 34020 | <?php
/**
*
* @package mahara
* @subpackage skin
* @author Gregor Anzelj
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL version 3 or later
* @copyright For copyright information on Mahara, please see the README file distributed with this software.
* @copyright (C) 2010-2013 Gregor Anzelj <gr... | gpl-3.0 |
dmitry-vlasov/mdl | src/mdl/study/mdl_study_Fitness.cpp | 10674 | /*****************************************************************************/
/* Project name: mdl - mathematics development language */
/* File Name: mdl_study_Fitness.cpp */
/* Description: a set of trees - for fitness evaluation */
... | gpl-3.0 |
mvcds/valid | MVCDS.Valid/MVCDS.Valid.Test.Unit/Get_Results.cs | 1267 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using MVCDS.Valid.Library.Validators;
namespace MVCDS.Valid.Test.Unit
{
[TestClass]
public class Get_Results
{
[TestMethod]
public void Compose_A_Rule_Using_Functions()
{
Validator<string> validator = new Validator<str... | gpl-3.0 |
waveform80/tvrip | tvrip/const.py | 1029 | # vim: set et sw=4 sts=4:
# Copyright 2012-2017 Dave Jones <dave@waveform.org.uk>.
#
# This file is part of tvrip.
#
# tvrip 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 |
geosolutions-it/geofence | src/services/modules/rest/api/src/main/java/it/geosolutions/geofence/services/rest/model/RESTShortInstanceList.java | 2067 | /*
* Copyright (C) 2007 - 2012 GeoSolutions S.A.S.
* http://www.geo-solutions.it
*
* GPLv3 + Classpath exception
*
* 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 ... | gpl-3.0 |
rightscale/rainbows | lib/rainbows/event_machine.rb | 4324 | # -*- encoding: binary -*-
require 'eventmachine'
EM::VERSION >= '0.12.10' or abort 'eventmachine 0.12.10 is required'
# Implements a basic single-threaded event model with
# {EventMachine}[http://rubyeventmachine.com/]. It is capable of
# handling thousands of simultaneous client connections, but with only
# a singl... | gpl-3.0 |
arthurgregorio/web-budget | src/main/java/br/com/webbudget/domain/entities/configuration/StoreType.java | 1422 | /*
* Copyright (C) 2018 Arthur Gregorio, AG.Software
*
* 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 ... | gpl-3.0 |
sguazt/dcsj-sharegrid-portal | src/java/it/unipmn/di/dcs/sharegrid/web/faces/component/UIOutputAccordionPanelComponent.java | 2712 | /*
* Copyright (C) 2008 Distributed Computing System (DCS) Group, Computer
* Science Department - University of Piemonte Orientale, Alessandria (Italy).
*
* 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 Softw... | gpl-3.0 |
kgullikson88/General | PlotCCF.py | 708 | import matplotlib.pyplot as plt
def MakePlot(x, y, title="", fig=None, labelsize=20, titlesize=25, plotcolor='black', linewidth=2):
if fig == None:
fig = plt.figure()
elif isinstance(fig, int):
fig = plt.figure(fig)
plt.plot(x, y, color=plotcolor, lw=linewidth)
plt.xlabel("Velocity (k... | gpl-3.0 |
Etherous/Emerge | asset.image/src/main/java/net/etherous/emerge/asset/image/TextureAtlas.java | 1103 | /*
* Copyright (c) 2015 Brandon Lyon
*
* This file is part of Emerge Game Engine (Emerge)
*
* Emerge is free software: you can redistribute it and/or modify
* it under the terms of version 3 of the GNU General Public License as
* published by the Free Software Foundation.
*
* Emerge is distributed in the hope ... | gpl-3.0 |
lukewatts/thistle | app/core/providers/Whoops/WhoopsServiceProvider.php | 4011 | <?php
namespace Thistle\App\Core\Provider\Whoops;
/**
* Whoops - php errors for cool kids
* @author Filipe Dobreira <http://github.com/filp>
*/
use RuntimeException;
use Silex\Application;
use Silex\ServiceProviderInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response... | gpl-3.0 |
hluk/CopyQ | src/gui/tabwidget.cpp | 13865 | /*
Copyright (c) 2020, Lukas Holecek <hluk@email.cz>
This file is part of CopyQ.
CopyQ 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 |
e8yes/e8yesvision | test/testcnnfeature.cpp | 167 | #include "testcnnfeature.h"
test::test_cnnfeature::test_cnnfeature()
{
}
test::test_cnnfeature::~test_cnnfeature()
{
}
void
test::test_cnnfeature::run() const
{
}
| gpl-3.0 |
sergey-donchenko/laravel52_admin_template | app/Listeners/Files/LoadFileListener.php | 5796 | <?php
namespace App\Listeners\Files;
use App\Events\Files\FileWasLoaded;
use Illuminate\Filesystem\Filesystem;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use App\Helpers\File as cFile;
use Carbon\Carbon;
use Config;
use Image;
use App\Repositories\FileRepository;
use Illuminate\Queue\InteractsWithQueue;
... | gpl-3.0 |
boompieman/iim_project | nxt_1.4.4/src/net/sourceforge/nite/gui/textviewer/NTextElementPositionComparator.java | 1489 | /**
* Natural Interactivity Tools Engineering
* Copyright (c) 2003, Jean Carletta, Jonathan Kilgour, Judy Robertson
* See the README file in this distribution for licence.
*/
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
... | gpl-3.0 |
idega/net.jxta | src/java/net/jxta/endpoint/MessengerState.java | 16298 | /*
*
* $Id: MessengerState.java,v 1.1 2007/01/16 11:01:27 thomas Exp $
*
* Copyright (c) 2004 Sun Microsystems, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributio... | gpl-3.0 |
GGCrew/hotsroster | app/models/roster.rb | 2662 | class Roster < ActiveRecord::Base
belongs_to :hero
belongs_to :date_range
#..#
scope :unrestricted, -> { where(player_level: 1) }
scope :restricted, -> { where.not(player_level: 1) }
#..#
validates :hero, :date_range, presence: true
validates :hero, uniqueness: { scope: :date_range, message: 'and DateRange... | gpl-3.0 |
Pedals2Paddles/ardupilot | libraries/SITL/SIM_Submarine.cpp | 9518 | /*
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 distributed in the hope that it will be usefu... | gpl-3.0 |
raulsmail/GlowPower | src/main/java/com/bluepowermod/containers/ContainerDiskDrive.java | 534 | package com.bluepowermod.containers;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.Container;
import com.bluepowermod.tileentities.tier3.TileDiskDrive;
public class ContainerDiskDrive extends Container {
private final TileDiskDri... | gpl-3.0 |
rhomicom-systems-tech-gh/Rhomicom-ERP-Web | self/cs/plugins/fullcalendar-daygrid/main.js | 81961 | /*!
FullCalendar Day Grid Plugin v4.4.0
Docs & License: https://fullcalendar.io/
(c) 2019 Adam Shaw
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@fullcalendar/core')) :
typeof define === 'function' && define.amd ? define(['exports', '... | gpl-3.0 |
google-code/async-msgcomp | android/mctest/src/com/saville/mctest/McTest.java | 2219 | /*
* Copyright 2008 Wink Saville
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRAN... | gpl-3.0 |
biboudis/SensorAdapterForOGCSOS1.0.0 | src/adapter/Sensor.java | 1020 | /*******************************************************************************
* Copyright (c) 2012 IDIRA project.
* 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-3.0 |
PentagramPro/OrbitalDefender | Assets/Src/SaveLoad/ObjectSerializer.cs | 5382 | //------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.18408
//
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
// повторной генерации кода.
// </auto-gen... | gpl-3.0 |
karek314/lisk-network-stats | lib/collection.js | 6385 | var _ = require('lodash');
var Blockchain = require('./history');
var Node = require('./node');
var Collection = function Collection(externalAPI)
{
this._items = [];
this._blockchain = new Blockchain();
this._askedForHistory = false;
this._askedForHistoryTime = 0;
this._debounced = null;
this._externalAPI = exte... | gpl-3.0 |
Token3/books-source-code | algorithm/src/main/java/divideandconquer/MergeSort.java | 1371 | package divideandconquer;
/**
* Created by ZHEN on 16/7/20.
*
* <p>Time Complexity is O(nlogn)
*/
public class MergeSort {
final int[] arrays = {
49, 38, 65, 97, 76, 13, 27, 49, 78, 34, 12, 64, 5, 4, 62, 99, 98, 54, 56, 17, 18, 23, 34, 15,
35, 25, 53, 51
};
public MergeSort() {
sort(arr... | gpl-3.0 |
jfruitet/referentiel_scales | mod/referentiel/format/csv/format.php | 148160 | <?php
// Based on default.php, included by ../import.php
class rformat_csv extends rformat_default {
var $sep = ";";
var $table_caractere_input='latin1'; // par defaut import latin1
var $table_caractere_output='latin1'; // par defaut export latin1
// ----------------
function guillemets($texte)... | gpl-3.0 |
AlexJF/TrackMyMoney | app/src/main/java/net/alexjf/tmm/adapters/CategoryAdapter.java | 2300 | /*******************************************************************************
* Copyright (c) 2013 - Alexandre Jorge Fonseca (alexjf.net)
* License: GPL v3 (http://www.gnu.org/licenses/gpl-3.0.txt)
******************************************************************************/
package net.alexjf.tmm.adapters;
im... | gpl-3.0 |
trackplus/Genji | src/main/java/com/aurel/track/linkType/ILinkType.java | 8061 | /**
* Genji Scrum Tool and Issue Tracker
* Copyright (C) 2015 Steinbeis GmbH & Co. KG Task Management Solutions
* <a href="http://www.trackplus.com">Genji Scrum Tool</a>
*
* 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... | gpl-3.0 |
makeone/makeone | test/unit/software_test.rb | 155 | require 'test_helper'
class SoftwareTest < ActiveSupport::TestCase
# Replace this with your real tests.
test "the truth" do
assert true
end
end
| gpl-3.0 |
Deadleg/Slide | app/src/main/java/me/ccrama/redditslide/Activities/Settings.java | 17947 | package me.ccrama.redditslide.Activities;
import android.app.Dialog;
import android.content.ActivityNotFoundException;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.res.Resources;
import android.net.Uri;
import android.os.Bundle;... | gpl-3.0 |
M2PSM-BlindVideoGames/Demo | Assets/Scripts/MoveCircle.cs | 666 | using UnityEngine;
using System.Collections;
public class MoveCircle : MonoBehaviour {
public float speed = 0.3f;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
Move();
}
void Move()
{
if (Input.GetKey(KeyCode.S))
... | gpl-3.0 |
rlktradewright/manifest-generator | GenerateManifest/Program.cs | 12701 | #region License
// The MIT License (MIT)
//
// Copyright (c) 2017-2018 Richard L King (TradeWright Software Systems)
//
// 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 restricti... | gpl-3.0 |
sethten/MoDesserts | mcp50/temp/src/minecraft_server/net/minecraft/src/BlockOreStorage.java | 572 | // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) braces deadcode fieldsfirst
package net.minecraft.src;
// Referenced classes of package net.minecraft.src:
// Block, Material
public class BlockOreStorage ... | gpl-3.0 |
claudiofus/WeatherApp | app/src/main/java/com/claudiofus/clock2/timers/data/TimerCursor.java | 1996 | /*
* Copyright 2017 Phillip Hsu
*
* This file is part of ClockPlus.
*
* ClockPlus 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 |
Itsinmybackpack/CreateUO | Server/ExpansionInfo.cs | 6426 | #region Header
// **************************************\
// _ _ _ __ ___ _ _ ___ |
// |# |# |# |## |### |# |# |### |
// |# |# |# |# |# |# |# |# |# |
// |# |# |# |# |# |# |# |# |# |
// _|# |#__|# _|# |# |#__|# |#__|# |
// |## |## |## |# |## |### |
// ... | gpl-3.0 |
kovacssupki/ForumForYou | backend/controllers/users.js | 280 | 'use strict';
var fs = require("co-fs");
exports = module.exports = ( Users ) => {
return function* ( ) {
var users = yield Users.find({}).exec();
this.success(users);
};
};
exports[ 'singleton' ] = true;
exports[ '@require' ] = [
'models/user'
];
| gpl-3.0 |
fcunhaneto/bit-note | template-parts/content.php | 352 | <?php bit_note_nav_pages() ?>
<?php while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class( array( 'post-article', 'panel', 'panel-default' ) ); ?>>
<?php get_template_part( 'template-parts/content', 'header' ); ?>
<div class="panel-body">
<?php the_excerpt(); ?>
</div>... | gpl-3.0 |
FJD-CEPH/aCNViewer | code/FileHandler.py | 21032 | ''' Team: - Prapat Suriyaphol
- Masao Yamaguchi
- Victor Renault
Research project: Trans-ethnic Genomics Study of Multigenic Disorders
by Japan/France International Collaboration
Project: Set up a database based system to help the study
Research director: Dr. Fumihik... | gpl-3.0 |
openssbd/OpenSSBD | SSBD/static/WEB/js/view4d.js | 45132 | <script>
var bdml_id = {{ bdml_id }};
var time_t = {{ t }};
var last_t = 0;
var base_url = "/SSBD/";
var ssbd_url;
var scale_url = base_url+"api/v1/scale/"+bdml_id+"/";
ssbd_url = base_url+"BDML/vertices/"+bdml_id+"/t/"+time_t+"/etype/";
console.log(ssbd_url);
var param = "?call... | gpl-3.0 |
benlaug/labgen-of | src/TextProperties.cpp | 3646 | /**
* Copyright - Benjamin Laugraud <blaugraud@ulg.ac.be> - 2017
* http://www.montefiore.ulg.ac.be/~blaugraud
* http://www.telecom.ulg.ac.be/labgen
*
* This file is part of LaBGen-OF.
*
* LaBGen-OF is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as ... | gpl-3.0 |
gohdan/DFC | known_files/hashes/bitrix/modules/blog/install/components/bitrix/blog.popular_posts/lang/en/.parameters.php | 61 | Bitrix 16.5 Business Demo = 6b20ba8113f61df9b131767e8db3c4e7
| gpl-3.0 |
deniskin82/hypertable | src/cc/Hypertable/RangeServer/tests/FileBlockCache_test.cc | 5129 | /** -*- c++ -*-
* Copyright (C) 2007-2012 Hypertable, Inc.
*
* This file is part of Hypertable.
*
* Hypertable 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 any ... | gpl-3.0 |
edsiddos/phpMyCall | application/views/admin/usuarios/alterar.php | 1943 |
<div class="container">
<?php
if ((!empty($_SESSION ['msg_erro'])) || (!empty($_SESSION ['msg_sucesso']))) {
?>
<div class="alert <?= empty($_SESSION['msg_erro']) ? 'alert-success' : 'alert-danger'; ?> text-center">
<?= empty($_SESSION['msg_erro']) ? $_SESSION['msg_sucesso'] : $_S... | gpl-3.0 |
RaisingTheDerp/raisingthebar | root/dlls/hl2_dll/weapon_manhack.cpp | 2503 | /***
*
* Copyright (c) 1999, Valve LLC. All rights reserved.
*
* This product contains software technology licensed from Id
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
* All Rights Reserved.
*
* Use, distribution, and modification of this source code and/or resulting
* object co... | gpl-3.0 |
noodlewiz/xjavab | xjavab-ext/src/main/java/com/noodlewiz/xjavab/ext/glx/GetMinmaxReply.java | 1090 | //
// DO NOT MODIFY!!! This file was machine generated. DO NOT MODIFY!!!
//
// Copyright (c) 2014 Vincent W. Chen.
//
// This file is part of XJavaB.
//
// XJavaB 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 Softwar... | gpl-3.0 |
fergalmoran/dss.web | client/app/directives/waveform/waveform.directive.js | 2190 | 'use strict';
angular.module('dssWebApp')
.directive('dssWaveform', function (AudioService, PLAYSTATES, AUDIO_EVENTS) {
return {
templateUrl: 'app/directives/waveform/waveform.html',
restrict: 'EA',
link: function (scope, elem, attrs) {
elem.ready(functio... | gpl-3.0 |
3dct/open_iA | modules/DynamicVolumeLines/iANonLinearAxisTicker.cpp | 4023 | /************************************* open_iA ************************************ *
* ********** A tool for visual analysis and processing of 3D CT images ********** *
* *********************************************************************************** *
* Copyright (C) 2016-2021 C. Heinzl, M. Reiter, A. Reh,... | gpl-3.0 |
terry3/front_end_quiz | js/components/sectionView.react.js | 1124 | import React from 'react';
import { FeqActions } from '../actions/FeqActions';
import { FeqStore } from '../stores/FeqStore';
export default class SectionView extends React.Component {
constructor(props) {
super(props);
this.state = this.getFeqSectionState();
}
getFeqSectionState() {
return {
... | gpl-3.0 |
petxo/clitellum | clitellum/examples/channels/factories/custom_factory.py | 166 | from clitellum.endpoints.channels import factories
from config import Config
cfg = Config("myoutbound.cfg")
pb = factories.CreateOutBoundChannelFromConfig(cfg)
| gpl-3.0 |
CCAFS/AMKN | wp-content/themes/amkn_theme/ccafs-sites/food-livelihood/on-farm.php | 1366 | <?php
$bmsId = get_post_meta($post->ID, 'siteId', true);
$tableId = "bs_production_divs";
$description = $wpdb->get_row("SELECT * FROM bs_descriptions WHERE bms_id='" . $bmsId . "' AND table_id='" . $tableId . "'");
$urlJson = get_bloginfo('template_url') . "/ccafs-sites/json.php?table=" . $tableId . "&bmsid=" . $b... | gpl-3.0 |
mancoast/CPythonPyc_test | fail/311_test_struct.py | 21957 | import array
import unittest
import struct
import warnings
from functools import wraps
from test.support import TestFailed, verbose, run_unittest
import sys
ISBIGENDIAN = sys.byteorder == "big"
IS32BIT = sys.maxsize == 0x7fffffff
del sys
def string_reverse(s):
return s[::-1]
def bigendian_to_native(value):
... | gpl-3.0 |
automenta/adams-core | src/main/java/adams/gui/core/BaseScrollPane.java | 4246 | /*
* 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 distributed in the hope that it w... | gpl-3.0 |
lowleveldesign/diagnostics-kit | LowLevelDesign.Diagnostics.Castle/Config/GlobalConfig.cs | 2158 | /**
* Part of the Diagnostics Kit
*
* Copyright (C) 2016 Sebastian Solnica
*
* 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... | gpl-3.0 |
goncalomb/CustomItemsAPI | src/main/java/com/goncalomb/bukkit/customitemsapi/items/KingsCrown.java | 3398 | /*
* Copyright (C) 2013 - Gonçalo Baltazar <http://goncalomb.com>
*
* This file is part of CustomItemsAPI.
*
* CustomItemsAPI 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 |
rhomicom-systems-tech-gh/Rhomicom-ERP-Desktop | RhomicomERP/splash/Properties/Settings.Designer.cs | 1061 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4927
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... | gpl-3.0 |
tilosradio/web2-backend | src/main/java/hu/tilos/radio/backend/data/ShowReferenceConverter.java | 710 | package hu.tilos.radio.backend.data;
import com.mongodb.DBObject;
import com.mongodb.DBRef;
import org.bson.types.ObjectId;
import org.springframework.core.convert.converter.Converter;
public class ShowReferenceConverter implements Converter<DBObject, ShowReference> {
@Override
public ShowReference convert(DB... | gpl-3.0 |
IntersectAustralia/anznn | config/routes.rb | 3422 | Anznn::Application.routes.draw do
devise_for :users, :controllers => {:registrations => "user_registers", :passwords => "user_passwords"}
as :user do
get "/users/profile", :to => "user_registers#profile" #page which gives options to edit details or change password
get "/users/edit_password", :to => "user_r... | gpl-3.0 |
mitani/dashlet-subpanels | include/Smarty/plugins/function.html_select_date.php | 11619 | <?php
/**
* Smarty plugin
* @package Smarty
* @subpackage plugins
*/
/**
* Smarty {html_select_date} plugin
*
* Type: function<br>
* Name: html_select_date<br>
* Purpose: Prints the dropdowns for date selection.
*
* ChangeLog:<br>
* - 1.0 initial release
* - 1.1 added support ... | gpl-3.0 |
joevandebilt/ADFGX-Cipher | ADFGX Decoder/ADFGX Standalone Decoder/Decoder.Designer.cs | 38018 | namespace ADFGXDecoder
{
partial class Decoder
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <par... | gpl-3.0 |
kevL/0xC_kL | src/Ruleset/StatString.cpp | 5173 | /*
* Copyright 2010-2020 OpenXcom Developers.
*
* This file is part of OpenXcom.
*
* OpenXcom 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 ... | gpl-3.0 |
MECTsrl/ATCMcontrol_Engineering | src/COM/softing/fc/CE/CEWatchView/CeWatchList.cpp | 76454 |
#include "stdafx.h"
#include "resource.h"
#include "CeWatchList.h"
#include "CeWatchSheetInsVar.h"
#include "PageInsVarTree.h"
#include "PageInsVarList.h"
#include "CeWatchBackEnd.h"
#include "CeSymbol.h"
#include "CeWatchEdit.h"
#include "fc_todebug\fc_assert.h"
#include "dragitem.h"
#include <afxadv.... | gpl-3.0 |
levlab-atomchip/bfieldsim | bfieldsim/chips/atomchip_v4.py | 10584 | # -*- coding: utf-8 -*-
"""
Created on 2013-07-12
@author: Will
"""
from acwires import HWire, VWire, NWire, HThinWire, VThinWire
#from AtomChip import *
n=5 #number of subwires
I_central = -2.5
I_GU1 = 0
I_GU2 = 0.5
I_GU3 = 0
I_GU4 = 0.5
I_GU5 = 0
I_GL1 = 0
I_GL2 = 0.5
I_GL3 = 0
I_GL4 = 0.5
I_GL5 = 0
I_XBias = 3... | gpl-3.0 |
iskandar1023/substratum | app/src/main/java/projekt/substratum/adapters/tabs/overlays/VariantAdapter.java | 7267 | /*
* Copyright (c) 2016-2017 Projekt Substratum
* This file is part of Substratum.
*
* Substratum 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) a... | gpl-3.0 |
StarTux/LinkPortal | src/main/java/com/winthier/linkportal/LinkPortals.java | 1987 | package com.winthier.linkportal;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import org.bukkit.block.Block;
import org.bukkit.block.Sign;
final class LinkPortals {
private LinkPortalPlugin plugin;
private final PortalStorage storage;
private L... | gpl-3.0 |
rakvat/black_colorful_pages | bottom.php | 365 | <table width="100%"><tr><td style="padding-left: 10px" align="left">
<a class="none" border="0" href="#top"><img src="TEX/up.png" alt="top" border="0"/></a>
</td>
<td align="right">
<a class="imprint" href=<?php echo "imprint.php?lang=".$lang; ?>><?php echo $l_impressum[$lang]; ?></a></div>
</td></tr></table>
</div> <!... | gpl-3.0 |
eXistence/fhDOOM | neo/d3xp/anim/Anim_Testmodel.cpp | 27052 | /*
===========================================================================
Doom 3 GPL Source Code
Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
Doom 3 Source Code is free software: you can redistribute it and/or modify
it... | gpl-3.0 |
georgetye/openemr | portal/messaging/handle_note.php | 3696 | <?php
/**
*
* Copyright (C) 2016-2017 Jerry Padgett <sjpadgett@gmail.com>
*
* LICENSE: This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at y... | gpl-3.0 |
akiyamiyamoto/Tutorial | geant4/LC/LC3/LC3a/examples/SiD_Markus.py | 7744 | #
#
import os, time, logging, DDG4
from DDG4 import OutputLevel as Output
from SystemOfUnits import *
#
global geant4
logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.DEBUG)
#
"""
dd4hep simulation example setup using the python configuration
@author M.Frank
@version 1.0
"""
def setu... | gpl-3.0 |
vially/googlemusic-xbmc | resources/Lib/playsong.py | 4654 | import api
import utils
import xbmc
from storage import storage
class PlaySong:
def __init__(self):
self.api = api.Api()
def play(self, params):
song_id = params.pop('song_id')
if song_id[0] == 't': song_id = song_id.capitalize()
params = self.__getSongStreamUrl(song_id, par... | gpl-3.0 |
Cestra/Cestra | game/src/org/cestra/game/world/World.java | 75220 | package org.cestra.game.world;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.TreeMap;
import org.cestra.client.Account;
import org.cestr... | gpl-3.0 |
electricpandafishstudios/Spoon | game/modules/tome-1.4.1/data/zones/ancient-elven-ruins/zone.lua | 2784 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2016 Nicolas Casalini
--
-- 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 ... | gpl-3.0 |
fatedier/faframe | src/public/FaBaseTime.cpp | 2789 | /*************************************************************************
*
* Copyright (c) 2014, FateDier All rights reserved。
* 文件名称: FaBaseTime.cpp
* 描述: 日期时间相关的基类
* @author: 王成龙 <fatedier@gmail.com>
*
*************************************************************************/
#include "FaBaseTime... | gpl-3.0 |
Mtk112/CaloriesWatcher | app/src/main/java/Fragments/MetawearFragment.java | 5750 | package Fragments;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothManager;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.Bundle;
import android.os.Handler;
import android.os.... | gpl-3.0 |
podondra/bt-spectraldl | notebooks/spectraldl/preprocessing.py | 1684 | import numpy as np
import imblearn.over_sampling
import sklearn.preprocessing
import astropy.convolution
START = 6519
END = 6732
def air2vacuum(air_waves):
'''Convert air wavelengths to vacuum wavelengths'''
# http://www.astro.uu.se/valdwiki/Air-to-vacuum%20conversion
vac_waves = np.zeros_like(air_waves)... | gpl-3.0 |
NikNitro/Python-iBeacon-Scan | sympy/geometry/ellipse.py | 41821 | """Elliptical geometrical entities.
Contains
* Ellipse
* Circle
"""
from __future__ import division, print_function
from sympy.core import S, pi, sympify
from sympy.core.logic import fuzzy_bool
from sympy.core.numbers import Rational, oo
from sympy.core.compatibility import range
from sympy.core.symbol import Dummy... | gpl-3.0 |
boecker-lab/sirius_frontend | sirius_gui/src/main/java/de/unijena/bioinf/sirius/gui/settings/GerneralSettingsPanel.java | 3563 | package de.unijena.bioinf.sirius.gui.settings;
/**
* Created by Markus Fleischauer (markus.fleischauer@gmail.com)
* as part of the sirius_frontend
* 07.10.16.
*/
import de.unijena.bioinf.fingerid.db.SearchableDatabases;
import de.unijena.bioinf.sirius.gui.io.FileChooserPanel;
import de.unijena.bioinf.sirius.gui.ut... | gpl-3.0 |
SupaHam/SupaCommons | commons-bukkit/src/test/java/com/supaham/commons/bukkit/commands/FlagParserTest.java | 5373 | package com.supaham.commons.bukkit.commands;
import com.supaham.commons.bukkit.commands.flags.Flag;
import com.supaham.commons.bukkit.commands.flags.FlagParseResult;
import com.supaham.commons.bukkit.commands.flags.FlagParser;
import com.supaham.commons.bukkit.commands.flags.MissingFlagException;
import com.supaham.co... | gpl-3.0 |
farert/farert | db/scripts/jrfare_f.py | 1302 | #!python3.0.1
# -*- coding: utf-8 -*-
# f: JR北海道幹線
import sys
def fare(km):
if km < 40: # 1 to 3km
return 160
if km < 70: # 4 to 6km
return 200
if km < 101: # 7 to 10km
return 210
if (6000 < km): # 600km越えは40キロ刻み
c_km = (km - 1) // 400 * 400 + 200
elif (1000 < km) : # 100.1-600kmは2... | gpl-3.0 |
romw/boincsentinels | bslclient/src/RPCSyncProjectStatistics.cpp | 4566 | // BOINC Sentinels.
// https://projects.romwnet.org/boincsentinels
// Copyright (C) 2009-2014 Rom Walton
//
// BOINC Sentinels 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,
// either version 3 of th... | gpl-3.0 |
xPJS811x/xmlsae | src/control/RichStatement.java | 1061 | package control;
import java.sql.SQLException;
import java.util.List;
import org.owasp.esapi.ESAPI;
import org.owasp.esapi.codecs.Codec;
import org.owasp.esapi.codecs.MySQLCodec;
import org.owasp.esapi.codecs.MySQLCodec.Mode;
public class RichStatement {
private static Codec codec;
private String... | gpl-3.0 |
mclintprojects/ideabag2 | android/xamarin.android/ProgrammingIdeas/Activities/IdeaListActivity.cs | 5922 | using Android.App;
using Android.Content;
using Android.OS;
using Android.Support.V7.Widget;
using Android.Views;
using Android.Widget;
using ProgrammingIdeas.Adapters;
using ProgrammingIdeas.Helpers;
using System.Collections.Generic;
using System.Linq;
using PopupMenu = Android.Support.V7.Widget.PopupMenu;
namespace ... | gpl-3.0 |
eater2/oms | src/test/java/com/marek/utils/others/SolutionTest.java | 940 | package com.marek.utils.others;
import org.junit.Test;
import java.util.*;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
import static org.junit.Assert.assertEquals;
/**
* Created by marek.papis on 04.08.2016.
*/
public class SolutionTest {
private Solution solution = new Solution();... | gpl-3.0 |
tvesalainen/util | util/src/main/java/org/vesalainen/util/Lists.java | 12728 | /*
* Copyright (C) 2016 Timo Vesalainen <timo.vesalainen@iki.fi>
*
* 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 ve... | gpl-3.0 |
rukzuk/rukzuk | app/sets/rukzuk/rz_core/modules/rz_grid/assets/notlive/editMode.js | 17050 | define([
'jquery',
'CMS',
'rz_root/notlive/js/baseJsModule',
'rz_root/notlive/js/cssHelper',
'rz_root/notlive/js/breakpointHelper',
'rz_grid/notlive/gridHelper',
], function ($, CMS, JsModule, cssHelper, bpHelper, gridHelper) {
/**
* Returns a form value for a given breakpoint id respe... | gpl-3.0 |
gom3s/math4Kids | src/components/app/QuestionBasic.js | 564 | import { connect } from 'react-redux'
import React, { Component } from 'react';
class QuestionBasic extends Component {
render() {
return (
<div className="task" style={{ fontSize: '40px', padding: '15px'}}>
{ this.props.a } { this.props.operator } { this.props.b } =
... | gpl-3.0 |
ftisunpar/BlueTape | vendor/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsGroups.php | 5815 | <?php
/*
* Copyright 2014 Google 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 t... | gpl-3.0 |
nimesh158/ARDetection | ARToolKitPlus/src/MemoryManager.cpp | 2479 | /* ========================================================================
* PROJECT: ARToolKitPlus
* ========================================================================
* This work is based on the original ARToolKit developed by
* Hirokazu Kato
* Mark Billinghurst
* HITLab, University of Washin... | gpl-3.0 |
potty-dzmeia/db4o | src/db4oj/core/src/com/db4o/internal/references/HashcodeReferenceSystem.java | 3725 | /* This file is part of the db4o object database http://www.db4o.com
Copyright (C) 2004 - 2011 Versant Corporation http://www.versant.com
db4o is free software; you can redistribute it and/or modify it under
the terms of version 3 of the GNU General Public License as published
by the Free Software Foundation.
db4o ... | gpl-3.0 |
krbaker/jmfs | src/tivo/mfs/inode/InodeIndataOutputStream.java | 1308 | package tivo.mfs.inode;
import java.io.EOFException;
import java.io.IOException;
import java.io.OutputStream;
// through-write, byte-array backed stream.
// ByteArrayOutputStream won't work because it does not write into specific buffer
public class InodeIndataOutputStream extends OutputStream {
private byt... | gpl-3.0 |
enati/tracker | src/org/opensourcephysics/cabrillo/tracker/ThumbnailDialog.java | 18477 | /*
* The tracker package defines a set of video/image analysis tools
* built on the Open Source Physics framework by Wolfgang Christian.
*
* Copyright (c) 2015 Douglas Brown
*
* Tracker is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by... | gpl-3.0 |
simon-jouet/Marlin | Marlin/src/lcd/menu/menu_ubl.cpp | 17794 | /**
* Marlin 3D Printer Firmware
* Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | gpl-3.0 |
ikeman32/vetcoin | src/qt/locale/bitcoin_pl.ts | 116164 | <?xml version="1.0" ?><!DOCTYPE TS><TS language="pl" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Vetcoin</source>
<translation>O Vetcoin</translation>
</message>... | gpl-3.0 |
xcalder/openant | public/view/position_bottom.php | 192 | <?php if(!empty($modules)):?>
<div id="bottom" class="col-sm-12" style="padding: 0">
<?php foreach($modules as $module):?>
<?php echo $module;?>
<?php endforeach;?>
</div>
<?php endif;?> | gpl-3.0 |
imapp-pl/golem | gnr/customizers/customizer.py | 1478 | import os
import subprocess
from PyQt4.QtCore import QSettings
from PyQt4.QtGui import QMessageBox
from golem.core.simpleexccmd import is_windows
class Customizer(object):
def __init__(self, gui, logic):
self.gui = gui
self.logic = logic
self.load_data()
self._s... | gpl-3.0 |
Bobombe/MotorQtOrSFML | LD40/Pod.cpp | 5029 | #include "Opponent.h"
#include "Pod.h"
#include "Collider.h"
#include "ScreenLevel1.h"
#include "moteur2d.h"
#include <stdlib.h> /* srand, rand */
const int Pod::BASESPEED(100);
const int Pod::BASEACCEL(100);
Pod::Pod(Spaceship * player, Planet::PlanetType podType, bool left, WorldElement * parent) : Sprit... | gpl-3.0 |
wuceyang/smartcms | library/Database/DriverType.php | 83 | <?php
namespace Library\Database;
class DriverType{
const MYSQL = 'MYSQL';
} | gpl-3.0 |
r0mai/metashell | lib/data/src/event_category.cpp | 1346 | // Metashell - Interactive C++ template metaprogramming shell
// Copyright (C) 2018, Abel Sinkovics (abel@sinkovics.hu)
//
// 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 ... | gpl-3.0 |
xbmcmegapack/plugin.video.megapack.dev | resources/lib/menus/home_countries_virgin_islands_us.py | 1134 | #!/usr/bin/python
# -*- coding: utf-8 -*-
"""
This file is part of XBMC Mega Pack Addon.
Copyright (C) 2014 Wolverine (xbmcmegapack@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 Softwar... | gpl-3.0 |
Mexiswow/FastSocialEngine | src/htdocs/adm/index.php | 204 | <?php
/**
* Created by PhpStorm.
* User: Admin
* Date: 28.11.13
* Time: 0:15
*/
include '../../engine/engine.inc.php';
include '../../engine/admin_include.php';
$smarty->display('admin/index.tpl'); | gpl-3.0 |