repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
GobiernoFacil/agentes-v2 | resources/views/aspirant/notices/notices-apply-proof.blade.php | 995 | @extends('layouts.admin.fellow_master')
@section('title', 'Aplicar a convocatoria '.$notice->title )
@section('description', 'Aplicar a convocatoria '.$notice->title)
@section('body_class', 'aspirante convocatoria')
@section('breadcrumb_type', 'notice apply comprobante')
@section('breadcrumb', 'layouts.aspirant.breadcr... | gpl-3.0 |
s20121035/rk3288_android5.1_repo | hardware/rockchip/sensor/mid/SensorBase.cpp | 4703 | /*
* Copyright (C) 2008 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 |
gavinfernandes2012/NotACellSim | src/test_chromosome.cpp | 174 | #include "chromosome.hpp"
int main(){
std::string FilePath = "dna/Arabidopsis_thaliana.TAIR10.dna.chromosome.1.fa";
Chromosome TestChoromosome(FilePath, 1);
return 0;
}
| gpl-3.0 |
Valansch/RedMew | map_gen/maps/tetris/scenario.lua | 12062 | local Event = require 'utils.event'
local Token = require 'utils.token'
local Task = require 'utils.task'
local Global = require 'utils.global'
local Debug = require 'utils.debug'
local Map = require 'map_gen.maps.tetris.shape'
local Tetrimino = require 'map_gen.maps.tetris.tetrimino'(Map)
local View = require 'map_gen... | gpl-3.0 |
Commercial-Group/CG-Theme | wp-content/plugins/divi-booster/core/fixes/095-secondary-nav-hover-color/wp_head_style.php | 388 | <?php
if (!defined('ABSPATH')) { exit(); } // No direct access
list($name, $option) = $this->get_setting_bases(__FILE__); ?>
#top-header #et-info-phone a:hover,
#top-header #et-info a:hover span#et-info-phone,
#top-header #et-info a:hover span#et-info-email,
#top-header .et-social-icon a:hover {
color:... | gpl-3.0 |
51zhaoshi/myyyyshop | Microsoft.Practices.ObjectBuilder_Source/Microsoft.Practices.ObjectBuilder/PropertySetterStrategy.cs | 2328 | namespace Microsoft.Practices.ObjectBuilder
{
using Microsoft.Practices.ObjectBuilder.Properties;
using System;
using System.Globalization;
using System.Reflection;
public class PropertySetterStrategy : BuilderStrategy
{
public override object BuildUp(IBuilderContext context, Type typeT... | gpl-3.0 |
henkelis/sonospy | web2py/applications/admin/languages/zh-cn.py | 18109 | # coding: utf8
{
'%Y-%m-%d': '%Y-%m-%d',
'%Y-%m-%d %H:%M:%S': '%Y-%m-%d %H:%M:%S',
'(something like "it-it")': '(\xe5\xb0\xb1\xe5\x83\x8f\xe8\xbf\x99\xe6\xa0\xb7 "it-it")',
'A new version of web2py is available': '\xe6\x96\xb0\xe7\x89\x88\xe6\x9c\xacweb2py\xe5\xb7\xb2\xe7\xbb\x8f\xe5\x8f\xaf\xe7\x94\xa8',
'A new versio... | gpl-3.0 |
idega/com.idega.block.ldap | src/java/com/idega/core/ldap/client/jndi/ConnectionData.java | 7524 | package com.idega.core.ldap.client.jndi;
/**
* The ConnectionData inner class is used to pass
* connection data around. Not all fields are
* guaranteed to be valid values.
*/
public class ConnectionData
{
/**
* The base to start browsing from, e.g.'o=Democorp,c=au'.
* (This is often reset to w... | gpl-3.0 |
luv/avis_zmqprx | server/src/main/org/avis/subscription/ast/nodes/Const.java | 3395 | /*
* Avis event router.
*
* Copyright (C) 2008 Matthew Phillips <avis@mattp.name>
*
* This program is free software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This program is distributed in ... | gpl-3.0 |
shekharcs1-/Test | service/src/main/java/com/drdolittle/petclinic/petclinic/repository/jdbc/JdbcPetVisitExtractor.java | 1762 | /*
* Copyright 2002-2015 the original author or authors.
*
* 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 ap... | gpl-3.0 |
dciabrin/ra-tester | ra/rabbitmq/tests.py | 6491 | #!/usr/bin/env python
'''Resource Agents Tester
Tests for the RabbitMQ resource agent.
'''
__copyright__ = '''
Copyright (C) 2018 Damien Ciabrini <dciabrin@redhat.com>
Licensed under the GNU GPL.
'''
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Pu... | gpl-3.0 |
leafsoftinfo/pyramus | framework/src/main/java/fi/pyramus/security/impl/IdentityImpl.java | 698 | package fi.pyramus.security.impl;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
import fi.otavanopisto.security.ContextReference;
import fi.otavanopisto.security.Identity;
@ApplicationScoped
public class IdentityImpl implements Identity {
@Inject
private SessionController sessio... | gpl-3.0 |
SiLeBAT/FSK-Lab | de.bund.bfr.knime.foodprocess.tests/src/de/bund/bfr/knime/util/NameAndDbIdTest.java | 1865 | package de.bund.bfr.knime.util;
import static org.junit.Assert.*;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
@SuppressWarnings("static-method")
public class NameAndDbIdTest {
@Test
public void testNameConstructor() {
NameAndDbId identifier = new NameAndDbId("name");
assertEquals(-1, ide... | gpl-3.0 |
Bashka/D | library/patterns/entity/dataType/special/network/IPAddress.php | 240 | <?php
namespace D\library\patterns\entity\dataType\special\network;
/**
* Представления IP адресов различных версий в системе.
* @author Artur Sh. Mamedbekov
*/
interface IPAddress{
}
| gpl-3.0 |
Russell-Jones/django-wiki | django_notify/migrations/0004_auto__chg_field_notification_url.py | 7017 | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
try:
from django.contrib.auth import get_user_model
except ImportError: # django < 1.5
from django.contrib.auth.models import User
else:
... | gpl-3.0 |
dumischbaenger/ews-example | src/main/java/de/dumischbaenger/ws/DeleteMeetingInstanceResponseMessageType.java | 954 |
package de.dumischbaenger.ws;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java-Klasse für DeleteMeetingInstanceResponseMessageType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content... | gpl-3.0 |
MunchkinGeorge/Evil-Science | munchkingeorge/evil_science/proxy/CommonProxy.java | 264 | package munchkingeorge.evil_science.proxy;
import cpw.mods.fml.common.network.IGuiHandler;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.world.World;
public class CommonProxy {
public void registerRenderers()
{
}
}
| gpl-3.0 |
barbanet/magento-dc-regions | app/code/community/Dc/Regions/Block/Adminhtml/Installer.php | 1889 | <?php
/**
* Dc_Regions
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
*
* @category Dc
* @package Dc_Regions
* @copyright Copyright (c) 201... | gpl-3.0 |
dumischbaenger/ews-example | src/main/java/de/dumischbaenger/ws/GetHoldOnMailboxesType.java | 1710 |
package de.dumischbaenger.ws;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
*
* Request type for the GetHoldOnMailboxes web method.
*
*
* <p>Java-Klass... | gpl-3.0 |
dtromb/gocairo | line.go | 444 | package cairo
/*
#cgo LDFLAGS: -lcairo
#include <cairo/cairo.h>
*/
import "C"
type LineCap uint32
const (
LineCapButt LineCap = C.CAIRO_LINE_CAP_BUTT
LineCapRound = C.CAIRO_LINE_CAP_ROUND
LineCapSquare = C.CAIRO_LINE_CAP_SQUARE
)
type LineJoin uint32
const (
LineJoinMiter LineJoin = C.... | gpl-3.0 |
will-bainbridge/OpenFOAM-dev | src/lagrangian/parcel/submodels/MPPIC/PackingModels/Explicit/Explicit.H | 4096 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2013-2020 OpenFOAM Foundation
\\... | gpl-3.0 |
marpet/seadas | seadas-ocsswrest/src/main/java/gov/nasa/gsfc/seadas/ocsswrest/utilities/ProcessRunner.java | 3955 | package gov.nasa.gsfc.seadas.ocsswrest.utilities;
import gov.nasa.gsfc.seadas.ocsswrest.database.SQLiteJDBC;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
/**
* Created by IntelliJ IDEA.
* User: Aynur Abdurazik (aabduraz)
* Date: 6/24/... | gpl-3.0 |
fearless359/simpleinvoices | include/class/MyCrypt.php | 4665 | <?php
class MyCrypt {
const HEXCHRS = "0123456789abcdef";
/**
* Static function to encrypt a string using a specified key.
* @param string $encrypt String to encrypt
* @param string $key String to use as the encryption key.
* @return string Encrypted string.
*/
public static functi... | gpl-3.0 |
iomad/iomad | blocks/iomad_company_admin/classes/output/renderer.php | 15316 | <?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 |
chris-klinger/Goat | results/intermediate.py | 4244 | """
This module contains helper functions/classes for dealing with intermediate search
results, including creating new or reverse searches from them.
"""
import re
from Bio import SeqIO
from bin.initialize_goat import configs
from searches import search_util
from queries import query_objects
class Search2Queries:
... | gpl-3.0 |
eduardgamiao/Mepedia | target/scala-2.10/src_managed/main/views/html/Ho.template.scala | 5639 |
package views.html
import play.templates._
import play.templates.TemplateMagic._
import play.api.templates._
import play.api.templates.PlayMagic._
import models._
import controllers._
import java.lang._
import java.util._
import scala.collection.JavaConversions._
import scala.collection.JavaConverters._
import play.... | gpl-3.0 |
JuantAldea/LUT-2013-Tuister-OOP | Tuister/src/pdus/UnlikePDU.java | 805 | package pdus;
import javax.xml.bind.JAXBException;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlAccessType;
@XmlRootElement(name = "unlike")
@XmlAccessorType(XmlAccessType.NONE)
pub... | gpl-3.0 |
INSAlgo/codingbattle-2017 | pre-concours/a_dis_papa/sol/sol-php.php | 36 | <?php
echo substr(fgets(STDIN), 4);
| gpl-3.0 |
siefkenj/JSCalc | bignum.js | 20464 | // Generated by CoffeeScript 1.3.1
/*
* Bignumber support for javascript.
*
* Copyright (C) 2012 Jason Siefken
*
* 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, eit... | gpl-3.0 |
leopuglia/Evolution.Net | src/util/EvolutionNet.Util/Calendar/Holiday/Country/Us/National.cs | 5954 | using System;
using System.Collections.Generic;
namespace EvolutionNet.Util.Calendar.Holiday.Country.Us
{
public class National : Base
{
public National(int year) : base(year)
{
}
#region NewYearDay
public NationalHoliday NewYearDay
{
get { return GetNewYearDay(Year); }
}
pub... | gpl-3.0 |
iCarto/siga | libRaster/src/org/gvsig/raster/datastruct/ColorItem.java | 4205 | /* gvSIG. Sistema de Información Geográfica de la Generalitat Valenciana
*
* Copyright (C) 2005 IVER T.I. and Generalitat Valenciana.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; eith... | gpl-3.0 |
atlaser/Tools | SContest/Version1/SContest1/SContest1/SContest1.cpp | 857 | // SContest1.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "SContest1.h"
#include "TestObj.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// The one and only application object
CWinApp theApp;
using namespace std;
int _tmain(int argc, TCHAR* argv[], TCHAR* envp[])
{
i... | gpl-3.0 |
4rg0n/poe_orb_calc | js/ext/app/view/error/Window.js | 2143 | /**
* Window for Errors
*
* @xtype calc-error-window
*
* @class Calc.view.error.Window
* @extends Ext.window.Window
* @mixin Calc.library.mixin.Template
* @author Arg0n <argonthechecker@gmail.com>
*/
Ext.define('Calc.view.error.Window', {
extend: 'Ext.window.Window',
mixins: [
'Calc.librar... | gpl-3.0 |
hep-mirrors/rivet | include/Rivet/Tools/RivetMT2.hh | 1580 | // -*- C++ -*-
#ifndef RIVET_MT2_HH
#define RIVET_MT2_HH
#include "Rivet/Math/Vector4.hh"
namespace Rivet {
/// @brief Compute asymm mT2**2 using the bisection method
///
/// If the second invisible mass is not given, symm mT2**2 will be calculated.
///
/// @note Cheng/Han arXiv:0810.5178, Lester arXiv:14... | gpl-3.0 |
basilfx/BierApp-Android | app/src/main/java/com/basilfx/bierapp/exceptions/UnexpectedStatusCode.java | 475 | package com.basilfx.bierapp.exceptions;
import org.apache.http.HttpException;
public class UnexpectedStatusCode extends HttpException{
/**
*
*/
private static final long serialVersionUID = -2261400615322872338L;
public UnexpectedStatusCode(int statusCode) {
super("Unexpected HTTP status code " + statusCode... | gpl-3.0 |
richard-roberts/Mocappie | src/scene/coordinates/joint.py | 92 | from src.scene.coordinates.coordinate import Coordinate
class Joint(Coordinate):
pass
| gpl-3.0 |
erudit/eruditorg | tests/functional/apps/public/account_actions/test_forms.py | 4065 | # -*- coding: utf-8 -*-
from account_actions.action_base import AccountActionBase
from account_actions.action_pool import actions
from account_actions.test.factories import AccountActionTokenFactory
from django.contrib.auth.models import User
from django.test import TestCase
from faker import Factory
from apps.public... | gpl-3.0 |
open-notify/Open-Notify-API | update.py | 1994 | import redis
import json
import urllib2
import datetime
from calendar import timegm
import time
import os
import sys
REDIS_URL = os.getenv('REDISTOGO_URL', 'redis://localhost:6379')
r = redis.StrictRedis.from_url(REDIS_URL)
# NASA's station FDO updates this page with very precise data. Only using a
# small bit of it ... | gpl-3.0 |
401AR/W17401AR | Assets/Scripts/UI/ListItem.cs | 2173 | /******************************************************************************
* Author: Michael Morris
* Course: CMPUT401 AR
* File: SkinToneItem.cs
*
* Description: Provides access to dynamic item controls for slot items.
*
* ***************************************************************************/
usin... | gpl-3.0 |
billrive/billrive | billrive-app/src/main/java/com/uhsarp/billrive/services/PaymentService.java | 666 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.uhsarp.billrive.services;
//import com.uhsarp.billrive.dao.GenericDao;
import com.uhsarp.billrive.domain.Payment;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
/**
*
* @... | gpl-3.0 |
alephcero/adsProject | make_dummy.py | 533 | def make_dummy(data):
data['male_14to24'] = ((data.female == 0) & ((data.age >= 14) & (data.age <= 24))).astype(int)
data['male_25to34'] = ((data.female == 0) & ((data.age >= 25 ) & ( data.age <= 34))).astype(int)
data['female_14to24'] = ((data.female == 1) & ((data.age >= 14 ) & ( data.age <= 24))).astype... | gpl-3.0 |
diphda/grupoagrupo | lib/filter/doctrine/ConsumerGroupStateFormFilter.class.php | 355 | <?php
/**
* ConsumerGroupState filter form.
*
* @package grupos_consumo
* @subpackage filter
* @author Your name here
* @version SVN: $Id: sfDoctrineFormFilterTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
*/
class ConsumerGroupStateFormFilter extends BaseConsumerGroupStateFormFilter
{
pub... | gpl-3.0 |
Webdeskme/Webdesk-me | Apps/Admin/uploadCSV.php | 3893 | <?php
$i = 0;
$tier = test_input($_POST['tier']);
$pass = f_enc(test_input($_POST['pass']));
if(!file_exists('Temp/')){
mkdir('Temp/');
}
$target_dir = "Temp/";
$target_file = $target_dir . 'temp.csv';
$uploadOk = 1;
$imageFileType = pathinfo($target_file,PATHINFO_EXTENSION);
// Allow certain file formats
... | gpl-3.0 |
DRE2N/DungeonsXL | core/src/main/java/de/erethon/dungeonsxl/DXLModule.java | 4700 | /*
* Copyright (C) 2012-2022 Frank Baumann
*
* 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 |
NyxStudios/Orion | src/Orion.Core/Packets/Players/PlayerPvp.cs | 1870 | // Copyright (c) 2020 Pryaxis & Orion Contributors
//
// This file is part of Orion.
//
// Orion 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 |
d0m3nik/pycimg | docs/conf.py | 5544 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# pycimg documentation build configuration file, created by
# sphinx-quickstart on Tue Dec 12 11:21:29 2017.
#
# 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
# aut... | gpl-3.0 |
malalanayake/design-patterns | src/main/java/sample/design/Interface/segregation/bad/Human.java | 504 | package sample.design.Interface.segregation.bad;
/**
*
* Distibution under GNU GENERAL PUBLIC LICENSE Version 2, June 1991
*
* @author dmalalan
* @created Apr 12, 2016 1:25:34 PM
*
* @blog https://malalanayake.wordpress.com/
*/
public class Human implements Worker {
public void startWork() {
System.out.... | gpl-3.0 |
phiratio/Pluralsight-materials | Paths/HTML5/04.Meeting-Web-Accessibility-Guidelines/2-web-accessibility-meeting-guidelines-m2-exercise-files/Acme/js/navigation.js | 168 | var menu = document.querySelector('#main-nav');
document.querySelector('#menu-trigger').addEventListener('click', function (e) {
menu.classList.toggle('active');
});
| gpl-3.0 |
wuts/xiaodoudian | application/modules/galleries/language/english/galleries_lang.php | 3549 | <?php
// labels
$lang['gal_upload_label'] = 'Upload';
$lang['gal_page_content_label'] = 'Page content';
$lang['gal_photo_label'] = 'Photo';
$lang['gal_photo_title_label'] = 'Title';
$lang['gal_photo_description_label'] = 'Description';
$lang['gal_photos_list_label'] ... | gpl-3.0 |
dansteen/controlled-compose | logger/tail_logger.go | 1409 | // TailLogger is an implementation of logger that will tail provide a log stream
// as well as, optionally, print logs to the console
package logger
import (
cli_logger "github.com/docker/libcompose/cli/logger"
"github.com/docker/libcompose/logger"
)
// TailLoggerFactory Implements the logger.Factory interface for ... | gpl-3.0 |
yaha-soft/yaha | src/Yaha/UserBundle/UserBundle.php | 120 | <?php
namespace Yaha\UserBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class UserBundle extends Bundle
{
}
| gpl-3.0 |
Sendarox/HiveJumpPads | older_versions/v2_X/eu/Sendarox/HiveJumpPads/Listener/JumpPadListener.java | 8611 | /* */ package eu.Sendarox.HiveJumpPads.Listener;
/* */
/* */ import eu.Sendarox.HiveJumpPads.HiveJumpPads;
/* */ import eu.Sendarox.HiveJumpPads.TransanslateAlternateColors;
/* */ import java.io.File;
/* */ import java.util.HashMap;
/* */ import java.util.List;
/* */ import org.b... | gpl-3.0 |
grnydawn/fasin | fasin/utils.py | 1454 | # -*- coding: utf-8 -*-
from __future__ import (absolute_import, division,
print_function, unicode_literals)
import os, sys, time, datetime
here = os.path.dirname(os.path.realpath(__file__))
fixedform_extensions = ['.f', '.for', '.fpp', '.ftn',
'.F', '.FOR', '.FPP', '.FTN']
freeform_extensions = ['.f90', '.f9... | gpl-3.0 |
infphilo/hisat2 | hisat2_inspect.cpp | 28374 | /*
* Copyright 2015, Daehwan Kim <infphilo@gmail.com>
*
* This file is part of HISAT 2.
*
* HISAT 2 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 |
kuiwang/my-dev | src/main/java/com/taobao/top/link/embedded/websocket/util/StringUtil.java | 10111 | /*
* The MIT License
*
* Copyright (c) 2011 Takahiro Hashimoto
*
* 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 us... | gpl-3.0 |
CCAFS/MARLO | marlo-data/src/main/java/org/cgiar/ccafs/marlo/data/dao/mysql/AuditLogMySQLDao.java | 10722 | /*****************************************************************
* This file is part of Managing Agricultural Research for Learning &
* Outcomes Platform (MARLO).
* MARLO 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... | gpl-3.0 |
clbonner/cragbook | views/crag.php | 1753 | <script>
$(document).ready( function () {
getCrag(<?= $_GET["cragid"] ?>);
});
</script>
<div id="backlink">
<a href="<?= SITEURL ?>/area.php?areaid=<?= $data["area"]["areaid"] ?>"><i class="fa fa-angle-left"> <?= $data["area"]["name"] ?></i></a>
</div>
<div class="content panel">
<?php if (isset($_SESS... | gpl-3.0 |
lvk/Unitale | Assets/Scripts/Debug/UserDebugger.cs | 1435 | using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// Behaviour you can use to print lines into a UnityEngine.UI.Text component for debugging, keeping only a set amount of lines in memory.
/// </summary>
public class UserDebugger : MonoBehaviour
{
public static... | gpl-3.0 |
MECTsrl/ATCMcontrol_Engineering | src/Target/Templates/AddOnHandler/AAddOnObject.cpp | 7417 | /* $Header: /4CReleased/V2.20.00/Target/TEMPLATES/AddOnHandler/AAddOnObject.cpp 1 28.02.07 18:54 Ln $
* ------------------------------------------------------------------------------
*
* =FILENAME $Workfile: AAddOnObject.cpp $
* $Logfile: /4CReleased/V2.20.00/Target/TEMPLATES/AddOnHandler/AAddOnObje... | gpl-3.0 |
timgrube/DNA | src/dna/depr/metrics/apsp/IntWeightedAllPairsShortestPathsR.java | 6391 | package dna.depr.metrics.apsp;
import java.util.Comparator;
import java.util.PriorityQueue;
import dna.graph.IElement;
import dna.graph.edges.DirectedEdge;
import dna.graph.edges.UndirectedEdge;
import dna.graph.nodes.DirectedNode;
import dna.graph.nodes.Node;
import dna.graph.nodes.UndirectedNode;
import dna.graph.w... | gpl-3.0 |
sharebookproject/AndroidPQCrypto | MCElieceProject/Flexiprovider/src/main/java/de/flexiprovider/pqc/ecc/mceliece/McElieceCCA2KeyPairGenerator.java | 7427 | package de.flexiprovider.pqc.ecc.mceliece;
import de.flexiprovider.api.Registry;
import de.flexiprovider.api.SecureRandom;
import de.flexiprovider.api.exceptions.InvalidAlgorithmParameterException;
import de.flexiprovider.api.exceptions.InvalidParameterException;
import de.flexiprovider.api.keys.KeyPair;
import de.fle... | gpl-3.0 |
jcespinosa/EcoGlasses | gui.py | 11927 | #!/usr/bin/python
########################################################################
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# at your... | gpl-3.0 |
pklaus/avrnetio | example.readOutTemperatures.py | 2448 | #!/usr/bin/env python
# -*- encoding: UTF8 -*-
# Author: Philipp Klaus, philipp.l.klaus AT web.de
# This file is part of avrnetio.
#
# avrnetio 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... | gpl-3.0 |
xGamers665/tera-emu | com.tera.gapi.npc/src/main/java/com/tera/gapi/npc/intercept/NpcLoadPoint.java | 1073 | /**
* This file is part of tera-api.
*
* tera-api 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.
* tera-api is distributed in ... | gpl-3.0 |
alessandrolanghi/mit | src/providers/impianto.ts | 4553 | import { Injectable } from '@angular/core';
import { Observable } from 'rxjs/Observable';
import { IImpianto } from '../models/impianto';
import { IAnagrafica, Anagrafica } from '../models/anagrafica';
import { BackendService } from './backend';
import { AuthService } from './auth';
@Injectable()
export class Impiant... | gpl-3.0 |
robwarm/gpaw-symm | gpaw/factory.py | 3562 | import optparse
from ase.units import Bohr, Hartree
from ase.tasks.calcfactory import CalculatorFactory, str2dict
from gpaw.utilities.gpts import get_number_of_grid_points
from gpaw.wavefunctions.pw import PW
class GPAWFactory(CalculatorFactory):
def __init__(self, show_text_output=False, write_gpw_file=None,
... | gpl-3.0 |
xingh/bsn-goldparser | bsn.GoldParser.Test/Semantic/TestUnicode.cs | 1572 | using System;
using System.IO;
using System.Text;
using Xunit;
using bsn.GoldParser.Grammar;
namespace bsn.GoldParser.Semantic {
public class TestUnicode {
public sealed class TestParser {
public static bool Parse(string filePath) {
using (FileStream stream = new FileStream(filePath, FileMode.... | gpl-3.0 |
igemsoftware2017/USTC-Software-2017 | tests/core/plugins/expected/apps.py | 238 | from biohub.core.plugins import PluginConfig
class TestConfig(PluginConfig):
name = 'tests.core.plugins.test'
title = ''
author = ''
description = ''
js_url = '' # the URL of `plugin.js`, you may leave it to blank
| gpl-3.0 |
TeoV/cgrates | console/resources_allocate.go | 1907 | /*
Real-time Online/Offline Charging System (OCS) for Telecom & ISP environments
Copyright (C) ITsysCOM GmbH
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at yo... | gpl-3.0 |
welldooder64/TheBananaKingdom | bk_common/net/welldooder64/bananakingdom/creativetab/CreativeTabBK.java | 664 | package net.welldooder64.bananakingdom.creativetab;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.creativetab.CreativeTabs;
import net.welldooder64.bananakingdom.lib.ItemIDs;
public class CreativeTabBK extends CreativeTabs{
public CreativeTabBK(int tabID)
... | gpl-3.0 |
zuonima/sql-utils | src/main/java/com/alibaba/druid/sql/parser/SQLDDLParser.java | 1473 | /*
* Copyright 1999-2017 Alibaba Group Holding Ltd.
*
* 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 applica... | gpl-3.0 |
AndyMoreland/cs-244-project | src/main/java/gameengine/ChineseCheckersStateMachine.java | 2452 | package gameengine;
import com.google.common.base.Optional;
import com.google.common.collect.Lists;
import common.CryptoUtil;
import common.Digest;
import common.StateMachineCheckpointListener;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import statemachine.InvalidStateMachineOperationException... | gpl-3.0 |
a-v-k/astrid | src/main/java/org/tasks/injection/ContentProviderModule.java | 100 | package org.tasks.injection;
import dagger.Module;
@Module
public class ContentProviderModule {
}
| gpl-3.0 |
sofa/angular-sofa-full-page-view | src/sofaFullPageViewDirective.js | 2367 | angular.module('sofa.fullPageView', ['sofa-full-page-view.tpl.html'])
.directive('sofaFullPageView', function () {
'use strict';
return {
restrict: 'E',
controller: function () {
},
link: function ($scope, $element, attrs) {
var onO... | gpl-3.0 |
nortikin/sverchok | nodes/field/scalar_field_formula.py | 7301 |
import numpy as np
import bpy
from bpy.props import EnumProperty, BoolProperty, StringProperty
from sverchok.node_tree import SverchCustomTreeNode
from sverchok.data_structure import updateNode, zip_long_repeat, match_long_repeat
from sverchok.utils.modules.eval_formula import get_variables, sv_compile, safe_eval_co... | gpl-3.0 |
sethten/MoDesserts | mcp50/src/minecraft/net/minecraft/src/Packet105UpdateProgressbar.java | 1802 | package net.minecraft.src;
import java.io.*;
public class Packet105UpdateProgressbar extends Packet
{
/** The id of the window that the progress bar is in. */
public int windowId;
/**
* Which of the progress bars that should be updated. (For furnaces, 0 = progress arrow, 1 = fire icon)
*/
p... | gpl-3.0 |
lordsergioinspa/FreeNOS | lib/libarch/intel/IntelMP.cpp | 3336 | /*
* Copyright (C) 2015 Niek Linnenbank
*
* 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 di... | gpl-3.0 |
uprel/gisapp | admin/logindialog/js/Ext.ux.form.LoginDialog.js | 17557 | /**
* Free and simple to use loginDialog for ExtJS 3.x
*
* @author Albert Varaksin (ExtJS 2.x)
* @author Sumit Madan (ExtJS 3.x)
* @license LGPLv3 http://www.opensource.org/licenses/lgpl-3.0.html
* @version 1.0 beta, 07/12/2008 - ExtJS 2.x
* @version 1.0, 05/03/2009 - ExtJS 3.x
* @version 1.1, 07/18/2009 - E... | gpl-3.0 |
Dennis-Z/OpenRCT2 | src/openrct2/object/ObjectManager.cpp | 22325 | #pragma region Copyright (c) 2014-2017 OpenRCT2 Developers
/*****************************************************************************
* OpenRCT2, an open source clone of Roller Coaster Tycoon 2.
*
* OpenRCT2 is the work of many authors, a full list can be found in contributors.md
* For more information, visit h... | gpl-3.0 |
DanteOnline/free-art | venv/bin/pilprint.py | 2627 | #!/home/dante/Projects/free-art/venv/bin/python3
#
# The Python Imaging Library.
# $Id$
#
# print image files to postscript printer
#
# History:
# 0.1 1996-04-20 fl Created
# 0.2 1996-10-04 fl Use draft mode when converting.
# 0.3 2003-05-06 fl Fixed a typo or two.
#
from __future__ import print_function
i... | gpl-3.0 |
obiba/magma | magma-api/src/test/java/org/obiba/magma/ValueSequenceTest.java | 2945 | /*
* Copyright (c) 2019 OBiBa. All rights reserved.
*
* This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*... | gpl-3.0 |
sio2project/oioioi | oioioi/ipdnsauth/middleware.py | 3656 | from django.contrib import auth
from django.core.exceptions import ImproperlyConfigured
from django.template.response import TemplateResponse
from oioioi.su.utils import is_under_su, reset_to_real_user
# Code based on django.contrib.auth.middleware.RemoteUserMiddleware
class IpDnsAuthMiddleware(object):
"""Middl... | gpl-3.0 |
AmosJindao/movie | database-service/src/main/java/db/bean/information_schema/InnodbFtBeingDeleted.java | 695 | package db.bean.information_schema;
/* SELECT DOC_ID AS docId FROM information_schema.INNODB_FT_BEING_DELETED */
/**
*/
public class InnodbFtBeingDeleted{
/**Column{tableCatalog='def', tableSchema='information_schema', tableName='INNODB_FT_BEING_DELETED', columnName='DOC_ID', ordinalPosition=1, columnDefault='0', isN... | gpl-3.0 |
lingcarzy/v5cart | admin/controller/module/slideshow.php | 2333 | <?php
class ControllerModuleSlideshow extends Controller {
public function index() {
$this->language->load('module/slideshow');
$this->document->setTitle(L('module_name'));
M('setting/setting');
if ($this->request->isPost() && $this->validate()) {
$this->model_setting_setting->editSetting('slideshow', $... | gpl-3.0 |
tmunzer/get-a-key | src/public/web-app/help/app.js | 868 | var gak = angular.module("gak", [
"ngRoute",
'ui.bootstrap',
'ngSanitize',
'ngMaterial',
'ngMessages'
]);
gak
.config(function ($routeProvider) {
$routeProvider
.when("/azureAD", {
module: "App",
controller: "AppCtrl"
})
... | gpl-3.0 |
auto-mat/klub | apps/repolinks/templatetags/repolinks.py | 285 | from django import template
from ..models import Repo
register = template.Library()
class ReposNode(template.Node):
def render(self, context):
context["repos"] = Repo.objects.all()
return ""
@register.tag
def load_repos(parser, token):
return ReposNode()
| gpl-3.0 |
Caple/OakMagic | src/com/ignoreourgirth/gary/oakmagic/spells/Holy.java | 2078 | /*******************************************************************************
* Copyright (c) 2012 GaryMthrfkinOak (Jesse Caple).
*
* 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 versio... | gpl-3.0 |
dcnewman/RepRapFirmware | src/Roland.cpp | 4778 | // This class allows the RepRap firmware to transmit commands to a Roland mill
// See: http://www.rolanddg.com/product/3d/3d/mdx-20_15/mdx-20_15.html
// http://altlab.org/d/content/m/pangelo/ideas/rml_command_guide_en_v100.pdf
#if SUPPORT_ROLAND
#include "RepRapFirmware.h"
Roland::Roland(Platform* p)
{
platfor... | gpl-3.0 |
ddperalta/phpFrameworks1 | system/database/DB_query_builder.php | 63554 | <?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2017, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... | gpl-3.0 |
Metabolix/PutkaRTS | src/gui/widget/Label.hpp | 1575 | #ifndef PUTKARTS_GUI_Widget_Label_HPP
#define PUTKARTS_GUI_Widget_Label_HPP
#include "Widget.hpp"
namespace GUI {
namespace Widget {
class Label;
}
}
/**
* Class for the Label widget.
*/
class GUI::Widget::Label: public Widget {
/** Text for the label. */
sf::Text label;
/** Is the label centered? */
bool... | gpl-3.0 |
KineticIsEpic/CadenciiStudio | src/Cadencii/MidiDeviceImp.cs | 1683 | #if !JAVA
/*
* MidiDeviceImp.cs
* Copyright © 2009-2011 kbinani
*
* This file is part of cadencii.
*
* cadencii is free software; you can redistribute it and/or
* modify it under the terms of the GPLv3 License.
*
* cadencii is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without... | gpl-3.0 |
SecurityFTW/cs-suite | tools/Scout2/AWSScout2/services/s3.py | 14329 | # -*- coding: utf-8 -*-
"""
S3-related classes and functions
"""
import json
from botocore.exceptions import ClientError
from opinel.utils.aws import connect_service, handle_truncated_response
from opinel.utils.console import printError, printException, printInfo
from opinel.utils.globals import manage_dictionary
fro... | gpl-3.0 |
Darkpeninsula/Darkcore-Rebase | src/server/scripts/Outland/BlackTemple/boss_warlord_najentus.cpp | 8222 | /*
* Copyright (C) 2011-2012 DarkCore <http://www.darkpeninsula.eu/>
* Copyright (C) 2011-2012 Project SkyFire <http://www.projectskyfire.org/>
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2012 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can re... | gpl-3.0 |
stream009/libadblock | src/core/file.cpp | 480 | #include "file.hpp"
#include <cassert>
#include <fstream>
#include <sstream>
namespace adblock {
File::
File(Path path)
: m_path { std::move(path) }
{
assert(!m_path.empty());
reload();
}
File::~File() = default;
void File::
reload()
{
std::ostringstream buf;
std::ifstream input { m_path.c_str... | gpl-3.0 |
LeMaker/LN_Digital_Emulator | LN_Digital_Emulator/gui.py | 24519 | from PySide import QtGui, QtCore
from PySide.QtCore import (Qt, QThread, QObject, Slot, Signal)
from PySide.QtGui import (
QMainWindow, QPushButton, QApplication, QPainter, QFont
)
from multiprocessing import Queue
from threading import Barrier
import LNcommon
import LNdigitalIO
from .LN_Digital_Emulator_ui import... | gpl-3.0 |
bencebeky/etudes | square1/shape.py | 4293 | #/usr/bin/env python3
# coding=utf8
# Generate figures for solving the Square 1 puzzle into a cube shape.
"""
Copyright 2015 Bence Béky
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... | gpl-3.0 |
Niky4000/UsefulUtils | projects/ibs/SshTest/src/main/java/ru/ibs/tomcatrestart/SshTest.java | 5448 | package ru.ibs.tomcatrestart;
import java.io.File;
import java.io.FileInputStream;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Properties;
/**
*
* @author NAnishhenko
*/
public class SshTest {
private static final String CONFIG_FILE_NAME = "properties.txt";
private static fi... | gpl-3.0 |
kleberkruger/Estagio | estagio-backend_backup/target/generated-sources/apt/br/ufms/estagio/entity/QDiscente.java | 3458 | package br.ufms.estagio.entity;
import static com.mysema.query.types.PathMetadataFactory.*;
import com.mysema.query.types.path.*;
import com.mysema.query.types.PathMetadata;
import javax.annotation.Generated;
import com.mysema.query.types.Path;
import com.mysema.query.types.path.PathInits;
/**
* QDiscente is a Qu... | gpl-3.0 |
sgdc3/AuthMeReloaded | src/main/java/fr/xephi/authme/command/executable/authme/SpawnCommand.java | 1398 | package fr.xephi.authme.command.executable.authme;
import fr.xephi.authme.ConsoleLogger;
import fr.xephi.authme.command.CommandParts;
import fr.xephi.authme.command.ExecutableCommand;
import fr.xephi.authme.settings.Spawn;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
/**
*/
public class ... | gpl-3.0 |
NurselGokce/roundtrap | plugins/help/help.php | 2568 | <?php
/**
* Help Plugin
*
* @author Aleksander 'A.L.E.C' Machniak
* @license GNU GPLv3+
*
* Configuration (see config.inc.php.dist)
*
**/
class help extends rcube_plugin
{
// all task excluding 'login' and 'logout'
public $task = '?(?!login|logout).*';
// we've got no ajax handlers
public $no... | gpl-3.0 |