repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
BrandonYates/sherlock
Java/src/test/java/clue/knowledge/KnowledgeTest.java
1376
package clue.knowledge; import clue.logic.Card; import clue.logic.CardName; import clue.logic.Character; import clue.logic.Game; import clue.logic.Player; import clue.logic.Room; import clue.logic.Weapon; import org.junit.Assert; import org.junit.Before; import org.junit.jupiter.api.Test; import java.util.ArrayList; ...
gpl-3.0
solefaucet/jackpot-server
wallet.go
6952
package main import ( "time" "github.com/Sirupsen/logrus" "github.com/solefaucet/jackpot-server/jerrors" "github.com/solefaucet/jackpot-server/models" w "github.com/solefaucet/jackpot-server/services/wallet" "github.com/solefaucet/jackpot-server/utils" ) var ( blockHeightChan = make(chan int64, 2) pre...
gpl-3.0
nbouteme/mmpd
assets/js/events.js
1200
function initInterface() { $("#time-slider").slider({ change: setTime, range: "min", step: 0.1 }); } function initEventHandlers() { $("#time-slider").hover(onHoverTimeSliderIn, onHoverTimeSliderOut); $("#time-slider").mousemove(onMoveOverTimeSlider); $("#ctrl-btn").c...
gpl-3.0
dkasak/notify-osd-customizable
examples/icon-only.cs
2035
//////////////////////////////////////////////////////////////////////////////// //3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 // 10 20 30 40 50 60 70 80 // // Info: // Example of how to use libnotify correctly and at the same t...
gpl-3.0
mycncart/mycncart
catalog/controller/mail/forgotten.php
2575
<?php class ControllerMailForgotten extends Controller { //catalog/model/account/customer/editCode/after public function index(&$route, &$args, &$output) { if ($args[0] && $args[1]) { $this->load->model('account/customer'); $customer_info = $this->model_account_customer->getCustomerByEmail($args[0]); if ...
gpl-3.0
cmongis/psfj
src/knop/psfj/locator/BeadLocator3D.java
2804
/* * 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 knop.psfj.locator; import Objects3D.Object3D; import ij.ImagePlus; import java.awt.Rectangle; import java.util.ArrayList; impo...
gpl-3.0
widowild/messcripts
exercice/python2/solutions/exercice_7_11.py
360
#! /usr/bin/env python # -*- coding: Latin-1 -*- def nomMois(n): "renvoie le nom du n-ième mois de l'année" mois = ['Janvier,', 'Février', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre'] return mois[n -1] # les indices sont numérotés à pa...
gpl-3.0
mkuron/espresso
src/script_interface/cluster_analysis/ClusterStructure.hpp
3844
/* Copyright (C) 2010-2018 The ESPResSo project Copyright (C) 2002,2003,2004,2005,2006,2007,2008,2009,2010 Max-Planck-Institute for Polymer Research, Theory Group This file is part of ESPResSo. ESPResSo is free software: you can redistribute it and/or modify it under the terms of the GNU General Public Li...
gpl-3.0
jike2016/308b-2016
ledgercenter/person/quizledger.php
2049
<script> $('.lockpage').hide(); </script> <?php require_once("../../config.php"); $timeid = optional_param('timeid', 1, PARAM_INT);//1周2月3总 $personid = optional_param('personid', 0, PARAM_INT); global $DB; $user = $DB -> get_records_sql('select id,lastname,firstname from mdl_user where id='.$personid); echo '</br><div...
gpl-3.0
gammalib/gammalib
src/test/GTestSuite.cpp
35209
/*************************************************************************** * GTestSuite.cpp - Abstract test suite base class * * ----------------------------------------------------------------------- * * copyright (C) 2012-2016 by Jean-Baptiste Cayrou * * ---------...
gpl-3.0
sandipmurmu/Templates
falcon/src/main/java/com/work/falcon/LoadSetup.java
855
package com.work.falcon; import akka.actor.ActorRef; import akka.actor.ActorSystem; import akka.actor.Props; import akka.routing.RoundRobinPool; public class LoadSetup { private ActorSystem system; private ActorRef router; private final static int no_of_msgs = 10 * 1000000; public LoadSetup() { system = Ac...
gpl-3.0
junwan6/cdhpoodll
mod/liveclassroom/db/access.php
1826
<?php // // Capability definitions for the Wimba Classroom module. // // The capabilities are loaded into the database table when the module is // installed or updated. Whenever the capability definitions are updated, // the module version number should be bumped up. // // The system has four possible values for a capa...
gpl-3.0
sklintyg/webcert
test/acceptance/features/steps/webcertRehabstod.js
10241
/* * Copyright (C) 2021 Inera AB (http://www.inera.se) * * This file is part of sklintyg (https://github.com/sklintyg). * * sklintyg 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 t...
gpl-3.0
projectestac/alexandria
html/langpacks/fr/format_topics.php
1829
<?php // This file is part of Moodle - https://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle...
gpl-3.0
IanCal/leonard
src/TestingHarness.cpp
3319
/* * This file is part of Leonard. * * Leonard 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. * * Leonard is distr...
gpl-3.0
andoniaf/DefGrafana.py
DefGrafana.py
1130
#!/usr/bin/python3 # -*- coding: utf-8 -*- # [ES] DefGrafana.py - Script para capturar imagenes dentro de Grafana. # # Modo de uso: - Modificar seccion "VARS" # - Ejecutar: python3 DefGrafana.py '<URL Dashboard>' # - Usar la opcion '--cut-panel' para añadir otra imagen con el panel recortad...
gpl-3.0
ribbons/RadioDownloader
Classes/FileUtils.cs
1785
/* * Copyright © 2007-2020 Matt Robinson * * SPDX-License-Identifier: GPL-3.0-or-later */ namespace RadioDld { using System; using System.Configuration; using System.IO; using System.Windows.Forms; internal static class FileUtils { public static string GetSaveFolder() { ...
gpl-3.0
jalombar/starsmasher
misc/SPHgravtree_lib/libSequoia/src/scanFunctions.cpp
16843
#include "octree.h" //Compacts an array of integers, the values in srcValid indicate if a //value is valid (1 == valid anything else is UNvalid) returns the //compacted values in the output array and the total //number of valid items is stored in 'count' void octree::gpuCompact(my_dev::context &devContext, ...
gpl-3.0
l33tRS/E2Power
lua/entities/gmod_wire_expression2/core/custom/particles.lua
9240
local ParticlesThisSecond = {} local Grav = {} local Particles = {} local rad2deg = 180 / math.pi local asin = math.asin local atan2 = math.atan2 local AlwaysRender = 1 local MaxParticlesPerSecond = CreateConVar( "sbox_e2_maxParticle...
gpl-3.0
joemckie/horizon-framework
horizon/_theme/templates/shortcodes/divider/divider.php
313
<?php global $shortcode_atts; extract( shortcode_atts( array( "scroll_text" => "" ), $shortcode_atts['atts'] ) ); ?> <div class="horizon-divider"> <div class="horizon-divider-colour"></div> <?php if ( $scroll_text !== "" ) { echo '<div class="horizon-scroll-to-top">' . $scroll_text . '</div>'; } ?> </div>
gpl-3.0
PvtTony/wechatlab
src/main/java/me/songt/wechatlab/handler/StoreCheckNotifyHandler.java
717
package me.songt.wechatlab.handler; import me.chanjar.weixin.common.session.WxSessionManager; import me.chanjar.weixin.mp.api.WxMpService; import me.chanjar.weixin.mp.bean.message.WxMpXmlMessage; import me.chanjar.weixin.mp.bean.message.WxMpXmlOutMessage; import org.springframework.stereotype.Component; import java.u...
gpl-3.0
thomasahle/TrinityProject
core/src/main/java/com/github/thomasahle/trainbox/trainbox/uimodel/UISeparateComponent.java
6841
package com.github.thomasahle.trainbox.trainbox.uimodel; import static playn.core.PlayN.assets; import static playn.core.PlayN.graphics; import java.util.ArrayList; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import playn.core.CanvasImage; import playn.core.Image; import playn.core...
gpl-3.0
JBerkvens/SE42
Auction_Server/src/main/java/auction/dao/ItemDAOJPAImpl.java
2092
package auction.dao; import auction.domain.Bid; import auction.domain.Item; import auction.domain.User; import java.util.ArrayList; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.Query; /** * * @author Jeroen */ public class ItemDAOJPAImpl implements ItemDAO {...
gpl-3.0
MailCleaner/MailCleaner
www/framework/Zend/Json/Decoder.php
18937
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
gpl-3.0
MattBridgeman/drum-machine
src/js/reducers/__tests__/drum.machine.test.js
9496
import { expect } from "chai"; import drumMachine from "../drum.machine.reducer"; import { CHANGE_SELECTED_CHANNEL, TOGGLE_SOLO_CHANNEL, TOGGLE_MUTE_CHANNEL, CHANGE_VOLUME_TO_AMOUNT, CHANGE_PITCH_TO_AMOUNT, CHANGE_DECAY_TO_AMOUNT, CHANGE_PAN_TO_AMOUNT, TOGGLE_REVERB, TOGGLE_BEAT_STATE, NEW_BANK_INDEX, CHANGE...
gpl-3.0
avz-cmf/zaboy-utils
src/DataStore/Email.php
3013
<?php namespace zaboy\utils\DataStore; use zaboy\rest\DataStore\DbTable; use Zend\Db\TableGateway\TableGateway; use zaboy\utils\Api\Gmail as ApiGmail; use zaboy\utils\Json\Coder as JsonCoder; use Zend\Db\Adapter\AdapterInterface; use zaboy\res\Di\InsideConstruct; /** * * time GMT * @see http://stackoverflow.com/q...
gpl-3.0
rivetlogic/liferay-elasticsearch-integration
portlets/elasticsearch-portlet/docroot/WEB-INF/src/com/rivetlogic/elasticsearch/portlet/exception/ElasticsearchAutocompleteException.java
1807
/** * Copyright (C) 2005-2014 Rivet Logic Corporation. * * 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 wi...
gpl-3.0
m3rlin87/darkstar
scripts/globals/mobskills/the_wrath_of_gudha.lua
665
require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/monstertpmoves") --------------------------------------------- function onMobSkillCheck(target,mob,skill) return 0 end function onMobWeaponSkill(target, mob, skill) local typeEffect = dsp.effect.WEIGHT lo...
gpl-3.0
elitegreg/mudpy
mudpy/command.py
2009
from mudpy import logging import pprint __all__ = [ 'command', 'CommandError', 'register_system_command', 'register_gameplay_command' ] __gameplay_commands = dict() __system_commands = dict() class CommandError(RuntimeError): pass def command(cmd, requestor, depth=0): assert(len(cmd) > 0...
gpl-3.0
napsternxg/gensim
gensim/summarization/commons.py
1565
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Licensed under the GNU LGPL v2.1 - http://www.gnu.org/licenses/lgpl.html """This module provides functions of creating graph from sequence of values and removing of unreachable nodes. Examples -------- Create simple graph and add edges. Let's take a look at nodes. ...
gpl-3.0
MichalMizak/ObchodnaSiet
obchodna_siet/src/main/java/sk/upjs/ics/paz1c/obchodnaSiet/other/enums/TableName.java
210
package sk.upjs.ics.paz1c.obchodnaSiet.other.enums; /** * * @author Mikey */ public enum TableName { prijem, prijem_history, prevadzka, prevadzka_history, produkt, produkt_history, naklad_na_produkty }
gpl-3.0
Sworken/RagSWC
src/server/game/Movement/Waypoints/WaypointManager.cpp
4493
/* * Copyright (C) * Copyright (C) * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * * This program is dist...
gpl-3.0
SamTebbs33/myrmecology
src/minecraft/vivadaylight3/myrmecology/client/gui/GuiIncubator.java
4934
package vivadaylight3.myrmecology.client.gui; import java.io.ByteArrayOutputStream; import java.io.DataOutputStream; import java.util.ArrayList; import net.minecraft.client.entity.EntityClientPlayerMP; import net.minecraft.client.gui.GuiButton; import net.minecraft.client.gui.inventory.GuiContainer; import net.minecr...
gpl-3.0
SlightQuartz/Tactical-Commander
Assets/Scripts/Map/MapBoard_Animator.cs
2999
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MapBoard_Animator : MonoBehaviour { public Animator[] animators; public void SetAnimator(bool active) { animators = GetComponentsInChildren<Animator>(); foreach (Animator animator in animators) ...
gpl-3.0
1036-app/pttbased-app
src/ro/ui/pttdroid/myApplication.java
420
package ro.ui.pttdroid; import ro.ui.pttdroid.Main.MyHandler; import android.app.Application; public class myApplication extends Application { // ¹²Ïí±äÁ¿ private MyHandler handler = null; public void setHandler(MyHandler handler) { this.handler = handler; } ...
gpl-3.0
Crypt0s/Ramen
fs_libs/ftputil/test/test_stat.py
20112
# Copyright (C) 2003-2013, Stefan Schwarzer <sschwarzer@sschwarzer.net> # See the file LICENSE for licensing terms. from __future__ import absolute_import from __future__ import division from __future__ import unicode_literals import stat import time import unittest import ftputil import ftputil.error import ftputil...
gpl-3.0
PatrickSteiner/IoT_Demo_Grafana
LogReceiver/src/main/java/com/redhat/demo/iotdemo/MyHelper.java
1501
package com.redhat.demo.iotdemo; import java.text.SimpleDateFormat; import java.util.Date; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.camel.Exchange; import org.apache.camel.Handler; public class MyHelper { @Handler public String enhanceMessage( String body, Exchange exch...
gpl-3.0
nitro2010/moodle
mod/courseboard/version.php
1278
<?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
OpenEducationFoundation/OpenBoard
src/adaptors/UBExportWeb.cpp
2505
/* * Copyright (C) 2013 Open Education Foundation * * Copyright (C) 2010-2013 Groupement d'Intérêt Public pour * l'Education Numérique en Afrique (GIP ENA) * * This file is part of OpenBoard. * * OpenBoard is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public Li...
gpl-3.0
DreamblazeNet/SqlS
src/DreamblazeNet/SqlS/DatabaseConnection.php
6167
<?php namespace DreamblazeNet\SqlS; use PDO; use PDOException; abstract class DatabaseConnection { /** * @var \Psr\Log\LoggerInterface */ public $log; /** * The PDO connection object. * @var mixed */ public $connection; /** * The last query run. * @var string ...
gpl-3.0
xiaolowe/srdz-supplier-api
srdz-supplier-api/src/main/java/cn/org/citycloud/core/BaseController.java
861
package cn.org.citycloud.core; /** * 控制器基类 * * @author Allen * */ public class BaseController { /** * 供应商用户Id */ private int userId; /** * 供应商用户名 */ private String userName; /** * 供应商Id */ private int supplierId; /** * token */ private String accessToken; public int getUserId() {...
gpl-3.0
unitymakesus/myfriendteresa.com
plugins/gravityforms/includes/addon/class-gf-addon.php
169661
<?php /** * @package GFAddOn * @author Rocketgenius */ if ( ! class_exists( 'GFForms' ) ) { die(); } /** * Class GFAddOn * * Handles all tasks mostly common to any Gravity Forms Add-On, including third party ones. */ abstract class GFAddOn { /** * @var string Version number of the Add-O...
gpl-3.0
aroog/code
ArchMetrics/src/edu/wayne/metrics/adb/ADBTriplet.java
7189
package edu.wayne.metrics.adb; import java.io.IOException; import java.io.Writer; import java.util.HashSet; import java.util.Set; import oog.itf.IDomain; import oog.itf.IObject; /** * Information about an OObject extracted into an <A,D,B> triplet * NOTE: One IObject can generate many ADBTriplets. * S...
gpl-3.0
svizion/MyClientBase-SB
application/modules_core/mcb_modules/controllers/mcb_modules.php
3534
<?php (defined('BASEPATH')) OR exit('No direct script access allowed'); /* * Class handling MCB custom modules install/uninstall and core modules enable/disable */ class Mcb_Modules extends Admin_Controller { function __construct() { parent::__construct(); } function index() { redirect('mcb_modules/core...
gpl-3.0
lowentropy/simpleX3D
src/Core/MetadataString.cc
934
/* * Copyright 2009 Nathan Matthews <lowentropy@gmail.com> * * This file is part of SimpleX3D. * * SimpleX3D 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 y...
gpl-3.0
manojdjoshi/dnSpy
Extensions/dnSpy.Debugger/dnSpy.Debugger/Evaluation/UI/VariablesWindowVMOptions.cs
3028
/* Copyright (C) 2014-2019 de4dot@gmail.com This file is part of dnSpy dnSpy is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later...
gpl-3.0
kaoz70/flexcms
flexcms/modules/admin/controllers/Admin.php
5638
<?php /** * Created by PhpStorm. * User: Miguel * Date: 08/01/14 * Time: 02:32 PM */ use App\Config; use App\Category; use App\Content; use App\Utils; use Cartalyst\Sentinel\Checkpoints\NotActivatedException; use Cartalyst\Sentinel\Checkpoints\ThrottlingException; use Cartalyst\Sentinel\Native\Facades\Sentinel; ...
gpl-3.0
ebrelsford/v2v
vacant_to_vibrant/groundtruth/forms.py
425
from django import forms from livinglots_groundtruth.forms import GroundtruthRecordFormMixin from .models import GroundtruthRecord class GroundtruthRecordForm(GroundtruthRecordFormMixin, forms.ModelForm): class Meta: model = GroundtruthRecord widgets = { 'content_type': forms.Hidden...
gpl-3.0
Madril/env
emacs.d/jde/java/src/jde/debugger/command/TraceThreads.java
3511
package jde.debugger.command; import java.util.List; import com.sun.jdi.ObjectReference; import com.sun.jdi.ThreadReference; import com.sun.jdi.request.EventRequestManager; import com.sun.jdi.request.ThreadDeathRequest; import com.sun.jdi.request.ThreadStartRequest; import jde.debugger.Etc; import jde.debugger.JDEExc...
gpl-3.0
Invertika/data
scripts/maps/ow-p0022-p0012-o0000.lua
1404
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
quintesse/java-webserv
src/main/java/org/codejive/websrv/config/HttpListenerConfig.java
5940
/* * HttpListenerConfig.java * * Created on Aug 11, 2007, 7:17:04 PM * Copyright Tako Schotanus * * This file is part of websrv. * * websrv 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 vers...
gpl-3.0
idega/com.idega.block.ldap
src/java/com/idega/core/ldap/business/LDAPUserBusinessHomeImpl.java
353
package com.idega.core.ldap.business; public class LDAPUserBusinessHomeImpl extends com.idega.business.IBOHomeImpl implements LDAPUserBusinessHome { protected Class getBeanInterfaceClass(){ return LDAPUserBusiness.class; } public LDAPUserBusiness create() throws javax.ejb.CreateException{ return (LDAPUserBus...
gpl-3.0
jonaski/strawberry
src/widgets/favoritewidget.cpp
2050
/* * Strawberry Music Player * This file was part of Clementine. * Copyright 2013, David Sansome <me@davidsansome.com> * * Strawberry 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
vmon/demystegofier
src/features/__init__.py
251
#All features __all__ = ["feature_average_request_interval", "feature_variance_request_interval", "feature_cycling_user_agent", "feature_html_to_image_ratio", "feature_request_depth", "feature_HTTP_response_code_rate", "feature_payload_size_average"]
gpl-3.0
rarog/TranslationManagerForAndroidApps
module/Setup/src/Controller/SetupController.php
18090
<?php /** * Translation Manager for Android Apps * * PHP version 7 * * @category PHP * @package TranslationManagerForAndroidApps * @author Andrej Sinicyn <rarogit@gmail.com> * @copyright 2017 Andrej Sinicyn * @license https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License version 3 or lat...
gpl-3.0
Mikescher/jClipCorn
src/main/de/jClipCorn/util/SimpleSerializableData.java
7689
package de.jClipCorn.util; import de.jClipCorn.util.exceptions.XMLFormatException; import de.jClipCorn.util.filesystem.FSPath; import de.jClipCorn.util.stream.CCStreams; import org.apache.commons.lang3.ArrayUtils; import org.jdom2.Attribute; import org.jdom2.DataConversionException; import org.jdom2.Document; import o...
gpl-3.0
dmnmsc/Unigram
Unigram/Unigram.Api/TL/TLUpdateWebPage.cs
747
// <auto-generated/> using System; namespace Telegram.Api.TL { public partial class TLUpdateWebPage : TLUpdateBase, ITLMultiPts { public TLWebPageBase WebPage { get; set; } public Int32 Pts { get; set; } public Int32 PtsCount { get; set; } public TLUpdateWebPage() { } public TLUpdateWebPage(TLBinaryReade...
gpl-3.0
malikkirchner/knuth
src/vol_iv.hpp
2953
// clang-format disable //**************************************************************************************// // Copyright (C) 2014 Malik Kirchner "malik.kirchner@gmx.net" // // // // This program is ...
gpl-3.0
v3c70r/SLS
src/lib/calibration/Calibrator.hpp
2320
#pragma once #include <core/ImageFileProcessor.h> #include <string> #include <condition_variable> namespace SLS { const int WINDOW_WIDTH = 1024; const int WINDOW_HEIGHT = 768; /*! Calibrator is a manual calibration tool to generate calibration * configuration from checkerboard images. The calibration images must be ...
gpl-3.0
exilium/pifarm-platform
app/scripts/services/AccountValidatorSvc.js
458
'use strict'; angular.module('pifarmApp') .factory('AccountValidatorSvc', ['Constants', function (Constants) { var Validator = {}; /* * Check if password is stronger than minimum length * @param string password * @return bool */ Validator.check_password_length = function (password) ...
gpl-3.0
FilippoLeon/ProjectPorcupine
Assets/Scripts/Controllers/BuildModeController.cs
9471
#region License // ==================================================== // Project Porcupine Copyright(C) 2016 Team Porcupine // This program comes with ABSOLUTELY NO WARRANTY; This is free software, // and you are welcome to redistribute it under certain conditions; See // file LICENSE, which is part of this source ...
gpl-3.0
pajato/GameChat
app/src/main/java/com/pajato/android/gamechat/database/handler/ProfileGroupChangeHandler.java
2680
/* * Copyright (C) 2016 Pajato Technologies LLC. * * This file is part of Pajato GameChat. * GameChat 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
starlays/My-library
src/layout.php
1524
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="style.css" /> <title><?php echo $active_page_title; ?></title> <...
gpl-3.0
1412chen/potentialPack
Potential_CosineAngle.cpp
991
#include "Potential_CosineAngle.h" #include "Math_Triangular.h" #include <cmath> using namespace Angle_Namespace; Potential_CosineAngle::Potential_CosineAngle ( double k, unsigned m, double delta ) noexcept : m_k( k ), m_m( m ), m_delta( delta ) {} double Potential_CosineAngle::ObjectiveFunction ( double co...
gpl-3.0
mbeckersys/MavLogAnalyzer
src/mavplot.cpp
32394
/** * @file mavplot.cpp * @brief Custom plot widget based on Qwt. * @author Martin Becker <becker@rcs.ei.tum.de> * @date 20.04.2014 This file is part of MavLogAnalyzer, Copyright 2014 by Martin Becker. MavLogAnalyzer is free software: you can redistribute it and/or modify it under the terms of th...
gpl-3.0
patrick246/tdesktop
Telegram/SourceFiles/media/view/media_clip_volume_controller.cpp
3499
/* This file is part of Telegram Desktop, the official desktop version of Telegram messaging app, see https://telegram.org Telegram Desktop 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
QiuShiqi/XiaoTian
Module/Form/ClientMainForm.java
12703
package Module.Form; import javax.swing.*; import javax.swing.plaf.basic.BasicListUI; import java.awt.event.*; import java.awt.*; import java.util.Vector; import java.util.HashMap; import Module.*; import Module.Base.*; import Module.Data.*; import Module.DirectUI.*; import Module.User.*; public class ClientMainFor...
gpl-3.0
dskleingeld/HomeAutomation
pi_Cpp/lamps/main.cpp
338
#include <iostream> //cout #include "lamps.h" int main(){ Lamps* lamps = new Lamps; // lamps->off(); // lamps->on(); lamps->off(lmp::BATHROOM); lamps->on(lmp::BATHROOM); while(1){ lamps->off(lmp::BATHROOM); lamps->on(lmp::BATHROOM); } //lamps.setState(lmp::KITCHEN, "{\"on\": true, \"bri\": 200, \"transiti...
gpl-3.0
hammock-dev/hammock
src/cz/krejciadam/hammock/FileIOManager.java
61614
/* * Class handles most of I/O work with files */ package cz.krejciadam.hammock; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.nio.file.Files; impor...
gpl-3.0
ericvader/cs3219r
src/main/java/sg/edu/nus/comp/cs3219r/ListenerServlet.java
553
package sg.edu.nus.comp.cs3219r; import javax.servlet.ServletContext; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; public class ListenerServlet implements ServletContextListener { public static ServletContext context; @Override public void contextInitialized(Ser...
gpl-3.0
wp-plugins/e-mailing-service
admin/send_user.php
19705
<div id="wrapper"> <header id="page-header"> <div class="wrapper"> <?php if ( is_plugin_active( 'admin-hosting/admin-hosting.php' ) ) { include(AH_PATH . '/include/entete.php'); } else { include(smPATH . '/include/entete.php'); } extract($_POST); extract($_GET); ?> </div> ...
gpl-3.0
hartwigmedical/hmftools
serve/src/main/java/com/hartwig/hmftools/serve/sources/iclusion/tools/IclusionExtractorTestApp.java
4887
package com.hartwig.hmftools.serve.sources.iclusion.tools; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.util.List; import com.hartwig.hmftools.common.drivercatalog.panel.DriverGene; import com.hartwig.hmftools.common.drivercatalog.panel.DriverGene...
gpl-3.0
XSZHOU/negf-reference
src/flens/fem/fem.cc
7755
#include <cmath> #include <fem/fem.h> #include <set> #include <sstream> namespace flens { //------------------------------------------------------------------------------ typedef std::pair<int,int> NodePair; bool operator<(const NodePair &p1, const NodePair &p2) { if (p1.first<p2.first) { return tru...
gpl-3.0
SeqWare/queryengine
seqware-queryengine-backend/src/main/java/com/github/seqware/queryengine/kernel/SeqWareQueryLanguageLexerWrapper.java
1556
/* * Copyright (C) 2012 SeqWare * * 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 distribute...
gpl-3.0
lgulyas/MEME
Plugins/BeanShell/ai/aitia/meme/scripting/bshcmds/geti.java
1356
/******************************************************************************* * Copyright (C) 2006-2013 AITIA International, Inc. * * 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, eithe...
gpl-3.0
Nithanaroy/ngn-events-rating
app/controllers/static_pages_controller.rb
347
class StaticPagesController < ApplicationController def welcome @coming_up = Event.order(from: :desc).limit(5) # First event in the Jumbotron @coming_up = @coming_up.where('created_at > ?', Time.now) if Rails.env.production? # in dev show everything @recently_added = Event.order(created_at: :desc).limit(4) e...
gpl-3.0
dmitry-vlasov/mdl
src/mdl/auxiliary/config/mdl_auxiliary_config_Mining.cpp
8774
/*****************************************************************************/ /* Project name: mdl - mathematics development language */ /* File name: mdl_auxiliary_config_Mining.cpp */ /* Description: Mining :: class for mdl source mining */ ...
gpl-3.0
ThilinaPeiris/Training-Tracker
TrainingTracker-SourceCode/signin.cpp
2064
#include "signin.h" #include "ui_signin.h" SignIn::SignIn(QWidget *parent) : QMainWindow(parent), ui(new Ui::SignIn) { ui->setupUi(this); statusBar()->setStyleSheet("background: rgb(52, 152, 219);"); } SignIn::~SignIn() { delete ui; } void SignIn::on_PushButton_SignIn_clicked() {...
gpl-3.0
ouyangyu/fdmoodle
lib/yuilib/3.13.0/widget-parent/widget-parent.js
26293
/* YUI 3.13.0 (build 508226d) Copyright 2013 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('widget-parent', function (Y, NAME) { /** * Extension enabling a Widget to be a parent of another Widget. * * @module widget-parent */ var Lang = ...
gpl-3.0
hotstepper13/alexa-gira-bridge
src/main/java/com/hotstepper13/alexa/gira/Trigger.java
6485
/******************************************************************************* * Copyright (C) 2017 Frank Mueller * * 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 th...
gpl-3.0
KWARC/mwetoolkit
bin/libs/filetype/ft_csv.py
4547
#!/usr/bin/python # -*- coding:UTF-8 -*- ################################################################################ # # Copyright 2010-2015 Carlos Ramisch, Vitor De Araujo, Silvio Ricardo Cordeiro, # Sandra Castellanos # # ft_csv.py is part of mwetoolkit # # mwetoolkit is free software: you can redistribute it a...
gpl-3.0
Kicer86/mdadm-qt
src/raid_info_tests.cpp
2429
#include <gmock/gmock.h> #include "mdadm_controller.hpp" using testing::_; using testing::NiceMock; class RaidInfoOperatorTest: public ::testing::TestWithParam<std::pair<RaidInfo, RaidInfo>> { }; TEST_P(RaidInfoOperatorTest, operatorLess) { const auto& raids = GetParam(); EXPECT_EQ( true, raids.first...
gpl-3.0
embryonic/poetry
proofreader/urls.py
222
from django.conf.urls import url from . import views app_name = 'proofreader' urlpatterns = [ url(r'^$', views.home, name='home'), url(r'^poetry/(?P<pk>\d+)?$', views.proofread_poetry, name='poetry'), ]
gpl-3.0
projectestac/alexandria
html/langpacks/sv/atto_fontcolor.php
1328
<?php // This file is part of Moodle - https://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle...
gpl-3.0
ralit/OfutonReading
src/org/ralit/ofutonreading/TickerView.java
6234
package org.ralit.ofutonreading; import java.util.LinkedList; import android.animation.Animator; import android.animation.TimeInterpolator; import android.animation.Animator.AnimatorListener; import android.animation.ObjectAnimator; import android.content.Context; import android.graphics.Bitmap; import android.graphi...
gpl-3.0
EnricoBeltramo/ArduDebug
PC interface/Project/ArduDebug/GraphDisplay/GraphLib/PlotterGraphTypes.cs
7264
using System; using System.Collections.Generic; using System.Text; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; using System.ComponentModel; using System.Drawing; /* Copyright (c) 2008-2014 DI Zimmermann Stephan (stefan.zimmermann@tele2.at) * * Permission is hereby gra...
gpl-3.0
TGAC/miso-lims
core/src/test/java/uk/ac/bbsrc/tgac/miso/core/data/ExperimentTest.java
2550
package uk.ac.bbsrc.tgac.miso.core.data; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.when; import java.util.ArrayList; import java.util.Collection; import java.util.List; import org.junit.Before; import org.junit.Test; import org.mockito.Mockito; import uk.ac.bbsrc.tgac.miso.core....
gpl-3.0
idega/platform2
src/is/idega/idegaweb/golf/block/image/data/ImageCatagoryAttributes.java
485
package is.idega.idegaweb.golf.block.image.data; public interface ImageCatagoryAttributes extends com.idega.data.IDOLegacyEntity { public java.lang.String getAttributeName(); public java.lang.String getAttributeValue(); public int getImageCatagoryId(); public java.lang.String getName(); public void setAttributeN...
gpl-3.0
dismine/Valentina_git
src/test/TranslationsTest/tst_tstranslation.cpp
7234
/************************************************************************ ** ** @file tst_tstranslation.cpp ** @author Roman Telezhynskyi <dismine(at)gmail.com> ** @date 13 12, 2015 ** ** @brief ** @copyright ** This source code is part of the Valentina project, a pattern making ** program, whose al...
gpl-3.0
noobavss/nooba-plugin-bgsubtractor
BgsubtractorPlugin/package_bgs/dp/DPAdaptiveMedianBGS.cpp
2500
#include "DPAdaptiveMedianBGS.h" DPAdaptiveMedianBGS::DPAdaptiveMedianBGS() : firstTime(true), frameNumber(0), showOutput(true), threshold(40), samplingRate(7), learningFrames(30) { std::cout << "DPAdaptiveMedianBGS()" << std::endl; } DPAdaptiveMedianBGS::~DPAdaptiveMedianBGS() { std::cout << "~DPAdaptiveMedianBG...
gpl-3.0
RtcNbClient/RtcNbClient
RtcNbClientPlans/RtcNbClientPlansFacade/src/main/java/pl/edu/amu/wmi/kino/rtc/client/api/plans/items/RtcPlanItemType.java
949
/* * Copyright (C) 2009-2011 RtcNbClient Team (http://rtcnbclient.wmi.amu.edu.pl/) * * This file is part of RtcNbClient. * * RtcNbClient 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
zeburon/sailfish-batterylog
translations/harbour-batterylog-de.ts
7767
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="de"> <context> <name>AboutPage</name> <message> <source>Battery Log</source> <translation>Battery Log</translation> </message> <message> <source>Version %1</source> <translation>Version %1</t...
gpl-3.0
odotopen/PixelDungeonLegend
src/com/watabou/pixeldungeon/actors/buffs/Buff.java
3749
/* * Pixel Dungeon * Copyright (C) 2012-2014 Oleg Dolya * * 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
xposure/zSprite_Old
Source/Framework/zSprite.Sandbox/Terasology/utilities/procedural/SimplexNoise.java
18857
/* * Copyright 2013 MovingBlocks * * 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
pt12lol/opeNotes
opeNotes/rhythmicValue.py
2629
#!/usr/bin/python # -*- coding: utf-8 -*- from functools import total_ordering @total_ordering class RhythmicValue(object): """Represents class of music rhythmic values. Attrs: value (int): describing part of whole note (should be positive integer power of 2) dots (int): descri...
gpl-3.0
fenwick67/bumbler
lib/hydrate-posts.js
2508
/* take a post and hydrate it */ var marked = require('marked'); var mime = require('mime-types'); var plugins = require('./plugins'); var parseFrontMatter = require("yaml-front-matter").loadFront; marked.setOptions({ renderer: new marked.Renderer(), gfm: true, tables: true, breaks: true, pe...
gpl-3.0
desci/tg-cryptoforexbot
plugins/coinmarketcap/valid.py
3053
# vim:fileencoding=utf-8 ## Tests for available coinmarketcap parameters (assuming our json files are updated) import json from cryptoforexbot import texts class valid(): def __init__(self): pass def crypto(self, string): try: valid_cryptos = json.load(open('plugins/coinmarketcap/cryptos.json')) ...
gpl-3.0
iTXTech/Daedalus
app/src/main/java/org/itxtech/daedalus/util/Logger.java
2607
package org.itxtech.daedalus.util; import android.util.Log; import org.itxtech.daedalus.Daedalus; import java.io.PrintWriter; import java.io.StringWriter; import java.text.SimpleDateFormat; import java.util.Date; /** * Daedalus Project * * @author iTX Technologies * @link https://itxtech.org * <p> * This progr...
gpl-3.0
mconf/mconf-mobile
bbb-android-core/jni/iva/common/compatibility/common.cpp
27382
extern "C" { #include <libavcodec/avcodec.h> }; #define _WINSOCKAPI_ /* Prevent inclusion of winsock.h in windows.h */ #include <windows.h> #include <Commdlg.h> #include <shlobj.h> #include <iostream> using namespace std; #include <stdio.h> #include <stdarg.h> #include <string.h> #include <time.h> #i...
gpl-3.0
satishagrwal/Assignment
freeswitch_git/mod/languages/mod_java/src/org/freeswitch/swig/SWIGTYPE_p_switch_channel_state_t.java
780
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.12 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * -----------------------------...
gpl-3.0