repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
smtech/advisor-dashboard | account/rename-advisory-groups.php | 2704 | <?php
require_once('common.inc.php');
use Battis\BootstrapSmarty\NotificationMessage;
$STEP_INSTRUCTIONS = 1;
$STEP_RENAME = 2;
$step = (empty($_REQUEST['step']) ? $STEP_INSTRUCTIONS : $_REQUEST['step']);
switch ($step) {
case $STEP_RENAME:
try {
$updated = 0;
$unchanged = 0;
... | gpl-3.0 |
esprange/kleistad | includes/class-shortcode.php | 12032 | <?php
/**
* De abstracte class voor shortcodes.
*
* @link https://www.kleistad.nl
* @since 4.0.87
*
* @package Kleistad
* @subpackage Kleistad/includes
*/
namespace Kleistad;
use WP_Error;
use WP_REST_Request;
use WP_REST_Response;
use Exception;
use ReflectionClass;
/**
* De abstract class v... | gpl-3.0 |
agoode/escape-java | src/org/spacebar/escape/common/Player.java | 277 | package org.spacebar.escape.common;
public class Player extends Entity {
public Player(int x, int y, byte d) {
super(x, y, d);
iAmPlayer();
iCanTeleport();
iPushBots();
iGetHeartFramers();
type = B_PLAYER;
}
}
| gpl-3.0 |
PinkBweezel/fabiano-swagger-of-doom | HealTest/Program.cs | 593 | using System;
using Common;
namespace HealTest
{
internal class Program
{
private static readonly GeometricSeries gs = new GeometricSeries(10, 1.0224);
private static void Main(string[] args)
{
for (int i = 0; i < 100; i++)
{
Console.WriteLine($... | gpl-3.0 |
damiancom/garantia | frontEnd/src/main/java/ar/com/mutual/frontEnd/reportes/view/ReporteSiniestrosView.java | 1541 | package ar.com.mutual.frontEnd.reportes.view;
import javax.annotation.PostConstruct;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import ar.com.mutual.bean.seguridad.Usuario;
import ar.com.mutual.frontEnd.customComponent.LayoutPrincipal;
import ar.com.mutual... | gpl-3.0 |
giessweinapps/TfsDashboard | TfsDashboard.Library/TfsDashboardSummary.cs | 572 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TfsDashboard.Library
{
public class TfsDashboardSummary
{
public IEnumerable<TfsBuildSummary> LastBuilds { get; set; }
public dynamic LastCheckins { get; set; }
public TfsBuildSummary Last... | gpl-3.0 |
kuros/random-jpa | src/main/java/com/github/kuros/random/jpa/log/LogFactory.java | 2530 | package com.github.kuros.random.jpa.log;
import com.github.kuros.random.jpa.exception.RandomJPAException;
import java.lang.reflect.Constructor;
/*
* Copyright (c) 2015 Kumar Rohit
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public ... | gpl-3.0 |
jindrapetrik/jpexs-decompiler | src/com/jpexs/decompiler/flash/gui/generictageditors/NumberEditor.java | 7389 | /*
* Copyright (C) 2010-2021 JPEXS
*
* 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... | gpl-3.0 |
s20121035/rk3288_android5.1_repo | packages/apps/ContactsCommon/src/com/android/contacts/common/model/RawContact.java | 12159 | /*
* Copyright (C) 2012 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | gpl-3.0 |
miccio-dk/BobsShop | BobsShop/src/controller/Device.java | 1021 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package controller;
/**
* <pre>
*
* The Device class
* encapsulates all functionality
* related to the Device attributes.
* </pre>
*
* @version 1.0
* @author Miccio, reviewed and documented by Yin.
* @see con... | gpl-3.0 |
TGAC/statsdb | python/parse_tag_count.py | 855 | import QCAnalysis
import TagCount, DB, RunTable
import os.sys
sys.path.append('/usr/users/ga002/shrestha/Dropbox/')
parser=optparse.OptionParser()
parser.add_option("-i", "--input", action="store", type="string", dest="input")
parser.add_option("--db_config", action="store", type="string", dest="db_config")
(option... | gpl-3.0 |
vedderb/rise_sdvp | Linux/Car_Client/utility.cpp | 14732 | /*
Copyright 2016 - 2018 Benjamin Vedder benjamin@vedder.se
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 |
tanvirfahim15/Javaball---OOP-project---2nd-year | BasicGame/src/home/searchstartThread.java | 715 | /*
* 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 home;
import java.io.FileNotFoundException;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
... | gpl-3.0 |
mosra/kompas-plugins | src/WorldMap1630RasterModel/WorldMap1630RasterModel.cpp | 1502 | /*
Copyright © 2007, 2008, 2009, 2010, 2011 Vladimír Vondruš <mosra@centrum.cz>
This file is part of Kompas.
Kompas is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License version 3
only, as published by the Free Software Foundation.
... | gpl-3.0 |
sfrancis1970/EpochX | common/src/main/java/org/epochx/epox/lang/Seq3.java | 1743 | /*
* Copyright 2007-2013
* Licensed under GNU Lesser General Public License
*
* This file is part of EpochX: genetic programming software for research
*
* EpochX 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 Sof... | gpl-3.0 |
smlx/archivr | archivr.rb | 18384 | #!/usr/bin/env ruby
# encoding: utf-8
# This file is part of:
# Archivr - a file archive manipulation utility.
# Copyright 2012 Scott Leggett.
#
# 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, ... | gpl-3.0 |
Ell-i/Runtime | stm32/emulator/src/Register_GPIO_AFR.cpp | 950 | /*
* Copyright (c) 2014 ELL-i co-operative.
*
* This is part of ELL-i software.
*
* ELL-i software 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 |
ckaestne/CIDE | CIDE_generateAST/test/generated/Unit1.java | 735 | package generated;
import cide.gast.*;
import cide.gparser.*;
import cide.greferences.*;
import java.util.*;
public class Unit1 extends Unit {
public Unit1(ASTStringNode string_literal, Token firstToken, Token lastToken) {
super(new Property[] {
new PropertyOne<ASTStringNode>("string_literal", stri... | gpl-3.0 |
matteoparlato/Project-Neptune | Project Nirvash/Dialogs/DownloadAttachment.xaml.cs | 2449 | using Microsoft.AppCenter.Analytics;
using Project_Nirvash.Helpers;
using System;
using System.Collections.Generic;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Helpers;
namespace Project_Nirvash.Dialogs
{
/// <summary>
/// Classe DownloadAttachment
/// </summary>
public sealed partial... | gpl-3.0 |
lingcarzy/v5cart | admin/controller/error/not_found.php | 886 | <?php
class ControllerErrorNotFound extends Controller {
public function index() {
$this->language->load('error/not_found');
$this->document->setTitle(L('heading_title'));
$this->data['heading_title'] = L('heading_title');
$this->data['text_not_found'] = L('text_not_found');
$this->data['bread... | gpl-3.0 |
vtexier/duniter-python-api | duniterpy/key/encryption_key.py | 1634 | """
duniter public and private keys
@author: inso
"""
import libnacl.public
from pylibscrypt import scrypt
from .base58 import Base58Encoder
from .signing_key import _ensure_bytes
SEED_LENGTH = 32 # Length of the key
crypto_sign_BYTES = 64
SCRYPT_PARAMS = {'N': 4096,
'r': 16,
'p':... | gpl-3.0 |
maxnitze/football_homepage | app/controllers/user_role_permissions_controller.rb | 2426 | class UserRolePermissionsController < ApplicationController
before_action :set_user_role_permission, only: [:show, :edit, :update, :destroy]
# GET /user_role_permissions
# GET /user_role_permissions.json
def index
@user_role_permissions = UserRolePermission.all
end
# GET /user_role_permissions/1
# G... | gpl-3.0 |
projectestac/alexandria | html/langpacks/es/tool_xmldb.php | 18337 | <?php
// This file is part of Moodle - https://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 |
VoidDragonOfMars/pixelware | instantweatherapplication/src/main/java/com/weatherapp/services/UserServiceImpl.java | 826 | package com.weatherapp.services;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.weatherapp.model.dao.UserDaoInterface;
import com.weatherapp.model.entities.User;
@Service("userService")
public class UserServiceImpl implements Us... | gpl-3.0 |
gouyuwang/private | work/shop/php/application/common/model/User.php | 236 | <?php
namespace app\common\model;
class User extends BaseModel
{
/**
* TODO 加密
* @param $passwrod
* @return string
*/
public function gen_password($passwrod)
{
return sha1($passwrod);
}
} | gpl-3.0 |
yaacov/miq-scripts | set-miq-metric.rb | 2661 | #!/usr/bin/env ruby
# Load Rails
ENV['RAILS_ENV'] = ARGV[0] || 'development'
begin
require './manageiq/config/environment'
rescue LoadError
DIR = File.dirname(__FILE__)
require DIR + '/../manageiq/config/environment'
end
# --------------------
# functions and consts
# --------------------
def push_metric (pr... | gpl-3.0 |
rleal/opencartLang | admin/language/spanish/payment/pp_express.php | 1390 | <?php
// Heading
$_['heading_title'] = 'PayPal Express';
// Text
$_['text_payment'] = 'Pago';
$_['text_success'] = 'Has modificado los detalles de cuenta de PayPal Express Checkout con éxito';
$_['text_pp_express'] = '<a onclick="window.open(\'https://www.paypal.com/uk/mrb/pal=W9TBB5DTD6QJ... | gpl-3.0 |
kbalk/booklist | tests/test_catalog.py | 3310 | """Test cases related to the CatalogSearch class"""
from datetime import datetime
import logging
import pytest
from booklist.catalog import CatalogSearch, CatalogSearchError
#pylint: disable=missing-docstring,redefined-outer-name
@pytest.fixture
def catalog_url(scope='module'): #pylint: disable=unused-argument
... | gpl-3.0 |
cassiuschen/bdfzer-sso | config/initializers/session_store.rb | 143 | # Be sure to restart your server when you modify this file.
Rails.application.config.session_store :redis_store
#, key: '_BDFZer-sso_session'
| gpl-3.0 |
alexholehouse/SBMLIntegrator | libsbml-5.0.0/src/bindings/csharp/csharp-files-win/Priority.cs | 16307 | /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.0
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... | gpl-3.0 |
jyavu/jytsu | jytsu-demo/src/main/java/com/jyavu/jytsu/jytsu_demo/client/main_page/MainPageView.java | 196 | package com.jyavu.jytsu.jytsu_demo.client.main_page;
import com.google.gwt.user.client.ui.IsWidget;
/**
* Created by gammagec on 4/24/14.
*/
public interface MainPageView extends IsWidget {
}
| gpl-3.0 |
rilwen/open-quantum-systems | protein_chain/evolver_runge_kutta.cpp | 1879 | #include "evolver_runge_kutta.h"
#include <cassert>
#include <cmath>
EvolverRungeKutta::EvolverRungeKutta(const Eigen::MatrixXcd& hamiltonian, double timeStep)
: EvolverStepping(timeStep), m_M(hamiltonian*std::complex<double>(0.0,-1.0))
{
assert(m_M.rows() == m_M.cols());
for (unsigned int k = 0; k < m_or... | gpl-3.0 |
geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtdeclarative/tests/auto/qml/ecmascripttests/test262/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-68.js | 893 | /// Copyright (c) 2012 Ecma International. All rights reserved.
/// Ecma International makes this code available under the terms and conditions set
/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
/// "Use Terms"). Any redistribution of this code must retain the above
/// copyright an... | gpl-3.0 |
avdata99/SIAT | siat-1.0-SOURCE/src/buss/src/ar/gov/rosario/siat/gde/buss/bean/HistGesJud.java | 3915 | //Copyright (c) 2011 Municipalidad de Rosario and Coop. de Trabajo Tecso Ltda.
//This file is part of SIAT. SIAT is licensed under the terms
//of the GNU General Public License, version 3.
//See terms in COPYING file or <http://www.gnu.org/licenses/gpl.txt>
package ar.gov.rosario.siat.gde.buss.bean;
import java.util.... | gpl-3.0 |
lntn/esport-website | app/Repositories/MasterListRepository.php | 515 | <?php
/**
* Created by PhpStorm.
* User: Nam
* Date: 02/09/2016
* Time: 23:20
*/
namespace App\Repositories;
use App\Models\MasterList;
class MasterListRepository
{
public static function get($key)
{
return MasterList::where('key', $key)->first();
}
public static function set($key, $valu... | gpl-3.0 |
kremi151/MinaMod | src/main/java/lu/kremi151/minamod/client/GuiAmuletInventory.java | 1881 | package lu.kremi151.minamod.client;
import org.lwjgl.opengl.GL11;
import lu.kremi151.minamod.MinaMod;
import lu.kremi151.minamod.container.ContainerAmuletInventory;
import lu.kremi151.minamod.proxy.ClientProxy;
import lu.kremi151.minamod.util.MinaUtils;
import net.minecraft.client.gui.inventory.GuiContainer;
... | gpl-3.0 |
zeddarn/yinoerp | _protected/common/modules/session/controllers/DefaultController.php | 349 | <?php
namespace common\modules\session\controllers;
use yii\web\Controller;
/**
* Default controller for the `session` module
*/
class DefaultController extends Controller
{
/**
* Renders the index view for the module
* @return string
*/
public function actionIndex()
{
return $th... | gpl-3.0 |
Angerona/angerona-framework | fw/src/main/java/com/github/angerona/fw/serialize/BeliefbaseConfigImport.java | 1945 | package com.github.angerona.fw.serialize;
import java.io.File;
import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Root;
import org.simpleframework.xml.core.Resolve;
/**
* An implementation of the belief base configuration file as a reference to another file.
* It uses the following form:
*
... | gpl-3.0 |
athrane/bassebombecraft | src/main/java/bassebombecraft/operator/Operators2.java | 3624 | package bassebombecraft.operator;
import static bassebombecraft.BassebombeCraft.getBassebombeCraft;
import static bassebombecraft.ModConstants.MOD_PKG_NAME;
import static java.util.Arrays.asList;
import java.util.function.Function;
import org.apache.logging.log4j.Logger;
/**
* Class for execution of ope... | gpl-3.0 |
doricke/IBio | db/migrate/20131217194535_create_ancestries.rb | 391 | class CreateAncestries < ActiveRecord::Migration
def change
create_table :ancestries do |t|
t.integer :individual_id
t.integer :instrument_id
t.integer :itype_id
t.integer :ethnic_id
t.float :percent
end # do
end # change
def self.up
add_index :ancestries, [:indivi... | gpl-3.0 |
palibaacsi/ask | wp-content/plugins/admin-page-framework/library/apf/factory/_common/form/field_type/AdminPageFramework_FieldType_default.php | 980 | <?php
/**
Admin Page Framework v3.7.15 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2016, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
... | gpl-3.0 |
EasyinnovaSL/DPFManager | src/main/java/dpfmanager/shell/modules/server/core/HttpServerInitializer.java | 2021 | /**
* <h1>HttpServerInitializer.java</h1> <p> 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; or,
* at your choice, unde... | gpl-3.0 |
DanielNinov/CSharp-OOP-Basics | CSharp OOP Basics - Encapsulation/Lab-1/Properties/AssemblyInfo.cs | 1381 | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Lab... | gpl-3.0 |
EverCraft/EverAPI | src/main/java/fr/evercraft/everapi/command/sub/EATest.java | 12838 | /*
* This file is part of EverAPI.
*
* EverAPI 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.
*
* EverAPI is distribut... | gpl-3.0 |
TamuGeoInnovation/Tamu.GeoInnovation.GeoReferences.DataImporters.Census | src/Main/Tiger2015/FileLayouts/CountryFiles/Implementations/Cbsa2015File.cs | 1901 | using USC.GISResearchLab.Common.Census.Tiger2015.FileLayouts.CountryFiles.AbstractClasses;
namespace USC.GISResearchLab.Common.Census.Tiger2015.FileLayouts.CountryFiles.Implementations
{
public class Cbsa2015File : AbstractTiger2015ShapefileCountryFileLayout
{
public Cbsa2015File(string stateName)
... | gpl-3.0 |
yujikiriki/rolling_forecast | webapp/test/spec/services/crearproducto.js | 367 | 'use strict';
describe('Service: Crearproducto', function () {
// load the service's module
beforeEach(module('frontendApp'));
// instantiate service
var Crearproducto;
beforeEach(inject(function (_Crearproducto_) {
Crearproducto = _Crearproducto_;
}));
it('should do something', function () {
... | gpl-3.0 |
cb0/LiskPHP | src/lib/Api/Peer/GetPeerVersionResponse.php | 1538 | <?php
/**
* LiskPhp - A PHP wrapper for the LISK API
* Copyright (c) 2017 Marcus Puchalla <cb0@0xcb0.com>
*
* LiskPhp 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 |
SuperSimpleGuy/dytenjin | Dytenjin/src/core/geography/GeographicalLocation.java | 7038 | /*
* Dytenjin is an engine for making dynamic text-based java games.
* Copyright (C) 2012 SuperSimpleGuy
*
* 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... | gpl-3.0 |
MarkusHackspacher/PythonFarmGame | farmlib/__init__.py | 806 | from __future__ import absolute_import
import os
import pygame
from farmlib.dictmapper import DictMapper
from farmlib.pluginsystem import base_plugin_system as PluginSystem
# SETTINGS
rules = DictMapper()
rules.load(os.path.join("data", "rules.json"))
images = DictMapper()
images.load(os.path.join("data", "images... | gpl-3.0 |
mojo2012/factorio-mojo-resource-processing | prototypes/item/ore-processing/ore-zinc.lua | 1130 | require("ore-general")
-- item definitions
data:extend({
{
type= "item",
name= "ore-zinc-crushed",
icon = "__mojo-resource-processing__/graphics/icons/ore-zinc/crushed-ore-zinc.png",
flags= { "goes-to-main-inventory" },
subgroup = "zinc",
order = "f[ore-zinc-crushed]",
stack_size= 50,
}... | gpl-3.0 |
geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtcharts/examples/charts/zoomlinechart/main.cpp | 2399 | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Charts module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:GPL$
** Commercial License Usage
** Licensees holding valid comme... | gpl-3.0 |
d/ballin-octo-shame | Yo_test.cc | 145 | //
// Created by Pivotal Data on 3/23/15.
//
#include "Yo.h"
#include "gtest/gtest.h"
TEST(YoTest, BarIsZero) {
EXPECT_EQ(0, Yo().Bar());
} | gpl-3.0 |
xvusrmqj/algorithms | JavaInterview/src/java基础/GUI/TestSwing.java | 1068 | package java基础.GUI;
import java.awt.BorderLayout;
import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.JTextField;
public class TestSwing {
public static void main(String[] args) {
createDialog... | gpl-3.0 |
lczech/genesis | lib/genesis/population/formats/variant_parallel_input_iterator.cpp | 29469 | /*
Genesis - A toolkit for working with phylogenetic data.
Copyright (C) 2014-2021 Lucas Czech
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 |
bottiger/SoundWaves | app/src/main/java/org/bottiger/podcast/utils/StorageUtils.java | 10048 | package org.bottiger.podcast.utils;
import android.Manifest;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.net.Uri;
import android.os.Environment;
import android.os.Looper;
import android.preference.PreferenceManager;
import android.support.anno... | gpl-3.0 |
tybor/monodes | legacy/reactions.cpp | 3425 | /*
Copyright (c) 2010 Paolo Redaelli
This file is part of Monodes.
Monodes 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 v... | gpl-3.0 |
derrybryson/kisside | source/api/auth.php | 2240 | <?php
function authAdd($user)
{
global $db;
$hash = hash_init("sha256");
hash_update($hash, $user["username"]);
hash_update($hash, $user["password"]);
hash_update($hash, time());
$authToken = hash_final($hash);
$expdate = time() + AUTH_EXPIRE_SECONDS;
$retval = null;
try
{
$db->beginTransaction... | gpl-3.0 |
paulscode/mupen64plus-ae | jni/mupen64plus-video-glide64mk2/src/Glitch64/OGLglitchmain.cpp | 72894 | /*
* Glide64 - Glide video plugin for Nintendo 64 emulators.
* Copyright (c) 2002 Dave2001
* Copyright (c) 2003-2009 Sergey 'Gonetz' Lipski
*
* 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; ei... | gpl-3.0 |
ernestbuffington/PHP-Nuke-Titanium | themes/CarbinFiber-Red-Flames/theme.php | 6651 | <?php
#---------------------------------------------------------------------------------------#
# THEME SYSTEM FILE #
#---------------------------------------------------------------------------------------#
# THEME INFO ... | gpl-3.0 |
sathukorale/libDatabaseHelper | libDatabaseHelperUnitTests/forms/frmInvalidSampleTable3_NoPrimaryKey.cs | 1288 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using libDatabaseHelper.forms;
using libDatabaseHelper.classes.generic;
namespace libDatabaseHelperUnitTests.forms
{
public parti... | gpl-3.0 |
Niky4000/UsefulUtils | projects/tutorials-master/tutorials-master/spring-security-mvc-socket/src/main/webapp/resources/scripts/controllers/socketController.js | 1495 | 'use strict';
angularApp
.controller('socketController', function ($scope, SocketService) {
/**
* URL mapping endpoints.
*/
var SECURED_CHAT = '/secured/chat';
var SECURED_CHAT_HISTORY = '/secured/history';
var SECURED_CHAT_ROOM = '/secured/room';
var SECURED_CHAT_SPECIFIC_USER = '/secured/user/queue... | gpl-3.0 |
selleron/pointageWebCEGID | user/pointage_prevision_user2_cegid.php | 3298 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
<head>
<title> Pointage </title>
<?PHP
include_once("../header.php");
include_once("../sql/previsionnel_user_cegid.php");
... | gpl-3.0 |
hy1314200/HyDM | Skyline.Commands/View/CommandViewPrint.cs | 683 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Skyline.Core;
namespace Skyline.Commands
{
public class CommandViewPrint:Skyline.Define.SkylineBaseCommand
{
public CommandViewPrint()
{
this.m_Category = "三维浏览";
th... | gpl-3.0 |
Robert09/TeleportMod | src/main/java/me/bubbles/teleportmod/reference/Names.java | 279 | package me.bubbles.teleportmod.reference;
public final class Names {
public static final class Keys {
public static final String CATEGORY = "keys.teleportmod.category";
public static final String GET_COORDINATES = "keys.teleportmod.get_coordinates";
}
}
| gpl-3.0 |
jensnockert/ceres-api | lib/ceres/api/fw.rb | 7295 | #
# fw.rb
# This file is part of Ceres-API.
#
# Ceres 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.
#
# Ceres is distributed i... | gpl-3.0 |
Libco/bestiary5thedition | app/src/main/java/sk/libco/bestiaryfive/ui/adapter/viewholder/MonsterViewHolder.java | 770 | package sk.libco.bestiaryfive.ui.adapter.viewholder;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import sk.libco.bestiaryfive.databinding.FragmentMonsterlistBinding;
import sk.libco.bestiaryfive.ui.adapter.MonsterListAdapter;
import sk.libco.bestiaryfive.ui.models.MonsterVie... | gpl-3.0 |
shengqh/RcpaBioJava | src/cn/ac/rcpa/database/utils/ApplicationContextFactory.java | 1835 | /*
* Created on 2005-12-14
*
* Rcpa development code
*
* Author Sheng QuanHu(qhsheng@sibs.ac.cn / shengqh@gmail.com)
* This code is developed by RCPA Bioinformatic Platform
* http://www.proteomics.ac.cn/
*
*/
package cn.ac.rcpa.database.utils;
import java.util.HashMap;
import j... | gpl-3.0 |
lyy289065406/expcodes | java/01-framework/dubbo-admin/incubator-dubbo-ops/dubbo-admin-backend/src/main/java/org/apache/dubbo/admin/web/mvc/governance/ServicesController.java | 10329 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | gpl-3.0 |
CroissanceCommune/autonomie | autonomie/alembic/versions/2_2_activity_status__15d4152bd5d6.py | 2581 | """2.2 : activity status and participants
Revision ID: 15d4152bd5d6
Revises: b04de7c28
Create Date: 2014-06-23 17:55:00.671922
"""
# revision identifiers, used by Alembic.
revision = '15d4152bd5d6'
down_revision = 'b04de7c28'
from alembic import op
import sqlalchemy as sa
def upgrade():
from autonomie.models.... | gpl-3.0 |
kms77/Fayabank | src/test/java/fr/trouillet/faya/fayabank/service/MailServiceIntTest.java | 10502 | /*
* Copyright (c) 2017 dtrouillet
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this list of conditions and the f... | gpl-3.0 |
ondrik/libsfta | include/sfta/dual_hash_table_leaf_allocator.hh | 9980 | /*****************************************************************************
* Symbolic Finite Tree Automata Library
*
* Copyright (c) 2010 Ondra Lengal <ondra@lengal.net>
*
* Description:
* File with DualHashTableLeafAllocator policy for CUDDSharedMTBDD
*
**********************************************... | gpl-3.0 |
justmesr/web-ui | src/app/core/store/collections/collections.state.ts | 2231 | /*
* Lumeer: Modern Data Definition and Processing Platform
*
* Copyright (C) since 2017 Answer Institute, s.r.o. and/or its affiliates.
*
* 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, ... | gpl-3.0 |
janjouketjalsma/Panoply | config/cli-config.php | 340 | <?php
use Doctrine\ORM\Tools\Console\ConsoleRunner;
require 'vendor/autoload.php';
$settings = require __DIR__ .'/../app/settings.php';
$doctrineService = new Panoply\Service\Doctrine($settings['settings']['doctrine']);
$entityManager = $doctrineService->entityManager();
return ConsoleRunner::createHelperS... | gpl-3.0 |
CrazyRundong/UWP-Playground | HamburgerNavigation/App.xaml.cs | 3892 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xam... | gpl-3.0 |
ftisunpar/BlueTape | vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php | 19534 | <?php
namespace GuzzleHttp\Handler;
use GuzzleHttp\Exception\ConnectException;
use GuzzleHttp\Exception\RequestException;
use GuzzleHttp\Promise\FulfilledPromise;
use GuzzleHttp\Promise\PromiseInterface;
use GuzzleHttp\Psr7;
use GuzzleHttp\TransferStats;
use GuzzleHttp\Utils;
use Psr\Http\Message\RequestInterface;
us... | gpl-3.0 |
waikato-datamining/adams-base | adams-spreadsheet/src/main/java/adams/flow/core/MissingLookUpKey.java | 1164 | /*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it w... | gpl-3.0 |
nicolacimmino/ExpensesTracker | AndroidApplication/android/ExpensesReporter/tracker/src/main/java/com/nicolacimmino/expensestracker/tracker/expenses_api/ExpensesApiGetExpensesRequest.java | 1652 | /* ExpensesApiGetExpensesRequest is part of ExpensesTracker and represents a specialized request
* to the Expenses API.
*
* Copyright (C) 2014 Nicola Cimmino
*
* 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
*... | gpl-3.0 |
PaleoCrafter/paleocraft | pc_common/de/paleocrafter/pcraft/tileentity/TileFossil.java | 474 | package de.paleocrafter.pcraft.tileentity;
import java.util.Random;
import cpw.mods.fml.common.network.PacketDispatcher;
/**
* PaleoCraft
*
* TileFossil
*
* @author PaleoCrafter
* @license Lesser GNU Public License v3 (http://www.gnu.org/licenses/lgpl.html)
*/
public class TileFossil extends TilePC {
pu... | gpl-3.0 |
bhatfield/jsduck | lib/jsduck/source/file_parser.rb | 1993 | require 'jsduck/js_parser'
require 'jsduck/css_parser'
require 'jsduck/doc_parser'
require 'jsduck/merger'
require 'jsduck/ast'
require 'jsduck/doc_type'
require 'jsduck/doc_ast'
require 'jsduck/class_doc_expander'
module JsDuck
module Source
# Performs the actual parsing of CSS or JS source.
#
# This i... | gpl-3.0 |
lsuits/Moodle-2.0-Plugin-for-Panopto | db/access.php | 2383 | <?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 |
kanafghan/jpizzeria | site/controllers/opinion.php | 1431 | <?php
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// import Joomla controllerform library
jimport('joomla.application.component.controller');
/**
* Opinion Controller
*/
class PizzaControllerOpinion extends JController
{
/**
* Proxy for getModel.
* @since 1.6
*/
public fun... | gpl-3.0 |
ZeroOne71/ql | 02_ECCentral/03_Service/BizEntity/Customer/CustomerInfo/CustomerPrepayLog.cs | 1143 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ECCentral.BizEntity.Common;
namespace ECCentral.BizEntity.Customer
{
/// <summary>
/// 客户余额日志
/// </summary>
public class CustomerPrepayLog : IIdentity
{
/// <summary>
/// 余额日志的系统编号
... | gpl-3.0 |
Jameswiseman/techjobs | webpack/src/store/modules/positions.js | 3839 |
import * as types from '../mutation-types'
import Vue from 'vue'
// Initial state
const state = {
all: [],
currentPage: 1,
loadCompleted: false
}
const actions = {
getAllPositions ({ commit }) {
Vue.http.get('http://localhost:3000/positions?_sort=updatedAt&_order=DESC').then((response) => {
const p... | gpl-3.0 |
hamstercat/perfect-media | PerfectMedia.UI/Images/ImageLoader.cs | 10275 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ImageLoader.cs" company="Bryan A. Woodruff">
// Copyright (c) 2011 Bryan A. Woodruff.
// </copyright>
// <summary>
// The ImageLoader class is a derived class of System.Window... | gpl-3.0 |
pomahtuk/vadim_folio | works/migrations/0001_initial.py | 2302 | # -*- coding: utf-8 -*-
# Generated by Django 1.9.6 on 2016-06-10 14:22
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
import embed_video.fields
import sorl.thumbnail.fields
class Migration(migrations.Migration):
initial = True
dependencies... | gpl-3.0 |
cereda/macro-expander | src/main/java/br/usp/poli/lta/cereda/macro/model/Macro.java | 5084 | /**
* ------------------------------------------------------
* Laboratório de Linguagens e Técnicas Adaptativas
* Escola Politécnica, Universidade São Paulo
* ------------------------------------------------------
*
* This program is free software: you can redistribute it
* and/or modify it under the terms ... | gpl-3.0 |
thedj21/bukkit--src | src/main/java/org/bukkit/material/Button.java | 2648 | package org.bukkit.material;
import org.bukkit.block.BlockFace;
import org.bukkit.Material;
/**
* Represents a button
*/
public class Button extends SimpleAttachableMaterialData implements Redstone {
public Button() {
super(Material.STONE_BUTTON);
}
/**
* @param type the type
* @depre... | gpl-3.0 |
DirtyCajunRice/PlexShowSilencer | plexshowsilencer/silencer/migrations/0002_table_plural_to_single.py | 490 | # -*- coding: utf-8 -*-
# Generated by Django 1.11.7 on 2017-11-11 23:03
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('silencer', '0001_initial'),
]
operations = [
migrations.RenameModel(
ol... | gpl-3.0 |
mnemotron/Roots | roots/src/main/java/roots/core/SystemResourceIcons.java | 1846 | package roots.core;
public final class SystemResourceIcons
{
// configuration
public static final String ICON_CONFIG_TREE_LEAF_LOOKANDFEEL = "/roots/icons/config.png";
public static final String ICON_CONFIG_TREE_SELECTED_LOOKANDFEEL = "/roots/icons/config.png";
// repository
public st... | gpl-3.0 |
savirhkhan/Practice-Python | tick_tak_toe.py | 2559 | def draw_line(width, edge, filling):
print(filling.join([edge] * (width + 1)))
def display_winner(player):
if player == 0:
print("Tie")
else:
print("Player " + str(player) + " wins!")
def check_row_winner(row):
"""
Return the player number that wins for that row.
If there is no winner, return ... | gpl-3.0 |
Hambrook/Nest | tests/arraySetTest.php | 1199 | <?php
require_once(implode(DIRECTORY_SEPARATOR, [__DIR__, "..", "src", "Nest.php"]));
use \Hambrook\Nest\Nest as Nest;
/**
* Tests for PHPUnit
*
* @author Rick Hambrook <rick@rickhambrook.com>
* @copyright 2015 Rick Hambrook
* @license https://www.gnu.org/licenses/gpl.txt GNU General Public License v3
... | gpl-3.0 |
scraymer/lyle-wedding | sites/blocks/gallery-couple.php | 4679 | <div id="block-gallery-thumbnails">
<div class="header"></div>
<div class="thumbnail">
<a href="https://dl.dropbox.com/u/36151686/sites/images/gallery/couple/2007_Christmas.JPG" rel="shadowbox[Couple]" title="Christmas 2007">
<img src="https://dl.dropbox.com/u/36151686/sites/images/gallery/couple/2007_Christmas_... | gpl-3.0 |
CatLabInteractive/dolumar | public/cache.php | 1097 | <?php
/**
* Dolumar, browser based strategy game
* Copyright (C) 2009 Thijs Van der Schaeghe
* CatLab Interactive bvba, Gent, Belgium
* http://www.catlab.eu/
* http://www.dolumar.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public ... | gpl-3.0 |
arneboe/PixelController | pixelcontroller-gui/src/test/java/com/neophob/sematrix/gui/callback/GuiStateTest.java | 2029 | /**
* Copyright (C) 2011-2014 Michael Vogt <michu@neophob.com>
*
* This file is part of PixelController.
*
* PixelController 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 Licen... | gpl-3.0 |
Throne-of-Heptagram/Door_of_Soul.Communication | Door_of_Soul.Communication.Protocol.External/Device/EventParameter/SystemEventParameterCode.cs | 182 | namespace Door_of_Soul.Communication.Protocol.External.Device.EventParameter
{
public enum SystemEventParameterCode : byte
{
EventCode,
Parameters
}
}
| gpl-3.0 |
annoviko/pyclustering | pyclustering/cluster/tests/unit/ut_encoder.py | 10675 | """!
@brief Unit-tests for clustering result representation.
@authors Andrei Novikov (pyclustering@yandex.ru)
@date 2014-2020
@copyright BSD-3-Clause
"""
import unittest
import math
import matplotlib
matplotlib.use('Agg')
from pyclustering.cluster.encoder import cluster_encoder
from pyclustering.cluster.encoder i... | gpl-3.0 |
pcimcioch/scraper | src/main/java/scraper/module/chan/collector/thread/ThreadDsRepository.java | 283 | package scraper.module.chan.collector.thread;
import org.springframework.data.repository.CrudRepository;
/**
* Neo4j repository for {@link ThreadDs}.
*/
public interface ThreadDsRepository extends CrudRepository<ThreadDs, Long> {
ThreadDs findByThreadId(String threadId);
}
| gpl-3.0 |
victorzhao/miniblink49 | cef/libcef_dll/ctocpp/browser_process_handler_ctocpp.cc | 3444 | // Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
//
// ---------------------------------------------------------------------------
//
// This file was generated by the CEF translato... | gpl-3.0 |
tmshlvck/ulg | ulgbird.py | 23756 | #!/usr/bin/env python
#
# ULG - Universal Looking Glass
# (C) 2012 CZ.NIC, z.s.p.o.
#
# 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 |
dineth454/MOE | Extended_principle_user/viewProfile.php | 23761 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<titl... | gpl-3.0 |