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
/* * Created: 31.03.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/Computer.java
Java
gpl-3.0
40,937
// // 1029Ca.cpp // Problems // // Created by NicolasCardozo on 4/24/21. // Copyright © 2021 NicolasCardozo. All rights reserved. // #include <stdio.h> #include <bits/stdc++.h> using namespace std; int main(){ int n; multiset<int> l, r; pair<int, int> intervals[300010]; cin >> n; for (int i =...
mua-uniandes/weekly-problems
codeforces/1029/1029Ca.cpp
C++
gpl-3.0
800
package net.ddns.templex.commands; import io.github.trulyfree.va.command.commands.TabbableCommand; import io.github.trulyfree.va.daemon.Daemon; import net.md_5.bungee.api.ChatColor; import net.md_5.bungee.api.CommandSender; import net.md_5.bungee.api.ProxyServer; import net.md_5.bungee.api.chat.BaseComponent; import n...
TemplexMC/TemplexAdditions
src/main/java/net/ddns/templex/commands/TPAHereCommand.java
Java
gpl-3.0
4,347
package com.ebrightmoon.doraemonkit.ui.dialog; /** * Created by wanglikun on 2019/4/12 */ public interface DialogListener { boolean onPositive(); boolean onNegative(); void onCancel(); }
jinsedeyuzhou/NewsClient
doraemonkit/src/main/java/com/ebrightmoon/doraemonkit/ui/dialog/DialogListener.java
Java
gpl-3.0
203
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-11-30 03:32 from __future__ import unicode_literals import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('administrador', '0011_auto_20171129_2215'), ] operations = [ ...
adbetin/organico-cooperativas
administrador/migrations/0012_auto_20171129_2232.py
Python
gpl-3.0
548
/** * @file Surface Component * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { ComponentRegistry } from "../globals.js"; import { defaults } from "../utils.js"; import Component from "./component.js"; /** * Component wrapping a Surface object * @class * @extends Component * @par...
deepchem/deepchem-gui
gui/static/ngl/src/component/surface-component.js
JavaScript
gpl-3.0
2,061
# daisy-extract # Copyright (C) 2016 James Scholes # This program is free software, licensed under the terms of the GNU General Public License (version 3 or later). # See the file LICENSE for more details. from collections import namedtuple import argparse import glob import logging import os import platform import sh...
jscholes/daisy-extract
extract.py
Python
gpl-3.0
7,728
package com.abada.trazability.datamatrix.decode; /* * #%L * Contramed * %% * Copyright (C) 2013 Abada Servicios Desarrollo (investigacion@abadasoft.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 ...
abada-investigacion/contramed
trazability/trazability-datamatrix-utils/src/main/java/com/abada/trazability/datamatrix/decode/DecodeImpl.java
Java
gpl-3.0
8,180
# frozen_string_literal: true class RenameTableCardExpenses < ActiveRecord::Migration[4.2] def change # noinspection RailsParamDefResolve rename_table :card_expenses, :trip_expenses end end
lssjbrolli/ctcadmin
db/migrate/20140809104441_rename_table_card_expenses.rb
Ruby
gpl-3.0
203
/* * This file is part of Applied Energistics 2. * Copyright (c) 2013 - 2014, 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/core/Api.java
Java
gpl-3.0
3,373
/* Copyright (C) 2011 Jason von Nieda <jason@vonnieda.org> This file is part of OpenPnP. OpenPnP 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 ...
TinWhiskers/openpnp
src/main/java/org/openpnp/gui/MachineControlsPanel.java
Java
gpl-3.0
25,064
(function() { 'use strict'; angular .module('weatheropendataApp') .config(stateConfig); stateConfig.$inject = ['$stateProvider']; function stateConfig($stateProvider) { $stateProvider.state('register', { parent: 'account', url: '/register', ...
hackathinho/open-clean-energy
backend-weather/src/main/webapp/app/account/register/register.state.js
JavaScript
gpl-3.0
993
/* * MindmapsDB - A Distributed Semantic Database * Copyright (C) 2016 Mindmaps Research Ltd * * MindmapsDB 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...
duckofyork/mindmapsdb
mindmaps-graql/src/main/java/io/mindmaps/graql/Autocomplete.java
Java
gpl-3.0
6,589
using UnityEngine; using System.Collections; using System.Collections.Generic; public class Camel : GamePiece { public override List<GridCell>GetMovementCells(GameGrid grid, GridCell cell) { return grid.GetLeapCells(cell, 3, 1); } public override List<GridCell>GetAttackCells(GameGrid grid, GridCell cell) { ...
matthewvroman/single-player-chess
Assets/Scripts/GamePieces/Camel.cs
C#
gpl-3.0
365
package org.betonquest.betonquest.objectives; import lombok.CustomLog; import org.betonquest.betonquest.BetonQuest; import org.betonquest.betonquest.Instruction; import org.betonquest.betonquest.api.Condition; import org.betonquest.betonquest.api.Objective; import org.betonquest.betonquest.api.QuestEvent; import org.b...
Co0sh/BetonQuest
src/main/java/org/betonquest/betonquest/objectives/ChestPutObjective.java
Java
gpl-3.0
5,067
/** * File ./src/main/java/de/lemo/dms/db/mapping/CourseAssignmentMining.java * Lemo-Data-Management-Server for learning analytics. * Copyright (C) 2013 * Leonard Kappe, Andreas Pursian, Sebastian Schwarzrock, Boris Wenzlaff * * This program is free software: you can redistribute it and/or modify * it under the...
LemoProject/lemo2
src/main/java/de/lemo/dms/db/mapping/CourseAssignmentMining.java
Java
gpl-3.0
6,152
#!/usr/bin/python # -*- coding: utf-8 -*- """ This file is part of XBMC Mega Pack Addon. Copyright (C) 2014 Wolverine (xbmcmegapack@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 Softwar...
xbmcmegapack/plugin.video.megapack.dev
resources/lib/menus/home_countries_tajikistan.py
Python
gpl-3.0
1,117
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Migration_modifica_coluna_hologated_null extends CI_Migration { public function up() { $this->dbforge->modify_column('selection_process_user_subscription', [ 'homologated' => ['type' => 'tinyint(1)', 'null' => TR...
Sistema-Integrado-Gestao-Academica/SiGA
application/migrations/162_modifica_coluna_hologated_null.php
PHP
gpl-3.0
581
/** * initSession * * @module :: Policy * @description :: make sure all session related values are properly setup * */ module.exports = function(req, res, next) { // make sure the appdev session obj is created. req.session.appdev = req.session.appdev || ADCore.session.default(); // if th...
appdevdesigns/appdev-core
api/policies/initSession.js
JavaScript
gpl-3.0
500
/* * Copyright (C) 2013 The Android Open Source Project * * 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 app...
wiki2014/Learning-Summary
alps/cts/tests/tests/media/src/android/media/cts/EncodeVirtualDisplayWithCompositionTest.java
Java
gpl-3.0
59,181
#include "MapState.hpp" namespace states { MapState::MapState(engine::Engine& engine) : GameState(engine), renderer(engine, world), saveFileHandler(engine), pauseState(engine, world, renderer) { suspended = false; }; void MapState::init() { world::PerspectiveState initialPerspective; initialPerspective.fo...
kantoniak/konstruisto
src/states/MapState.cpp
C++
gpl-3.0
22,882
Monster = ring.create([AbstractIcon], { constructor: function() { this.sprite = objPhaser.add.sprite(0, 0, Constants.ASSET_MONSTER); this.sprite.animations.add("fly"); this.sprite.animations.play("fly", 3, true); this.type = Constants.ASSET_MONSTER; this.anim = 0; this.sinchange = 0; }, update: funct...
gfrymer/GGJ2015-BSAS-Duality
src/entities/Monster.js
JavaScript
gpl-3.0
629
function direction(dir, neg) { if (dir == 'x') { return function (num) { num = num == null ? 1 : num; return new Tile(this.x + (neg ? -num : num), this.y); }; } return function (num) { num = num == null ? 1 : num; return new Tile(this.x, this.y + (neg ...
alpha123/Arq
tile.js
JavaScript
gpl-3.0
2,213
<?php namespace ModulusContent\Entity; use Doctrine\ORM\Mapping as ORM; /** * ItensMenu * * @ORM\Table(name="itens_menu") * @ORM\Entity(repositoryClass="ModulusContent\Repository\ItensMenu") */ class ItensMenu { /** * @var integer * * @ORM\Column(name="id", type="integer", nullable=false) ...
ZF2-Modulus/ModulusContent
src/ModulusContent/Entity/ItensMenu.php
PHP
gpl-3.0
4,282
// TinyXML2Demo.cpp : ¶¨Òå¿ØÖÆÌ¨Ó¦ÓóÌÐòµÄÈë¿Úµã¡£ // #include "stdafx.h" #include "tinyxml2.h" #include <stdio.h> #include <iostream> #include <sstream> #include <vector> #include <map> #include <time.h> using namespace std; using namespace tinyxml2; const char* NODE_XML = "Node.xml"; const char* NODE_ACG_H = "../Ac...
windpenguin/TinyXML2Demo
TinyXML2Demo/TinyXML2Demo.cpp
C++
gpl-3.0
8,301
class Deputy < User has_many :users, :through => :substitutions, :dependent => :restrict, :inverse_of => :deputies end
informatom/qm
app/models/deputy.rb
Ruby
gpl-3.0
121
/* Copyright (C) 2016 Julien Le Fur 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 dist...
Ju-Li-An/gs_engine
lib/dataAccess/fs/template/delete.js
JavaScript
gpl-3.0
1,386
<?php /* * TreeChecker: Error recognition for genealogical trees * * Copyright (C) 2014 Digital Humanities Lab, Faculty of Humanities, Universiteit Utrecht * Corry Gellatly <corry.gellatly@gmail.com> * Martijn van der Klis <M.H.vanderKlis@uu.nl> * * Class that defines an event details object * * Derived fro...
cgeltly/treechecker
app/models/webtrees/Fact.php
PHP
gpl-3.0
14,911
import Palabra from '../../models/palabras' import { GROUP_ID } from '../../config' /** * Obtiene el ranking de palabras más usadas. * @param {*} msg */ const ranking = async msg => { if(msg.chat.id !== GROUP_ID) return; try { let palabras = await Palabra.find({}).sort('-amount').exec(); ...
jesusgn90/etsiit-moderator
lib/lib/estadisticas/estadisticas.js
JavaScript
gpl-3.0
1,257
# from mainsite.models import Web_Region context = {'title': 'my static title', 'description': 'my static description', 'data': 'my static data', } def get_context(request): # region_list = Web_Region.objects.values_list('region_name', flat=True) context.update({'d...
sstacha/uweb-vagrant
files/docroot/files/test.data.py
Python
gpl-3.0
364
var Octopi = function(words) { this.uid = 0; this.tree = {$$: []}; this.table = {}; words = (words || []); for (var i = 0; i < words.length; i++) this.add(words[i]); }; /** * Take serialized Octopi data as string and initialize the Octopi object * @param json String The serialized Octopi trie */ Octopi....
ebursztein/SiteFab
plugins/site/rendering/autocomplete/autocomplete.js
JavaScript
gpl-3.0
2,263
<?php namespace at\eisisoft\partywithme\api; /** * Created by PhpStorm. * User: Florian * Date: 05.03.2016 * Time: 09:11 */ use at\eisisoft\partywithme as pwm; use function at\eisisoft\partywithme\api\fetchEvents; use function at\eisisoft\partywithme\api\toJSON; require_once "../hidden/partials/jsonHeader.php"; ...
reisi007/Party-With-Me
api/listEvents.php
PHP
gpl-3.0
743
(function() { var billerModule = angular.module('billerModule'); billerModule.filter('offset', function() { return function(input, start) { start = parseInt(start, 10); return input != null ? input.slice(start) : []; }; }); billerModule.directive('billRecalculationInfo', function() { return { ...
labcabrera/biller
biller-web/src/main/webapp/js/controllers/bill-recalculation-ctrl.js
JavaScript
gpl-3.0
3,019
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-fcs // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2010.12.22 at 0...
kion/Bias
src/bias/extension/DashBoard/xmlb/ObjectFactory.java
Java
gpl-3.0
1,528
<?php /** * TrcIMPLAN Sitio Web - Retrospectiva y estado actual del empleo en Torreón y la Zona Metropolitana de La Laguna * * Copyright (C) 2017 Guillermo Valdés Lozano <guivaloz@movimientolibre.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General ...
TRCIMPLAN/trcimplan.github.io
lib/Blog/RestrospectivaEstadoActualEmpleo.php
PHP
gpl-3.0
2,450
package org.betonquest.betonquest.conditions; import org.betonquest.betonquest.Instruction; import org.betonquest.betonquest.api.Condition; import org.betonquest.betonquest.exceptions.InstructionParseException; import org.betonquest.betonquest.utils.PlayerConverter; import org.bukkit.entity.Entity; import org.bukkit.e...
Co0sh/BetonQuest
src/main/java/org/betonquest/betonquest/conditions/RideCondition.java
Java
gpl-3.0
1,282
// // StateUtils.cs // // Author: // Willem Van Onsem <vanonsem.willem@gmail.com> // // Copyright (c) 2014 Willem Van Onsem // // 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, eith...
KommuSoft/NUtils
NUtils/Automata/StateUtils.cs
C#
gpl-3.0
2,615
#!/usr/bin/python """ DES-CHAN: A Framework for Channel Assignment Algorithms for Testbeds This module provides a class to represent network graphs and conflict graphs. Authors: Matthias Philipp <mphilipp@inf.fu-berlin.de>, Felix Juraschek <fjuraschek@gmail.com> Copyright 2008-2013, Freie Universitaet...
des-testbed/des_chan
graph.py
Python
gpl-3.0
18,151
module.exports = function (grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), sass: { dist: { options: { style: 'compressed' }, files: { 'assets/css/global.css': 'src/sass/global.sc...
Treenity/bbpress-wp-support
gruntfile.js
JavaScript
gpl-3.0
1,604
package it.kytech.skywars; import java.util.Arrays; import java.util.HashMap; import java.util.Vector; import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.plugin.Plugin; i...
hitech95/SkyWars
src/main/java/it/kytech/skywars/CommandHandler.java
Java
gpl-3.0
7,097
package com.cole.somecraft.proxy; public interface IProxy { }
ClarmonkGaming/SomeCraftReboot
src/main/java/com/cole/somecraft/proxy/IProxy.java
Java
gpl-3.0
63
/* * //****************************************************************** * // * // Copyright 2016 Samsung Electronics All Rights Reserved. * // * //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= * // * // Licensed under the Apache License, Version 2.0 (the "License"); * // you may not use thi...
kadasaikumar/iotivity-1.2.1
cloud/interface/src/main/java/org/iotivity/cloud/ciserver/resources/DiResource.java
Java
gpl-3.0
7,727
<?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 ...
eSrem/moodle
calendar/tests/repeat_event_collection_test.php
PHP
gpl-3.0
6,590
// // // Generated by StarUML(tm) C++ Add-In // // @ Project : Untitled // @ File Name : StaticData.cpp // @ Date : 2017/9/29 // @ Author : ouo // // #include "StaticData.h" StaticData StaticData::sharedStaticData() { } viod StaticData::purge() { } int StaticData::intValueFormKey(std::...
ouopoi/StaticData
StaticData/StaticData.cpp
C++
gpl-3.0
835
/* * 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
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
## 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
"""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
#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
/* * 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