repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
henriquegemignani/randovania | randovania/game_description/item/ammo.py | 2857 | from dataclasses import dataclass
import dataclasses
from typing import Dict, Tuple, Optional
from frozendict import frozendict
from randovania.game_description.item.item_category import ItemCategory
from randovania.game_description.resources.pickup_entry import ResourceLock
from randovania.game_description.resources... | gpl-3.0 |
mistert14/ardu-rasp1 | lib/SimpleDHT/SimpleDHT.cpp | 7526 | /*
The MIT License (MIT)
Copyright (c) 2016-2017 winlin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, p... | gpl-3.0 |
rudneff/Network-labs | lab-ip-hw/report/utils/dot2texlib/dotparsing.py | 35748 | # -*- coding: utf-8 -*-
"""Graphviz dot language parser.
This parser is derived from the the parser distributed with the pydot module.
Original authors are
Michael Krause <michael AT krause-software.de>
Ero Carrera <ero AT dkbza.org>
"""
__version__ = '2.8.7'
__author__ = ['Michael Krause', 'Ero Carrera', 'Kjell Mag... | gpl-3.0 |
Ictp/indico | indico/MaKaC/plugins/Collaboration/test/unit/collaboration_test.py | 22753 | # -*- coding: utf-8 -*-
##
##
## This file is part of Indico.
## Copyright (C) 2002 - 2014 European Organization for Nuclear Research (CERN).
##
## Indico 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 |
LINUXADDICT/cakecrud | app/Controller/Component/RandomComponent.php | 961 | <?php
App::uses('Component', 'Controller');
class RandomComponent extends Component
{
/**
* Password generator function
*
* This function will randomly generate a password from a given set of characters
*
* @param int = 8, length of the password you want to generate
* @return string, the password
*/
pu... | gpl-3.0 |
xevrem/vaerydian | Glimpse/Controls/GTextBox.cs | 3060 | //
// GTextBox.cs
//
// Author:
// erika <>
//
// Copyright (c) 2016 erika
//
// 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 opt... | gpl-3.0 |
geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/net/quic/core/quic_stream_sequencer_test.cc | 22458 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/quic/core/quic_stream_sequencer.h"
#include <algorithm>
#include <cstdint>
#include <memory>
#include <utility>
#include <vector>
#inc... | gpl-3.0 |
potty-dzmeia/db4o | src/db4oj.tests/src/com/db4o/test/legacy/soda/engines/db4o/STDb4oClientServer.java | 2554 | /* This file is part of the db4o object database http://www.db4o.com
Copyright (C) 2004 - 2011 Versant Corporation http://www.versant.com
db4o is free software; you can redistribute it and/or modify it under
the terms of version 3 of the GNU General Public License as published
by the Free Software Foundation.
db4o ... | gpl-3.0 |
BruceWangNo1/jnu_database | public/user/services/authentication.client.service.js | 111 | userclient.factory('Authentication', [function(){
this.user=window.user;
return {
user: this.user
};
}]); | gpl-3.0 |
Fedict/eid-pki-ra | eid-pki-ra-integration/src/test/java/be/fedict/eid/integration/admin/CertificateAuthorityCertificateChainsSeleniumTest.java | 4954 | /**
* eID PKI RA Project.
* Copyright (C) 2010 FedICT.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License version
* 3.0 as published by the Free Software Foundation.
*
* This software is distributed in the hope that it wi... | gpl-3.0 |
justdoonemore/get.stuff.done | get.stuff.done.model/src/main/java/com/jdom/get/stuff/done/model/AddTaskModel.java | 1015 | /**
* Copyright (C) 2012 Just Do One More
*
* 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 p... | gpl-3.0 |
chengpenghui/UGame | src/impl/ProduceImproveCenter.cpp | 1961 |
#include "stdafx.h"
#include "xgame.h"
#include "ProduceImproveCenter.h"
ProduceImproveCenter::ProduceImproveCenter(const CString& name , const CString& des, int index , int level)
:Building(name , des , index , level)
{
}
ProduceImproveCenter::~ProduceImproveCenter()
{
}
void ProduceImproveCenter::Load()
{
l... | gpl-3.0 |
sicarul/isshub | generic_threads.py | 317 |
from PyQt4 import QtCore
class GenericThread(QtCore.QThread):
def __init__(self, function, *args, **kwargs):
QtCore.QThread.__init__(self)
self.function = function
self.args = args
self.kwargs = kwargs
def __del__(self):
self.wait()
def run(self):
self.function(*self.args,**self.kwargs)
return | gpl-3.0 |
meunierd/python-html-purifier | purifier/test.py | 1134 | # -*- coding: utf-8 -*-
"""
HTMLPurifier testing
This is not doc- or unit tests.
"""
import time
from purifier import HTMLPurifier
import bleach
test_data_files = [
'../test-data/google.ru.html',
'../test-data/megatyumen.ru.catalogue.html',
'../test-data/megatyumen.ru.html',
'../test-data/simple.htm... | gpl-3.0 |
taylorsuccessor/baghli | catalog/controller/checkout/shipping_address.php | 8428 | <?php
class ControllerCheckoutShippingAddress extends Controller {
public function index() {
$this->load->language('checkout/checkout');
$data['text_address_existing'] = $this->language->get('text_address_existing');
$data['text_address_new'] = $this->language->get('text_address_new');
$data['text_select'] = ... | gpl-3.0 |
zsh2938/FHC-Core | include/js/jquery.tablesorter.js | 24689 | /*
*
* TableSorter 2.0 - Client-side table sorting with ease!
* Version 2.0.3
* @requires jQuery v1.2.3
*
* Copyright (c) 2007 Christian Bach
* Examples and docs at: http://tablesorter.com
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.o... | gpl-3.0 |
Brok9n/mercury | src/util/time.cpp | 1572 | #include "time.hpp"
#include <ctime>
#include <sstream>
#include "environment.hpp"
#ifdef NIL_WINDOWS
#include <nil/windows.hpp>
#else
#include <sys/time.h>
#include <sys/times.h>
#endif
#include <iostream>
namespace nil
{
ulong time()
{
return static_cast<ulong>(std::time(0));
}
ul... | gpl-3.0 |
nt001-01/AFD | server.js | 584 | /*eslint no-console:0 */
'use strict';
require('core-js/fn/object/assign');
const webpack = require('webpack');
const WebpackDevServer = require('webpack-dev-server');
const config = require('./webpack.config');
const open = require('open');
//Server
//End Server
new WebpackDevServer(webpack(config), config.devServe... | gpl-3.0 |
hebra/meterbeat | src/main/java/io/github/hebra/elasticsearch/beat/meterbeat/MeasurementResult.java | 1127 | /**
* (C) 2016-2017 Hendrik Brandt <https://github.com/hebra/> This file is part of MeterBeat. MeterBeat 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 |
WaddellEngineering/HarMANi | app/js/contactController.js | 16425 | /**
* Created by Brett Eckert on 3/28/2016.
*/
/*global $, confirm, initParams, angular */
angular.module('waddellEng').controller(
'ContactController', ['commonService', 'objectStoreService', 'authenticationService',
function (commonService, objectStoreService, authenticationService) {
"use... | gpl-3.0 |
moddevices/mda-lv2 | src/mdaTestTone.cpp | 16960 | /*
Copyright 2008-2011 David Robillard <http://drobilla.net>
Copyright 1999-2000 Paul Kellett (Maxim Digital Audio)
This 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 |
UCLL-ELO/WEB_ASP | ASP_LOGIN/ASP_LOGIN/Account/Lockout.aspx.designer.cs | 440 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-----------------------------------------... | gpl-3.0 |
amigosz/Annom-1 | Annom_Common/com/Thecheatgamer1/Annom/Core/Proxy/CommonProxy.java | 945 | package com.Thecheatgamer1.Annom.Core.Proxy;
import net.minecraftforge.common.ForgeDirection;
public class CommonProxy {
public void registerKeyBindingHandler() {
}
public void registerRenderTickHandler() {
}
public void registerDrawBlockHighlightHandler() {
}
public void setKeyBind... | gpl-3.0 |
linuxdeepin/deepin-ui | dtk/ui/window_base.py | 8685 | #! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2011 ~ 2012 Deepin, Inc.
# 2011 ~ 2012 Wang Yong
#
# Author: Wang Yong <lazycat.manatee@gmail.com>
# Maintainer: Wang Yong <lazycat.manatee@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the... | gpl-3.0 |
gvera85/sikronk | application/libraries/funciones.php | 355 | <?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class Funciones {
public function generateRedirectURL()
{
$CI = &get_instance();
$preURL = parse_url($_SERVER['REQUEST_URI']);
$redirectUrl = array('redirectUrl' => 'http://' . $_SERVER['SERVER_NAME'] . $preURL['path']);
$CI->session->... | gpl-3.0 |
Invertika/data | scripts/maps/ow-p0010-n0018-o0000.lua | 1404 | ----------------------------------------------------------------------------------
-- Map File --
-- --
-- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un... | gpl-3.0 |
reid-vollett/Software_Quality_Project | MissileLauncher.py | 1830 | from ezmath import *
import GlobalVariables
from Missile import missile
from Poly import poly
from Weapon import weapon
# a high-damage power weapon that locks onto nearby enemies
class missileLauncher(weapon):
def __init__(this):
'''initializes the missileLauncher'''
weapon.__init__(this)
... | gpl-3.0 |
nzaillian/evergreen-app | app/helpers/render_helper.rb | 205 | module RenderHelper
def render_content(*args, &block)
augmented_args = _normalize_args(*args, &block)
augmented_args[:formats] = [:html]
render_to_string(augmented_args).html_safe
end
end | gpl-3.0 |
kakone/GoogleCast | GoogleCast/Messages/Receiver/SetVolumeMessage.cs | 416 | using System.Runtime.Serialization;
using GoogleCast.Models;
namespace GoogleCast.Messages.Receiver
{
/// <summary>
/// Volume Message
/// </summary>
[DataContract]
class SetVolumeMessage : MessageWithId
{
/// <summary>
/// Gets or sets the volume
/// </summary>
... | gpl-3.0 |
hmenke/espresso | src/core/unit_tests/common/gaussian.hpp | 1663 | /*
Copyright (C) 2010-2018 The ESPResSo project
This file is part of ESPResSo.
ESPResSo 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.
ES... | gpl-3.0 |
GTsianakas/space3D | DemoThree.java | 1486 | import java.util.ArrayList;
public class DemoThree{
ArrayList<PhysicalObject> list = new ArrayList<>();
public DemoThree(){
for (int i = 0; i < 500; i++){
list.add(new PhysicalSphere(1, //size
Math.random()*600.2-300.1+500, //xpos
Math.random()*600.2-300.... | gpl-3.0 |
Interfacelab/ilab-media-tools | lib/mcloud-aws/aws-sdk-php/src/RAM/RAMClient.php | 4682 | <?php
namespace MediaCloud\Vendor\Aws\RAM;
use MediaCloud\Vendor\Aws\AwsClient;
/**
* This client is used to interact with the **AWS Resource Access Manager** service.
* @method \MediaCloud\Vendor\Aws\Result acceptResourceShareInvitation(array $args = [])
* @method \MediaCloud\Vendor\GuzzleHttp\Promise\Promise acc... | gpl-3.0 |
damicon/zfswatcher | golibs/src/code.google.com/p/gcfg/bool.go | 411 | package gcfg
import (
"fmt"
)
type gbool bool
var gboolValues = map[string]interface{}{
"true": true, "yes": true, "on": true, "1": true,
"false": false, "no": false, "off": false, "0": false}
func (b *gbool) Scan(state fmt.ScanState, verb rune) error {
v, err := scanEnum(state, gboolValues, true)
if err != ni... | gpl-3.0 |
cemfi/meico | src/meico/mpm/elements/styles/MetricalAccentuationStyle.java | 3279 | package meico.mpm.elements.styles;
import meico.mei.Helper;
import meico.mpm.elements.styles.defs.AccentuationPatternDef;
import nu.xom.Element;
import java.util.HashMap;
import java.util.LinkedList;
/**
* This class interfaces metrical accentuation style definitions.
* Basically, these define a string and
* and ... | gpl-3.0 |
zhehaowang/ndn-cxx | tests/unit-tests/test-version.cpp | 1789 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
* Copyright (c) 2013-2014 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
* ndn-cxx library is free software: you can redistribute it and/or modify it under the
... | gpl-3.0 |
Schumix/Schumix2 | Applications/Schumix.Installer/Compiler/Build.cs | 2432 | /*
* This file is part of Schumix.
*
* Copyright (C) 2010-2013 Megax <http://megax.yeahunter.hu/>
* Copyright (C) 2013-2015 Schumix Team <http://schumix.eu/>
*
* Schumix 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 So... | gpl-3.0 |
thiagorcdl/AdventOfCode | 2020/src/day_01/__init__.py | 1150 | #!/usr/bin/env python
from src.utils import BaseResolution
class Resolution(BaseResolution):
"""Logics for resolving day 1."""
day = 1
def part_1(self, input_lines: list):
"""Run n**2 solution for part 1."""
total = 2020
for i, line in enumerate(input_lines):
line = in... | gpl-3.0 |
ISRAPIL/FastCorePE | src/pocketmine/level/particle/MobSpawnParticle.php | 727 | <?php
namespace pocketmine\level\particle;
use pocketmine\network\protocol\LevelEventPacket;
use pocketmine\math\Vector3;
class MobSpawnParticle extends Particle {
protected $width;
protected $height;
public function __construct(Vector3 $pos, $width = 0, $height = 0) {
parent::__construct($pos-... | gpl-3.0 |
HopeFOAM/HopeFOAM | ThirdParty-0.1/ParaView-5.0.1/Utilities/VisItBridge/databases/RAW/RAWEnginePluginInfo.C | 3110 | /*****************************************************************************
*
* Copyright (c) 2000 - 2013, Lawrence Livermore National Security, LLC
* Produced at the Lawrence Livermore National Laboratory
* LLNL-CODE-442911
* All rights reserved.
*
* This file is part of VisIt. For details, see https://visit.llnl... | gpl-3.0 |
ctxis/canape | CANAPE.Scripting/BasePipelineNodeWithPersist.cs | 2797 | // CANAPE Network Testing Tool
// Copyright (C) 2014 Context Information Security
//
// 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
// (... | gpl-3.0 |
RumAngelov/ConvPlugin | JuceLibraryCode/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp | 98625 | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2017 - ROLI Ltd.
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 5 End-User Lic... | gpl-3.0 |
RumAngelov/ConvPlugin | JuceLibraryCode/modules/juce_core/maths/juce_Random.cpp | 4583 | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2017 - ROLI Ltd.
JUCE is an open source library subject to commercial or open-source
licensing.
The code included in this file is provided under the terms of the ISC... | gpl-3.0 |
Themaister/RSound | binds/cs/RSound.cs | 2800 | using System;
using System.Runtime.InteropServices;
namespace RSound
{
public unsafe class AudioStream : IDisposable
{
public enum Format : int
{
RSD_S16_LE = 0x0001,
RSD_S16_BE = 0x0002,
RSD_U16_LE = 0x0004,
RSD_U16_BE = 0x0008,
RSD_U8 = 0x0010,
... | gpl-3.0 |
Unofficial-Extend-Project-Mirror/foam-extend-foam-extend-3.2 | src/lduSolvers/lduSolver/bicgStabSolver/bicgStabSolver.H | 3296 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
\\ / O peration | Version: 3.2
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For ... | gpl-3.0 |
socialplanning/opencore | opencore/project/browser/projpage.js | 8161 | /*
On page load, the SortableManager:
- Finds the table by its id (sortable_table).
- Parses its thead for columns with a "mochi:format" attribute.
- Parses the data out of the tbody based upon information given in the
"mochi:format" attribute, and clones the tr elements for later re-use.
- Clones the column header... | gpl-3.0 |
echmet/CEval | src/crashhandling/crashhandlerlinux.cpp | 7270 | #ifdef CRASHHANDLING_LINUX
#include "crashhandlerlinux.h"
#include "crashhandlingprovider.h"
#include "crashhandlerlinux_stacktrace.h"
#include "rawmemblock.h"
#include <algorithm>
#include <cstring>
#include <errno.h>
#include <syscall.h>
#include <unistd.h>
#include <sys/prctl.h>
#include <sys/syscall.h>
#include <s... | gpl-3.0 |
mapleez/eztip | go/working-with-go/http/template.go | 1339 | package main
import (
"fmt"
"html/template"
"os"
"strings"
)
type Friend struct {
Fname string
}
type Person struct {
UserName string
Emails []string
Friends []*Friend
}
func EmailDealWith (args ...interface {}) string {
var s string
ok := false
if len (args) == 1 {
s, ok = a... | gpl-3.0 |
mozartframework/cms | build/demosite/WebContent/WEB-INF/mozart/wp/htdocs/scripts/image-01.js | 3538 | // image
//-----------------------------------
// src - ñîóðñ êàðòèíêè
// ôóíêöèÿ ñîçäàåò îáúåêò ñ ñîóðñîì ðàâíûì çíà÷åíèþ src
function image_obj(src){
this.img=new Image()
this.img.src=src
}
// var i = new image_obj_onoff('on.gif','off.gif')
// image_set_onoff (document.images[..],i,'on')
//----------... | gpl-3.0 |
ChangDeWM/WMS | WMS.Common.Utility/ValidateCode/AnimatedGifEncoder.cs | 9849 | using System;
using System.Drawing;
using System.IO;
namespace WMS.Common.Utility
{
public class AnimatedGifEncoder
{
protected int colorDepth;
protected byte[] colorTab;
protected int delay;
protected int dispose = -1;
protected bool firstFrame = true;
protect... | gpl-3.0 |
khan0407/FinalArcade | theme/binarius/layout/general.php | 5668 | <?php
$hasheading = ($PAGE->heading);
$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar());
$hasfooter = (empty($PAGE->layout_options['nofooter']));
$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT);
$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docke... | gpl-3.0 |
marook/brainfs | test/test_subject_directory.py | 2472 | #
# Copyright 2010 Markus Pielmeier
#
# This file is part of brainfs.
#
# brainfs 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.
#
# b... | gpl-3.0 |
atomist-blogs/spring5-kotlin | src/commands/kotlinUtils.ts | 2456 | /*
* Copyright © 2017 Atomist, Inc.
*
* 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 or agree... | gpl-3.0 |
ovidiusimionica/isolation-levels-demo | src/test/java/com/example/IsolationLevelsDemoApplicationTests.java | 435 | package com.example;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
@RunWith(SpringJUnit4ClassRunner.class)
@SpringApplicationConfiguration(classes = IsolationLevelsDem... | gpl-3.0 |
astrophysicist87/iEBE-Plumberg | EBE-Node/photonEmission/ph_rates/sum_up_all_QGP_channels.py | 569 | #!/usr/bin/env python
from numpy import *
channel_list = ['QGP_2to2_hard', 'QGP_2to2_soft' ]
rate_type_list = ['eqrate', 'viscous', 'bulkvis']
sum_data = 0.0*loadtxt('rate_%s_%s.dat' % (channel_list[0], rate_type_list[0]))
for itype in range(len(rate_type_list)):
for ich in range(len(channel_list)):
fil... | gpl-3.0 |
neilh23/eudyptula | stk/src/TubeBell.cpp | 2105 | /***************************************************/
/*! \class TubeBell
\brief STK tubular bell (orchestral chime) FM
synthesis instrument.
This class implements two simple FM Pairs
summed together, also referred to as algorithm
5 of the TX81Z.
\code
Algorithm 5 is : 4->3--\
... | gpl-3.0 |
OsirisSPS/osiris-sps | client/src/plugins/python/wrappers/extensionsmodulecontrol.pypp.cpp | 22180 | // This file has been generated by Py++.
#include "stdafx.h"
#include "pypluspluscommon.h"
#include "boost/python.hpp"
#include "__call_policies.pypp.hpp"
#include "extensionsmodulecontrol.h"
#include "xmldocument.h"
#include "ideskin.h"
#include "idesession.h"
#include "ideportalcontrol.h"
#include "datatree.h"
#incl... | gpl-3.0 |
vpsfreecz/vpsadmin-webui | webui/ajax.php | 2438 | <?php
/*
./ajax.php
vpsAdmin
Web-admin interface for OpenVZ (see http://openvz.org)
Copyright (C) 2008-2009 Pavel Snajdr, snajpa@snajpa.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 Sof... | gpl-3.0 |
wazari972/WebAlbums | WebAlbums-iService/src/net/wazari/service/exchange/ViewSessionPhoto.java | 2492 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package net.wazari.service.exchange;
import net.wazari.service.exchange.ViewSession.VSession;
/**
*
* @author kevin
*/
public interface ViewSessionPhoto extends VSession {
enum Photo_Action {
MASSEDIT, E... | gpl-3.0 |
Saereth/AstralSorcery | src/main/java/hellfirepvp/astralsorcery/common/util/SoundHelper.java | 4259 | /*******************************************************************************
* HellFirePvP / Astral Sorcery 2017
*
* This project is licensed under GNU GENERAL PUBLIC LICENSE Version 3.
* The source code is available on github: https://github.com/HellFirePvP/AstralSorcery
* For further details, see the License... | gpl-3.0 |
Traderain/Wolven-kit | WolvenKit.CR2W/Types/W3/RTTIConvert/W3PostFXOnGroundComponent.cs | 1766 | using System.IO;
using System.Runtime.Serialization;
using WolvenKit.CR2W.Reflection;
using FastMember;
using static WolvenKit.CR2W.Types.Enums;
namespace WolvenKit.CR2W.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class W3PostFXOnGroundComponent : CSelfUpdatingComponent
{
[Ordinal(1)] [RED("fadeInTi... | gpl-3.0 |
Zanaj/AuraMaster-production | src/Shared/Network/Op.cs | 20189 | // Copyright (c) Aura development team - Licensed under GNU GPL
// For more information, see license file in the main folder
namespace Aura.Shared.Network
{
/// <summary>
/// All Op codes
/// </summary>
public static class Op
{
// Login Server
// --------------------------------------------------------------... | gpl-3.0 |
alickyao/studyCSharp | NewCyclone/NewCyclone/Areas/HelpPage/HelpPageAreaRegistration.cs | 693 | using System.Web.Http;
using System.Web.Mvc;
namespace NewCyclone.Areas.HelpPage
{
public class HelpPageAreaRegistration : AreaRegistration
{
public override string AreaName
{
get
{
return "HelpPage";
}
}
public... | gpl-3.0 |
Muzietto/jcip-jciop | src/main/java/net/faustinelli/javafx/ensemble/samples/charts/area/AdvancedAreaChartSample.java | 17291 | /*
* Copyright (c) 2008, 2012 Oracle and/or its affiliates.
* All rights reserved. Use is subject to license terms.
*
* This file is available and licensed under the following license:
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... | gpl-3.0 |
bnetcc/darkstar | scripts/zones/Lower_Jeuno/npcs/Rakuru_Rakoru.lua | 848 | --------------------------------------------------------------
--Rakuru-Rakoru
--Lower Jeuno
-- Adds all BLU spells
--------------------------------------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----... | gpl-3.0 |
isalnikov/ACMP | src/test/java/ru/isalnikov/acmp/acmp327/MainTest.java | 756 | /*
* 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 ru.isalnikov.acmp.acmp327;
import java.io.ByteArrayInputStream;
import org.junit.Test;
import static org.junit.Assert.*;
impor... | gpl-3.0 |
DBCDK/hejmdal | src/utils/attribute.mapper.util.js | 4266 | /**
* @file
*
* Maps data from CULR (and IDprovider) as specified by the Smaug-setting for the given serviceClient
*
*/
import {log} from './logging.util';
import {mapFromCpr} from './cpr.util';
import {getInstitutionsForUser} from '../components/UniLogin/unilogin.component';
import {getAgencyRights} from '../co... | gpl-3.0 |
PhilippC/keepass2android | src/keepass2android/settings/RoundsPreference.cs | 4861 | /*
This file is part of Keepass2Android, Copyright 2013 Philipp Crocoll. This file is based on Keepassdroid, Copyright Brian Pellin.
Keepass2Android is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either ve... | gpl-3.0 |
komatsuyuji/jhako | frontends/public/app/controller/history/Flowchart.js | 7342 | /////////////////////////////////////////////////////////////////////////////////
//
// jHako WebGUI
// Copyright (C) 2014-2015 Komatsu Yuji(Zheng Chuyu)
//
// 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 Softwar... | gpl-3.0 |
iterate-ch/cyberduck | core/src/main/java/ch/cyberduck/core/DefaultProviderHelpService.java | 1324 | package ch.cyberduck.core;
/*
* Copyright (c) 2002-2013 David Kocher. All rights reserved.
* http://cyberduck.ch/
*
* 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... | gpl-3.0 |
spidi123q/love_life_calculator | library/dashed-circular-progress-master/app/src/main/java/com/github/glomadrian/sample/fragment/Pager.java | 3686 | package com.github.glomadrian.sample.fragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import android.support.v4.view.ViewPager;
import android.view.L... | gpl-3.0 |
ckaestne/LEADT | workspace/argouml_diagrams/argouml-app/src/org/argouml/cognitive/ui/WizDescription.java | 6123 | // $Id: WizDescription.java 12777 2007-06-08 07:46:22Z tfmorris $
// Copyright (c) 1996-2006 The Regents of the University of California. All
// Rights Reserved. Permission to use, copy, modify, and distribute this
// software and its documentation without fee, and without a written
// agreement is hereby granted, ... | gpl-3.0 |
dejan-brkic/search | crafter-search-batch-indexer/src/main/java/org/craftercms/search/batch/impl/XmlFileBatchIndexer.java | 3452 | package org.craftercms.search.batch.impl;
import java.io.IOException;
import java.io.StringWriter;
import java.util.Collections;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.craftercms.core.exception.CrafterException;
import org.craftercms.core... | gpl-3.0 |
Acquati/aulas-tesseract | tutorial-crud/laravel-forum/database/migrations/2017_05_19_141013_create_thread_subscriptions_table.php | 930 | <?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateThreadSubscriptionsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('thr... | gpl-3.0 |
domainmod/domainmod | _includes/breadcrumbs/segments-add.inc.php | 1101 | <?php
/**
* /_includes/breadcrumbs/segments-add.inc.php
*
* This file is part of DomainMOD, an open source domain and internet asset manager.
* Copyright (c) 2010-2021 Greg Chetcuti <greg@chetcuti.com>
*
* Project: http://domainmod.org Author: http://chetcuti.com
*
* DomainMOD is free software: you can redist... | gpl-3.0 |
Unofficial-Extend-Project-Mirror/foam-extend-foam-extend-3.2 | src/foam/primitives/ints/ulong/ulongIO.C | 2604 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
\\ / O peration | Version: 3.2
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For ... | gpl-3.0 |
Unofficial-Extend-Project-Mirror/foam-extend-foam-extend-3.2 | src/turbulenceModels/incompressible/RAS/kOmegaSST/kOmegaSST.H | 8619 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
\\ / O peration | Version: 3.2
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For ... | gpl-3.0 |
Areax/TerrasNaxium | Assets/Scripts/HarryPotterUnity/Cards/BasicBehavior/ItemLessonBook.cs | 572 | using System.Collections.Generic;
namespace HarryPotterUnity.Cards.BasicBehavior
{
public class ItemLessonBook : ItemLessonProvider
{
public override bool CanPerformInPlayAction()
{
return Player.CanUseActions() && Player.IsLocalPlayer;
}
public override void OnInP... | gpl-3.0 |
easy-as-pie-labs/tweap | tweap/todo/migrations/0001_initial.py | 1103 | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
('project_management', '0003_tag'),
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
... | gpl-3.0 |
qunying/gps | share/plug-ins/dispatching.py | 4239 | """Highlighting all dispatching calls in the current editor
This package will highlight with a special background color all
dispatching calls found in the current editor. In particular, at such
locations, the cross-references might not lead accurate result (for
instance "go to body"), since the exact subprogram that i... | gpl-3.0 |
PapenfussLab/PathOS | Tools/Hl7Tools/src/main/java/org/petermac/hl7/model/v251/group/RPL_I02_PROVIDER.java | 5370 | /*
* This class is an auto-generated source file for a HAPI
* HL7 v2.x standard structure class.
*
* For more information, visit: http://hl7api.sourceforge.net/
*
* The contents of this file are subject to the Mozilla Public License Version 1.1
* (the "License"); you may not use this file except in comp... | gpl-3.0 |
ISRAPIL/FastCorePE | src/pocketmine/entity/Item.php | 6325 | <?php
namespace pocketmine\entity;
use pocketmine\event\entity\EntityDamageEvent;
use pocketmine\event\entity\ItemDespawnEvent;
use pocketmine\event\entity\ItemSpawnEvent;
use pocketmine\item\Item as ItemItem;
use pocketmine\nbt\tag\CompoundTag;
use pocketmine\nbt\tag\ShortTag;
use pocketmine\nbt\tag\StringTag;
use p... | gpl-3.0 |
kendo-labs/kendo-bootstrapper | lib/platform.js | 11659 | var CP = require("child_process");
var PATH = require("path");
var FS = require("fs");
var UTILS = require("./utils.js");
var PROJECT = require("./project.js");
var CONFIG = require("./config.js");
var PLIST = require("./plist.js");
function run_program(cmd, args, opts, callback) {
var p = CP.spawn(cmd, args, opt... | gpl-3.0 |
IOT-DSA/dslink-java-knx | src/main/java/org/dsa/iot/knx/DeviceFolder.java | 6225 | package org.dsa.iot.knx;
import java.util.Map;
import java.util.Queue;
import org.dsa.iot.dslink.node.Node;
import org.dsa.iot.dslink.node.actions.ActionResult;
import org.dsa.iot.dslink.node.value.Value;
import org.dsa.iot.dslink.node.value.ValueType;
import org.dsa.iot.knx.masterdata.MasterDataParser;
import org.ds... | gpl-3.0 |
goyoo-php/mobcent | app/models/AppbymeSendsms.php | 3343 | <?php
/**
* 微信绑定model类
*
* @author HanPengyu
* @copyright 2012-2015 Appbyme
*/
if (!defined('IN_DISCUZ') || !defined('IN_APPBYME')) {
exit('Access Denied');
}
class AppbymeSendsms extends DiscuzAR {
public static function model($className = __CLASS__) {
return parent::model($className);
}
... | gpl-3.0 |
kkurapaty/SourceCodeCounter | SourceCodeCounter/Common/EnumExtensions.cs | 1358 | using System;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
namespace SourceCodeCounter.Common
{
/// <summary>
/// This class contains extension functions for enum type
/// </summary>
public static class EnumExtensions
{
/// <summary>
/// Ret... | gpl-3.0 |
mbj36/open-event-orga-server | open_event/forms/admin/language_form.py | 302 | """Copyright 2015 Rafal Kowalski"""
from flask_wtf import Form
from wtforms import StringField, validators
class LanguageForm(Form):
"""Language Form class"""
name = StringField('Name', [validators.DataRequired()])
label_en = StringField('Label En')
label_de = StringField('Label DE') | gpl-3.0 |
flintforge/pyorgmode | pyorgmode/__init__.py | 278 |
from .PyOrgMode import (OrgNode, OrgElement, OrgDataStructure, OrgDate)
__title__ = 'pyorgmode'
__version__ = '0.2.0'
__authors__ = 'the pyorgmode team'
__license__ = 'GPLv3'
__copyright__ = 'Jonathan BISSON'
__all__ = ['OrgNode','OrgElement', 'OrgDataStructure', 'OrgDate']
| gpl-3.0 |
jazztickets/irrlamb | src/irrlicht/CXMLReader.cpp | 1544 | // Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#include "CXMLReaderImpl.h"
#include "CXMLReader.h"
#include "IReadFile.h"
namespace irr
{
namespace io
{
//! Irrlicht implementation of the file r... | gpl-3.0 |
Syliddar/ProBonoTracker | src/MemigrationProBonoTracker/Models/PersonViewModel/AssociatedPersonViewModel.cs | 306 | namespace MemigrationProBonoTracker.Models.PersonViewModel
{
public class AssociatedPersonViewModel
{
public int RelationId { get; set; }
public int AssociatedPersonId { get; set; }
public string FullName { get; set; }
public string Relation { get; set; }
}
} | gpl-3.0 |
mxhdev/SQLChecker | src/sqlchecker/io/impl/SimpleFileReader.java | 689 | package sqlchecker.io.impl;
import sqlchecker.io.AbstractFileReader;
public class SimpleFileReader extends AbstractFileReader {
private String fContent = "";
public SimpleFileReader(String path) {
super(path);
}
@Override
protected void onReadLine(String line) {
fContent += line + "\n";
}... | gpl-3.0 |
cstrouse/chromebrew | packages/font_util.rb | 1327 | require 'package'
class Font_util < Package
description 'Tools for truncating and subseting of ISO10646-1 BDF fonts'
homepage 'https://xorg.freedesktop.org'
version '1.3.2'
compatibility 'all'
source_url 'https://www.x.org/releases/individual/font/font-util-1.3.2.tar.bz2'
source_sha256 '3ad880444123ac06a72... | gpl-3.0 |
Karplyak/avtomag.url.ph | wp-content/themes/net2ftp_installer.php | 236521 | <?php
// -------------------------------------------------------------------------------
// | net2ftp: a web based FTP client |
// | License GNU/GPL - David Gartner - July 2006 |
// ---------------------------------------------------... | gpl-3.0 |
mistergiri/geodirectoryold | geodirectory-functions/signup_function.php | 19997 | <?php
function geodir_is_login($redirect = false){
global $current_user;
if(!$current_user->ID){
if($redirect){
?>
<script type="text/javascript" >
window.location.href = '<?php echo home_url().'?geodir_signup=true';?>';
</script>
<?php
}else
return false;
}else
return true;
}
... | gpl-3.0 |
ecastro/moodle23ulpgc | lib/editor/tinymath/tiny_mce/3.4.9/plugins/asciimath/dragmath.php | 1522 | <?php
require("../../../../../../../config.php");
$id = optional_param('id', SITEID, PARAM_INT);
require_course_login($id);
$drlang = str_replace('_utf8', '', current_language()); // use more standard language codes
$drlangmapping = array('cs'=>'cz', 'pt_br'=>'pt-br');
// fix non-standard ... | gpl-3.0 |
heartvalve/OpenFlipper | PluginCollection-Renderers/Plugin-Render-Picking/RenderPickingPlugin.cc | 7942 | /*===========================================================================*\
* *
* OpenFlipper *
* Copyright (C) 2001-2014 by Computer Graphics Group, RWTH Aachen *
* ... | gpl-3.0 |
chgibb/PHAT | src/req/renderer/components/appBar.ts | 119 | export const AppBar : typeof import("@material-ui/core/AppBar").default = require("@material-ui/core/AppBar").default;
| gpl-3.0 |
internetvideogamelibrary/internetvideogamelibrary-website | spec/features/users/game_masters/new_edition_spec.rb | 2581 | # frozen_string_literal: true
feature "Add edition" do
include Warden::Test::Helpers
Warden.test_mode!
after(:each) do
Warden.test_reset!
end
scenario "User without game maker role cannot create new edition" do
# Given
user = FactoryBot.create(:user)
login_as(user, scope: :user)
# When... | gpl-3.0 |
TIGER-NET/WOIS_plugins | openlayers_plugin/openlayers_ovwidget.py | 13201 | # -*- coding: utf-8 -*-
"""
/***************************************************************************
Openlayers Overview - A QGIS plugin to show map in browser(google maps and others)
-------------------
begin : 2011-03-01
copyright : (C) 2011 by Luiz Mott... | gpl-3.0 |
lobzik84/upravdom_web | public_html/assets/js/components/common/anchorTitle.js | 776 |
class AnchorTitle {
constructor($element) {
this.$anchorTitle = $('<div class="anchorTitle"></div>');
this.$element = $element;
$('body').append(this.$anchorTitle);
this.$element.data('description', $element.attr('data-description'))
.removeAttr('title')
.on('mouseenter', () => {
this.... | gpl-3.0 |
dmitry-vlasov/mdl | src/mm/ast/source/mm_ast_source_Assertion.hpp | 4426 | /*****************************************************************************/
/* Project name: mm - decompiler from metamath to mdl */
/* File Name: mm_ast_source_Assertion.hpp */
/* Description: metamath assertion */
... | gpl-3.0 |