repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
cmd2001/Codes
Projects_20170403/coprime_f.cpp
954
#include<iostream> #include<cstdio> #include<cstring> #include<cmath> using namespace std; const int maxn=110; long long int lst[maxn],cnt,ans,x; int t; inline bool judge(register long long int x) { if(x==1) return 1; for(int i=2,sq=sqrt(x);i<=sq;i++) { if(!(x%i)) return 1; } return 0; } inline ...
gpl-3.0
Shirasho/Cascade
scripts/sourcify-cli.js
1176
const path = require('path'); const shell = require('shelljs'); const argv = require('yargs').argv; let which; shell.config.silent = true; if (shell.which('npm')) { which = 'npm'; } if (shell.which('yarn')) { which = 'yarn'; } if (!which) { shell.echo('Error: Yarn or NPM required (Yarn preferred). Ins...
gpl-3.0
joaduo/mepinta
plugins/c_and_cpp/k3dv1/plugins/c_and_cpp/processors/k3dv1/mesh/generators/polyhedron/PolyCylinder/PolyCylinder__0001_code/PolyCylinder.cpp
9199
//Mepinta //Copyright (c) 2011-2012, Joaquin G. Duo, mepinta@joaquinduo.com.ar // // K-3D // Copyright (c) 1995-2006, Timothy M. Shead // //This file is part of Mepinta. // //Mepinta 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...
gpl-3.0
davidlaietta/obm-genesis-child
front-page.php
713
<?php /** * Front Page Template * * Child Theme Name: OBM-Genesis-Child * Author: Orange Blossom Media * Url: https://orangeblossommedia.com/ * * @package OBM-Genesis-Child */ // Execute custom home page. If no widgets active, then loop. add_action( 'genesis_meta', 'obm_custom_homepage' ); /** * Controls dis...
gpl-3.0
dmsimard/ara
ara/setup/__init__.py
1094
# Copyright (c) 2018 Red Hat, Inc. # # This file is part of ARA Records Ansible. # # ARA 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 v...
gpl-3.0
AltOS-Rust/cm0-port
src/interrupt/mod.rs
4891
/* * Copyright (C) 2017 AltOS-Rust 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 option) any later version. * * This program is distribute...
gpl-3.0
Traderain/Wolven-kit
WolvenKit.CR2W/Types/W3/RTTIConvert/W3InteractionSwitch.cs
999
using System.IO; using System.Runtime.Serialization; using WolvenKit.CR2W.Reflection; using FastMember; using static WolvenKit.CR2W.Types.Enums; namespace WolvenKit.CR2W.Types { [DataContract(Namespace = "")] [REDMeta] public class W3InteractionSwitch : W3PhysicalSwitch { [Ordinal(1)] [RED("isActivatedByPlayer"...
gpl-3.0
smourph/mes-elus
tests/Entity/Datagouv/Acteur/InfoNaissanceTest.php
1352
<?php namespace App\Tests\Entity\Datagouv\Acteur; use App\Entity\Datagouv\Acteur\InfoNaissance; use DateTime; use PHPUnit\Framework\TestCase; /** * Class InfoNaissanceTest. */ class InfoNaissanceTest extends TestCase { public function testGetterAndSetter(): void { $infoNaissance = new InfoNaissance...
gpl-3.0
rbuj/FreeRouting
src/main/java/net/freerouting/freeroute/BoardMenuParameter.java
2528
/* * Copyright (C) 2014 Alfons Wirtz * website www.freerouting.net * * 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) a...
gpl-3.0
Better-Aether/Better-Aether
src/main/java/com/gildedgames/aether/common/entities/ai/EntityAI.java
335
package com.gildedgames.aether.common.entities.ai; import net.minecraft.entity.Entity; import net.minecraft.entity.ai.EntityAIBase; public abstract class EntityAI<T extends Entity> extends EntityAIBase { private T entity; public EntityAI(T entity) { this.entity = entity; } public T entity() { return this...
gpl-3.0
hbp-unibi/cypress
test/core/test_connector.cpp
16843
/* * Cypress -- C++ Spiking Neural Network Simulation Framework * Copyright (C) 2016 Andreas Stöckel * * 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...
gpl-3.0
swarm-lab/videoplayR
src/vpModule.cpp
3430
#include <RcppArmadillo.h> // [[Rcpp::depends(RcppArmadillo)]] #include "opencv2/opencv.hpp" #include "vpImage.hpp" #include "vpVideo.hpp" #include "vpStream.hpp" #include "io.hpp" #include "imgProc.hpp" RCPP_MODULE(vp) { Rcpp::class_<vpImage>("vpImage") .field_readonly("type", &vpImage::type, "Returns image typ...
gpl-3.0
ckaestne/CIDE
CIDE_Language_gCIDE/src/tmp/generated_gcide/Grammar.java
1243
package tmp.generated_gcide; import cide.gast.*; import cide.gparser.*; import cide.greferences.*; import java.util.*; public class Grammar extends GenASTNode implements ISourceFile { public Grammar(ASTStringNode findintroductionblock, ArrayList<Production> production, ASTStringNode eof, Token firstToken, Tok...
gpl-3.0
MinedroidFTW/DualCraft
org/server/classic/model/impl/WaterBehaviour.java
4770
package dualcraft.org.server.classic.model.impl; /*License ==================== Copyright (c) 2010-2012 Daniel Vidmar We use a modified GNU gpl v 3 license for this. GNU gpl v 3 is included in License.txt The modified part of the license is some additions which state the following: "Redistributions of this project...
gpl-3.0
Endika/odoo-saas-tools
saas_server/__openerp__.py
467
{ 'name': 'SaaS Server', 'version': '1.0.0', 'author': 'Ivan Yelizariev', 'category': 'SaaS', 'license': 'GPL-3', 'website': 'https://it-projects.info', 'depends': ['auth_oauth', 'saas_base', 'saas_utils', 'website'], 'data': [ 'views/saas_server.xml', 'views/res_config.x...
gpl-3.0
munhyunsu/Hobby
SocketExample/tcp_client.py
274
#!/usr/bin/env python3 # Echo client program (TCP) import socket HOST = '127.0.0.1 ' PORT = 50007 with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: s.connect((HOST, PORT)) s.sendall(b'Hello, world') data = s.recv(1024) print('Received', repr(data))
gpl-3.0
pschmitt/hass-config
config/hass/www/community/lovelace-hass-aarlo/hass-aarlo.js
44757
const LitElement = Object.getPrototypeOf( customElements.get("ha-panel-lovelace") ); const html = LitElement.prototype.html; class AarloGlance extends LitElement { // To quieten down JetBrains... // created_at_pretty; // states; // image_click; // door_bell; // door_lock; // do...
gpl-3.0
abueldahab/medalyser
library/Zend/Log/Exception.php
1147
<?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 a...
gpl-3.0
smtech/canvas-management
index.php
2981
<?php require_once 'common.inc.php'; use smtech\CanvasManagement\Toolbox; use smtech\ReflexiveCanvasLTI\LTI\ToolProvider; use smtech\ReflexiveCanvasLTI\Exception\ConfigurationException; /* store any requested actions for future handling */ $action = (empty($_REQUEST['action']) ? ACTION_UNSPECIFIED : strtolow...
gpl-3.0
Interfacelab/ilab-media-tools
views/base/fields/password.blade.php
504
<div id="setting-{{$name}}" {{(($conditions) ? 'data-conditions="true"' : '')}}> <div style="display:none"> <input type="password" tabindex="-1"> </div> <input size='40' type='password' id="{{$name}}" name='{{$name}}' value='{{$value}}' placeholder='{{$placeholder}}'> @if($description) <p class='description'>{!! $d...
gpl-3.0
zhdk/madek
app/controllers/keywords_controller.rb
462
class KeywordsController< ApplicationController def index query = params[:query] with = params[:with] keywords = Keyword.hacky_search(query).select "DISTINCT ON (keyword_term_id) * " respond_to do |format| format.json { # TODO sort directly on sql query render :json => view_co...
gpl-3.0
mbednarski/Chiron
chiron/plotter.py
4558
import os import datetime import abc import numpy as np import matplotlib.pyplot as plt import sys import logging logger = logging.getLogger(__name__) handler = logging.StreamHandler(sys.stdout) handler.setLevel(logging.INFO) formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s') hand...
gpl-3.0
ChaoticEvil/django_base
src/apps/news/admin.py
1998
from django.contrib import admin from django.utils.html import format_html from django.utils.translation import ugettext_lazy as _ from .models import Category, Tag, News class CategoryAdmin(admin.ModelAdmin): fieldsets = [ ( _('Категория'), {'fields': [('title', 'slug')]} ...
gpl-3.0
informatom/mercator
spec/controllers/orders_controller_spec.rb
52351
require 'spec_helper' describe OrdersController, :type => :controller do before :each do no_redirects and act_as_user @basket = create(:order, user_id: @user.id) @product = create(:product) @lineitem = create(:lineitem, order_id: @basket.id, user_id: @user.id, ...
gpl-3.0
mwveliz/siglas-mppp
apps/funcionarios/modules/funcionario/lib/funcionarioGeneratorConfiguration.class.php
320
<?php /** * funcionario module configuration. * * @package siglas-(institucion) * @subpackage funcionario * @author Your name here * @version SVN: $Id: configuration.php 0.1. 2011-01-23 18:33:00 livio.lopez $ */ class funcionarioGeneratorConfiguration extends BaseFuncionarioGeneratorConfiguration { }
gpl-3.0
magic3org/magic3
widgets/default_content/include/container/default_contentCommonDef.php
4161
<?php /** * index.php用共通定義クラス * * PHP versions 5 * * LICENSE: This source file is licensed under the terms of the GNU General Public License. * * @package Magic3 Framework * @author 平田直毅(Naoki Hirata) <naoki@aplo.co.jp> * @copyright Copyright 2006-2018 Magic3 Project. * @license http://www.gnu.org/...
gpl-3.0
marcgenou/kanpai
kanpai/db/seeds.rb
16553
# This file should contain all the record creation needed to seed the database with its default values. # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). # # Examples: # # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]) # Mayor.create(name: 'Emanuel...
gpl-3.0
MHTaleb/Encologim
lib/JasperReport/src/net/sf/jasperreports/engine/export/DefaultHyperlinkProducerFactory.java
2105
/* * JasperReports - Free Java Reporting Library. * Copyright (C) 2001 - 2016 TIBCO Software Inc. All rights reserved. * http://www.jaspersoft.com * * Unless you have purchased a commercial license agreement from Jaspersoft, * the following license terms apply: * * This program is part of JasperReports. * * J...
gpl-3.0
AllaMaevskaya/AliceO2
Detectors/TPC/simulation/macro/laserTrackGenerator.C
2446
// Copyright CERN and copyright holders of ALICE O2. This software is // distributed under the terms of the GNU General Public License v3 (GPL // Version 3), copied verbatim in the file "COPYING". // // See http://alice-o2.web.cern.ch/license for full licensing information. // // In applying this license CERN does not ...
gpl-3.0
rmelo19/rmelo19-arduino
fritzing/fritzing.0.9.2b.64.pc/parts/part-gen-scripts/misc_scripts/replace.py
2407
# usage: # replace.py -d <directory> -f <find> -r <replace> -s <suffix> # # <directory> is a folder, with subfolders, containing <suffix> files. In each <suffix> file in the directory or its children # replace <text> with <replace> import sys, os, re import optparse def usage(): print """ usage:...
gpl-3.0
blacklagoon/Xcore-406
src/server/worldserver/Main.cpp
5023
/* * Copyright (C) 2005-2011 MaNGOS <http://www.getmangos.com/> * * Copyright (C) 2008-2011 Trinity <http://www.trinitycore.org/> * * Copyright (C) 2010-2011 Project SkyFire <http://www.projectskyfire.org/> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU ...
gpl-3.0
dschrimpf/randi3-core
src/main/scala/org/randi3/dao/AuditDao.scala
2365
package org.randi3.dao import scalaz._ import Scalaz._ import scala.slick.session.Database.threadLocalSession import java.sql.Timestamp import org.randi3.utility._ import collection.mutable.ListBuffer import org.randi3.model.{ActionType, AuditEntry} import org.joda.time.DateTime import scala.slick.lifted.Parameters t...
gpl-3.0
valecs97/Contest
Contest/testFunction/testIteration_1.py
1603
''' Created on Oct 18, 2016 @author: Vitoc ''' from iteration_1.addModule import addModuleClass from iteration_1.modifyModule import modifyModuleClass class testIteration_1Class: def __init__(self): return def testAddOp(self): addClass = addModuleClass() tr...
gpl-3.0
lidarr/Lidarr
src/NzbDrone.Core.Test/Download/CompletedDownloadServiceTests/ImportFixture.cs
18362
using System.Collections.Generic; using FizzWare.NBuilder; using FluentAssertions; using Moq; using NUnit.Framework; using NzbDrone.Common.Disk; using NzbDrone.Core.DecisionEngine; using NzbDrone.Core.Download; using NzbDrone.Core.Download.TrackedDownloads; using NzbDrone.Core.History; using NzbDrone.Core.MediaFiles; u...
gpl-3.0
jlpoolen/utsushi
drivers/esci/action.hpp
7051
// action.hpp -- template and derived ESC/I protocol commands // Copyright (C) 2012, 2015 SEIKO EPSON CORPORATION // Copyright (C) 2009 Olaf Meeuwissen // // License: GPL-3.0+ // Author : AVASYS CORPORATION // Author : Olaf Meeuwissen // Origin : FreeRISCI // // This file is part of the 'Utsushi' package. // ...
gpl-3.0
dumischbaenger/ews-example
src/main/java/de/dumischbaenger/ws/CreateItemResponseType.java
890
package de.dumischbaenger.ws; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * <p>Java-Klasse für CreateItemResponseType complex type. * * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser...
gpl-3.0
leobaiano/WC-MaxiPago
helper/post-type.php
1887
<?php /** * LB Post Type * * @author Leo Baiano <ljunior2005@gmail.com> */ class LB_Post_Type_WC_MaxiPago { /** * Slug. * * @var string */ private $slug; /** * Name. * * @var string */ private $name; /** * Supports. * * @var array */ private $supports; /** * Domain. * * @...
gpl-3.0
Ribesg/NPlugins
NGeneral/src/main/java/fr/ribesg/bukkit/ngeneral/simplefeature/TimeCommand.java
3657
/*************************************************************************** * Project file: NPlugins - NGeneral - TimeCommand.java * * Full Class name: fr.ribesg.bukkit.ngeneral.simplefeature.TimeCommand * * * * ...
gpl-3.0
NHOrus/OpenXcom
src/Battlescape/AIModule.cpp
60187
/* * Copyright 2010-2016 OpenXcom Developers. * * This file is part of OpenXcom. * * OpenXcom is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any ...
gpl-3.0
bizkut/BudakJahat
System/UI/Elements/Dropdown.lua
4542
local DiesalGUI = LibStub("DiesalGUI-1.0") local DiesalTools = LibStub("DiesalTools-1.0") function br.ui:createDropdown(parent, text, itemlist, default, tooltip, tooltipDrop, hideCheckbox) ------------------------------- ----Need to calculate Y Pos---- ------------------------------- local Y = -5 ...
gpl-3.0
CNR-ISMAR/rectifiedgrid
test/test_algebra.py
385
from rectifiedgrid.demo import get_demo_data import numpy as np class TestAlgebra(object): def test_positive(self): grid = get_demo_data() grid.positive() assert (grid.min(), grid.max()) == (0., 4.) def test_gaussian_filter(self): grid = get_demo_data('rg9x9') grid.ga...
gpl-3.0
Copona/copona
catalog/controller/extension/module/affiliate.php
1843
<?php class ControllerExtensionModuleAffiliate extends Controller { public function index() { $this->load->language('extension/module/affiliate'); $data['heading_title'] = $this->language->get('heading_title'); $data['text_register'] = $this->language->get('text_register'); $data[...
gpl-3.0
MonokuroInzanaito/ygopro-777DIY
expansions/script/c60159218.lua
5418
--与笼中鸟的送别 function c60159218.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(60159218,1)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN...
gpl-3.0
projectestac/alexandria
html/langpacks/ko/cachestore_static.php
1053
<?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
ldbc/ldbc_driver
src/main/java/com/ldbc/driver/csv/charseeker/ThreadAheadReadable.java
5006
/** * Copyright (c) 2002-2014 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j 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 Foundati...
gpl-3.0
Minestar/ConAir
src/main/java/de/minestar/conair/network/server/AbstractServerPacketHandler.java
957
/* * Copyright (C) 2013 MineStar.de * * This file is part of ConAir. * * ConAir 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. * * ConAir is distributed in the ...
gpl-3.0
iceblow/beilaile
src/main/webapp/res/js/piecesPrint/distributeDetailedOrder.js
3305
/** * 详单表 */ var url = location.search; //获取url中"?"符后的字串 var str = location.search.substr(1); $(function() { // 分页 if(str.length==0){ loadPageDatas(1); }else{ firstLoadData("/distributeDetailedOrder/distributeDetailedOrderBypage.do?orderId="+str, 1); } }); //分页 function loadPageDatas(index) { firstLoadDat...
gpl-3.0
GenaBitu/NIMP
src/Nodes/Sharpen.cpp
185
#include "Nodes/Sharpen.hpp" Sharpen::Sharpen() : KernelConvolution{3} { kernel->set({0, -1, 0, -1, 5, -1, 0, -1, 0}); } std::string Sharpen::nodeName() { return "Sharpen"; }
gpl-3.0
fhaer/BPMN-XPDL-to-AristaFlow
src/de/bpmnaftool/model/aristaflow/graph/node/AndSplitNode.java
728
package de.bpmnaftool.model.aristaflow.graph.node; /** * An AndJoinSplit is used to start a new branch. In other words, from this * AndJoinSplit on, there may be more than one outgoing edge. This allows all * branches (outgoing edges) to be executed parallel. * No activity can be assigned to this type of nod...
gpl-3.0
martinrotter/textilosaurus
src/libtextosaurus/saurus/external-tools/predefinedtools.cpp
11161
// This file is distributed under GNU GPLv3 license. For full license text, see <project-git-repository-root-folder>/LICENSE.md. #include "saurus/external-tools/predefinedtools.h" #include "common/network-web/networkfactory.h" #include "definitions/definitions.h" #include "saurus/miscellaneous/application.h" #...
gpl-3.0
sphenical/cqlite
src/cqlite/database.hpp
4998
/* * LICENSE * * Copyright (c) 2016, David Daniel (dd), david@daniels.li * * database.hpp is free software copyrighted by David Daniel. * * 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,...
gpl-3.0
Securecom/Securecom-Messaging
src/com/securecomcode/messaging/dom/smil/SmilRegionElementImpl.java
10137
/* * Copyright (C) 2007-2008 Esmertec AG. * Copyright (C) 2007-2008 The Android Open Source Project * * 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/lice...
gpl-3.0
masterucm1617/botzzaroni
BotzzaroniDev/GATE_Developer_8.4/src/main/gate/gui/ontology/TransitivePropertyAction.java
6515
/* * Copyright (c) 1995-2012, The University of Sheffield. See the file * COPYRIGHT.txt in the software or at http://gate.ac.uk/gate/COPYRIGHT.txt * * This file is part of GATE (see http://gate.ac.uk/), and is free * software, licenced under the GNU Library General Public License, * Version 2, June 1991 (in ...
gpl-3.0
andreymal/mini_fiction
mini_fiction/logic/caching.py
138
from cachelib import BaseCache from flask import current_app def get_cache() -> BaseCache: return current_app.cache # type: ignore
gpl-3.0
eliteironlix/portaio2
Core/Utility Ports/ActivatorSharp/Spells/Heals/imbue.cs
1441
using System; using Activator.Base; using LeagueSharp.Common; using EloBuddy; using LeagueSharp.Common; namespace Activator.Spells.Heals { class imbue : CoreSpell { internal override string Name => "imbue"; internal override string DisplayName => "Imbue | Q"; internal override float...
gpl-3.0
erikgrinaker/BOUT-dev
tools/pylib/boututils/efit_analyzer.py
10886
# -*- coding: utf-8 -*- #import matplotlib #matplotlib.use('Qt4Agg') #from pylab import * from __future__ import absolute_import from __future__ import division from builtins import range from past.utils import old_div import numpy as np from bunch import Bunch from .radial_grid import radial_grid from .analyse_equil_...
gpl-3.0
bizkut/BudakJahat
Rotations/Rogue/Subtlety/SubS0ul.lua
72639
local rotationName = "|cffFF6EB4 SubS0ul - 9.x" local opener = true local resetButton local dotBlacklist = "135824|139057|129359|129448|134503|137458|139185|120651" local stunSpellList = "274400|274383|257756|276292|268273|256897|272542|272888|269266|258317|258864|259711|258917|264038|253239|269931|270084|270482|270506...
gpl-3.0
nontster/lazybee
src/main/java/th/co/ais/enterprisecloud/domain/InterfaceTypeEnums.java
101
package th.co.ais.enterprisecloud.domain; public enum InterfaceTypeEnums { UPLINK, INTERNAL }
gpl-3.0
randi2/randi2
src/test/java/de/randi2/simulation/unit/distribution/ConcreteDistributionTest.java
2377
package de.randi2.simulation.unit.distribution; import static junit.framework.Assert.assertEquals; import static junit.framework.Assert.assertTrue; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.junit.Test; import de.randi2.simulation.distribution.ConcreteDistribution; import...
gpl-3.0
TobiasDanzeglocke/ToDoList-Maker
src/ToDoList-Maker/ToDoList-Maker/Persistence/PersistenceUnit.cs
3370
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ToDoList_Maker.Model; using ToDoList_Maker.Persistence.Validation; namespace ToDoList_Maker.Persistence { public abstract class PersistenceUnit : IPersistenceUnit { #region Constructo...
gpl-3.0
Fire-Proof/LoLVRSpectate
LoLVRSpectate/memorpy/Address.py
3444
# Author: Nicolas VERDIER # This file is part of memorpy. # # memorpy 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. # # memorpy is di...
gpl-3.0
joancipria/Swallow
js/dom-drag.js
4235
/* This file is part of Swallow. Swallow 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. Swallow is distributed in the ...
gpl-3.0
mediathekview/MediathekView
src/main/java/mediathek/tool/cellrenderer/CellRendererPset.java
2413
package mediathek.tool.cellrenderer; import mediathek.config.Icons; import mediathek.daten.DatenPset; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import javax.swing.*; import javax.swing.table.DefaultTableCellRenderer; import java.awt.*; @SuppressWarnings("serial") public clas...
gpl-3.0
Hamlabs/phpMyAPRS
examples/comm.php
415
<?php echo "boot..."; require_once('classes/aprsBootstrap.class.php'); aprsBootstrap::boot('config.ini'); echo "done.\n"; echo "APRS-IS..."; // Set up APRS-IS connection $aprs = new aprsIsConnection(); echo "done."; echo "fork tx...\n"; $aprs->forkTransmitSpooler(); echo "fork beacon...\n"; $aprs->forkBeaconSpooler...
gpl-3.0
Better-Aether/Better-Aether
src/main/java/com/gildedgames/aether/client/ui/minecraft/viewing/MinecraftInputProvider.java
3276
package com.gildedgames.aether.client.ui.minecraft.viewing; import com.gildedgames.aether.client.ui.data.rect.Rect; import com.gildedgames.aether.client.ui.data.rect.RectHolder; import com.gildedgames.aether.client.ui.input.InputProvider; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.ScaledRes...
gpl-3.0
confiscate/timetrack
app/src/main/java/com/henrystudios/henry/timetrack/StorageManager.java
6358
package com.henrystudios.henry.timetrack; import android.content.Context; import android.content.SharedPreferences; import java.util.ArrayList; import java.util.Collections; import java.util.Map; /** * Created by silvio on 4/25/15. */ public class StorageManager { private static String TASK_STORE = "com.henrys...
gpl-3.0
Pochwar/FishBlock
public/js/serie.js
2064
$(document).ready(function() { $(".viewed").click(function(e) { e.preventDefault(); var button = $("#" + e.target.id); var data = {}; if (button.hasClass("btn-warning")) { button.removeClass("btn-warning"); button.addClass("btn-success"); // button.html("&#10003; {{ __(\"VIEWED_TRUE\") }}"...
gpl-3.0
Merg3D/Titan-Designer
src/ui/ScrollContainer.cpp
1820
#include "ScrollContainer.h" #include "TextBox.h" #include "graphics/Renderer.h" ScrollContainer::ScrollContainer() { use_vert_slider(true); } ScrollContainer::~ScrollContainer() { } //void ScrollContainer::init(const rect2 &p_render_area) //{ // Container::init(p_render_area); //} void ScrollContainer::use_ve...
gpl-3.0
eMoflon/emoflon-ibex
org.emoflon.ibex.gt.statemodel/src-gen/org/emoflon/ibex/gt/StateModel/impl/ComplexParameterImpl.java
3527
/** */ package org.emoflon.ibex.gt.StateModel.impl; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.InternalEObject; import org.eclipse.emf.ecore.impl.ENotificationImpl; import org.emoflon.ibex.gt.StateModel.Com...
gpl-3.0
ngageoint/elasticgeo
gt-elasticsearch/src/main/java/mil/nga/giat/data/elasticsearch/ElasticMappings.java
924
/* * This file is hereby placed into the Public Domain. This means anyone is * free to do whatever they wish with this file. */ package mil.nga.giat.data.elasticsearch; import java.util.Map; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; @SuppressWarnings("unused") class ElasticMappings { priv...
gpl-3.0
milhcbt/OrthancMirror
Core/HttpServer/MongooseServer.cpp
25199
/** * Orthanc - A Lightweight, RESTful DICOM Store * Copyright (C) 2012-2015 Sebastien Jodogne, Medical Physics * Department, University Hospital of Liege, Belgium * * 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...
gpl-3.0
scalexm/Desperion_legacy
Login/World.cpp
4005
/* This file is part of Desperion. Copyright 2010, 2011 LittleScaraby, Nekkro Desperion 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 l...
gpl-3.0
alariq/mc2
mclib/stuff/scalar.cpp
3305
//===========================================================================// // File: scalar.cpp // // Contents: Base information used by all MUNGA source files // //---------------------------------------------------------------------------// ...
gpl-3.0
uhm-coe/kapa
db/migrate/20161013100421_add_user_id_index_on_timestamps.rb
169
class AddUserIdIndexOnTimestamps < ActiveRecord::Migration[4.2] def change change_table :timestamps, :bulk => true do |t| t.index :user_id end end end
gpl-3.0
rbournissent/accountant_duck
test.rb
80
require './tests/test_helper' Dir["./tests/unit/*.rb"].each { |rb| require rb }
gpl-3.0
FernandoTBarros/Werewolf
Werewolf for Telegram/Telegram.Bot/Types/CallbackQuery.cs
2648
using Newtonsoft.Json; using Telegram.Bot.Types.InlineKeyboardButtons; namespace Telegram.Bot.Types { /// <summary> /// This object represents an incoming callback query from a <see cref="InlineKeyboardButton"/>. If the button that originated the query was attached to a <see cref="Message"/> sent by the bot, t...
gpl-3.0
lindareijnhoudt/neo4j-ehri-plugin
ehri-frames/src/main/java/eu/ehri/project/models/events/SystemEventQueue.java
1477
package eu.ehri.project.models.events; import com.tinkerpop.blueprints.Vertex; import com.tinkerpop.frames.modules.javahandler.JavaHandler; import com.tinkerpop.frames.modules.javahandler.JavaHandlerContext; import com.tinkerpop.pipes.util.Pipeline; import eu.ehri.project.definitions.Ontology; import eu.ehri.project.m...
gpl-3.0
lrpirlet/Marlin
Marlin/src/HAL/STM32/eeprom_if_iic.cpp
1610
/** * Marlin 3D Printer Firmware * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
gpl-3.0
TexasLoki/Piston
src/main/java/org/pistonmc/exception/protocol/ProtocolNotFoundException.java
305
package org.pistonmc.exception.protocol; public class ProtocolNotFoundException extends ProtocolException { private static final long serialVersionUID = 396294565259799441L; public ProtocolNotFoundException(int version) { super(version, "Could not find Protocol v" + version); } }
gpl-3.0
jeremiah-c-leary/vhdl-style-guide
vsg/tests/vhdlFile/test_use_clause.py
702
import os import unittest from vsg import vhdlFile from vsg.tests import utils sLrmUnit = 'use_clause' lFile, eError =vhdlFile.utils.read_vhdlfile(os.path.join(os.path.dirname(__file__), sLrmUnit,'classification_test_input.vhd')) oFile = vhdlFile.vhdlFile(lFile) class test_token(unittest.TestCase): def test...
gpl-3.0
TypedScroll/Lovercraft.Pixel.Dungeon
core/src/main/java/com/shatteredpixel/lovecraftpixeldungeon/sprites/ItemSpriteSheet.java
24554
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2016 Evan Debenham * * Lovecraft Pixel Dungeon * Copyright (C) 2016-2017 Leon Horn * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public L...
gpl-3.0
EdoMacchi/OF-dev
src/dynamicMesh/meshCut/splitCell/splitCell.C
3516
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\/ M anipulation | --------...
gpl-3.0
CrossRef/cocytus
cocytus-input.py
1368
from rq import Queue from redis import Redis import compare_change import crossref_push import socketIO_client import time import signal import logging from config import REDIS_LOCATION, HEARTBEAT_INTERVAL logging.basicConfig(filename='logs/input.log', level=logging.INFO, format='%(asctime)s %(message)s') logging.info...
gpl-3.0
geminy/aidear
oss/qt/qt-everywhere-opensource-src-5.9.0/qtbase/src/corelib/xml/qxmlutils.cpp
15419
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the QtCore module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding valid commerc...
gpl-3.0
MikeMatt16/Abide
Abide.Guerilla/Abide.Tag.Cache/Generated/ScenarioDetailObjectCollectionPaletteBlock.Generated.cs
2346
//------------------------------------------------------------------------------ // <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
Sw24Softwares/StarkeVerben
app/src/main/java/org/sw24softwares/starkeverben/Core/Settings.java
1009
package org.sw24softwares.starkeverben.Core; import java.util.Vector; public class Settings { protected Vector<Verb> mVerbs; protected String[] mFormStrings = new String[6]; protected Boolean mDebug = false; public Settings() { } // Setters public void setVerbs(Vector<Verb> verbs) { ...
gpl-3.0
l2jserver2/l2jserver2
l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/java/com/l2jserver/model/template/character/CharacterRace.java
828
package com.l2jserver.model.template.character; import javax.xml.bind.annotation.XmlType; /** * Represents the character race. * * @author <a href="http://www.rogiel.com">Rogiel</a> */ @XmlType(name = "CharacterRaceType") @SuppressWarnings("javadoc") public enum CharacterRace { HUMAN(0x00), ELF(0x01), DARK_ELF(...
gpl-3.0
bengotow/electron-RxDB
spec/runner/index.js
432
import {app, BrowserWindow} from 'electron'; import Coordinator from '../../src/browser/coordinator'; global.databaseCoordinator = new Coordinator(); function createMainWindow() { const win = new BrowserWindow({ width: 600, height: 400, show: false, }); win.loadURL(`file://${__dirname}/index.html`)...
gpl-3.0
Anonrate/AqScripts
src/AqScripts/Framework/Interfaces/IAqPainter.java
4288
package AqScripts.Framework.Interfaces; import java.awt.*; /** * IAqPainter * * IAqPainter is Created and Coded by Anonrate, and is to be used only with the project AqScripts. * * Created and Coded on 4/14/2015. * @author Anonrate */ public interface IAqPainter { /** * Gets the { @link Color } of the ...
gpl-3.0
christophertfoo/TextEx
test/pages/AddPage.java
6457
/* * Copyright (C) 2013 Christopher Foo * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This ...
gpl-3.0
murat-o/weddingdress
sw/code/app/task/ButtonPollTask.cpp
1081
/** * @file ButtonPollTask.cpp * * @details Contains the implementation of the ButtonPollTask class. * * @author Murat Ozkan * * Wedfestdress Firmware 2017 */ #include "ButtonPollTask.h" namespace app { namespace task { // // ButtonPollTask Public Member Definitions // ButtonPollTask::ButtonPollTask(hal::T...
gpl-3.0
Devwarlt/LR-v1
wServer/realm/World.cs
13469
#region using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using db.data; using log4net; using terrain; using wServer.realm.entities; using wServer.realm.entities.player; #endregion namespace wServer.rea...
gpl-3.0
finkrer/Snake
src/com/snake/main/model/cell/Wall.java
158
package com.snake.main.model.cell; public class Wall extends Cell { public Wall(int x, int y) { super(x, y); isWalkable = false; } }
gpl-3.0
AURIN/online-whatif-ui
src/main/webapp/js/wif/setup/allocation/config/GrowthPatternCard.js
8197
Ext.define('Wif.setup.allocation.config.GrowthPatternCard', { extend : 'Ext.form.Panel', requires: [ 'Wif.setup.allocation.config.AllocationConfigWizard', 'Ext.data.*', 'Ext.grid.*', 'Ext.tree.*', 'Ext.ux.CheckColumn', 'Wif.RESTObject' ...
gpl-3.0
PengLiangWang/Scala
function/factorial.scala
263
object factorial{ def main(args: Array[String]) { for(i <- 1 to 20) println(i + "的阶乘为: " + fact(i)); } def fact(n: BigInt) : BigInt = { if(n < 1) 1 else n * fact(n-1) } }
gpl-3.0
grze/parentheses
clc/modules/cluster-manager/src/main/java/com/eucalyptus/compute/ComputeServiceException.java
3625
/************************************************************************* * Copyright 2009-2013 Eucalyptus Systems, 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; version 3 of the ...
gpl-3.0
kozzeluc/dmlj
Eclipse CA IDMS Schema Diagram Editor/bundles/org.lh.dmlj.schema.editor.dictionary.tools/src/org/lh/dmlj/schema/editor/dictionary/tools/template/AreaProcedureListQueryTemplate.java
2650
package org.lh.dmlj.schema.editor.dictionary.tools.template; public class AreaProcedureListQueryTemplate implements IQueryTemplate { protected static String nl; public static synchronized AreaProcedureListQueryTemplate create(String lineSeparator) { nl = lineSeparator; AreaProcedureListQueryTemp...
gpl-3.0
12307/BlackLight
app/src/main/java/us/shandian/blacklight/ui/common/MultiPicturePicker.java
3141
/* * Copyright (C) 2014 Peter Cai * * This file is part of BlackLight * * BlackLight 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
brangerbriz/webroutes
nw-app/telegeography-data/internetexchanges/internet-exchanges/inxs-munich-germany.js
665
{"address":["INXS (Munich, Germany)","Landsbergerstrasse 155","Munich, Germany, 80687"],"buildings":[{"latitude":"48.1403474","address":["Landsbergerstrasse 155","Munich, Germany, 80687"],"longitude":"11.5256034","offset":"background:url('images/markers.png') no-repeat -22px 0;","id":8119}],"name":"INXS (Munich, German...
gpl-3.0
villagedefrance/OpenCart-Overclocked
upload/catalog/model/payment/pp_express.php
15315
<?php class ModelPaymentPPExpress extends Model { public function getMethod($address, $total) { $this->language->load('payment/pp_express'); $query = $this->db->query("SELECT * FROM " . DB_PREFIX . "zone_to_geo_zone WHERE geo_zone_id = '" . (int)$this->config->get('pp_express_geo_zone_id') . "' AND country_id = ...
gpl-3.0