repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
magicnode/tpyouyou | online/htdocs/supplier/Lib/modules/cruise_orderModule.class.php | 19926 | <?php
class cruise_orderModule extends AuthModule
{
function new_index() {
$_REQUEST['is_new'] = 1;
$this->index();
}
function index() {
$param = array();
//条件
$condition = " t.supplier_id = ".$this->supplier_id;
//`order_confirm_type` tinyint(1) NOT NULL COMMENT '订单确认方式 1.付款后确认 2.确认后付款,3.... | gpl-3.0 |
nazariene/SpringTest | src/main/java/com/emc/spring/collections/InjectingCollectionsBean.java | 1108 | /*
* Copyright (c) 2002-2016 EMC Corporation All Rights Reserved
*/
package com.emc.spring.collections;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;
public class InjectingCollectionsBean {
List<String> addressList;
Set<String> addressSet;
Map<String, S... | gpl-3.0 |
davideboehm/CryptoCore | CurrencyCore/Wallet/BitcoinStyleWallet/Script/Commands/FlowControl/If.cs | 1950 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CurrencyCore.Wallet.BitcoinStyleWallet.Script.Data;
namespace CurrencyCore.Wallet.BitcoinStyleWallet.Script.Commands.FlowControl
{
public class If : ScriptCommand
{
private readonl... | gpl-3.0 |
maximumtech/Game | Game/src/Game/content/ItemAxe.java | 696 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Game.content;
import Game.base.IBreakable;
import Game.base.World;
/**
*
* @author maximumtech
*/
public class ItemAxe extends ItemTool {
public ItemAxe(short id, ToolMaterial material) {
super(... | gpl-3.0 |
fearless359/simpleinvoices | modules/billers/details.php | 908 | <?php
/*
* Script: details.php
* Biller details page
*
* Authors:
* Justin Kelly, Nicolas Ruflin
*
* Last edited:
* 2007-07-19
*
* License:
* GPL v2 or above
*
* Website:
* https://simpleinvoices.group */
global $smarty;
//stop the direct browsing to this file - let index.php handle which file... | gpl-3.0 |
RodrigodosSantosFelix/projetosSistemas | CodeJava/CrinicaMedica/src/clinicamedica/BD.java | 1952 | package clinicamedica;
import javax.swing.JOptionPane;
import java.sql.*;
public class BD
{
static final String banco = "jdbc:mysql://localhost:3306/crinicamedica";
Connection connection = null;
Statement query = null;
ResultSet results = null;
PreparedStatement myinclude = null;
... | gpl-3.0 |
caw/mb | old/mb_simulation.js | 13980 | /**
* Created by chriswri on 18/03/15.
*/
;
(function () {
const SECONDS_IN_MINUTE = 60;
let running = true;
// remember - the flows are converted to liters/sec
let circ = {
fa: 5.0 / SECONDS_IN_MINUTE,
fv: 5.0 / SECONDS_IN_MINUTE,
fc: 5.0 / SECONDS_IN_MINUTE,
va: ... | gpl-3.0 |
alexanderbailey/FISOFS | read_file.cpp | 4223 | //////////////////////////////////////////////////////////////////////////////
// //
// read_file.cpp is part of 'FISOFS' //
// Copyright (C) 2014 Alex Bailey //
// ... | gpl-3.0 |
RemiDeltombe/repnet | assets/js/input/mouse.js | 1187 | /**
* @class Mouse Manage user mouse, Singleton
* @memberOf RepNet.Input
* @constructor
*/
var Mouse = function Mouse()
{
if (typeof Mouse._instance == 'undefined') {
Mouse._instance = this;
this.emitters = new Map(MouseEmitter)
MouseEmitter.call(this, window);
}
return Mouse._instance;
};
Tools.extend(M... | gpl-3.0 |
pingwindyktator/ptest | additionals.hpp | 1010 | #ifndef PLIB_PTEST_ADDITIONALS_HPP
#define PLIB_PTEST_ADDITIONALS_HPP
#include <chrono>
#include <thread>
#include <vector>
namespace ptest {
class timeout_exception : public std::exception {
virtual const char *what () const throw();
};
template <typename func_t, typename ... Args>
std::chrono::microsec... | gpl-3.0 |
rhomicom-systems-tech-gh/Rhomicom-ERP-Desktop | RhomicomERP/Person/Dialogs/addAttchmntDiag.cs | 2704 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using BasicPersonData.Classes;
namespace BasicPersonData.Dialogs
{
public partial class addAttchmntDiag : Form
{
public addAttchmntDiag()
{
... | gpl-3.0 |
traintoproclaim/ttp-web | htdocs/administrator/components/com_acymailing/views/data/tmpl/vemod.php | 474 | <?php
/**
* @package AcyMailing for Joomla!
* @version 4.5.1
* @author acyba.com
* @copyright (C) 2009-2013 ACYBA S.A.R.L. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php
$db = JFactory::getDBO();
$db->setQuery('SELECT ... | gpl-3.0 |
watsalya/sentora | modules/sentoraconfig/code/controller.ext.php | 6520 | <?php
/**
*
* Sentora - A Cross-Platform Open-Source Web Hosting Control panel.
*
* @package ZPanel
* @version $Id$
* @author Bobby Allen - ballen@bobbyallen.me
* @copyright (c) 2008-2014 ZPanel Group - http://www.zpanelcp.com/
* @license http://opensource.org/licenses/gpl-3.0.html GNU Public License v3
*
* ... | gpl-3.0 |
WP-Mozart/mozart | libraries/Component/Widget/Sidebar/Customizer/customsidebars.php | 2577 | <?php
/*
* This file is part of the Mozart library.
*
* (c) Alexandru Furculita <alex@rhetina.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/*
Copyright Incsub (http://incsub.com)
Author - Javier Marquez (http://arqex.com/)
Contributor -... | gpl-3.0 |
masadeus/second-home | includes/functions.php | 7508 | <?php
/**
* functions.php
*
* Second Home
*
* Helper functions.
*/
require_once("constants.php");
/**
* Apologizes to user with message.
*/
function apologize($message)
{
render("apology.php", ["message" => $message]);
exit;
}
/**
... | gpl-3.0 |
ivelinahristova/ChooseWise | user/management/commands/newsletter.py | 696 | from django.core.management.base import BaseCommand, CommandError
from django.contrib.auth.models import User
from datetime import datetime
from django.utils import timezone
from dateutil.parser import parse
from datetime import date, timedelta
from django.core.mail import send_mail
class Command(BaseCommand):
he... | gpl-3.0 |
DrummingFish/GielinorCraft | src/main/java/com/drummingfish/gielinorcraft/GielinorCraft.java | 6116 | package com.drummingfish.gielinorcraft;
import com.drummingfish.gielinorcraft.block.BlocksGC;
import com.drummingfish.gielinorcraft.config.ConfigHandler;
import com.drummingfish.gielinorcraft.gui.GuiHandler;
import com.drummingfish.gielinorcraft.item.ItemsGC;
import com.drummingfish.gielinorcraft.proxy.ClientProxy;
im... | gpl-3.0 |
lotaris/rox-center | spec/support/helpers.rb | 906 | # Copyright (c) 2012-2014 Lotaris SA
#
# This file is part of ROX Center.
#
# ROX Center 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 |
CassandraProject/JCALCView | Source/Instruction_LAC.java | 2204 | /*
* CALCView is a Java based Calc Block Editor
* Copyright (C) 2003
*
* Created by Tod Baudais
*
* This file is part of CALCView.
*
* CALCView 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 ver... | gpl-3.0 |
bgrainger/MySql.Data | src/MySqlConnector/Authentication/IAuthenticationPlugin.cs | 827 | namespace MySqlConnector.Authentication;
/// <summary>
/// The primary interface implemented by an authentication plugin.
/// </summary>
public interface IAuthenticationPlugin
{
/// <summary>
/// The authentication plugin name.
/// </summary>
string Name { get; }
/// <summary>
/// Creates the authentication res... | gpl-3.0 |
wireapp/wire-android-sync-engine | zmessaging/src/main/scala/com/waz/bitmap/BitmapDecoder.scala | 2914 | /*
* Wire
* Copyright (C) 2016 Wire Swiss GmbH
*
* 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 progr... | gpl-3.0 |
DennisWeyrauch/MetaLanguageParser | MetaLanguageParser/lang/java/§readLine.java | 32 | $$args$$ = System.in.readln() | gpl-3.0 |
Lester-Dowling/studies | Android/BoostExploration/app/src/main/cpp/library-static/explore-06-signals-and-slots/src/hello-world-slot.cpp | 720 | /**
* @file hello-world-slot.cpp
* @date Started Fri 13 Apr 2018 04:44:38 PM AEST
* @brief Copied from:
* $HOME/oss/boost_1_66_0/libs/signals2/example/hello_world_slot.cpp
*/
#include "pch.hpp"
#include <boost/signals2/signal.hpp>
#include "formatted/formatted.hpp"
#include "hello-world-slot.hpp"
... | gpl-3.0 |
SirSengir/Starliners | Starliners.Game/Gui/Interface/ContainerHud.cs | 2059 | /*
* Copyright (c) 2014 SirSengir
* Starliners (http://github.com/SirSengir/Starliners)
*
* This file is part of Starliners.
*
* Starliners 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 |
VivienGaluchot/Harmony | src/harmony/processcore/data/DataTypes.java | 1310 | // Harmony : procedural sound waves generator
// Copyright (C) 2017 Vivien Galuchot
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, version 3 of the License.
//
// ... | gpl-3.0 |
mark-burnett/filament-dynamics | unit_tests/numerical/test_interpolation.py | 3377 | # Copyright (C) 2010 Mark Burnett
#
# 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 i... | gpl-3.0 |
HAMcast/HAMcast | modules/mcpo/mcpo-0.5.1/source/mcpo/messages/MCPOMemberMessage.cc | 3074 | // [License]
// The Ariba-Underlay Copyright
//
// Copyright (c) 2008-2009, Institute of Telematics, Karlsruhe Institute of Technology (KIT)
//
// Institute of Telematics
// Karlsruhe Institute of Technology (KIT)
// Zirkel 2, 76128 Karlsruhe
// Germany
//
// Redistribution and use in source and binary forms, with or w... | gpl-3.0 |
odedlaz/intro_to_ds | lab9_lab10/src/consts.py | 80 | BOOLEAN = 'boolean'
TF = 'tf'
TFIDF = 'tfidf'
BOOLEAN_TYPE = 1
TFIDF_TYPE = 2
| gpl-3.0 |
boompieman/iim_project | nxt_1.4.4/src/net/sourceforge/nite/tools/dacoder/DACoder.java | 20137 | package net.sourceforge.nite.tools.dacoder;
import net.sourceforge.nite.gui.transcriptionviewer.*;
import net.sourceforge.nite.gui.textviewer.*;
import net.sourceforge.nite.gui.util.*;
import net.sourceforge.nite.util.Debug;
import net.sourceforge.nite.nxt.*;
import net.sourceforge.nite.nom.*;
import net.sourceforge.n... | gpl-3.0 |
Shebella/HIPPO | clc/modules/core/src/main/java/edu/ucsb/eucalyptus/cloud/VolumeAlreadyExistsException.java | 3928 | /*******************************************************************************
*Copyright (c) 2009 Eucalyptus Systems, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, only version ... | gpl-3.0 |
mrtnkg/vtcpp | public_scripts/logout.php | 103 | <?php
include('init.php');
unset($_SESSION);
session_destroy();
header('Location: '.$base_url);
?>
| gpl-3.0 |
ovh/ip-reputation-monitoring | reputation/reporting/reporter.py | 4649 | # -*- coding: utf-8 -*-
#
# Copyright (C) 2016, OVH SAS
#
# This file is part of ip-reputation-monitoring.
#
# ip-reputation-monitoring 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 |
shomy4/SuperKamp | money/forms.py | 4200 | # -*- coding: utf-8 -*-
from django import forms
from django.forms import ModelForm
from parameters.models import ParLine
from parameters import system_tables as ptables
#from django.forms.widgets import SelectDateWidget
#from datetimewidget.widgets import DateWidget, DateInput
from . import messages as msg
... | gpl-3.0 |
dqtien/cms | resources/views/backend/article/tag/index.blade.php | 404 | @extends('backend.layouts.dashboard')
@section('css')
<!-- css link here -->
@stop
@section('content')
<div class="box box-primary">
<div class="box-header with-border">
</div>
<div class="box-body table-responsive">
</div>
<div class="box-footer clearfix">
... | gpl-3.0 |
smulholland2/BrickApp | src/BrickApp/Models/Bricks/Post.cs | 561 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BrickApp.Models.Bricks
{
public class Post
{
public int PostId { get; set; }
public string Title { get; set; }
public string Content { get; set; }
public string Tags { get... | gpl-3.0 |
gmardau/gmd-tree-library | src/binary_tree/streap.hpp | 11134 | // gmd-tree-library - C++ - Streap tree
// Copyright (C) 2017 Gustavo Martins
// This file is part of the gmd-tree-library. This library 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 |
JTeamDevelop/CPXUtilities | dev/incomplete/user.js | 11384 | ///////////////////////////////////////////////////////////////////////////////////////////////////////////
CPX.vue.AU = new Vue({
el: '#title',
data: {
ready:false,
_id: "",
name: "",
HP : 0,
maxHP: 0,
XP:0,
XPFree: 0,
AP:0,
coin: 0,
location:[]
},
computed:{
AUdata... | gpl-3.0 |
data-tsunami/museo-cachi | cachi/migrations/0010_auto__chg_field_fragmento_numero_inventario.py | 15801 | # -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Changing field 'Fragmento.numero_inventario'
db.alter_column(u'cachi_f... | gpl-3.0 |
nunux-keeper/keeper-core-api | src/dao/mongodb/client.dao.js | 241 | 'use strict'
const AbstractMongodbDao = require('./abstract')
/**
* Client DAO.
* @module client.dao
*/
class ClientDao extends AbstractMongodbDao {
constructor (client) {
super(client, 'client')
}
}
module.exports = ClientDao
| gpl-3.0 |
antonio-peyrano/micrositio | v1.1.0/php/frontend/programa/catPrograma.php | 8697 | <?php
/*
* Micrositio-Phoenix v1.0 Software para gestion de la planeación operativa.
* PHP v5
* Autor: Prof. Jesus Antonio Peyrano Luna <antonio.peyrano@live.com.mx>
* Nota aclaratoria: Este programa se distribuye bajo los terminos y disposiciones
* definidos en la GPL v3.0, debidamente incluidos en el repositorio... | gpl-3.0 |
hollys-home-kitchen/cookmomcooks | client/src/app/recipe-form/recipe-form.component.ts | 843 | import { Component, Input, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { Recipe } from '../recipe';
import { RecipeService } from '../recipe.service'
@Component({
moduleId: module.id,
selector: 'app-recipe-form',
templateUrl: 'recipe-form.component.html',
styleUrls: ['recipe... | gpl-3.0 |
lostjared/Acid.Cam.v2.Qt | src/plugin.cpp | 3150 |
/*
* Acid Cam v2 - Qt/OpenCV Edition
* written by Jared Bruni ( http://lostsidedead.com )
* (C) 2017 GPL
*/
#include "plugin.h"
PluginList plugins;
void add_directory(QDir &cdir, std::vector<std::string> &files) {
cdir.setFilter(QDir::Files | QDir::Dirs);
QFileInfoList list = cdir.entryInfoList();
i... | gpl-3.0 |
ArrayZone/ArrayUniverse | src/xgp3.0.0/upload/application/core/Objects.php | 3003 | <?php
/**
* @project XG Proyect
* @version 3.x.x build 0000
* @copyright Copyright (C) 2008 - 2014
*/
if ( ! defined ( 'INSIDE' ) ) { die ( header ( 'location:../../' ) ) ; }
class Objects
{
private $_objects;
private $_relations;
private $_price;
private $_combat_specs;
private $_production... | gpl-3.0 |
uliss/pddoc | pddoc/pd/comment.py | 2993 | #!/usr/bin/env python
# coding=utf-8
# Copyright (C) 2014 by Serge Poltavski #
# serge.poltavski@gmail.com #
# #
# This program is free software; you can redistribute ... | gpl-3.0 |
malkiah/bdkanvas | client/js/UIPropertySectionTab.js | 1316 | 'use strict';
class UIPropertySectionTab {
constructor(bundle, lines) {
this.bundle = bundle;
this.lines = lines;
this.createDiv();
}
createDiv(){
this.div = document.createElement("div");
this.div.className = "sectiontabtable";
var columns = Math.ceil(Object.keys(this.bundle.properties... | gpl-3.0 |
lveci/nest | nest-reader-dem/src/main/java/org/esa/nest/dataio/dem/ElevationTile.java | 960 | /*
* Copyright (C) 2013 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 |
robertbaker/SevenUpdate | Externals/SevenSoftware.Windows/VirtualizingCollection.cs | 19558 | // <copyright file="VirtualizingCollection.cs" project="SevenSoftware.Windows">Paul McClean</copyright>
// <license href="http://www.gnu.org/licenses/gpl-3.0.txt" name="GNU General Public License 3" />
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
namespace Seven... | gpl-3.0 |
IDS-UK/genderhub | wp-content/plugins/search-filter-pro/public/includes/class-search-filter-config.php | 6361 | <?php
/**
* Search & Filter Pro
*
* @package Search_Filter_Post_Data
* @author Ross Morsali
* @link http://www.designsandcode.com/
* @copyright 2015 Designs & Code
*/
class Search_Filter_Config
{
private $plugin_slug = '';
private $form_data = array();
private $count_table;
private $cache;
p... | gpl-3.0 |
arun06eee/ZydeFood | admin/controllers/Loyalty.php | 12427 | <?php if ( ! defined('BASEPATH')) exit('No direct access allowed');
class Loyalty extends Admin_Controller {
public function __construct() {
parent::__construct(); // calls the constructor
$this->user->restrict('Admin.Loyalty');
$this->load->model('Loyalty_model');
$this->load->library('pagin... | gpl-3.0 |
SwamiRama/diablo_browser | app/controllers/chatrooms_controller.rb | 1119 | class ChatroomsController < ApplicationController
before_action :authenticate_user!
def index
@chatroom = Chatroom.new
@chatrooms = Chatroom.all
end
def new
flash[:notice] = nil if request.referrer.split('/').last == 'chatrooms'
@chatroom = Chatroom.new
end
def edit
@chatroom = Chatro... | gpl-3.0 |
mwilbers/mw-repo | modules/core/src/main/java/de/mw/mwdata/core/Identifiable.java | 416 | package de.mw.mwdata.core;
/**
* Common interface for applying application wide unique identifiers to
* arbitrary java objects.
*
* @author WilbersM
*
*/
public interface Identifiable {
/**
* Creates unique identifier by concatenating the given token to an prefix that
* forms an application wide unique id... | gpl-3.0 |
gentlecolts/White-Gloves-Willy | Assets/scripts/UI/AudienceMeter.cs | 3053 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class AudienceMeter : MonoBehaviour {
const float happyMax=100;
public float cheerTimer;
[Space(10)]
public float heartLifeTime;
public GameObject thrownHeart;
public Transform heartSpawnRegion;
privat... | gpl-3.0 |
Konstantin-Surzhin/letsgo | jhipster-blog/src/main/java/org/letsgo/config/LoggingAspectConfiguration.java | 482 | package org.letsgo.config;
import org.letsgo.aop.logging.LoggingAspect;
import io.github.jhipster.config.JHipsterConstants;
import org.springframework.context.annotation.*;
import org.springframework.core.env.Environment;
@Configuration
@EnableAspectJAutoProxy
public class LoggingAspectConfiguration {
@Bean
... | gpl-3.0 |
keenbaffling/djd-login-request | includes/class-djd-login-request-i18n.php | 980 | <?php
/**
* Define the internationalization functionality
*
* Loads and defines the internationalization files for this plugin
* so that it is ready for translation.
*
* @link https://ph.linkedin.com/in/klinton-ballecer-45294811b
* @since 1.0.0
*
* @package Djd_Login_Request
* @subpackage Djd_L... | gpl-3.0 |
drostie/adso | ciphers.py | 3594 | # -*- coding: utf-8 -*-
# This file is a part of adso, which uses PySkein, which is licensed under the
# GPL. As far as I can understand, this means that this code must also be
# released under the GPL. Since I don't believe in the value of copyright, I
# would like apologize to later users for that fact. Nonethele... | gpl-3.0 |
GhettoGirl/pFinanceKeeper | dialogs/prefsdialog.hpp | 1920 | #ifndef PREFSDIALOG_HPP
#define PREFSDIALOG_HPP
#include <QListWidget>
#include <dialogs/materialdialog.hpp>
#include <core/databasemanager.hpp>
class PrefsDialog : public MaterialDialog
{
Q_OBJECT
public:
explicit PrefsDialog(QWidget *parent = 0);
~PrefsDialog();
protected:
void keyPressEvent(QKey... | gpl-3.0 |
RomanKorchmenko/BowlingFX | BowlingFX/Assets/Daikon Forge/DFGUI/Scripts/Rich Text/dfMarkupParser.cs | 8140 | using System;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using UnityEngine;
/****************************************************************************
* PLEASE NOTE: The code in this file is under extremely acti... | gpl-3.0 |
cedrick-f/pyxorga | src/Images.py | 3349 | from wx.lib.embeddedimage import PyEmbeddedImage
#----------------------------------------------------------------------
LogoXMind = PyEmbeddedImage(
"iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAARnQU1B"
"AACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5F"
... | gpl-3.0 |
bnetcc/darkstar | scripts/zones/Abyssea-Konschtat/mobs/Hexenpilz.lua | 1152 | -----------------------------------
-- Area: Abyssea - Konschtat (15)
-- Mob: Hexenpilz
-----------------------------------
package.loaded["scripts/globals/abyssea"] = nil;
-----------------------------------
require("scripts/zones/Abyssea-Konschtat/textIDs");
require("scripts/globals/abyssea");
require("scripts/gl... | gpl-3.0 |
FlightControl-Master/DCS-API | DCSZone.lua | 194 | -------------------------------------------------------------------------------
-- @module DCSZone
---
-- @type Zone
-- @field DCSVec3#Vec3 point
-- @field #number radius
Zone = {}
| gpl-3.0 |
PascalSteger/NNfunclass | Visualization.java | 6000 | import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Polygon;
import java.awt.geom.Path2D;
import javax.swing.JFrame;
import javax.swing.JPanel;
/**
* Visualization: graphical output of Input and LinSup evaluated, with formula
* draw Input in normalized mode, fits as well! gi... | gpl-3.0 |
mikel-egana-aranguren/SADI-Galaxy-Docker | galaxy-dist/lib/tool_shed/scripts/check_s3_for_empty_tool_dependency_installation_paths.py | 7921 | import argparse
import os
import sys
new_path = [ os.path.join( os.getcwd(), "lib" ) ]
new_path.extend( sys.path[1:] )
sys.path = new_path
from galaxy.util import asbool
from galaxy import eggs
eggs.require( 'boto' )
import boto
from tool_shed.util.basic_util import INSTALLATION_LOG
class BucketList( object ):
... | gpl-3.0 |
cjaymes/pyscap | src/scap/model/oval_5/defs/windows/FileAuditedpermissionsObjectElement.py | 1374 | # Copyright 2016 Casey Jaymes
# This file is part of PySCAP.
#
# PySCAP 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.
#
# PySCAP is ... | gpl-3.0 |
luqmanarifin/ngobrol | ngobrol-server/src/com/ngobrol/server/group/Group.java | 707 | package com.ngobrol.server.group;
/**
* Created by luqmanarifin on 01/11/16.
*/
public class Group {
private long id;
private String name;
private String adminUsername;
public Group(long id, String name, String adminUsername) {
this.id = id;
this.name = name;
this.adminUsername = adminUsername;... | gpl-3.0 |
herpingdo/Hakkit | net/minecraft/src/ContainerRepairINNER2.java | 3804 | package net.minecraft.src;
class ContainerRepairINNER2 extends Slot
{
final World field_135071_a;
final int field_135069_b;
final int field_135070_c;
final int field_135067_d;
final ContainerRepair field_135068_e;
ContainerRepairINNER2(ContainerRepair par1ContainerRepair, IInventory par2II... | gpl-3.0 |
miaojiaxiaodai/ssdianzi | manage.py | 251 | #!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ssdianzi.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
| gpl-3.0 |
java-decompiler/jd-gui | app/src/main/java/org/jd/gui/view/OpenTypeView.java | 11472 | /*
* Copyright (c) 2008-2019 Emmanuel Dupuy.
* This project is distributed under the GPLv3 license.
* This is a Copyleft license that gives the user the right to use,
* copy and modify the code freely for non-commercial purposes.
*/
package org.jd.gui.view;
import org.jd.gui.api.API;
import org.jd.gui.api.model.... | gpl-3.0 |
wp-plugins/woocommerce-germanized | includes/class-wc-gzd-emails.php | 8769 | <?php
/**
* Attaches legal relevant Pages to WooCommerce Emails if has been set by WooCommerce Germanized Options
*
* @class WC_GZD_Emails
* @version 1.0.0
* @author Vendidero
*/
class WC_GZD_Emails {
/**
* contains options and page ids
* @var array
*/
private $footer_attachments = array();
/**
... | gpl-3.0 |
phtb233/super-blood-busters | core/src/com/phtb/superbloodbusters/accessors/SpriteAccessor.java | 2511 | package com.phtb.superbloodbusters.accessors;
import aurelienribon.tweenengine.TweenAccessor;
import com.badlogic.gdx.graphics.g2d.Sprite;
/**
* Created by stephen on 31/10/16.
*
* Tween Accessor for Sprites.
*/
public class SpriteAccessor implements TweenAccessor<Sprite> {
public static final int POSITION_X ... | gpl-3.0 |
elfinlazz/melia | src/Shared/Data/MeliaData.cs | 708 | // Copyright (c) Aura development team - Licensed under GNU GPL
// For more information, see license file in the main folder
using Melia.Shared.Data.Database;
namespace Melia.Shared.Data
{
/// <summary>
/// Wrapper for all file databases.
/// </summary>
public class MeliaData
{
public BarrackDb BarrackDb = ne... | gpl-3.0 |
PatrykHajzer/C- | Zad10/zad10.cpp | 369 | #include <stdio.h>
#include <math.h>
#include <iostream>
#define PI 3.14159265
using namespace std;
double w1;
double w2;
float i;
int main ()
{
for( i=(-3.14159265); i<=(3.14159265); i=i+0.2)
{
w1 = sin(i);
cout<< w1<<" dla kąta "<< i*180/PI <<endl;
w2 = sin(i*i);
cout<< w2<<" dla kwadratu kąta... | gpl-3.0 |
kevoree-modeling/framework | microframework/src/test/java/org/kevoree/modeling/util/maths/matrix/solvers/decomposition/QrHelperFunctions_D64.java | 11152 | package org.kevoree.modeling.util.maths.matrix.solvers.decomposition;
import org.kevoree.modeling.util.maths.matrix.DenseMatrix64F;
import org.kevoree.modeling.util.maths.structure.KArray2D;
public class QrHelperFunctions_D64 {
public static double findMax( double[] u, int startU , int length ) {
doubl... | gpl-3.0 |
PonteIneptique/collatinus-python | pycollatinus/__init__.py | 36 | from .lemmatiseur import Lemmatiseur | gpl-3.0 |
MizarWeb/Mizar | examples/getting-started-version.js | 84 | document.getElementById("version").innerHTML = "Mizar version : V" + Mizar.VERSION;
| gpl-3.0 |
kevinhikali/px_kevin | src/data_struct/thread.cpp | 507 | #include <iostream>
#include <string>
// about multi thread
#include <thread>
#include <mutex>
#include <atomic>
#include <future>
#include <chrono>
using namespace std;
mutex m;
void thread_func1(int a, char b)
{
m.lock();
cout<<b;
m.unlock();
return;
}
void thread_func2(int a, char b)
{
m.loc... | gpl-3.0 |
victor-david/panama | src/Panama/ViewModel/Windows/AlertWindowViewModel.cs | 5110 | /*
* Copyright 2019 Victor D. Sandiego
* This file is part of Panama.
* Panama is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License v3.0
* Panama is distributed in the hope that it will be useful, but without warranty of any kind.
*/
using Restless.App.Panama.... | gpl-3.0 |
Tyler-Gauch/MedievalMayhem | Assets/Scripts/References/Events/TriggerEventsExample.cs | 434 | using UnityEngine;
using System.Collections;
using MedievalMayhem.Utilities.Event;
namespace MedievalMayhem.References.Events {
public class TriggerEventsExample : MonoBehaviour
{
// Update is called once per frame
void Update ()
{
if (Input.GetKeyDown ("q")) {
EventManager.TriggerEvent ("eventsExamp... | gpl-3.0 |
ujjwalagrawal17/open-event-orga-app | app/src/main/java/org/fossasia/openevent/app/module/event/list/contract/IEventsView.java | 544 | package org.fossasia.openevent.app.module.event.list.contract;
import org.fossasia.openevent.app.common.app.lifecycle.contract.view.Emptiable;
import org.fossasia.openevent.app.common.app.lifecycle.contract.view.Erroneous;
import org.fossasia.openevent.app.common.app.lifecycle.contract.view.Progressive;
import org.fos... | gpl-3.0 |
Edholm/dat255-bearded-octo-lama | tests/src/it/chalmers/dat255_bearded_octo_lama/test/TestDays.java | 3957 | /**
* Copyright (C) 2012 Emil Edholm, Emil Johansson, Johan Andersson, Johan Gustafsson
*
* This file is part of dat255-bearded-octo-lama
*
* dat255-bearded-octo-lama 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 |
Kittychanley/TFCraft | src/Common/com/bioxx/tfc/Entities/Mobs/EntityPheasantTFC.java | 3227 | package com.bioxx.tfc.Entities.Mobs;
import java.util.ArrayList;
import net.minecraft.entity.EntityAgeable;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIEatGrass;
import net.minecraft.init.Items;
import net.minecraft.world.World;
import com.bioxx.tfc.TFCItems;... | gpl-3.0 |
fpellanda/libisi | lib/ordered_hash.rb | 4985 | # AUTHOR
# jan molic /mig/at/1984/dot/cz/
#
# DESCRIPTION
# Hash with preserved order and some array-like extensions
# Public domain.
#
# THANKS
# Andrew Johnson for his suggestions and fixes of Hash[],
# merge, to_a, inspect and shift
class OrderedHash < ::Hash
attr_accessor :order
class << se... | gpl-3.0 |
Zapuss/ZapekFapeCore | src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_twin_valkyr.cpp | 27690 | /*
* Copyright (C) 2011-2012 Project SkyFire <http://www.projectskyfire.org/>
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2012 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* This program is free software; you can redistribute it and/or modify it
* under the t... | gpl-3.0 |
OpenFOAM/OpenFOAM-dev | applications/solvers/multiphase/multiphaseEulerFoam/phaseSystems/populationBalanceModel/coalescenceModels/BrownianCollisions/BrownianCollisions.H | 4487 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2019-2021 OpenFOAM Foundation
\\... | gpl-3.0 |
lukedirtwalker/musikloud2 | app/src/maemo5/plugins/pluginsearchdialog.cpp | 3709 | /*
* Copyright (C) 2015 Stuart Howarth <showarth@marxoft.co.uk>
*
* 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 that it will be use... | gpl-3.0 |
pokedude9/AwesomeScriptEditor | src/Scripting/ScriptBlock.cpp | 3398 | //////////////////////////////////////////////////////////////////////////////////
//
//
// d88b ad8888888ba 888888888888
// d8888b d88" "88b 888
// d88'`88b Y88, 888
// d88' `88b `Y88888, 88888888
// ... | gpl-3.0 |
cgrates/cgrates | apier/v1/tproutes_it_test.go | 7399 | //go:build offline
// +build offline
/*
Real-time Online/Offline Charging System (OCS) for Telecom & ISP environments
Copyright (C) ITsysCOM GmbH
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, eith... | gpl-3.0 |
qtproject/qt-creator | src/plugins/projectexplorer/devicesupport/localprocesslist.cpp | 8070 | /****************************************************************************
**
** 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 |
Redcolaborar/Red-Colaborar | wp-content/plugins/stream/exporters/class-exporter-json.php | 1034 | <?php
namespace WP_Stream;
class Exporter_JSON extends Exporter {
/**
* Exporter name
*
* @var string
*/
public $name = 'JSON';
/**
* Exporter slug
*
* @var string
*/
public $slug = 'json';
/**
* Outputs JSON data for download
*
* @param array $data Array of data to output.
* @param arra... | gpl-3.0 |
nhatson1987/libQGLViewer-2.5.2 | examples/contribs/dvonn/drawer.cpp | 19609 | /****************************************************************************
Copyright (C) 2002-2013 Gilles Debunne. All rights reserved.
This file is part of the QGLViewer library version 2.5.2.
http://www.libqglviewer.com - contact@libqglviewer.com
This file may be used under the terms of the GNU General Pub... | gpl-3.0 |
brarcher/protect-baby-monitor | app/src/main/java/protect/babymonitor/DiscoverActivity.java | 10257 | /**
* This file is part of the Protect Baby Monitor.
*
* Protect Baby Monitor 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 |
ppwozniak/java-openid-server | jos-web/src/main/java/pl/jdevelopers/jos/web/filter/UserAgentLocalesFilter.java | 4774 | /**
* Copyright (c) 2006-2009, Redv.com
* 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 o... | gpl-3.0 |
osanwe/Kat | vksdk/src/requests/account.cpp | 659 | #include "account.h"
Account::Account(QObject *parent) : RequestBase(parent)
{}
void Account::setOnline() {
QUrlQuery query;
query.addQueryItem("voip", "0");
_api->makeApiGetRequest("account.setOnline", query, ApiRequest::ACCOUNT_SET_ONLINE);
}
void Account::banUser(int id) {
QUrlQuery query;
que... | gpl-3.0 |
lcpt/xc | src/domain/load/pattern/LoadPatternIter.cpp | 4106 | //----------------------------------------------------------------------------
// XC program; finite element analysis code
// for structural analysis and design.
//
// Copyright (C) Luis Claudio Pérez Tato
//
// This program derives from OpenSees <http://opensees.berkeley.edu>
// developed by the «Pacific earthq... | gpl-3.0 |
Slaedr/amovemesh | src/binsort/adistbinsort.hpp | 1949 | /** \file adistbinsort.hpp
* \brief Bin sort of set of points.
* \author Aditya Kashi
* \date April 20, 2016
*/
#ifndef __ADISTBINSORT_H
#define __ADISTBINSORT_H 1
#ifndef __AMATRIX_H
#include <amatrix.hpp>
#endif
#ifndef _GLIBCXX_CMATH
#include <cmath>
#endif
#ifndef _GLIBCXX_VECTOR
#include <vector>
#endif
... | gpl-3.0 |
Floydtm/cherry-shortcodes | assets/js/shotcodes/page-anchor.js | 4700 | (function($){
"use strict";
$.extend( $.expr[ ':' ], {
'position_fixed': function( element, index, match ) {
return $( element ).css( 'position' ) === 'fixed';
}
});
CHERRY_API.utilites.namespace( 'shortcode.row.page_anchor' );
CHERRY_API.shortcode.row.page_anchor = {
$window:CHERRY_API.variable.$windo... | gpl-3.0 |
madeITBelgium/vesta | web/download/backup/index.php | 896 | <?php
// Init
error_reporting(NULL);
session_start();
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
// Check token
if ((!isset($_GET['token'])) || ($_SESSION['token'] != $_GET['token'])) {
header('Location: /login/');
exit();
}
$backup = basename($_GET['backup']);
// Check if the backup exists
if (!fil... | gpl-3.0 |
thm-projects/arsnova-flashcards | imports/ui/filter/index/item/bottom/item/editTranscript.js | 1114 | import "./editTranscript.html";
import {Template} from "meteor/templating";
import {Route} from "../../../../../../util/route";
import {TranscriptBonus} from "../../../../../../api/subscriptions/transcriptBonus";
import {TranscriptBonusList} from "../../../../../../util/transcriptBonus";
import { FlowRouter } from 'met... | gpl-3.0 |
msoni11/elismoodle | lib/pear/PHPUnit/Framework.php | 2187 | <?php
/**
* PHPUnit
*
* Copyright (c) 2002-2010, Sebastian Bergmann <sebastian@phpunit.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 must ... | gpl-3.0 |
kipr/harrogate | shared/client/doc/search/searchdata.js | 760 | var indexSectionsWithContent =
{
0: "_abcdefghijklmnoprstuvwxyz~",
1: "_abcdeghimnoprstvx",
2: "bcs",
3: "abcdegimrstuvw",
4: "_abcdefghijlmnoprstuvwxyz~",
5: "_abcdghilmnrstuvwxyz",
6: "ceoprstv",
7: "beikmr",
8: "abcfhklmnoprswxyz",
9: "_bceginopsv",
10: "abcdgimst",
11: "d"
};
var indexSecti... | gpl-3.0 |
jazzsequence/games-collector | vendor/wp-coding-standards/wpcs/WordPress/Sniffs/NamingConventions/ValidHookNameSniff.php | 7865 | <?php
/**
* WordPress Coding Standard.
*
* @package WPCS\WordPressCodingStandards
* @link https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards
* @license https://opensource.org/licenses/MIT MIT
*/
namespace WordPress\Sniffs\NamingConventions;
use WordPress\AbstractFunctionParameterSniff;
... | gpl-3.0 |