repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
miyachi-yu/Mellin | polFrag/Evolution.cc | 1402 | #include "Evolution.hh"
#include "P.hh"
#include <iostream>
#include <QCD/PdfParametrization.hh>
#include <QCD/ConfigFFbase.hh>
using namespace std;
using namespace Utility;
using namespace QCD;
using namespace Evolution;
using namespace polFrag;
Evo::Evo( Arguments& args,
const Flavor::HADRON& hadron ) throw( i... | gpl-3.0 |
gottcode/peg-e | src/hole.cpp | 964 | /*
SPDX-FileCopyrightText: 2009-2013 Graeme Gott <graeme@gottcode.org>
SPDX-License-Identifier: GPL-3.0-or-later
*/
#include "hole.h"
#include <QBrush>
#include <QPen>
#include <QRadialGradient>
//-----------------------------------------------------------------------------
Hole::Hole(const QPoint& position, QGr... | gpl-3.0 |
georgetye/openemr | portal/patient/fwk/libs/verysimple/Phreeze/TwigRenderEngine.php | 1903 | <?php
/** @package verysimple::Phreeze */
/**
* import supporting libraries
*/
require_once ("verysimple/Phreeze/IRenderEngine.php");
require_once 'Twig/Autoloader.php';
Twig_Autoloader::register ();
/**
* TwigRenderEngine is an implementation of IRenderEngine that uses
* the Twig template engine to render vie... | gpl-3.0 |
DomainDrivenConsulting/dogen | projects/masd.dogen.generation.cpp/include/masd.dogen.generation.cpp/types/formatters/serialization/primitive_implementation_formatter.hpp | 2371 | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* Copyright (C) 2012-2015 Marco Craveiro <marco.craveiro@gmail.com>
*
* 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 Fou... | gpl-3.0 |
psci2195/espresso-ffans | src/script_interface/constraints/fields.hpp | 6017 | /*
* Copyright (C) 2010-2019 The ESPResSo project
*
* This file is part of ESPResSo.
*
* ESPResSo is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) ... | gpl-3.0 |
Azareal/Gosora | routes/account.go | 33125 | package routes
import (
"crypto/sha256"
"crypto/subtle"
"database/sql"
"encoding/hex"
"html"
"log"
"math"
"net/http"
"strconv"
"strings"
c "github.com/Azareal/Gosora/common"
p "github.com/Azareal/Gosora/common/phrases"
qgen "github.com/Azareal/Gosora/query_gen"
)
// A blank list to fill out that paramet... | gpl-3.0 |
kevL/0xC_kL | src/Basescape/CraftEquipmentState.cpp | 20783 | /*
* Copyright 2010-2020 OpenXcom Developers.
*
* This file is part of OpenXcom.
*
* OpenXcom 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 |
QuantumTechDevStudio/RUDNEVGAUSS | archive/solver/DifferentialEvolutionAbstract.py | 1558 | import numpy
class DifferentialEvolutionAbstract:
amount_of_individuals = None
f = None
p = None
end_method = None
def __init__(self, min_element=-1, max_element=1):
self.min_element = min_element
self.max_element = max_element
self.f = 0.5
self.p = 0.9
se... | gpl-3.0 |
newa0/boamp-api-quickStart | src/main/gen/fr/gouv/api/Boamp_v230/EnumAvisImplique.java | 3154 | //
// Ce fichier a été généré par l'implémentation de référence JavaTM Architecture for XML Binding (JAXB), v2.2.11
// Voir <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Toute modification apportée à ce fichier sera perdue lors de la recompilation du schéma source.
// Généré le : 2017.09... | gpl-3.0 |
rakuten/Uinty3D-Docs-zhcn | ScriptReference/ProceduralMaterial-animationUpdateRate.html | 10400 | <!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Unity - Scripting API: ProceduralMaterial.animationUpdateRate</title>
... | gpl-3.0 |
matthewpklein/battsimpy | docs/extra_files/electrode_ocv_gen.py | 5199 | import pickle
from matplotlib import pyplot as plt
plt.style.use('classic')
import matplotlib as mpl
fs = 12.
fw = 'bold'
mpl.rc('lines', linewidth=2., color='k')
mpl.rc('font', size=fs, weight=fw, family='Arial')
mpl.rc('legend', fontsize='small')
import numpy
def grad( x, u ) :
return numpy.gradient(u) / nu... | gpl-3.0 |
idega/platform2 | src/com/idega/block/trade/stockroom/business/ProductPriceException.java | 530 | package com.idega.block.trade.stockroom.business;
/**
* Title: IW Trade
* Description:
* Copyright: Copyright (c) 2001
* Company: idega.is
* @author 2000 - idega team - <br><a href="mailto:gummi@idega.is">Guðmundur Ágúst Sæmundsson</a><br><a href="mailto:gimmi@idega.is">Grímur Jónsson</a>
* @versi... | gpl-3.0 |
jmmnn/linksSDGs | solr-5.4.0/docs/solr-uima/org/apache/solr/uima/processor/class-use/SolrUIMAConfigurationReader.html | 5123 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_45) on Fri Dec 04 23:18:30 GMT 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>Uses of Class org.a... | gpl-3.0 |
bastibl/gnuradio | gr-blocks/lib/tcp_connection.h | 1998 | /* -*- c++ -*- */
/*
* Copyright 2013 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio 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, or (at your option... | gpl-3.0 |
StephaneMangin/Synth | src/main/java/org/istic/synthlab/core/modules/whitenoise/WhiteNoise.java | 1003 | package org.istic.synthlab.core.modules.whitenoise;
import org.istic.synthlab.components.IComponent;
import org.istic.synthlab.core.modules.io.IOutput;
import org.istic.synthlab.core.services.Factory;
import org.istic.synthlab.core.services.Register;
public class WhiteNoise implements IWhiteNoise {
private com.js... | gpl-3.0 |
aomega08/PowerCraft | PowerCraft/Engine/VertexBufferObject.cpp | 392 | #include <stdafx.h>
#include "VertexBufferObject.h"
VertexBufferObject::VertexBufferObject() {
glGenBuffers(1, &_id);
}
VertexBufferObject::~VertexBufferObject() {
glDeleteBuffers(1, &_id);
}
void VertexBufferObject::Bind() {
glBindBuffer(GL_ARRAY_BUFFER, _id);
}
void VertexBufferObject::Upload(void *data, size_... | gpl-3.0 |
kc8hfi/mygolfcart | dev/java/src/networkRead.java | 1860 | import java.io.IOException;
import java.net.Socket;
import java.util.Scanner;
public class networkRead implements Runnable
{
//Objects
Scanner read;
debugLogger myLogger;
sharedData myData;
arduinoWrite ardWriter;
Socket pipe;
//Variables
String data;
long startTime;
long endTime;
boolean dead = false;
... | gpl-3.0 |
TRothfelder/Multicopter | libs/STM32Cube_FW_F4_V1.16.0/Projects/STM32F413H-Discovery/Applications/USB_Host/HID_Standalone/Src/main.c | 10131 | /**
******************************************************************************
* @file USB_Host/HID_Standalone/Src/main.c
* @author MCD Application Team
* @version V1.0.0
* @date 17-February-2017
* @brief USB host HID Mouse and Keyboard demo main file
**********************************... | gpl-3.0 |
ortizjuan2/carnd-term2 | CarND-Extended-Kalman-Filter-Project/src/kalman_filter.cpp | 1660 | #include "kalman_filter.h"
#include <iostream>
using Eigen::MatrixXd;
using Eigen::VectorXd;
KalmanFilter::KalmanFilter() {}
KalmanFilter::~KalmanFilter() {}
void KalmanFilter::Init(VectorXd &x_in, MatrixXd &P_in, MatrixXd &F_in,
MatrixXd &H_in, MatrixXd &R_in, MatrixXd &Q_in) {
x_ = x_in;
P_ = P_in... | gpl-3.0 |
PicassoCT/Journeywar | gamedata/explosions/suckFire.lua | 2210 | -- dirt
return {
["suckfire"] = {
fireballs = {
air = true,
class = [[CSimpleParticleSystem]],
count = 1,
ground = true,
properties = {
airdrag = 1,
alwaysvisible = true,
-- colormap ... | gpl-3.0 |
AlpacaTunnel/AlpacaTunnel | data-struct/search-sort.c | 4457 | #include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "search-sort.h"
int binary_search_int(const int64_t arr[], int start, int end, int64_t key)
{
int mid;
while(start <= end)
{
mid = start + (end - start) / 2;
if(arr[mid] < key)
start = mid + 1;
else i... | gpl-3.0 |
Mirafratechnologies/Automation | Mirafra_automation_framework/WLAN_APpsk2/ap_start_psk2.sh | 429 | uci set wireless.@wifi-device[0].disabled=0
uci set wireless.@wifi-iface[0].mode=ap
uci set wireless.@wifi-iface[0].ssid='Rpi3AP-PSK2'
uci set wireless.@wifi-iface[0].network=lan
uci set wireless.@wifi-iface[0].encryption=psk2
uci set wireless.@wifi-iface[0].key=1234567890
uci commit wireless
/etc/init.d/network reload... | gpl-3.0 |
Antione7/ZCEPracticeTest | web/ng-front/app.js | 1224 | var jsVars = {
appBaseUrl: null,
appBasePath: null,
init: function ()
{
var jsVarsAttributes = angular.element('#js-vars')[0].attributes;
jsVars.appBaseUrl = jsVarsAttributes['data-base-url'].value;
jsVars.appBasePath = jsVarsAttributes['data-basepath'].value;
... | gpl-3.0 |
Alberto-Beralix/Beralix | i386-squashfs-root/usr/lib/python2.7/dist-packages/jockey/xorg_driver.py | 48 | ../../../../share/pyshared/jockey/xorg_driver.py | gpl-3.0 |
davenpcj5542009/eucalyptus | clc/modules/dns/src/main/java/com/eucalyptus/cloud/ws/ConnectionHandler.java | 17449 | /*************************************************************************
* Copyright 2009-2014 Eucalyptus Systems, Inc.
*
* 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; version 3 of the ... | gpl-3.0 |
dragonfire535/xiaobot | commands/analyze/toxicity.js | 1410 | const Command = require('../../structures/Command');
const request = require('node-superfetch');
const { GOOGLE_KEY } = process.env;
module.exports = class ToxicityCommand extends Command {
constructor(client) {
super(client, {
name: 'toxicity',
aliases: ['perspective', 'comment-toxicity'],
group: 'analyze... | gpl-3.0 |
BlackToppStudios/DAGFrameScheduler | testframework/testdata.h | 12522 | // © Copyright 2010 - 2014 BlackTopp Studios Inc.
/* This file is part of The Mezzanine Engine.
The Mezzanine Engine 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 |
claroline/CursusBundle | Tests/API/CursusControllerTest.php | 23164 | <?php
/*
* This file is part of the Claroline Connect package.
*
* (c) Claroline Consortium <consortium@claroline.net>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Claroline\CursusBubdle\Tests\API;
use Claroline\Cor... | gpl-3.0 |
RolePlayGateway/roleplaygateway | styles/proseafoam/template/report_body.html | 2046 | <!-- INCLUDE overall_header.html -->
<h2 class="titlespace"><!-- IF S_REPORT_POST -->{L_REPORT_POST}<!-- ELSE -->{L_REPORT_MESSAGE}<!-- ENDIF --></h2>
<form method="post" action="{S_REPORT_ACTION}" id="report">
<div class="panel">
<div class="inner"><span class="corners-top"><span></span></span>
<div class="conten... | gpl-3.0 |
wannessels/pluto-fw | target/hal/wdt.c | 317 | #include <msp430.h>
#include "wdt.h"
#include "common/hal/lcd_segments.h"
#include "common/svc/svc.h"
uint8_t wdt_event=0;
void wdt_init(void)
{
WDTCTL = WDT_ADLY_250;
SFRIE1 |= WDTIE;
}
void __attribute__((interrupt ((WDT_VECTOR)))) WDTServiceRoutine(void) {
SFRIFG1 &= ~WDTIFG;
wdt_event = 1;
LPM3_EXIT;
}
| gpl-3.0 |
headissue/cache2k | cache2k-core/src/main/java/org/cache2k/core/CommonMetricsFactory.java | 947 | package org.cache2k.core;
/*
* #%L
* cache2k core implementation
* %%
* Copyright (C) 2000 - 2021 headissue GmbH, Munich
* %%
* 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
*
* ... | gpl-3.0 |
openxcart/openxcart | alpha/admin/app/payment/paymate.php | 5927 | <?php
class AppPaymentPayMate extends App {
private $error = array();
public function index() {
$this->load->language('payment/paymate');
$this->document->setTitle($this->language->get('heading_title'));
$this->load->model('setting/setting');
if (($this->request->server['REQUEST_METHOD'] == 'POST') && $th... | gpl-3.0 |
Yexiaoxing/mailman-on-aws | 06-upgrading.md | 4619 | # Upgrade some components to the newest version
Mailman-bundler is a convenient tool -- but some of the shipped components are out-of-date. We need to upgrade them.
## Upgrade HyperKitty to git head version
Stop all gunicorn process first.
sudo killall gunicorn
Then make sure you are using `mailman` user, by... | gpl-3.0 |
trizen/perl-scripts | HAL/HAL8212/HAL8212.pl | 9014 | #!/usr/bin/perl
# Author: Daniel "Trizen" Șuteu
# License: GPLv3
# Date: 14 April 2014
# Website: http://github.com/trizen
# A basic A.I. concept, inspired by HAL9000.
use utf8;
use 5.014;
use autodie;
use warnings;
no if $] >= 5.018, warnings => "experimental::smartmatch";
# For saving the memory
use Data::Dump q... | gpl-3.0 |
uakfdotb/mastering | style/one/footer.php | 303 | </div>
</div>
<div id="content_footer"></div>
<div id="footer">
<p><? foreach($page_display as $page_i => $name) { ?><a href="<?= $page_i ?>"><?= $name ?></a> | <? } ?><a href="http://www.html5webtemplates.co.uk">design from html5webtemplates.co.uk</a></p>
</div>
</div>
</html>
| gpl-3.0 |
fanruan/finereport-design | designer_base/src/com/fr/design/beans/FurtherBasicBeanPane.java | 656 | package com.fr.design.beans;
import com.fr.stable.StringUtils;
/**
*
* @author zhou
* @since 2012-5-30下午12:12:42
*/
public abstract class FurtherBasicBeanPane<T> extends BasicBeanPane<T> {
/**
* 是否是指定类型
* @param ob 对象
* @return 是否是指定类型
*/
public abstract boolean accept(Object ob);
/*... | gpl-3.0 |
KonishchevDmitry/pytee | pytee/__init__.py | 29 | """Holds all pytee logic."""
| gpl-3.0 |
boussole/pfi | src/study/project/registry_report/SplashForm/SplashForm.h | 1169 | //---------------------------------------------------------------------------
#ifndef SplashFormH
#define SplashFormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp... | gpl-3.0 |
SleeperSmith/Aws-Lego | src/Deployment.ps1 | 8821 | $templateNameTag = "TemplateName"
# Name > Environment > LogicalUnit
function New-Deployment {
param (
[string]$bucketname,
[string]$projectname,
[string]$version = "experimental",
[string]$deployroot = ".\"
)
$prefix = "$projectname/$version/"
$oldfiles = Get-S3Object... | gpl-3.0 |
dplc/dwin | dm/include/win32/LSAPI.H | 11774 | /*++
Copyright (c) 1995-1996 Microsoft Corporation
Module Name:
lsapi.h
Abstract:
This module defines the 32-Bit Licensing API.
The Licensing API is still pre-release (i.e. beta) code.
Revision History:
--*/
#ifndef LSAPI_H
#define LSAPI_H
#define LS_API_ENTRY WINAPI
/***... | gpl-3.0 |
MichaelGrupp/evo | test/test_filters.py | 6476 | #!/usr/bin/env python
"""
unit test for filters module
author: Michael Grupp
This file is part of evo (github.com/MichaelGrupp/evo).
evo 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 |
dmfs/jdav-client | src/org/dmfs/davclient/rfc7231/HttpOptions.java | 947 | /*
* Copyright (C) 2015 Marten Gajda <marten@dmfs.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
* by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later version.
*
* Thi... | gpl-3.0 |
thk1/powerlink_analyzer | src/main.rs | 3598 | // Powerlink Analyzer - Analyze Ethernet POWERLINK Network Traffic
// Copyright (C) 2016, Thomas Keh
//
// 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, version 3 of the License.
//
// This pr... | gpl-3.0 |
vasconssa/Estrutura-de-Dados-C- | lista_simples.h | 1116 | #include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#ifndef _lista_simples_h
#define _lista_simples_h
/*A implementacao utiliza um noh cabeca apontando
* para o primeiro elemento da lista */
// Define um ponteiro void para dados genericos
typedef void* gpointer;
// Definicao estrutura lista
typedef struct n... | gpl-3.0 |
modsim/CADET-semi-analytic | ThirdParty/cppad/cppad/core/rev_jac_sparsity.hpp | 7000 | # ifndef CPPAD_CORE_REV_JAC_SPARSITY_HPP
# define CPPAD_CORE_REV_JAC_SPARSITY_HPP
/* --------------------------------------------------------------------------
CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
CppAD is distributed under multiple licenses. This distribution is under
the ter... | gpl-3.0 |
tananaev/traccar-web | modern/src/common/selectors.js | 281 | export const getIsAdmin = (state) => state.session.user?.administrator;
export const getUserId = (state) => state.session.user?.id;
export const getDevices = (state) => Object.values(state.devices.items);
export const getPosition = (id) => (state) => state.positions.items[id];
| gpl-3.0 |
YixingHuang/CONRAD | src/edu/stanford/rsl/conrad/numerics/DecompositionSVD.java | 14143 | package edu.stanford.rsl.conrad.numerics;
import Jama.Matrix;
import Jama.util.*;
/** Singular Value Decomposition.
<P>
For an m-by-n matrix A, the singular value decomposition is
an m-by-(m or n) orthogonal matrix U, a (m or n)-by-n diagonal matrix S, and
an n-by-n orthogonal matrix V so that A = U*S*V'.... | gpl-3.0 |
pywrangler/logicsim | README.md | 2557 | # logicsim
A combinatorial circuit simulation engine.
Note: When I came up with the name logicsim there were already hundreds of other repos on github with the same name but I only came to realise this much later and it was way too late to change the name.So be aware that this is not a fork of any other repository.
Th... | gpl-3.0 |
oicr-gsi/niassa | seqware-common/src/main/java/net/sourceforge/seqware/common/util/filetools/lock/LockingFileTools.java | 2474 | package net.sourceforge.seqware.common.util.filetools.lock;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.nio.channels.FileLock;
import java.nio.charset.StandardCharsets;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* ... | gpl-3.0 |
getfireside/fireside | client/test/index.js | 493 | import sinon from 'sinon';
import chai from 'chai';
import sinonChai from "sinon-chai";
import subset from 'chai-subset';
window.sinon = sinon;
window.chai = chai;
chai.use(sinonChai);
chai.use(subset);
window.expect = chai.expect;
window.should = chai.should;
import * as fixtures from './fixtures.js';
window.fixtur... | gpl-3.0 |
santiagogil/siep | Controller/CentrosController.php | 8553 | <?php
App::uses('AppController', 'Controller');
class CentrosController extends AppController {
var $name = 'Centros';
public $uses = array('Centro', 'Titulacion');
var $paginate = array('Centro' => array('limit' => 4, 'order' => 'Centro.cue ASC'));
public function beforeFilter() {
parent::beforeFil... | gpl-3.0 |
MailCleaner/MailCleaner | www/framework/Zend/Gdata/Extension/EntryLink.php | 4414 | <?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 |
BirchJD/RPiTimer | PiTimer_Step-8/UserInterface.py | 14823 | # PiTimer - Python Hardware Programming Education Project For Raspberry Pi
# Copyright (C) 2015 Jason Birch
#
# 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 |
RadWolfie/Halo-Dev-Controls | HDC/CMDParser.cpp | 105714 | /********************************************************************************
-- Halo Dev Controls
Copyright © 2011 Jesus7Freak
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 |
fbk/fcw | fcw-utils/src/main/java/eu/fbk/fcw/utils/corpus/Word.java | 2901 | package eu.fbk.fcw.utils.corpus;
import java.io.Serializable;
/**
* Created by alessio on 12/11/15.
*/
public class Word implements Serializable {
private int id;
private String form;
private String lemma;
private String pos;
private int depParent;
private String depLabel;
private in... | gpl-3.0 |
LemoineSimon/meteo | src/Bk/MeteoBundle/Controller/MeteoController.php | 1869 | <?php
namespace Bk\MeteoBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class MeteoController extends Controller {
public function indexAction() {
$param = $this->container->getParameter('OpenWeatherMap');
/*
$fake = '../src/Bk/MeteoBundle/cache/fake/france.... | gpl-3.0 |
tsauter/AppRequestGenerator | AppRequestGenerator/TabSettings.cs | 441 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AppRequestGenerator
{
public class TabSettings
{
public TabSettings(string name)
{
this.Name = name;
this.Settings = new Dictionary<string, obje... | gpl-3.0 |
G2159687/espd | app/src/main/java/com/github/epd/sprout/levels/DeadEndLevel.java | 1393 |
package com.github.epd.sprout.levels;
import com.github.epd.sprout.Assets;
import com.github.epd.sprout.messages.Messages;
import java.util.Arrays;
public class DeadEndLevel extends Level {
private static final int SIZE = 5;
{
color1 = 0x534f3e;
color2 = 0xb9d661;
}
@Override
public String tilesTex() {
... | gpl-3.0 |
urashima9616/Leetcode_Python | leet7.py | 491 | import sys,os
class Solution():
def reverse(self, x):
sign=1
if x<0:
sign=-1
x=x*-1
token=str(x)
str_rev=""
str_len=len(token)
for i in range(str_len):
str_rev+=token[str_len-i-1]
num_rev=int(str_rev)
if sign==1 and ... | gpl-3.0 |
ICRAR/libprofit | src/sky.cpp | 1932 | /**
* Sky profile implementation
*
* ICRAR - International Centre for Radio Astronomy Research
* (c) UWA - The University of Western Australia, 2016
* Copyright by UWA (in the framework of the ICRAR)
* All rights reserved
*
* Contributed by Aaron Robotham, Rodrigo Tobar
*
* This file is part of libprofit.
*
... | gpl-3.0 |
iterate-ch/cyberduck | s3/src/main/java/ch/cyberduck/core/cloudfront/CloudFrontDistributionConfiguration.java | 37094 | package ch.cyberduck.core.cloudfront;
/*
* Copyright (c) 2002-2013 David Kocher. All rights reserved.
* http://cyberduck.ch/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either versi... | gpl-3.0 |
nigelcog/mini-IoT | android/mini-IoT/app/src/main/java/com/creativecub/iotarduino/DataAdapter.java | 1899 | package com.creativecub.iotarduino;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.Switch;
import android.widget.TextView;
import java.util.List;
public cl... | gpl-3.0 |
xushiwei/fibjs | docs/df/d84/classglobal.js | 441 | var classglobal =
[
[ "Buffer", "df/d84/classglobal.html#a77b5ab3a88955255ac7abc7251919fbc", null ],
[ "run", "df/d84/classglobal.html#a917c15ea7d2eafaa6df0aea5868a86e7", null ],
[ "require", "df/d84/classglobal.html#a9b11defd1000737a5b70b50edfcc8156", null ],
[ "GC", "df/d84/classglobal.html#a02a28758a... | gpl-3.0 |
tianyang-li/de-novo-rna-seq-quant-1 | boost_1_51_0/doc/html/boost/proto/post_inc/impl.html | 4133 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Struct template impl</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="../../../index.html" title... | gpl-3.0 |
SandroHc/AB-Operation-Shadowy-Situation | Assets/Scripts/NPC/NPCController.cs | 638 | using UnityEngine;
using UnityEngine.UI;
using System.Collections.Generic;
public class NPCController : MonoBehaviour {
public new string name;
//public GameObject uiCanvas;
public Text uiName;
void Awake() {
uiName.text = name;
}
//void Update() {
// if(Camera.main != null && Camera.main.transform.hasCha... | gpl-3.0 |
lwldcr/keyboardman | common/const.py | 214 | # -*- coding: utf-8 -*-
__author__ = 'LIWEI240'
"""
Constants definition
"""
class Const(object):
class RetCode(object):
OK = 0
InvalidParam = -1
NotExist = -2
ParseError = -3 | gpl-3.0 |
zshatzov/MSD | generator/web/src/main/webapp/serverValidation/serverValidationModal.html | 637 |
<div class="modal-header">
<h4 style="color: white">Validation results for {{panelLabel}}</h4>
</div>
<div class="modal-body">
<div ng-if="errorsExist()">
<div ng-repeat="error in errors track by $index">
<ul class="list-group">
<li class="list-group-item list-group-item-danger">{{error}}</li>
</ul>... | gpl-3.0 |
Anyon3/simplehtml5upload | upload.js | 3860 | //Settings
actype = ['image/png','image/jpeg','image/jpg','image/gif']; /* Accepted mime type */
maxweight = 819200; /* Max file size in octets */
maxwidth = 150; /* Max width of the image */
maxheight = 150; /* Max height*/
//Caching variable selector
ish = $('.ish'); /* On attach element hide or show */
msgUp = $('.... | gpl-3.0 |
lenshion/apiload | tcpserver.h | 494 | #ifndef LZH_SOCKET_SERVER
#define LZH_SOCKET_SERVER
#define MAXUDP_GRAM (65536)
#define LISTEN_PORT (5409)
#define PROTO_HTTP (0)
#define PROTO_MQTT (1)
#define PROTO_ENDE (2)
typedef struct tagLoadParams {
unsigned long maxThread;
unsigned long maxTimeOut;
unsigned long protoType;
unsigned char* loa... | gpl-3.0 |
spip/SPIP | prive/formulaires/configurer_preferences_menus.php | 2829 | <?php
/***************************************************************************\
* SPIP, Système de publication pour l'internet *
* *
* Copyright © avec tendresse depuis 2001 *
* ... | gpl-3.0 |
scienceopen/AIDA-tools | Documentation/installation.html | 6824 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>What to do next! not: What to do next?</title>
<link rel="stylesheet" type="text/css" media="screen" href="style.css">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
</head>
<body class="sec... | gpl-3.0 |
miaosen888/miaosengit | README.md | 58 | # miaosengit
project-store
Add file udp.c to git miaosen
| gpl-3.0 |
rquey/neper | src/contrib/scotch/src/libscotch/wgraph_part_zr.c | 3539 | /* Copyright 2007-2010,2016 IPB, Universite de Bordeaux, INRIA & CNRS
**
** This file is part of the Scotch software package for static mapping,
** graph partitioning and sparse matrix ordering.
**
** This software is governed by the CeCILL-C license under French law
** and abiding by the rules of distribution of free ... | gpl-3.0 |
OopadDoc/OopadDoc | Documentation/SignUpWebService/IsLoginAvailable.md | 648 | **IsLoginAvailable**
----
Check whether a login is avaible or not.
* **URL**
https://fr.oopad.com/WebServices/SignUpWebService/IsLoginAvailable
* **Method:**
`POST`
* **URL Params**
none
* **Data Params**
- login
`type`: string
`description`: login to check
**example:**
```json
{
"login" : "test... | gpl-3.0 |
mneudert/piwik | plugins/CoreUpdater/UpdateCommunication.php | 5094 | <?php
/**
* Piwik - free/libre analytics platform
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
*/
namespace Piwik\Plugins\CoreUpdater;
use Piwik\Config;
use Piwik\Mail;
use Piwik\Option;
use Piwik\Piwik;
use Piwik\Plugins\UsersManager\API as UsersManagerApi;
us... | gpl-3.0 |
GenaBitu/NIMP | src/Registry/ExtrinsicRegistry.cpp | 124 | #include "Registry.hpp"
Registry::ExtrinsicRegistry::ExtrinsicRegistry() : window{}, splitter{}, GUI{new GuiSettings{}} {}
| gpl-3.0 |
kura52/sushi-browser | src/remoted-chrome/browser/context-menus-main.js | 1947 | const {ipcFuncMain, ipcFuncMainCb, getIpcNameFunc, sendToBackgroundPage} = require('./util-main')
const {ipcMain} = require('electron')
const getIpcName = getIpcNameFunc('ContextMenus')
const extInfos = require('../../extensionInfos')
const sharedState = require('../../sharedStateMain')
ipcMain.on('get-extension-menu'... | gpl-3.0 |
soupytwist/Foxi | src/cards/IndexCard.js | 1623 | var Card = require("./Card");
var CARDS = require("./cards");
var CARDNUM = require("./cardnum");
var api = require("../rpcapi");
var util = require("../util");
var state = require("../state");
var imgUtil = require("../img");
// INDEX -----------------------------------------------------------------------
function In... | gpl-3.0 |
SuperMap-iDesktop/SuperMap-iDesktop-Cross | DataView/src/main/java/com/supermap/desktop/framemenus/CtrlActionWorkspaceSaveAsOracle.java | 785 | package com.supermap.desktop.framemenus;
import com.supermap.desktop.Application;
import com.supermap.desktop.Interface.IBaseItem;
import com.supermap.desktop.Interface.IForm;
import com.supermap.desktop.implement.CtrlAction;
import com.supermap.desktop.ui.controls.JDialogWorkspaceSaveAs;
import javax.swing.*;
publi... | gpl-3.0 |
abarthel9/atools | src/fs/userdata/airspacereaderopenair.h | 2394 | /*****************************************************************************
* Copyright 2015-2020 Alexander Barthel alex@littlenavmap.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, eit... | gpl-3.0 |
simontaosim/phpprojekt_simon | app/helper/Diff/Renderer/html/base.php | 7456 | <?php
/**
* Base renderer for rendering HTML based diffs for PHP DiffLib.
*
* PHP version 5
*
* Copyright (c) 2009 Chris Boulton <chris.boulton@interspire.com>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the follow... | gpl-3.0 |
viggokann/granska | scrutinizer/tagger/sentence.h | 4038 | /* sentence.hh
* author: Johan Carlberger
* last change: 2000-04-27
* comments: Sentence class
*/
#ifndef _sentence_hh
#define _sentence_hh
#include "wordtoken.h"
// these should be in Sentence:
const int MAX_SENTENCE_LENGTH = 150; // can be set arbitrarily
class Sentence;
class GramError;
class Tagger;
c... | gpl-3.0 |
yingrui/mahjong | lib-segment/src/test/scala/me/yingrui/segment/util/WordUtilTest.scala | 361 | package me.yingrui.segment.util
import org.junit.Assert
import org.junit.Test
class WordUtilTest {
@Test
def should_return_1_if_input_is_a_numerical_string() {
Assert.assertEquals(1, WordUtil.isNumerical("123"))
}
@Test
def should_return_2_if_input_is_not_a_numerical_string() {
Assert.assertEquals(... | gpl-3.0 |
jinsedeyuzhou/NewsClient | doraemonkit/src/main/java/com/ebrightmoon/doraemonkit/ui/widget/tableview/listener/Observable.java | 1237 | package com.ebrightmoon.doraemonkit.ui.widget.tableview.listener;
import java.util.ArrayList;
import java.util.List;
public abstract class Observable<T> {
public final ArrayList<T> observables = new ArrayList<>();
/**AttachObserver(通过实例注册观察者)
**/
public void register(T observer){
if(obser... | gpl-3.0 |
MrFlyingToasterman/syn-bomb | README.md | 388 | # syn-bomb
Automated SYN flooding tool.
# Usage
sudo syn-bomb TARGET_IP PORT NETWORK_INTERFACE
# Dependencies
<ul>
<li>hping</li>
<li>macchanger</li>
<li>ifconfig</li>
<li>dhcpcd</li>
</ul>
# Quotes
> "Windows Server 2008, you shall reboot now" <br>
~Anonymous
# Preview
 2015 Petr Petrovich Petrov
*
* This file is part of Beautiful Capi.
*
* Beautiful Capi is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the ... | gpl-3.0 |
Aszy/cse360project | cse360project/Data/temperaturedata.h | 710 | #ifndef TEMPERATUREDATA_H
#define TEMPERATUREDATA_H
#include "Data/healthdata.h"
class TemperatureData : public HealthData
{
public:
explicit TemperatureData();
explicit TemperatureData(float temperature);
explicit TemperatureData(HealthData data, float temperature);
// Accessors
float temperatur... | gpl-3.0 |
inselberge/Amphibian | generators/abstract/interfaces/FormGeneratorInterface.php | 506 | <?php
/**
* Created by JetBrains PhpStorm.
* Project: Amphibian
* User: Carl "Tex" Morgan
* Date: 7/10/13
* Time: 1:15 PM
* All rights reserved by Inselberge Inc. unless otherwise stated.
*/
require_once AMPHIBIAN_GENERATORS_ABSTRACT_INTERFACES."BasicGeneratorInterface.php";
interface FormGeneratorInterface
... | gpl-3.0 |
fanruan/finereport-design | designer_chart/src/com/fr/plugin/chart/custom/component/VanChartHyperLinkPane.java | 11772 | package com.fr.plugin.chart.custom.component;
import com.fr.chart.chartattr.Plot;
import com.fr.chart.web.ChartHyperPoplink;
import com.fr.chart.web.ChartHyperRelateCellLink;
import com.fr.chart.web.ChartHyperRelateFloatLink;
import com.fr.design.ExtraDesignClassManager;
import com.fr.design.beans.BasicBeanPane;
impor... | gpl-3.0 |
papajessie/swcpy | docs/conflict_tat_20190328.md | 1077 | ---
title: tournamenttitleconflicttat20190328 (conflict_tat_20190328)
category: tournament
---
# tournamenttitleconflicttat20190328
* Planet: Tatooine
* Start date: 2019-03-28
* End date: 2019-04-03
## Rewards
* Carbonite II League: A "[Carbonite Conflict Crate (lc_conf_tier1)](lc_conf_tier1.html)"
* Carbo... | gpl-3.0 |
ThoNill/JanusData | JanusData/test/test/janus/data/DataDescriptionTest.java | 3870 | package test.janus.data;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import org.apache.log4j.Logger;
import org.janus.data.DataContext;
import org.janus.data.DataContextImpl;
impo... | gpl-3.0 |
Minecolonies/minecolonies | src/main/java/com/minecolonies/coremod/client/gui/WindowAssignCitizen.java | 8602 | package com.minecolonies.coremod.client.gui;
import com.ldtteam.blockout.Pane;
import com.ldtteam.blockout.controls.Button;
import com.ldtteam.blockout.controls.ButtonHandler;
import com.ldtteam.blockout.controls.Text;
import com.ldtteam.blockout.views.ScrollingList;
import com.ldtteam.blockout.views.Window;
import co... | gpl-3.0 |
tsergium/funcake.org | application/models/Marketing.php | 4540 | <?php
class Default_Model_DbTable_Marketing extends Zend_Db_Table_Abstract
{
protected $_name = 'marketing';
protected $_primary = 'id';
}
class Default_Model_Marketing
{
protected $_id;
protected $_type;
protected $_code;
protected $_status;
protected $_created;
protected $_modified;
protected $_mapper;
... | gpl-3.0 |
bluegill/katana | build/index.js | 1149 | /*
* Katana - a powerful, open-source screenshot utility
*
* Copyright (C) 2018, Gage Alexander <gage@washedout.co>
*
* Katana 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 th... | gpl-3.0 |
LiangliangNan/PolyFit | 3rd_soplex/src/ssvectorbase.h | 21751 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* This file is part of the class library */
/* SoPlex --- the Sequential object-oriented simPlex. */
... | gpl-3.0 |
weblicht/oaipmh-cmdi-bindings | src/main/java/eu/clarin/weblicht/bindings/cmd/ws/OutputValues.java | 932 | package eu.clarin.weblicht.bindings.cmd.ws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
/**
*
* @author akislev
*/
@XmlAccessorType(value = XmlAccessType.FIELD)
publ... | gpl-3.0 |
smartbiz/angular2-dashboard | gulpfile.ts | 2854 | import * as gulp from 'gulp';
import * as runSequence from 'run-sequence';
import {loadTasks} from './tools/utils';
import {SEED_TASKS_DIR, PROJECT_TASKS_DIR} from './tools/config';
loadTasks(SEED_TASKS_DIR);
loadTasks(PROJECT_TASKS_DIR);
// --------------
// Build dev.
gulp.task('build.dev', (done: any) =>
runSequ... | gpl-3.0 |
pantelis60/L2Scripts_Underground | gameserver/src/main/java/l2s/gameserver/instancemanager/DailyQuestsManager.java | 1579 | package l2s.gameserver.instancemanager;
import java.util.ArrayList;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import l2s.commons.util.Rnd;
import l2s.gameserver.model.Player;
import l2s.gameserver.model.quest.Quest;
import l2s.gameserver.model.quest.QuestState;
public class Dai... | gpl-3.0 |
raymondbh/TFCraft | src/Common/com/bioxx/tfc/Render/Blocks/RenderLoom.java | 7580 | package com.bioxx.tfc.Render.Blocks;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.world.IBlockAccess;
import org.lwjgl.opengl.GL11;
import com.bioxx.tfc.TileEntities.TELoom;
import com.bioxx.tfc.a... | gpl-3.0 |
ryfx/modrana | modules/_mod_clickMenu.py | 2761 | # -*- coding: utf-8 -*-
#----------------------------------------------------------------------------
# Menu for quickly adding waypoints when on move
#----------------------------------------------------------------------------
# Copyright 2007-2008, Oliver White
#
# This program is free software: you can redistribute... | gpl-3.0 |