repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtsensors/src/plugins/sensors/android/src/androidgyroscope.cpp | 2630 | /****************************************************************************
**
** Copyright (C) 2016 BogDan Vatra <bogdan@kde.org>
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtSensors module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding ... | gpl-3.0 |
Konstantin-Surzhin/letsgo | jhipster-blog/src/test/javascript/spec/helpers/spyobject.ts | 1586 | export interface GuinessCompatibleSpy extends jasmine.Spy {
/** By chaining the spy with and.returnValue, all calls to the function will return a specific
* value. */
andReturn(val: any): GuinessCompatibleSpy;
/** By chaining the spy with and.callFake, all calls to the spy will delegate to the supplied
* fu... | gpl-3.0 |
mjeanrichard/OutdoorTracker | OutdoorTracker/Controls/CurrentLocation.cs | 7175 | //
// Outdoor Tracker - Copyright(C) 2016 Meinard Jean-Richard
//
// 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 ve... | gpl-3.0 |
DarkSino98/Essentials | Essentials/src/com/earth2me/essentials/commands/Commandkick.java | 1546 | package com.earth2me.essentials.commands;
import com.earth2me.essentials.CommandSource;
import com.earth2me.essentials.Console;
import static com.earth2me.essentials.I18n._;
import com.earth2me.essentials.User;
import com.earth2me.essentials.utils.FormatUtil;
import java.util.logging.Level;
import org.bukkit.Server;
... | gpl-3.0 |
littleguy77/mupen64plus-ae | src/paulscode/android/mupen64plusae/SplashActivity.java | 11302 | /**
* Mupen64PlusAE, an N64 emulator for the Android platform
*
* Copyright (C) 2012 Paul Lamb
*
* This file is part of Mupen64PlusAE.
*
* Mupen64PlusAE 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,... | gpl-3.0 |
jonaski/strawberry | src/settings/moodbarsettingspage.cpp | 3541 | /*
* Strawberry Music Player
* This file was part of Clementine.
* Copyright 2012, David Sansome <me@davidsansome.com>
*
* Strawberry 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 ... | gpl-3.0 |
georchestra/georchestra | console/src/main/java/org/georchestra/console/ws/utils/Validation.java | 6523 | /*
* Copyright (C) 2009 by the geOrchestra PSC
*
* This file is part of geOrchestra.
*
* geOrchestra 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 |
drslump/sdb | src/Commands/ResetCommand.cs | 1393 | /*
* SDB - Mono Soft Debugger Client
* Copyright 2013 Alex Rønne Petersen
*
* 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 late... | gpl-3.0 |
mater06/LEGOChimaOnlineReloaded | LoCO Client Files/Decompressed Client/Extracted DLL/System.Core/System/Linq/Parallel/IntersectQueryOperator`1.cs | 10624 | // Decompiled with JetBrains decompiler
// Type: System.Linq.Parallel.IntersectQueryOperator`1
// Assembly: System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// MVID: BA37026F-1371-4849-854A-E2CCE7CAD02B
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Core.dll
u... | gpl-3.0 |
EPSZ-DAW2/daw2-2016-actividades-y-eventos | basic/views/Etiquetas/_search.php | 630 | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\EtiquetasSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="etiquetas-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>
... | gpl-3.0 |
Jose3212/Bork | Bork v1.0/include/jugador.hpp | 1016 | #ifndef _JUGADOR
#define _JUGADOR
#include <string>
#include <algorithm>
#include <vector>
#include "mensaje.hpp"
class Jugador{
private:
string nombre;
Mensaje jugador_mensaje;
vector <Objeto> inventario;
Objeto equipado;
int num_tesoros = 0;
int max_obj = 5;
int hp = 50;
int ataque = 2... | gpl-3.0 |
talek69/curso | 109-dominion-test/src/com/dominion/dbunit/ExportarDatos.java | 2273 | package com.dominion.dbunit;
import java.io.FileOutputStream;
import java.sql.Connection;
import java.sql.DriverManager;
import org.dbunit.database.DatabaseConnection;
import org.dbunit.database.IDatabaseConnection;
import org.dbunit.database.QueryDataSet;
import org.dbunit.database.search.TablesDependencyHe... | gpl-3.0 |
ushainformatique/whatacart | protected/common/modules/catalog/modules/products/dao/ReviewDAO.php | 1676 | <?php
/**
* @copyright Copyright (C) 2016 Usha Singhai Neo Informatique Pvt. Ltd
* @license https://www.gnu.org/licenses/gpl-3.0.html
*/
namespace products\dao;
use usni\UsniAdaptor;
use yii\caching\DbDependency;
/**
* Implements data access functionality related to product reviews
*
* @package products\dao
*/
... | gpl-3.0 |
dskvr/Graffitar | prototype/dep/graffitar-ORIGINAL.php | 8248 | <?php //RE: All you see is crime
include 'config.php';
$mtime = microtime();
$mtime = explode(' ', $mtime);
$mtime = $mtime[1] + $mtime[0];
$starttime = $mtime;
include('gml.php');
include('smooth-line.php');
$random = $_GET['random_gmlid'];
/**/
function random_gml(){
global $random;
return black_book_feed($... | gpl-3.0 |
hlim/studio | alfresco-svcs/src/main/java/org/craftercms/cstudio/alfresco/dm/to/DmOrderTO.java | 2705 | /*******************************************************************************
* Crafter Studio Web-content authoring solution
* Copyright (C) 2007-2013 Crafter Software Corporation.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Publ... | gpl-3.0 |
EterniaLogic/TekkitRestrict | EEPatch_TR/src/ee/ItemRedKatar.java | 16830 | package ee;
import java.util.*;
import ee.events.EEEventManager;
import ee.events.EEEnums.EEAction;
import ee.events.EEEnums.EEAction2;
import ee.events.rm.EERedKatarEvent;
import net.minecraft.server.*;
public class ItemRedKatar extends ItemRedTool {
protected ItemRedKatar(int var1) {
super(var1, 4, 18, blocksE... | gpl-3.0 |
machawk1/webarchiveplayer | archiveplayer/version.py | 79 | __version__= '1.1.1'
INFO_URL = 'https://github.com/ikreymer/webarchiveplayer'
| gpl-3.0 |
Estada1401/anuwhscript | GameServer/src/com/aionemu/gameserver/model/templates/spawns/iuspawns/IuSpawn.java | 1952 | /*
* This file is part of Encom. **ENCOM FUCK OTHER SVN**
*
* Encom is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser 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 |
zetaops/ulakbus | ulakbus/lib/doc_render/__init__.py | 532 | # -*- coding: utf-8 -*-
# Copyright (C) 2015 ZetaOps Inc.
#
# This file is licensed under the GNU General Public License v3
# (GPLv3). See LICENSE.txt for details.
from .bap_komisyon_toplanti_tutanagi import *
from .bap_muayene_ve_kabul_komisyon_tutanagi import *
from .bap_sozlesme import *
from .dogrudan_tek_kaynak... | gpl-3.0 |
schuylernathaniel/PixelDungeon2--edited | src/com/watabou/pixeldungeon/actors/blobs/WaterOfTransmutation.java | 5740 | /*
* Pixel Dungeon
* Copyright (C) 2012-2014 Oleg Dolya
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ... | gpl-3.0 |
WendySanarwanto/udemy-the-complete-guide-to-angular-4 | assignments/basics-assignment2-start/src/app/app.module.ts | 568 | import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { AppComponent } from './app.component';
import { InputPanelComponent } from './input-panel/input-panel.component';
@NgModule({
declarations: [
AppComponent,
... | gpl-3.0 |
rickyminecraft/fence | com/ricky30/fence/event/blocEvent.java | 9458 | package com.ricky30.fence.event;
import java.util.Map;
import java.util.UUID;
import org.spongepowered.api.Sponge;
import org.spongepowered.api.block.BlockSnapshot;
import org.spongepowered.api.block.BlockState;
import org.spongepowered.api.block.BlockState.Builder;
import org.spongepowered.api.block.BlockTypes;
impo... | gpl-3.0 |
tsujamin/digi-approval | chef-repo/cookbooks/statsd/metadata.rb | 299 | maintainer "Jon Wood"
maintainer_email "jon@blankpad.net"
license "Apache 2.0"
description "Installs/Configures statsd"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
version "0.0.1"
depends "build-essential"
depends "git"
supports "ubuntu"
| gpl-3.0 |
ysenel/pdpSmithDr | tests/test_ImageFiltering.cpp | 8070 | /*
Copyright (C) 2011 The SmithDR team, smithdr@labri.fr
This file is part of SmithDR.
SmithDR is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation, either version 3 of
the License, or (at your opti... | gpl-3.0 |
myLiveNotes/myLiveNotes | resources/i18n/sankore_zh_TW.ts | 119008 | <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="zh_TW">
<context>
<name>BlackoutWidget</name>
<message>
<source>Click to Return to Application</source>
<translation>按滑鼠回到應用程式</translation>
</message>
</context>
<context>
<name>DownloadDialog</name>
<m... | gpl-3.0 |
unoduetre/MovieRecommendator | featuremaker/plugins/IsGenreAction.py | 345 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from Feature import Feature
class IsGenreAction(Feature):
description = """
Genre: is it action?
""".strip()
def __init__(self, *args, **kwargs):
Feature.__init__(self)
def extract(self, m):
for g in m.genres:
if g['name'] == 'Action':
retu... | gpl-3.0 |
guiguilechat/EveOnline | model/sde/SDE-Types/src/generated/java/fr/guiguilechat/jcelechat/model/sde/attributes/ShipBonusSupercarrierM4.java | 874 | package fr.guiguilechat.jcelechat.model.sde.attributes;
import fr.guiguilechat.jcelechat.model.sde.IntAttribute;
/**
* Multiplied by Minmatar Carrier skill level.
*/
public class ShipBonusSupercarrierM4
extends IntAttribute
{
public static final ShipBonusSupercarrierM4 INSTANCE = new ShipBonusSupercarrierM... | gpl-3.0 |
Stifenn/projet_harmony_coiffure | app/templates/commentaires/commentaires.php | 979 | <?php $this->layout('layoutBack', ['title' => 'Gestion des commentaires']) ?>
<?php $this->start('main_content') ?>
<div class="row" >
<div class="col-md-6 col-md-offset-3">
<?php foreach($Commentaires as $CurrentCommentaires) : ?>
<article>
<p>Pseudo : <?= $CurrentCommentaires['pseudo'] ?></p>
<p>Emai... | gpl-3.0 |
leokdawson/di-geva | GEVA/src/Operator/Module.java | 1587 | /*
Grammatical Evolution in Java
Release: GEVA-v2.0.zip
Copyright (C) 2008 Michael O'Neill, Erik Hemberg, Anthony Brabazon, Conor Gilligan
Contributors Patrick Middleburgh, Eliott Bartley, Jonathan Hugosson, Jeff Wrigh
Separate licences for asm, bsf, antlr, groovy, jscheme, commons-logging, jsci is included in the l... | gpl-3.0 |
pholda/MalpompaAligxilo | core/shared/src/main/scala/pl/pholda/malpompaaligxilo/form/field/IntField.scala | 560 | package pl.pholda.malpompaaligxilo.form.field
import pl.pholda.malpompaaligxilo.form.FieldType
import scala.util.Try
case class IntField(min: Option[Int] = None, max: Option[Int] = None, step: Option[Int] = None) extends FieldType[Int] {
override def parse(values: Seq[String]): Option[Int] = values.headOption.fl... | gpl-3.0 |
SQLPower/power-matchmaker | doc/tools/xslt/extensions/saxon643/com/nwalsh/saxon/NumberLinesEmitter.java | 10153 | package com.nwalsh.saxon;
import java.util.Stack;
import java.util.StringTokenizer;
import org.xml.sax.*;
import org.w3c.dom.*;
import javax.xml.transform.TransformerException;
import com.icl.saxon.output.*;
import com.icl.saxon.om.*;
import com.icl.saxon.Controller;
import com.icl.saxon.tree.AttributeCollection;
impo... | gpl-3.0 |
SmartLambda/SmartLambda | src/main/java/edu/teco/smartlambda/identity/IdentityProvider.java | 809 | package edu.teco.smartlambda.identity;
import edu.teco.smartlambda.authentication.entities.User;
import org.apache.commons.lang3.tuple.Pair;
import java.util.Map;
/**
* Provide any form of external identity verification
*/
public interface IdentityProvider {
/**
* Registers a user with an external identificat... | gpl-3.0 |
sosilent/euca | clc/modules/www/src/main/java/com/eucalyptus/webui/client/view/DeviceCPUModifyView.java | 420 | package com.eucalyptus.webui.client.view;
import com.google.gwt.user.client.ui.IsWidget;
public interface DeviceCPUModifyView extends IsWidget {
public void setPresenter(Presenter presenter);
public void popup(int cpu_id, String cpu_desc, int cpu_total, int cs_used, String server_name);
public interface Pres... | gpl-3.0 |
jmencia/trivnew | test/src/main/java/oms/framework/transformer/DocumentToStringTransformer.java | 1276 | package oms.framework.transformer;
import java.io.StringWriter;
import javax.xml.transform.OutputKeys;
import javax.xml.transform.TransformerConfigurationException;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
impor... | gpl-3.0 |
Informatik-AG-KGN-2016/Dokumente | 2016-11-28/aufgabe-multiplizierer.py | 919 | # Multiplizierer mit += 1
# Eingaben erhalten
a = input("Dies ist ein Multiplizierer!\nGeben Sie a ein: ")
b = input("Geben Sie b ein: ")
# Zeichenketten in Zahlen umwandeln
a = int(a)
b = int(b)
# Ergebnisvariable erstellen
result = 0
if a == 0 or b == 0:
pass # Satz vom Nullprodukt, also ke... | gpl-3.0 |
kosmonet/neon | src/neon/systems/time/Calendar.java | 3989 | /*
* Neon, a roguelike engine.
* Copyright (C) 2018 - Maarten Driesen
*
* 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 |
sayantandutta87/sikhbo | blocks/grade_me/tests/grade_me_test.php | 32722 | <?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 |
hsab/UMOG | setup.py | 11509 | '''
Copyright (C) 2016 Jacques Lucke
mail@jlucke.com
Created by Jacques Lucke
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 l... | gpl-3.0 |
946493655/culture | resources/views/admin/common/info.blade.php | 1788 | {{--这里是展示右侧信息的模板--}}
<div class="am-u-sm-12 am-u-md-4 am-u-md-push-8">
<div class="am-panel am-panel-default">
<div class="am-panel-bd">
<div class="user-info">
{{--<p>等级信息</p>--}}
{{--<div class="am-progress am-progress-sm">--}}
{{--<... | gpl-3.0 |
ZF2-Modulus/ModulusProducts | src/ModulusProducts/Form/ProductsCategory.php | 1711 | <?php
namespace ModulusProducts\Form;
use ModulusForm\Form\FormDefault,
Zend\Form\Element\Select;
use Zend\InputFilter;
class ProductsCategory extends FormDefault
{
public function addElements()
{
$this->add(array(
'name' => 'id',
'options' => array(
'lab... | gpl-3.0 |
kuiwang/my-dev | src/main/java/com/taobao/api/request/JuCatitemidsGetRequest.java | 4770 | package com.taobao.api.request;
import java.util.Map;
import com.taobao.api.ApiRuleException;
import com.taobao.api.TaobaoRequest;
import com.taobao.api.internal.util.RequestCheckUtils;
import com.taobao.api.internal.util.TaobaoHashMap;
import com.taobao.api.response.JuCatitemidsGetResponse;
/**
* TOP API: taobao.j... | gpl-3.0 |
campbellfreivin/campbellfreivin.github.io | config/application.rb | 1117 | require File.expand_path('../boot', __FILE__)
require 'rails/all'
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
module Exampleapp
class Application < Rails::Application
# Settings in config/environments/* take pr... | gpl-3.0 |
RTMC-development-team/RTMCCommon | src/main/java/com/rushteamc/plugin/common/Database/DatabaseManager.java | 4269 | package com.rushteamc.plugin.common.Database;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.Statement;
public class DatabaseManager
{
private static Connection connection;
private static DatabaseQueryHandler databaseQueryH... | gpl-3.0 |
thebestgirl123/CloudBot | plugins/dogpile.py | 1592 | import requests
import random
from urllib import parse
from bs4 import BeautifulSoup
from cloudbot import hook
search_url = "http://dogpile.com/search"
HEADERS = {'User-Agent': 'Mozilla/5.0 (Linux; Android 4.0.4; Galaxy Nexus Build/IMM76B) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.133 Mobile Safari/535... | gpl-3.0 |
Snapman/rnagios | lib/rnagios/active_status.rb | 2051 | # Represents the status of an active check. Valid status strings for
# Nagios are OK, WARNING, CRITICAL, and UNKNOWN. UNIX/Linux exit codes
# are set automatically when you set the status attribute.
class ActiveStatus < Status
# Indicates everything is good with the service
OK = 'OK'
# Indicates a status of co... | gpl-3.0 |
drslump/sdb | src/Commands/PrintCommand.cs | 2131 | /*
* SDB - Mono Soft Debugger Client
* Copyright 2013 Alex Rønne Petersen
*
* 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 late... | gpl-3.0 |
vitalisator/librenms | LibreNMS/Snmptrap/Handlers/CpUpsDiagPassed.php | 1422 | <?php
/**
* CpUpsDiagPassed.php
*
* -Description-
*
* CyberPower UPS battery test passed.
*
* 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 yo... | gpl-3.0 |
totallyuneekname/rubiks_cube_solver | src/rubikscube/Color.java | 1411 | /*
* Copyright (C) 2016 Jacob
*
* 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 ... | gpl-3.0 |
teddy-michel/TMediaPlayer | Sources/IMediaTable.cpp | 718 | /*
Copyright (C) 2012-2016 Teddy Michel
This file is part of TMediaPlayer.
TMediaPlayer 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.
TM... | gpl-3.0 |
TobiasMiosczka/NaMi | src/main/java/com/github/tobiasmiosczka/nami/applicationforms/DocUtil.java | 3618 | package com.github.tobiasmiosczka.nami.applicationforms;
import org.docx4j.TraversalUtil;
import org.docx4j.XmlUtils;
import org.docx4j.finders.TableFinder;
import org.docx4j.openpackaging.packages.WordprocessingMLPackage;
import org.docx4j.openpackaging.parts.WordprocessingML.HeaderPart;
import org.docx4j.openpackagi... | gpl-3.0 |
geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtbase/examples/widgets/tools/completer/mainwindow.cpp | 9823 | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** Commercial License Usage
** Licensees holding valid commercial Qt... | gpl-3.0 |
Philips14171/qt-creator-opensource-src-4.2.1 | src/plugins/android/androidsettingswidget.cpp | 26140 | /****************************************************************************
**
** Copyright (C) 2016 BogDan Vatra <bog_dan_ro@yahoo.com>
** 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... | gpl-3.0 |
cs-au-dk/Artemis | WebKit/Source/WebKit/chromium/src/WebIDBDatabaseImpl.cpp | 4272 | /*
* Copyright (C) 2011 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... | gpl-3.0 |
ConsenSys/eth-alerts | alerts/events/migrations/0002_auto_20170313_1305.py | 518 | # -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-03-13 13:05
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('events', '0001_initial'),
]
operations = [
... | gpl-3.0 |
gaich/quickapps | app/src/main/java/com/yoavst/quickapps/toggles/fragments/SoundFragment.java | 3354 | package com.yoavst.quickapps.toggles.fragments;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.res.Resources;
import android.media.AudioManager;
import android.provider.Settings;
import com.yoavst.qui... | gpl-3.0 |
IntellectualCrafters/PlotSquared | Core/src/main/java/com/plotsquared/core/plot/flag/types/BooleanFlag.java | 3532 | /*
* _____ _ _ _____ _
* | __ \| | | | / ____| | |
* | |__) | | ___ | |_| (___ __ _ _ _ __ _ _ __ ___ __| |
* | ___/| |/ _ \| __|\___ \ / _` | | | |/ _` | '__/ _ \/ _` |
* | | | | (_) | |_ ____) | (_| | ... | gpl-3.0 |
t08094a/ffManagementSuite | src/main/java/de/leif/ffmanagementsuite/domain/Berichtselement.java | 4163 | package de.leif.ffmanagementsuite.domain;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import javax.persistence.*;
import javax.validation.constraints.*;
import java.io.Serializable;
import java.time.Instant;
import java.util.Objects;
import de.leif.ffmanagements... | gpl-3.0 |
martinmladenov/SoftUni-Solutions | Programming Basics/Exercises/2. Simple Calculations/09. Celsius to Fahrenheit.cs | 300 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp2
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(double.Parse(Console.ReadLine())*1.8+32);
}
}
}
| gpl-3.0 |
ManjaroLinux/captcha-registration | files/lang/French/mod_captcha_registration.php | 480 | <?php
// Language string for mod Captcha Registration
$lang_mod_captcha_registration = array(
'Captcha title' => 'Code de vérification',
'Captcha info' => 'Pour éviter les inscriptions automatiques, vous devez entrer un code de vérification. Si vous ne pouvez pas lire l\'image cliquez %sici%s pour rafra... | gpl-3.0 |
esmail/odk_to_spss_syntax | doc/source/conf.py | 8602 | # -*- coding: utf-8 -*-
#
# odk_to_spss_syntax documentation build configuration file, created by
# sphinx-quickstart on Sat Jun 14 23:52:46 2014.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated ... | gpl-3.0 |
gpospelov/BornAgain | GUI/coregui/Views/FitWidgets/FitParameterWidget.cpp | 16051 | // ************************************************************************************************
//
// BornAgain: simulate and fit reflection and scattering
//
//! @file GUI/coregui/Views/FitWidgets/FitParameterWidget.cpp
//! @brief Implements class FitParameterWidget
//!
//! @homepage http://www.bornaga... | gpl-3.0 |
MichaelCoughlinAN/Odds-N-Ends | Python/multicast_listener.py | 584 | #!/usr/bin/env python
import socket
import struct
MCAST_GRP = '230.0.0.0'
MCAST_PORT = 4446
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_UDP)
sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
sock.bind(('', MCAST_PORT)) # use MCAST_GRP instead of '' to listen only
... | gpl-3.0 |
dadadel/pyment | example.py | 2264 | def func1(param1: str, param2='default val'):
'''Description of func with docstring javadoc style.
@param param1: descr of param
@type param1: type
@return: some value
@raise KeyError: raises a key exception
'''
pass
def func2(param1, param2='default val2') -> list:
'''Description of ... | gpl-3.0 |
marvertin/geokuk | src/main/java/cz/geokuk/plugins/mapy/kachle/podklady/Priority.java | 138 | package cz.geokuk.plugins.mapy.kachle.podklady;
public enum Priority {
// čím výše, tím vyšší priorita
KACHLE, STAHOVANI,
}
| gpl-3.0 |
alblancoc/memetic_open_shop | src/operadoresGeneticos.py | 8213 | '''
En esta clase se definen los operadores geneticos que se usaran en el algoritmo genetico.
Se define un operador para el cruce y otro para la mutacion.
Created on Apr 26, 2016
@author: Angie Blanco
'''
import random
import copy
class OperadoresGeneticos(object):
'''
Constructor de la clase
'''
... | gpl-3.0 |
Atizar/RapidCFD-dev | src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/atmBoundaryLayerInletVelocity/atmBoundaryLayerInletVelocityFvPatchVectorField.C | 7626 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\/ M anipulation |
--------... | gpl-3.0 |
drkameleon/MathMachine | src/mm_statement.cpp | 3844 | /*
MathMachine
Copyright (C) 2009-2011 Dr.Kameleon
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... | gpl-3.0 |
automatweb/automatweb_dev | addons/pear/SOAP/Transport/TCP.php | 4770 | <?php
/**
* This file contains the code for a TCP transport layer.
*
* PHP versions 4 and 5
*
* LICENSE: This source file is subject to version 2.02 of the PHP license,
* that is bundled with this package in the file LICENSE, and is available at
* through the world-wide-web at http://www.php.net/license/2_02.txt... | gpl-3.0 |
zyxist/opentrans | opentrans-visitons/src/main/java/org/invenzzia/opentrans/visitons/render/painters/CurvedTrackPainter.java | 3550 | /*
* Copyright (C) 2013 Invenzzia Group <http://www.invenzzia.org/>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any late... | gpl-3.0 |
thevpc/upa | upa-impl-core/src/main/java/net/thevpc/upa/impl/DefaultRelationship.java | 27648 | package net.thevpc.upa.impl;
import java.util.*;
import net.thevpc.upa.*;
import net.thevpc.upa.expressions.*;
import net.thevpc.upa.impl.ext.EntityExt;
import net.thevpc.upa.impl.upql.util.ThatExpressionReplacer;
import net.thevpc.upa.impl.upql.util.UPQLUtils;
import net.thevpc.upa.impl.util.NamingStrategyHelper;
im... | gpl-3.0 |
CollapsedDom/Stud.IP-Client | core/client/src/main/java/de/danner_web/studip_client/utils/OSValidationUtil.java | 471 | package de.danner_web.studip_client.utils;
public class OSValidationUtil {
private static String OS = null;
private static String getOsName() {
if (OS == null) {
OS = System.getProperty("os.name");
}
return OS;
}
public static boolean isWindows() {
return getOsName().startsWith("Windows");
}
publ... | gpl-3.0 |
Exorde/mlo-sites | vanilla/themes/nebula/views/profile/notifications.php | 362 | <?php if (!defined('APPLICATION')) exit();
if ($this->ActivityData->NumRows() > 0) {
echo '<ul class="DataList">';
include($this->FetchViewLocation('activities', 'activity', 'dashboard'));
echo '</ul>';
echo $this->Pager->ToString('more');
} else {
?>
<div class="Empty"><?php echo T('You do not have any ... | gpl-3.0 |
imran04/arcadeengine | Games/DungeonEye/Forms/Asset/MonsterGeneratorForm.Designer.cs | 8819 | namespace DungeonEye.Forms
{
partial class MonsterGeneratorForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true ... | gpl-3.0 |
abmindiarepomanager/ABMOpenMainet | Mainet1.0/MainetServiceParent/MainetServiceCommon/src/main/java/com/abm/mainet/bill/service/AdjustmentEntryService.java | 919 | package com.abm.mainet.bill.service;
import java.util.List;
import com.abm.mainet.cfc.challan.domain.AdjustmentMasterEntity;
import com.abm.mainet.cfc.challan.dto.AdjustmentMasterDTO;
import com.abm.mainet.common.domain.Organisation;
import com.abm.mainet.common.integration.dto.TbBillMas;
import com.abm.mainet.common... | gpl-3.0 |
gtozzi/pyuo | pyuo/net.py | 7844 | #!/usr/bin/env python3
'''
Network classes for Python Ultima Online text client
Copyright (C) 2015-2016 Gabriele Tozzi
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License... | gpl-3.0 |
TrinityCore/WowPacketParser | WowPacketParserModule.V9_0_1_36216/Parsers/MiscellaneousHandler.cs | 10311 | using WowPacketParser.Enums;
using WowPacketParser.Misc;
using WowPacketParser.Parsing;
using WowPacketParser.Proto;
using WowPacketParser.Store;
using CoreParsers = WowPacketParser.Parsing.Parsers;
namespace WowPacketParserModule.V9_0_1_36216.Parsers
{
public static class MiscellaneousHandler
{
[Parse... | gpl-3.0 |
heartvalve/OpenFlipper | ObjectTypes/PolyLine/PluginFunctionsPolyLine.cc | 4462 | //=============================================================================
//
// OpenFlipper
// Copyright (C) 2008 by Computer Graphics Group, RWTH Aachen
// www.openflipper.org
//
//---------------------------------------------------------------------... | gpl-3.0 |
MailCleaner/MailCleaner | www/framework/Zend/Search/Lucene/Analysis/TokenFilter/LowerCaseUtf8.php | 2336 | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | gpl-3.0 |
nitro2010/moodle | mod/forumng/feature/move/group_form.php | 5008 | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
//... | gpl-3.0 |
synweb/rocms | RoCMS/Content/base/vendor/jquery/core/jquery.validate.ru.js | 1902 | /// <reference path="jquery.validate.js" />
/*
* Translated default messages for the jQuery validation plugin.
* Locale: RU (Russian; русский язык)
*/
$.extend( $.validator.messages, {
required: "Это поле необходимо заполнить.",
remote: "Пожалуйста, введите правильное значение.",
email: "Пожалуйста, введите корр... | gpl-3.0 |
WaterSheltieDragon/Wango-the-Robot | facedown.py | 398 | import time
import maestro
# servo 0 is left/right
# servo 1 is up/down
try:
servo = maestro.Controller()
servo.setRange(0,3000,8200)
servo.setRange(1,4000,8000)
# about 5 clicks per full motion
# 1040 for left/right + is left, - is right.
# 800 for up/down + is up, - is down.
x = servo.getPosition(1)... | gpl-3.0 |
MohamedAbdultawab/FOC_RiceUniv | principles-of-computing-2/mini-project-2-word-wrangler/main.py | 3909 | # this project has to be run in codeskulptor.org
"""
Student code for Word Wrangler game
"""
import urllib2
import codeskulptor
import poc_wrangler_provided as provided
WORDFILE = "assets_scrabble_words3.txt"
# Functions to manipulate ordered word lists
def remove_duplicates(lst):
"""
Eliminate duplicates i... | gpl-3.0 |
web-izmerenie/usadba-parfenova | reviews/index.php | 1681 | <?
define("PAGE_TITLE", "Y");
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetTitle("Отзывы");
?>
<?$APPLICATION->IncludeComponent(
"bitrix:news.list",
"reviews.list",
array(
"IBLOCK_TYPE" => LANGUAGE_ID,
"IBLOCK_ID" => "5",
"NEWS_COUNT" => "4",
"SORT_BY1" => "ACTIVE_FROM",
"SOR... | gpl-3.0 |
D-K-E/PySesh | pysesh/core/modules/TextOperations/MDCParser/Constants/TextDirection.py | 805 | ##################################
# constants taken from the jsesh
# ################################
# original author: Serge Rosmorduc
# python author: Kaan Eraslan
# license: GPL-3, see LICENSE
# No Warranty
#
# Note: Explanations in the docstrings are for the most part taken
# from java source files
##############... | gpl-3.0 |
MeteorAdminz/dnSpy | Extensions/dnSpy.BamlDecompiler/Handlers/Records/PropertyWithConverterHandler.cs | 1299 | /*
Copyright (c) 2015 Ki
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, publish, distribute, sublic... | gpl-3.0 |
kevinnewesil/Grades2Show | protected/controllers/SubjectController.php | 4293 | <?php
class SubjectController extends Controller
{
/**
* @var string the default layout for the views. Defaults to '//layouts/column2', meaning
* using two-column layout. See 'protected/views/layouts/column2.php'.
*/
public $layout='//layouts/column2';
/**
* @return array action filters
*/
public functi... | gpl-3.0 |
TotalFreedom/TF-Essentials | Essentials/src/com/earth2me/essentials/utils/FormatUtil.java | 4598 | package com.earth2me.essentials.utils;
import java.util.regex.Pattern;
import net.ess3.api.IUser;
public class FormatUtil
{
//Vanilla patterns used to strip existing formats
static final transient Pattern VANILLA_PATTERN = Pattern.compile("\u00a7+[0-9A-FK-ORa-fk-or]?");
static final transient Pattern VANILLA_COL... | gpl-3.0 |
115ek/androidclient | app/src/main/java/org/kontalk/ui/view/MessageItemTextView.java | 2442 | /*
* Kontalk Android client
* Copyright (C) 2018 Kontalk Devteam <devteam@kontalk.org>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your optio... | gpl-3.0 |
PHPBoost/PHPBoost | admin/cache/controllers/AdminCacheController.class.php | 1620 | <?php
/**
* @copyright © 2005-2022 PHPBoost
* @license https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL-3.0
* @author Benoit SAUTEL <ben.popeye@phpboost.com>
* @version PHPBoost 6.0 - last update: 2021 12 04
* @since PHPBoost 2.0 - 2008 08 05
* @contributor Julien BRISWALTER <j1.... | gpl-3.0 |
PavelLoparev/design-patterns | src/Composite/MenuItem.php | 637 | <?php
/**
* @file
* MenuItem.php.
*/
namespace Patterns\Composite;
/**
* Class MenuItem.
*
* @package Patterns\Composite
*/
class MenuItem extends BaseMenuComponent {
/**
* @var string
*/
private $name = '';
/**
* MenuItem constructor.
* @param $name
*/
public function __construct($na... | gpl-3.0 |
smartstoreag/SmartStoreNET | src/Tests/SmartStore.Data.Tests/Directory/CountryPersistenceTests.cs | 2498 | using System.Linq;
using NUnit.Framework;
using SmartStore.Core.Domain.Directory;
using SmartStore.Tests;
namespace SmartStore.Data.Tests.Directory
{
[TestFixture]
public class CountryPersistenceTests : PersistenceTest
{
[Test]
public void Can_save_and_load_country()
{
var... | gpl-3.0 |
rstuven/last-horizonte | src/LastHorizonte.App/Model/CheckedMenuItemParams.cs | 469 | using System;
namespace LastHorizonte
{
internal class CheckedMenuItemParams : IMenuItemParams
{
public string Text { get; set; }
public CheckedMenuItemEventHandler Handler { get; set; }
public OpeningHanlder OpeningHandler { get; set; }
}
internal delegate void CheckedMenuItemEventHandler(object... | gpl-3.0 |
gruppo6/php | assets/pages/scripts/table-datatables-buttons.js | 14149 | var TableDatatablesButtons = function () {
var initTable1 = function () {
var table = $('#sample_1');
var oTable = table.dataTable({
// Internationalisation. For more info refer to http://datatables.net/manual/i18n
"language": {
"aria": {
... | gpl-3.0 |
timvisee/SafeCreeper | src/main/java/com/timvisee/safecreeper/command/CommandInstallUpdate.java | 3441 | package com.timvisee.safecreeper.command;
import com.timvisee.safecreeper.SafeCreeper;
import com.timvisee.safecreeper.handler.SCUpdatesHandler;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
public class CommandInstallUpdate {... | gpl-3.0 |
leonindy/camel | camel-admin/src/main/java/com/dianping/phoenix/lb/utils/Md5sumUtil.java | 1296 | package com.dianping.phoenix.lb.utils;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
/**
* dianping.com @2015
* slb - soft load balance
* <p/>
* Created by leon.li(Li Yang)
*/
public class Md5sumUtil {
private Md5sumU... | gpl-3.0 |
dev-mansonthomas/RedCrossQuest | server/src/DBService/YearlyGoalDBService.php | 6214 | <?php
namespace RedCrossQuest\DBService;
use Exception;
use PDOException;
use RedCrossQuest\Entity\YearlyGoalEntity;
class YearlyGoalDBService extends DBService
{
/**
* Get all goals for UL $ulId and a particular year
*
* @param int $ulId The ID of the Unite Locale
* @param string $year The year fo... | gpl-3.0 |
shadowmage45/AncientWarfare2 | src/main/java/net/shadowmage/ancientwarfare/npc/command/CommandDebugAI.java | 1590 | package net.shadowmage.ancientwarfare.npc.command;
import net.minecraft.command.CommandBase;
import net.minecraft.command.CommandException;
import net.minecraft.command.ICommandSender;
import net.minecraft.command.WrongUsageException;
import net.minecraft.server.MinecraftServer;
import net.minecraft.util.text.T... | gpl-3.0 |
Dqiyue/QT | test/mainwindow.cpp | 358 | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QLabel>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
QLabel *label = new QLabel(this);
label->setText("hello world");
label->setGeometry(QRect(100,100,200,125));
}
MainWin... | gpl-3.0 |
eyesniper2/skRayFall | src/main/java/net/rayfall/eyesniper2/skrayfall/citizens/expressions/ExprOwnerOfCitizen.java | 1671 | package net.rayfall.eyesniper2.skrayfall.citizens.expressions;
import ch.njol.skript.doc.Description;
import ch.njol.skript.doc.Name;
import ch.njol.skript.doc.RequiredPlugins;
import ch.njol.skript.lang.Expression;
import ch.njol.skript.lang.SkriptParser.ParseResult;
import ch.njol.skript.lang.util.SimpleExpression;
... | gpl-3.0 |
Xunius/Trenches | levels/level03/__init__.py | 3035 | import pygame
import os
PATH=os.path.dirname(os.path.realpath(__file__))
BACKGROUND_FILE='image_background_1x600x1x800.png'
MASKMAP_FILE='image_via_map.png'
MINIMAP_FILE='image_minimap_1x600x1x800.png'
WEAPONS_IN_LEVEL=[
'rifle',\
'machinegun',\
'grenade',\
'mortar',\
#'snip... | gpl-3.0 |