repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
OnroerendErfgoed/atramhasis
atramhasis/static/admin/src/app/App.js
2544
/** * Main application widget. * @module App * @see module:App */ define([ 'dojo/_base/declare', 'dojo/_base/lang', 'dojo/promise/all', 'dijit/_WidgetBase', './ui/AppUi', './controllers/ConceptSchemeController', './controllers/ConceptController', './controllers/LanguageController', './controllers/...
gpl-3.0
RickMyers/Jarvis
lib/Rain3/example-simple.php
812
<?php // namespace use Rain\Tpl; // include include "library/Rain/Tpl.php"; // config $config = array( "tpl_dir" => "templates/simple/", "cache_dir" => "cache/", "debug" => true // set to false to improve the speed ); Tpl::configure( $config ); // Add PathRepl...
gpl-3.0
hatstand/clementine-remote-android
src/de/qspool/clementineremote/backend/requests/RequestControl.java
1138
/* This file is part of the Android Clementine Remote. * Copyright (C) 2013, Andreas Muttscheller <asfa194@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of t...
gpl-3.0
Stuart4/radio91x
app/src/main/java/org/stuartresearch/radio91x/AudioPlayerBroadcastReceiver.java
2869
package org.stuartresearch.radio91x; import android.content.BroadcastReceiver; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.os.IBinder; /** * Created by jake on 5/15/15. */ public class AudioPlayerBroadc...
gpl-3.0
Donzii/phpMumbleAdmin-0.4.3
program/widgets/main_languagesFlags.view.php
1358
<?php /* * phpMumbleAdmin (PMA), web php administration tool for murmur (mumble server daemon). * Copyright (C) 2010 - 2015 Dadon David. PMA@ipnoz.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 Softw...
gpl-3.0
Raphcal/sigmah
src/main/java/org/sigmah/client/ui/presenter/admin/models/EditLayoutGroupAdminPresenter.java
11632
package org.sigmah.client.ui.presenter.admin.models; /* * #%L * Sigmah * %% * Copyright (C) 2010 - 2016 URD * %% * 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
2CanGames/Perennial
Source/Perennial/Perennial.Build.cs
720
// Fill out your copyright notice in the Description page of Project Settings. using UnrealBuildTool; public class Perennial : ModuleRules { public Perennial(TargetInfo Target) { PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "UMG" }); PrivateDependencyModuleN...
gpl-3.0
j0r1/simpactcyan
src/lib/util/discretedistribution2d.cpp
6216
#include "discretedistribution2d.h" #include "gridvalues.h" #include "util.h" #include <iostream> #include <limits> using namespace std; DiscreteDistribution2D::DiscreteDistribution2D(double xOffset, double yOffset, double xSize, double ySize, const GridValues &density, bool floor, GslRandomNumberG...
gpl-3.0
tfiedor/perun
perun/collect/trace/systemtap/script_compact.py
17798
"""SystemTap script generator module. Assembles the SystemTap script according to the specified rules such as function or USDT locations and sampling. """ from perun.collect.trace.watchdog import WATCH_DOG from perun.collect.trace.values import RecordType from perun.collect.trace.optimizations.structs import Optimiza...
gpl-3.0
Philomelos/xml2ly
music_data/key_signature.py
1583
def KeySignatureTonicPitch(mode): from music_data.pitch import LilyPitch modes = { 'major' : (0, 0), # (step, alteration) 'minor' : (5, 0), 'ionian' : (0, 0), 'dorian' : (1, 0), 'phrygian' : (2, 0), 'lydian' : (3, 0), 'mixolydian': (4, 0)...
gpl-3.0
andrewtikhonov/RCloud
rcloud-bench/src/main/java/workbench/views/benchlogviewer/LogViewerMouseAdapter.java
2681
/* * R Cloud - R-based Cloud Platform for Computational Research * at EMBL-EBI (European Bioinformatics Institute) * * Copyright (C) 2007-2015 European Bioinformatics Institute * Copyright (C) 2009-2015 Andrew Tikhonov - andrew.tikhonov@gmail.com * Copyright (C) 2007-2009 Karim Chine - karim.chine@m4x.org * * T...
gpl-3.0
atheerabed/gnash-fork
libcore/asobj/flash/display/JointStyle_as.cpp
1645
// JointStyle_as.cpp: ActionScript "JointStyle" class, for Gnash. // // Copyright (C) 2009, 2010 Free Software Foundation, 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; either ve...
gpl-3.0
kevoree-modeling/framework
microframework/src/test/java/org/kevoree/modeling/memory/space/impl/OffHeapChunkSpaceCleanerTest.java
578
package org.kevoree.modeling.memory.space.impl; import org.kevoree.modeling.memory.manager.DataManagerBuilder; import org.kevoree.modeling.memory.manager.KDataManager; import org.kevoree.modeling.memory.space.BaseKChunkSpaceCleanerTest; import org.kevoree.modeling.memory.space.impl.press.PressOffHeapChunkSpace; /** ...
gpl-3.0
msdevstep/subroute.io
Subroute.Api/Models/RoutePackages/RoutePackageResponse.cs
951
using System; using System.Linq.Expressions; using Subroute.Api.Models.Routes; using Subroute.Core.Data; namespace Subroute.Api.Models.RoutePackages { public class RoutePackageResponse { public string Id { get; set; } public string Version { get; set; } public DateTimeOffset UpdatedOn ...
gpl-3.0
GetSimpleCMS/GetSimpleCMS
admin/inc/security_functions.php
11497
<?php if(!defined('IN_GS')){ die('you cannot load this page directly.'); } /** * Security * * @package GetSimple * @subpackage Security-Functions */ /* * File and File MIME-TYPE Blacklist arrays */ $mime_type_blacklist = array( # HTML may contain cookie-stealing JavaScript and web bugs 'text/html', 'text/java...
gpl-3.0
tracktopell/jpa-builder
src/main/java/com/tracktopell/dao/builder/ejb3/VPModel2JPA.java
2644
package com.tracktopell.dao.builder.ejb3; import com.tracktopell.dao.builder.metadata.DBTableSet; import com.tracktopell.dao.builder.parser.VP6Parser; import com.tracktopell.dao.builder.parser.VPModel; import java.io.FileInputStream; import java.util.Arrays; import java.util.Hashtable; /** * com.tracktopell.dao.buil...
gpl-3.0
cabrera-dcc/agnes_bts
index.php
10925
<?php require_once("tickets/start.php"); ?> <!DOCTYPE html> <html lang="es"> <head> <meta charset="UTF-8"/> <meta name="application-name" content="Agnes"/> <meta name="description" content="Sistema de Seguimiento de Errores"/> <meta name="author" content="Daniel Cabrera Cebrero (http://cabrera-dcc.github.io)"/> <...
gpl-3.0
itucsdb1601/itucsdb1601
comments.py
2950
import json import os import psycopg2 as dbapi2 import re from flask import Flask, request, render_template, redirect from flask.helpers import url_for app = Flask(__name__) class comments: def savecomment(config): tweet_input = None user_logname = None comment = None if request.m...
gpl-3.0
wolfidan/pycosmo
pycosmo/derived_vars.py
8847
#!/usr/bin/env python2 import numpy as np # COSMO CONSTANTS COSMO_R_D = 287.05 COSMO_R_V = 451.51 COSMO_RDV = COSMO_R_D / COSMO_R_V COSMO_O_M_RDV = 1.0 - COSMO_RDV COSMO_RVD_M_O = COSMO_R_V / COSMO_R_D - 1.0 DERIVED_VARS=['PREC_RATE','QV_v','QR_v','QS_v','QG_v','QC_v','QI_v','QH_v', 'QNR_v','QNS_v','QN...
gpl-3.0
bsidio/fuelapp
vendor/bundle/ruby/2.3.0/gems/redis-activesupport-5.0.1/lib/active_support/cache/redis_store.rb
9495
# encoding: UTF-8 require 'redis-store' module ActiveSupport module Cache class RedisStore < Store attr_reader :data # Instantiate the store. # # Example: # RedisStore.new # # => host: localhost, port: 6379, db: 0 # # RedisStore.new "example.com" ...
gpl-3.0
KoderKat/keyblade
src/ficwad-spider/ficwad1/ficwad1/pipelines.py
3079
# -*- coding: utf-8 -*- # # This code is based on the pipeline code written by Alex Black for the IMDB-spider project available at: https://github.com/alexwhb/IMDB-spider # IMDB-spider is copyrighted by Alex Black: The MIT License (MIT) Copyright (c) 2014 Alex Black from scrapy import log import sqlite3 as sqlite #BA...
gpl-3.0
mariomka/ImpressPages-CMS
ip_cms/backend/cms.php
13637
<?php /** * @package ImpressPages * @copyright Copyright (C) 2011 ImpressPages LTD. * @license see ip_license.html */ namespace Backend; if(!defined('BACKEND')) exit; require (__DIR__.'/html_output.php'); require (__DIR__.'/session.php'); if (file_exists(BASE_DIR.CONFIG_DIR.'admin/template.php')) { require_...
gpl-3.0
pixartist/KSPComputer
DefaultNodes/NodeAnomaly.cs
326
using System; using System.Collections.Generic; using System.Linq; using System.Text; using KSPComputer; using KSPComputer.Nodes; namespace DefaultNodes { [Serializable] public class NodeAnomaly : DefaultRootNode { public override void OnAnomaly() { Execute(null); } ...
gpl-3.0
sethten/MoDesserts
mcp50/temp/src/minecraft_server/net/minecraft/src/EntityAIPlay.java
3296
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) braces deadcode fieldsfirst package net.minecraft.src; import java.util.*; // Referenced classes of package net.minecraft.src: // EntityAIBase, EntityVillag...
gpl-3.0
spanezz/staticsite
staticsite/page.py
14269
from __future__ import annotations from typing import TYPE_CHECKING, Dict, Any, Optional, Union, List import os import logging from urllib.parse import urlparse, urlunparse from .utils import lazy from .utils.typing import Meta from .render import RenderedString import jinja2 if TYPE_CHECKING: from .site import Si...
gpl-3.0
kailIII/SiGA
application/models/funcionarios_model.php
987
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Funcionarios_model extends CI_Model { public function busca($atributo, $setor) { $res = $this->db->get_where("funcionarios", array($atributo => $setor[$atributo]))->row_array(); $res = checkArray($res); return $res; } public fu...
gpl-3.0
Unofficial-Extend-Project-Mirror/foam-extend-foam-extend-3.2
src/finiteVolume/finiteVolume/fvc/fvcReconstruct.C
4130
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | foam-extend: Open Source CFD \\ / O peration | Version: 3.2 \\ / A nd | Web: http://www.foam-extend.org \\/ M anipulation | For ...
gpl-3.0
sgvandijk/libbats
DistributionTracker/distributiontracker.hh
4657
/* * Little Green BATS (2008-2013), AI department, University of Groningen * * Authors: Sander van Dijk (sgdijk@ai.rug.nl) * Drew Noakes (drew@drewnoakes.com) * Martin Klomp (martin@ai.rug.nl) * Mart van de Sanden (vdsanden@ai.rug.nl) * A. Bram Neijt (bneijt@gmail.com) * Matthijs Platje (mplatje@gmail.c...
gpl-3.0
applifireAlgo/HR
hrproject/src/main/webapp/app/view/fw/mainViewPanel/MainPanelController.js
1238
Ext.define('Hrproject.view.fw.mainViewPanel.MainPanelController', { extend : 'Ext.app.ViewController', requires : ['Ext.util.Cookies', 'Hrproject.view.login.ChangePasswordScreen'], alias : 'controller.mainViewPanelController', afterRender:function() { debugger; var cookieChangePwd = Ext.util.Coo...
gpl-3.0
Drxmo/imaginarium
vendor/laravel/framework/src/Illuminate/Queue/Console/ListenCommand.php
3602
<?php namespace Illuminate\Queue\Console; use Illuminate\Queue\Listener; use Illuminate\Console\Command; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputArgument; class ListenCommand extends Command { /** * The console command name. * * @var string */ protec...
gpl-3.0
MailCleaner/MailCleaner
www/framework/Zend/Mail/Part/File.php
6148
<?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
lrq3000/author-detector
authordetector/preprocessor/indev/stopwordsfilter.py
1011
#!/usr/bin/env python # encoding: utf-8 ## @package basepatternsextractor # # This contains the base patterns extractor class that you can use as a template for other classes from authordetector.base import BaseClass ## BasePatternsExtractor # # Base features patterns class that you can use as a template for other c...
gpl-3.0
colinodell/mcforge
Commands/CmdPermissionVisit.cs
3358
/* Copyright 2010 MCSharp team (Modified for use with MCZall/MCLawl/MCForge) Dual-licensed under the Educational Community License, Version 2.0 and the GNU General Public License, Version 3 (the "Licenses"); you may not use this file except in compliance with the Licenses. You may obtain a copy of the Licenses a...
gpl-3.0
albeva/fbide
src/Config/StyleEntry.hpp
1172
/* * This file is part of fbide project, an open source IDE * for FreeBASIC. * https://github.com/albeva/fbide * http://fbide.freebasic.net * Copyright (C) 2020 Albert Varaksin * * fbide is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published b...
gpl-3.0
frcgang/Filesystem-over-Unreliable-Network-Storages
fuse/src/distribute.cpp
3474
//#include <stdio.h> //#include <stdlib.h> #include <string.h> //#include <strings.h> //#include <sys/time.h> #include "distribute.h" //#define DEBUG_TIME #ifdef DEBUG_TIME #include <time.h> extern clock_t total_time; #endif void Distribute::init()//int n_servers, int k_servers, int alphabet_size) { //this->n_serve...
gpl-3.0
CMPUT-301F14T10/project
QueueUnderflow/src/ca/ualberta/cs/queueunderflow/views/SetUsernameFragment.java
2211
package ca.ualberta.cs.queueunderflow.views; import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; import android.widget.Button; import android.widget.EditText; import android.widget....
gpl-3.0
rastating/wordpress-exploit-framework
lib/wpxf/modules/exploit/xss/reflected/all_in_one_wp_security_reflected_xss_shell_upload.rb
994
# frozen_string_literal: true class Wpxf::Exploit::AllInOneWpSecurityReflectedXssShellUpload < Wpxf::Module include Wpxf::WordPress::StagedReflectedXss def initialize super update_info( name: 'All In One WP Security 4.1.4 to 4.1.9 Reflected XSS Shell Upload', author: [ 'Yorick Koster'...
gpl-3.0
hosseinnarimanirad/IRI.Japey
IRI.Tag/IRI.Article.Sfc/View/Components/SFCControl.xaml.cs
5059
using IRI.Msh.Common.Primitives; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Me...
gpl-3.0
akaunting/akaunting
app/Jobs/Setting/UpdateCategory.php
1406
<?php namespace App\Jobs\Setting; use App\Abstracts\Job; use App\Interfaces\Job\ShouldUpdate; use App\Models\Setting\Category; class UpdateCategory extends Job implements ShouldUpdate { public function handle(): Category { $this->authorize(); \DB::transaction(function () { $this-...
gpl-3.0
open-classifieds/noahsclassifieds
livesearch.php
1583
<?php //defined('_NOAH') or die('Restricted access'); ?> <?php include("app/config.php"); //include("app/controller.php"); mysql_connect($hostName, $dbUser, $dbUserPw); mysql_selectdb($dbName); //$obj = new Controller(); //get the q parameter from URL $q = addslashes($_GET["q"]); ?> <ul> <?php $...
gpl-3.0
toconn/QuickQuiz-Text
Source/flashcards/convertors/conv_text_smb.py
1820
from ua.core.utils import strutils from flashcards.card import Card ''' Converts text files with format Title // Single line title Text... // Multiline content [blank...] // Blank Line Break ''' STATE_BREAK = 'break' STATE_TITLE = 'title' STATE_CONTENT = 'content' class Car...
gpl-3.0
DomainDrivenConsulting/dogen
projects/masd.dogen.utility/include/masd.dogen.utility/types/test_data/test_data_exception.hpp
1659
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * Copyright (C) 2012-2015 Marco Craveiro <marco.craveiro@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Fou...
gpl-3.0
iamkakadong/SparseRL
result_run.py
2606
import MDP.chain_walk as chain_walk import MDP.chain_walk_policy as chain_walk_policy import numpy as np import td.fast_elastic_td as elastic_td import pickle if __name__ == '__main__': gamma = 0.9 length = 20 n_samples = 1000 # Define environment and policy env = chain_walk.chain_walk(gamma, len...
gpl-3.0
nmdp-bioinformatics/service-epitope
resource-impl/src/test/java/org/nmdp/service/epitope/resource/impl/AlleleResourceTest.java
5863
/* epitope-service T-cell epitope group matching service for HLA-DPB1 locus. Copyright (c) 2014-2015 National Marrow Donor Program (NMDP) This library 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 S...
gpl-3.0
eliteironlix/portaio2
Core/Champion Ports/Riven/NechritoRiven/Event/Misc/PermaActive.cs
2096
using EloBuddy; using LeagueSharp.Common; namespace NechritoRiven.Event.Misc { #region using System; using LeagueSharp; using LeagueSharp.Common; using NechritoRiven.Core; using NechritoRiven.Event.OrbwalkingModes; using Orbwalking = Orbwalking; #endregion internal class Pe...
gpl-3.0
digitarald/redracer
vendor/agavi/vendor/PHPUnit/Tests/Extensions/AllTests.php
3601
<?php /** * PHPUnit * * Copyright (c) 2002-2008, Sebastian Bergmann <sb@sebastian-bergmann.de>. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code m...
gpl-3.0
natapol/dactyls
lib/dactyls/datamodel/embedded.rb
338
# # Systems biology library for Ruby (Sylfy) # Copyright (C) 2012-2013 # # author: Natapol Pornputtapong <natapol@chalmers.se> # # Documentation: Natapol Pornputtapong (RDoc'd and embellished by William Webber) # module Dactyls class EmbeddedDocument < MongoModel::EmbeddedDocument def initialize() super()...
gpl-3.0
neo4j-contrib/geoff-plugin
src/main/java/org/neo4j/server/plugin/geoff/GeoffPlugin.java
2498
/** * Copyright (c) 2002-2011 "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
tadatitam/info-flow-experiments
AdFisher/core/web/browser_unit.py
7354
import time, re # time.sleep, re.split import sys # some prints import os, platform # for running os, platform specific function calls from selenium import webdriver # for running the driver on websites from datetime impo...
gpl-3.0
fragglet/autodoom
source/c_net.cpp
7221
// Emacs style mode select -*- C++ -*- //---------------------------------------------------------------------------- // // Copyright (C) 2013 James Haley et al. // // 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...
gpl-3.0
zhao07/surf
Surf/Surf/TabRenderer/TitleBarTabs.cs
33071
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Linq; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Forms; using Microsoft.WindowsAPICodePack.Taskbar; using Win32Interop.Enums; using Win32Interop.Methods; using Win32Inte...
gpl-3.0
dplc/dwin
dm/include/win32/WSVNS.H
1250
/******************************************************************************* * * wsvns.h * * Windows Sockets include file for VINES IP. This file contains all * standardized VINES IP information. Include this header file after * winsock.h. * * To open an VINES IP socket, call socket() wi...
gpl-3.0
aceberg/HomeWork2
src/com/sibext/skeleton/myArrayAdapter.java
2415
package com.sibext.skeleton; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.BaseAdapter; import android.widget.ImageView; import android.widget.TextView; import com.android.volley.Vol...
gpl-3.0
m241dan/darkstar
scripts/zones/Behemoths_Dominion/mobs/King_Behemoth.lua
2051
----------------------------------- -- Area: Behemoth's Dominion -- HNM: King Behemoth ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/globals/status"); require("scripts/globals/melfnm"); ----------------------------------- -- onMobInitiali...
gpl-3.0
Brandon-T/Sudoku-Ravager
Puzzles/28.hpp
234
0, 0, 0, 0, 0, 0, 0, 0, 0 0, 7, 9, 0, 5, 0, 1, 8, 0 8, 0, 0, 0, 0, 0, 0, 0, 7 0, 0, 7, 3, 0, 6, 8, 0, 0 4, 5, 0, 7, 0, 8, 0, 9, 6 0, 0, 3, 5, 0, 2, 7, 0, 0 7, 0, 0, 0, 0, 0, 0, 0, 5 0, 1, 6, 0, 3, 0, 4, 2, 0 0, 0, 0, 0, 0, 0, 0, 0, 0
gpl-3.0
stfx/freelancermodstudio
DockPanelSuite/Docking/VS2005DockPaneStrip.cs
58950
using System; using System.Drawing; using System.Drawing.Drawing2D; using System.Windows.Forms; using System.ComponentModel; using System.Collections; using System.Collections.Generic; namespace WeifenLuo.WinFormsUI.Docking { internal class VS2005DockPaneStrip : DockPaneStripBase { private ...
gpl-3.0
Thomsch/seshat
test/ch/ceruleansands/collection/AutoDiscardingStackTest.java
3848
package ch.ceruleansands.collection; import org.junit.Test; import static org.junit.Assert.*; /** * @author Thomsch */ public class AutoDiscardingStackTest { @Test(expected = IllegalArgumentException.class) public void constructor_ShouldThrowExceptionIfSizeIsZero() throws Exception { new AutoDisca...
gpl-3.0
gpospelov/BornAgain
mvvm/model/mvvm/model/externalproperty.cpp
1863
// ************************************************************************************************ // // qt-mvvm: Model-view-view-model framework for large GUI applications // //! @file mvvm/model/mvvm/model/externalproperty.cpp //! @brief Implements class CLASS? //! //! @homepage http://www.bornagainproje...
gpl-3.0
luwrain/luwrain
src/main/java/org/luwrain/core/Sounds.java
1416
/* Copyright 2012-2021 Michael Pozhidaev <msp@luwrain.org> This file is part of LUWRAIN. LUWRAIN 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 opt...
gpl-3.0
SuperTux/supertux
src/addon/addon_manager.hpp
3618
// SuperTux - Add-on Manager // Copyright (C) 2007 Christoph Sommer <christoph.sommer@2007.expires.deltadevelopment.de> // 2014 Ingo Ruhnke <grumbel@gmail.com> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as publish...
gpl-3.0
bluviolin/TrainMonitor
test/all_tests.py
341
import glob import unittest def create_test_suite(): test_file_strings = glob.glob('test/test_*.py') module_strings = ['test.'+str[5:len(str)-3] for str in test_file_strings] suites = [unittest.defaultTestLoader.loadTestsFromName(name) for name in module_strings] testSuite = unittest.TestSuite(suites) ...
gpl-3.0
beezwax/WP-Publish-to-Apple-News
tests/exporter/builders/test-class-component-text-styles.php
703
<?php use \Exporter\Exporter_Content as Exporter_Content; use \Exporter\Settings as Settings; use \Exporter\Builders\Component_Text_Styles as Component_Text_Styles; class Component_Text_Styles_Tests extends PHPUnit_Framework_TestCase { protected function setup() { $this->settings = new Settings(); $this->conten...
gpl-3.0
sgsdxzy/adc
Debug.cpp
248
#include "Debug.h" void info(string inf) { std::cout << "Info: " << inf << std::endl; } void warn(string info) { std::cerr << "Warning: " << info << std::endl; } void err(string info) { std::cerr << "Error: " << info << std::endl; }
gpl-3.0
divyanshgaba/Competitive-Coding
In The Quest of Logic/main.cpp
541
#include <iostream> #include <cstring> #include <ctype.h> #include <algorithm> using namespace std; int main() { int test; cin>>test; while(test--) { string s; cin>>s; reverse(s.begin(),s.end()); int n = s.length(); for(int i =0;i<n;i++) { if(...
gpl-3.0
hhoechtl/neos-development-collection
Neos.Neos/Classes/ViewHelpers/Rendering/LiveViewHelper.php
1134
<?php namespace Neos\Neos\ViewHelpers\Rendering; /* * This file is part of the Neos.Neos package. * * (c) Contributors of the Neos Project - www.neos.io * * This package is Open Source Software. For the full copyright and license * information, please view the LICENSE file which was distributed with this * sour...
gpl-3.0
WohlSoft/PGE-Project
Editor/data_configs/conf_sound.cpp
3065
/* * Platformer Game Engine by Wohlstand, a free platform for game making * Copyright (c) 2014-2021 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
Rosebotics/pymata-aio
test/test_all.py
5964
""" Copyright (c) 2015 Alan Yorinks 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. This library is dist...
gpl-3.0
suiryc/atari-st-tools
src/main/scala/atari/st/disk/MSADisk.scala
8324
package atari.st.disk import atari.st.disk.exceptions.InvalidFormatException import java.io.{ BufferedOutputStream, DataInputStream, DataOutputStream, EOFException, FilterInputStream, FilterOutputStream, InputStream, OutputStream } object MSADisk { val magicHeader = 0x0E0F } class MSAInputDisk(i...
gpl-3.0
gohdan/DFC
known_files/hashes/bitrix/modules/catalog/general/store_docs_type.php
124
Bitrix 16.5 Business Demo = 03de0fb0c05e2d626d833b8b4188eee0 Bitrix 17.0.9 Business Demo = 898fb8df11129564dd12e4582136fd37
gpl-3.0
RogerRordo/ACM
Source/87.cpp
8145
/* Time: 161205 Prob: ZOJ2107 By RogerRo */ #include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<vector> #include<queue> #include<set> #include<map> #include<cmath> #include<algorithm> #include<ctime> #include<bitset> #define ll long long #define tr(i,l,r) for((i)=(l);(i)<=(r);++i) #defi...
gpl-3.0
Waikato/moa
moa/src/main/java/moa/clusterers/clustree/Node.java
10537
/* * Node.java * Copyright (C) 2010 RWTH Aachen University, Germany * @author Sanchez Villaamil (moa@cs.rwth-aachen.de) * * 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 a...
gpl-3.0
huangshucheng/WXHBTools2.0
app/src/main/java/com/junyou/hbks/utils/AccessibilityUtil.java
2811
package com.junyou.hbks.utils; import android.accessibilityservice.AccessibilityService; import android.annotation.TargetApi; import android.content.Intent; import android.os.Build; import android.view.accessibility.AccessibilityNodeInfo; import java.util.List; public class AccessibilityUtil { /** 通过id查找*/ ...
gpl-3.0
zuonima/sql-utils
src/main/java/com/alibaba/druid/sql/ast/statement/SQLAlterTableEnableLifecycle.java
1272
/* * Copyright 1999-2017 Alibaba Group Holding Ltd. * * 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 applica...
gpl-3.0
cy92830/DataTypeGUI
src/scripts/dts/union.js
113
// dts/union.js // Add a union type export function Add (count, parent) { console.warn('Not yet finished!') }
gpl-3.0
ocd-jacobs/swift
lib/swift_classes/swift_message_header.rb
1335
# ****************************************************************************** # File : SWIFT_MESSAGE_HEADER.RB # ------------------------------------------------------------------------------ # Author : J.M. Jacobs # Date : 03 March 2014 # Version : 1.0 # # (C) 2014: This program is free software: you can red...
gpl-3.0
PhilippSchlieper/CONRAD
src/edu/stanford/rsl/tutorial/praktikum/OpenCLBackprojection.java
6524
package edu.stanford.rsl.tutorial.praktikum; import ij.ImageJ; import java.io.IOException; import java.io.InputStream; import java.nio.FloatBuffer; import com.jogamp.opencl.CLBuffer; import com.jogamp.opencl.CLCommandQueue; import com.jogamp.opencl.CLContext; import com.jogamp.opencl.CLDevice; import com.jogamp.open...
gpl-3.0
julianmaster/TinyRL
src/model/turns/TurnComponent.java
989
package model.turns; import model.entities.ResolveTurnEvent; import pattern.Component; import pattern.Engine; import pattern.Event; public abstract class TurnComponent implements Component { private int energy = 0; private int energyNeedToAction = 100; private int reduceEnergyNeedToAction = 0; public TurnComp...
gpl-3.0
dparks1134/PETs
source/MCQD.hpp
3437
/* Copyright 2007-2012 Janez Konc If you use this program, please cite: Janez Konc and Dusanka Janezic. An improved branch and bound algorithm for the maximum clique problem. MATCH Commun. Math. Comput. Chem., 2007, 58, 569-590. More information at: http://www.sicmm.org/~konc This program ...
gpl-3.0
Anisorf/ENCODE
encode/src/org/wandora/application/tools/extractors/europeana/EuropeanaExtractor.java
2838
/* * WANDORA * Knowledge Extraction, Management, and Publishing Application * http://wandora.org * * Copyright (C) 2004-2015 Wandora 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 ...
gpl-3.0
fbusabiaga/fluam
src/simpleCubic.cpp
1620
// Filename: simpleCubic.cpp // // Copyright (c) 2010-2016, Florencio Balboa Usabiaga // // This file is part of Fluam // // Fluam is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lice...
gpl-3.0
crcro/librenms
includes/html/table/sensors-common.php
7595
<?php /* * LibreNMS * * 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. Please see LICENSE.txt at the top level of ...
gpl-3.0
nulloy/nulloy
src/aboutDialog.cpp
7564
/******************************************************************** ** Nulloy Music Player, http://nulloy.com ** Copyright (C) 2010-2022 Sergey Vlasov <sergey@vlasov.me> ** ** This program can be distributed under the terms of the GNU ** General Public License version 3.0 as published by the Free ** Software Fou...
gpl-3.0
FrankM1/qazana
includes/extensions/dynamictags-acf/tags/acf-gallery.php
1677
<?php namespace Qazana\Extensions\Tags; use Qazana\Controls_Manager; use Qazana\Core\DynamicTags\Data_Tag; use Qazana\Extensions\DynamicTags_ACF as ACF; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } class ACF_Gallery extends Data_Tag { public function get_name() { return 'acf-gallery'; ...
gpl-3.0
miguelalba/sbml_pmf
src/main/java/org/sbml/jsbml/ext/pmf/CompartmentMetaData.java
4338
package org.sbml.jsbml.ext.pmf; import org.sbml.jsbml.AbstractSBase; import org.sbml.jsbml.PropertyUndefinedError; import org.sbml.jsbml.util.StringTools; import java.util.Map; import java.util.Objects; import java.util.TreeMap; /** * Extended meta data for a {@link org.sbml.jsbml.Compartment} * <p> * Example: <c...
gpl-3.0
RobertGollagher/Freeputer
pre-alpha/pre-alpha2.0/dev/fvm/js/prg-pc-cell-0.js
3370
var prgSrc = ` /* Copyright 2017, Robert Gollagher. SPDX-License-Identifier: GPL-3.0+ Program: prg.js (also known as 'prg.c') Author : Robert Gollagher robert.gollagher@freeputer.net Created: 20170911 Updated: 20180410+ ------------------ FREE: LAST SYMBOL: g6 ------------------ N...
gpl-3.0
gohdan/DFC
known_files/hashes/upload/admin/controller/setting/store.php
156
OpenCart 2.1.0.2 = 1f086d120a8e340c0f32763511ef5b2f OpenCart 2.0.1.1 = ed2fea10cb9b3f20e9a1dfdf4d884ef6 OpenCart 2.0.3.1 = 7508279473356b426db0620dcded20f4
gpl-3.0
ownport/ansible-lookups
src/lookups/lookup/lines.py
701
from __future__ import (absolute_import, division, print_function) __metaclass__ = type import subprocess from lookups.lookup import LookupError from lookups.lookup import LookupBase class LookupModule(LookupBase): def run(self, terms, variables=None, **kwargs): ret = [] for term in terms: ...
gpl-3.0
google-code/biocode
fasta/fasta_size_distribution_plot.py
3921
#!/usr/bin/env python3.2 import argparse import matplotlib # back-end options are here: http://matplotlib.sourceforge.net/faq/usage_faq.html#what-is-a-backend matplotlib.use('Agg') import matplotlib.pyplot as plot import os import re def fasta_entry_sizes(file): seq_lengths = [] ## these are reset as e...
gpl-3.0
gluster/gmc
src/org.gluster.storage.management.client/src/org/gluster/storage/management/client/UsersClient.java
3308
/******************************************************************************* * Copyright (c) 2006-2011 Gluster, Inc. <http://www.gluster.com> * This file is part of Gluster Management Console. * * Gluster Management Console is free software; you can redistribute * it and/or modify it under the terms of the GNU...
gpl-3.0
geminy/aidear
oss/qt/qt-everywhere-opensource-src-5.9.0/qtdeclarative/tests/auto/qml/ecmascripttests/test262/test/suite/ch15/15.2/15.2.3/15.2.3.5/15.2.3.5-4-47.js
875
/// Copyright (c) 2012 Ecma International. All rights reserved. /// Ecma International makes this code available under the terms and conditions set /// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the /// "Use Terms"). Any redistribution of this code must retain the above /// copyright an...
gpl-3.0
jimcunderwood/MissionPlanner
Mavlink/MAVLink.cs
128357
using System; using System.Collections.Generic; using System.Reactive.Subjects; using System.Text; using System.Runtime.InteropServices; using System.Collections; // hashs using System.Diagnostics; // stopwatch using System.Reflection; using System.Reflection.Emit; using System.IO; using System.Drawing; usi...
gpl-3.0
rikardfalkeborn/mandelbulber2
mandelbulber2/src/opencl_engine_render_fractal.cpp
39455
/** * Mandelbulber v2, a 3D fractal generator ,=#MKNmMMKmmßMNWy, * ,B" ]L,,p%%%,,,§;, "K * Copyright (C) 2017-18 Mandelbulber Team §R-==%w["'~5]m%=L.=~5N * ,=mm=§M ]=4 yJKA"/-Nsaj "Bw,==,, * This file is part of Mandelbul...
gpl-3.0
Litss/PlotSquared
src/main/java/com/plotsquared/listener/ProcessedWEExtent.java
9449
package com.plotsquared.listener; import java.lang.reflect.Field; import java.util.HashSet; import com.intellectualcrafters.plot.PS; import com.intellectualcrafters.plot.config.Settings; import com.intellectualcrafters.plot.object.PlotBlock; import com.intellectualcrafters.plot.object.RegionWrapper; import com.intell...
gpl-3.0
matalangilbert/stromohab-2008
Software and Solutions/Visual Studio Solutions/Deprecated Solutions and Code/TightropeDiagnostics/TightropeDiagnostics/ALSoundEnvironment.cs
1475
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ALManagedStaticClass; using System.Windows.Forms; using System.Threading; namespace StromoLight_Diagnostics { public class ALSoundEnvironment { TestSubject person; Foot left; Foot right; ...
gpl-3.0
GroundhogLighting/glare
premakescripts/gendaylit.lua
495
--add_executable(gendaylit gendaylit.c sun.c) --target_link_libraries(gendaylit rtrad ${LIB_M}) project "gendaylit" kind "ConsoleApp" language "C" defines { "lint" } files { rad_gen.."/gendaylit.c", rad_gen.."/sun.c", } targetdir...
gpl-3.0
iDigBio/idb-backend
scripts/rss-feed-dump-for-humans.py
2451
from __future__ import print_function import feedparser from pyquery import PyQuery as pq import argparse argparser = argparse.ArgumentParser(description='Script to quickly dump dataset information out of an RSS feed in human-readable format.') argparser.add_argument("-f", "--feed", required=True, help="The filename o...
gpl-3.0
dicebox/minetest-france
minetest/src/nodemetadata.cpp
4654
/* Minetest Copyright (C) 2010-2013 celeron55, Perttu Ahola <celeron55@gmail.com> 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 2.1 of the License, or (at your option) any lat...
gpl-3.0
CroceRossaItaliana/jorvik
ufficio_soci/migrations/0010_issue_194_pregresso.py
1722
# -*- coding: utf-8 -*- from __future__ import unicode_literals from datetime import datetime, date from django.db import migrations, models from django.db.models import Q def forward_func(apps, schema_editor): Appartenenza = apps.get_model("anagrafica", "Appartenenza") inizio = fine = datetime.now() ...
gpl-3.0
wisend/ti.mba
app/forms/quotes/ItemForm.php
4773
<?php namespace App\Forms\Quotes; // Use form elements use Phalcon\Forms\Form; use Phalcon\Forms\Element\Text; use Phalcon\Forms\Element\Numeric; use Phalcon\Forms\Element\Select; use Phalcon\Forms\Element\Hidden; use Phalcon\Forms\Element\Submit; // Use Models relating to items use App\Models\Grade; use App\Models\...
gpl-3.0
rays/PopCurrent
app/controllers/permission_controller.rb
2381
#*************************************************************** # Filename: permission_controller.rb # Authors: Sean Jackson, Ray Slakinski # Created: April 2006 # # Actions to manage Users # # Copyright 2006 PopCurrent.com. All rights reserved. #****************************************************...
gpl-3.0