repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
eaglgenes101/universalSmashSystem | engine/network.py | 17430 | import socket
import json
import select
import random
import pygame
import settingsManager
import time
class NetworkEvt(object):
pass#empty, for deserialising, attributes are added from json
class NetworkUpdateMessage(object):
def __init__(self):
self.status = "u"
self.json = "{}"
... | gpl-3.0 |
eraffxi/darkstar | scripts/globals/mobskills/airy_shield.lua | 611 | ---------------------------------------------
-- Airy Shield
--
-- Description: Ranged shield
-- Type: Enhancing
-- Utsusemi/Blink absorb: N/A
-- Range: Self
---------------------------------------------
require("scripts/globals/monstertpmoves");
require("scripts/globals/settings");
require("scripts/globals/status");
-... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c103950002.lua | 2784 | --Mecha Force: Delta
function c103950002.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit()
--synchro summon success
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(103950002,1))
e1:SetCategory(CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_SINGL... | gpl-3.0 |
karrtikr/ete | ete3/parser/phylip.py | 8131 | from __future__ import absolute_import
from __future__ import print_function
# #START_LICENSE###########################################################
#
#
# This file is part of the Environment for Tree Exploration program
# (ETE). http://etetoolkit.org
#
# ETE is free software: you can redistribute it and/or modify... | gpl-3.0 |
hubert667/AIR | build/celery/celery/tests/app/test_app.py | 23154 | from __future__ import absolute_import
import gc
import os
import itertools
from copy import deepcopy
from pickle import loads, dumps
from amqp import promise
from kombu import Exchange
from celery import shared_task, current_app
from celery import app as _app
from celery import _state
from celery.app import base a... | gpl-3.0 |
mudrd8mz/moodle | lib/tests/behat/behat_general.php | 87564 | <?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 |
pressbooks/pressbooks | assets/src/scripts/login.js | 865 | /* global PB_Login */
const h1 = document.querySelector( 'h1' );
const login = document.querySelector( 'div#login' );
let subtitle = document.createElement( 'p' );
subtitle.classList.add( 'subtitle' );
if ( document.body.classList.contains( 'login-action-login' ) ) {
subtitle.textContent = PB_Login.logInTitle;
} else... | gpl-3.0 |
google-code-export/webical | webical-core/src/main/java/org/webical/web/component/event/EventFormPanel.java | 3191 | /*
* Webical - http://www.webical.org
* Copyright (C) 2007 Func. Internet Integration
*
* This file is part of Webical.
*
* $Id$
*
* 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 |
Fatalerror66/ffxi-a | scripts/globals/items/fire_feather.lua | 681 | -----------------------------------------
-- ID: 5256
-- Item: Fire Feather
-- Effect: Enfire
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----------------------------------------
... | gpl-3.0 |
mrtenda/CoilSnake | coilsnake/modules/eb/StaffModule.py | 8738 | import logging
from coilsnake.exceptions.common.exceptions import CoilSnakeError, InvalidUserDataError
from coilsnake.modules.eb.EbModule import EbModule
from coilsnake.util.common.assets import open_asset
from coilsnake.util.common.yml import yml_load
from coilsnake.util.eb.pointer import from_snes_address, to_snes_a... | gpl-3.0 |
mpitid/pylabelme | shape.py | 6219 | #!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2011 Michael Pitidis, Hussein Abdulwahid.
#
# This file is part of Labelme.
#
# Labelme 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 versio... | gpl-3.0 |
andforce/Beebo | app/src/main/java/org/zarroboogs/weibo/setting/SettingUtils.java | 12435 |
package org.zarroboogs.weibo.setting;
import org.zarroboogs.weibo.BeeboApplication;
import org.zarroboogs.weibo.R;
import org.zarroboogs.weibo.setting.activity.SettingActivity;
import org.zarroboogs.weibo.support.utils.AppConfig;
import org.zarroboogs.weibo.support.utils.Utility;
import android.content.Context;
pub... | gpl-3.0 |
marcelovilaca/DIRAC | StorageManagementSystem/Client/test/test_Client.py | 2448 | """ Test for StorageManagement clients
"""
import unittest
import importlib
from mock import MagicMock
from DIRAC import S_OK
from DIRAC.StorageManagementSystem.Client.StorageManagerClient import getFilesToStage
class ClientsTestCase( unittest.TestCase ):
""" Base class for the clients test cases
"""
def set... | gpl-3.0 |
DonLakeFlyer/ardupilot | libraries/AP_Proximity/AP_Proximity_Backend.cpp | 14035 | /*
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 distributed in the hope that it will be usefu... | gpl-3.0 |
tectronics/magicgrove | source/Grove/Core/Effects/EachPlayerDiscardsHandAndDrawsGreatestDiscardedCount.cs | 435 | namespace Grove.Effects
{
using System;
public class EachPlayerDiscardsHandAndDrawsGreatestDiscardedCount : Effect
{
protected override void ResolveEffect()
{
var maxCount = Math.Max(Players.Player1.Hand.Count, Players.Player2.Hand.Count);
Players.Active.DiscardHand();
Players.Active.... | gpl-3.0 |
151706061/MacroMedicalSystem | ImageViewer/Tools/Standard/PresetVoiLuts/Operations/PresetVoiLutOperationsComponentContainer.cs | 5720 | #region License
// Copyright (c) 2013, ClearCanvas Inc.
// All rights reserved.
// http://www.ClearCanvas.ca
//
// This file is part of the ClearCanvas RIS/PACS open source project.
//
// The ClearCanvas RIS/PACS open source project is free software: you can
// redistribute it and/or modify it under the terms of the G... | gpl-3.0 |
eriklotin/lotin.cms | web/core/class/breadcrumbs.php | 1229 | <?
# Erik. 03/03/2013
class Breadcrumbs {
public $crumbs = array();
public $displayed = array();
public function push($name='', $url=''){
return array_unshift($this->crumbs, array('url'=>$url, 'header'=>$name));
}
public function from_path_map(){
$node = node_by_path_arr(Gl::$... | gpl-3.0 |
saurabh947/MoodleLearning | question/type/edit_question_form.php | 28366 | <?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 |
cirnoworks/fiscevm | fiscevm-runtime/src/main/java/java/lang/Runnable.java | 879 | /* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not... | gpl-3.0 |
manojdjoshi/dnSpy | Extensions/dnSpy.AsmEditor/Commands/DeletedPropertyUpdater.cs | 1962 | /*
Copyright (C) 2014-2019 de4dot@gmail.com
This file is part of dnSpy
dnSpy is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later... | gpl-3.0 |
IDS-UK/genderhub | wp-content/plugins/redirection/matches/login.php | 912 | <?php
class Login_Match extends Red_Match {
function name() {
return __( 'URL and login status', 'redirection' );
}
public function save( array $details, $no_target_url = false ) {
if ( $no_target_url ) {
return null;
}
return array(
'logged_in' => isset( $details['action_data_logged_in'] ) ? $this-... | gpl-3.0 |
OpenCFD/OpenFOAM-1.7.x | src/lagrangian/intermediate/submodels/Kinematic/InjectionModel/InjectionModel/InjectionModelI.H | 2464 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
\\/ M anipulation |
---------------... | gpl-3.0 |
will-bainbridge/OpenFOAM-dev | src/mesh/blockMesh/blockVertices/blockVertex/blockVertex.C | 3821 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2016-2018 OpenFOAM Foundation
\\... | gpl-3.0 |
Bitl/RBXLegacy-src | Cut/UPnP/src/main/java/org/chris/portmapper/router/dummy/DummyRouterFactory.java | 1786 | /**
* UPnP PortMapper - A tool for managing port forwardings via UPnP
* Copyright (C) 2015 Christoph Pirkl <christoph at users.sourceforge.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 Founda... | gpl-3.0 |
llbit/chunky | chunky/src/java/se/llbit/chunky/block/Furnace.java | 608 | package se.llbit.chunky.block;
import se.llbit.chunky.resources.Texture;
public class Furnace extends TopBottomOrientedTexturedBlock {
private final boolean lit;
private final String description;
public Furnace(String facing, boolean lit) {
super("furnace", facing, lit ? Texture.furnaceLitFront : Texture.... | gpl-3.0 |
ABrandau/OpenRA | OpenRA.Mods.Common/Traits/Armament.cs | 13291 | #region Copyright & License Information
/*
* Copyright 2007-2019 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of
* the Licen... | gpl-3.0 |
andrewhancox/facetoface-2.0 | cancelsignup.php | 5506 | <?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 |
craftercms/studio-test-suite | src/test/java/org/craftercms/studio/test/cases/apitestcases/GetUserActivityAPITest.java | 2482 | /*
* Copyright (C) 2007-2019 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 as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any... | gpl-3.0 |
esdalmaijer/EyeTribe_test | experiment/pygaze/_eyetracker/pytribe.py | 40918 | # PyTribe: classes to communicate with EyeTribe eye trackers
#
# author: Edwin Dalmaijer
# email: edwin.dalmaijer@psy.ox.ac.uk
#
# version 3 (11-Aug-2014)
import os
import copy
import json
import time
import socket
from threading import Thread, Lock
from multiprocessing import Queue
class EyeTribe:
... | gpl-3.0 |
aphexddb/agocontrol | devices/squeezeboxserver/agosqueezeboxserver.py | 4265 | #
# Squeezebox client
#
# copyright (c) 2013 James Roberts <jimbob@jamesroberts.co.uk>
# Using agoclient sample code as guidance!
import agoclient
import squeezeboxserver
import threading
import time
client = agoclient.AgoConnection("squeezebox")
# if you need to fetch any settings from config.ini, use the get_confi... | gpl-3.0 |
etherkit/OpenBeacon2 | client/win/venv/Lib/site-packages/cmd2/argparse_custom.py | 34936 | # coding=utf-8
"""
This module adds capabilities to argparse by patching a few of its functions. It also defines a parser
class called Cmd2ArgumentParser which improves error and help output over normal argparse. All cmd2 code uses
this parser and it is recommended that developers of cmd2-based apps either use it or wr... | gpl-3.0 |
JunkyBulgaria/Test | src/main/java/net/minecraft/server/BlockCactus.java | 4044 | package net.minecraft.server;
import java.util.Iterator;
import java.util.Random;
import org.bukkit.craftbukkit.event.CraftEventFactory; // CraftBukkit
public class BlockCactus extends Block {
public static final BlockStateInteger AGE = BlockStateInteger.of("age", 0, 15);
protected BlockCactus() {
... | gpl-3.0 |
lightspeeddevelopment/lsx | assets/js/src/lsx.js | 17894 | /**
* LSX Scripts
*
* @package lsx
* @subpackage scripts
*/
var lsx = Object.create(null);
(function($, window, document, undefined) {
"use strict";
var $document = $(document),
$window = $(window),
windowHeight =
window.innerHeight ||
document.documentElement.clientHeight ||
document.body.cli... | gpl-3.0 |
EyeSeeTea/dhis2 | dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataset/LockExceptionStore.java | 2345 | package org.hisp.dhis.dataset;
/*
* Copyright (c) 2004-2016, University of Oslo
* 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 copyri... | gpl-3.0 |
vith/qTox | src/widget/tool/screenshotgrabber.cpp | 7832 | /*
Copyright © 2015 by The qTox Project
This file is part of qTox, a Qt-based graphical interface for Tox.
qTox is libre 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 Licens... | gpl-3.0 |
causefx/Organizr | api/vendor/slim/psr7/src/Stream.php | 9195 | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim-Psr7/blob/master/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Psr7;
use InvalidArgumentException;
use Psr\Http\Message\StreamInterface;
use RuntimeException;
use function fclose;
use funct... | gpl-3.0 |
StevenLOL/aicyber_semeval_2016_ivector | System_2/utils/nnet/make_blstm_proto.py | 3554 | #!/usr/bin/env python
# Copyright 2015 Brno University of Technology (author: Karel Vesely)
# 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
#
... | gpl-3.0 |
trezor/trezor-emu | trezor/transport_socket.py | 3665 | '''SocketTransport implements TCP socket interface for Transport.'''
import socket
from select import select
from transport import Transport
class FakeRead(object):
# Because socket is the only transport which don't implement read()
def __init__(self, socket):
self.socket = socket
def read(self... | gpl-3.0 |
natuan241/twidere | src/org/mariotaku/twidere/loader/support/StatusConversationLoader.java | 2605 | /*
* Twidere - Twitter client for Android
*
* Copyright (C) 2012-2014 Mariotaku Lee <mariotaku.lee@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 ... | gpl-3.0 |
Abitim/signcrypt-projects | signcrypt-common/Digital signature/src/main/java/net/sf/dsig/verify/KeyUsageHelper.java | 2845 | /*
* Copyright 2007-2014 Anestis Georgiadis
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | gpl-3.0 |
gpoulet/moodle | theme/shoehorn/tests/corerenderer_test.php | 2590 | <?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 |
metasfresh/metasfresh-webui-api | src/main/java/de/metas/ui/web/view/descriptor/SqlViewRowFieldBinding.java | 3131 | package de.metas.ui.web.view.descriptor;
import java.sql.ResultSet;
import java.sql.SQLException;
import javax.annotation.Nullable;
import de.metas.ui.web.window.descriptor.DocumentFieldWidgetType;
import de.metas.ui.web.window.descriptor.sql.SqlEntityFieldBinding;
import de.metas.ui.web.window.descriptor.sql.SqlOrd... | gpl-3.0 |
Chao1009/PRadEventViewer | src/QRootCanvas.cpp | 17716 | //============================================================================//
// Below is the class to handle root canvas embedded as a QWidget //
// Based on TQRootCanvas, Denis Bertini, M. Al-Turany //
// A brief instruction on embeded root canvas can be found at ... | gpl-3.0 |
Afsana-Afroze/escb-mysql | joomla/libraries/quix/src/FormEngine/Contracts/ControlTransformer.php | 1813 | <?php namespace ThemeXpert\FormEngine\Contracts;
abstract class ControlTransformer implements ControlTransformerInterface {
public function transform( $config ) {
$output = [ ];
$output['advanced'] = $this->get( $config, 'advanced', false );
$output['depends'] = $this->getDepends( $config );
$output... | gpl-3.0 |
eraffxi/darkstar | scripts/zones/Windurst_Waters/npcs/Angelica.lua | 5361 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Angelica
-- Starts and Finished Quest: A Pose By Any Other Name
-- !pos -70 -10 -6 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windu... | gpl-3.0 |
stephanfo/AWG | src/CartBundle/Controller/TarifController.php | 1100 | <?php
namespace CartBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use CartBundle\Form\Type\FormatType;
use CartBundle\Entity\Format;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
class TarifController extends Co... | gpl-3.0 |
ForestryMC/ForestryLegacy | forestry_common/cultivation/forestry/cultivation/providers/CropProviderCacti.java | 1414 | /*******************************************************************************
* Copyright (c) 2011-2014 SirSengir.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v3
* which accompanies this distribution, and is available at... | gpl-3.0 |
autopin/autopin-plus | vendor/fast-lib/serialization/serializable.cpp | 490 | /*
* This file is part of fast-lib.
* Copyright (C) 2015 RWTH Aachen University - ACS
*
* This file is licensed under the GNU Lesser General Public License Version 3
* Version 3, 29 June 2007. For details see 'LICENSE.md' in the root directory.
*/
#include "serializable.hpp"
namespace fast
{
std::string Serial... | gpl-3.0 |
deep9/zurmo | app/protected/modules/zurmo/models/ExplicitReadWriteModelPermissions.php | 7888 | <?php
/*********************************************************************************
* Zurmo is a customer relationship management program developed by
* Zurmo, Inc. Copyright (C) 2012 Zurmo Inc.
*
* Zurmo is free software; you can redistribute it and/or modify it under
* the terms of t... | gpl-3.0 |
dmolchanenko/RedwoodHQ | public/store/VariableTags.js | 528 | Ext.define('Redwood.store.VariableTags', {
extend: 'Ext.data.Store',
model: 'Redwood.model.VariableTags',
autoLoad: true,
autoSync: false,
actionMethods: {
create : 'POST',
read : 'GET',
update : 'PUT',
destroy: 'DELETE'
},
sorters: [{
property : 'v... | gpl-3.0 |
harmonycms/harmonycms | data/install/upgradestep/upgradedb.php | 1373 | <?php
/**
* HarmonyCMS Upgrade UpgradeDB step class
* @copyright Copyright (C) 2016 al3xable <al3xable@yandex.com>. All rights reserved.
* @license https://opensource.org/licenses/GPL-3.0 GNU General Public License version 3
*
* This program is free software: you can redistribute it and/or modify
* it under the t... | gpl-3.0 |
DawesLab/arduino | libraries/Adafruit_IO_Arduino/src/AdafruitIO_Data.cpp | 8933 | //
// Adafruit invests time and resources providing this open source code.
// Please support Adafruit and open source hardware by purchasing
// products from Adafruit!
//
// Copyright (c) 2015-2016 Adafruit Industries
// Authors: Tony DiCola, Todd Treece
// Licensed under the MIT license.
//
// All text above must be i... | gpl-3.0 |
Dwarfex/Hosting-Service | admin/gallery.php | 27665 | <?php
/*
##########################################################################
# #
# Version 4 / / / #
# -----------__---/__---__------__----__---/---/- #
# ... | gpl-3.0 |
bsmr-eve/Pyfa | eos/effects/shipbonusnoctistractorvelocity.py | 365 | # shipBonusNoctisTractorVelocity
#
# Used by:
# Ship: Noctis
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tractor Beam",
"maxTractorVelocity", ship.getModifiedItemAttr("shipBonusOreIndustrial2"),
... | gpl-3.0 |
voltagex/rencode-sharp | rencode-sharp/BStruct.cs | 3816 | using System;
using MiscUtil.Conversion;
namespace rencodesharp
{
public class BStruct
{
/// <summary>
/// Pack the object 'x' into (network order byte format).
/// </summary>
public static string Pack(object x, int n)
{
byte[] b = EndianBitConverter.Big.GetBytes(x);
string output = ""... | gpl-3.0 |
ddikodroid/-college_related_stuff | Tugas Pemrograman - Looping/prime.cpp | 515 | /*
Bilangan Prima atau Bukan Bilangan Prima
*/
#include<bits/stdc++.h>
using namespace std;
int main()
{
cout << "BILANGAN PRIMA ATAU BUKAN BILANGAN PRIMA \n";
int angka, jumlah=0;
cout << "MASUKKAN BILANGAN: ";
cin >> angka;
for(int faktor=1;faktor<=angka;faktor++)
{
if(angka%faktor==0)
... | gpl-3.0 |
NovaViper/TetraCraft | src-1.10.2/main/java/com/novaviper/tetracraft/common/CommonProxy.java | 2230 | package com.novaviper.tetracraft.common;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.world.World;
import net.minecraftforge.fml.common.event.*;
import net.minecraftforge.fml.common.network.IGuiHandler;
import net.minecraftforge.fml.common.network.simpleimpl.MessageContext;
/**
* @author Nov... | gpl-3.0 |
cemc/cscircles-wp-content | themes/twentyeleven/content-single.php | 3837 | <?php
/**
* The template for displaying content in the single.php template
*
* @package WordPress
* @subpackage Twenty_Eleven
* @since Twenty Eleven 1.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<h1 class="entry-title"><?php the_title(); ?></... | gpl-3.0 |
prozakis/mywms-Server | rich.client/los.clientsuite/LOS Common/src/de/linogistix/common/gui/layout/WrapFlowLayout.java | 4613 | /*
* Copyright (c) 2006 - 2010 LinogistiX GmbH
*
* www.linogistix.com
*
* Project myWMS-LOS
*/
package de.linogistix.common.gui.layout;
import java.awt.*;
import javax.swing.*;
/**
* FlowLayout subclass that fully supports wrapping of components.
*/
public class WrapFlowLayout extends FlowLa... | gpl-3.0 |
eraffxi/darkstar | scripts/zones/Valley_of_Sorrows/npcs/qm1.lua | 1322 | -----------------------------------
-- Area: Valley of Sorrows
-- NPC: qm1 (???)
-- Spawns Adamantoise or Aspidochelone
-- !pos 0 0 -37 59
-----------------------------------
package.loaded["scripts/zones/Valley_of_Sorrows/TextIDs"] = nil
-----------------------------------
require("scripts/zones/Valley_of_Sorrows/Tex... | gpl-3.0 |
osroca/gvnix | addon-dynamic-configuration/src/main/java/org/gvnix/dynamic/configuration/roo/addon/entity/DynProperty.java | 2650 | /*
* gvNIX is an open source tool for rapid application development (RAD).
* Copyright (C) 2010 Generalitat Valenciana
*
* 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 o... | gpl-3.0 |
senbox-org/snap-desktop | snap-worldwind/src/main/java/org/esa/snap/worldwind/LayerPanel.java | 4767 | /*
* Copyright (C) 2015 by Array Systems Computing Inc. http://www.array.ca
*
* 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 lat... | gpl-3.0 |
esri-es/awesome-arcgis | node_modules/caniuse-lite/data/features/media-session-api.js | 867 | module.exports={A:{A:{"2":"K D G E A B hB"},B:{"2":"2 C d J M H I"},C:{"2":"0 1 2 3 4 6 7 8 eB BB F N K D G E A B C d J M H I O P Q R S T U V W X Y Z a b c e f g h i j k l m n o L q r s t u v w x y z HB GB AB CB DB FB YB XB"},D:{"1":"0 1 3 4 7 8 HB GB AB CB DB FB RB LB JB jB MB NB OB PB","2":"2 6 F N K D G E A B C d J ... | gpl-3.0 |
vSaKv/backend | framework/views/no/profile-callstack.php | 809 | <!-- start profiling callstack -->
<table class="yiiLog" width="100%" cellpadding="2"
style="border-spacing:1px;font:11px Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;color:#666666;">
<tr>
<th style="background:black;color:white;" colspan="2">
Profileringsrapport
</th>
</tr>
<tr style="backgro... | gpl-3.0 |
PetteriAimonen/solvespace | src/ttf.cpp | 24974 | //-----------------------------------------------------------------------------
// Routines to read a TrueType font as vector outlines, and generate them
// as entities, since they're always representable as either lines or
// quadratic Bezier curves.
//
// Copyright 2008-2013 Jonathan Westhues.
//---------------------... | gpl-3.0 |
frozzare/woocommerce | includes/data-stores/class-wc-customer-download-data-store.php | 8336 | <?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* WC Customer Download Data Store.
*
* @version 2.7.0
* @category Class
* @author WooThemes
*/
class WC_Customer_Download_Data_Store implements WC_Customer_Download_Data_Store_Interface {
/**
* Create dowload permission for a user.
*
* @param WC_Custo... | gpl-3.0 |
boudel/pje | classes/PhpEncryption.php | 3394 | <?php
/**
* 2007-2016 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not... | gpl-3.0 |
xYalla/KicksEmu | src/main/java/com/neikeq/kicksemu/game/characters/PlayerInfo.java | 40562 | package com.neikeq.kicksemu.game.characters;
import com.neikeq.kicksemu.game.characters.types.PlayerHistory;
import com.neikeq.kicksemu.game.characters.types.PlayerStats;
import com.neikeq.kicksemu.game.misc.quests.QuestState;
import com.neikeq.kicksemu.game.misc.tutorial.TutorialState;
import com.neikeq.kicksemu.game... | gpl-3.0 |
SkyLightMCPE/SkyLightPM | src/pocketmine/network/protocol/BlockEventPacket.php | 1252 | <?php
/*
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ ... | gpl-3.0 |
aelred/grakn | grakn-test/src/test/java/ai/grakn/graphs/MatrixGraphII.java | 3091 | /*
* Grakn - A Distributed Semantic Database
* Copyright (C) 2016 Grakn Labs Limited
*
* Grakn 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 |
xrunuo/xrunuo | Scripts/Distro/Items/Resources/Imbuing/VialOfVitriol.cs | 792 | using System;
using Server;
namespace Server.Items
{
public class VialOfVitriol : Item, ICommodity
{
public override int LabelNumber { get { return 1113331; } } // vial of vitriol
[Constructable]
public VialOfVitriol()
: this( 1 )
{
}
[Constructable]
public VialOfVitriol( int amoun... | gpl-3.0 |
gwpy/gwpy | gwpy/astro/__init__.py | 1909 | # -*- coding: utf-8 -*-
# Copyright (C) Duncan Macleod (2014-2020)
#
# This file is part of GWpy.
#
# GWpy is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option)... | gpl-3.0 |
zhijunh/eacopenemr | interface/main/messages/messages.php | 26259 | <?php
/**
* Copyright (C) 2010 OpenEMR Support LLC
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* 2013/02/08... | gpl-3.0 |
mhbu50/erpnext | erpnext/patches/v14_0/delete_shopify_doctypes.py | 168 | import frappe
def execute():
frappe.delete_doc("DocType", "Shopify Settings", ignore_missing=True)
frappe.delete_doc("DocType", "Shopify Log", ignore_missing=True)
| gpl-3.0 |
wyuka/rekonq | src/tests/findbar_test.cpp | 1494 | /*
* Copyright 2010 Andrea Diamantini <adjam7@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 2 of the License, or
* (at your option) any later version.
*
* T... | gpl-3.0 |
sangwook236/SWDT | sw_dev/cpp/rnd/test/signal_processing/sigproc_lib/bwlpf.cpp | 2311 | /*
* COPYRIGHT
*
* Copyright (C) 2014 Exstrom Laboratories LLC
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at... | gpl-3.0 |
it-novum/openITCOCKPIT | tests/TestCase/Model/Table/CommandargumentsTableTest.php | 1926 | <?php
namespace App\Test\TestCase\Model\Table;
use App\Model\Table\CommandargumentsTable;
use Cake\ORM\TableRegistry;
use Cake\TestSuite\TestCase;
/**
* App\Model\Table\CommandargumentsTable Test Case
*/
class CommandargumentsTableTest extends TestCase
{
/**
* Test subject
*
* @var \App\Model\Ta... | gpl-3.0 |
Necktrox/mtasa-blue | Server/mods/deathmatch/logic/packets/CEntityAddPacket.cpp | 48766 | /*****************************************************************************
*
* PROJECT: Multi Theft Auto v1.0
* LICENSE: See LICENSE in the top level directory
* FILE: mods/deathmatch/logic/packets/CEntityAddPacket.cpp
* PURPOSE: Entity-add packet class
*
* Multi Theft Auto is ... | gpl-3.0 |
ScreamingUdder/mantid | scripts/Diffraction/isis_powder/routines/instrument_settings.py | 9455 | from __future__ import (absolute_import, division, print_function)
from six import iteritems
from isis_powder.routines import yaml_parser
import warnings
# Have to patch warnings at runtime to not print the source code. This is even advertised as a 'feature' of
# the warnings library in the documentation: https://do... | gpl-3.0 |
nacjm/MatterOverdrive | src/main/java/matteroverdrive/client/data/Color.java | 3056 | /*
* This file is part of Matter Overdrive
* Copyright (c) 2015., Simeon Radivoev, All rights reserved.
*
* Matter Overdrive 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 Licens... | gpl-3.0 |
dkavraal/typecatcher | typecatcher_lib/xdg.py | 1047 | # -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
### BEGIN LICENSE
# Copyright (C) 2012 Andrew Starr-Bochicchio <a.starr.b@gmail.com>
# 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... | gpl-3.0 |
frazzy123/madisonclone | app/database/migrations/2014_05_22_163151_alter_annotations_increase_field_length.php | 2458 | <?php
class AlterAnnotationsIncreaseFieldLength extends DualMigration {
public function upMySQL(){
DB::statement('ALTER TABLE `annotations` MODIFY COLUMN `quote` TEXT');
DB::statement('ALTER TABLE `annotations` MODIFY COLUMN `text` TEXT');
}
public function downMySQL(){
DB::statement('ALTER TABLE `annotatio... | gpl-3.0 |
lrpirlet/Marlin | Marlin/src/lcd/menu/menu_delta_calibrate.cpp | 5065 | /**
* 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 |
LivingInSyn/Py_LogOff | V2_Current/HTC-LogOut/HTC-LogOut/obj/x64/Release/Warning.g.i.cs | 4812 | #pragma checksum "..\..\..\Warning.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "5AFCDE6A1623AAE5141E8E271535F389"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to... | gpl-3.0 |
Philips14171/qt-creator-opensource-src-4.2.1 | src/plugins/help/openpageswidget.cpp | 4460 | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance w... | gpl-3.0 |
Revaj/MyCourses | TallerProgsis/Practica 6/src/Convertidor.java | 1931 | import java.util.StringTokenizer;
public class Convertidor {
public Convertidor(){
}
//Decimales vuelven normal, demas bases se analizan si son negativos o no
public int regresaConversion(String cadena){
int num = 0;
if(cadena.startsWith("#"))
cadena = cadena.substring(1);
if(caden... | gpl-3.0 |
Allors/apps | Domains/Apps/Workspace/Typescript/Intranet/src/allors/material/apps/objects/upcaidentification/edit/upcaidentification.module.ts | 2517 | import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MatButtonModule, MatCardModule, MatDividerModule, MatFormFieldModule, MatIconModule, MatListModule, MatMen... | gpl-3.0 |
Alberto-Beralix/Beralix | i386-squashfs-root/usr/lib/python2.7/dist-packages/LanguageSelector/ImSwitch.py | 55 | ../../../../share/pyshared/LanguageSelector/ImSwitch.py | gpl-3.0 |
telerik/justdecompile-plugins | Reflexil.JustDecompile/reflexil.1.5.src/Handlers/PropertyDefinitionHandler.Designer.cs | 5249 | namespace Reflexil.Handlers
{
partial class PropertyDefinitionHandler
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposin... | gpl-3.0 |
Polfo/sigma-h | sigmah/src/main/java/org/sigmah/server/endpoint/export/sigmah/spreadsheet/template/LogFrameCalcTemplate.java | 21012 | /*
* All Sigmah code is released under the GNU General Public License v3
* See COPYRIGHT.txt and LICENSE.txt.
*/
package org.sigmah.server.endpoint.export.sigmah.spreadsheet.template;
import java.io.OutputStream;
import java.util.List;
import java.util.Set;
import org.odftoolkit.odfdom.dom.style.OdfStyle... | gpl-3.0 |
bcgov/sbc-qsystem | QSystem/src/ru/apertum/qsystem/client/forms/FTimedDialog.java | 10088 | /*
* Copyright (C) 2010 {Apertum}Projects. web: www.apertum.ru email: info@apertum.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, either version 3 of the License, or
* (at your ... | gpl-3.0 |
tokuhirom/roma | java/client/src/main/java/jp/co/rakuten/rit/roma/client/commands/CloseCommand.java | 747 | package jp.co.rakuten.rit.roma.client.commands;
import java.io.IOException;
import jp.co.rakuten.rit.roma.client.ClientException;
import jp.co.rakuten.rit.roma.client.command.CommandContext;
/**
*
*/
public class CloseCommand extends DefaultCommand {
@Override
protected void create(CommandCo... | gpl-3.0 |
cylc/cylc | cylc/flow/scripts/report_timings.py | 13218 | #!/usr/bin/env python3
# THIS FILE IS PART OF THE CYLC WORKFLOW ENGINE.
# Copyright (C) NIWA & British Crown (Met Office) & Contributors.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, eithe... | gpl-3.0 |
syslover33/ctank | java/android-sdk-linux_r24.4.1_src/sources/android-23/android/databinding/testapp/BasicDependantBindingTest.java | 3165 | /*
* Copyright (C) 2015 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/licenses/LICENSE-2.0
* Unless required by applicable l... | gpl-3.0 |
Yuuji/bf-utils | samples/op/.brainfuckex/4b1df377af150556c5bd17477a453ebd.js | 3492 | var bfCall = function(bf, bfe, parameters, output, input) {
bf.init(bfe, parameters, output, input);
bf.move(1);
var ret = bf.add(1); if (ret!==false) { return ret; }
while (bf.getMem()) {
while (bf.getMem()) {
var ret =bf.add(-1); if (ret!==false) { return ret; }
}
bf.move(1);
var ret = bf.add(5); if (ret!==false) ... | gpl-3.0 |
webuildcity/hamburg | manage.py | 246 | #!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "wbh.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
| gpl-3.0 |
simonward86/spinw | external/chol_omp/chol_omp.cpp | 17179 | /*===========================================================
* chol_omp.cpp - Forms the Cholesky factorisation of a stack
* of matrices using Lapack calls and OpenMP.
*
* R = chol_omp(M); - Errors if M != +ve def
* [R,p] = chol_omp(M); - No error, R is p x p
* L = chol_omp(M,'l... | gpl-3.0 |
lejacome/TranEspol | routes/posicionbus.js | 1928 | var meanCaseBase = require('../config/helpers/meanCaseBase.js');
var express = require('express');
var router = express.Router();
var mongoose = require('mongoose');
var posicionbus = mongoose.model('posicionbus');
router.get('/posicionbus/:id', function (req, res) {
posicionbus.findById(req.params.id, function (err,... | gpl-3.0 |
arielalmendral/ert | python/python/ert_gui/shell/results.py | 1800 | from ert.util import BoolVector
from ert_gui.shell import assertConfigLoaded, ErtShellCollection
from ert_gui.shell.libshell import splitArguments
class Results(ErtShellCollection):
def __init__(self, parent):
super(Results, self).__init__("results", parent)
self.addShellFunction(name="runpath", ... | gpl-3.0 |
richard-taylor/manyworlds | manyworlds/test/__init__.py | 19 |
# not quite empty
| gpl-3.0 |