code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 4 991 | language stringclasses 9
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
package ru.isalnikov.bmw;
import java.util.HashSet;
import java.util.Set;
import static java.util.stream.Collectors.toList;
import java.util.stream.Stream;
/**
* if we give two strings ? could yoe determine if they share a common substring?
* Don't foget that a substring may be as small as one character. For examp... | isalnikov/ACMP | src/main/java/ru/isalnikov/bmw/NewMain.java | Java | gpl-3.0 | 1,500 |
<?php
/**
* Copyright (c) 2017 JD Williams
*
* This file is part of Unify, a PHP testing framework built by JD Williams. Unify 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 Licen... | jdwil/unify | src/Exception/XdebugException.php | PHP | gpl-3.0 | 972 |
<?php
namespace CoreBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
use Symfony\Component\Validator\Constraints as Assert;
/**
* CoreBundle\Entity\GeneradorEolico
*
* @ORM\Entity
* @ORM\Table(name="Aerogenerador")
*
*/
class Aerogenerador
{
/**
* @var i... | gmqz/proinged | src/CoreBundle/Entity/Aerogenerador.php | PHP | gpl-3.0 | 4,288 |
<?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 ... | nitro2010/moodle | mod/sharedresource/classes/plugininfo/sharedmetadata.php | PHP | gpl-3.0 | 3,924 |
using CMS.Code;
using CMS.Data.Extensions;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data;
using System.Data.Common;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Lin... | gongthub/CMS | Code/CMS/CMS.Data/Repository/SqlServerRepositoryBase.cs | C# | gpl-3.0 | 12,588 |
Ext.define('Surveyportal.view.reportui.datachart.chart.ChartController', {
extend : 'Ext.app.ViewController',
alias : 'controller.chartController',
reportView : null,
reportViewController : null,
reportJSON : null,
defaultIncHeight:100,
init : function() {
this.control({
"button": {
cl... | applifireAlgo/appDemoApps201115 | surveyportal/src/main/webapp/app/view/reportui/datachart/chart/ChartController.js | JavaScript | gpl-3.0 | 5,406 |
package com.bensler.decaf.swing.table;
import java.sql.Ref;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.swing.table.DefaultTableColumnModel;
import javax.swing.table.TableCo... | bensler/Decaf | decaf-swing/src/main/java/com/bensler/decaf/swing/table/ColumnModel.java | Java | gpl-3.0 | 6,712 |
/*
* PatientView
*
* Copyright (c) Worth Solutions Limited 2004-2013
*
* This file is part of PatientView.
*
* PatientView 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,... | robworth/patientview | patientview-parent/radar/src/main/java/org/patientview/radar/service/ClinicalDataManager.java | Java | gpl-3.0 | 1,565 |
// Copyright (C) 2015 Frode Roxrud Gill
// See LICENSE file for GPLv3 license
#include "PowerManager.h"
#include "../BackertrapAdaApp.h"
void PowerManagerTimerCallback(TimerManager::TimerId id, void* calling_object, U8 param)
{
static_cast<PowerManager*>(calling_object)->OnTimerEvent(id, param);
}
PowerManager:... | frodegill/backertrap-ada | managers/PowerManager.cpp | C++ | gpl-3.0 | 961 |
/*
* _____ _ _ _____ _
* | __ \| | | | / ____| | |
* | |__) | | ___ | |_| (___ __ _ _ _ __ _ _ __ ___ __| |
* | ___/| |/ _ \| __|\___ \ / _` | | | |/ _` | '__/ _ \/ _` |
* | | | | (_) | |_ ____) | (_| | ... | IntellectualCrafters/PlotSquared | Core/src/main/java/com/plotsquared/core/plot/flag/implementations/KelpGrowFlag.java | Java | gpl-3.0 | 2,061 |
angular.module('CarpentryApp.Index', ['CarpentryApp.Common']).controller(
'IndexController',
function ($rootScope, $scope, $state, $http, $cookies, hotkeys, notify) {
var limit = 720;
var counter = 0;
$rootScope.resetPollers();
$rootScope.indexPoller = setInterval(function(){
... | gabrielfalcao/carpentry | carpentry/static/js/app.2.index.js | JavaScript | gpl-3.0 | 529 |
package eu.siacs.conversations.services;
public abstract class AbstractQuickConversationsService {
protected final XmppConnectionService service;
public AbstractQuickConversationsService(XmppConnectionService service) {
this.service = service;
}
public abstract void considerSync();
publ... | kriztan/Pix-Art-Messenger | src/main/java/eu/siacs/conversations/services/AbstractQuickConversationsService.java | Java | gpl-3.0 | 621 |
<?php
require("phpsqlinfo_dbinfo.php");
// Gets data from URL parameters.
$name = $_GET['name'];
$address = $_GET['address'];
$lat = $_GET['lat'];
$lng = $_GET['lng'];
$type = $_GET['type'];
// Opens a connection to a MySQL server.
$connection=mysql_connect ("localhost", $username, $password);
if (!$conne... | n7wwk/WebIMS-Test | maps/phpsqlinfo_addrow.php | PHP | gpl-3.0 | 1,058 |
// Mantid Repository : https://github.com/mantidproject/mantid
//
// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#include "MantidCrystal/SortHKL.h"
#inc... | mganeva/mantid | Framework/Crystal/src/SortHKL.cpp | C++ | gpl-3.0 | 16,928 |
/*****************************************************************************************
==========================================================================================
____ ____ ___
U | __")u U | __")u / " \
... | malikkirchner/bbq | src/util/memory.hpp | C++ | gpl-3.0 | 3,792 |
/**
* Database.java
* (C) 2011 Florian Staudacher, Christian Wurst
*
* This file is part of AutoDJ.
*
* AutoDJ 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
* (a... | Raven24/AutoDJ | src/AutoDJ/firstrun/Database.java | Java | gpl-3.0 | 8,252 |
<?php
include 'config/db.php';
include 'libraries/events.php';
$rackid = mysqli_real_escape_string($conn, $_POST['rackid']);
$rack_name = mysqli_real_escape_string($conn, $_POST['rack_name']);
$rack_size = mysqli_real_escape_string($conn, $_POST['rack_size']);
$rack_city = mysqli_real_escape_string($conn... | Wayno/DCIMStack | views/rackspace/modify_rackspace_db.php | PHP | gpl-3.0 | 1,740 |
# coding: utf-8
import os
import re
import hashlib
import time
from string import strip
from datetime import datetime, timedelta, date
from dateutil.relativedelta import relativedelta
from flask import current_app, request, flash, render_template, session, redirect, url_for
from lac.data_modelz import *
from lac.helper... | T3h-N1k0/LAC | lac/engine.py | Python | gpl-3.0 | 57,871 |
/*
* Created on 10-abr-2006
*
* gvSIG. Sistema de Información Geográfica de la Generalitat Valenciana
*
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
*
* 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 th... | iCarto/siga | libTopology/src/com/iver/cit/gvsig/drivers/TopologyErrorMemoryDriver.java | Java | gpl-3.0 | 7,665 |
require 'pathname'
require 'listen/adapter'
require 'listen/change'
require 'listen/record'
require 'listen/silencer'
module Listen
class Listener
attr_accessor :options, :directories, :paused, :changes, :block, :thread
attr_accessor :registry, :supervisor
RELATIVE_PATHS_WITH_MULTIPLE_DIRECTORIES_WARNIN... | ruibarreira/linuxtrail | usr/lib/ruby/vendor_ruby/listen/listener.rb | Ruby | gpl-3.0 | 4,738 |
<?php
/*
NAME: Daily mail
ABOUT: Sends an email each morning with general information about the day
DEPENDENCIES: Location module; Weather module; Email module; Clothes module; News module;
INSTALL: None;
CONFIG: Edit the dailyEmail.tpl file in inc/templates folder to your liking.
*/
$dailyEma... | jacroe/alice | recipes/daily-email.php | PHP | gpl-3.0 | 1,567 |
#include "elevador.h"
#include <iostream>
using namespace std;
int main(void){
elevador e1;
e1.inicializa(10,8);
e1.entra();
cout <<"nro pessoas no elevador" << e1.getNroPessoas () <<endl;
e1.entra();
cout <<"nro pessoas no elevador" << e1.getNroPessoas () <<endl;
e1.entra();
cout <<"nro pessoas no elevado... | nedisonn/LAPROII | elevador/main.cpp | C++ | gpl-3.0 | 3,690 |
/*
###############################
# Copyright (C) 2012 Jon Schang
#
# This file is part of jSchangLib, released under the LGPLv3
#
# jSchangLib 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,... | jschang/jSchangLib | investing/src/main/java/com/jonschang/investing/trading/PlatformException.java | Java | gpl-3.0 | 1,214 |
# -*- coding: utf-8 -*-
"""
"""
# Copyright (C) 2015 ZetaOps Inc.
#
# This file is licensed under the GNU General Public License v3
# (GPLv3). See LICENSE.txt for details.
from ulakbus.models import User
from .general import fake
__author__ = 'Ali Riza Keles'
def new_user(username=None, password=None, superuser=F... | yetercatikkas/ulakbus | tests/fake/user.py | Python | gpl-3.0 | 515 |
package hunternif.mc.dota2items;
import hunternif.mc.dota2items.client.RenderTickHandler;
import hunternif.mc.dota2items.client.SwingTickHandler;
import hunternif.mc.dota2items.client.gui.FontRendererContourShadow;
import hunternif.mc.dota2items.client.gui.FontRendererWithIcons;
import hunternif.mc.dota2items.cl... | Hunternif/Dota2Items | src/hunternif/mc/dota2items/ClientProxy.java | Java | gpl-3.0 | 6,221 |
#include <iostream>
#include "plugins-base/mapping/slide.h"
static const bool VERBOSE = false;
using namespace tempi;
bool check_slide()
{
plugins_base::Slide slide = plugins_base::Slide();
slide.setSlide(1.0);
if (VERBOSE)
std::cout << "slide = " << slide.getSlide() << std::endl;
double fact... | aalex/tempi | plugins-base/tests/check_slide.cpp | C++ | gpl-3.0 | 627 |
<?php
/*
* AlcedisMED
* Copyright (C) 2010-2016 Alcedis GmbH
*
* 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... | Alcedis/AlcedisMED | application/med4/feature/convert/loader.php | PHP | gpl-3.0 | 1,120 |
/*====================================================================*\
GridDialog.java
Grid dialog box class.
\*====================================================================*/
// PACKAGE
package uk.blankaspect.crosswordeditor;
//----------------------------------------------------------------------
/... | blankaspect/crosswordEditor | src/main/java/uk/blankaspect/crosswordeditor/GridDialog.java | Java | gpl-3.0 | 21,789 |
# Mark Gatheman <markrg@protonmail.com>
#
# This file is part of Hydrus.
#
# Hydrus 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.
#
... | mark-r-g/hydrus | tests/__init__.py | Python | gpl-3.0 | 1,488 |
/**
* Licensed to JumpMind Inc under one or more contributor
* license agreements. See the NOTICE file distributed
* with this work for additional information regarding
* copyright ownership. JumpMind Inc licenses this file
* to you under the GNU General Public License, version 3.0 (GPLv3)
* (the "License"); yo... | JumpMind/metl | metl-ui/src/main/java/org/jumpmind/metl/ui/views/admin/AdminSideView.java | Java | gpl-3.0 | 1,147 |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
]
operations = [
migrations.CreateModel(
name='Setting',
fields=[
('id', models.AutoField(verb... | alirizakeles/tendenci | tendenci/apps/site_settings/migrations/0001_initial.py | Python | gpl-3.0 | 1,684 |
import player
import gui
import distro
class master:
def startplayer(self):
person = player.person()
def __init__(self):
total = 1.8
self.userin = gui.cligui()
[stability,community,bleedingedge] = self.userin.startup(total)
self.playerdistro = distro.distrobution(stabilit... | scifi6546/distrowars | master.py | Python | gpl-3.0 | 773 |
/**************************************************************************
Plugins for OmegaT(http://www.omegat.org/)
This code is only a stub, and is based on the code created for the languagetool
plugin for OmegaT: Copyright (C) 2008 Alex Buloichik (alex73mail@gmail.com)
This cose is released under the GPLv3:... | mespla/OmegaT-SessionLog | src-stubs/org/omegat/util/Log.java | Java | gpl-3.0 | 1,190 |
package com.bluepowermod.network.message;
import net.minecraft.entity.player.ServerPlayerEntity;
import net.minecraft.inventory.container.Container;
import net.minecraft.network.PacketBuffer;
import net.minecraftforge.fml.network.NetworkEvent;
import java.util.function.Supplier;
/**
* @Author MoreThanHidden
*/
pub... | Qmunity/BluePower | src/main/java/com/bluepowermod/network/message/MessageCraftingSync.java | Java | gpl-3.0 | 1,113 |
<?php
// Copyright (C) 2010 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be use... | adiakin/itop | dictionaries/fr.dictionary.itop.ui.php | PHP | gpl-3.0 | 52,834 |
// ChaosUPS - a universal points system.
// Copyright (C) 2015 Jay Baker
var mongoose = require('mongoose'),
async = require('async'),
util = require('util')
module.exports = function(app) {
app.factory.bids = {}
app.factory.bids.getAll = function(fn) {
var Item = mongoose.model('Item', app.models.item)... | logikaljay/chaosups | factory/bids.js | JavaScript | gpl-3.0 | 4,945 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package premaanganmanager.configurable.entity;
import java.io.Serializable;
import javax.persistence.Basic;
import javax.persistence.C... | tbfPrime/PremAanganManager | src/premaanganmanager/configurable/entity/Batch.java | Java | gpl-3.0 | 2,576 |
package com.darren.spring.beans.annotation.repository;
import org.springframework.stereotype.Repository;
@Repository
public class UserJdbcRepository implements UserRepository {
@Override
public void save() {
System.out.println("UserJdbcRepository save...");
}
}
| zwffff2015/SpringClass | Spring-1/src/com/darren/spring/beans/annotation/repository/UserJdbcRepository.java | Java | gpl-3.0 | 271 |
#!/usr/bin/python
"""
Read a bulkConverted file
and create a matix with top
genes to visualize it in R
Patrick's analysis without Excel ;-)
"""
import sys
result = dict()
allsamples = set()
for i in open(sys.argv[1]):
if i.startswith("#"):
continue
fields = i.rstrip().split()
sample = fields[1]
gen... | TravisCG/SI_scripts | pattab.py | Python | gpl-3.0 | 804 |
<?php
////////////////////////////////////////////////////////////////////////////////
// project : XOS-Shop, open source e-commerce system
// http://www.xos-shop.com
//
// filename : menubox_customers.php
// author : Hanspeter Z... | XOS-Shop/xos_shop_system | shop/admin/includes/boxes/menubox_customers.php | PHP | gpl-3.0 | 3,691 |
const Command = require('../../structures/Command');
const { MessageEmbed } = require('discord.js');
const { stripIndents } = require('common-tags');
module.exports = class PokedexCommand extends Command {
constructor(client) {
super(client, {
name: 'pokedex',
aliases: ['pokemon', 'pokémon', 'pokédex'],
gr... | dragonfire535/xiaobot | commands/search/pokedex.js | JavaScript | gpl-3.0 | 1,491 |
require 'sidekiq/web'
Oplerno::Application.routes.draw do
root :to => 'courses#index'
#root :to => proc { [404, {}, ['']] }
devise_for :admin_users, ActiveAdmin::Devise.config
ActiveAdmin.routes(self)
devise_for :users, :path_names => {
:verify_authy => '/verify-token',
:enable_authy => '/enable-tw... | Oplerno/oplerno | config/routes.rb | Ruby | gpl-3.0 | 1,729 |
import { createCanvas, loadImage } from 'canvas'
class Util {
static createCanvas (size, image, fillType = 'fill') {
var canvas = createCanvas()
canvas.width = size
canvas.height = size
if (image) {
switch (fillType) {
case 'fill' :
canvas.getContext('2d').drawImage(image, 0, ... | kciter/qart.js | src/util.js | JavaScript | gpl-3.0 | 1,005 |
/*
* This file is part of SmartStreets.
*
* 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
* any later version.
*
* This program is distributed... | samara-state-aerospace-university/smart-streets | modules/core/src/test/java/ru/jcorp/smartstreets/test/MapCompositionDBTest.java | Java | gpl-3.0 | 5,026 |
using System;
using System.Collections;
using CMS.Helpers;
using CMS.UIControls;
public partial class CMSModules_MediaLibrary_Controls_MediaLibrary_FolderActions_CopyMoveFolder_Control : CMSUserControl
{
#region "Variables"
private bool mIsLoad = true;
private bool mPerformAction;
#endregion
... | CCChapel/ccchapel.com | CMS/CMSModules/MediaLibrary/Controls/MediaLibrary/FolderActions/CopyMoveFolder.ascx.cs | C# | gpl-3.0 | 3,835 |
/*
* Copyright (c) 2017 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 License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*... | Rima-B/mica2 | mica-rest/src/main/java/org/obiba/mica/taxonomy/rest/TaxonomyResource.java | Java | gpl-3.0 | 2,001 |
package ro.roda.ddi;
import javax.annotation.Generated;
import javax.persistence.metamodel.SingularAttribute;
import javax.persistence.metamodel.StaticMetamodel;
@Generated(value="Dali", date="2012-11-04T14:36:09.305+0200")
@StaticMetamodel(ResInstruType.class)
public class ResInstruType_ {
public static volatile Si... | cosminrentea/roda | src/main/java/ro/roda/ddi/ResInstruType_.java | Java | gpl-3.0 | 663 |
/*
* Generated by classgen, version 1.5
* 31.07.13 15:50
*/
package edu.tum.juna.ast;
public interface Visitor {
public void visit(Op op);
public void visit(StatList statList);
public void visit(VarList varList);
public void visit(NameList nameList);
public void visit(ExpList expList);
public void visi... | kobreu/compiler | src/edu/tum/juna/ast/Visitor.java | Java | gpl-3.0 | 2,277 |
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { ApkPentestComponent } from './apk-pentest/apk-pentest.component';
import { ReportComponent } from './report/report.component';
import { ErrorComponent } from './error/error.component';
const routes: Routes = [
... | abhi-r3v0/Adhrit | frontend/src/app/app-routing.module.ts | TypeScript | gpl-3.0 | 567 |
package com.duyp.architecture.mvvm.helper;
import android.app.DownloadManager;
import android.content.Context;
import android.net.Uri;
import android.os.Environment;
import android.support.annotation.NonNull;
import android.widget.Toast;
import com.duyp.architecture.mvvm.App;
import com.duyp.architecture.mvvm.R;
impo... | duyp/mvvm-template | app/src/main/java/com/duyp/architecture/mvvm/helper/DownloadHelper.java | Java | gpl-3.0 | 2,383 |
/*
===========================================================================
Shadow of Dust GPL Source Code
Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
This file is part of the Shadow of Dust GPL Source Code ("Shadow of Dust Source Code").
Shadow of Dust Source Code is free software: you can ... | Salamek/Shadow-of-Dust | neo/idlib/math/Lcp.cpp | C++ | gpl-3.0 | 41,403 |
#!/usr/bin/python
import sys
print "genotype\ttemp\tgenotype:temp"
for i in open(sys.argv[1]):
fields = i.rstrip().split()
if i.startswith("[1]"):
hormon = fields[1].replace('"', '')
if i.startswith("genotype "):
pg = fields[5]
if i.startswith("temp"):
pt = fields[5]
if i.startswith("genotype:temp"):
p... | TravisCG/SI_scripts | reconv.py | Python | gpl-3.0 | 387 |
import os
import datetime
import calendar
import sqlite3 as sqlite
import geomag
import tkinter
from tkinter import ttk, filedialog, messagebox #separate imports needed due to tkinter idiosyncrasies
import sqlparse
# local objects
from classes import stdevs, meanw, stdevw
### begin function defintion ###
def run_sql... | wlieurance/aim-reporting | update.py | Python | gpl-3.0 | 8,077 |
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class FlickerEvent : redEvent
{
[Ordinal(0)] [RED("strength")] public CFloat Strength { get; set; }
[Ordinal(1)] [RED("duration")] public CFloat Duration { get; set; }
[Ordinal(2)] [R... | Traderain/Wolven-kit | CP77.CR2W/Types/cp77/FlickerEvent.cs | C# | gpl-3.0 | 474 |
# -*- coding: utf-8 -*-
# Generated by Django 1.10.6 on 2017-05-26 22:08
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('event', '0022_event_number_limit_subscription'),
]
operations = [
migrations.AlterM... | sandrofolk/girox | girox/event/migrations/0023_auto_20170526_2208.py | Python | gpl-3.0 | 482 |
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
namespace ScriptPlayer.Shared
{
public class TimeScale : Control
{
public static readonly DependencyProperty IntervallProperty = DependencyProperty.Register(
"Interval... | FredTungsten/ScriptPlayer | ScriptPlayer/ScriptPlayer.Shared/Controls/TimeScale.cs | C# | gpl-3.0 | 3,158 |
import {
RESET_PROGRESS_SUCCESS
} from '../actions/progressActions'
import {
GET_INBOX_SUCCESS
} from '../actions/inboxActions'
import {
GET_TASK_SUCCESS,
GET_TASKS_SUCCESS,
TASK_UPDATE_PROGRESS_SUCCESS,
TASK_REVERT_PROGRESS_SUCCESS
} from '../actions/taskActions'
export default function tasksReducer(stat... | DemocracyGuardians/DGTeam | client/src/reducers/tasksReducer.js | JavaScript | gpl-3.0 | 658 |
package org.bgi.flexlab.gaea.tools.mapreduce.haplotypecaller;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import htsjdk.samtools.SAMReadGroupRecord;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.io.NullWritable;... | BGI-flexlab/SOAPgaeaDevelopment4.0 | src/main/java/org/bgi/flexlab/gaea/tools/mapreduce/haplotypecaller/HaplotypeCallerReducer.java | Java | gpl-3.0 | 8,099 |
<?php
/**
* TrcIMPLAN - SMI Indicadores Gómez Palacio Sociedad Crecimiento en Acceso a Servicios de Salud (Creado por Central:SmiLanzadera)
*
* Copyright (C) 2015 Guillermo Valdés Lozano
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License... | TRCIMPLAN/beta | lib/SMIIndicadoresGomezPalacio/SociedadCrecimientoEnAccesoAServiciosDeSalud.php | PHP | gpl-3.0 | 11,150 |
////////////////////////////////////////////////////////////////////////////////
#include "renderOpenGL45.hpp"
#include "shaderGL45.hpp"
#include "shaderProgramGL45.hpp"
#include "textureGL45.hpp"
#include "vaoGL45.hpp"
#include "renderMeshGL45.hpp"
#include "bufferObjectGL45.hpp"
#include "opengltools.hpp"
#i... | MaximeMorel/ProjectUniverse | src/plugins/render/renderOpenGL45/renderOpenGL45.cpp | C++ | gpl-3.0 | 4,088 |
package event
type ListernerSet struct {
lastId ListenerId //ID generator
list []Listener
}
| vipally/gx | event/listenerset.go | GO | gpl-3.0 | 97 |
// This file is part of Mystery Dungeon eXtended.
// Copyright (C) 2015 Pikablu, MDX Contributors, PMU Staff
// Mystery Dungeon eXtended 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... | pmdcp/Client | Client/Windows/WindowSwitcher.cs | C# | gpl-3.0 | 2,970 |
package tan.chesley.rssfeedreader;
import android.support.v4.view.ViewPager;
import android.view.View;
/*
Copyright 2014 Google Inc
Used with modification.
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 Lice... | ChesleyTan/RSSFeedReader-App | app/src/main/java/tan/chesley/rssfeedreader/DepthPageTransformer.java | Java | gpl-3.0 | 2,204 |
package com.example.multiclicker;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.I... | chickendiver/MultiClicker | src/com/example/multiclicker/logActivity.java | Java | gpl-3.0 | 6,116 |
#include "UtyMapUnreal.h"
#include "GeoUtils.h"
#include "MathUtils.h"
FVector2D* FGeoUtils::ToMapCoordinate(FGeoCoordinate relativeNullPoint, FGeoCoordinate coordinate)
{
double deltaLatitude = coordinate.Latitude - relativeNullPoint.Latitude;
double deltaLongitude = coordinate.Longitude - relativeNullPoint.Long... | RaceTheMaSe/UtyMapUnreal | Source/UtyMapUnreal/UnrealLayer/Core/Utils/GeoUtils.cpp | C++ | gpl-3.0 | 5,637 |
/***************************************************************************
* GTGanilData.cpp - Main Header to ROOTGAnilTape
* -------------------
* begin : Thu Jun 14 2001
* copyright : (C) 2001 by Garp
* email : pa... | jdfrankland/kaliveda | KVMultiDet/daq_cec/GTGanilData.cpp | C++ | gpl-3.0 | 21,135 |
/*
This is implementation of Merge Sort in C#
Merge Sort is a Divide and Conquer algorithm.
It divides input array in two halves, calls itself for the two halves and then merges the two sorted halves.
The conquer_merge() function is used for merging two halves.
*/
using System;
public class Merge_Sort
{
public s... | jainaman224/Algo_Ds_Notes | Merge_Sort/Merge_sort.cs | C# | gpl-3.0 | 2,166 |
using System.Web.Mvc;
namespace MVC.Areas.RDLCReportDemo
{
public class RDLCReportDemoAreaRegistration : AreaRegistration
{
public override string AreaName
{
get
{
return "RDLCReportDemo";
}
}
public override void Register... | biswajit077/MSLibrary | All/MVC/Areas/RDLCReportDemo/RDLCReportDemoAreaRegistration.cs | C# | gpl-3.0 | 605 |
/*
* Copyright (c) 2017 Brian Matthews <brian@btmatthews.com>
*
* All rights reserved. No warranty, explicit or implicit, provided.
*/
package com.btmatthews.alexa.adventure.domain;
import java.util.List;
public class Player {
private final String id;
private final String name;
private final Strin... | bmatthews68/AlexaAdventure | src/main/java/com/btmatthews/alexa/adventure/domain/Player.java | Java | gpl-3.0 | 940 |
yagpa.factory('playerService', function() {
var player_selected = {};
var players_list = [];
var loadlist = function() {};
}); | YAGPATeam/YAGPA | YAGPA/static/scripts/services.js | JavaScript | gpl-3.0 | 131 |
<?php
/*
|--------------------------------------------------------------------------
| Routes File
|--------------------------------------------------------------------------
|
| Here is where you will register all of the routes in an application.
| It's a breeze. Simply tell Laravel the URIs it should res... | migue0812/portal | app/Http/routes.php | PHP | gpl-3.0 | 1,709 |
'use strict';
import gulp from 'gulp';
import del from 'del';
import sass from 'gulp-sass';
import globbing from 'node-sass-globbing';
import browserSync from 'browser-sync';
import eslint from 'gulp-eslint';
import autoprefixer from 'autoprefixer';
import postcss from 'gulp-postcss';
const rootDir = process.cwd();
c... | UH-StudentServices/student_guide | gulpfile.babel.js | JavaScript | gpl-3.0 | 2,210 |
/*
* Copyright 2017 The Krobot Contributors
*
* This file is part of Krobot.
*
* Krobot 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 ... | krobot-framework/krobot | src/main/java/org/krobot/util/IconUtils.java | Java | gpl-3.0 | 2,401 |
/*
* PwnFilter - Chat and user-input filter with the power of Regex
* Copyright (C) 2016 Pwn9.com / Sage905 <sage905@takeflight.ca>
*
* 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, e... | Pwn9/PwnFilter | Core/src/main/java/com/pwn9/filter/engine/rules/parser/FilterConfigParser.java | Java | gpl-3.0 | 1,242 |
/*
***************************************************************************
*
* Author: Teunis van Beelen
*
* Copyright (C) 2013, 2014, 2015 Teunis van Beelen
*
* Email: teuniz@gmail.com
*
***************************************************************************
*
* This program is free software: you can redistrib... | andrasfuchs/EDFbrowser | manscan2edf.cpp | C++ | gpl-3.0 | 40,741 |
<?php
/****************************************************************************************\
** JoomGallery 3 **
** By: JoomGallery::ProjectTeam **
** Copyright (C) 2008 - 2021 JoomGalle... | Erftralle/JoomGallery | administrator/components/com_joomgallery/models/rules/joompositivenumeric.php | PHP | gpl-3.0 | 1,223 |
package ar.com.dcsys.gwt.assistance.server;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import ar.com.dcsys.data.justification.GeneralJustificationDate;
import ar.com.dcsys.gwt.assistance.shared.AssistanceEncoderDecoder;
import ar.com.dcsys.gwt.assistance.shared.AssistanceF... | pablodanielrey/java | gwt/assistance/assistanceModelGWT/src/main/java/ar/com/dcsys/gwt/assistance/server/PersistGeneralJustificationDateMethodHandler.java | Java | gpl-3.0 | 3,133 |
/*
* Copyright (C) 2014 Mustafa Gönül
*
* dnw 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.
*
* dnw is distributed in the hop... | mustafagonul/dnw | dialog/messagebox.cpp | C++ | gpl-3.0 | 2,121 |
//##################################################################################################
//
// Custom Visualization Core library
// Copyright (C) 2011-2013 Ceetron AS
//
// This library may be used under the terms of either the GNU General Public License or
// the GNU Lesser General Public License a... | iLoop2/ResInsight | Fwk/VizFwk/TestApps/Qt/QtSnippetRunner/QSRRunPanel.cpp | C++ | gpl-3.0 | 8,353 |
<?php
/**
* @package Arastta eCommerce
* @copyright Copyright (C) 2015 Arastta Association. All rights reserved. (arastta.org)
* @license GNU General Public License version 3; see LICENSE.txt
*/
// Heading
$_['heading_title'] = 'eBay Listing';
// Text
$_['text_module'] = 'Módulos';
$_['text_success'] ... | interspiresource/interspire | admin/language/pt-BR/module/special.php | PHP | gpl-3.0 | 891 |
/******************************************************************************\
Copyright (c) 2010 Stephen Leach. AppGinger is distributed under the terms
of the GNU General Public License. This file is part of AppGinger.
AppGinger is free software: you can redistribute it and/or modify
it under the terms ... | Spicery/ginger | apps/appginger/cpp/label.cpp | C++ | gpl-3.0 | 2,521 |
/* ============================================================
* QupZilla - WebKit based browser
* Copyright (C) 2010-2016 David Rosca <nowrep@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 F... | ThaFireDragonOfDeath/qupzilla | src/lib/other/iconchooser.cpp | C++ | gpl-3.0 | 3,949 |
package xingu.template;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import xingu.container.Inject;
import xingu.container.XinguTestCase;
import xingu.template.Context;
import xingu.template.TemplateEngine;
... | leandrocruz/xingu | template/api/src/test/java/xingu/template/ContextTest.java | Java | gpl-3.0 | 1,334 |
/*
* "Table of Contents" is a Note add-in for Gnote.
* It lists note's table of contents in a menu.
*
* Copyright (C) 2013 Luc Pionchon <pionchon.luc@gmail.com>
* Copyright (C) 2013 Aurimas Cernius
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General ... | mjfrancis/GnoteOSX | src/addins/tableofcontent/tableofcontentmenuitem.hpp | C++ | gpl-3.0 | 2,235 |
import React from 'react';
import Button from '../base/Button';
import T from '../base/T';
import withPermisisons, {ORDER_CONTEXT} from '../hoc/Permissions';
const OrderAllButton = props => (
<Button
size="medium"
type="quaternary"
className="orderAllBtn"
data-cy="orderAllButton"
{...props}
>
... | DBCDK/content-first | src/client/components/order/OrderAllButton.component.js | JavaScript | gpl-3.0 | 452 |
package femr.util.calculations;
import femr.common.models.PatientItem;
import femr.common.models.VitalItem;
import femr.util.DataStructure.Mapping.VitalMultiMap;
import java.math.BigDecimal; //Importing for converting
import java.util.List;
import java.util.Map;
/**
* Created by owner1 on 3/11/2015.
*/
public clas... | emichaux/femr | app/femr/util/calculations/LocaleUnitConverter.java | Java | gpl-3.0 | 10,686 |
import React from 'react'
import { Provider } from 'react-redux'
import routes from '../routes'
import { Router } from 'react-router'
const Root = ({ store, history }) => (
<Provider store={store}>
<Router history={history} routes={routes} />
</Provider>
)
export default Root
| reimertz/anolog | src/containers/Root.prod.js | JavaScript | gpl-3.0 | 288 |
package com.sample.boot.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
/**
* @author Miro Wengner (@miragemiko)
*/
... | mirage22/oauth2bootsimple | src/main/java/com/sample/boot/controller/SecureRobo4JController.java | Java | gpl-3.0 | 558 |
//
// MathTools.cc
// gaim
//
// Created by Ekaterina Sinitskaya on 7/21/15.
// Copyright (c) 2015 wilfeli. All rights reserved.
//
#include <cmath>
#include "gaim/Tools/MathTools.h"
using namespace gaim_econsim;
double
tools::get_frequency_annuity(double Q, double CONTRACT_LENGTH, double INTEREST_RATE, double F... | wilfeli/gaim | gaim/Tools/MathTools.cc | C++ | gpl-3.0 | 531 |
/**
* @author Attila Barna
*/
var DefaultModalComponent = easejs.Class('DefaultModalComponent').extend(ModalComponent,{
/**
* The value of the current element
*/
'private value' : null,
/**
* Required property
* Input cannot be created without name
*/
'private inputName' : null,
/**
* Optional pr... | emraxxor/infovip | infovip-web/src/main/webapp/WEB-INF/resources/js/core/dialog/modal/DefaultModalComponent.js | JavaScript | gpl-3.0 | 2,423 |
package com.github.infovip.spring.elasticsearch.repositories;
import java.util.List;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import com.github.infovip.spring.elasticsearch.entities.UserEntity;
public interface ESUserRepository extends ElasticsearchRepository<UserEntity, Str... | emraxxor/infovip | infovip-web/src/main/java/com/github/infovip/spring/elasticsearch/repositories/ESUserRepository.java | Java | gpl-3.0 | 371 |
Bitrix 16.5 Business Demo = f66f59464bd5512045a3a3b6fb8a08b8
| gohdan/DFC | known_files/hashes/bitrix/modules/lists/install/components/bitrix/lists.element.navchain/lang/ru/component.php | PHP | gpl-3.0 | 61 |
#include "../IGameScreen.hpp"
#include <memory>
namespace inspirit
{
class Engine
{
static void PushScreen(IGameScreen*);
static shared_gamescreen PopScreen();
static IGameScreen const* CurrentScreen();
static IGameScreen* TopScreen();
static double DeltaT();
};
};
void inspirit
::Engine
::PushScree... | Racinettee/inspirit.machine | script/Internals.cpp | C++ | gpl-3.0 | 617 |
package iceandshadow2.nyx.world;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import net.minecraft.world.ChunkPosition;
import net.minecraft.world.World;
import net.minecraft.world.WorldType;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.WorldChunkManag... | TheRabbitologist/IceAndShadow2 | java/iceandshadow2/nyx/world/NyxChunkManager.java | Java | gpl-3.0 | 5,211 |
package org.pente.gameDatabase;
/**
* @author dweebo
*/
public interface GameStorerSearcher {
public void search(GameStorerSearchRequestData data, GameStorerSearchResponseData responseData) throws Exception;
} | dweebo/pentedb | java/org/pente/gameDatabase/GameStorerSearcher.java | Java | gpl-3.0 | 216 |
<?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.
... | crayner/Gibbon | modules/Planner/outcomes_edit.php | PHP | gpl-3.0 | 6,808 |
#region Copyright & License Information
/*
* Copyright 2015- OpenRA.Mods.AS Developers (see AUTHORS)
* This file is a part of a third-party plugin for OpenRA, which is
* free software. It is made available to you under the terms of the
* GNU General Public License as published by the Free Software
* Foundation. F... | ABrandau/OpenRA | OpenRA.Mods.AS/Traits/DelayedWeaponAttachable.cs | C# | gpl-3.0 | 4,668 |
<?php
/**
* phpDocumentor
*
* PHP Version 5
*
* @category phpDocumentor
* @package Parser\Exporter\Xml
* @author Mike van Riel <mike.vanriel@naenius.com>
* @copyright 2010-2011 Mike van Riel / Naenius (http://www.naenius.com)
* @license http://www.opensource.org/licenses/mit-license.php MIT
* @link ... | Bancha/BanchaDeveloperRemoteApi | Vendor/phpDocumentor2/src/phpDocumentor/Parser/Exporter/Xml/Argument.php | PHP | gpl-3.0 | 2,290 |
package io.github.projectchroma.chroma.level.entity;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.SlickException;
import io.github.projectchroma.chroma.level.LevelObject.EntityObject;
import io.github.projectchroma.chroma.level.LevelState;
public class Circle ex... | ProjectChroma/Chroma | src/io/github/projectchroma/chroma/level/entity/Circle.java | Java | gpl-3.0 | 828 |
package dai.gomoku.server.requests;
import dai.gomoku.server.HeartBeatChecker;
import dai.gomoku.server.JSONRequestHandler;
import dai.gomoku.server.Request;
import dai.gomoku.server.Response;
import dai.gomoku.server.responses.HeartBeatResponse;
public class HeartBeatRequest implements Request {
private JSONRequest... | DigitalAgeInstitute/dai.gomoku | src/dai/gomoku/server/requests/HeartBeatRequest.java | Java | gpl-3.0 | 562 |