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) 2010-2021 JPEXS
*
* 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... | jindrapetrik/jpexs-decompiler | src/com/jpexs/decompiler/flash/gui/abc/DecompiledEditorPane.java | Java | gpl-3.0 | 33,603 |
<?php
namespace Opifer\QueueIt\Validation;
interface ValidateResultRepositoryInterface
{
public function getValidationResult($queue);
public function setValidationResult($queue, $validationResult);
}
| Opifer/queue-it | src/Validation/ValidateResultRepositoryInterface.php | PHP | gpl-3.0 | 210 |
/* Inclusão das bibliotecas requisitadas: */
#include "../Bibliotecas/Diretorios.hpp"
/* Definições das funções a serem manipuladas por este arquivo: */
/* Função 'arq_escreve_resize', escreve o aviso de redimensionamento */
void arq_escreve_resize (FILE *arq){
/* 'arq' armazena o arquivo lógico a ser escrito ... | rodrigofegui/UnB | 2015.2/Intro. Proc. Imagem/Trabalhos/Trabalho 1/Codificação_Trab1_rev1/Fontes/Diretorios.cpp | C++ | gpl-3.0 | 7,622 |
#!/usr/bin/env python
"""Publish coverage results online via coveralls.io
Puts your coverage results on coveralls.io for everyone to see.
It makes custom report for data generated by coverage.py package and sends it to `json API`_ of coveralls.io service.
All python files in your coverage analysis are posted to this s... | phimpme/generator | Phimpme/site-packages/coveralls/cli.py | Python | gpl-3.0 | 1,907 |
/*
* Copyright (C) 2016 Matthew Seal
*
* 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 ... | matthewseal/ServerControl | src/org/mseal/control/server/CommandImpl.java | Java | gpl-3.0 | 1,539 |
/*
Copyright (C) 2014-2017 Wolfger Schramm <wolfger@spearwolf.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 version 3 of the License, or
(at your option) any later version.
This p... | spearwolf/kiwotigo | region_group.go | GO | gpl-3.0 | 1,706 |
package net.egyptmagicians.mod;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
public class _MCreativeTabs {
public static CreativeTabs TabEgyptMagicians;
public static ... | jasonw930/egyptmagicians | net/egyptmagicians/mod/_MCreativeTabs.java | Java | gpl-3.0 | 528 |
import { Empty as _Empty } from 'elementor-document/elements/commands';
import ElementsHelper from '../../elements/helper';
export const Empty = () => {
QUnit.module( 'Empty', () => {
QUnit.test( 'Single Selection', ( assert ) => {
const eColumn = ElementsHelper.createSection( 1, true );
ElementsHelper.creat... | kobizz/elementor | tests/qunit/core/editor/document/elements/commands/empty.spec.js | JavaScript | gpl-3.0 | 1,829 |
package task19;
public class Car {
public int speed;
public String name;
public String color;
public Car(){
this.speed = 0;
this.name = "noname";
this.color = "unpainted";
}
public Car(int speed, String name, String color) {
super();
this.speed = speed;
this.name = name;
this.color = color;
... | yulgutlin/eclipsewokspace | task19/src/task19/Car.java | Java | gpl-3.0 | 650 |
/*
Atmosphere Autopilot, plugin for Kerbal Space Program.
Copyright (C) 2015-2016, Baranin Alexander aka Boris-Barboris.
Atmosphere Autopilot 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 ... | Boris-Barboris/AtmosphereAutopilot | AtmosphereAutopilot/Modules/MouseDirector.cs | C# | gpl-3.0 | 5,249 |
/*
* Copyright (c) 2016.
* Modified by Neurophobic Animal on 07/06/2016.
*/
package cm.aptoide.pt.dataprovider.model.v7;
import java.util.List;
/**
* List of various malware reasons http://ws2.aptoide .com/api/7/getApp/apk_md5sum/7de07d96488277d8d76eafa2ef66f5a8
* <p>
* <p>
* RANK2: http://ws2.aptoide.com/api... | Aptoide/aptoide-client-v8 | dataprovider/src/main/java/cm/aptoide/pt/dataprovider/model/v7/Malware.java | Java | gpl-3.0 | 20,548 |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("About")]
[assembly: AssemblyDescription("")]
[assembly: ... | tor4kichi/ReactiveFolder | Module/About/Properties/AssemblyInfo.cs | C# | gpl-3.0 | 2,785 |
/**
* This file is part of veraPDF Parser, a module of the veraPDF project.
* Copyright (c) 2015, veraPDF Consortium <info@verapdf.org>
* All rights reserved.
*
* veraPDF Parser is free software: you can redistribute it and/or modify
* it under the terms of either:
*
* The GNU General public license GPLv3+.
* ... | shem-sergey/veraPDF-pdflib | src/main/java/org/verapdf/cos/filters/COSFilterRC4DecryptionDefault.java | Java | gpl-3.0 | 4,631 |
/*! \file DetectorDriver.cpp
* \brief Main driver for event processing
* \author S. N. Liddick
* \date July 2, 2007
*/
#include <algorithm>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <limits>
#include <sstream>
//This header is for decoding the XML
///@TODO The XML deco... | pixie16/paassdoc | Analysis/Utkscan/core/source/DetectorDriver.cpp | C++ | gpl-3.0 | 28,756 |
/**
* Copyright (C) 2005-2015, Stefan Strömberg <stestr@nethome.nu>
*
* This file is part of OpenNetHome.
*
* OpenNetHome 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,... | NetHome/ZWave | src/main/java/nu/nethome/zwave/messages/commandclasses/MultiLevelSwitchCommandClass.java | Java | gpl-3.0 | 7,780 |
package com.bryanrm.ftptransfer.network;
import android.content.Context;
import android.os.AsyncTask;
import android.widget.Toast;
import com.bryanrm.ftptransfer.R;
import com.bryanrm.ftptransfer.ftp.WrapFTP;
import java.io.InputStream;
/**
* Created by Bryan R Martinez on 1/3/2017.
*/
public class Upload extends... | bryanrm/android-ftp-transfer | app/src/main/java/com/bryanrm/ftptransfer/network/Upload.java | Java | gpl-3.0 | 1,453 |
package org.flowerplatform.util.diff_update;
import java.io.Serializable;
import java.util.Objects;
/**
*
* @author Claudiu Matei
*
*/
public class DiffUpdate implements Serializable {
private static final long serialVersionUID = -7517448831349466230L;
private long id;
private long timestam... | flower-platform/flower-platform-4 | org.flowerplatform.util/src/org/flowerplatform/util/diff_update/DiffUpdate.java | Java | gpl-3.0 | 1,571 |
# Load the Rails application.
require_relative 'application'
# Initialize the Rails application.
Rails.application.initialize!
if ActiveRecord::Base.connection.pool.connected? then
puts "connection size is #{ActiveRecord::Base.connection.pool.size}"
puts "new connection size is #{ActiveRecord::Base.connection.pool... | shinjiro-itagaki/shinjirecs | shinjirecs-rails-server/config/environment.rb | Ruby | gpl-3.0 | 573 |
/**
* Balero CMS Project: Proyecto 100% Mexicano de código libre.
* Página Oficial: http://www.balerocms.com
*
* @author Anibal Gomez <anibalgomez@icloud.com>
* @copyright Copyright (C) 2015 Neblina Software. Derechos reservados.
* @license Licencia BSD; vea LICENSE.txt
*/
package com.neblina.balero;... | neblina-software/balerocms-v2 | src/main/java/com/neblina/balero/Application.java | Java | gpl-3.0 | 1,024 |
/*
* gVirtuS -- A GPGPU transparent virtualization component.
*
* Copyright (C) 2009-2010 The University of Napoli Parthenope at Naples.
*
* This file is part of gVirtuS.
*
* gVirtuS is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
... | Donkey-Sand/gvirtus-multiGPU | gvirtus.cudart/backend/CudaRtHandler_device.cpp | C++ | gpl-3.0 | 9,738 |
# -*- coding: utf8 -*-
from yanntricks import *
def UQZooGFLNEq():
pspict,fig = SinglePicture("UQZooGFLNEq")
pspict.dilatation_X(1)
pspict.dilatation_Y(1)
mx=-5
Mx=5
x=var('x')
f=phyFunction( arctan(x) ).graph(mx,Mx)
seg1=Segment( Point(mx,pi/2),Point(Mx,pi/2) )
seg2=Segment( Poin... | LaurentClaessens/mazhe | src_yanntricks/yanntricksUQZooGFLNEq.py | Python | gpl-3.0 | 671 |
'use strict';
module.exports = {
minVersion: "5.0.0",
currentVersion: "5.2.0",
activeDelegates: 101,
addressLength: 208,
blockHeaderLength: 248,
confirmationLength: 77,
epochTime: new Date(Date.UTC(2016, 4, 24, 17, 0, 0, 0)),
fees:{
send: 10000000,
vote: 100000000,
secondsignature: 500000000,
delegate:... | shiftcurrency/shift | helpers/constants.js | JavaScript | gpl-3.0 | 1,217 |
<?php
/**
* @package GPL Cart core
* @author Iurii Makukh <gplcart.software@gmail.com>
* @copyright Copyright (c) 2015, Iurii Makukh
* @license https://www.gnu.org/licenses/gpl.html GNU/GPLv3
*/
namespace gplcart\core\models;
use gplcart\core\Hook;
use gplcart\core\models\Translation as TranslationModel;
/**
... | gplcart/gplcart | system/core/models/Payment.php | PHP | gpl-3.0 | 3,062 |
package testutils;
import java.util.Random;
public class TestHelper {
public static byte[] getTestData(int size) {
byte[] bytes = new byte[size];
new Random().nextBytes(bytes);
return bytes;
}
public static boolean compareBytes(byte[] x, byte[] y) {
if ... | dylsmith8/JavaIPC | Windows Implementation/JavaIPC/javawinipc/testprograms/testutils/TestHelper.java | Java | gpl-3.0 | 533 |
const path = require('path');
const webpack = require('webpack');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var ScriptExtHtmlWebpackPlugin = require('script-ext-html-webpack-plugin');
var CopyWebpackPlugin = require('copy-webpack-plugin');
module.exports = {
// 页面入口文件配置 entry: { app: [ path.norma... | saas-plat/saas-plat-native | web/webpack.config.js | JavaScript | gpl-3.0 | 3,434 |
package org.saintandreas.serket.scpd;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.xml.namespace.QName;
import javax.xml.soap.SOAPBodyElement;
import javax.xml.soap.SOAPException;
import javax.xml.soap.SOAPMessage;
import org.saintandreas.serket.service.BaseService;
im... | jherico/serket | serket-scpd/src/main/java/org/saintandreas/serket/scpd/ConnectionManager2.java | Java | gpl-3.0 | 14,975 |
<?php
/**
*@package pXP
*@file gen-MODGrupoEp.php
*@author (admin)
*@date 22-04-2013 14:49:40
*@description Clase que envia los parametros requeridos a la Base de datos para la ejecucion de las funciones, y que recibe la respuesta del resultado de la ejecucion de las mismas
*/
class MODGrupoEp extends MODbase{
fun... | boabo/pxp | sis_parametros/modelo/MODGrupoEp.php | PHP | gpl-3.0 | 3,739 |
<?php
/**
* Translation Manager for Android Apps
*
* PHP version 7
*
* @category PHP
* @package TranslationManagerForAndroidApps
* @author Andrej Sinicyn <rarogit@gmail.com>
* @copyright 2017 Andrej Sinicyn
* @license https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License version 3 or lat... | rarog/TranslationManagerForAndroidApps | config/modules.config.php | PHP | gpl-3.0 | 1,034 |
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
/*
* FinderPatternFinder.cpp
* zxing
*
* Created by Christian Brunschen on 13/05/2008.
* Copyright 2008 ZXing authors All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file ... | fogelton/fraqtive | qzxing/zxing/zxing/qrcode/detector/QRFinderPatternFinder.cpp | C++ | gpl-3.0 | 23,368 |
int lire_driver (char *nom);
int select_driver (void);
| DrCoolzic/BIG2 | BIG2_DOC/SRCS/BDOC_IMP.H | C++ | gpl-3.0 | 55 |
<?php
/**
* General Debugger-Class, implementing a FirePHP-Debugger,
* for usage see http://www.firephp.org/HQ/Use.htm
*
* Usage for Classees implementing Config.php:
* if ($this->debugger) $this->debugger->log($data, "Label");
*
* @package moosique.net
* @author Steffen Becker
*/
class Debugger {
priv... | daftano/dl-learner | moosique.net/moosique/classes/Debugger.php | PHP | gpl-3.0 | 892 |
<?php
require_once(dirname($_SERVER['SCRIPT_FILENAME'])."/../src/Common/all.php");
$from = $argv[1];
if ($argc>2)
{
$to = $argv[2];
}
else
{
$to = ".";
}
list($stdout, $stderr) = exec2("ln -fs ".get_path("test_data_folder")."{$from} {$to}");
?> | imgag/megSAP | test/link_test_data.php | PHP | gpl-3.0 | 250 |
##
import argparse
from plotWheels.helical_wheel import helical_wheel
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Generate Helical Wheel")
parser.add_argument("--sequence",dest="sequence",type=str)
parser.add_argument("--seqRange",dest="seqRange",type=int,default=1)
parse... | TAMU-CPT/galaxy-tools | tools/helicalWheel/generateHelicalWheel.py | Python | gpl-3.0 | 4,144 |
# SKIP(Social Knowledge & Innovation Platform)
# Copyright (C) 2008-2010 TIS 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, either version 3 of the License, or
# (at your option) any lat... | openskip/skip | spec/models/user_spec.rb | Ruby | gpl-3.0 | 52,460 |
angular.module('starter.controllers')
.controller('HistoryCtrl', function($scope) {
$scope.history = [
{ label: "Today, 10am-11am", min: 60, max: 87},
{ label: "Today, 9am-10am", min: 62, max: 76},
{ label: "Today, 8am-9am", min: 55, max: 79},
{ label: "Yesterday, 10pm-11pm", min: 66, max... | JBeaudaux/JBeaudaux.github.io | OpenHeart/js/history.js | JavaScript | gpl-3.0 | 987 |
const editor = require('./form-editor/form-editor.js')
const fields = require('./form-editor/fields.js')
const settings = require('./settings')
const notices = {}
function show (id, text) {
notices[id] = text
render()
}
function hide (id) {
delete notices[id]
render()
}
function render () {
let html = ''
... | ibericode/mailchimp-for-wordpress | assets/src/js/admin/notices.js | JavaScript | gpl-3.0 | 2,625 |
package hu.rgai.yako.beens;
import java.util.*;
import android.os.Parcel;
import android.os.Parcelable;
/**
*
* @author Tamas Kojedzinszky
*/
public class MainServiceExtraParams implements Parcelable {
public static final Parcelable.Creator<MainServiceExtraParams> CREATOR = new Parcelable.Creator<MainServiceE... | k-kojak/yako | src/hu/rgai/yako/beens/MainServiceExtraParams.java | Java | gpl-3.0 | 5,416 |
<?
//
// TorrentTrader v2.x
// This file was last updated: 06/03/2009 by TorrentialStorm
//
// http://www.torrenttrader.org
//
//
require_once("backend/functions.php");
dbconn();
//check permissions
if ($site_config["MEMBERSONLY"]){
loggedinonly();
if($CURUSER["view_torrents"]=="no")
show_error_msg("Error","You... | BamBam0077/TorrentTrader-2.06 | torrents-search.php | PHP | gpl-3.0 | 13,485 |
# -*- coding: utf-8 -*-
from django.db import models
from django.utils.translation import ugettext_lazy as _
from redsolutioncms.models import CMSSettings, BaseSettings, BaseSettingsManager
FIELD_TYPES = (
('BooleanField', _('Checkbox')),
('CharField', _('Character field')),
('Text', _('Text area')),
... | redsolution/django-simple-feedback | feedback/redsolution_setup/models.py | Python | gpl-3.0 | 1,391 |
/*==============================================================================
* File $Id$
* Project: ProWim
*
* $LastChangedDate: 2010-07-19 17:01:15 +0200 (Mon, 19 Jul 2010) $
* $LastChangedBy: wardi $
* $HeadURL: https://repository.ebcot.info/wivu/trunk/prowim-server/src/de/ebcot/prowim/datamodel/prowi... | prowim/prowim | prowim-data/src/org/prowim/datamodel/prowim/ProcessElement.java | Java | gpl-3.0 | 7,775 |
# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
"""
oauthlib.oauth1.rfc5849
~~~~~~~~~~~~~~
This module is an implementation of various logic needed
for signing and checking OAuth 1.0 RFC 5849 requests.
"""
import logging
log = logging.getLogger("oauthlib")
import sys
import time
try... | raqqun/tweetcommander | packages/oauthlib/oauth1/rfc5849/__init__.py | Python | gpl-3.0 | 49,724 |
/*
* Copyright 2008 Michal Turek
*
* This file is part of Graphal library.
* http://graphal.sourceforge.net/
*
* Graphal library 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, version 3 of the ... | mixalturek/graphal | libgraphal/generated/nodebinarydiv.cpp | C++ | gpl-3.0 | 2,018 |
// Copyright (c) 2015 Contributors as noted in the AUTHORS file.
// This file is part of form_factors.
//
// form_factors 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
/... | kroburg/form_factors | runner/TaskParser.cpp | C++ | gpl-3.0 | 2,648 |
/*
pMMF is an open source software library for efficiently computing
the MMF factorization of large matrices.
Copyright (C) 2015 Risi Kondor, Nedelina Teneva, Pramod Mudrakarta
This file is part of pMMF.
pMMF is free software: you can redistribute it and/or modify
it under the terms of t... | risi-kondor/pMMF | filetypes/DenseMatrixFileASCII.hpp | C++ | gpl-3.0 | 2,198 |
/*
* Copyright (C) 2008 J?lio Vilmar Gesser.
*
* This file is part of Java 1.5 parser and Abstract Syntax Tree.
*
* Java 1.5 parser and Abstract Syntax Tree 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 Soft... | codesearch-github/codesearch | src/custom-libs/Codesearch-JavaParser/src/main/java/japa/parser/JavaParser.java | Java | gpl-3.0 | 4,813 |
/*------------------------------------------------------------------------
*
* copyright : (C) 2008 by Benjamin Mueller
* email : news@fork.ch
* website : http://sourceforge.net/projects/adhocrailway
* version : $Id: MemoryRoutePersistence.java 154 2008-03-28 14:30:54Z fork_ch $
*
*-------------------... | forkch/adhoc-railway | ch.fork.adhocrailway.persistence.xml/src/main/java/ch/fork/adhocrailway/persistence/xml/impl/XMLRouteService.java | Java | gpl-3.0 | 4,013 |
/*
Gerador de nomes
@author Maickon Rangel
@copyright Help RPG - 2016
*/
function download_para_pdf(){
var doc = new jsPDF();
var specialElementHandlers = {
'#editor': function (element, renderer) {
return true;
}
};
doc.fromHTML($('#content').html(), 15, 15, {
'width': 170,
... | maickon/Help-RPG-4.0 | app/assets/js/nomes/nomes.js | JavaScript | gpl-3.0 | 2,470 |
#ifndef XTRAS_TYPEMATH_HPP_
#define XTRAS_TYPEMATH_HPP_
#include <type_traits>
#include <functional>
namespace xtras {
namespace typemath {
template<auto V>
using make_integral_constant = std::integral_constant<decltype(V), V>;
template<typename Op, typename T1, typename T2>
using binary_op = make_integral_constant... | witosx/rafalw | src/xtras/typemath.hpp | C++ | gpl-3.0 | 2,158 |
/*
ppddl-planner - client for IPPC'08
Copyright (C) 2008 Florent Teichteil-Koenigsbuch and Guillaume Infantes and Ugur Kuter
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 ver... | fteicht/ppddl-planner | src/algorithms/symbolic_lao.cc | C++ | gpl-3.0 | 5,674 |
define(['forum/accountheader'], function(header) {
var AccountSettings = {};
AccountSettings.init = function() {
header.init();
$('#submitBtn').on('click', function() {
var settings = {
showemail: $('#showemailCheckBox').is(':checked') ? 1 : 0
};
socket.emit('user.saveSettings', settings, functio... | changyou/NadBB | public/src/forum/accountsettings.js | JavaScript | gpl-3.0 | 522 |
<?php
/**
* @version $Id$
* @copyright Center for History and New Media, 2007-2010
* @license http://www.gnu.org/licenses/gpl-3.0.txt
* @package Omeka
**/
/**
*
*
* @package Omeka
* @copyright Center for History and New Media, 2007-2010
**/
class Omeka_File_Derivative_Image_Creator_CreatorTest extends PHPUn... | sipes23/Omeka | application/tests/unit/libraries/Omeka/File/Derivative/Image/CreatorTest.php | PHP | gpl-3.0 | 4,163 |
/**
* 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 Free So... | transwarpio/rapidminer | rapidMiner/rapidminer-studio-core/src/test/java/com/rapidminer/example/test/ExampleTestTools.java | Java | gpl-3.0 | 5,152 |
// Decompiled with JetBrains decompiler
// Type: System.CodeDom.Compiler.CodeParser
// Assembly: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// MVID: 5ABD58FD-DF31-44FD-A492-63F2B47CC9AF
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.dll
using System.CodeDom;
... | mater06/LEGOChimaOnlineReloaded | LoCO Client Files/Decompressed Client/Extracted DLL/System/System/CodeDom/Compiler/CodeParser.cs | C# | gpl-3.0 | 1,547 |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "protocol.h"
#include "util.h"
#include "netbase.h"
#ifndef WIN32
# incl... | bitcf/bitcf | src/protocol.cpp | C++ | gpl-3.0 | 4,685 |
"""Feat components."""
from component_objects import Component, Element
class FeatAddModal(Component):
"""Definition of feat add modal component."""
modal_div_id = 'addFeat'
name_id = 'featAddNameInput'
description_id = 'featAddDescriptionTextarea'
tracked_id = 'featAddTrackedCheckbox'
max_i... | adventurerscodex/uat | components/core/character/feats.py | Python | gpl-3.0 | 1,902 |
package introsde.rest.client;
import java.net.URI;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.WebTarget;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.UriBuilder;
import org.glassfish.jersey.client.ClientConfig;
public class Test {
public static... | IntroSDE/introsde | lab05/Examples/src/introsde/rest/client/Test.java | Java | gpl-3.0 | 1,518 |
#include "prizelistmodel.h"
#include <QStringList>
prizelistmodel::prizelistmodel(QObject *parent) : QAbstractListModel(parent)
{
content = new QStringList;
}
QVariant prizelistmodel::data(const QModelIndex &index, int role) const
{
if( !index.isValid() || index.row() > content->size() || (role != Qt::Displa... | flesniak/duckracer2 | prizelistmodel.cpp | C++ | gpl-3.0 | 3,254 |
/**
* This file is part of alf.io.
*
* alf.io 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.
*
* alf.io is distributed in the ... | exteso/alf.io | src/test/java/alfio/manager/payment/saferpay/RequestHeaderBuilderTest.java | Java | gpl-3.0 | 2,377 |
/*
* QuestManager: An RPG plugin for the Bukkit API.
* Copyright (C) 2015-2016 Github Contributors
*
* 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, o... | Dove-Bren/QuestManager | src/main/java/com/skyisland/questmanager/effects/EntityConfirmEffect.java | Java | gpl-3.0 | 1,904 |
/*======================================================================
maker :jiaxing.shen
date :2014.12.10
email :55954781@qq.com
======================================================================*/
#include "m_include.h"
#include "m_nvic.h"
#include "m_eep.h"
#include "stm32746g_discovery.h"
#include "stm... | jackeyjiang/meizi_f7disc | GUIDemo/emwin_task/smarthome/fdm/m_eep.cpp | C++ | gpl-3.0 | 6,013 |
package sc.ndt.editor.fast.ui.mpe.outline;
import java.util.ArrayList;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.action.IStatusLineManager;
import org.eclipse.jface.action.IToolBarManager;
import org.eclipse.jface.viewers.CheckStateChangedEvent;
imp... | cooked/NDT | sc.ndt.editor.fast.fst.ui/src/sc/ndt/editor/fast/ui/mpe/outline/OutListContentOutline.java | Java | gpl-3.0 | 9,419 |
from datetime import datetime
import json
import traceback
from django.http import HttpResponse
from django.template import loader, Context
from django.views.decorators.csrf import csrf_exempt
from events.models import ScriptEvent, MessageEvent
from profiles.models import PhoneNumber, format_phone
from sms_messages.m... | audaciouscode/SMSBot | smsbot_django/services/views.py | Python | gpl-3.0 | 4,783 |
# -*- coding: utf-8 -*-
from ui import ui_elements
from ui import ui_handler
class my_text(ui_elements.Text):
def start(self, args):
self.set_text(args["text"])
self.set_pos((100, 100))
self.set_size(60)
self.set_color((0, 0, 255))
def mouse_enter(self):
self.set_color((255, 0, 0))
def mouse_leave(sel... | c-michi/pygame_ui | test_ui.py | Python | gpl-3.0 | 722 |
package com.jmd613.AM1.Client.gui;
import com.jmd613.AM1.reference.Reference;
import cpw.mods.fml.client.config.GuiConfig;
import cpw.mods.fml.client.config.IConfigElement;
import net.minecraft.client.gui.GuiScreen;
import net.minecraftforge.common.config.ConfigElement;
import net.minecraftforge.common.config.Configur... | TheGamingCore/Atomic-Mechanisms | src/main/java/com/jmd613/AM1/Client/gui/ModGuiConfig.java | Java | gpl-3.0 | 767 |
"""
Copyright (c) 2012-2014 RockStor, Inc. <http://rockstor.com>
This file is part of RockStor.
RockStor 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 la... | schakrava/rockstor-core | src/rockstor/storageadmin/models/netatalk_share.py | Python | gpl-3.0 | 1,546 |
/*******************************************************************************
* Copyright (C) 2015, CERN
* This software is distributed under the terms of the GNU General Public
* License version 3 (GPL Version 3), copied verbatim in the file "LICENSE".
* In applying this license, CERN does not waive the privile... | cerndb/wls-cern-sso | saml2slo/test/TestURLEncoder.java | Java | gpl-3.0 | 1,415 |
<?php
#
# Plugin: check_centricstor
# Author: Rene Koch <r.koch@ovido.at>
# Date: 2012/12/06
#
$opt[1] = "--vertical-label \"Caches free\" -l 0 --title \"Caches free on $hostname\" --slope-mode -N";
$opt[2] = "--vertical-label \"Caches dirty\" -l 0 --title \"Caches dirty on $hostname\" --slope-mode -N";
$def[1] = "";
... | ovido/check_centricstor | contrib/check_centricstor.php | PHP | gpl-3.0 | 1,393 |
/*
* Copyright (C) 2011-2012 DarkCore <http://www.darkpeninsula.eu/>
* Copyright (C) 2011-2012 Project SkyFire <http://www.projectskyfire.org/>
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2012 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can re... | Darkpeninsula/Darkcore-Rebase | src/server/game/Handlers/BattlefieldHandler.cpp | C++ | gpl-3.0 | 4,978 |
/*
* CoOccurrenceDrawer.java Copyright (C) 2021. Daniel H. Huson
*
* (Some files contain contributions from other authors, who are then mentioned separately.)
*
* 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 ... | danielhuson/megan-ce | src/megan/chart/drawers/CoOccurrenceDrawer.java | Java | gpl-3.0 | 27,067 |
/******************************************************************************
*
* Project: FYBA Callbacks
* Purpose: Needed by FYBA - however we do not want to display most messages
* Author: Thomas Hirsch, <thomas.hirsch statkart no>
*
***********************************************************************... | grueni75/GeoDiscoverer | Source/Platform/Target/Android/core/src/main/jni/gdal-3.2.1/ogr/ogrsf_frmts/sosi/fyba_melding.cpp | C++ | gpl-3.0 | 2,499 |
package io.nadron.app.impl;
public class InvalidCommandException extends Exception
{
/**
* Eclipse generated serial id.
*/
private static final long serialVersionUID = 6458355917188516937L;
public InvalidCommandException(String message)
{
super(message);
}
public InvalidCommandException(String message, E... | wangxiaogangan/EC_Game | Server/elementproject/nadron/src/main/java/io/nadron/app/impl/InvalidCommandException.java | Java | gpl-3.0 | 360 |
<?php include 'copyright.php' ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Carnaval - BDL N... | BDL-NDC/bdlsite | CA.php | PHP | gpl-3.0 | 2,625 |
<?php
/**
* SfGuardPermission form.
*
* @package trialsites
* @subpackage form
* @author Herlin R. Espinosa G. - CIAT-DAPA
* @version SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
*/
class SfGuardPermissionForm extends BaseSfGuardPermissionForm
{
public function co... | CCAFS/CCAFS-AgTrialsV2 | lib/form/doctrine/SfGuardPermissionForm.class.php | PHP | gpl-3.0 | 340 |
/*
* GrGen: graph rewrite generator tool -- release GrGen.NET 4.4
* Copyright (C) 2003-2015 Universitaet Karlsruhe, Institut fuer Programmstrukturen und Datenorganisation, LS Goos; and free programmers
* licensed under LGPL v3 (see LICENSE.txt included in the packaging of this file)
* www.grgen.net
*/
/**
* @aut... | jblomer/GrGen.NET | frontend/de/unika/ipd/grgen/ast/exprevals/ExternalTypeNode.java | Java | gpl-3.0 | 5,929 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
namespace Abide.Tag
{
public class Block : ITagBlock, IEnumerable<Field>, IEquatable<Block>
{
private string name = string.Empty;
private string d... | MikeMatt16/Abide | Abide.Guerilla/Abide.Tag/Block.cs | C# | gpl-3.0 | 6,725 |
import { Component, OnInit } from '@angular/core';
import { Serie } from './model/serie.model';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent implements OnInit {
constructor() { }
ngOnInit() {
}
}
| jorgeas80/webhub | ng2/appseries/src/app/app.component.ts | TypeScript | gpl-3.0 | 301 |
#region header
// ========================================================================
// Copyright (c) 2018 - Julien Caillon (julien.caillon@gmail.com)
// This file (PositionTracker.cs) is part of 3P.
//
// 3P is a free software: you can redistribute it and/or modify
// it under the terms of the GNU General Publ... | jcaillon/3P | 3PA/Lib/CommonMark/Parser/PositionTracker.cs | C# | gpl-3.0 | 4,594 |
using MaterialSkin.Controls;
using System;
using System.Drawing;
using System.Windows.Forms;
using WinFormsTranslator;
/// <summary>
/// SA:MP launcher .NET namespace
/// </summary>
namespace SAMPLauncherNET
{
/// <summary>
/// Connect form class
/// </summary>
public partial class ConnectForm : Mater... | BigETI/SAMPLauncherNET | SAMPLauncherNET/Source/SAMPLauncherNET/UI/Forms/ConnectForm.cs | C# | gpl-3.0 | 3,748 |
using System.ComponentModel;
namespace SmartLogReader
{
public enum WorkerProgressCode
{
StartedWork,
StillWorking,
FinishedWork,
CustomCode
}
public class Worker
{
public Worker()
{
worker = new BackgroundWorker();
worker.Wo... | wolfoerster/SmartLogReader | Utilities/Worker.cs | C# | gpl-3.0 | 2,751 |
# Copyright (C) 2017 Roman Samoilenko <ttahabatt@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 your option) any later version.
# This pr... | johnnykv/heralding | heralding/capabilities/ssh.py | Python | gpl-3.0 | 3,627 |
/*
* Copyright 2002-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | shekharcs1-/Test | service/src/main/java/com/drdolittle/petclinic/petclinic/repository/jpa/JpaVisitRepositoryImpl.java | Java | gpl-3.0 | 2,491 |
<?php
namespace StoreCore\StoreFront;
/**
* Uniform Resource Identifier (URI)
*
* @author Ward van der Put <Ward.van.der.Put@gmail.com>
* @copyright Copyright (c) 2015-2016 StoreCore
* @license http://www.gnu.org/licenses/gpl.html GNU General Public License
* @package StoreCore\Core
* @version 0.1.0
*... | storecore/releases | StoreCore/StoreFront/Location.php | PHP | gpl-3.0 | 2,258 |
/*
--------------------------------------------------------------------------------
This source file is part of Hydrax.
Visit ---
Copyright (C) 2008 Xavier Vergu�n Gonz�lez <xavierverguin@hotmail.com>
<xavyiy@gmail.com>
This program is free software; you can redistribute it and/or modify it under
the ... | junrw/ember-gsoc2012 | src/components/ogre/environment/hydrax/src/Prerequisites.cpp | C++ | gpl-3.0 | 1,155 |
<?php
return [
'accounts' => [
'cash' => 'Bargeld',
],
'categories' => [
'deposit' => 'Einzahlung',
'sales' => 'Vertrieb',
],
'currencies' => [
'usd' => 'US-Dollar',
'eur' => 'Euro',
'g... | akaunting/akaunting | resources/lang/de-DE/demo.php | PHP | gpl-3.0 | 1,009 |
package net.torocraft.toroquest.civilization.quests;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import java.util.UUID;
import net.minecraft.block.Block;
import net.minecraft.enchantment.Enchantment;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
imp... | ToroCraft/ToroQuest | src/main/java/net/torocraft/toroquest/civilization/quests/QuestMine.java | Java | gpl-3.0 | 8,175 |
package tr.com.arf.toys.view.converter.egitim;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.convert.FacesConverter;
import tr.com.arf.framework.view.converter._base.BaseConverter;
import tr.com.arf.toys.db.model.egitim.SinavGozetmen;
import tr.com.arf.toys.se... | TMMOB-BMO/TOYS | Toys/JavaSource/tr/com/arf/toys/view/converter/egitim/SinavGozetmenConverter.java | Java | gpl-3.0 | 1,450 |
<?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 ... | cjamieso/moodle313 | report/analytics/tests/ajax_controller_test.php | PHP | gpl-3.0 | 3,549 |
"""checker for unnecessary indexing in a loop.
"""
from typing import List, Optional, Tuple, Union
import astroid
from astroid import nodes
from pylint.checkers import BaseChecker
from pylint.checkers.utils import check_messages
from pylint.interfaces import IAstroidChecker
class UnnecessaryIndexingChecker(BaseCheck... | pyta-uoft/pyta | python_ta/checkers/unnecessary_indexing_checker.py | Python | gpl-3.0 | 5,590 |
<?php
$fuits = [
'uva',
'banana',
'caju',
];
asort($fuits);
var_dump($fuits); | caioblima/phpzce-code-guide | arrays/code/src/asort.php | PHP | gpl-3.0 | 89 |
package Utiles;
/**
* Esta clase permite crear JPanel al ser instanciada desde otra
* @author Raúl Caro Pastorino <Fryntiz www.fryntiz.es>
*/
import java.awt.Color;
import javax.swing.BorderFactory;
import javax.swing.JLabel;
import javax.swing.JPanel;
public class ClaseJPanel extends JPanel {
JLabel jlabel;
... | fryntiz/java | Aprendiendo/GUI/src/Utiles/ClaseJPanel.java | Java | gpl-3.0 | 600 |
#! /usr/bin/env python
import os
import argparse
from pymsbayes.fileio import expand_path
from pymsbayes.config import MsBayesConfig
from pymsbayes.utils.functions import is_file, is_dir, is_executable
class SmartHelpFormatter(argparse.HelpFormatter):
'''
A class to allow customizable line breaks for an argu... | joaks1/PyMsBayes | pymsbayes/utils/argparse_utils.py | Python | gpl-3.0 | 4,193 |
/*
* ItemNotFoundException.java
*
* Copyright (C) 2013
*
* This file is part of Open Geoportal Harvester
*
* This software is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the Li... | OpenGeoportal/ogpHarvester | web/src/main/java/org/opengeoportal/harvester/mvc/exception/ItemNotFoundException.java | Java | gpl-3.0 | 2,097 |
/*
RCSwitch - Arduino libary for remote control outlet switches
Copyright (c) 2011 Suat Özgür. All right reserved.
Contributors:
- Andre Koehler / info(at)tomate-online(dot)de
- Gordeev Andrey Vladimirovich / gordeev(at)openpyro(dot)com
- Skineffect / http://forum.ardumote.com/viewtopic.php?f=2&t=46
-... | mistert14/ardu-rasp1 | lib2/TS/RCSwitch.cpp | C++ | gpl-3.0 | 22,164 |
/*
RPG Paper Maker Copyright (C) 2017-2021 Wano
RPG Paper Maker engine is under proprietary license.
This source code is also copyrighted.
Use Commercial edition for commercial use of your games.
See RPG Paper Maker EULA here:
http://rpg-paper-maker.com/index.php/eula.
*/
#include "monste... | Wano-k/RPG-Paper-Maker | Editor/Models/GameDatas/monstersdatas.cpp | C++ | gpl-3.0 | 5,777 |
using System;
namespace JavCrawl.Models.DbEntity
{
public partial class Servers
{
public int Id { get; set; }
public DateTime? CreatedAt { get; set; }
public string Data { get; set; }
public sbyte? Default { get; set; }
public DateTime? DeletedAt { get; set; }
p... | vibollmc/7816df50764af41dac934f89a19d804c | JavCrawl/JavCrawl/Models/DbEntity/Servers.cs | C# | gpl-3.0 | 591 |
/*******************************************************************************
* xFramium
*
* Copyright 2016 by Moreland Labs, Ltd. (http://www.morelandlabs.com)
*
* Some open source application is free software: you can redistribute
* it and/or modify it under the terms of the GNU General Public
* Li... | xframium/xframium-java | framework/src/org/xframium/page/keyWord/KeyWordTest.java | Java | gpl-3.0 | 18,458 |
##
# This module requires Metasploit: http://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
require 'msf/core'
require 'zlib'
class Metasploit3 < Msf::Exploit::Remote
Rank = ExcellentRanking
include Msf::Exploit::Remote::HttpClient
include Msf::Exploit::FileDropper
... | cSploit/android.MSF | modules/exploits/multi/http/sysaid_rdslogs_file_upload.rb | Ruby | gpl-3.0 | 5,636 |
<?php
$PHP_SELF = "index.php";
include 'includes/config.in.php';
include 'includes/function.in.php';
include 'includes/class.mysql.php';
include 'lang/thai_utf8.php';
include 'includes/array.in.php';
include 'includes/class.ban.php';
include 'includes/class.calendar.php';
header( 'Content-Type:text/html; charset='.ISO... | robocon/atomymaxsite | mainfile.php | PHP | gpl-3.0 | 2,756 |
<script>
{literal}
var columns = 5;
var padding = 12;
var grid_width = $('.col').width();
grid_width = grid_width - (columns * padding);
percentage_width = grid_width / 100;
$('#manageGrid').flexigrid ( {
url: 'index.php?module=user&view=xml',
dataType: 'xml',
// @formatter:off
colModel : [
{... | fearless359/simpleinvoices_zend2 | modules/user/manage.js.php | PHP | gpl-3.0 | 1,674 |
package ca.nrc.cadc.ulm.client;/*
************************************************************************
******************* CANADIAN ASTRONOMY DATA CENTRE *******************
************** CENTRE CANADIEN DE DONNÉES ASTRONOMIQUES **************
*
* (c) 2016. (c) 2016.
* Govern... | opencadc/apps | cadc-upload-manager/src/test/java/ca/nrc/cadc/ulm/client/FileLoader.java | Java | gpl-3.0 | 4,358 |