repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
nielsrowinbik/seaman | src/components/Select/Menu.tsx | 522 | import React from 'react';
import styled from '../../util/styled-components';
const UnstyledMenu = ({ children, className, innerProps }) => <div {...{ children, className, ...innerProps }} />;
export const Menu = styled(UnstyledMenu)`
background-color: #ffffff;
border-radius: 3px;
box-shadow: 0 4px 8px -2px rgba(9... | gpl-3.0 |
arkatebi/CAFA-Toolset | misc/Get_taxons.py | 3524 | #!/usr/bin/env python
'''
How to run this program:
python Get_taxons.py cafa3targetlist.csv uniprot_sprot.dat.2016_06 > t.txt
The program takes takes two input files:
cafa3targetlist.csv: a file with protein names - one protein per line.
uniprot_sprot.dat.2016_06: a UniProtKB/SwissProt file
... | gpl-3.0 |
khaslu/design-pattern | design-pattern-decorator/src/main/java/br/com/khaslu/dp/tarefa3/ContasComSaldoMaiorQueQuinhentosMilReais.java | 636 | package br.com.khaslu.dp.tarefa3;
import java.util.List;
import java.util.Set;
import java.util.stream.Collectors;
public class ContasComSaldoMaiorQueQuinhentosMilReais extends Analise {
public ContasComSaldoMaiorQueQuinhentosMilReais() {
}
public ContasComSaldoMaiorQueQuinhentosMilReais(final Analise proximaAna... | gpl-3.0 |
Stormister/Rediscovered-Mod-1.6.4 | source/main/RediscoveredMod/TileEntityLectern.java | 1280 | // Copyright 2012-2014 Matthew Karcz
//
// This file is part of The Rediscovered Mod.
//
// The Rediscovered Mod 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 |
danij/IRCService.NET | IRCService.NET.Protocols.P10/P10/Parsers/G_Parser.cs | 2048 | //IRCService.NET. Generic IRC service library for .NET
//Copyright (C) 2010-2012 Dani J
//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) a... | gpl-3.0 |
JensGuckenbiehl/HAOM8-Software | src/modules/buttonmodule.cpp | 3591 | #include "buttonmodule.h"
#include "modulefactory.h"
REGISTER_MODULE("button", ButtonModule)
#include "config/all.h"
ButtonModule::ButtonModule() : _gpio(-1),
_clickCommand(""), _clickTopic(""), _clickPayload(""),
_doubleClickCommand(""), _doubleClickTopic(""), _doubleClickPayload(""),
_lo... | gpl-3.0 |
AhmedMater/AM-Tutoiral | Development/AM_Files/app/api/repository/UserRepository.js | 12110 | /**
* Created by Ahmed Mater on 10/6/2016.
*/
var DB = rootRequire('AM-Database');
var async = require('async');
var SystemParam = rootRequire('SystemParameters');
var ErrMsg = rootRequire('ErrorMessages');
var Logger = rootRequire('Logger');
var Generic = rootRequire('GenericRepository');
var Models = rootRequire(... | gpl-3.0 |
09zwcbupt/undergrad_thesis | ext/poxdesk/qx/framework/source/class/qx/test/mobile/form/NumberField.js | 2725 | /* ************************************************************************
qooxdoo - the new era of web development
http://qooxdoo.org
Copyright:
2012 1&1 Internet AG, Germany, http://www.1und1.de
License:
LGPL: http://www.gnu.org/licenses/lgpl.html
EPL: http://www.eclipse.org/org/docume... | gpl-3.0 |
FzPying/wordthink | assets/js/weather.js | 12114 | (function($) {
$.fn.leoweather = function(opts) {
var defaults = {
city: '',
format: '\u5c0a\u656c\u7684\u4f1a\u5458\uff0c\u007b\u65f6\u6bb5\u007d\u597d\uff01\u0020\u73b0\u5728\u662f\uff1a\u007b\u5e74\u007d\u002f\u007b\u6708\u007d\u002f\u007b\u65e5\u007d\u0020\u007b\u65f6\u007d\u003a... | gpl-3.0 |
dzonekl/oss2nms | plugins/com.netxforge.oss2.config.model/src/com/netxforge/oss2/config/reporting/jasperReports/descriptors/ReportDescriptor.java | 9496 | /*
* This class was automatically generated with
* <a href="http://www.castor.org">Castor 1.1.2.1</a>, using an XML
* Schema.
* $Id$
*/
package com.netxforge.oss2.config.reporting.jasperReports.descriptors;
//---------------------------------/
//- Imported classes and packages -/
//--------------------------... | gpl-3.0 |
Laterus/Darkstar-Linux-Fork | src/map/fishingutils.cpp | 19081 | /*
===========================================================================
Copyright (c) 2010-2012 Darkstar Dev Teams
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 versi... | gpl-3.0 |
pumanzor/mediatek | linkitsmart7688/stepper/test_motor.py | 357 | import mraa
#pin = mraa.Pwm(18)
pin19 = mraa.Pwm(19)
pin1 = mraa.Gpio(1)
pin1.dir(mraa.DIR_OUT)
pin0 = mraa.Gpio(0)
pin0.dir(mraa.DIR_OUT)
number = 0
while True:
pin0.write(0)
pin1 = mraa.Gpio(1)
pin1.dir(mraa.DIR_OUT)
pin1.write(1)
pin19.period_us(400)
pin19.enable(True)
pin19.write(0.5)
number += ... | gpl-3.0 |
pstavirs/ostinato | common/mld.cpp | 18120 | /*
Copyright (C) 2010 Srivats P.
This file is part of "Ostinato"
This is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is dist... | gpl-3.0 |
minagerges/MODX-GoogleAuthenticatorX | _build/GoogleAuthenticatorX/setup.options.php | 1869 | <?php
/*
* GoogleAuthenticatorX
*
* Copyright 2014 by Mina Gerges <mina@minagerges.com>
*
* GoogleAuthenticatorX is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the Li... | gpl-3.0 |
ourcities/rebu-client | packages/bonde-admin/src/mobrender/widgets/adjustments/component.js | 4615 | /**
* AdjustmentsForm
*
* Um componente para para submeter formulários de ajustes de widgets.
*/
import React from 'react'
import { intlShape, FormattedMessage } from 'react-intl'
import PropTypes from 'prop-types'
import {
FormGroup,
ControlLabel,
FormControl,
ColorPicker,
HelpBlock
} from '@/components/... | gpl-3.0 |
cheshirekow/codebase | src/tabwm/util.cc | 8594 | #include "util.h"
#include <algorithm>
#include <map>
#include <sstream>
#include <vector>
// Joins a container of elements into a single string, assuming each element
// in the container has a stream operator defined.
template <typename Container>
std::string Join(const Container& container, const std::string& delimi... | gpl-3.0 |
VVLJyotsna/PipelineEmbolization | dataprocessing.py | 2649 | import csv, json
import numpy as np
from collections import Counter
from sklearn import svm
def readdata (): #calls the csv file into python
csvfile = open('DrColby_data.csv',"rU")
dmd = csv.reader(csvfile, delimiter = ",")
dmd.next()
header = list(dmd)
csvfile.close()
dmd_data = []
for row... | gpl-3.0 |
LeoTremblay/activityinfo | server/src/main/java/org/activityinfo/legacy/shared/adapter/projection/PartnerProjectionUpdater.java | 1810 | package org.activityinfo.legacy.shared.adapter.projection;
/*
* #%L
* ActivityInfo Server
* %%
* Copyright (C) 2009 - 2013 UNICEF
* %%
* 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 |
diego-nz/socialNetWorkv5 | core/model/Company.php | 3993 | <?php
include ("Connection.php");
class Company extends Connection{
public function companySignUp($nameCompany,$giro,$rfc){
//VIFG2335636V4
$objRFC = new Company();
if($objRFC->validaRFC($rfc)){
$query2 = "SELECT * FROM empresa WHERE nombre = '".$nameCompany."'";
... | gpl-3.0 |
lotaris/rox-center | spec/factories/user.rb | 1316 | # Copyright (c) 2012-2014 Lotaris SA
#
# This file is part of ROX Center.
#
# ROX Center is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version... | gpl-3.0 |
lukegjpotter/BikeRacingIreland-AndroidApp | app/src/main/java/com/lukegjpotter/bikeracingireland/repository/retrofit/BikeRaceRetrofitClient.java | 617 | package com.lukegjpotter.bikeracingireland.repository.retrofit;
import com.lukegjpotter.bikeracingireland.model.entity.BikeRaceWithStageDetails;
import java.util.List;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
/**
* The Client for Retrofit.
* <p>
* This will define the calls t... | gpl-3.0 |
asoplata/dynasim-benchmark-brette-2007 | Brian2/brian2_benchmark_CUBA_nosyn_0001.py | 1997 | """
# Notes:
- This simulation seeks to emulate the CUBA benchmark simulations of (Brette
et al. 2007) using the Brian2 simulator for speed benchmark comparison to
DynaSim. However, this simulation does NOT include synapses, for better
comparison to Figure 5 of (Goodman and Brette, 2008).
- The time taken to si... | gpl-3.0 |
fetux/multimediamanager | app/src/main/java/com/fetu/multimedia/FileAdapter.java | 2726 | package com.fetu.multimedia;
import android.app.Activity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import com.fetu.manager.Album;
import com.fetu.manager.File;
import... | gpl-3.0 |
yuqirong/BlogBackup | uploads/20160826/CrashHandler.java | 4411 | package com.example.crash;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.lang.Thread.UncaughtExceptionHandler;
import java.text.SimpleDateFormat;
import java.util.Date;
import android.content.Context;
impo... | gpl-3.0 |
ymirsky/pcStream | pcStream/Android/accelerometerPcStream/gen/com/example/accelerometerPcStream/R.java | 189 | /*___Generated_by_IDEA___*/
package com.example.accelerometerPcStream;
/* This stub is only used by the IDE. It is NOT the R class actually packed into the APK */
public final class R {
} | gpl-3.0 |
f-arruza/PaymentService | paymentservice/urls.py | 222 | from django.conf.urls import url, include
from django.contrib import admin
urlpatterns = [
url(r'^', include('payment.urls')),
# url(r'^payment/', include('payment.urls')),
url(r'^admin/', admin.site.urls),
]
| gpl-3.0 |
nickapos/myCrop | src/gr/oncrete/nick/myCrop/BusinessLogic/InsertFertRecipy.java | 3962 | /*
myCrop, crop managment program
Copyright (C) 2010 Nick Apostolakis
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)... | gpl-3.0 |
haskelladdict/sconcho | sconcho/gui/export_bitmap_dialog.py | 15506 | # -*- coding: utf-8 -*-
########################################################################
#
# (c) 2009-2013 Markus Dittrich
#
# 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.
#
#... | gpl-3.0 |
tawazz/crm | app/views/parts/css.php | 514 | <!-- Bootstrap Core CSS -->
<link href="{{ assets('css/bootstrap.min.css')}}" rel="stylesheet">
<link href="{{ assets('css/bootstrap-material-design.min.css')}}" rel="stylesheet">
<link href="{{ assets('css/ripples.min.css')}}" rel="stylesheet">
<link href="{{ assets('font-awesome/css/font-awesome.min.css')}}" rel="sty... | gpl-3.0 |
PnEcrins/GeoNature-atlas | atlas/modeles/entities/vmObservations.py | 1430 | # coding: utf-8
from geoalchemy2.types import Geometry
from sqlalchemy import (
Column,
Date,
Integer,
MetaData,
String,
Table,
Text,
)
from sqlalchemy.ext.declarative import declarative_base
from atlas.utils import engine
metadata = MetaData()
Base = declarative_base()
class VmObservati... | gpl-3.0 |
spncrlkt/gillard | gillard/invalid_usage.py | 437 | from flask import jsonify
class InvalidUsage(Exception):
status_code = 400
def __init__(self, message, status_code=None, payload=None):
Exception.__init__(self)
self.message = message
if status_code is not None:
self.status_code = status_code
self.payload = payload
... | gpl-3.0 |
osadchyi-s/pdf-forms | App/Facades/MetaBoxesFacade.php | 2893 | <?php
namespace PdfFormsLoader\Facades;
use PdfFormsLoader\Core\Views;
class MetaBoxesFacade
{
protected $slug;
protected $fields;
protected $fieldsName = [];
protected $title;
protected $postType;
protected $context;
protected $priority;
protected $args;
public function __constru... | gpl-3.0 |
lyrachord/FX3DAndroid | src/main/java/org/fxyz/shapes/primitives/CuboidMesh.java | 14855 | /*
* Copyright (C) 2013-2015 F(X)yz,
* Sean Phillips, Jason Pollastrini and Jose Pereda
* All rights reserved.
*
* 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 Li... | gpl-3.0 |
CWHISME/CryStoryEditor | CryStoryEditor/Assets/CryStoryEditor/System/Runtime/Attributes/ValueFuncAttribute.cs | 400 | /**********************************************************
*Author: wangjiaying
*Date: 2016.7.20
*Func:
**********************************************************/
namespace CryStory.Runtime
{
public class ValueFuncAttribute : System.Attribute
{
public VarType _varType;
public ValueFuncAttr... | gpl-3.0 |
chunter1/precipitationSensorESP32 | StateManager.cpp | 3661 | #include "StateManager.h"
#include "WiFi.h"
StateManager::StateManager() {
m_roolOverIsPossible = false;
m_uptimeDays = 0;
}
void StateManager::Begin(String version, String identity) {
m_version = version;
m_identity = identity;
}
void StateManager::SetLoopStart() {
m_loopStartTime = micros();
}
void Stat... | gpl-3.0 |
dineshkummarc/KChange | Docs/html/search/functions_6d.js | 1977 | var searchData=
[
['main',['Main',['../class_k_change_logger_1_1_program.html#abf4d299b9a86819ede3d42a52fbb8b80',1,'KChangeLogger::Program']]],
['mainform',['MainForm',['../class_k_change_logger_1_1_main_form.html#ae03a0c6d5e6d196049bbe80a4683851f',1,'KChangeLogger::MainForm']]],
['mainformprojects',['MainFormPro... | gpl-3.0 |
ZeroOne71/ql | 02_ECCentral/03_Service/BizEntity/PO/Vendor/VendorModifyRequestInfo.cs | 4674 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
namespace ECCentral.BizEntity.PO
{
/// <summary>
/// 供应商修改请求信息
/// </summary>
[Serializable]
[DataContract]
public class VendorModifyRequestInfo
{
/// <summar... | gpl-3.0 |
Foo-Manroot/CAL | src/networking/NetUtils.java | 2460 | /*
* CAL.
* A P2P chat program that lets you communicate without any infrastructure.
*
* Copyright (C) 2015 Foo-Manroot
*
* 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 versi... | gpl-3.0 |
pichalite/NodeBB | public/src/modules/notifications.js | 5131 | 'use strict';
define('notifications', ['sounds', 'translator', 'components', 'navigator', 'benchpress'], function (sounds, translator, components, navigator, Benchpress) {
var Notifications = {};
var unreadNotifs = {};
Notifications.prepareDOM = function () {
var notifContainer = components.get('notifications'... | gpl-3.0 |
RadioCanut/site-radiocanut | ecrire/lang/public_ja.php | 4180 | <?php
// This is a SPIP language file -- Ceci est un fichier langue de SPIP
// extrait automatiquement de https://trad.spip.net/tradlang_module/public?lang_cible=ja
// ** ne pas modifier le fichier **
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
$GLOBALS[$GLOBALS['idx_lang']] = array(
// A
'accueil_site' =>... | gpl-3.0 |
NeuroStat/Python-scripts | python_scripts_day1/unique_labels.py | 19 | np.unique(labels)
| gpl-3.0 |
felixsch/trollolo | lib/version.rb | 42 | module Trollolo
VERSION = "0.0.7"
end
| gpl-3.0 |
Bundeswahlrechner/Bundeswahlrechner | mandatsverteilung/src/test/java/edu/kit/iti/formal/mandatsverteilung/wahlberechnung/Bundeswahlgesetz2013ZuteilungsverfahrenTest.java | 2389 | package edu.kit.iti.formal.mandatsverteilung.wahlberechnung;
import static org.junit.Assert.assertTrue;
import java.util.Arrays;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import org.junit.runner.RunWith;
import org.junit.r... | gpl-3.0 |
ff36/jnoc | src/main/java/co/ff36/jnoc/service/ticket/EditTicket.java | 4801 | /**
* Copyright (C) 2015 555 inc ltd.
*
* 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 ... | gpl-3.0 |
mathhobbit/EditCalculateAndChart | src/org/ioblako/edit/Redo_Action.java | 2482 | /*
* Copyright (C) 2019 Sergey Nikitin
*
* 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 |
Co0sh/BetonQuest | src/main/java/org/betonquest/betonquest/variables/PlayerNameVariable.java | 865 | package org.betonquest.betonquest.variables;
import org.betonquest.betonquest.Instruction;
import org.betonquest.betonquest.api.Variable;
import org.betonquest.betonquest.utils.PlayerConverter;
import org.bukkit.entity.Player;
/**
* This variable resolves into the player's name. It can has optional "display"
* argu... | gpl-3.0 |
cachapa/AerialDream | app/src/main/java/com/codingbuffalo/aerialdream/VideoProgressBar.java | 1254 | package com.codingbuffalo.aerialdream;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.util.AttributeSet;
import android.view.View;
import android.widget.MediaController;
public class VideoProgressBar extends View {
private static final int COLOR = 0x... | gpl-3.0 |
cea-sec/ivre | ivre/tools/flowcli.py | 16049 | #! /usr/bin/env python
# This file is part of IVRE.
# Copyright 2011 - 2021 Pierre LALET <pierre@droids-corp.org>
#
# IVRE 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 |
printempw/blessing-skin-server | resources/views/setup/updates/master.blade.php | 651 | <!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex,nofollow" />
<title>{{ trans('setup.updates.master.title') }}</title>
<link rel="shortcut icon" ... | gpl-3.0 |
MIT-Niceti/core-war-web | cpp/virtualMachine/Corewar-VM.cpp | 753 | // Corewar-VM.cpp�: d�finit le point d'entr�e pour l'application console.
//
#include "stdafx.h"
#include "Arena.h"
std::string startMachine(std::vector<std::string> &champions)
{
Arena *arena = new Arena();
std::vector<std::string> championss;
/* std::cout << "BEGIN LOAD" << std::endl;
championss.push_back("C:\\... | gpl-3.0 |
bnetcc/darkstar | scripts/globals/spells/diaga_iv.lua | 2163 | -----------------------------------------
-- Spell: Diaga IV
-- Lowers an enemy's defense and gradually deals light elemental damage.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/globals/msg");
------... | gpl-3.0 |
license-wp/license-wp | src/File.php | 599 | <?php
namespace Never5\LicenseWP;
class File {
/** @var String */
private $file;
public function __construct( $file ) {
$this->file = $file;
}
/**
* Return plugin file
*
* @return String
*/
public function plugin_file() {
return $this->file;
}
/**
* Return plugin path
*
* @return string
... | gpl-3.0 |
TeamDeltaQuadrant/fine-uploader | lib/grunt/tasks/tests.js | 1215 | /* jshint node: true */
var spawn = require("child_process").spawn;
module.exports = function(grunt) {
"use strict";
grunt.registerMultiTask("tests", "** Use ` grunt-test` instead **", function() {
return startKarma.call(this, this.data, this.async());
});
function startKarma(config, done) {
... | gpl-3.0 |
Foorgol/QTournament | Court.cpp | 3577 | /*
* This is QTournament, a badminton tournament management program.
* Copyright (C) 2014 - 2019 Volker Knollmann
*
* 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 v... | gpl-3.0 |
Staartvin/Statz | src/me/staartvin/statz/listeners/BlocksBrokenListener.java | 1493 | package me.staartvin.statz.listeners;
import me.staartvin.statz.Statz;
import me.staartvin.statz.datamanager.player.PlayerStat;
import me.staartvin.statz.datamanager.player.specification.BlocksBrokenSpecification;
import me.staartvin.statz.datamanager.player.specification.PlayerStatSpecification;
import org.bukkit.blo... | gpl-3.0 |
Ed-von-Schleck/dml | src/main.py | 2134 | # -*- coding: utf-8
from __future__ import print_function
from __future__ import unicode_literals
import sys
import os, os.path
from collections import namedtuple
from tempfile import NamedTemporaryFile
import io
from src.dmlexceptions import DMLError
from src.broadcast import broadcast
from src.lex import DmlLex
fro... | gpl-3.0 |
pizza2004/OpenRCT2 | src/openrct2-ui/windows/ShortcutKeys.cpp | 16781 | /*****************************************************************************
* Copyright (c) 2014-2020 OpenRCT2 developers
*
* For a complete list of all authors, please refer to contributors.md
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
*
* OpenRCT2 is licensed under the GNU Gener... | gpl-3.0 |
alibell/PAS | admin/evaluations/index.php | 2546 | <?php
/**
Copyright (C) 2015 Ali BELLAMINE
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed i... | gpl-3.0 |
ggonzales/ksl | src/com/liferay/portlet/polls/action/ActionUtil.java | 2751 | /**
* Copyright (c) 2000-2005 Liferay, LLC. All rights reserved.
*
* 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,... | gpl-3.0 |
HuygensING/elaborate4-backend | elab4-backend/src/main/java/elaborate/editor/export/tei/AnnotationBodyConverter.java | 4359 | package elaborate.editor.export.tei;
/*
* #%L
* elab4-backend
* =======
* Copyright (C) 2011 - 2019 Huygens ING
* =======
* 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 |
jabber-at/hp | hp/core/static/lib/tinymce/src/plugins/autosave/test/ts/browser/AutoSavePluginTest.ts | 4028 | import { Pipeline } from '@ephox/agar';
import { LegacyUnit, TinyLoader } from '@ephox/mcagar';
import Plugin from 'tinymce/plugins/autosave/Plugin';
import Theme from 'tinymce/themes/modern/Theme';
import { UnitTest } from '@ephox/bedrock';
UnitTest.asynctest('browser.tinymce.plugins.autosave.AutoSavePluginTest', fun... | gpl-3.0 |
cathyyul/sumo-0.18 | docs/doxygen/d8/db4/class_n_i_vissim_edge_1_1connection__position__sorter.js | 470 | var class_n_i_vissim_edge_1_1connection__position__sorter =
[
[ "connection_position_sorter", "d8/db4/class_n_i_vissim_edge_1_1connection__position__sorter.html#a89b6a8bb39213e5a7165034ec2c43a33", null ],
[ "operator()", "d8/db4/class_n_i_vissim_edge_1_1connection__position__sorter.html#a7d2b41c412b6cba4057f7f0... | gpl-3.0 |
karv/Art-of-Meow | Test/MapReadingTest.cs | 402 | using System;
using NUnit.Framework;
namespace Test
{
[TestFixtureAttribute]
public class MapReadingTest
{
[Test]
public void ReadMaps ()
{
var files = System.IO.Directory.EnumerateFiles (AoM.FileNames.MapFolder, "*.json");
foreach (var file in files) {
Console.WriteLine ("Testing " + file);
va... | gpl-3.0 |
Gentleman1983/haVoxTimes | haVox_times_model_impl/src/test/java/net/havox/times/model/impl/booking/AccountApiTest.java | 1742 | /*
* Copyright (C) 2018 [haVox] Design
*
* 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 progra... | gpl-3.0 |
ZabuzaW/NashFinder | src/de/tischner/nashfinder/nash/NashStrategy.java | 3218 | package de.tischner.nashfinder.nash;
import java.util.LinkedHashMap;
import java.util.Map;
import de.tischner.nashfinder.locale.ErrorMessages;
/**
* A nash strategy specifies, for a player, which actions he should play with
* what probability, so that it results in a nash equilibrium.
*
* @author Dan... | gpl-3.0 |
raymondbh/TFCraft | src/Common/com/bioxx/tfc/CommonProxy.java | 27750 | package com.bioxx.tfc;
import java.io.File;
import com.bioxx.tfc.Tools.ChiselMode_Detailed;
import com.bioxx.tfc.Tools.ChiselMode_Slab;
import com.bioxx.tfc.Tools.ChiselMode_Smooth;
import com.bioxx.tfc.Tools.ChiselMode_Stair;
import com.bioxx.tfc.api.Tools.ChiselManager;
import net.minecraft.entity.player.E... | gpl-3.0 |
SufferMyJoy/dobsondev-theme | dobsondev-theme/search.php | 902 | <?php
/**
* The template for displaying search results.
*
* @package DobsonDev Theme
* @author Alex Dobson - http://dobsondev.com/
*/
get_header();
do_action('dobsondev_before_content');
?>
<div class="entry-content">
<h1> <?php _e( 'Search Results for "' . get_search_query() . '"' ); ?> </h1>
<?php... | gpl-3.0 |
snlpatel001213/algorithmia | bayesian/HiddenMarkovModel/baumWelch.py | 18315 | #!/usr/bin/env python
"""
CS 65 Lab #3 -- 5 Oct 2008
Dougal Sutherland
Implements a hidden Markov model, based on Jurafsky + Martin's presentation,
which is in turn based off work by Jason Eisner. We test our program with
data from Eisner's spreadsheets.
"""
identity = lambda x: x
class HiddenMarkovModel(object):
... | gpl-3.0 |
arielmachini/Colibri | Biblioteca maestra/Implementación/Aplicación Web/colibri/app/rol.eliminar.procesar.php | 2989 | <!DOCTYPE html>
<?php
include_once '../lib/ControlAcceso.Class.php';
ControlAcceso::requierePermiso(PermisosSistema::PERMISO_ROLES);
include_once '../modelo/BDConexion.Class.php';
$DatosFormulario = $_POST;
BDConexion::getInstancia()->autocommit(false);
BDConexion::getInstancia()->begin_transaction();
$query = "DE... | gpl-3.0 |
sx02exp21/midicsv-cmake | master/test/src/crc32_func.cpp | 167 | int GetCrc32(const string& my_string) {
boost::crc_32_type result;
result.process_bytes(my_string.data(), my_string.length());
return result.checksum();
}
| gpl-3.0 |
peterpilgrim/javaee7-developer-handbook | ch02/standalone-owb/src/main/java/je7hb/standalone/alternatives/XenoniqueFoodProcessor.java | 1182 | /*******************************************************************************
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2013,2014 by Peter Pilgrim, Addiscombe, Surrey, XeNoNiQUe UK
*
* All rights reserved. This program and the accompanying materials
* are made available under... | gpl-3.0 |
tessak22/Incredible-Code-Test | wp-content/themes/strappress/sidebar-contact.php | 797 | <?php
/**
* Main Widget Template
*
*
* @file sidebar.php
* @package StrapPress
* @author Brad Williams
* @copyright 2010 - 2015 Brag Interactive
* @license license.txt
* @version Release: 3.3.6
* @link http://codex.wordpress.org/Theme_Development#Widgets... | gpl-3.0 |
Emergen/zivios-panel | application/library/Zend/Validate/Exception.php | 1102 | <?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 a... | gpl-3.0 |
wereallfeds/webshag | webshag/gui/gui_widgets.py | 4927 | # -*- coding: utf-8 -*-
## ################################################################# ##
## (C) SCRT - Information Security, 2007 - 2008 // author: ~SaD~ ##
## ################################################################# ##
## This program is free software: you can redistribute it and/or ##
## modif... | gpl-3.0 |
hcasse/maat | maat/config.py | 7891 | # MAAT top-level script
# Copyright (C) 2016 H. Casse <hugues.casse@laposte.net>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any late... | gpl-3.0 |
DovidM/eyeStorm-nodeJS | server/src/test/issues/mutations/updateIssueTest.php | 4107 | <?php
require_once(__DIR__ . '/../../../../vendor/autoload.php');
require_once(__DIR__ . '/../helpers.php');
class UpdateIssueTest extends IssueTestHelper {
/**
* Sends graphql query
*
* @param $variableTypes - graphql variables with type. Example: ['$num: => 'ID', '$limit': 'Int']
* @param $... | gpl-3.0 |
michaelerule/neurotools | jobs/__init__.py | 300 | #!/usr/bin/python
# -*- coding: UTF-8 -*-
from __future__ import absolute_import
from __future__ import with_statement
from __future__ import division
from __future__ import nested_scopes
from __future__ import generators
from __future__ import unicode_literals
from __future__ import print_function
| gpl-3.0 |
Logicworks/puppet-foreman | spec/acceptance/foreman_remote_file_spec.rb | 406 | require 'spec_helper_acceptance'
describe 'remote_file works' do
let(:pp) do
<<-EOS
foreman::remote_file {"/var/tmp/test":
remote_location => "https://codeload.github.com/theforeman/puppet-foreman/tar.gz/9.0.0",
}
EOS
end
it_behaves_like 'a idempotent resource'
describe file('/var/tmp/... | gpl-3.0 |
Dangetsu/vnr | Frameworks/Sakura/py/apps/reader/managers/jsonapi.py | 5201 | # coding: utf8
# jsonman.py
# 8/10/2013 jichi
import json, re
from datetime import datetime
from operator import attrgetter
from sakurakit.skdebug import dprint, dwarn
import dataman
KEYS = (
'itemId',
'timestamp',
'local',
'visitCount', 'commentCount', 'playUserCount', 'subtitleCount',
'title0',
'romaji... | gpl-3.0 |
lecousin/net.lecousin.framework-0.1 | net.lecousin.framework.media/src/net/lecousin/framework/media/ui/MediaPlayerWindow.java | 1078 | package net.lecousin.framework.media.ui;
import org.eclipse.jface.window.ApplicationWindow;
import org.eclipse.swt.graphics.Rectangle;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Shell;
public class MediaPlayerWindow extends ApplicationWindow {
pu... | gpl-3.0 |
holdam/washingmachine-booking | WashingmachineBackend/src/test/java/UserDAOTest.java | 3286 | import core.RoleHelper;
import api.UserDTO;
import db.BookingDAO;
import db.UserDAO;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.skife.jdbi.v2.DBI;
import org.skife.jdbi.v2.exceptions.UnableToExecuteStatementException;
import static org.junit.Assert.assertEquals;
import static or... | gpl-3.0 |
binary42/FuzzyFlockingSimulator | src/com/fuzzy/simulator/CAnimat.java | 8141 | /**
* Again, heavily drawn from Lalena's sim. Contains constructor and general
* movement method for sim. The fuzzy alg. is in CFlock Move
*/
package com.fuzzy.simulator;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Point;
import java.util.Vector;
import com.fuzzy.con... | gpl-3.0 |
MariFormiga/sisreagent | Fornecedores/models.py | 546 | from django.db import models
from django.utils import timezone
class Fornecedores (models.Model):
Nome_Fantasia = models.CharField(max_length=200)
CNPJ = models.CharField(max_length=200)
Endereço = models.CharField(max_length=200)
Entrega = models.CharField(max_length=200)
Atraso = models.CharFiel... | gpl-3.0 |
abmindiarepomanager/ABMOpenMainet | Mainet1.1/MainetServiceParent/MainetServiceCommon/src/main/java/com/abm/mainet/common/master/service/TbCfcApplicationMstService.java | 1449 | /*
* Created on 19 Aug 2015 ( Time 17:12:00 )
* Generated by Telosys Tools Generator ( version 2.1.1 )
*/
package com.abm.mainet.common.master.service;
import java.util.List;
import com.abm.mainet.common.master.dto.TbCfcApplicationMst;
/**
* Business Service Interface for entity TbCfcApplicationMst.
*/
public i... | gpl-3.0 |
Aeronavics/MissionPlanner | GCSViews/FlightPlanner.Designer.cs | 92068 | using MissionPlanner.Controls;
namespace MissionPlanner.GCSViews
{
partial class FlightPlanner
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up an... | gpl-3.0 |
tgerring/go-ethereum | core/block_cache_test.go | 2003 | // Copyright 2015 The go-ethereum Authors
// This file is part of go-ethereum.
//
// go-ethereum 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)... | gpl-3.0 |
sknepneklab/SAMoS | src/constraints/constraint_tetrahedron.cpp | 3579 | /* ***************************************************************************
*
* Copyright (C) 2013-2016 University of Dundee
* All rights reserved.
*
* This file is part of SAMoS (Soft Active Matter on Surfaces) program.
*
* SAMoS is free software; you can redistribute it and/or modify
* it under the t... | gpl-3.0 |
Flozi95/AlarmWorkflow | BackendServices/AlarmWorkflow.BackendService.AddressingContracts/EntryObjects/LoopEntryObject.cs | 1397 | // This file is part of AlarmWorkflow.
//
// AlarmWorkflow 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.
//
// AlarmWorkflow is... | gpl-3.0 |
jcntux/Dolibarr | htdocs/public/members/public_list.php | 5519 | <?php
/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2002-2003 Jean-Louis Bergamo <jlb@j1b.org>
* Copyright (C) 2004-2009 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2012 Regis Houssin <regis.houssin@capnetworks.com>
*
* This program is free sof... | gpl-3.0 |
Tomtombinary/RPiHackFM | gen/com/example/rpihackfm/BuildConfig.java | 163 | /** Automatically generated file. DO NOT MODIFY */
package com.example.rpihackfm;
public final class BuildConfig {
public final static boolean DEBUG = true;
} | gpl-3.0 |
uplusware/erisemail | antispam/antispam.cpp | 3363 | /*
Copyright (c) openheap, uplusware
uplusware@gmail.com
*/
#include <stdio.h>
#include "antispam.h"
/*
Brief:
Initiate the mfilter, invoked by MTA in a new session beginning
Parameter:
Parameter string for this filter
Return:
Return a filter's handler
*/
void* mfilter_init(const char* param)
{
////////////////... | gpl-3.0 |
UtrechtUniversity/yoda-ansible | library/yoda_addgroupuser.py | 2328 | #!/usr/bin/python
# Copyright (c) 2017-2018 Utrecht University
# GNU General Public License v3.0
ANSIBLE_METADATA = {
'metadata_version': '1.1',
'supported_by': 'community',
'status': ['preview']
}
from ansible.module_utils.basic import *
IRODSCLIENT_AVAILABLE = False
try:
import textwrap
from i... | gpl-3.0 |
runpaint/eye | spec/eye/new_spec.rb | 933 | describe "Eye.new" do
it "initialises without arguments" do
lambda{eye = Eye.new}.should_not raise_error
end
it "creates an instance of Eye" do
eye = Eye.new
eye.class.should == Eye
eye.should.is_a?(Eye)
end
it "accepts a ':type => :symbol' argument" do
lambda{Eye.new(:type => :hash... | gpl-3.0 |
puhnastik/robot-plugin | src/main/scala/amailp/intellij/robot/structureView/RobotTreeBasedStructureViewBuilder.scala | 683 | package amailp.intellij.robot.structureView
import amailp.intellij.robot.psi.RobotPsiFile
import com.intellij.ide.structureView.{StructureViewTreeElement, StructureViewModel, TreeBasedStructureViewBuilder}
import com.intellij.openapi.editor.Editor
import amailp.intellij.robot.psi
class RobotTreeBasedStructureViewBuil... | gpl-3.0 |
Karlosjp/Clase-DAM | Luis Braille/1 DAM/Programacion - Entornos/2 Trimestre/practicaprogramacion/src/herencia/ejercicio02/Publicacion.java | 608 | package herencia.ejercicio02;
public abstract class Publicacion {
protected String strIsbn, strTitulo;
protected int intAnhoPublicacion;
public Publicacion() {
this.strIsbn = "";
this.strTitulo = "";
this.intAnhoPublicacion = 1970;
}
public Publicacion(String strIsbn, String strTitulo, int intAnhoPublic... | gpl-3.0 |
EuphoriaDev/Euphoria-VK-Client | app/src/main/java/ru/euphoriadev/vk/adapter/NoteAdapter.java | 2682 | package ru.euphoriadev.vk.adapter;
import android.content.Context;
import android.support.v7.widget.CardView;
import android.text.Html;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
import ja... | gpl-3.0 |
Elexorien/technoMelonfirma | src/main/java/technofirma/items/ItemWoodenOilBucket.java | 2310 | package technofirma.items;
import buildcraft.BuildCraftEnergy;
import buildcraft.energy.ItemBucketBuildcraft;
import com.bioxx.tfc.Items.ItemTerra;
import com.bioxx.tfc.api.Enums.EnumItemReach;
import com.bioxx.tfc.api.Enums.EnumSize;
import com.bioxx.tfc.api.Enums.EnumWeight;
import com.bioxx.tfc.api.Interfac... | gpl-3.0 |
javastraat/arduino | libraries/Menu/Menu.cpp | 2525 | /*
||
|| @file Menu.cpp
|| @version 1.0
|| @author Alexander Brevig
|| @contact alexanderbrevig@gmail.com
||
|| @description
|| | Provide an easy way of making menus
|| #
||
|| @license
|| | This library is free software; you can redistribute it and/or
|| | modify it under the terms of the GNU Lesser Gener... | gpl-3.0 |
IET-OU/nquire-web-source | app/src/main/java/org/greengin/nquireit/entities/users/RoleType.java | 575 | package org.greengin.nquireit.entities.users;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
public enum RoleType {
NONE,
LOGGED_IN,
ADMIN,
MEMBER;
@JsonValue
public String getValue() { return this.name().toLowerCase(); }
@JsonCreator
... | gpl-3.0 |
Inorizushi/DDR-SN1HD | Scripts/01 ThemeInfo.lua | 158 | -- theme identification:
themeInfo = {
ProductCode = "DDR SuperNOVA 3",
Name = "DDR SN3",
Version = "beta 0",
Date = "2016????",
Author = "MidflightDigital"
} | gpl-3.0 |