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 |
|---|---|---|---|---|---|
/*
* Copyright (c) 2017-2020 Amir Czwink (amir130@hotmail.de)
*
* This file is part of Std++.
*
* Std++ 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 op... | aczwink/ACStdLib | include/Std++/UI/Displays/VideoWidget.hpp | C++ | gpl-3.0 | 1,633 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using InsuranceSystem.Library.Models.Catalogs;
namespace InsuranceSystem.Library.Models.Documents
{
public class PostBlankItem
{
public int Id { get; set; }
public int PostBlankI... | mishakos/InsuranceSystem.Library | InsuranceSystem.Library/Models/Documents/PostBlankItem.cs | C# | gpl-3.0 | 537 |
package in.nikitapek.dueler.util;
import com.google.gson.reflect.TypeToken;
import in.nikitapek.dueler.Arena;
import org.bukkit.Location;
import java.lang.reflect.Type;
import java.util.TreeSet;
@SuppressWarnings("rawtypes")
public final class SupplementaryTypes {
public static final Type LOCATION = new TypeToke... | MinerAp/dueler | src/main/java/in/nikitapek/dueler/util/SupplementaryTypes.java | Java | gpl-3.0 | 559 |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... | khan0407/FinalArcade | report/log/graph.php | PHP | gpl-3.0 | 6,948 |
"""
Updates the version in the binary executable of the Forged Alliance game. Will write a new ForgedAlliance.version.exe
file.
Usage:
update_version <version> [--file=<file>] [--dest=<dest>]
Options:
--file=<file> The binary file to update [default: ForgedAlliance.exe]
--dest=<dest> The folder path wher... | FAForever/faftools | faf/tools/fa/update_version.py | Python | gpl-3.0 | 1,436 |
package net.berrueta.smwdump;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.util.Collections;
import java.util.LinkedList;
import net.sourceforge.jwbf.mediawiki.actions.MediaWiki;
import net.sourceforge.jwbf.mediawiki.actions.queries.AllPageTitles;
import net.sourceforge.... | berrueta/smw-dump | src/main/java/net/berrueta/smwdump/Main.java | Java | gpl-3.0 | 5,672 |
// Decompiled with JetBrains decompiler
// Type: System.Web.UI.WebControls.GridViewCommandEventArgs
// Assembly: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// MVID: 7E68A73E-4066-4F24-AB0A-F147209F50EC
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Web.dll... | mater06/LEGOChimaOnlineReloaded | LoCO Client Files/Decompressed Client/Extracted DLL/System.Web/System/Web/UI/WebControls/GridViewCommandEventArgs.cs | C# | gpl-3.0 | 3,381 |
import React from 'react';
import { InputComponent, TSlobsInputProps, useInput, ValuesOf } from './inputs';
import { Slider, InputNumber, Row, Col } from 'antd';
import { SliderSingleProps } from 'antd/lib/slider';
import InputWrapper from './InputWrapper';
import omit from 'lodash/omit';
// select which features from... | stream-labs/streamlabs-obs | app/components-react/shared/inputs/SliderInput.tsx | TypeScript | gpl-3.0 | 2,040 |
/*
* μlogger
*
* Copyright(C) 2019 Bartek Fabiszewski (www.fabiszewski.net)
*
* 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 ver... | bfabiszewski/ulogger-server | js/src/mapapi/api_gmaps.js | JavaScript | gpl-3.0 | 12,253 |
from django.views.generic import CreateView, DetailView, UpdateView, ListView
from django.views.generic import DeleteView
from django.core.urlresolvers import reverse_lazy
from django.utils.translation import ugettext_lazy as _
from django import http
from django.contrib import messages
from .. import forms
from .. im... | jizdoteka/jizdoteka-web | apps/web/views/car.py | Python | gpl-3.0 | 1,433 |
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Copyright (C) 2015 Petroules Corporation.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qbs.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding ... | Philips14171/qt-creator-opensource-src-4.2.1 | src/shared/qbs/src/lib/corelib/tools/architectures.cpp | C++ | gpl-3.0 | 4,533 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("xL... | xwcg/SpawnBot | xLogger/Properties/AssemblyInfo.cs | C# | gpl-3.0 | 1,390 |
/*
* Copyright (C) 2014 GG-Net GmbH - Oliver Günther
*
* 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.
*
... | gg-net/dwoss | ui/mandator/src/main/java/eu/ggnet/dwoss/mandator/ui/CachedProxy.java | Java | gpl-3.0 | 4,405 |
/*
* Copyright 2015
* Hélène Perrier <helene.perrier@liris.cnrs.fr>
* Jérémy Levallois <jeremy.levallois@liris.cnrs.fr>
* David Coeurjolly <david.coeurjolly@liris.cnrs.fr>
* Jacques-Olivier Lachaud <jacques-olivier.lachaud@univ-savoie.fr>
* Jean-Philippe Farrugia <jean-philippe.farrugia@liris.cnrs.fr>
* Jean-Cl... | dcoeurjo/ICTV | src/cpp/BlitFramebuffer.cpp | C++ | gpl-3.0 | 8,912 |
<?php
/**
* @section LICENSE
* This file is part of Wikimedia IEG Grant Review application.
*
* Wikimedia IEG Grant Review application 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
... | bd808/wikimedia-iegreview | src/Dao/AbstractDao.php | PHP | gpl-3.0 | 6,999 |
# -*- coding: utf-8 -*-
"""
Created on Sun Dec 13 23:48:22 2015
@author: thorsten
"""
from distutils.core import setup
from distutils.extension import Extension
from Cython.Build import cythonize
import os, sys
ROOT_DIR = os.path.dirname(__file__)
sys.path.append(os.path.join(ROOT_DIR,'..','..','CSXCAD','python'))
... | georgmichel/openEMS | python/setup.py | Python | gpl-3.0 | 1,466 |
/*
Copyright 2015 Philipp Adam, Manuel Caspari, Nicolas Lukaschek
contact@ravenapp.org
This file is part of Raven.
Raven 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
... | manuelsc/Raven-Messenger | Raven App/src/main/java/at/flack/activity/SMSDefaultDelivery.java | Java | gpl-3.0 | 1,519 |
/*
* RescoreModule.cpp
*
* Created on: Feb 21, 2017
* Author: louis
*/
#include "RescoreModule.h"
#include "Logging.h"
namespace SLM {
RescoreModule::RescoreModule(SLM::BackoffStrategy* bo, const std::string& outputDirectory)
: backoffStrategy(bo), outputDirectory(outputDirectory)
{
// TODO Auto-genera... | naiaden/SLM | RescoreModule.cpp | C++ | gpl-3.0 | 1,725 |
#!/usr/bin/env python3
import gi
import os
import webbrowser
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
class ButtonWindow(Gtk.Window):
def __init__(self):
Gtk.Window.__init__(self, title="Hall Launcher")
self.set_border_width(10)
hbox = Gtk.Box(spacing=100)
h... | HallLinux/Hall_Launcher | hall_launcher.py | Python | gpl-3.0 | 3,662 |
<?php
/**
* Dolumar engine, php/html MMORTS engine
* Copyright (C) 2009 Thijs Van der Schaeghe
* CatLab Interactive bvba, Gent, Belgium
* http://www.catlab.eu/
* http://www.dolumar.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public... | CatLabInteractive/dolumar-engine | src/Neuron/GameServer/scripts/image/minimap.php | PHP | gpl-3.0 | 6,605 |
/*
Copyright (c) 2011 Tsz-Chiu Au, Peter Stone
University of Texas at Austin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, thi... | shunzh/aim5 | src/main/java/aim4/map/destination/IdentityDestinationSelector.java | Java | gpl-3.0 | 2,542 |
/*
* Copyright (C) 2020 Timo Vesalainen <timo.vesalainen@iki.fi>
*
* 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 ve... | tvesalainen/util | util/src/main/java/org/vesalainen/fx/ObjectPreference.java | Java | gpl-3.0 | 1,649 |
#include <epoxy/gl.h>
#include "../asset_manager.h"
#include "../common.h"
#include "../ship_space.h"
#include "../mesh.h"
#include "../player.h"
#include "tools.h"
extern GLuint overlay_shader;
extern GLuint simple_shader;
extern ship_space *ship;
extern asset_manager asset_man;
extern mesh_data const * mesh_for... | engineers-nightmare/engineers-nightmare | src/tools/remove_block.cc | C++ | gpl-3.0 | 1,912 |
@extends('main')
@section('title', 'My Requests')
@section('stylesheets')
<link rel="stylesheet" href="/css/author.css">
@stop
@section('content')
<!-- Wrapper -->
<div id="wrapper">
<!-- Main -->
<div id="main">
<!-- Show All Advice -->
<section id="answer" class="main special">
<header class="major">... | jia1/addvise | resources/views/needAddvise_me.blade.php | PHP | gpl-3.0 | 2,064 |
class LogisticRegression():
def __init__(self, input_size, output_size):
self.W = np.random.uniform(size=(input_size, output_size),
high=0.1, low=-0.1)
self.b = np.random.uniform(size=output_size,
high=0.1, low=-0.1)
self... | wikistat/Apprentissage | BackPropagation/solutions/lr_class.py | Python | gpl-3.0 | 1,424 |
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2015-12-14 14:30
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('barbadosdb', '0007_club_users'),
]
operations = [
migrations.RenameField(
... | codento/barbados | barbados/barbadosdb/migrations/0008_club_users2.py | Python | gpl-3.0 | 415 |
<?php
/**
* Created by PhpStorm.
* User: sizov
* Date: 7/23/14
* Time: 7:49 PM
*/
include 'install/checkconf.php';
$ldap_server = $LdapIp;
$domain = $DomainPrefix;
function ldapAuth($ldap_server, $login, $password)
{
$ldapConn = ldap_connect( $ldap_server ) or die("can't connect to l... | SpecialForce3331/sldap | web/views/auth.php | PHP | gpl-3.0 | 2,551 |
package br.net.fabiozumbi12.pixelvip.bukkit;
import br.net.fabiozumbi12.pixelvip.bukkit.bungee.SpigotText;
import org.bukkit.Bukkit;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import java.security.SecureRandom;
import java.text.SimpleDateFormat;
import java.util.*;
import java.util.conc... | FabioZumbi12/PixelVip | PixelVip-Spigot/src/main/java/br/net/fabiozumbi12/pixelvip/bukkit/PVUtil.java | Java | gpl-3.0 | 6,402 |
// This library re-implements setTimeout, setInterval, clearTimeout, clearInterval for iOS6.
// iOS6 suffers from a bug that kills timers that are created while a page is scrolling.
// This library fixes that problem by recreating timers after scrolling finishes (with interval correction).
// This code is free to use b... | Karplyak/avtomag.url.ph | axZm/plugins/ios6TimersFix.js | JavaScript | gpl-3.0 | 2,999 |
<?php
/**
* Qhebunel
* User profile (settings) page
* This page should be used instead of the WP admin dashboard for readers
* to change their settings.
*
* This page is displayed when a handler runs into an error.
*/
if (!defined('QHEBUNEL_REQUEST') || QHEBUNEL_REQUEST !== true) die;
global $sectio... | attilawagner/qhebunel | pages/profileedit.php | PHP | gpl-3.0 | 5,850 |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle... | dixidix/simulacion | extras/moodledata/lang/es/qtype_ddimageortext.php | PHP | gpl-3.0 | 1,223 |
from argparse import ArgumentParser, ArgumentTypeError
from locale import getdefaultlocale
from multiprocessing import Pool
from contextlib import redirect_stdout
from io import StringIO
from zdict import constants, utils, easter_eggs
from zdict.api import dump
from zdict.completer import DictCompleter
from zdict.load... | zdict/zdict | zdict/zdict.py | Python | gpl-3.0 | 8,711 |
package edu.uiuc.zenvisage.zqlcomplete.executor;
import java.util.ArrayList;
import java.util.List;
public class ZColumn {
private String variable;
private String attribute; //put z here
private List<String> values;
private String expression;
private boolean aggregate;
// after executing expression, implement... | zenvisage/zenvisage | src/main/java/edu/uiuc/zenvisage/zqlcomplete/executor/ZColumn.java | Java | gpl-3.0 | 1,296 |
/**=========================================================
* Module: SupportService.js
* Checks for features supports on browser
=========================================================*/
/*jshint -W069*/
(function() {
'use strict';
angular
.module('naut')
.service('support', se... | rdemorais/ecar-spa | pe-spa/src/js/modules/common/services/support.service.js | JavaScript | gpl-3.0 | 2,683 |
# Generated by Django 2.0.9 on 2019-01-25 03:02
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('base', '0009_auto_20170824_0722'),
]
operations = [
migrations.AlterField(
model_name='alphagramtag',
name='tag',
... | domino14/Webolith | djAerolith/base/migrations/0010_auto_20190124_1902.py | Python | gpl-3.0 | 488 |
<?php
/*
* GraPHPizer source code analytics engine (cli component)
* Copyright (C) 2015 Martin Helmich <kontakt@martin-helmich.de>
*
* 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... | martin-helmich/graphpizer-cli | src/Persistence/Op/MergeNode.php | PHP | gpl-3.0 | 2,735 |
<a href="?page=<?=$page?>&cate=<?=$cate?>">
<button type="button" class="btn btn-default" ><i class="fa fa-arrow-left"></i> Back to Testimonial List</button>
</a>
<br><br>
<header class="widget-header">
<a href="?page=<?=$page?>&cate=<?=$cate?>">
<button type="button" class="close">×</button>
</a>
<h4 clas... | brandonccy/SmartNano | admincp/modules/pages/about-us/includes/action/editTestimonial.php | PHP | gpl-3.0 | 1,979 |
/* Generated By:JavaCC: Do not edit this line. ParseException.java Version 5.0 */
/* JavaCCOptions:KEEP_LINE_COL=null */
package de.fuberlin.csw.aspectowl.parser;
/**
* This exception is thrown when parse errors are encountered.
* You can explicitly create objects of this exception type by
* calling the method gene... | ag-csw/aspect-owl-protege | src/main/java/de/fuberlin/csw/aspectowl/parser/ParseException.java | Java | gpl-3.0 | 6,190 |
/**
* Copyright (C) 2001-2016 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the... | transwarpio/rapidminer | rapidMiner/rapidminer-studio-core/src/main/java/com/rapidminer/operator/execution/UnitExecutor.java | Java | gpl-3.0 | 1,306 |
package com.fuav.android.view.checklist.row;
import com.fuav.android.R;
import com.fuav.android.view.checklist.CheckListItem;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnFocusChangeListener;
import android.view.ViewGroup;
import android.widget.EditText;
public ... | forgodsake/TowerPlus | Android/src/com/fuav/android/view/checklist/row/ListRow_Note.java | Java | gpl-3.0 | 1,912 |
// Code generated by entc, DO NOT EDIT.
package ent
import (
"context"
"errors"
"fmt"
"entgo.io/ent/dialect/sql/sqlgraph"
"entgo.io/ent/schema/field"
"github.com/gen0cide/laforge/ent/ginfilemiddleware"
"github.com/gen0cide/laforge/ent/provisionedhost"
"github.com/gen0cide/laforge/ent/provisioningstep"
"gith... | gen0cide/laforge | ent/ginfilemiddleware_create.go | GO | gpl-3.0 | 11,377 |
/**
* junit-remote
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope... | Tradeshift/junit-remote | src/main/java/com/tradeshift/test/remote/internal/RedirectingStream.java | Java | gpl-3.0 | 1,372 |
/* This file is part of the db4o object database http://www.db4o.com
Copyright (C) 2004 - 2011 Versant Corporation http://www.versant.com
db4o is free software; you can redistribute it and/or modify it under
the terms of version 3 of the GNU General Public License as published
by the Free Software Foundation.
db4o ... | potty-dzmeia/db4o | src/db4oj.tests/src/com/db4o/db4ounit/common/assorted/TransientCloneTestCase.java | Java | gpl-3.0 | 3,796 |
/*
* This file is part of Applied Energistics 2.
* Copyright (c) 2013 - 2015, AlgorithmX2, All rights reserved.
*
* Applied Energistics 2 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 ver... | itachi1706/Applied-Energistics-2 | src/main/java/appeng/server/subcommands/ChunkLogger.java | Java | gpl-3.0 | 2,932 |
#include "code_generator_widget.h"
#include <iostream>
#include <fstream>
#include <map>
#include <string>
CodeGeneratorWidget::CodeGeneratorWidget(QWidget *parent, Qt::WindowFlags f) : QDialog(parent,f)
{
setupUi(this);
code_hl=new SyntaxHighlighter(code_txt);
code_hl->loadConfiguration(GlobalAttributes... | campisano/pgmodeler | plugins/code_generator/src/code_generator_widget.cpp | C++ | gpl-3.0 | 2,090 |
/**
* -----------------------------------------------------------------------------
* @package smartVISU
* @author Martin Gleiß
* @copyright 2012 - 2015
* @license GPL [http://www.gnu.de]
* -----------------------------------------------------------------------------
*/
/**
* Class for controll... | lbernau/smartVISU-deprecated | driver/io_smarthome.py.js | JavaScript | gpl-3.0 | 5,820 |
/*
Copyright 2012 James Edwards
This file is part of Jhrome.
Jhrome 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) any later version.
Jhrome is distr... | DJVUpp/Desktop | djuvpp-djvureader-_linux-f9cd57d25c2f/DjVuReader++/src/com/newgroup/tabs/event/TabAddedEvent.java | Java | gpl-3.0 | 1,427 |
# -*- coding: utf-8 -*-
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All configuration values have a default; values that are commented out
# serve to show the default.
import json
... | malept/gmusicprocurator | docs/conf.py | Python | gpl-3.0 | 12,282 |
#!python3
import os
import sys
import fnmatch
import re
import shutil
import subprocess
PYTEST = "pytest"
FLAKE8 = "flake8"
BLACK = "black"
BLACK_FLAGS = ["-l", "79"]
PYGETTEXT = os.path.join(sys.base_prefix, "tools", "i18n", "pygettext.py")
INCLUDE_PATTERNS = {"*.py"}
EXCLUDE_PATTERNS = {
"build/*",
"docs/*"... | mu-editor/mu | make.py | Python | gpl-3.0 | 12,681 |
<?php
// declare(encoding='UTF-8');
/**
* Classe Registre, qui permet un accès à différentes variables et paramètres à travers les autres classes.
* C'est un remplaçant à la variable magique $_GLOBALS de Php.
* C'est un singleton.
* Si vous voulez paramètré votre application via un fichier de configuration, utilise... | jpmilcent/depim | server/framework/Registre.php | PHP | gpl-3.0 | 2,499 |
{
aboutMessage: "Über ProjecQtOr …",
aboutMessageLocale: "Lokal",
aboutMessageWebsite: "Webseite",
AccessProfile: "Zugriffsprofile",
accessProfileGlobalCreator: "Ersteller+",
accessProfileGlobalManager: "Manager+",
accessProfileGlobalReader: "Leser+",
accessProfileGlobalUpdater: "Änderer+",
accessProfileNoAccess: "Kein... | nikochan2k/projeqtor-ja | tool/i18n/nls/de/lang.js | JavaScript | gpl-3.0 | 84,654 |
<?php
/**
*
* @package mahara
* @subpackage dwoo
* @author Catalyst IT Ltd
* @author Jordi Boggiano <j.boggiano@seld.be>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL version 3 or later
* @copyright For copyright information on Mahara, please see the README file distributed with this sof... | MaharaProject/mahara | htdocs/lib/dwoo/mahara/Dwoo_Template_Mahara.php | PHP | gpl-3.0 | 4,089 |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
\\ / O peration | Version: 3.2
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For ... | Unofficial-Extend-Project-Mirror/foam-extend-foam-extend-3.2 | src/finiteArea/fields/faPatchFields/constraint/wedge/wedgeFaPatchField.C | C++ | gpl-3.0 | 5,145 |
package rprogn.callables.stack;
import rprogn.callables.Callable;
import rprogn.functions.Scope;
import rprogn.interpreter.Interpreter;
import rprogn.variable.Var;
import rprogn.variable.VarStack;
public class CallablePush implements Callable {
@Override
public void Call(Interpreter interpreter, Scope scope) {
V... | TehFlaminTaco/RProgN-2 | source/src/rprogn/callables/stack/CallablePush.java | Java | gpl-3.0 | 641 |
/*
* WANDORA
* Knowledge Extraction, Management, and Publishing Application
* http://wandora.org
*
* Copyright (C) 2004-2015 Wandora Team
*
* 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 Foundatio... | Anisorf/ENCODE | encode/src/org/wandora/application/server/WebAppHelper.java | Java | gpl-3.0 | 2,691 |
package domain.dao;
import java.sql.Timestamp;
import java.util.Date;
import javax.persistence.ParameterMode;
import javax.persistence.Query;
import javax.persistence.StoredProcedureQuery;
import org.hibernate.Session;
import hibernate.HibernateConnection;
/**
* The Class DAOSimulator.
*/
public class DAOSimulat... | Maracars/POPBL5 | src/domain/dao/DAOSimulator.java | Java | gpl-3.0 | 3,764 |
/****************************************************************************
** Copyright (C) 2014-2017 Dream IP
**
** This file is part of GPStudio.
**
** GPStudio is a 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... | DreamIP/GPStudio | gui-tools/src/gpstudio_gui/viewer/viewerwidgets/pdfviewer.cpp | C++ | gpl-3.0 | 1,292 |
# Generated by Django 2.0 on 2018-02-26 22:11
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('CreateYourLaws', '0012_codeblock_is_cdp'),
]
operations = [
migrations.RenameField(
model_name='codeblock',
old_name='is_cdp',... | denisjul/democratos | democratos/CreateYourLaws/migrations/0013_auto_20180226_2211.py | Python | gpl-3.0 | 369 |
/**
* @file mirror/pre_registered/default.hpp
* @brief Pre-registration of the default set of namespace, types,
* classes, etc. with Mirror
*
* Copyright 2008-2010 Matus Chochlik. Distributed under the Boost
* Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.txt or copy at http://www.boost... | firestarter/firestarter | redist/mirror-lib/mirror/pre_registered/default.hpp | C++ | gpl-3.0 | 1,508 |
/*
Sqlmake http://code.google.com/p/sqlmake/
Copyright © 2010-2012 Mitja Golouh
This file is part of Sqlmake.
Sqlmake 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... | danijelkavcic/sqlmake | src/SQLMakeTest/SQLPlusScannerDropStatementsTest.cs | C# | gpl-3.0 | 26,506 |
/*
* This file is part of evQueue
*
* evQueue 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.
*
* evQueue is distributed in t... | anshumang/evqueue-core | evqueue.cpp | C++ | gpl-3.0 | 10,552 |
<?
header('Content-Type: application/json; charset=utf-8');
require_once "MysqliDb.php";
$lat = $_GET['latitude']; // latitude of centre of bounding circle in degrees
$lon = $_GET['longitude']; // longitude of centre of bounding circle in degrees
$rad = $_GET['radius']; // radius of bounding circle in kilomet... | fabienric/geoservice-api | search.php | PHP | gpl-3.0 | 1,709 |
import json
import socket
import sys
attackSocket = socket.socket()
attackSocket.connect(('localhost', 8080))
attackSocket.send("{0}\r\n".format(
json.dumps(
{'membership': "full", 'channel': sys.argv[1], 'message': ' '.join(sys.argv[3:]), 'type': "start", 'which': sys.argv[2]}
)).encode('utf-8'))
attackSocket.clo... | randomrandomlol123/fewgewgewgewhg | sender.py | Python | gpl-3.0 | 325 |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
\\ / O peration | Version: 3.2
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For ... | Unofficial-Extend-Project-Mirror/foam-extend-foam-extend-3.2 | src/thermophysicalModels/pdfs/RosinRammler/RosinRammler.H | C++ | gpl-3.0 | 2,909 |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
\\ / O peration | Version: 3.2
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulati... | Unofficial-Extend-Project-Mirror/foam-extend-foam-extend-3.2 | src/foam/algorithms/polygon/pointInPolygon/HormannAgathos.H | C++ | gpl-3.0 | 4,042 |
<?php
function concat_exclamation($str) {
$str .= "!";
print $str;
}
function concat_exclamation_to_each_value($arr) {
foreach ($arr as $key => $value) {
$arr[$key] = $value . "!";
}
print_r($arr);
}
function concat_exclamation_to_name($obj) {
$obj->newname .= "!";
print_r($obj);
... | themystic/php-demos | object-oriented-programming/passing-by-reference.php | PHP | gpl-3.0 | 2,344 |
<?php
/* Copyright (C) 2015 FH Technikum-Wien
*
* 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 ... | FH-Complete/FHC-AddOn-Bewerbung | cronjobs/neu_registriert_job.php | PHP | gpl-3.0 | 10,904 |
/*===========================================================================*\
* *
* OpenFlipper *
* Copyright (C) 2001-2014 by Computer Graphics Group, RWTH Aachen *
* ... | heartvalve/OpenFlipper | Plugin-Datacontrol/TreeModel.hh | C++ | gpl-3.0 | 7,695 |
/*
package de.elxala.zWidgets
Copyright (C) 2005-2017 Alejandro Xalabarder Aulet
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... | wakeupthecat/gastona | pc/src/javaj/widgets/zImage.java | Java | gpl-3.0 | 9,717 |
/*
* qZeb3D - calculating 3D-point-clouds from Georawfiles/Georohdaten of german ZEB
* Copyright (C) 2016 Christoph Jung
*
* 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 ... | jagodki/qzeb3d | ZebData/Rawdata/track.cpp | C++ | gpl-3.0 | 3,636 |
<?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 an... | MailCleaner/MailCleaner | www/framework/Zend/Search/Lucene/Document/Exception.php | PHP | gpl-3.0 | 1,162 |
/*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Shattered Pixel Dungeon
* Copyright (C) 2014-2021 Evan Debenham
*
* 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 vers... | 00-Evan/shattered-pixel-dungeon | core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Skeleton.java | Java | gpl-3.0 | 3,174 |
<?php
use Phast\System;
System::$Configuration["Database.ServerName"] = "localhost";
System::$Configuration["Database.UserName"] = "Sydne_Sullen";
System::$Configuration["Database.Password"] = "Hb+z.p)iF/}P.*aoIW6efA2.#";
System::$Configuration["Database.DatabaseName"] = "Sydne_SullenStudio";
System::$Co... | alcexhim/Sydne | PrivateWebsite/Include/Configuration.inc.php | PHP | gpl-3.0 | 604 |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'operaciones',
templateUrl: './operaciones.component.html',
styleUrls: ['./operaciones.component.css']
})
export class OperacionesComponent implements OnInit {
constructor() { }
ngOnInit(): void { }
}
| NetRevolutions/SICOTYC | SICOTYC/UI/src/app/sicotyc/operaciones/operaciones.component.ts | TypeScript | gpl-3.0 | 297 |
"""
Indivo Model for VideoMessage
"""
from fact import Fact
from django.db import models
from django.conf import settings
class VideoMessage(Fact):
file_id=models.CharField(max_length=200)
storage_type=models.CharField(max_length=200)
subject=models.CharField(max_length=200)
from_str=models.CharField(max_... | newmediamedicine/indivo_server_1_0 | indivo/models/fact_objects/videomessage.py | Python | gpl-3.0 | 489 |
package de.danielluedecke.zettelkasten.database;
public class Result {
Document[] collection = new Document[0];
public Result() {}
public Result(Document[]collection) {
this.collection = collection;
}
public int getCount() {return collection.length;}
public Document getItem(int i) {... | RalfBarkow/Zettelkasten | src/main/java/de/danielluedecke/zettelkasten/database/Result.java | Java | gpl-3.0 | 345 |
class HomeController < ApplicationController
def index
end
def nice
end
end
| tudor3084/percent2 | app/controllers/home_controller.rb | Ruby | gpl-3.0 | 95 |
/**************************************************************************
* Otter Browser: Web browser controlled by the user, not vice-versa.
* Copyright (C) 2015 - 2016 Michal Dutkiewicz aka Emdek <michal@emdek.pl>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the ... | elebow/otter | src/ui/toolbars/BookmarkWidget.cpp | C++ | gpl-3.0 | 4,719 |
package com.simplecity.amp_library.ui.modelviews;
import android.support.annotation.Nullable;
import android.text.TextUtils;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import butterknife.BindView;
import butterknife.ButterKnife;
import com.simplecity.amp_library.R;
import ... | timusus/Shuttle | app/src/main/java/com/simplecity/amp_library/ui/modelviews/GenreView.java | Java | gpl-3.0 | 3,659 |
package worker
import (
"context"
"encoding/json"
"errors"
"fmt"
"io"
"net/http"
"sync"
"time"
"github.com/docker/distribution/reference"
dc "github.com/docker/docker/client"
"github.com/ethereum/go-ethereum/common"
log "github.com/noxiouz/zapctx/ctxlog"
"github.com/opencontainers/go-digest"
"github.com... | sonm-io/core | insonmnia/worker/whitelist.go | GO | gpl-3.0 | 3,863 |
<?php
/**
* flatCore Content Management System
* Installer/Updater
*/
session_start();
error_reporting(E_ALL ^E_NOTICE);
require '../config.php';
$modus = 'install';
define('INSTALLER', TRUE);
if(isset($_GET['l']) && is_dir('../lib/lang/'.basename($_GET['l']).'/')) {
$_SESSION['lang'] = basename($_GET['l']);
}... | flatCore/flatCore-CMS | install/index.php | PHP | gpl-3.0 | 2,785 |
using System.Diagnostics;
using System.ComponentModel;
using System.IO;
using System.Text;
namespace System.IO.Ports
{
[MonitoringDescriptionAttribute("SerialPortDesc")]
public class SerialPort : Component
{
public const int InfiniteTimeout = -1;
[MonitoringDescriptionAttribute("Serial... | zebraxxl/CIL2Java | StdLibs/System/System/IO/Ports/SerialPort.cs | C# | gpl-3.0 | 11,104 |
/*
* Created: 15.04.2012
*
* Copyright (C) 2012 Victor Antonovich (v.antonovich@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 Foundation, either version 3 of the License, or
* (at you... | 3cky/bkemu-android | app/src/main/java/su/comp/bk/arch/cpu/opcode/CmpOpcode.java | Java | gpl-3.0 | 3,085 |
# -*- coding: utf-8 -*-
# Copyright (C) 2007-2010 Toms Bauģis <toms.baugis at gmail.com>
# This file is part of Project Hamster.
# Project Hamster 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 vers... | landonb/hamster-applet | src/hamster/widgets/dayline.py | Python | gpl-3.0 | 13,958 |
<?php
/*
Template Name: Proyectos
*/
get_header();
the_post();
?>
<div id="primary" class="content-area col-md-9 col-xs-12">
<div id="content" class="site-content col-xs-12">
<article id="post-<?php the_ID() ?>" <?php post_class() ?>>
<header class="entry-header">
<h1 class="entry-title"><?php the_title(... | ETICAGNU/eticagnuwptheme | proyectos.php | PHP | gpl-3.0 | 1,313 |
<?
namespace Module\Car\Offer\Admin
{
class Detail extends \System\Module
{
public function run()
{
$rq = $this->request;
$res = $this->response;
$ident = $this->req('ident');
$offer = \Car\Offer::get_first()
->where(array(
'ident' => $ident,
'visible' => true
))
->fetch();
... | just-paja/improtresk-2015 | lib/module/car/offer/admin/detail.php | PHP | gpl-3.0 | 1,186 |
/**
* Copyright (C) 2011 Eric Huang
*
* This file is part of rectpack.
*
* rectpack 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 vers... | pupitetris/rectpack | src/ConflictBT.cc | C++ | gpl-3.0 | 5,723 |
import simplejson
import traceback
import logging
import os
import requests
from collections import OrderedDict
from string import ascii_letters, digits
ID = "nem"
permission = 1
nem_logger = logging.getLogger("NEM_Tools")
# Colour Constants for List and Multilist command
COLOURPREFIX = unichr(3)
COLOUREND = COLOUR... | NotEnoughMods/NotEnoughModPolling | NotEnoughMods_Tools.py | Python | gpl-3.0 | 19,543 |
def __load():
import imp, os, sys
ext = 'pygame/imageext.so'
for path in sys.path:
if not path.endswith('lib-dynload'):
continue
ext_path = os.path.join(path, ext)
if os.path.exists(ext_path):
mod = imp.load_dynamic(__name__, ext_path)
break
e... | mokuki082/EggDrop | code/build/bdist.macosx-10.6-intel/python3.4-standalone/app/temp/pygame/imageext.py | Python | gpl-3.0 | 397 |
//
// Copyright (c) 2014 richards-tech
//
// This file is part of VRWidgetLib
//
// VRWidgetLib 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... | robotage/SyntroApps | SyntroCommon/GL/VRWidgetLib/VRPlaneWidget.cpp | C++ | gpl-3.0 | 2,597 |
/*****************************************************************
* This file is part of Managing Agricultural Research for Learning &
* Outcomes Platform (MARLO).
* MARLO is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free... | CCAFS/MARLO | marlo-data/src/main/java/org/cgiar/ccafs/marlo/data/dao/mysql/DeliverableUserPartnershipMySQLDAO.java | Java | gpl-3.0 | 4,091 |
package cuina.map;
import cuina.database.KeyReference;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* Rasterbasiertes Spielfeld mit Terraininformationen.
* <p>
* Enthält weitere ... | TheWhiteShadow3/cuina | CuinaEclipse/cuina.editor.map/src/cuina/map/Map.java | Java | gpl-3.0 | 2,507 |
class CreateIssues < ActiveRecord::Migration[4.2]
def change
create_table :issues do |t|
t.references :user, null: false, index: true, foreign_key: true
t.string :barcode, null: false
t.text :message, null: false
t.integer :resolver_id, index: true
t.timestamp :resolved_at
t.t... | ndlib/annex-ims | db/migrate/20150428155251_create_issues.rb | Ruby | gpl-3.0 | 418 |
using System;
using EP.SOLID.DIP.Solucao.Interfaces;
namespace EP.SOLID.DIP.Solucao
{
public class Cliente
{
private readonly ICPFServices _cpfServices;
private readonly IEmailServices _emailServices;
public Cliente(
ICPFServices cpfServices,
IEmailServices em... | CARLORION/PrincipiosSOLID | EP.SOLID/5 - DIP/DIP.Solucao/Cliente.cs | C# | gpl-3.0 | 794 |
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2017-02-01 20:16
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('djreceive', '0024_auto_20170131_1732'),
]
operations = [
migrations.RemoveFiel... | rivasd/djPsych | djreceive/migrations/0025_auto_20170201_1516.py | Python | gpl-3.0 | 1,227 |
// Core functionality inspired by http://www.ghosthorses.co.uk/production-diary/super-simple-responsive-progress-bar/
jQuery(function($) {
moveProgressBar();
$(window).resize(function() {
moveProgressBar();
});
function moveProgressBar() {
$('.rprogress-wrap').each(function(i, e) {
var ge... | wp-plugins/responsive-progress-bar | assets/js/responsive-progressbar.js | JavaScript | gpl-3.0 | 642 |
#include <SFML/Window.hpp>
#include <SFML/OpenGL.hpp>
#include <stdio.h>
#include <math.h>
//CONSTANTS
#define GL_PI (3.141592653f)
//GLOBALS
GLboolean g_vsync = false;
GLboolean g_run = true;
//WIN VARS (Start square)
GLuint win_w = 600;
GLuint win_h = 600;
//LIMITS
GLfloat limit = 100.0f;
GLfloat rot_inc = ... | neptoess/opengl-superbible-fourth | ch03/Pointsz/src/main.cpp | C++ | gpl-3.0 | 3,535 |
import Modal from '../../src/modal'
import EventHandler from '../../src/dom/event-handler'
import ScrollBarHelper from '../../src/util/scrollbar'
/** Test helpers */
import { clearBodyAndDocument, clearFixture, createEvent, getFixture, jQueryMock } from '../helpers/fixture'
describe('Modal', () => {
let fixtureEl
... | kmcurry/3Scape | public/bower_components/bootstrap/js/tests/unit/modal.spec.js | JavaScript | gpl-3.0 | 35,285 |
/**
* Dokuwiki Namespaced template java file
*
* @link https://www.dokuwiki.org/template:namespaced
* @author Simon DELAGE <sdelage@gmail.com>
* @license GPL 2 (https://www.gnu.org/licenses/gpl-2.0.html)
*
* Here comes java magic
*
* We handle several device classes based on browser width.
* - desktop: ... | geekitude/dokuwiki-template-namespaced | script.js | JavaScript | gpl-3.0 | 4,265 |
const teams = [
{
id: "sln",
full: "St. Louis Cardinals",
location: "St. Louis",
nickname: "Cardinals",
},
{
id: "mil",
full: "Milwaukee Brewers",
location: "Milwaukee",
nickname: "Brewers",
},
{
id: "atl",
full: "Atlanta Braves",
location: "Atlanta",
nickname: "Braves",
},
{
id: "nyn... | Conrad2134/pitchfx | src/teams.js | JavaScript | gpl-3.0 | 2,914 |