repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
mach0/polystrip
poly_strip_dialog.py
2465
# -*- coding: utf-8 -*- """ /*************************************************************************** PolyStripDialog A QGIS plugin Polygons along lines ------------------- begin : 2017-07-29 git sha : $Forma...
gpl-3.0
wangwl/SOAPgaeaDevelopment4.0
src/main/java/org/bgi/flexlab/gaea/data/mapreduce/input/bam/GaeaAnySAMInputFormat.java
6701
/******************************************************************************* * Copyright (c) 2017, BGI-Shenzhen * * 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...
gpl-3.0
probedock/probedock
client/initializers/gravatar.js
241
angular.module('probedock').config(function(gravatarServiceProvider) { gravatarServiceProvider.defaults = { // Use auto-generated identicons (based on the e-mail) for users not registered on gravatar default: 'identicon' }; });
gpl-3.0
haxelion/ObjectIdentifier
mainwindow.cpp
3379
/* This file is part of ObjectIdentifier. ObjectIdentifier 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. Nagen is distributed in the hope...
gpl-3.0
howshea/Gank.io
app/src/main/java/com/howshea/gankio/net/ApiService.java
655
package com.howshea.gankio.net; import com.howshea.gankio.entity.GankList; import com.howshea.gankio.entity.History; import com.howshea.gankio.entity.MeiziList; import retrofit2.http.GET; import retrofit2.http.Path; import rx.Observable; /** * Created by haipo on 2016/10/13. */ public interface ApiService { ...
gpl-3.0
oslocyclotronlab/Qkinz
src/kinematics/src/BetheBlockComp.cpp
3419
#include "BetheBlockComp.h" #include "BetheBlock.h" #include "Particle.h" #include "Material.h" #ifndef BETHEBLOCKCONST #define BETHEBLOCKCONST 0.1535 // MeVcm^2/g #endif #ifndef MASSELECTRON #define MASSELECTRON 0.511 // MeV/c^2 #endif BetheBlockComp::BetheBlockComp(){} BetheBlockComp::BetheBlockComp(Material *m...
gpl-3.0
asine/exchangecalendar
addressbook/content/exchangeContactSettings.js
4792
/* ***** BEGIN LICENSE BLOCK ***** * Version: GPL 3.0 * * The contents of this file are subject to the General Public License * 3.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.gnu.org/licenses/gpl.html * * Software dist...
gpl-3.0
roma/roma-java-client
java/client/src/main/java/jp/co/rakuten/rit/roma/client/util/commands/MapcountCommandID.java
518
package jp.co.rakuten.rit.roma.client.util.commands; import jp.co.rakuten.rit.roma.client.commands.CommandID; /** * */ public interface MapcountCommandID extends CommandID { // storage command int MAPCOUNT_GET = 150; int MAPCOUNT_COUNTUP = 151; int MAPCOUNT_UPDATE = 152; Str...
gpl-3.0
CCIP-App/CCIP-Puzzle-Bueno
src/modal/util.js
780
import crypto from 'crypto' export default { parseQueryParams (query) { return query.split('?').pop().split('&') .map((query) => { var keyValue = query.split('=') return { key: keyValue.shift(), value: keyValue.pop() } }) .reduce((collection, param) =...
gpl-3.0
egovernments/egov-playground
eGov/egov/egov-pgr/src/main/java/org/egov/pgr/repository/ComplaintTypeRepository.java
2890
/* * eGov suite of products aim to improve the internal efficiency,transparency, * accountability and the service delivery of the government organizations. * * Copyright (C) <2015> eGovernments Foundation * * The updated version of eGov suite of products as by eGovernments Foundation * is availa...
gpl-3.0
erikacamilleri/bumsccavefinal2016-ppnp
PPNP 1.0.0/src/utils/Logger.cpp
847
#include <utils/Logger.h> #include <QtCore/QString> #include <QtCore/QFile> #include <QtCore/QTextStream> #include <ctime> Logger* Logger::s_instance = nullptr; std::string Logger::s_filename = ""; Logger* Logger::instance() { if(s_instance == nullptr) { s_instance = new Logger; std::time_t result = std...
gpl-3.0
Akogen/Module
Controller/Adminhtml/Akogenlist/Index.php
1937
<?php /** * AKogen * * NOTICE OF LICENSE * * This source file is subject to the AKogen.com license that is * available through the world-wide-web at this URL: * http://www.AKogen.com/license-agreement.html * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade this extension to newer * v...
gpl-3.0
lyssym/access
schedule/producer/produce.py
1465
# _*_ coding: utf-8 _*_ import time from apscheduler.schedulers.background import BackgroundScheduler from control.mysql import KeyWordsClient from control.msg_queue import CommonServer from control.rabbit_producer import ProduceService from util.config import USR_BASE, KW_TABLE, BACKUP_TABLE, GOOGLE, BAIDU, BING, PU...
gpl-3.0
isnuryusuf/ingress-indonesia-dev
apk/classes-ekstartk/com/badlogic/gdx/graphics/g3d/keyframed/KeyframeAnimation.java
989
package com.badlogic.gdx.graphics.g3d.keyframed; import com.badlogic.gdx.graphics.g3d.Animation; public class KeyframeAnimation extends Animation { public Keyframe[] keyframes; public float length; public String name; public int refs; public float sampleRate; public KeyframeAnimation(String paramString, ...
gpl-3.0
jhacks/viox
src/gdk/syslinux.gdk.cpp
441
//syslinux.gdk.cpp /*VIOX64 Virtual Bios Hypervisor 4 AMD64 Fam10+ (&ia64) 2 free & happy GPL3 hacking. Author: jhacks hack hersteller jhackher@gmail.com This program is released under the GNU GPL license v3 or later version, WHITHOUT ANY WARRANTY. A copy of the license should be found in jhacks.LICENSE.txt and/or COPY...
gpl-3.0
pholda/MalpompaAligxilo
core/shared/src/main/scala/pl/pholda/malpompaaligxilo/form/field/CheckboxField.scala
476
package pl.pholda.malpompaaligxilo.form.field import pl.pholda.malpompaaligxilo.form.FieldType case class CheckboxField(default: Boolean = false) extends FieldType[Boolean] { override def parse(values: Seq[String]): Option[Boolean] = { Some(values.nonEmpty) } override val arrayValue: Boolean = false o...
gpl-3.0
moxaj/mobsoft-lab3
app/src/main/java/mobsoftlab/MobSoftApplicationComponent.java
1140
package mobsoftlab; import javax.inject.Singleton; import dagger.Component; import mobsoftlab.interactor.InteractorModule; import mobsoftlab.interactor.chat.ChatInteractor; import mobsoftlab.mock.MockNetworkModule; import mobsoftlab.repository.RepositoryModule; import mobsoftlab.ui.UIModule; import mobsoftlab.ui.logi...
gpl-3.0
adamkruger/psiphon-tunnel-core
vendor/github.com/refraction-networking/gotapdance/tapdance/conn_raw.go
17862
package tapdance import ( "bytes" "context" "crypto/rand" "encoding/base64" "encoding/binary" "encoding/hex" "errors" "fmt" "io" "net" "strconv" "strings" "sync" "time" "github.com/golang/protobuf/proto" pb "github.com/refraction-networking/gotapdance/protobuf" "github.com/refraction-networking/utls"...
gpl-3.0
olivettikatz/libincandescence
audio/SoundExtern.cpp
765
#include "SoundExtern.h" namespace incandescence { void SoundExtern::load() { argv[0] = "afplay"; argv[1] = "-v"; stringstream ss; ss << volume; argv[2] = (char *)ss.str().c_str(); argv[3] = (char *)path.c_str(); argv[4] = "-q"; argv[5] = "1"; argv[6] = "-t"; argv[7] = "0.1"; argv[8] = NULL; }...
gpl-3.0
Rouletus/fsm_gillot
src/utils/Transition.java
1132
package utils; /** * Classe représentant une transition entre états * @author ThomasGillot */ public class Transition { private State departure; private State arrival; private String input_event; private String output_event; public Transition(State departure, State arrival,String input_event...
gpl-3.0
pchote/OpenRA
mods/ra/maps/soviet-09/soviet09.lua
3867
--[[ Copyright 2007-2021 The OpenRA Developers (see AUTHORS) This file is part of 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, either version 3 of the License, or (at your option) any later vers...
gpl-3.0
alexrudnick/hackerschool-demos
ngrams/doitlive.py
3495
#!/usr/bin/env python3 import math import sys import random import readline from collections import defaultdict from collections import Counter LOW_NUMBER = 0.00001 ## counts dictionary maps from contexts to dictionaries (Counters) that map from ## words to their counts. def build_counts(sentences): """Return ...
gpl-3.0
BerntA/DeadBread
DeadBread/Controls/ConVarList.cs
9221
//========= Copyright © Reperio Studios 2013-2016 @ Bernt Andreas Eide! ============// // // Purpose: ConVar List : Parses a given .txt which is passed in from the ServerForm, we display custom convars + tooltips for'em. // //=================================================================================...
gpl-3.0
votkapower/m-cs
21232f297a/admin_switch/plugins/index.php
3600
<div id='panel-top'>Адним панел - Добавки [ Plug-ins ]</div> <div id='panel-bottom'> <?php $pln = htmlspecialchars(trim($_GET['pln'])); if(!$pln){ $pln = "list";} switch ($pln) { case "list": $dir = "../plugins"; $handle = opendir($dir); $i=0; while (($plugin_f = readdir($handle))!== false) { ...
gpl-3.0
Henrik-Peters/ActivFlex-Media
ActivFlex Media/ViewModels/LibraryVideoViewModel.cs
7050
#region License // ActivFlex Media - Manage your media libraries // Copyright(C) 2017 Henrik Peters // // 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 //...
gpl-3.0
Platonymous/Stardew-Valley-Mods
HarpOfYobaRedux/Magic/SeedMagic.cs
1871
using System.Collections.Generic; using StardewValley; using Microsoft.Xna.Framework; using StardewValley.TerrainFeatures; namespace HarpOfYobaRedux { class SeedMagic : IMagic { public SeedMagic() { } public void doMagic(bool playedToday) { if (!playedTod...
gpl-3.0
ypcd/gstunnel
gstunnellib/gspackoper/compresser.go
1320
package gspackoper import ( "bytes" "compress/flate" "io" "log" ) var logger *log.Logger func init() { logger = log.Default() } type compresser struct { fewriter *flate.Writer fereader io.ReadCloser } func NewCompresser() *compresser { return &compresser{} } func (ap *compresser) compress2(data []byte) []...
gpl-3.0
ilixi/ilixi
apps/monitor/Monitor.cpp
7049
/* Copyright 2010, 2011 Tarik Sekmen. All Rights Reserved. Written by Tarik Sekmen <tarik@ilixi.org>. This program 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 the License, o...
gpl-3.0
lostjared/ats
system/func_continue.cpp
337
#include"function.hpp" #include"code.hpp" namespace token { void token_Continue(const std::string &cmd, std::vector<lex::Token> &tokens) { if(code.instruct.size()==0) { std::cerr << "Error: requires you run build first.\n"; return; } code.cont...
gpl-3.0
swissfondue/gtta
js/mxgraph/src/js/shape/mxLine.js
5391
/** * $Id: mxLine.js,v 1.36 2012-03-30 04:44:59 gaudenz Exp $ * Copyright (c) 2006-2010, JGraph Ltd */ /** * Class: mxLine * * Extends <mxShape> to implement a horizontal line shape. * This shape is registered under <mxConstants.SHAPE_LINE> in * <mxCellRenderer>. * * Constructor: mxLine * * Constructs a ne...
gpl-3.0
eungtony/ProjetS4
laravel/app/Http/Middleware/Owner.php
1258
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Contracts\Auth\Guard; use Illuminate\Support\Facades\Auth; class Owner { public $auth; public function __construct(Guard $auth){ $this->auth = $auth; } /** * Handle an incoming request. * * @param \Illuminate\...
gpl-3.0
fga-gpp-mds/2016.1-Emergo
EmerGo/app/src/androidTest/java/unlv/erc/emergo/controller/EmergencyContactControllerTest.java
9579
package unlv.erc.emergo.controller; import android.support.test.espresso.Espresso; import android.support.test.uiautomator.UiDevice; import android.support.test.uiautomator.UiObject; import android.support.test.uiautomator.UiObjectNotFoundException; import android.support.test.uiautomator.UiSelector; import android.t...
gpl-3.0
a-v-k/astrid
src/main/java/com/todoroo/astrid/dao/Database.java
11666
/** * Copyright (c) 2012 Todoroo Inc * * See the file "LICENSE" for the full license governing this code. */ package com.todoroo.astrid.dao; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteConstraintException; import android...
gpl-3.0
rconfig/rconfig
www/install/dbinstall.php
3306
<?php require('includes/head.php'); ?> <div id="content"> <h2>Database Setup</h2> <h3>Settings</h3> <hr/> <div id="section"> <div id="notes"> <p> Please complete the form with your Database server settings </p> <p> If you need ...
gpl-3.0
sephiroth2029/SpringTests
logging-filter/src/main/java/com/gmmr/springcore/loggingfilter/configuration/WebConfig.java
1332
package com.gmmr.springcore.loggingfilter.configuration; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Profile; import org.springframework.http.client.BufferingClientHttpRequestFactory; import org.springfra...
gpl-3.0
jpmac26/PGE-Project
Editor/tools/external_tools/lazyfixtool_gui.cpp
3936
/* * Platformer Game Engine by Wohlstand, a free platform for game making * Copyright (c) 2014-2016 Vitaly Novichkov <admin@wohlnet.ru> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, ei...
gpl-3.0
arvidn/libsimulator
src/io_service.cpp
6988
/* Copyright (c) 2015, Arvid Norberg All rights reserved. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ...
gpl-3.0
Ostrich-Emulators/semtool
common/src/test/java/com/ostrichemulators/semtool/user/RemoteUserImplTest.java
2043
/* * 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 com.ostrichemulators.semtool.user; import com.ostrichemulators.semtool.user.RemoteUserImpl; import com.ostrichemulators.semtoo...
gpl-3.0
aidGer/aidGer
tests/de/aidger/model/validators/ValidatorTest.java
2868
/* * This file is part of the aidGer project. * * Copyright (C) 2010-2013 The aidGer Team * * 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...
gpl-3.0
choperlizer/Dojima
dojima/model/ot/__init__.py
1221
# Dojima, a markets client. # Copyright (C) 2012 Emery Hemingway # # 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
lionelliang/zico
zico-core/src/main/java/com/jitlogic/zico/core/eql/ast/EqlSymbol.java
1510
/** * Copyright 2012-2015 Rafal Lewczuk <rafal.lewczuk@jitlogic.com> * <p/> * This 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
Dacktar13/Power_Storage-MC1.4.7
common/powerstorage/client/ClientProxy.java
392
package powerstorage.client; import net.minecraftforge.client.MinecraftForgeClient; import powerstorage.CommonProxy; public class ClientProxy extends CommonProxy { @Override public void registerRenderers() { MinecraftForgeClient.preloadTexture(TEXTURE_ITEMS); M...
gpl-3.0
duszekmestre/MassCo
src/Server/MassCo/MassCo.Data/GenericDbContext.cs
1247
using Microsoft.EntityFrameworkCore; using System.Linq; using System.Reflection; namespace MassCo.Data { public class GenericDbContext : DbContext { private static bool created = false; public GenericDbContext(DbContextOptions options) : base(options) { if (!cr...
gpl-3.0
ilovefox8/zhcrm
vendor/monolog/monolog/src/Monolog/Handler/FingersCrossed/ChannelLevelActivationStrategy.php
1838
<?php /* * This file is part of the Monolog package. * * (c) Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Monolog\Handler\FingersCrossed; /** * Channel and Error level based monolog act...
gpl-3.0
robottitto/lab
apis/jsonplaceholder/src/app/app.routing.ts
533
import { ModuleWithProviders } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { HomeComponent } from './home/home.component'; import { PostComponent } from './post/post.component'; const appRoutes: Routes = [ { path: '', component: HomeComponent }, // Home { path: 'posts', co...
gpl-3.0
ltf/lab
jlab/namerank/src/main/java/ltf/namerank/lab/RankingTest.java
8722
package ltf.namerank.lab; import com.alibaba.fastjson.JSON; import com.hankcs.hanlp.dictionary.CoreSynonymDictionary; import ltf.namerank.entity.WordFeeling; import ltf.namerank.rank.*; import ltf.namerank.rank.dictrank.meaning.SameMeaningFilter; import ltf.namerank.rank.dictrank.meaning.SameMeaningRanker; import ltf....
gpl-3.0
RHamidR/XMPP-Client
src/libs/QXmpp/src/base/QXmppResultSet.cpp
6730
/* * Copyright (C) 2008-2014 The QXmpp developers * * Author: * Olivier Goffart <ogoffart@woboq.com> * * Source: * https://github.com/qxmpp-project/qxmpp * * This file is a part of QXmpp library. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesse...
gpl-3.0
OpenSilk/Orpheus
renderer-chromecast/src/main/java/org/opensilk/music/renderer/googlecast/ui/DevicePickerActivityModule.java
871
/* * Copyright (c) 2015 OpenSilk Productions LLC * * 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 prog...
gpl-3.0
beezwax/WP-Publish-to-Apple-News
tests/exporter/components/test-class-heading.php
746
<?php require_once __DIR__ . '/class-component-testcase.php'; use \Exporter\Components\Heading as Heading; class Heading_Test extends Component_TestCase { public function testInvalidInput() { $component = new Heading( '<p>This is not a heading</p>', null, $this->settings, $this->styles, $this->layouts ); $...
gpl-3.0
danieljb/django-hybrid-filefield
hybrid_filefield/__init__.py
903
# # Django Hybrid-FileField # A combination of Django's FileField and FilePathField. # Copyright (c) 2011, Daniel J. Becker # # This file is part of Django Hybrid-FileField. # # Django Hybrid-Filefield is free software: you can redistribute it # and/or modify it under the terms of the GNU General Public License # a...
gpl-3.0
MakeWebsites/PHP
WordPress/Plugins/mdcuba-understrap/mdcuba-understrap.php
7635
<?php /* Plugin Name: Mdcuba-understrap Description: Extensions to Understrap Builder WordPress theme (Español) Version: 1.0 Author: Angel Utset License: GPLv2 */ //* Enqueue Lato Google font /*add_action( 'wp_enqueue_scripts', 'cr_load_google_fonts' ); function cr_load_google_fonts() { wp_enqueue_style( ...
gpl-3.0
murilotimo/moodle
question/type/ddmarker/tests/helper.php
10048
<?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. // //...
gpl-3.0
pierobonfada/pypsf
login/views.py
303
#! -*- coding: utf-8 -*- from django.shortcuts import render from django.http import HttpResponse from django.template import loader # Create your views here. def index(request): template = loader.get_template('login/index.html') context = {} return HttpResponse(template.render(context, request))
gpl-3.0
ice-blaze/talent-linker
app/Providers/AuthServiceProvider.php
616
<?php namespace App\Providers; use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; class AuthServiceProvider extends ServiceProvider { /** * The policy mappings for the application. * * @var array */ protected $policies = [ 'App\Model' => 'App\Polic...
gpl-3.0
TheTransitClock/transitime
transitclockApi/src/main/java/org/transitclock/api/data/ApiBlocksTerse.java
1709
/* * This file is part of Transitime.org * * Transitime.org is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License (GPL) as published by * the Free Software Foundation, either version 3 of the License, or * any later version. * * Transitime.org is...
gpl-3.0
aurenen/Chronica
chronica/settings.php
5799
<?php /************************************************************ * * (c) Chronica * https://github.com/aurenen/chronica * * settings.php * * Manages script settings. * ************************************************************/ require_once 'includes/connect.php'; require_once 'includes/util.ph...
gpl-3.0
cim--/colonia-database
resources/views/components/megashiplocation.blade.php
145
@if (is_object($location)) <a href="{{route('systems.show', $location->id)}}"> {{$location->displayName()}} </a> @else {{$location}} @endif
gpl-3.0
PaintQuest/paintquest
src/deepstream/node_modules/deepstream.io/test/utils/read-messageSpec.js
2225
var Deepstream = require( '../../src/deepstream.io' ); describe( 'parses low level authData to simpler output', function() { var message; var parsedMessage; beforeEach( function() { message = { topic: 'R', action: 'CR', data: [ 'RecordName', 1, 'data' ] }; parsedMessage = { isRecord: false, i...
gpl-3.0
mikusher/JavaBasico
src/cv/mikusher/outros/Calculos.java
788
package cv.mikusher.outros; /** * * @author Miky Mikusher */ public class Calculos { /** * @param args the command line arguments */ public static void main(String[] args) { // TODO code application logic here Soma(3, 5); multiplica(3, 2); ...
gpl-3.0
nunes0188/AspNetAulas
Aula250517/Aula250517/About.aspx.cs
287
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Aula250517 { public partial class About : Page { protected void Page_Load(object sender, EventArgs e) { } } }
gpl-3.0
hartwigmedical/hmftools
cuppa/src/main/java/com/hartwig/hmftools/cup/common/ResultType.java
117
package com.hartwig.hmftools.cup.common; public enum ResultType { PERCENTILE, PREVALENCE, LIKELIHOOD; }
gpl-3.0
hungyao/context-toolkit
src/main/java/context/arch/comm/CommunicationsServer.java
2806
package context.arch.comm; import java.net.Socket; import context.arch.comm.protocol.ProtocolException; import context.arch.comm.protocol.RequestData; /** * This interface specifies all the methods a CommunicationsServer object must support * allowing the details of the specific protocol used to be abstracted away...
gpl-3.0
wiwie/clustevalWebsite
clustevalWebsite/test/unit/run_configs_run_data_analysis_test.rb
139
require 'test_helper' class RunConfigsRunDataAnalysisTest < ActiveSupport::TestCase # test "the truth" do # assert true # end end
gpl-3.0
mefcorvi/mirgames
MirGames/Infrastructure/UserSettings/HeaderType.cs
1395
// -------------------------------------------------------------------------------------------------------------------- // <copyright company="MirGames" file="HeaderType.cs"> // Copyright 2014 Bulat Aykaev // This file is part of MirGames. // MirGames is free software: you can redistribute it and/or modify it under the...
gpl-3.0
sfotiadis/SEMonitor
src/main/Models/MetricsRecord.java
2254
package Models; import java.util.Date; public class MetricsRecord { /** * A data structure that holds the changes of the release */ private ChangeRecord changeRecord; private int previousTotal; private Date previousDate; /** * Constructor * @param cr ChangeRecord * @param prFun Previous total of ch...
gpl-3.0
0xFEEDC0DE64/PGTL-Programs
src/ninja/brunner/pgtl/program3/Wette.java
385
package ninja.brunner.pgtl.program3; public class Wette { public Person person; public Rennen rennen; public Schnecke schnecke; public float einsatz; public Wette(Person person, Rennen rennen, Schnecke schnecke, float einsatz) { this.person = person; this.rennen = rennen; t...
gpl-3.0
TeddyDev/MCNetwork
Core/src/main/java/me/lukebingham/core/event/EventFactory.java
561
package me.lukebingham.core.event; import org.bukkit.event.Event; import org.bukkit.event.HandlerList; /** * Created by LukeBingham on 23/03/2017. */ public abstract class EventFactory extends Event { private static final HandlerList handlers = new HandlerList(); /** * Construct a new Event */ ...
gpl-3.0
mddorfli/leslie
leslie.server/src/test/java/org/leslie/server/vacation/VacationServiceTest.java
1347
package org.leslie.server.vacation; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import java.text.DateFormat; import java.text.SimpleDateFormat; import org.eclipse.scout.rt.platform.BEANS; import org.eclipse.scout.rt.testing.platform.runner.RunWithSubject; import org.ecl...
gpl-3.0
ANKA-KIT/imageclient
imageclient/realtimecontainer.cpp
7854
#include "realtimecontainer.h" #include <QDebug> RealtimeContainer::RealtimeContainer(MainWindow *parent) : QWidget(parent) { windowElement = parent; realtimeLast = 0; setVisible(false); emptyIcon = "/icons/true.png"; trueIcon = ":/icons/true.png"; QMenu *actSerSide = new QMenu("Server side o...
gpl-3.0
IntelliPilot/IntelliPilot
IntelliCopter/battery_indicator.cpp
1161
// // battery_indicator.cpp // IntelliCopter // // Created by Daniel Heo on 2016. 7. 12. // Copyright © 2016 http://dronix.kr. All rights reserved. // #include "System.h" void System::Publish::battery(void *arg) { TickType_t xLastWakeTime = xTaskGetTickCount(); const TickType_t xWakePeriod = 6000...
gpl-3.0
diphda/grupoagrupo
lib/form/doctrine/PlaceForm.class.php
290
<?php /** * Place form. * * @package grupos_consumo * @subpackage form * @author info@diphda.net * @version SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $ */ class PlaceForm extends BasePlaceForm { public function configure() { } }
gpl-3.0
DeOlSo/ADC2015_De
ClosedSequentialPatternMining/src/spmf/bide/SequentialPattern.java
6389
package spmf.bide; import java.text.DecimalFormat; import java.util.ArrayList; import java.util.List; import java.util.Set; /** * This class represents a sequential pattern. * A sequential pattern is a list of itemsets. * * Copyright (c) 2008-2012 Philippe Fournier-Viger * * This file is part of the SPMF DATA...
gpl-3.0
virani06/Opencart-Newsletter
catalog/model/module/newsletter.php
1281
<?php class ModelModuleNewsletter extends Model { public function createNewslettersubscribe() { $query = $this->db->query("SHOW TABLES LIKE '" . DB_PREFIX . "newsletter_subscribe'"); $rows =$query->num_rows; if ($rows == 0) { $this->db->query("CREATE TABLE IF NOT EXISTS `"...
gpl-3.0
A1X71/twilight
SCA.WPF/SCA.DatabaseAccess/DBContext/LinkageConfigMixedDBService.cs
8641
using System.Collections.Generic; using System.Text; using System; using SCA.Model; using SCA.Interface.DatabaseAccess; /* ============================== * * Author : William * Create Date: 2017/5/3 8:49:14 * FileName : LinkageConfigMixedDBService * Description: * Version:V1 * =============================== *...
gpl-3.0
vmlinz/prey-android-client
src/com/prey/json/parser/JSONParser.java
8292
package com.prey.json.parser; import java.util.ArrayList; import java.util.List; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.content.Context; import com.prey.PreyConfig; import com.prey.PreyLogger; import com.prey.net.PreyRestHttpClient; public class JSONP...
gpl-3.0
MikeMatt16/Abide
Abide.Guerilla/Abide.Tag.Guerilla/Generated/Effect.Generated.cs
1391
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
gpl-3.0
wakeupthecat/gastona
base/src/listix/cmds/cmdLoadUnit.java
6889
/* library listix (www.listix.org) Copyright (C) 2005-2020 Alejandro Xalabarder Aulet 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
MarcosMota/Blog
Projeto/Blog/Blog.Core/Domain/Menu.cs
401
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Blog.Core.Domain { public class Menu { public string Nome { get; set; } public string Role { get; set; } public string icone { get; set; } public strin...
gpl-3.0
elan-ev/StudIPAndroidApp
app/src/androidTest/java/de/elanev/studip/android/app/base/internal/di/component/ApplicationTestComponent.java
822
/* * Copyright (c) 2017 ELAN e.V. * 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 * http://www.gnu.org/licenses/gpl.html */ package de.elanev.studip.android.app.base.i...
gpl-3.0
lyoshenka/ultiorganizer
seriesstatus.php
8440
<?php include_once 'lib/season.functions.php'; include_once 'lib/series.functions.php'; include_once 'lib/pool.functions.php'; include_once 'lib/team.functions.php'; $LAYOUT_ID = SERIESTATUS; $title = _("Statistics")." "; $viewUrl="?view=seriesstatus"; $sort="winavg"; if (!empty($_GET['Series'])) { $vi...
gpl-3.0
KyleGrund/ViTeMBP-BEJava
ViTeMBP Services/src/com/vitembp/services/sensors/DistanceVL53L0X.java
4376
/* * Video Telemetry for Mountain Bike Platform back-end services. * Copyright (C) 2017 Kyle Grund * * 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 * ...
gpl-3.0
pshendry/rust-planets-nu
src/builders/minefield.rs
1802
extern crate serialize; use self::serialize::json; use error; use json_helpers::{find, get_bool, get_i32, get_object, get_string}; macro_rules! get( ($i1:ident, $e:expr, $i2:ident) => (try!($i2(try!(find($i1, $e))))) ) // Public #[deriving(Eq, PartialEq, Show)] pub struct Minefield { pub owner_id: i32, ...
gpl-3.0
technokratos/Tracker
src/main/java/checks/types/Count.java
305
package checks.types; /** * Created by denis on 25.02.17. */ public class Count { int value = 0; public void inc() { value++; } public int getValue() { return value; } @Override public String toString() { return Integer.toString(value) ; } }
gpl-3.0
RotaruDan/cytopathologyeditor
app/controllers/users/users.authentication.server.controller.js
5978
'use strict'; /** * Module dependencies. */ var _ = require('lodash'), errorHandler = require('../errors.server.controller'), mongoose = require('mongoose'), passport = require('passport'), User = mongoose.model('User'); /** * Signup */ exports.signup = function(req, res) { // For security measurement we rem...
gpl-3.0
randomize/VimConfig
tags/unity5/UnityEditor/BillboardAssetInspector.cs
10402
namespace UnityEditor { using System; using UnityEditorInternal; using UnityEngine; [CanEditMultipleObjects, CustomEditor(typeof(BillboardAsset))] internal class BillboardAssetInspector : Editor { private SerializedProperty m_Bottom; private Material m_GeometryMaterial; ...
gpl-3.0
leorue/atticbase
api/models/movie.js
281
/* Developed by Leo Schultz - 10/10/2014 */ var mongoose=require('mongoose'); var Schema=mongoose.Schema; var movieSchema=new Schema({ title:'String', releaseYear:'String', director:'String', genre:'String' }); module.exports=mongoose.model('Movie',movieSchema);
gpl-3.0
OutsideTheBoxProject/P
Arduino/RCubes/BluetoothSerial.cpp
7201
/*------------------------------------------------------------------------- Arduino library for the Teensy3Bluetooth Serial shield available at the hackerspaceshop.com Check it out here: http://www.hackerspaceshop.com/teensy/teensy-3-1-bluetooth-module.html Written by Amir Hassan and Florian Bittner for h...
gpl-3.0
StarGate01/map2agb
map2agblib/Tilesets/BlockBehaviour.cs
4703
using System; namespace map2agblib.Tilesets { public class BlockBehaviour { #region Fields private byte _hmUsage; private byte _field2; private byte _field3; private byte _field4; private byte _field5; private byte _field6; #endr...
gpl-3.0
vvc/mtasa-blue
MTA10/mods/shared_logic/CClientVehicle.cpp
144127
/***************************************************************************** * * PROJECT: Multi Theft Auto v1.0 * (Shared logic for modifications) * LICENSE: See LICENSE in the top level directory * FILE: mods/shared_logic/CClientVehicle.cpp * PURPOSE: Vehicle entity class * DEVE...
gpl-3.0
ChrisLynch42/RLiferayTool
lib/r_liferay_lib/read_service.rb
1588
require_relative 'column' require_relative 'xml_utility' module RLiferayLib class ReadService attr_reader :service_xml_file, :entities def initialize(service_xml_file) self.service_xml_file=service_xml_file self.entities = Hash.new() read_xml end private attr_writer :service...
gpl-3.0
erapetti/Formularios
api/controllers/Mis_cargosController.js
855
/** * Mis_CargosController * * @description :: Server-side logic for managing mis_cargos * @help :: See http://sailsjs.org/#!/documentation/concepts/Controllers */ module.exports = { load: function(param,resolve,reject) { var ahora = new Date(); DenominacionesCargos.misCargos(param.config.ci,ahor...
gpl-3.0
amba178/MetPlus_PETS
spec/controllers/company_people_controller_spec.rb
90
require 'rails_helper' RSpec.describe CompanyPeopleController, type: :controller do end
gpl-3.0
Duceux/Arty
include/arty/core/number.hpp
2868
#ifndef NUMBER_HPP #define NUMBER_HPP #include <cassert> #include <cmath> #include <cstdint> #include <iostream> #include <limits> #include <string> #include <utility> namespace arty { namespace details { constexpr int64_t INTMAX = std::numeric_limits<int64_t>::max(); constexpr int64_t INTMIN = std::numeric_limits<i...
gpl-3.0
VaccinalBowl/distributed_ticket_booking_system
src/CampServerConnectionThread.java
1452
import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.net.Socket; @SuppressWarnings("unused") public class CampServerConnectionThread implements Runnable { private Socket connection; private ObjectInputStream inputStream; public CampServerConnection...
gpl-3.0
Lizzaran/LeagueSharp-Standalones
SFXChallenger/SFXCassiopeia/Library/Extensions/NET/OtherExtensions.cs
3486
#region License /* Copyright 2014 - 2015 Nikita Bernthaler OtherExtensions.cs is part of SFXCassiopeia. SFXCassiopeia 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...
gpl-3.0
gklimek/philippides
src/main/java/org/philippides/layer/AmqpLayer.java
2438
package org.philippides.layer; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.logging.Logger; import org.philippides.IBrokerContext; import org.philippides.Layer; import org.philippides.endpoint.ChannelSender; import org.philippide...
gpl-3.0
magicxor/Hikkaba
Hikkaba.Models/Dto/Ban/BanEditDto.cs
546
using TPrimaryKey = System.Guid; using System; using Hikkaba.Models.Dto.Base.Current; namespace Hikkaba.Models.Dto { public class BanEditDto: IBaseDto { public TPrimaryKey Id { get; set; } public DateTime Start { get; set; } public DateTime End { get; set; } public string Lower...
gpl-3.0
HeuristNetwork/heurist
redirects/getDatabaseURL_V1.php
1134
<?php /** * * getDatabaseURL_V1.php * redirector to getDatabaseURL.php to provide a stable URL in case of restructuring of the codebase * * @package Heurist academic knowledge management system * @link http://HeuristNetwork.org * @copyright (C) 2005-2020 University of Sydney * @author Artem Osmakov ...
gpl-3.0
Jmgr/actiona
actions/windows/src/code/messagebox.cpp
4919
/* Actiona Copyright (C) 2005 Jonathan Mercier-Ganady Actiona 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. Actiona is distributed...
gpl-3.0
bunkatu/GGJ16
core/src/network/lobby/UserLeftLobby.java
105
package network.lobby; public class UserLeftLobby { public int lobby_id; public String username; }
gpl-3.0