code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
from django.conf.urls import patterns, include, url urlpatterns = patterns('', url(r'^$', 'webinterface.view.dashboard.main'), url(r'^dashboard/$', 'webinterface.view.dashboard.main'), url(r'^login/$', 'webinterface.view.login.main'), url(r'^login/ajax/$', 'webinterface.view.login.ajax'), url(r'^s...
cynja/coffeenator
webinterface/urls.py
Python
gpl-3.0
551
/* 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...
gottcode/peg-e
src/hole.cpp
C++
gpl-3.0
964
<?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...
georgetye/openemr
portal/patient/fwk/libs/verysimple/Phreeze/TwigRenderEngine.php
PHP
gpl-3.0
1,903
/* -*- 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...
DomainDrivenConsulting/dogen
projects/masd.dogen.generation.cpp/include/masd.dogen.generation.cpp/types/formatters/serialization/primitive_implementation_formatter.hpp
C++
gpl-3.0
2,371
/* * 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) ...
psci2195/espresso-ffans
src/script_interface/constraints/fields.hpp
C++
gpl-3.0
6,017
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...
Azareal/Gosora
routes/account.go
GO
gpl-3.0
33,125
/* * 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 ...
kevL/0xC_kL
src/Basescape/CraftEquipmentState.cpp
C++
gpl-3.0
20,783
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...
QuantumTechDevStudio/RUDNEVGAUSS
archive/solver/DifferentialEvolutionAbstract.py
Python
gpl-3.0
1,558
// // 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...
newa0/boamp-api-quickStart
src/main/gen/fr/gouv/api/Boamp_v230/EnumAvisImplique.java
Java
gpl-3.0
3,154
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...
matthewpklein/battsimpy
docs/extra_files/electrode_ocv_gen.py
Python
gpl-3.0
5,199
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...
idega/platform2
src/com/idega/block/trade/stockroom/business/ProductPriceException.java
Java
gpl-3.0
530
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...
StephaneMangin/Synth
src/main/java/org/istic/synthlab/core/modules/whitenoise/WhiteNoise.java
Java
gpl-3.0
1,003
#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_...
aomega08/PowerCraft
PowerCraft/Engine/VertexBufferObject.cpp
C++
gpl-3.0
392
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; ...
kc8hfi/mygolfcart
dev/java/src/networkRead.java
Java
gpl-3.0
1,860
#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...
ortizjuan2/carnd-term2
CarND-Extended-Kalman-Filter-Project/src/kalman_filter.cpp
C++
gpl-3.0
1,660
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; ...
Antione7/ZCEPracticeTest
web/ng-front/app.js
JavaScript
gpl-3.0
1,224
../../../../share/pyshared/jockey/xorg_driver.py
Alberto-Beralix/Beralix
i386-squashfs-root/usr/lib/python2.7/dist-packages/jockey/xorg_driver.py
Python
gpl-3.0
48
/************************************************************************* * 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 ...
davenpcj5542009/eucalyptus
clc/modules/dns/src/main/java/com/eucalyptus/cloud/ws/ConnectionHandler.java
Java
gpl-3.0
17,449
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...
dragonfire535/xiaobot
commands/analyze/toxicity.js
JavaScript
gpl-3.0
1,410
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 * * ...
headissue/cache2k
cache2k-core/src/main/java/org/cache2k/core/CommonMetricsFactory.java
Java
gpl-3.0
947
</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>
uakfdotb/mastering
style/one/footer.php
PHP
gpl-3.0
303
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); /*...
fanruan/finereport-design
designer_base/src/com/fr/design/beans/FurtherBasicBeanPane.java
Java
gpl-3.0
656
"""Holds all pytee logic."""
KonishchevDmitry/pytee
pytee/__init__.py
Python
gpl-3.0
29
/*++ 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 /***...
dplc/dwin
dm/include/win32/LSAPI.H
C++
gpl-3.0
11,774
/* * 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...
dmfs/jdav-client
src/org/dmfs/davclient/rfc7231/HttpOptions.java
Java
gpl-3.0
947
# 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...
modsim/CADET-semi-analytic
ThirdParty/cppad/cppad/core/rev_jac_sparsity.hpp
C++
gpl-3.0
7,000
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];
tananaev/traccar-web
modern/src/common/selectors.js
JavaScript
gpl-3.0
281
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'....
YixingHuang/CONRAD
src/edu/stanford/rsl/conrad/numerics/DecompositionSVD.java
Java
gpl-3.0
14,143
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; /** * ...
oicr-gsi/niassa
seqware-common/src/main/java/net/sourceforge/seqware/common/util/filetools/lock/LockingFileTools.java
Java
gpl-3.0
2,474
<?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...
santiagogil/siep
Controller/CentrosController.php
PHP
gpl-3.0
8,553
<?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...
MailCleaner/MailCleaner
www/framework/Zend/Gdata/Extension/EntryLink.php
PHP
gpl-3.0
4,414
# 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 ...
BirchJD/RPiTimer
PiTimer_Step-8/UserInterface.py
Python
gpl-3.0
14,823
/******************************************************************************** -- 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,...
RadWolfie/Halo-Dev-Controls
HDC/CMDParser.cpp
C++
gpl-3.0
105,714
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...
fbk/fcw
fcw-utils/src/main/java/eu/fbk/fcw/utils/corpus/Word.java
Java
gpl-3.0
2,901
<?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....
LemoineSimon/meteo
src/Bk/MeteoBundle/Controller/MeteoController.php
PHP
gpl-3.0
1,869
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...
tsauter/AppRequestGenerator
AppRequestGenerator/TabSettings.cs
C#
gpl-3.0
441
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() { ...
G2159687/espd
app/src/main/java/com/github/epd/sprout/levels/DeadEndLevel.java
Java
gpl-3.0
1,393
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 ...
urashima9616/Leetcode_Python
leet7.py
Python
gpl-3.0
491
/** * 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. * ...
ICRAR/libprofit
src/sky.cpp
C++
gpl-3.0
1,932
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...
nigelcog/mini-IoT
android/mini-IoT/app/src/main/java/com/creativecub/iotarduino/DataAdapter.java
Java
gpl-3.0
1,899
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...
xushiwei/fibjs
docs/df/d84/classglobal.js
JavaScript
gpl-3.0
441
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...
SandroHc/AB-Operation-Shadowy-Situation
Assets/Scripts/NPC/NPCController.cs
C#
gpl-3.0
638
# -*- coding: utf-8 -*- __author__ = 'LIWEI240' """ Constants definition """ class Const(object): class RetCode(object): OK = 0 InvalidParam = -1 NotExist = -2 ParseError = -3
lwldcr/keyboardman
common/const.py
Python
gpl-3.0
214
//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 = $('....
Anyon3/simplehtml5upload
upload.js
JavaScript
gpl-3.0
3,860
<?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...
mneudert/piwik
plugins/CoreUpdater/UpdateCommunication.php
PHP
gpl-3.0
5,094
#include "Registry.hpp" Registry::ExtrinsicRegistry::ExtrinsicRegistry() : window{}, splitter{}, GUI{new GuiSettings{}} {}
GenaBitu/NIMP
src/Registry/ExtrinsicRegistry.cpp
C++
gpl-3.0
124
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'...
kura52/sushi-browser
src/remoted-chrome/browser/context-menus-main.js
JavaScript
gpl-3.0
1,947
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...
soupytwist/Foxi
src/cards/IndexCard.js
JavaScript
gpl-3.0
1,623
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...
SuperMap-iDesktop/SuperMap-iDesktop-Cross
DataView/src/main/java/com/supermap/desktop/framemenus/CtrlActionWorkspaceSaveAsOracle.java
Java
gpl-3.0
785
<?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...
simontaosim/phpprojekt_simon
app/helper/Diff/Renderer/html/base.php
PHP
gpl-3.0
7,456
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...
jinsedeyuzhou/NewsClient
doraemonkit/src/main/java/com/ebrightmoon/doraemonkit/ui/widget/tableview/listener/Observable.java
Java
gpl-3.0
1,237
/* * Beautiful Capi generates beautiful C API wrappers for your C++ classes * Copyright (C) 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 ...
PetrPPetrov/beautiful-capi
examples/down_cast/library/source/CircleImpl.cpp
C++
gpl-3.0
1,394
<?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 ...
inselberge/Amphibian
generators/abstract/interfaces/FormGeneratorInterface.php
PHP
gpl-3.0
506
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...
fanruan/finereport-design
designer_chart/src/com/fr/plugin/chart/custom/component/VanChartHyperLinkPane.java
Java
gpl-3.0
11,772
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...
ThoNill/JanusData
JanusData/test/test/janus/data/DataDescriptionTest.java
Java
gpl-3.0
3,870
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...
Minecolonies/minecolonies
src/main/java/com/minecolonies/coremod/client/gui/WindowAssignCitizen.java
Java
gpl-3.0
8,602
<?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; ...
tsergium/funcake.org
application/models/Marketing.php
PHP
gpl-3.0
4,540
/* * 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...
bluegill/katana
build/index.js
JavaScript
gpl-3.0
1,149
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...
weblicht/oaipmh-cmdi-bindings
src/main/java/eu/clarin/weblicht/bindings/cmd/ws/OutputValues.java
Java
gpl-3.0
932
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...
smartbiz/angular2-dashboard
gulpfile.ts
TypeScript
gpl-3.0
2,854
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...
pantelis60/L2Scripts_Underground
gameserver/src/main/java/l2s/gameserver/instancemanager/DailyQuestsManager.java
Java
gpl-3.0
1,579
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...
raymondbh/TFCraft
src/Common/com/bioxx/tfc/Render/Blocks/RenderLoom.java
Java
gpl-3.0
7,580
# -*- coding: utf-8 -*- #---------------------------------------------------------------------------- # Menu for quickly adding waypoints when on move #---------------------------------------------------------------------------- # Copyright 2007-2008, Oliver White # # This program is free software: you can redistribute...
ryfx/modrana
modules/_mod_clickMenu.py
Python
gpl-3.0
2,761
package org.dongchao.model.entity; import org.hibernate.validator.constraints.NotEmpty; import javax.persistence.*; import java.io.Serializable; import java.util.List; import java.util.Objects; import java.util.Set; /** * Created by zhaodongchao on 2017/5/3. */ @Table(name = "dc_user") @Entity public class User im...
zhaodongchao/dcproj
dcproj-model/src/main/java/org/dongchao/model/entity/User.java
Java
gpl-3.0
3,180
package com.github.kuros.random.jpa.testUtil.entity; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "employee_department") public clas...
kuros/random-jpa
src/test/java/com/github/kuros/random/jpa/testUtil/entity/EmployeeDepartment.java
Java
gpl-3.0
1,656
/* * This file is part of muCommander, http://www.mucommander.com * Copyright (C) 2002-2012 Maxence Bernard * * muCommander 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...
trol73/mucommander
src/main/com/mucommander/ui/main/DrivePopupButton.java
Java
gpl-3.0
26,393
<?php /** * @package mod_digisem * @copyright 2011-2013 Patrick Meyer, Tobias Niedl * @license GNU General Public License (GPL) 3.0 (http://www.gnu.org/licenses/gpl.html) */ /** * FTPs file transfer handler * * @author Patrick Meyer * @since d#9 */ class FTPsHandler extends FTPHandler { ...
digisem/digisem
filetransfer/ftps.php
PHP
gpl-3.0
677
/* 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...
cgrates/cgrates
dispatchers/caches_test.go
GO
gpl-3.0
17,047
/************************************ * AUTHOR: Divyansh Gaba * * INSTITUTION: ASET, BIJWASAN * ************************************/ #include<bits/stdc++.h> #define fast ios_base::sync_with_stdio(0); cin.tie(0); #define F first #define S second #define PB push_back #define MP make_pair #define REP(i,a,b) for (in...
divyanshgaba/Competitive-Coding
Hackerland Radio Transmitters/main.cpp
C++
gpl-3.0
919
package org.shikimori.library.adapters; import android.content.Context; import android.view.View; import android.view.ViewGroup; import com.nostra13.universalimageloader.core.ImageLoader; import org.shikimori.library.R; import org.shikimori.library.adapters.base.BaseListAdapter; import org.shikimori.library.adapters...
LeshiyGS/shikimori
library/src/main/java/org/shikimori/library/adapters/CommentsAdapter.java
Java
gpl-3.0
3,387
#include <XBeeAtCmd.hpp> #include <iostream> #include <stdlib.h> #include <XBeeDebug.hpp> XBeeAtCmd::XBeeAtCmd(){ _frameId = XBEE_DEFAULT_FRAME_ID; _atCmd = XBEE_DEFAULT_AT_CMD; _paramValue = new vector<uint8_t>(); } vector<uint8_t> XBeeAtCmd::getParamValue(){ return *(_paramValue); } unsigned short XBeeAtCm...
andresmanelli/XBeeAPI
src/XBeeAtCmd.cpp
C++
gpl-3.0
2,472
#pragma once #include "imgui.h" namespace bengine { inline void setup_imgui_style_green() { ImGuiStyle& style = ImGui::GetStyle(); // light style from Pacôme Danhiez (user itamago) https://github.com/ocornut/imgui/pull/511#issuecomment-175719267 style.Alpha = 1.0f; style.FrameRounding = 3.0f; style.Color...
thebracket/bgame
src/bengine/imgui_style.hpp
C++
gpl-3.0
7,197
<?php namespace botwebapi\resources\api\workspaces\directoryBasedWorkspaces; use botwebapi\resources as resources; use botwebapi as botwebapi; class DirectoryBasedWorkspaces extends resources\BotWebApiResource { public function __construct($resource_uri, $parent_resource) { parent::__construct($resour...
kipr/botwebapi
botwebapi/classes/botwebapi/resources/api/workspaces/directoryBasedWorkspaces/DirectoryBasedWorkspaces.php
PHP
gpl-3.0
2,461
# -*- coding: utf-8 -*- """ Created on Sun Sep 17 22:06:52 2017 Based on: print_MODFLOW_inputs_res_NWT.m @author: gcng """ # print_MODFLOW_inputs import numpy as np import MODFLOW_NWT_lib as mf # functions to write individual MODFLOW files import os # os functions from ConfigParser import SafeConfigParser parser ...
UMN-Hydro/GSFLOW_pre-processor
python_scripts/MODFLOW_scripts/print_MODFLOW_inputs_res_NWT.py
Python
gpl-3.0
3,667
package dualcraft.org.server.classic.cmd.impl; /*License ==================== Copyright (c) 2010-2012 Daniel Vidmar We use a modified GNU gpl v 3 license for this. GNU gpl v 3 is included in License.txt The modified part of the license is some additions which state the following: "Redistributions of this project i...
MinedroidFTW/DualCraft
org/server/classic/cmd/impl/SummonCommand.java
Java
gpl-3.0
2,455
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="DemoHubManager.cs" company="Exit Games GmbH"> // Part of: Photon Unity Demos // </copyright> // <summary> // Used as starting point to let developer choose amongst all demos av...
KonovalovAnton/CoOpMaze
Assets/Tools/Photon Unity Networking/Demos/DemoHub/Scripts/DemoHubManager.cs
C#
gpl-3.0
7,549
#!/usr/bin/env python # encoding: utf-8 # # Copyright (c) 2008 Doug Hellmann All rights reserved. # """ """ __version__ = "$Id$" #end_pymotw_header import EasyDialogs valid_responses = { 1:'yes', 0:'no', -1:'cancel', } response = EasyDialogs.AskYesNoCancel...
qilicun/python
python2/PyMOTW-1.132/PyMOTW/EasyDialogs/EasyDialogs_AskYesNoCancel.py
Python
gpl-3.0
390
/* * Copyright (C) 2011 Carl Green * * 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...
carlgreen/Lexicon-MPX-G2-Editor
mpxg2-cli/src/test/java/info/carlwithak/mpxg2/printing/RoutingPrinterTest.java
Java
gpl-3.0
20,290
package com.oitsjustjose.vtweaks.common.config; import net.minecraftforge.common.ForgeConfigSpec; public class ItemTweakConfig { private static final String CATEGORY_ITEM_TWEAKS = "item tweaks"; public static ForgeConfigSpec.BooleanValue ENABLE_EGG_HATCHING; public static ForgeConfigSpec.IntValue EGG_HAT...
oitsjustjose/V-Tweaks
src/main/java/com/oitsjustjose/vtweaks/common/config/ItemTweakConfig.java
Java
gpl-3.0
2,337
using System; using System.Globalization; using System.Threading.Tasks; using Microsoft.AspNet.Mvc.ModelBinding; namespace Yavsc { public class MyDecimalModelBinder : IModelBinder { public async Task<ModelBindingResult> BindModelAsync(ModelBindingContext bindingContext) { ValueProvi...
pazof/yavsc
src/Yavsc/CustomModelBinder.cs
C#
gpl-3.0
1,696
require_relative 'blockchain' class EcononyNode def req_main mailbox = ZMQ::Socket.new ZMQ::PULL mailbox.bind 'inproc://requests' requesters = [] while true task, *args = mailbox.recv_array end end end # vim:tabstop=2 shiftwidth=2 noexpandtab:
benzrf/econony
node.rb
Ruby
gpl-3.0
262
int ObservableBlockedComForce::actual_calculate(PartCfg & partCfg) { double* A = last_value; unsigned int i; unsigned int block; unsigned int n_blocks; unsigned int blocksize; unsigned int id; IntList* ids; if (!sortPartCfg()) { runtimeErrorMsg() <<"could not sort partCfg"; return -1; } id...
KonradBreitsprecher/espresso
src/core/observables/not_yet_implemented/BlockedComForce.hpp
C++
gpl-3.0
785
// Qt #include <QDateTime> // Application #include "CRemoteControlData.h" //------------------------------------------------------------------------------------------------- quint32 CFileTransferData::m_ulNextTransferID = 1; CFileTransferData::CFileTransferData(QTcpSocket* pSocket, const QString& sSourceName, cons...
Jango73/qt-plus
source/cpp/RemoteControl/CRemoteControlData.cpp
C++
gpl-3.0
1,927
package org.optimizationBenchmarking.evaluator.data.spec; import java.lang.ref.SoftReference; /** * The storage type of * {@link org.optimizationBenchmarking.evaluator.data.spec.Attribute * attribute}. Attributes can be {@link #PERMANENTLY_STORED permanently} * stored, {@link #TEMPORARILY_STORED temporari...
optimizationBenchmarking/evaluator-base
src/main/java/org/optimizationBenchmarking/evaluator/data/spec/EAttributeType.java
Java
gpl-3.0
2,775
package model.beans; import java.util.Date; /** * * @author Gepardas */ public class Invoice { private String buyerName; private String buyerCode; private String buyerAdress; private String buyerCity; private String buyerCountry; private String buyerPhone; private...
GiGsolutions/Invoice_generator
src/model/beans/Invoice.java
Java
gpl-3.0
655
<?PHP require_once('inc/ircplugin.php'); require_once('inc/ircformat.php'); require_once('mpd/mpd.class.php'); if(!class_exists('MbotMpd')) { class MbotMpd extends IrcPlugin { private $host = 'localhost'; private $port = 6600; private $password = ''; private $max_list = 10; private $last_search = array(); ...
mylssi/mbot-php
plugins/mbot_mpd.php
PHP
gpl-3.0
3,883
/* Copyright_License { G-Meter INU. Copyright (C) 2013-2015 Peter F Bradshaw A detailed list of copyright holders can be found in the file "AUTHORS". 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 ...
Exadios/g-meter
jni/Executive/Android/GPSSensor.hpp
C++
gpl-3.0
6,361
/*========================================================================= == == == Rong 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 Sof...
zlv/Rong
src/aboutdialog.cpp
C++
gpl-3.0
1,807
<?xml version="1.0" ?><!DOCTYPE TS><TS language="cs" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="14"/> <source>About Emercoin</source> <translation>O Emercoinu</translation> </messag...
coinkeeper/2015-06-22_18-38_emercoin
src/qt/locale/bitcoin_cs.ts
TypeScript
gpl-3.0
89,836
class CreateHapReportClients < ActiveRecord::Migration[5.2] def change create_table :hap_report_clients do |t| t.references :client t.integer :age t.boolean :emancipated t.boolean :head_of_household t.string :household_ids, array: true t.integer :project_types, array: true ...
greenriver/hmis-warehouse
db/warehouse/migrate/20210510182341_create_hap_report_clients.rb
Ruby
gpl-3.0
633
/** * This file\code is part of InTouch project. * * InTouch - is a .NET wrapper for the vk.com API. * https://github.com/virtyaluk/InTouch * * Copyright (c) 2016 Bohdan Shtepan * http://modern-dev.com/ * * Licensed under the GPLv3 license. */ namespace ModernDev.InTouch { /// <summary> /// A <see cr...
virtyaluk/InTouch
ModernDev.InTouch.Shared/API/MethodsParams/VideoReorderVideosParams.cs
C#
gpl-3.0
2,215
using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Drawing; using Gabriel.Cat.Extension; using System.Collections; namespace Gabriel.Cat.Binaris { public class StringBinario : ElementoIListBinario<char> { public StringBinario() : base(ElementoBinario.ElementosTipoAcept...
tetradog/Gabriel.Cat.Binaris
StringBinario.cs
C#
gpl-3.0
973
# ----------------------------------------------------------------------------- # Getting Things GNOME! - a personal organizer for the GNOME desktop # Copyright (c) 2008-2013 - Lionel Dricot & Bertrand Rousseau # # This program is free software: you can redistribute it and/or modify it under # the terms of the GNU Gene...
getting-things-gnome/gtg
GTG/gtk/backends/backendstree.py
Python
gpl-3.0
10,617
package org.usfirst.frc.team5940.states; import edu.wpi.first.wpilibj.RobotBase; public abstract class State implements Runnable { @SuppressWarnings("unused") protected RobotBase robot; //Update recall delay private int delay = 25; /** * Constructor * @param robot Saved in this class, allows st...
BREAD5940/FRC-2016-BREAD-Codebase
FRC-2016-BREAD-Codebase/src/org/usfirst/frc/team5940/states/State.java
Java
gpl-3.0
1,232
#include "Sub.h" void Sub::delay(uint32_t ms) { hal.scheduler->delay(ms); }
SDRC-AUV/ardusub
ArduSub/compat.cpp
C++
gpl-3.0
81
OpenCart 2.1.0.2 = 1cd91582d238b93e00ffbb4d4b166161 OpenCart 2.0.1.1 = e8968a84ed474fa687574f6b2af3d04b
gohdan/DFC
known_files/hashes/upload/admin/language/english/openbay/amazonus_bulk_listing.php
PHP
gpl-3.0
104
import Component from '@glimmer/component'; import { action } from '@ember/object'; import { inject as service } from '@ember/service'; import type WindowService from 'emberclear/services/window'; export default class Install extends Component { @service window!: WindowService; @action install() { return t...
NullVoxPopuli/emberclear
client/web/emberclear/app/components/app/top-nav/install/index.ts
TypeScript
gpl-3.0
354
package com.pms.bean; import java.io.Serializable; import java.util.Date; import java.util.List; //合约实体类 public class Contract implements Serializable{ private int contractId;//合约ID private String contractNo;//合约编号 private String contractPicture;//合约图片地址 private int contractType;//是否解约状态 private int contractDire...
yeSlin1/CBdParking
src/com/pms/bean/Contract.java
Java
gpl-3.0
2,916
import { Component } from '@angular/core' import template from './modal-portfolio.component.html' @Component({ selector: 'modal-portfolio', template }) export class ModalPortfolioComponent { constructor() {} }
szorfein/Meteor-App
client/imports/app/modal/modal-portfolio.component.ts
TypeScript
gpl-3.0
224
// DlgMSMeer.cpp : implementation file // #include "stdafx.h" #include "Risa.h" #include "DlgMSMeer.h" #include "afxdialogex.h" #include "msImageProcessor.h" // CDlgMSMeer dialog IMPLEMENT_DYNAMIC(CDlgMSMeer, CDialogEx) CDlgMSMeer::CDlgMSMeer(cv::Mat* pmImg, bool bColor, CWnd* pParent /*=NULL*/) : CDialogEx(CDlgMS...
HedgehogTW/Risa
DlgMSMeer.cpp
C++
gpl-3.0
7,364