repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
mannd/epcalipers-windows
epcalipers/epcalipers/Properties/AboutBox1.cs
3772
using System; using System.Diagnostics; using System.Globalization; using System.Reflection; using System.Windows.Forms; namespace epcalipers.Properties { partial class AboutBox1 : Form { public AboutBox1() { InitializeComponent(); this.Text = String.Format(CultureInf...
gpl-3.0
RobertLemmens/JVerify
src/codebulb/engines/TrackingEngine.java
3165
package codebulb.engines; import codebulb.controllers.TrackingController; import codebulb.models.HashedFile; import java.io.File; /** * his class is in charge of tracking the folder we've selected in the TrackingSouthPanel. It will notify the trackingcontroller of any newly found files. The trackingcontroller is in ...
gpl-3.0
tbille/mapus
app/src/main/java/com/m2dl/mapus/mapus/edt/EmploiDuTempsAdapter.java
2604
package com.m2dl.mapus.mapus.edt; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import android.widget.TextView; import com.google.android.gms.vision.text.Text; import com...
gpl-3.0
stedt-project/sss
site/variations/disabled20110819/search_experiment/gloss.php
624
<?php ini_set('display_errors', 'On'); $input = mysql_escape_string($_GET["q"]); $data = array(); // query your DataBase here looking for a match to $input $mysql=mysql_connect('localhost','root',''); mysql_select_db('stedt'); $query = mysql_query("SELECT word FROM stedt.searchwords WHERE wo...
gpl-3.0
CeON/saos
saos-restful-web-api/src/main/java/pl/edu/icm/saos/api/dump/judgment/views/DumpJudgmentsView.java
5585
package pl.edu.icm.saos.api.dump.judgment.views; import java.io.Serializable; import pl.edu.icm.saos.api.dump.judgment.item.representation.JudgmentItem; import pl.edu.icm.saos.api.dump.judgment.views.DumpJudgmentsView.Info; import pl.edu.icm.saos.api.dump.judgment.views.DumpJudgmentsView.QueryTemplate; import pl.edu....
gpl-3.0
zeduardu/moodle
lib/tests/gradelib_test.php
7477
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle ...
gpl-3.0
Madek/madek-api
spec/resources/collections/filter/collection_filter_spec.rb
1999
require 'spec_helper' describe 'filtering collections' do let :collections_relation do client.get.relation('collections') end def get_collections(filter = nil) collections_relation.get(filter).data['collections'] end context 'by collection_id' do include_context :json_roa_client_for_authenticat...
gpl-3.0
transwarpio/rapidminer
rapidMiner/rapidminer-studio-core/src/main/java/com/rapidminer/operator/features/aggregation/AggregationPopulationPlotter.java
6545
/** * Copyright (C) 2001-2016 by RapidMiner and the contributors * * Complete list of developers available at our web site: * * http://rapidminer.com * * This program is free software: you can redistribute it and/or modify it under the terms of the * GNU Affero General Public License as published by the...
gpl-3.0
marcosemiao/log4jdbc
core/log4jdbc-impl/src/main/java/fr/ms/log4jdbc/lang/reflect/TimeInvocationHandler.java
1555
/* * This file is part of Log4Jdbc. * * Log4Jdbc 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. * * Log4Jdbc is distributed in...
gpl-3.0
kms77/Fayabank
src/test/javascript/spec/app/account/reset/finish/reset.finish.controller.spec.js
3655
/* * Copyright (c) 2017 dtrouillet * 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 must retain the above copyright notice, this list of conditions and the f...
gpl-3.0
Antergos/Cnchi
src/geoip.py
4692
#!/usr/bin/env python # -*- coding: utf-8 -*- # # geoip.py # # Copyright © 2013-2018 Antergos # # This file is part of Cnchi. # # Cnchi 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
nfell2009/Skript
src/test/java/ch/njol/skript/config/NodeTest.java
1757
/* * This file is part of Skript. * * Skript 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. * * Skript is distributed i...
gpl-3.0
discoleo/FontStats
main/Frame.java
4525
// Copyright (c) 2016 Leonard Mada and Syonic SRL // leo.mada@syonic.eu // // This file is part of FontStats. // // FontStats 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 L...
gpl-3.0
montadar97/montadar-100k
plugin/TH3BOSS4.lua
1757
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY MOHAMMED HISHAM ▀▄ ▄▀ ▀▄ ▄▀ BY MOHAMMEDHISHAM (@TH3BOSS) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY MOHAMMED HISHAM ▀▄ ▄▀ ▀▄ ▄▀ مساعدة4 ...
gpl-3.0
ItakPC/Plasmatic-Revolution
src/com/ItakPC/plasmatic_rev/world/Chunk.java
3096
package com.ItakPC.plasmatic_rev.world; import com.ItakPC.plasmatic_rev.Game; import com.ItakPC.plasmatic_rev.Material; import com.ItakPC.plasmatic_rev.SimplexNoise; import java.awt.*; import static com.ItakPC.plasmatic_rev.reference.Reference.*; import static com.ItakPC.plasmatic_rev.Game.*; public class Chunk { ...
gpl-3.0
JavaBaas/JavaBaas_SDK_Java
src/main/java/com/javabaas/javasdk/annotation/scanner/OnHookScanner.java
2414
package com.javabaas.javasdk.annotation.scanner; import com.javabaas.javasdk.JB; import com.javabaas.javasdk.annotation.HookEvent; import com.javabaas.javasdk.annotation.OnHook; import com.javabaas.javasdk.cloud.HookListener; import com.javabaas.javasdk.cloud.HookRequest; import com.javabaas.javasdk.cloud.HookResponse...
gpl-3.0
optimusmoose/miniML
src/main/java/backend/DatasetBuilder.java
3246
package backend; import utils.Logging.MiniMLLogger; import weka.core.Instances; import workflow.Keys; import workflow.WorkflowManager; import workflow.context.ParameterContext; import java.util.Arrays; import java.util.Collections; /** * Hold the master dataset Instance key and give out carefully prepared sections ...
gpl-3.0
portablemind/compass_agile_enterprise
erp_txns_and_accts/app/controllers/api/v1/biz_txn_acct_roots_controller.rb
4839
module Api module V1 class BizTxnAcctRootsController < BaseController def index sort = nil dir = nil limit = nil start = nil unless params[:sort].blank? sort_hash = params[:sort].blank? ? {} : Hash.symbolize_keys(JSON.parse(params[:sort]).first) ...
gpl-3.0
Luc1412/EasyMaintenance
src/main/java/noteblockapi/CustomInstrument.java
1118
package noteblockapi; import org.bukkit.Sound; /** * Created by Luc1412 on 03.12.2017 at 19:19 */ public class CustomInstrument { private byte index; private String name; private String soundfile; private byte pitch; private byte press; private Sound sound; public CustomInstrument(byte index, String name, ...
gpl-3.0
rsjaffe/MIDI2LR
src/plugin/Client.lua
74070
--[[---------------------------------------------------------------------------- Client.lua Receives and processes commands from MIDI2LR Sends parameters to MIDI2LR This file is part of MIDI2LR. Copyright 2015 by Rory Jaffe. MIDI2LR is free software: you can redistribute it and/or modify it under the terms of the G...
gpl-3.0
gmange/piscine-unity
vgs-d08/Assets/ex02/Scripts/EnemySpwaner.cs
673
using UnityEngine; using System.Collections; public class EnemySpwaner : MonoBehaviour { public GameObject lambentMale; public GameObject lambentFemale; private Object spawn = null; private float timer = 0; void Start () { spawnLambent (); } void Update () { if (!spawn) { if (timer < 0) {...
gpl-3.0
eciis/web
backend/handlers/invite_user_handler.py
3488
# -*- coding: utf-8 -*- """Invite User Handler.""" from google.appengine.ext import ndb import json from util import login_required from . import BaseHandler from models import InstitutionProfile from custom_exceptions import FieldException from custom_exceptions import NotAuthorizedException from utils import json_r...
gpl-3.0
kennisnet/Sparql-Query-Api
src/Admin/Controllers/Attributes/NoCacheAttribute.cs
634
using System; using System.Web; using System.Web.Mvc; namespace Trezorix.Sparql.Api.Admin.Controllers.Attributes { public class NoCacheAttribute : ActionFilterAttribute { public override void OnResultExecuting(ResultExecutingContext filterContext) { var cacheSetting = filterContext.HttpContext.Response.Cache...
gpl-3.0
marcusfaccion/unnamed_app
web/js/home/actions.js
7721
$('body').on('click', '#home-user-navigation-stop', function(){ app.message_code = 'routes.stop.navigation'; app.yconfirmation.action = function(){ geoJSON_layer.routes.clearLayers(); // apaga as rotas do usuário do layers routes, removendo-a da tela consecutivamente. dire...
gpl-3.0
striezel/simple-chess
competing-evaluators/CompetitionData.cpp
8590
/* ------------------------------------------------------------------------------- This file is part of simple-chess. Copyright (C) 2020, 2021 Dirk Stolle 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
AnthoDevMoP/Mop-5.1.0-Core
WorldServer/Game/Packets/PacketHandler/MiscHandler.cs
8521
/* * Copyright (C) 2012-2013 Arctium <http://arctium.org> * * 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
ecastro/moodle23ulpgc
mod/tab/view.php
7960
<?php // $Id: view.php,v 1.4 2006/08/28 16:41:20 mark-nielsen Exp $ /** * TAB * * @author : Patrick Thibaudeau * @version $Id: version.php,v 1.0 2007/07/01 16:41:20 * @package tab **/ require("../../config.php"); require_once("lib.php"); require_once("locallib.php"); require_once($CFG->dirroot . '/lib/resourcel...
gpl-3.0
mbochenko/XrmToolBox
Plugins/MsCrmTools.UserSettingsUtility/AppCode/QueryHelper.cs
1587
using Microsoft.Xrm.Sdk; using Microsoft.Xrm.Sdk.Query; using System; using System.Linq; using System.Xml.Linq; using System.Xml.XPath; namespace MsCrmTools.UserSettingsUtility.AppCode { internal class QueryHelper { public static EntityCollection GetItems(string fetchXml, IOrganizationService service)...
gpl-3.0
YuanKQ/NFD_for_android
app/src/main/jni/cryptopp/gcm.cpp
25607
// gcm.cpp - written and placed in the public domain by Wei Dai // use "cl /EP /P /DCRYPTOPP_GENERATE_X64_MASM gcm.cpp" to generate MASM code #include "pch.h" #include "config.h" #if CRYPTOPP_MSC_VERSION # pragma warning(disable: 4189) #endif #ifndef CRYPTOPP_IMPORTS #ifndef CRYPTOPP_GENERATE_X64_MASM // Clang 3.3...
gpl-3.0
ouyangyu/fdmoodle
mod/data/backup/moodle2/restore_data_activity_task.class.php
5773
<?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
GeoMop/GeoMop
src/gm_base/global_const.py
199
""" Module for global constants. Do not use imports in this file. We don't want possible import problems. """ GEOMOP_INTERNAL_DIR_NAME = ".geomop" """Dir name for storing geomop internal files."""
gpl-3.0
davec/openbrewcomp
vendor/plugins/restful_authentication/lib/authentication.rb
1578
module Authentication mattr_accessor :login_regex, :bad_login_message, :name_regex, :bad_name_message, :email_name_regex, :domain_head_regex, :domain_tld_regex, :email_regex, :bad_email_message self.login_regex = /\A\w[\w\.\-_@]+\z/ # ASCII, strict # self.login_regex = /\...
gpl-3.0
ERIN-LIST/gapIt
src/main/java/lu/lippmann/cdb/ext/hydviga/gaps/GapFillerClassifier.java
2265
/** * Copyright© 2014-2016 LIST (Luxembourg Institute of Science and Technology), all right reserved. * Authorship : Olivier PARISOT, Yoanne DIDRY * Licensed under GNU General Public License version 3 */ package lu.lippmann.cdb.ext.hydviga.gaps; import lu.lippmann.cdb.weka.*; import weka.classifiers.Classifier; im...
gpl-3.0
xafero/travelingsales
libosm/src/main/java/org/openstreetmap/osm/data/TileCalculator.java
21273
/** * This file is part of LibOSM by Marcus Wolschon <a href="mailto:Marcus@Wolscon.biz">Marcus@Wolscon.biz</a>. * You can purchase support for a sensible hourly rate or * a commercial license of this file (unless modified by others) by contacting him directly. * * LibOSM is free software: you can redistribute it...
gpl-3.0
jamesmacwhite/Radarr
src/NzbDrone.Common/Exceptron/RestClient.cs
2315
using System; using System.Diagnostics; using System.IO; using System.Net; using System.Text; using NzbDrone.Common.Exceptron.fastJSON; namespace NzbDrone.Common.Exceptron { public sealed class RestClient : IRestClient { public TResponse Put<TResponse>(string url, object content) where TResponse : cla...
gpl-3.0
notkild/wydy
wydyd/src/lib.rs
1055
// Config for clippy #![allow(unknown_lints)] #![allow(doc_markdown)] extern crate app_dirs; // extern crate fern; #[macro_use] extern crate log; extern crate parser_rs; extern crate simplelog; extern crate verex; pub mod command; pub mod env; #[macro_use] pub mod error; pub mod parser; pub mod server; mod url_check;...
gpl-3.0
petejonze/ivis
ivis/doc/API/src/search/all_61.js
2211
var searchData= [ ['accelcriterion',['accelCriterion',['../classivis_1_1eyetracker_1_1_iv_data_input.html#a507bd53d1ad3d4291b87d0093c562778',1,'ivis::eyetracker::IvDataInput']]], ['adapt',['adapt',['../classivis_1_1main_1_1_iv_params.html#af8922c460c819d66c42327d40ee108fb',1,'ivis::main::IvParams']]], ['add',['ad...
gpl-3.0
Pryancito/zeusircd
src/MoPsr.cpp
6972
/* * This file is part of the ZeusiRCd distribution (https://github.com/Pryancito/zeusircd). * Copyright (c) 2019 Rodrigo Santidrian AKA Pryan. * * 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
RadioCanut/site-radiocanut
plugins-dist/sites/lang/paquet-sites_fa.php
522
<?php // This is a SPIP language file -- Ceci est un fichier langue de SPIP // extrait automatiquement de https://trad.spip.net/tradlang_module/paquet-sites?lang_cible=fa // ** ne pas modifier le fichier ** if (!defined('_ECRIRE_INC_VERSION')) { return; } $GLOBALS[$GLOBALS['idx_lang']] = array( // S 'sites_desc...
gpl-3.0
seriousteam/azphplib
server/php/echo.php
117
<?php header('Content-type: text/plain'); stream_copy_to_stream(fopen('php://input','r'), fopen('php://output','w'));
gpl-3.0
applifireAlgo/HR
hrproject/src/main/webapp/app/hrproject/shared/demo/viewmodel/location/StateViewModel.js
207
Ext.define('Hrproject.hrproject.shared.demo.viewmodel.location.StateViewModel', { "extend": "Ext.app.ViewModel", "alias": "viewmodel.StateViewModel", "model": "StateModel", "data": {} });
gpl-3.0
Traderain/Wolven-kit
CP77.CR2W/Types/cp77/gamedataDistrict_Record.cs
248
using CP77.CR2W.Reflection; namespace CP77.CR2W.Types { [REDMeta] public class gamedataDistrict_Record : gamedataTweakDBRecord { public gamedataDistrict_Record(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name) { } } }
gpl-3.0
LEPTON-project/LEPTON_2
upload/modules/initial_page/classes/class.init_page.php
8635
<?php /** * * @module initial_page * @author LEPTON project * @copyright 2010-2018 LEPTON project * @link https://lepton-cms.org * @license copyright, all rights reserved * @license_terms please see info.php of this module * */ // include class.secure.php to p...
gpl-3.0
gmqz/proinged
src/CommonBundle/Controller/TipoDocumentoController.php
6135
<?php namespace CommonBundle\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Security\Core\SecurityContext; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Templat...
gpl-3.0
craftercms/studio2-ui
static-assets/components/cstudio-templates/approve.js
1912
/* * Copyright (C) 2007-2020 Crafter Software Corporation. 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 version 3 as published by * the Free Software Foundation. * * This program is distributed in the hope tha...
gpl-3.0
foobla/obHelpDesk
admin/controllers/reports.php
3970
<?php /** * @package $Id: reports.php 23 2013-08-15 10:15:43Z phonglq $ * @author foobla.com * @copyright 2007-2014 foobla.com. All rights reserved. * @license GNU/GPL. */ // no direct access defined('_JEXEC') or die; jimport('joomla.application.component.controller'); class obHelpDeskControllerReports extends o...
gpl-3.0
awsteiner/bamr
archive_Jul_2020/bamr.py
1514
#!/usr/bin/env python3 import ctypes import platform # Load ctypes library if platform.system()=='Darwin': bamr_lib=ctypes.CDLL('libbamr.dylib') else: bamr_lib=ctypes.CDLL('./libbamr.so') # Type definitions void_pp=ctypes.POINTER(ctypes.c_void_p) double_ptr=ctypes.POINTER(ctypes.c_double) double_ptr_ptr=ctyp...
gpl-3.0
Letat/BeefyBlocks
src/org/chryson/bukkit/beefyblocks/DisplayPreference.java
1003
/* BeefyBlocks - A Bukkit plugin to beef-up blocks, making them last longer * Copyright (C) 2011 Letat * Copyright (C) 2011 Robert Sargant * * 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 Found...
gpl-3.0
lunarpulse/RustC
phrases/src/english/farewells.rs
61
pub fn goodbye() -> String { "Goodbye.".to_string() }
gpl-3.0
ccem-dev/otus-api
source/otus-activity/src/test/java/org/ccem/otus/service/extraction/factories/SurveyBasicInfoRecordsFactoryTest.java
3856
package org.ccem.otus.service.extraction.factories; import org.ccem.otus.model.FieldCenter; import org.ccem.otus.model.survey.activity.SurveyActivity; import org.ccem.otus.model.survey.activity.status.ActivityStatus; import org.ccem.otus.participant.model.Participant; import org.junit.Assert; import org.junit.Test; im...
gpl-3.0
manso/MuGA
src/GUI/SetupSolverFrm.java
23365
/* * 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 GUI; import GUI.setup.GeneticEventListener; import GUI.setup.PopulationEventListener; import GUI.utils.MuGASystem; import com....
gpl-3.0
DvdByrn/website-nonprofit-gw
files/content/plugins/bb-plugin/classes/class-fl-builder-service-constant-contact.php
9819
<?php /** * Helper class for the Constant Contact API. * * @since 1.5.4 */ final class FLBuilderServiceConstantContact extends FLBuilderService { /** * The ID for this service. * * @since 1.5.4 * @var string $id */ public $id = 'constant-contact'; /** * The api url for this service. * * @sin...
gpl-3.0
PuzzlesLab/PuzzlesCon
PuzzlesCon Bronze League/Bronze League IV/D/5867339_kahzheng_D.java
727
import java.math.BigInteger; import java.util.Scanner; /** * * @author KahZheng */ public class Main { /** * @param args the command line arguments */ public static void main(String[] args) { Scanner s = new Scanner(System.in); while(s.hasNext()){ int...
gpl-3.0
skyosev/OpenCart-Overclocked
upload/system/vendor/dompdf/include/table_cell_positioner.cls.php
717
<?php /** * @package dompdf * @link http://dompdf.github.com/ * @author Benj Carson <benjcarson@digitaljunkies.ca> * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License */ /** * Positions table cells * * @access private * @package dompdf */ class Table_Cell_Positioner exten...
gpl-3.0
bioidiap/gridtk
gridtk/tools.py
10653
#!/usr/bin/env python # vim: set fileencoding=utf-8 : # Andre Anjos <andre.anjos@idiap.ch> # Wed 24 Aug 2011 09:26:46 CEST """Functions that replace the shell based utilities for the grid submission and probing. """ # initialize the logging system import logging import math import os import re import shlex logger = ...
gpl-3.0
OpenDungeons/OpenDungeons-masterserver
get_csv.php
411
<?php include("conf.php"); header( 'Content-Type: text/plain; charset=utf-8' ); $result = $db->query("SELECT * FROM games WHERE status=0 AND last_updated > (UTC_TIMESTAMP() - INTERVAL 1 MINUTE) ORDER BY creator ASC"); while($row = $result->fetch_assoc()){ echo $row['od_version'].";".$row['uuid'].";".$row['creator']....
gpl-3.0
akc42/football-mobile
client/modules/api.js
2953
/** @licence Copyright (c) 2020 Alan Chandler, all rights reserved This file is part of Football Mobile. Football Mobile 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
CroceRossaItaliana/jorvik
base/migrations/0012_allegato_scadenza_popola.py
951
# -*- coding: utf-8 -*- from __future__ import unicode_literals import datetime from django.db import migrations, models from django.db.models import Q def forwards_func(apps, schema_editor): # We get the model from the versioned app registry; # if we directly import it, it'll be the wrong version Alleg...
gpl-3.0
patrick-hudson/naughtyusers
app/database/seeds/DatabaseSeeder.php
282
<?php class DatabaseSeeder extends Seeder { public function run() { Eloquent::unguard(); // Add calls to Seeders here $this->call('UsersTableSeeder'); $this->call('RolesTableSeeder'); $this->call('PermissionsTableSeeder'); } }
gpl-3.0
gohdan/DFC
known_files/hashes/bitrix/modules/socialnetwork/install/components/bitrix/socialnetwork.activity/lang/ru/component.php
61
Bitrix 16.5 Business Demo = 41adc0ba8eb13ae2ac97bbeac33c8694
gpl-3.0
Librazy/RPGitems-reloaded
src/main/java/think/rpgitems/power/PowerProjectile.java
9271
package think.rpgitems.power; import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; import org.bukkit.block.Block; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.entity.*; import org.bukkit.inventory.ItemStack; import org.bukkit.scheduler.BukkitRunnable; import org...
gpl-3.0
crisis-economics/CRISIS
CRISIS/src/eu/crisis_economics/abm/algorithms/portfolio/returns/FundamentalistStockReturnExpectationFunction.java
3234
/* * This file is part of CRISIS, an economics simulator. * * Copyright (C) 2015 Ross Richardson * Copyright (C) 2015 John Kieran Phillips * * CRISIS 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
okeltw/EPBand_embedded
source/MotionRegs.py
4410
""" A dictionary that holds all the registers for MPU6050 Shorthand Notes: [R] == Read Only [W] == Write Only [R/W] == Read/Write MST == master Thresh == threshold DO == Data Output (?) DI == Data Input (?) Int == Interrupt """ regs = { 'Self Test X' : 0x0D, # [R/W] Gyroscope/accele...
gpl-3.0
rainbru/rainbrurpg
src/client/OgreCfgSaver.cpp
1287
/* * Copyright 2011-2018 Jerome Pasquier * * This file is part of rainbrurpg-client. * * rainbrurpg-client is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
gpl-3.0
PhotoFiltre-LX/photofiltrelx
src/tools/StampTool.cpp
7423
/* This file is part of Photoflare. Photoflare 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. Photoflare is distri...
gpl-3.0
ProteinDF/ProteinDF
src/libpdftl/tl_dense_symmetric_matrix_scalapack.cc
10775
#include "tl_dense_symmetric_matrix_scalapack.h" #include "tl_dense_general_matrix_impl_scalapack.h" #include "tl_dense_general_matrix_scalapack.h" #include "tl_dense_symmetric_matrix_impl_scalapack.h" #include "tl_dense_vector_impl_lapack.h" #include "tl_dense_vector_impl_scalapack.h" #include "tl_dense_vector_lapack....
gpl-3.0
ScriptaGames/pityaboutearth
src/js/states/menu.js
4630
class MenuState extends Phaser.State { create() { console.log('[menu] showing main menu'); window.menu = this; this.music = this.game.add.audio('MenuMusic', 0.7, true); this.music.play(); const bg = this.game.add.sprite(0, 0, 'background'); bg.tint = 0x3f3f3f; ...
gpl-3.0
unibas-gravis/scalismo-ui
src/main/scala/scalismo/ui/model/capabilities/RenderableSceneNode.scala
1119
/* * Copyright (C) 2016 University of Basel, Graphics and Vision Research Group * * 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) an...
gpl-3.0
zerodayz/citellus
tests/plugins-unit-tests/test_executable_bit.py
1158
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (C) 2018, 2019, 2020 Pablo Iranzo Gómez <Pablo.Iranzo@gmail.com> import os import sys from unittest import TestCase sys.path.append(os.path.abspath(os.path.dirname(__file__) + "/" + "../")) import citellusclient.shell as citellus testplugins = os.path.join(...
gpl-3.0
misfist/treehouse-profile-web
app.js
753
var router = require('./router.js'); //Problem: Find and look at a user's profile, including badge count and JS points //Solution: Use node.js to look up profile and serve our template via HTTP //1. Create a webserver var http = require('http'); http.createServer(function (request, response) { router.home(request,...
gpl-3.0
immartian/musicoin
util/rlp/src/untrusted_rlp.rs
13930
// Copyright 2015, 2016 Parity Technologies (UK) Ltd. // This file is part of Parity. // Parity 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 la...
gpl-3.0
pipacs/ionic
main.cpp
5077
#include <QtGui/QApplication> #include <QtDeclarative> #include "qmlapplicationviewer.h" #include "backend/trace.h" #include "backend/preferences.h" #include "backend/contentitem.h" #include "backend/book.h" #include "backend/bookmark.h" #include "backend/bookdb.h" #include "backend/library.h" #include "backend/coverp...
gpl-3.0
romw/boincsentinels
hunter/ConfigManager.cpp
3433
// BOINC Sentinels. // https://projects.romwnet.org/boincsentinels // Copyright (C) 2009-2014 Rom Walton // // BOINC Sentinels is free software; you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public License // as published by the Free Software Foundation, // either version 3 of th...
gpl-3.0
SamTebbs33/myrmecology
src/minecraft/vivadaylight3/myrmecology/common/entity/ant/EntityAntCarpenter.java
844
package vivadaylight3.myrmecology.common.entity.ant; import net.minecraft.util.ResourceLocation; import net.minecraft.world.World; import vivadaylight3.myrmecology.api.item.ItemAnt; import vivadaylight3.myrmecology.common.Register; import vivadaylight3.myrmecology.common.entity.EntityAnt; import vivadaylight3.myrmecol...
gpl-3.0
andriy-bilynskyy/SmartHouse
central/www/WLM_log.php
1736
<?php header("Refresh:5"); include("session.php"); if($_SERVER["REQUEST_METHOD"] == "POST") { if(mysqli_query($db,"DELETE FROM water_log WHERE unit='BLUETOOTH' or unit='WATER VALVE'")) { mysqli_query($db,"INSERT INTO water_log VALUES (NOW(), 'ADMIN', 'Water log erased from WEB.')"); ...
gpl-3.0
DHBW-Projekt/BeePublished
plugins/ContactForm/Model/ContactRequest.php
1664
<?php /* * This file is part of BeePublished which is based on CakePHP. * BeePublished is free software: you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation, either version 3 * of the License, or any later version. * BeePubli...
gpl-3.0
EuanMead/euanmead.github.io
plugins/codemirror/codemirror.plugin.php
3005
<?php /** * CodeMirror plugin * * @package Monstra * @subpackage Plugins * @author Romanenko Sergey / Awilum * @copyright 2012-2014 Romanenko Sergey / Awilum * @version 1.0.0 * */ // Register plugin Plugin::register( __FILE__, __('CodeMirror', 'codemirror'), __('CodeMirror is...
gpl-3.0
mater06/LEGOChimaOnlineReloaded
LoCO Client Files/Decompressed Client/Extracted DLL/Wb.Lpw.Protocol/LogCodes/Services/Account/AuthenticateForGameByUsernamePassword/Debug.cs
593
// Decompiled with JetBrains decompiler // Type: Wb.Lpw.Platform.Protocol.LogCodes.Services.Account.AuthenticateForGameByUsernamePassword.Debug // Assembly: Wb.Lpw.Protocol, Version=2.13.83.0, Culture=neutral, PublicKeyToken=null // MVID: A621984F-C936-438B-B744-D121BF336087 // Assembly location: C:\Users\CGA Computer...
gpl-3.0
toxicaliens/rental
src/system_manager/manage_sys_view.php
1489
<table id="table1" class="table table-bordered"> <thead> <tr> <th>ID#</th> <th>View Name</th> <th>View Index</th> <th>View Url</th> <th>Status</th> <th>Parent View</th> <th>Edit</th> </tr> </thead> ...
gpl-3.0
tadeu28/Gert
Gert.Model/DataBase/Model/Professor.cs
1130
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NHibernate.Mapping.ByCode; using NHibernate.Mapping.ByCode.Conformist; using System.ComponentModel.DataAnnotations; namespace Gert.Model.DataBase.Model { public class Professor { p...
gpl-3.0
kyfr59/versailles
application/src/Db/Event/Subscriber/Entity.php
3244
<?php namespace Omeka\Db\Event\Subscriber; use Doctrine\Common\EventSubscriber; use Doctrine\Common\Persistence\Event\LifecycleEventArgs; use Doctrine\ORM\Events as DoctrineEvent; use Omeka\Event\Event as OmekaEvent; use Omeka\Entity\Resource as OmekaResource; use Zend\ServiceManager\ServiceLocatorInterface; /** * E...
gpl-3.0
Senmori/HeadSelector
src/main/java/net/senmori/headselector/util/Items.java
7246
package net.senmori.headselector.util; import com.google.common.collect.Lists; import org.apache.commons.lang.WordUtils; import org.bukkit.ChatColor; import org.bukkit.Color; import org.bukkit.Material; import org.bukkit.enchantments.Enchantment; import org.bukkit.inventory.ItemStack; import org.bukkit.invent...
gpl-3.0
EugeneVolkorez/vmime
vmime/context.hpp
3469
// // VMime library (http://www.vmime.org) // Copyright (C) 2002-2013 Vincent Richard <vincent@vmime.org> // // 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
hveto/hveto
setup.py
1184
# -*- coding: utf-8 -*- # Copyright (C) Louisiana State University (2013) # # This file is part of the hveto python package. # # hveto 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 Li...
gpl-3.0
VertigeASBL/genrespluriels
ecrire/public/jointures.php
11387
<?php /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * * Copyright (c) 2001-2013 * * ...
gpl-3.0
themiwi/freefoam-debian
src/OpenFOAM/db/IOstreams/Pstreams/OPstream.H
6376
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd. \\/ M anipulation | ---------------...
gpl-3.0
heewei/ROSUnit00
build/catkin_generated/generate_cached_setup.py
1261
# -*- coding: utf-8 -*- from __future__ import print_function import argparse import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/indigo/share/catkin/cmake', 'catkinConfig.cmake.in')): sys.p...
gpl-3.0
theblock/theblock.github.io
flow-typed/moment.js
172
// GPLv3, Copyright (C) 2017, theBlock, https://theblock.io // @flow declare module 'moment' { declare module.exports: (date: Date) => { fromNow: () => string } }
gpl-3.0
XMGmen/zentao
user/view/batchcreate.html.php
3835
<?php /** * The batch create view of user module of ZenTaoPMS. * * @copyright Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com) * @license ZPL (http://zpl.pub/page/zplv11.html) * @author Yangyang Shi <shiyangyang@cnezsoft.com> * @package story ...
gpl-3.0
HackUCF/ppl
resumes/models.py
1238
from datetime import datetime from django.contrib.auth.models import Group from django.db import models from dateutil.tz import gettz from membership.models import Member eastern_tz = gettz('America/New_York') class ResumeShares(models.Model): group = models.OneToOneField(Group, related_name='share_group') ...
gpl-3.0
kennym/itools
test/test_ical.py
36237
# -*- coding: UTF-8 -*- # Copyright (C) 2005-2008 Juan David Ibáñez Palomar <jdavid@itaapy.com> # Copyright (C) 2006-2007 Nicolas Deram <nicolas@itaapy.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...
gpl-3.0
ChileanVirtualObservatory/Stacking
rotate.py
4533
#This file is part of ChiVO, the Chilean Virtual Observatory #A project sponsored by FONDEF (D11I1060) #Copyright (C) 2015 Universidad Tecnica Federico Santa Maria Mauricio Solar # Marcelo Mendoza # Universidad de Chile Die...
gpl-3.0
Yoleimei/SourceCodeRepo
DataStructure_Algorithm/DataStructure/Tree/HuffmanTree/HuffmanTree.cpp
2139
#include <iostream> #include <string> #include <vector> #include <queue> #include <algorithm> using namespace std; const int MAX_VALUE = 999999999; struct HuffmanNode { int weight; char ch; string code; HuffmanNode *left; HuffmanNode *right; HuffmanNode( int w, char c, string s = "", HuffmanNode *l...
gpl-3.0
ncarlson/GateSim
src/core/CoreEngine.cpp
2089
/***************************************************************************** * This file is part of GateSim. * * GateSim 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
scalexm/desperion
src/core/protocol/enums/object_error_enum.hpp
507
// Generated by desperion protocol_builder #ifndef core_object_error_enum_hpp #define core_object_error_enum_hpp namespace protocol { enum object_error { INVENTORY_FULL = 1, CANNOT_EQUIP_TWICE = 2, NOT_TRADABLE = 3, CANNOT_DROP = 4, CANNOT_DROP_NO_PLACE = 5, CA...
gpl-3.0
UPC/yii2-identitat-upc
User.php
2108
<?php namespace upc\identitat; use Yii; use yii\base\InvalidConfigException; use phpCAS; class User extends \yii\web\User { public $serverHostname= ''; public $serverUri = ''; public $serverVersion = '2.0'; public $serverPort = 443; public $serverCA = false; public $verbose = false; pub...
gpl-3.0
SimbionteSecurity/CrackPermissions
src/io/github/simbiontesecurity/CrackPermissions.java
754
package io.github.simbiontesecurity; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.plugin.java.JavaPlugin; public class CrackPermissions extends JavaPlugin { @Override public void onEnable() { } @Override ...
gpl-3.0
RyanDJLee/pyta
examples/pylint/E0101_return_in_init.py
189
class Animal: """A carbon-based life form that eats and moves around.""" def __init__(self, name: str) -> None: self._name = name return True # Error on this line
gpl-3.0
kernsuite-debian/lofar
CEP/Pipeline/framework/lofarpipe/support/baserecipe.py
10432
# LOFAR PIPELINE FRAMEWORK # # Base LOFAR Recipe # John Swinbank, 2009-10 # swinbank@transientsk...
gpl-3.0
Jezza/Elemental-Sciences-2
es_common/me/jezzadabomb/es2/client/models/ModelAtomicConstructor.java
2409
package me.jezzadabomb.es2.client.models; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import me.jezzadabomb.es2.client.lib.Models; @SideOnly(Side.CLIENT) public class ModelAtomicConstructor extends ModelCustomAbstract { public ModelAtomicConstructor() { super(Models.ATOM...
gpl-3.0