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 |
|---|---|---|---|---|---|
package telinc.telicraft.util;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.util.ChatMessageComponent;
import net.minecraft.util.StatCollector;
public class PetrifyDamageSource extends TelicraftDamageSource {
protected EntityLivingBase entity;
protect... | telinc1/Telicraft | telicraft_common/telinc/telicraft/util/PetrifyDamageSource.java | Java | gpl-3.0 | 1,253 |
<?php namespace Darryldecode\Cart;
/**
* Created by PhpStorm.
* User: darryl
* Date: 1/15/2015
* Time: 9:46 PM
*/
use Illuminate\Support\Collection;
class CartConditionCollection extends Collection {
} | vijaysebastian/bill | vendor/darryldecode/cart/src/Darryldecode/Cart/CartConditionCollection.php | PHP | gpl-3.0 | 210 |
package com.github.dozzatq.phoenix.advertising;
/**
* Created by Rodion Bartoshik on 04.07.2017.
*/
interface Reflector {
FactoryAd reflection();
int state();
}
| dozzatq/Phoenix | mylibrary/src/main/java/com/github/dozzatq/phoenix/advertising/Reflector.java | Java | gpl-3.0 | 173 |
/*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2014 TIBCO Software Inc. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
* J... | aleatorio12/ProVentasConnector | jasperreports-6.2.1-project/jasperreports-6.2.1/src/net/sf/jasperreports/web/commands/CommandException.java | Java | gpl-3.0 | 1,750 |
#
# LMirror is Copyright (C) 2010 Robert Collins <robertc@robertcollins.net>
#
# LMirror 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
# versio... | rbtcollins/lmirror | l_mirror/tests/test_logging_support.py | Python | gpl-3.0 | 2,180 |
namespace _03BarracksWars.Contracts
{
public interface IRunnable
{
void Run();
}
}
| PlamenHP/Softuni | OOP Advanced/Reflection - Exercise/BarracksWars/Contracts/IRunnable.cs | C# | gpl-3.0 | 106 |
# -*- coding: utf8 -*-
###########################################################################
# This is the package latexparser
#
# 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, ei... | LaurentClaessens/LaTeXparser | Occurrence.py | Python | gpl-3.0 | 7,331 |
/********************************************************************************
Copyright (C) Binod Nepal, Mix Open Foundation (http://mixof.org).
This file is part of MixERP.
MixERP is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Fre... | jacquet33/miERP | FrontEnd/MixERP.Net.FrontEnd/Modules/Sales.Data/Transactions/Delivery.cs | C# | gpl-3.0 | 2,573 |
import java.util.*;
public class Pali {
public static void main(String args[])
{
Scanner sc=new Scanner(System.in);
String str=sc.next();
StringBuffer buff=new StringBuffer(str).reverse();
String str1=buff.toString();
if(str.isequals(str1))
{
System.out.p... | RaviVengatesh/Guvi_codes | Pali.java | Java | gpl-3.0 | 449 |
#!/usr/bin/env python
#
# MCP320x
#
# Author: Maurik Holtrop
#
# This module interfaces with the MCP300x or MCP320x family of chips. These
# are 10-bit and 12-bit ADCs respectively. The x number indicates the number
# of multiplexed analog inputs: 2 (MCP3202), 4 (MCP3204) or 8 (MCP3208)
# Communications with this chi... | mholtrop/Phys605 | Python/DevLib/MCP320x.py | Python | gpl-3.0 | 11,971 |
/*
No-Babylon a job search engine with filtering ability
Copyright (C) 2012-2014 ferenc.jdev@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 Lic... | ferenc-jdev/no-babylon | src/main/java/org/laatusys/nobabylon/support/ExcludeRegexpFilter.java | Java | gpl-3.0 | 1,328 |
# __init__.py
# Copyright (C) 2006, 2007, 2008, 2009, 2010 Michael Bayer mike_mp@zzzcomputing.com
#
# This module is part of Mako and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php
__version__ = '0.3.4'
| codendev/rapidwsgi | src/mako/__init__.py | Python | gpl-3.0 | 256 |
#!/usr/bin/python
import sys
print "divsum_analysis.py DivsumFile NumberOfNucleotides"
try:
file = sys.argv[1]
except:
file = raw_input("Introduce RepeatMasker's Divsum file: ")
try:
nucs = sys.argv[2]
except:
nucs = raw_input("Introduce number of analysed nucleotides: ")
nucs = int(nucs)
data = o... | fjruizruano/ngs-protocols | divsum_analysis.py | Python | gpl-3.0 | 974 |
/*
TShock, a server mod for Terraria
Copyright (C) 2011-2018 Pryaxis & TShock 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, or
(at your option) any la... | ProfessorXZ/TShock | TShockAPI/Commands.cs | C# | gpl-3.0 | 183,890 |
package com.sk89q.craftbook.cart;
import java.util.ArrayList;
import java.util.Arrays;
import org.bukkit.block.Chest;
import org.bukkit.block.Sign;
import org.bukkit.entity.Minecart;
import org.bukkit.entity.StorageMinecart;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
im... | wizjany/craftbook | src/main/java/com/sk89q/craftbook/cart/CartDeposit.java | Java | gpl-3.0 | 7,011 |
<?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 ... | sumitnegi933/GWL_MOODLE | blocks/course_overview/lang/en/block_course_overview.php | PHP | gpl-3.0 | 3,501 |
<?php
session_start();
include("../connect.php");
include("../function.php");
//session_start();
if($_REQUEST['cat_id'])
{
$data="";
$count=0;
$select_list_data="select * from users_data where int_fid in(".$_REQUEST['cat_id'].") and int_del_status='0'";
$result_list_dat... | aroramanish63/bulmail_app | Live Backup/databagg 30 jan backup/user/ajax_load_list_11_7.php | PHP | gpl-3.0 | 1,421 |
////////////////////////////////////////////////////////
//
// GEM - Graphics Environment for Multimedia
//
// Implementation file
//
// Copyright (c) 2002-2011 IOhannes m zmölnig. forum::für::umläute. IEM. zmoelnig@iem.at
// zmoelnig@iem.kug.ac.at
// For information on usage and redistribution, and for a DISCLAIMER
/... | rvega/morphasynth | vendors/pd-extended-0.43.4/externals/Gem/src/openGL/GEMglTexCoord3s.cpp | C++ | gpl-3.0 | 2,880 |
/*
* This file is part of CRISIS, an economics simulator.
*
* Copyright (C) 2015 Victor Spirin
*
* CRISIS 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
* (... | crisis-economics/CRISIS | CRISIS/src/eu/crisis_economics/abm/markets/nonclearing/InterbankNetwork.java | Java | gpl-3.0 | 4,215 |
<?php
# server running the wolframe daemon
$WOLFRAME_SERVER = "localhost";
# wolframe daemon port
$WOLFRAME_PORT = 7962;
# for SSL secured communication, a file with combined client certificate
# and client key
$WOLFRAME_COMBINED_CERTS = "certs/combinedcert.pem";
# which user agents should use client XSLT
$BROWSER... | Wolframe/wolfzilla | phpclient/config.php | PHP | gpl-3.0 | 425 |
/**
*
*/
/**
* @author dewan
*
*/
package gradingTools.comp401f16.assignment11.testcases; | pdewan/Comp401LocalChecks | src/gradingTools/comp401f16/assignment11/testcases/package-info.java | Java | gpl-3.0 | 95 |
package main
import (
"fmt"
"math/rand"
)
func main() {
fmt.Println(rand.Int())
fmt.Println(rand.Float64())
}
| alsotoes/MCS_programmingLanguages | go/slides/code/imports.go | GO | gpl-3.0 | 152 |
package mcid.anubisset.letsmodreboot.block;
import mcid.anubisset.letsmodreboot.creativetab.CreativeTabLMRB;
/**
* Created by Luke on 30/08/2014.
*/
public class BlockFlag extends BlockLMRB
{
public BlockFlag()
{
super();
this.setBlockName("flag");
this.setBlockTextureName("flag");
... | AnubisSet/LetsModReboot | src/main/java/mcid/anubisset/letsmodreboot/block/BlockFlag.java | Java | gpl-3.0 | 327 |
require 'package'
class Libxau < Package
description 'xau library for libX11'
homepage 'https://x.org'
version '1.0.8'
source_url 'https://www.x.org/archive/individual/lib/libXau-1.0.8.tar.gz'
source_sha256 'c343b4ef66d66a6b3e0e27aa46b37ad5cab0f11a5c565eafb4a1c7590bc71d7b'
depends_on 'xproto'
def s... | richard-fisher/chromebrew | packages/libxau.rb | Ruby | gpl-3.0 | 466 |
/*
* Copyright 2011 kubtek <kubtek@mail.com>
*
* This file is part of StarDict.
*
* StarDict 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 l... | huzheng001/stardict-3 | dict/src/pluginmanagedlg.cpp | C++ | gpl-3.0 | 20,060 |
package tmp.generated_people;
import cide.gast.*;
import cide.gparser.*;
import cide.greferences.*;
import java.util.*;
public abstract class Element_ol extends GenASTNode {
protected Element_ol(Property[] p, Token firstToken, Token lastToken) { super(p, firstToken, lastToken); }
protected Element_ol(Propert... | ckaestne/CIDE | CIDE_Language_XML_concrete/src/tmp/generated_people/Element_ol.java | Java | gpl-3.0 | 404 |
"""
Copyright 2014 Jason Heeris, jason.heeris@gmail.com
This file is part of the dungeon excavator web interface ("webcavate").
Webcavate 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 L... | detly/webcavate | webcavate/app.py | Python | gpl-3.0 | 3,132 |
//# BaselineSelection.cc: Class to handle the baseline selection
//# Copyright (C) 2012
//# ASTRON (Netherlands Institute for Radio Astronomy)
//# P.O.Box 2, 7990 AA Dwingeloo, The Netherlands
//#
//# This file is part of the LOFAR software suite.
//# The LOFAR software suite is free software: you can redistribute it a... | jjdmol/LOFAR | CEP/DP3/DPPP/src/BaselineSelection.cc | C++ | gpl-3.0 | 9,934 |
//
//---------------------------------------------------------------------------
//
// Copyright(C) 2005-2016 Christoph Oelckers
// All rights reserved.
//
// This program 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 ... | Saican/Whitman | src/gl/system/gl_interface.cpp | C++ | gpl-3.0 | 10,215 |
/*******************************************************************************
* Copyright (c) 2008, 2010 Xuggle Inc. All rights reserved.
*
* This file is part of Xuggle-Utils.
*
* Xuggle-Utils is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public Lice... | artclarke/xuggle-utils | src/main/java/com/xuggle/utils/event/handler/package-info.java | Java | gpl-3.0 | 1,917 |
class CreatePasswords < ActiveRecord::Migration
def change
create_table :passwords do |p|
p.string :url
p.string :user
p.string :password
#p.timestamps null: false
end
end
end
| webgoal/minhas-senhas-1 | db/migrate/20160408001709_create_tests.rb | Ruby | gpl-3.0 | 213 |
/*
Copyright (c) 1993-2008, Cognitive Technologies
All rights reserved.
Разрешается повторное распространение и использование как в виде исходного кода,
так и в двоичной форме, с изменениями или без, при соблюдении следующих условий:
* При повторном распространении исходного кода должны оставаться указанное
выш... | uliss/quneiform | src/usage/gystogra.cpp | C++ | gpl-3.0 | 28,504 |
/*
* _____ _ _ _____ _
* | __ \| | | | / ____| | |
* | |__) | | ___ | |_| (___ __ _ _ _ __ _ _ __ ___ __| |
* | ___/| |/ _ \| __|\___ \ / _` | | | |/ _` | '__/ _ \/ _` |
* | | | | (_) | |_ ____) | (_| | ... | IntellectualCrafters/PlotSquared | Core/src/main/java/com/plotsquared/core/command/SubCommand.java | Java | gpl-3.0 | 2,321 |
package com.github.sandokandias.payments.interfaces.rest.model;
import com.github.sandokandias.payments.infrastructure.util.i18n.I18nMessage;
import lombok.Data;
import java.util.Set;
@Data
public class ErrorResponse {
private Set<I18nMessage> errors;
}
| sandokandias/spring-boot-ddd | src/main/java/com/github/sandokandias/payments/interfaces/rest/model/ErrorResponse.java | Java | gpl-3.0 | 262 |
package pt.uminho.sysbio.biosynthframework.integration.model;
import pt.uminho.sysbio.biosynth.integration.io.dao.neo4j.MetaboliteMajorLabel;
public interface IntegrationEngine {
public IntegrationMap<String, MetaboliteMajorLabel> integrate(IntegrationMap<String, MetaboliteMajorLabel> imap);
}
| Fxe/biosynth-framework | biosynth-integration/src/main/java/pt/uminho/sysbio/biosynthframework/integration/model/IntegrationEngine.java | Java | gpl-3.0 | 299 |
// Copyright 2015 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum 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, either version 3 of the License... | ghostnetwrk/ghostnet | rpc/api/shh.go | GO | gpl-3.0 | 5,209 |
package vrml.external.field;
import vrml.external.field.FieldTypes;
import vrml.external.Browser;
import java.awt.*;
import java.math.BigInteger;
public class EventInSFImage extends EventIn {
public EventInSFImage() { EventType = FieldTypes.SFIMAGE; }
public void setValue(int width, int height, int comp... | cbuehler/freewrl | src/java/vrml/external/field/EventInSFImage.java | Java | gpl-3.0 | 2,162 |
#include <cstdio>
template<typename T>
auto kitten(T x) __attribute__((noinline));
template<class T>
auto kitten(T t)
{
static T x = 0;
return (x += 1) + t;
}
int main()
{
printf("%d\n", kitten(1));
printf("%g\n", kitten(3.14));
}
| Lester-Dowling/studies | C++/CppCon/2015/Arthur-ODwyer-Lambdas-from-First-Principles/kitten-static-T.cpp | C++ | gpl-3.0 | 238 |
import subprocess
import time
import sys
import re
class checkIfUp:
__shellPings = []
__shell2Nbst = []
__ipsToCheck = []
checkedIps = 0
onlineIps = 0
unreachable = 0
timedOut = 0
upIpsAddress = []
computerName = []
completeMacAddress = []
executionTime = 0
... | mixedup4x4/Speedy | Contents/LanScan.py | Python | gpl-3.0 | 7,956 |
/*
* AJDebug.java
*
* This file is part of Tritonus: http://www.tritonus.org/
*/
/*
* Copyright (c) 1999 - 2002 by Matthias Pfisterer
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as published
* by the Free Softwa... | srnsw/xena | plugins/audio/ext/src/tritonus/src/classes/org/tritonus/debug/AJDebug.java | Java | gpl-3.0 | 6,383 |
# Game
class GameResult < ActiveRecord::Base
attr_accessible :question, :question_id, :user, :issues, :answer, :same, :skip
belongs_to :user
belongs_to :question
has_and_belongs_to_many :issues, :join_table => "game_results_issues", :autosave => true
after_initialize :default_values
private
def defa... | causeroot/causeroot | app/models/game_result.rb | Ruby | gpl-3.0 | 3,463 |
<?php
/*********************************************************************************
* Zurmo is a customer relationship management program developed by
* Zurmo, Inc. Copyright (C) 2012 Zurmo Inc.
*
* Zurmo is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public Li... | deep9/zurmo | app/protected/modules/workflows/tests/unit/SavedWorkflowsUtilTest.php | PHP | gpl-3.0 | 20,437 |
////////////////////////////////////////////////////////////////////////////
// Atol file manager project <http://atol.sf.net>
//
// This code is licensed under BSD license.See "license.txt" for more details.
//
// File: TOFIX
////////////////////////////////////////////////////////////////////////////
/*
* co... | chriskmanx/qmole | QMOLEDEV/atol-0.7.3/src/core/_sftp/Console.cpp | C++ | gpl-3.0 | 10,402 |
/*
Copyright 2011-2014 Red Hat, Inc
This file is part of PressGang CCMS.
PressGang CCMS 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... | pressgang-ccms/PressGangCCMSRESTv1Common | src/main/java/org/jboss/pressgang/ccms/rest/v1/query/RESTPropertyCategoryQueryBuilderV1.java | Java | gpl-3.0 | 3,394 |
<?php
/**
* This file is part of OXID eShop Community Edition.
*
* OXID eShop Community Edition is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at yo... | NikolayPetrenko/oxid | application/models/oxnews.php | PHP | gpl-3.0 | 5,714 |
<?php
/*
##########################################################################
# #
# Version 4 / / / #
# -----------__---/__---__------__----__---/---/- #
# ... | webSPELL/webSPELL | languages/hr/newsletter.php | PHP | gpl-3.0 | 3,435 |
/* gvSIG. Sistema de Información Geográfica de la Generalitat Valenciana
*
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
*
* 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... | iCarto/siga | libFMap/src/com/iver/cit/gvsig/fmap/layers/FLyrVect.java | Java | gpl-3.0 | 77,323 |
/*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Shattered Pixel Dungeon
* Copyright (C) 2014-2019 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-gdx | core/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/missiles/darts/AdrenalineDart.java | Java | gpl-3.0 | 1,505 |
Bitrix 16.5 Business Demo = 16d7a678d19259b91107fcffd1fa68c9
| gohdan/DFC | known_files/hashes/bitrix/modules/sender/lang/ru/admin/mailing_edit.php | PHP | gpl-3.0 | 61 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using AppointmentsManagement.Classes;
namespace AppointmentsManagement.Forms
{
public partial class wfnSrvcOffrdForm : WeifenLuo.WinFormsUI.Docking.Doc... | rhomicom-systems-tech-gh/Rhomicom-ERP-Desktop | AppointmentsManagement/AppointmentsManagement/Forms/wfnSrvcOffrdForm.cs | C# | gpl-3.0 | 49,317 |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\/ M anipulation |
-------------... | kempj/OpenFOAM-win | src/parallel/decompose/decompositionMethods/geomDecomp/geomDecomp.H | C++ | gpl-3.0 | 2,796 |
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h"
#endif
#include "base58.h"
#include "clientversion.h"
#include... | berycoin-project/berycoin | src/bitcoin-tx.cpp | C++ | gpl-3.0 | 30,448 |
package net.minecraft.src;
public class BlockJukeBox extends BlockContainer
{
protected BlockJukeBox(int par1)
{
super(par1, Material.wood);
this.setCreativeTab(CreativeTabs.tabDecorations);
}
/**
* Called upon block activation (right click on the block.)
*/
public boolea... | herpingdo/Hakkit | net/minecraft/src/BlockJukeBox.java | Java | gpl-3.0 | 4,434 |
from bottle import route, template, error, request, static_file, get, post
from index import get_index
from bmarks import get_bmarks
from tags import get_tags
from add import add_tags
from bmarklet import get_bmarklet
from account import get_account
from edit_tags import get_edit_tags
from importbm import get_import_bm... | netllama/tastipy | tastiapp.py | Python | gpl-3.0 | 2,172 |
import com.jogamp.opengl.*;
import com.jogamp.opengl.awt.GLJPanel;
import com.jogamp.opengl.fixedfunc.GLMatrixFunc;
import com.jogamp.opengl.glu.GLU;
import javax.swing.*;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import static com.jogamp.opengl.GL.GL_COLOR_BUFFER_BIT;
import static com.jogam... | Tiofx/semester_6 | CG/src/LinesDemo.java | Java | gpl-3.0 | 6,151 |
<?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 ... | universityofglasgow/moodle | mod/coursework/actions/feedbacks/new.php | PHP | gpl-3.0 | 1,574 |
import java.io.IOException;
import java.io.PrintWriter;
import java.util.HashMap;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.ofte.serv... | MithunThadi/OFTE | SourceCode/new ofte with del monitor/servlet/ScheduledTransferRemoteasDestination.java | Java | gpl-3.0 | 5,035 |
package xde.lincore.mcscript.math;
public enum RoundingMethod {
Round, Floor, Ceil, CastInt;
public int round(final double value) {
switch (this) {
case Round:
return (int) Math.round(value);
case Floor:
return (int) Math.floor(value);
case Ceil:
return (int) Math.ceil(value);
case CastIn... | lincore81/mcscript | ScriptMod/src/xde/lincore/mcscript/math/RoundingMethod.java | Java | gpl-3.0 | 741 |
package com.baselet.gwt.client.view;
import java.util.List;
import com.baselet.control.basics.geom.Rectangle;
import com.baselet.control.config.SharedConfig;
import com.baselet.control.enums.ElementId;
import com.baselet.element.Selector;
import com.baselet.element.interfaces.GridElement;
import com.baselet.gwt.clien... | umlet/umlet | umlet-gwt/src/main/java/com/baselet/gwt/client/view/DrawCanvas.java | Java | gpl-3.0 | 5,538 |
#!/usr/bin/env python
class Message(object):
"""
Base type of a message sent through the pipeline.
Define some attributes and methods to form your message.
I suggest you don't alter this class. You're are free to do so, of course. It's your own decision.
Though, I suggest you creat... | lumannnn/pypifi | pypifi/message.py | Python | gpl-3.0 | 397 |
/*
* WorldEdit, a Minecraft world manipulation toolkit
* Copyright (C) sk89q <http://www.sk89q.com>
* Copyright (C) WorldEdit team and contributors
*
* This program 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 Sof... | UnlimitedFreedom/UF-WorldEdit | worldedit-core/src/main/java/com/sk89q/worldedit/internal/registry/AbstractFactory.java | Java | gpl-3.0 | 2,120 |
# Install dependencies of the cloud_controller component
package "libmysqlclient-dev" do
action :install
end
| Altoros/cf-vagrant-installer | chef/cloudfoundry/recipes/cloud_controller.rb | Ruby | gpl-3.0 | 112 |
<?php
/**
* @package Mautic
* @copyright 2014 Mautic Contributors. All rights reserved.
* @author Mautic
* @link http://mautic.org
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
namespace Mautic\CampaignBundle\Entity;
use Doctrine\Common\Collections\ArrayCollection;
use D... | mqueme/mautic | app/bundles/CampaignBundle/Entity/Campaign.php | PHP | gpl-3.0 | 11,416 |
package com.derpgroup.livefinder.manager;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties(ignoreUnknown = true)
public class TwitchFollowedStreamsResponse {
private TwitchStream[] streams;
public TwitchStream[] getStreams() {
return streams.clone... | DERP-Group/LiveFinder | service/src/main/java/com/derpgroup/livefinder/manager/TwitchFollowedStreamsResponse.java | Java | gpl-3.0 | 563 |
// Copyright 2015 ThoughtWorks, Inc.
//
// This file is part of Gauge-CSharp.
//
// Gauge-CSharp 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 la... | getgauge/gauge-csharp | Runner/ISandbox.cs | C# | gpl-3.0 | 2,096 |
<?php
/*
* This file is part of PHP-FFmpeg.
*
* (c) Alchemy <info@alchemy.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace FFMpeg\Media;
use Alchemy\BinaryDriver\Exception\ExecutionFailureException;
use FFMpeg\Filte... | vfremaux/moodle-mod_mplayer | extralib/PHP-FFMpeg-master/src/FFMpeg/Media/Audio.php | PHP | gpl-3.0 | 4,582 |
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import itertools
import json
import erpnext
import frappe
import copy
from erpnext.controllers.item_variant import (ItemVariantExistsError,
copy_attr... | shubhamgupta123/erpnext | erpnext/stock/doctype/item/item.py | Python | gpl-3.0 | 36,632 |
// ************************************************************************** //
// 24 Bomb //
// By: rcargou <rcargou@student.42.fr> ::: :::::::: //
// By: nmohamed <nmohamed@student.42.fr> :+: :+: :+: ... | noxsnono/Bomberman_42 | src/map/mapparser.class.cpp | C++ | gpl-3.0 | 9,453 |
package osberbot.bo;
/**
* TODO: Description
*
* @author Tititesouris
* @since 2016/03/20
*/
public class ViewerBO {
private Integer id;
private String name;
private Boolean moderator;
private RankBO rank;
public ViewerBO(Integer id, String name, RankBO rank) {
this.id = id;
... | Tititesouris/OsberBot | src/osberbot/bo/ViewerBO.java | Java | gpl-3.0 | 900 |
from datetime import datetime
import factory
from zds.forum.factories import PostFactory, TopicFactory
from zds.gallery.factories import GalleryFactory, UserGalleryFactory
from zds.utils.factories import LicenceFactory, SubCategoryFactory
from zds.utils.models import Licence
from zds.tutorialv2.models.database import... | ChantyTaguan/zds-site | zds/tutorialv2/factories.py | Python | gpl-3.0 | 8,840 |
package miscellaneous;
import java.util.Arrays;
public class Gen {
private static int greyCode(int n1){
return n1 ^ (n1 >> 1);
}
/*
* Advances l1 to next lexicographical higher combination.
* cap is the largest value allowed for one index.
* return false
*/
public static boolean nex... | cs6096/contest-library | src/miscellaneous/Gen.java | Java | gpl-3.0 | 1,729 |
#
# -*- coding: utf-8 -*-
# Dia Group Resize Plugin
# Copyright (c) 2015, Alexandre Machado <axmachado@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 Licen... | axmachado/dia-group-resize | group_resize.py | Python | gpl-3.0 | 6,960 |
package com.xcode.bean;
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContext;
import org.springframework.security.core.context.Securit... | georgematos/ocaert | src/com/xcode/bean/UserAuth.java | Java | gpl-3.0 | 838 |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2016-2019 OpenFOAM Foundation
\\... | will-bainbridge/OpenFOAM-dev | src/lagrangian/distributionModels/massRosinRammler/massRosinRammler.H | C++ | gpl-3.0 | 4,039 |
/*
meowbot
Copyright (C) 2008-2009 Park Jeong Min <pjm0616_at_gmail_d0t_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 versi... | pjm0616/meowbot-pub | modules/mod_luaeval.cpp | C++ | gpl-3.0 | 5,984 |
import { NgModule } from "@angular/core";
import { SamplesModule } from "samples/samples.module";
import { SamplesRoutingModule } from "./samples.routing.module";
@NgModule({
imports: [
SamplesModule,
SamplesRoutingModule
]
})
export class SamplesFeatureModule {}
| SciCatProject/catanie | src/app/app-routing/lazy/samples-routing/samples.feature.module.ts | TypeScript | gpl-3.0 | 277 |
package Yogibear617.mods.FuturisticCraft.CreativeTabs;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minecraft.creativetab.CreativeTabs;
public class FCSBModCreativeTab extends CreativeTabs {
public FCSBModCreativeTab(int par1, String par2... | Yogibear617/Futuristic_Craft | fc_common/Yogibear617/mods/FuturisticCraft/CreativeTabs/FCSBModCreativeTab.java | Java | gpl-3.0 | 455 |
from ..models import Album
from ..resource import SingleResource, ListResource
from ..schemas import AlbumSchema
class SingleAlbum(SingleResource):
schema = AlbumSchema()
routes = ('/album/<int:id>/',)
model = Album
class ListAlbums(ListResource):
schema = AlbumSchema(many=True)
routes = ('/albu... | justanr/owa | owa/api/album.py | Python | gpl-3.0 | 358 |
package com.eveningoutpost.dexdrip.Models;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import java.util.TimeZone;
// from package info.nightscout.client.utils;
/**
* Created by mike on 30.12.2015.
*/
/**
* The Class DateUtil. A simple wrapper ar... | TecMunky/xDrip | app/src/main/java/com/eveningoutpost/dexdrip/Models/DateUtil.java | Java | gpl-3.0 | 3,340 |
"""
System plugin
Copyright (C) 2016 Walid Benghabrit
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 distribu... | hkff/AccMon | accmon/plugins/system.py | Python | gpl-3.0 | 920 |
/*
* Copyright (C) 2017 GedMarc
*
* 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 distribute... | GedMarc/JWebSwing | src/main/java/com/jwebmp/core/htmlbuilder/css/displays/Displays.java | Java | gpl-3.0 | 3,363 |
package com.projectreddog.machinemod.container;
import com.projectreddog.machinemod.inventory.SlotBlazePowder;
import com.projectreddog.machinemod.inventory.SlotNotBlazePowder;
import com.projectreddog.machinemod.inventory.SlotOutputOnlyTurobFurnace;
import com.projectreddog.machinemod.tileentities.TileEntityTurboFurn... | TechStack/TechStack-s-HeavyMachineryMod | src/main/java/com/projectreddog/machinemod/container/ContainerTurboFurnace.java | Java | gpl-3.0 | 3,980 |
/**
Copyright (c) 2014-2015 "M-Way Solutions GmbH"
FruityMesh - Bluetooth Low Energy mesh protocol [http://mwaysolutions.com/]
This file is part of FruityMesh
FruityMesh 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 Foun... | Informatic/fruitymesh | src/modules/AdvertisingModule.cpp | C++ | gpl-3.0 | 6,350 |
/*
* Copyright (C) 2004 NNL Technology AB
* Visit www.infonode.net for information about InfoNode(R)
* products and how to contact NNL Technology AB.
*
* 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... | highsad/iDesktop-Cross | Controls/src/com/supermap/desktop/ui/docking/info/Info.java | Java | gpl-3.0 | 1,846 |
<?php
/**
* @package Joomla.Plugin
* @subpackage Content.Jtf
*
* @author Guido De Gobbis <support@joomtools.de>
* @copyright (c) 2017 JoomTools.de - All rights reserved.
* @license GNU General Public License version 3 or later
*/
defined('_JEXEC') or die;
extract($displayDa... | JoomTools/plg_content_jtf | src/plugins/content/jtf/layouts/joomla/form/field/subform/repeatable/section.uikit3.php | PHP | gpl-3.0 | 2,183 |
package net.seabears.game.entities.normalmap;
import static java.util.stream.IntStream.range;
import java.io.IOException;
import java.util.List;
import org.joml.Matrix4f;
import org.joml.Vector3f;
import org.joml.Vector4f;
import net.seabears.game.entities.Entity;
import net.seabears.game.entities.Light;
import net... | cberes/game | engine/src/main/java/net/seabears/game/entities/normalmap/NormalMappingShader.java | Java | gpl-3.0 | 4,691 |
'use strict'
// untuk status uploader
const STATUS_INITIAL = 0
const STATUS_SAVING = 1
const STATUS_SUCCESS = 2
const STATUS_FAILED = 3
// base url api
const BASE_URL = 'http://localhost:3000'
const app = new Vue({
el: '#app',
data: {
message: 'Hello',
currentStatus: null,
uploadError: null,
up... | hariantara/rapid-share-clone | client/assets/lib/upload.js | JavaScript | gpl-3.0 | 2,046 |
Simpla CMS 2.3.8 = f8952829bab201835e255735de3774f0
| gohdan/DFC | known_files/hashes/Smarty/libs/sysplugins/smarty_internal_compile_extends.php | PHP | gpl-3.0 | 52 |
#include "../header/Base.h"
#include "../header/Decorator.h"
Decorator::Decorator() {
}
Decorator::Decorator(Base* node) {
}
Decorator::~Decorator() {
}
| ksemelka/rshell | src/Decorator.cpp | C++ | gpl-3.0 | 156 |
/*
* 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/timeline/TimelineBodyPanel.java | Java | gpl-3.0 | 15,335 |
//===========================================================================//
// File: memblock.hh //
// Contents: Interface specification of the memory block class //
//---------------------------------------------------------------------------//
... | alariq/mc2 | mclib/stuff/memoryblock.hpp | C++ | gpl-3.0 | 4,175 |
#!/usr/bin/env python
import turtle
import random
def bloom(radius):
turtle.colormode(255)
for rad in range(40, 10, -5):
for looper in range(360//rad):
turtle.up()
turtle.circle(radius+rad, rad)
turtle.begin_fill()
turtle.fillcolor((200+random.randint(0,... | mpclemens/python-explore | turtle/bloom.py | Python | gpl-3.0 | 728 |
/*
* Orbit, a versatile image analysis software for biological image-based quantification.
* Copyright (C) 2009 - 2017 Idorsia Pharmaceuticals Ltd., Hegenheimermattweg 91, CH-4123 Allschwil, Switzerland.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms ... | mstritt/image-provider-omero | src/main/java/com/actelion/research/orbit/imageprovider/tree/TreeNodeProject.java | Java | gpl-3.0 | 3,070 |
/**
*
* Copyright 2014 Martijn Brekhof
*
* This file is part of Catch Da Stars.
*
* Catch Da Stars 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 optio... | poisdeux/catchdastars | core/src/com/strategames/engine/gameobject/types/Door.java | Java | gpl-3.0 | 4,823 |
/*
Buffer.cpp - This file is part of Element
Copyright (C) 2014 Kushview, LLC. All rights reserved.
*/
#if ELEMENT_BUFFER_FACTORY
Buffer::Buffer (DataType dataType_, uint32 subType_)
: factory (nullptr),
refs (0),
dataType (dataType_),
subType (subType_),
capacity (0),
next... | kushview/element | experimental/Buffer.cpp | C++ | gpl-3.0 | 780 |
/*
* Decompiled with CFR 0_115.
*
* Could not load the following classes:
* android.content.BroadcastReceiver
* android.content.Context
* android.content.Intent
* android.content.IntentFilter
*/
package com.buzzfeed.android.vcr.util;
import android.content.BroadcastReceiver;
import android.content.Context... | SPACEDAC7/TrabajoFinalGrado | uploads/34f7f021ecaf167f6e9669e45c4483ec/java_source/com/buzzfeed/android/vcr/util/VCRBitrateLimitingReceiver.java | Java | gpl-3.0 | 1,401 |
namespace SandbarWorkbench
{
partial class frmOptions
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/... | NorthArrowResearch/sandbar-analysis-workbench | SandbarWorkbench/frmOptions.Designer.cs | C# | gpl-3.0 | 43,463 |
sap.ui.jsview(ui5nameSpace, {
// define the (default) controller type for this View
getControllerName: function() {
return "my.own.controller";
},
// defines the UI of this View
createContent: function(oController) {
// button text is bound to Model, "press" action is bound to Cont... | Ryan-Boyd/ui5-artisan | lib/stubs/views/PlainView.js | JavaScript | gpl-3.0 | 368 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author dh2744
*/
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.... | igm-team/meaRtools | Java_IGMDash-master/src/CheckField.java | Java | gpl-3.0 | 29,621 |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('characters', '0011_auto_20160212_1144'),
]
operations = [
migrations.CreateModel(
name='CharacterSpells',
... | svamp/rp_management | characters/migrations/0012_auto_20160212_1210.py | Python | gpl-3.0 | 1,712 |