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 |
|---|---|---|---|---|---|
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>
// Includes ====================================================================
#include <spuc/raised_cosine_imp.h>
// Using =====================================================... | sav6622/spuc | pyste/raised_cosine_imp.cpp | C++ | gpl-3.0 | 552 |
/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
*
* Copyright 2010-2011, Leo Franchi <lfranchi@kde.org>
*
* Tomahawk 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,... | tomahawk-player/tomahawk | src/libtomahawk/jobview/TransferStatusItem.cpp | C++ | gpl-3.0 | 3,947 |
/***************************************************************************
* Copyright (C) 2006 by Esteban Zeller & Daniel Sequeira *
* juiraze@yahoo.com.ar - daniels@hotmail.com *
* *
* This program is free software; you can ... | tranfuga25s/gestotux | plugins/digifauno/resumenanual.cpp | C++ | gpl-3.0 | 1,754 |
/*
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.ice4j.socket;
import java.net.*;
import org.ice4j.*;
import org.ice4j.mes... | ziah/Friends-Module | ice4j-lib/org/ice4j/socket/TurnDatagramPacketFilter.java | Java | gpl-3.0 | 4,068 |
/*
* This file is part of JGrasstools (http://www.jgrasstools.org)
* (C) HydroloGIS - www.hydrologis.com
*
* JGrasstools 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,... | silviafranceschi/jgrasstools | gui/src/main/java/org/jgrasstools/gui/spatialtoolbox/core/ViewerModule.java | Java | gpl-3.0 | 1,640 |
<?php
/**
* Mahara: Electronic portfolio, weblog, resume builder and social networking
* Copyright (C) 2006-2008 Catalyst IT Ltd (http://www.catalyst.net.nz)
*
* 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 S... | Br3nda/mahara | htdocs/artefact/blog/blocktype/recentposts/lib.php | PHP | gpl-3.0 | 4,805 |
/*
* Copyright (C) 2019 yi
*
* 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 distrib... | jeplus/jEPlus | src/main/java/jeplus/event/IF_ProjectChangedHandler.java | Java | gpl-3.0 | 959 |
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it w... | fracpete/gpsformats4j | src/main/java/com/github/fracpete/gpsformats4j/formats/Format.java | Java | gpl-3.0 | 2,058 |
package sokobanMod.common;
import java.util.List;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.m... | MineMaarten/Sokoban-Mod | src/sokobanMod/common/BlockUnbreakableGlasses.java | Java | gpl-3.0 | 2,099 |
/* Copyright 2008,2009,2010 Edwin Eefting (edwin@datux.nl)
This file is part of Synapse.
Synapse 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... | psy0rz/Synapse | modules/pong.module/module.cpp | C++ | gpl-3.0 | 11,121 |
from pygame import USEREVENT
# Events
SONG_END_EVENT = USEREVENT + 1
ENEMY_DESTROYED_EVENT = USEREVENT + 2
BOSS_BATTLE_EVENT = USEREVENT + 3
DISPLAY_MESSAGE_EVENT = USEREVENT + 4
END_LEVEL_EVENT = USEREVENT + 5
END_GAME_EVENT = USEREVENT + 6
# Constants
SCREEN_SIZE = (800, 600)
# Colors
COLOR_BLACK = (0, 0, 0)
| juanjosegzl/learningpygame | constants.py | Python | gpl-3.0 | 315 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using BMW.Rheingold.Psdz.Model.Ecu;
namespace BMW.Rheingold.Psdz.Model.Sfa
{
[KnownType(typeof(PsdzEcuIdentifier))]
[KnownType(typeof(PsdzFeatureIdCto))]
... | uholeschak/ediabaslib | Tools/Psdz/PsdzClientLibrary/Psdz/PsdzSecureTokenEto.cs | C# | gpl-3.0 | 720 |
// Copyright (c) 2005 Brian Wellington (bwelling@xbill.org)
package org.xbill.DNS;
import java.io.*;
import java.net.*;
import java.nio.channels.*;
import org.xbill.DNS.utils.hexdump;
class Client {
protected long endTime;
protected SelectionKey key;
protected
Client(SelectableChannel channel, long endTime) throws... | dikonikon/layer17 | src/main/java/org/xbill/DNS/Client.java | Java | gpl-3.0 | 1,221 |
#include "SceneObject2.h"
SceneObject2::SceneObject2 ()
{
}
SceneObject2::~SceneObject2 ()
{
}
void SceneObject2::Update2 ()
{
}
void SceneObject2::Gravity_check2()
{
}
void SceneObject2::Draw2 ()
{
}
void SceneObject2::Jump2()
{
}
void SceneObject2::isover2()
{
over2 = true;
}
bool SceneObject2::get_over2... | ralucamindr/LiteEngine2D | src/SceneObject2.cpp | C++ | gpl-3.0 | 569 |
<?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.
//
//... | nitro2010/moodle | lib/editor/atto/plugins/computing/ajax.php | PHP | gpl-3.0 | 1,810 |
var dir_74389ed8173ad57b461b9d623a1f3867 =
[
[ "Containers", "dir_08cccf7962d497a198ad678c4e330cfd.html", "dir_08cccf7962d497a198ad678c4e330cfd" ],
[ "Controls", "dir_6f73af2b2c97c832a8b61d1fc1ff2ac5.html", "dir_6f73af2b2c97c832a8b61d1fc1ff2ac5" ],
[ "Util", "dir_7db6fad920da64edfd558eb6dbc0c610.html", "dir... | KateAdams/kateadams.eu | static/*.kateadams.eu/Consor/Doxygen/dir_74389ed8173ad57b461b9d623a1f3867.js | JavaScript | gpl-3.0 | 2,985 |
class AddOpenscapProxyToHostAndHostgroup < ActiveRecord::Migration
def up
add_column :hostgroups, :openscap_proxy_id, :integer
add_column :hosts, :openscap_proxy_id, :integer
add_column :reports, :openscap_proxy_id, :integer
end
def down
remove_column :hostgroups, :openscap_proxy_id, :integer
... | shlomizadok/foreman_openscap | db/migrate/20151120090851_add_openscap_proxy_to_host_and_hostgroup.rb | Ruby | gpl-3.0 | 429 |
/*******************************************************************************
* 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... | WorldGrower/WorldGrower | src/org/worldgrower/ImmutableWorldObject.java | Java | gpl-3.0 | 4,739 |
""" This is a test of the chain
ReportsClient -> ReportsGeneratorHandler -> AccountingDB
It supposes that the DB is present, and that the service is running.
Also the service DataStore has to be up and running.
this is pytest!
"""
# pylint: disable=invalid-name,wrong-import-position
import datetime
... | DIRACGrid/DIRAC | tests/Integration/AccountingSystem/Test_ReportsClient.py | Python | gpl-3.0 | 2,308 |
/* Aether2DImgMaker -- console app to generate images of the Aether cellular automaton in 2D
Copyright (C) 2017-2022 Jaume Ribas
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, e... | JaumeRibas/Aether2DImgMaker | CellularAutomata/src/cellularautomata/model1d/SymmetricLongModel1D.java | Java | gpl-3.0 | 1,577 |
package code.name.monkey.appthemehelper.common.prefs.supportv7;
import android.content.Context;
import android.support.v7.preference.ListPreference;
import android.util.AttributeSet;
import code.name.monkey.appthemehelper.R;
/**
* @author Aidan Follestad (afollestad)
*/
public class ATEListPreference extends ListP... | h4h13/RetroMusicPlayer | appthemehelper/src/main/java/code/name/monkey/appthemehelper/common/prefs/supportv7/ATEListPreference.java | Java | gpl-3.0 | 1,187 |
package com.michaelvescovo.android.itemreaper.edit_item;
import com.michaelvescovo.android.itemreaper.util.FakeImageFileImpl;
import com.michaelvescovo.android.itemreaper.util.ImageFile;
import dagger.Module;
import dagger.Provides;
/**
* @author Michael Vescovo
*/
@Module
public class EditItemModule {
priva... | mvescovo/item-reaper | app/src/mock/java/com/michaelvescovo/android/itemreaper/edit_item/EditItemModule.java | Java | gpl-3.0 | 701 |
//
// <one line to give the program's name and a brief idea of what it does.>
// Copyright (C) 2017. WenJin Yu. windpenguin@gmail.com.
//
// Created at 2017/11/17 17:42:13
// Version 1.0
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as... | windpenguin/WindUtil | Src/TestWindUtil/TestIdMgr.cpp | C++ | gpl-3.0 | 1,283 |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTableFellowProgress extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
//
Schema::creat... | GobiernoFacil/agentes-v2 | database/migrations/2018_05_03_131639_create_table_fellow_progress.php | PHP | gpl-3.0 | 922 |
#include <algorithm>
#include <cstdio>
#include <vector>
using std::vector;
using std::max;
#define clean(arr, con, len) for (int i=0; i<len ; i++) arr[i] = con;
#define iftdo(con, tdo, len) for (int i=1; i<=len; i++) if(con) {tdo;}
const int MAXN = 5010;
const int MAXM = 50010;
typedef enum {DO, DOING, DID} status;
s... | YanWQ-monad/monad | Cpp/Exam-answer/smoj.nhedu.net/1529.cpp | C++ | gpl-3.0 | 1,210 |
/*
This file is a part of libcds - Concurrent Data Structures library
(C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2017
Source code repo: http://github.com/khizmax/libcds/
Download: http://sourceforge.net/projects/libcds/files/
Redistribution and use in source and binary forms, with... | whc10002/study | libcds/test/unit/pqueue/fcpqueue_deque.cpp | C++ | gpl-3.0 | 5,258 |
<?php
/*
* * Purpose: Add support for external modules to extend Zabbix native functions
* * Adail Horst - http://spinola.net.br/blog
* *
* * 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 Foundati... | SpawW/everyz | everyz.php | PHP | gpl-3.0 | 4,786 |
package biz.dealnote.messenger.crypt;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import androidx.annotation.IntDef;
/**
* Created by admin on 08.10.2016.
* phoenix
*/
@IntDef({SessionState.INITIATOR_EMPTY, SessionState.NO_INITIATOR_EMPTY, SessionState.INITIATOR_STATE_1, Se... | PhoenixDevTeam/Phoenix-for-VK | app/src/main/java/biz/dealnote/messenger/crypt/SessionState.java | Java | gpl-3.0 | 2,719 |
'''Language module, allows the user to change the language on demand'''
# -*- coding: utf-8 -*-
# This file is part of emesene.
#
# emesene 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 v... | emesene/emesene | emesene/Language.py | Python | gpl-3.0 | 7,488 |
<?php
F::GetSubmit("id");
if($id) {
$sql = "SELECT name FROM file_doc WHERE file_id = $id";
$name = $DB->GetOne($sql);
$path = dirname($_SERVER['DOCUMENT_ROOT'].$_SERVER['PHP_SELF'])."/root/".$id;
// Force the download
header('Cache-Control: private');
header('Pragma: private');
header("Cache-Control: no-cache, m... | yoursun0/leave | Download.php | PHP | gpl-3.0 | 773 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package NetSpace;
import java.lang.instrument.Instrumentation;
/**
*
* @author ubuntu
*/
public class Main {
/**
* @param args the command line arguments
*/
public static void main(String[] args)... | A-Malone/net-space | src/NetSpace/Main.java | Java | gpl-3.0 | 502 |
##
# This module requires Metasploit: http://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
require 'msf/core'
class Metasploit3 < Msf::Exploit::Remote
Rank = GreatRanking
include Msf::Exploit::FILEFORMAT
include Msf::Exploit::Seh
def initialize(info = {})
su... | cSploit/android.MSF | modules/exploits/windows/fileformat/feeddemon_opml.rb | Ruby | gpl-3.0 | 4,129 |
<?php
require 'includes/functions.php';
include_once 'config.php';
$companyName = $_POST['companyName'];
$latitude = $_POST['latitude'];
$longitude = $_POST['longitude'];
$address = $_POST['address'];
$yearOfExistance = $_POST['yearOfExistance'];
$insertCompany = new InsertCost;
... | sudikrt/cost_prediction | login/insertCompany.php | PHP | gpl-3.0 | 569 |
package gov.nasa.gsfc.seadas.processing.common;
import com.bc.ceres.core.CoreException;
import com.bc.ceres.core.ProgressMonitor;
import com.bc.ceres.core.runtime.ConfigurationElement;
import com.bc.ceres.core.runtime.RuntimeContext;
import com.bc.ceres.swing.progress.ProgressMonitorSwingWorker;
import gov.nasa.gsfc.s... | seadas/seadas | seadas-processing/src/main/java/gov/nasa/gsfc/seadas/processing/common/CallCloProgramAction.java | Java | gpl-3.0 | 20,043 |
/*
* STaRS, Scalable Task Routing approach to distributed Scheduling
* Copyright (C) 2012 Javier Celaya
*
* This file is part of STaRS.
*
* 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; e... | jcelaya/stars | src/test/TestSuite.cpp | C++ | gpl-3.0 | 4,080 |
import os
import pytest
import perun.utils.helpers as helpers
import perun.utils.streams as streams
import perun.logic.store as store
import perun.logic.index as index
import perun.utils.exceptions as exceptions
import perun.utils.timestamps as timestamps
__author__ = 'Tomas Fiedor'
@pytest.mark.usefixtures('cleand... | tfiedor/perun | tests/test_store.py | Python | gpl-3.0 | 7,270 |
/** @jsx React.DOM */
jest.dontMock('./../jsx/jestable/DeleteButton.js');
describe('DeleteButton', function() {
it('creates a button that deletes keyword from the keyword list', function() {
var React = require('react/addons');
var DeleteButton = require('./../jsx/jestable/DeleteButton.js');
... | Reynslan/moggo | components/__tests__/DeleteButton-test.js | JavaScript | gpl-3.0 | 1,154 |
/*
* This file is part of MinecartRevolution-Core.
* Copyright (c) 2012 QuarterCode <http://www.quartercode.com/>
*
* MinecartRevolution-Core 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 ... | QuarterCode/MinecartRevolution | core/src/main/java/com/quartercode/minecartrevolution/core/util/cart/MinecartUtil.java | Java | gpl-3.0 | 4,595 |
package com.abm.mainet.water.domain;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
im... | abmindiarepomanager/ABMOpenMainet | Mainet1.1/MainetServiceParent/MainetServiceWater/src/main/java/com/abm/mainet/water/domain/AdditionalOwnerInfo.java | Java | gpl-3.0 | 9,175 |
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope t... | costis-t/smallProjects | SR_TMOI_GradientDescent/Gradient_Descent_Challenge.cpp | C++ | gpl-3.0 | 3,125 |
class AddExplicitExpirationToUnavailableFors < ActiveRecord::Migration[6.0]
def change
add_column :unavailable_as_candidate_fors, :expires_at, :datetime, index: true
end
end
| greenriver/boston-cas | db/migrate/20200312133258_add_explicit_expiration_to_unavailable_fors.rb | Ruby | gpl-3.0 | 182 |
/**
Copyright (C) 2014 www.cybersearch2.com.au
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... | andrew-bowley/xpl | tutorial/src/main/java/au/com/cybersearch2/classy_logic/tutorial18/ForeignColors.java | Java | gpl-3.0 | 7,706 |
/*
Copyright 2015 Philipp Adam, Manuel Caspari, Nicolas Lukaschek
contact@ravenapp.org
This file is part of Raven.
Raven is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
... | manuelsc/Raven-Messenger | Raven Core/src/hash/ScryptTool.java | Java | gpl-3.0 | 1,890 |
package cn.ac.rcpa.bio.proteomics.filter;
import cn.ac.rcpa.bio.proteomics.IIdentifiedPeptide;
import cn.ac.rcpa.bio.proteomics.IIdentifiedPeptideHit;
import cn.ac.rcpa.filter.IFilter;
public class IdentifiedPeptideHitFilterByPeptideFilter
implements IFilter<IIdentifiedPeptideHit> {
private IFilter<IIde... | shengqh/RcpaBioJava | src/cn/ac/rcpa/bio/proteomics/filter/IdentifiedPeptideHitFilterByPeptideFilter.java | Java | gpl-3.0 | 695 |
package it.unibas.lunatic.test.mc.dbms.basicscenario;
import it.unibas.lunatic.Scenario;
import it.unibas.lunatic.model.chase.chasemc.operators.ChaseMCScenario;
import it.unibas.lunatic.model.chase.chasemc.DeltaChaseStep;
import it.unibas.lunatic.model.chase.commons.operators.ChaserFactoryMC;
import it.unibas.lunatic.... | donatellosantoro/Llunatic | lunaticEngine/test/it/unibas/lunatic/test/mc/dbms/basicscenario/TestSQLPersons.java | Java | gpl-3.0 | 4,992 |
/*
* 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/engine/export/ooxml/DocxStyleHelper.java | Java | gpl-3.0 | 4,862 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Cereal64.Common.Rom
{
interface IXMLRomProjectItem
{
string GetXMLName();
string GetXMLPath();
}
}
| mib-f8sm9c/Cereal64 | Common/Rom/IXMLRomProjectItem.cs | C# | gpl-3.0 | 228 |
package com.cloudera.cmf.service.config;
import com.cloudera.cmf.service.ServiceDataProvider;
import com.cloudera.cmf.service.ServiceHandlerRegistry;
import com.cloudera.cmf.service.hdfs.DfsConnector;
import com.cloudera.cmf.service.hdfs.HdfsParams;
import com.google.common.collect.ImmutableList;
import java.ut... | Mapleroid/cm-server | server-5.11.0.src/com/cloudera/cmf/service/config/DefaultFsEvaluator.java | Java | gpl-3.0 | 977 |
import data.Host;
import java.net.InetAddress;
import java.net.UnknownHostException;
public class DCMCommandLibraryLinux
{
private Host host;
private String command = "";
private InetAddress inetAddress;
private String dcmServerIP;
private String mpstatDataFile;
private String iostatDat... | ron-from-nl/DataCenterManager | src/DCMCommandLibraryLinux.java | Java | gpl-3.0 | 37,200 |
<?
//________________________________________________________________________________________________________
//
// Fichero de idiomas php: restaurarsoftincremental_esp.php (Comandos)
// Idioma: Español
//________________________________________________________________________________________________________
$TbMsg=a... | DreamaerD/Opengnsys | admin/WebConsole/idiomas/php/esp/comandos/restaurarsoftincremental_esp.php | PHP | gpl-3.0 | 1,652 |
<?php
namespace Claroline\CoreBundle\Controller\Mooc;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\... | Solerni-R1-1/CoreBundle | Controller/Mooc/MoocAccessConstraintsController.php | PHP | gpl-3.0 | 7,982 |
package br.com.hebertmorais.movierating;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {... | hebertmorais/ZMovieRating | app/src/androidTest/java/br/com/hebertmorais/movierating/ApplicationTest.java | Java | gpl-3.0 | 362 |
package offeneBibel.parser;
public class ObParallelPassageNode extends ObAstNode {
private String m_book;
private int m_chapter;
private int m_startVerse;
private int m_stopVerse;
public ObParallelPassageNode(String book, int chapter, int verse) {
super(NodeType.parallelPassage);
m... | freie-bibel/free-offene-bibel-converter | src/main/java/offeneBibel/parser/ObParallelPassageNode.java | Java | gpl-3.0 | 1,155 |
/*
Copyright (C) 2014-2016 de4dot@gmail.com
This file is part of dnSpy
dnSpy 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 late... | MeteorAdminz/dnSpy | dnSpy/dnSpy/Text/Tagging/Xml/XmlClassifier.cs | C# | gpl-3.0 | 10,423 |
/***************************************************************
* This source files comes from the xLights project
* https://www.xlights.org
* https://github.com/smeighan/xLights
* See the github commit history for a record of contributing
* developers.
* Copyright claimed based on commit dates recorded in Githu... | smeighan/xLights | xLights/models/DMX/DmxSkulltronix.cpp | C++ | gpl-3.0 | 61,427 |
#region LICENSE
/*
Copyright 2014 - 2015 LeagueSharp
Orbwalking.cs is part of LeagueSharp.Common.
LeagueSharp.Common 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
(a... | SephLeague/LeagueSharp | YasuoPro/Orbwalking.cs | C# | gpl-3.0 | 70,413 |
function failure () {
}
function create_msg(){
//alert(document.getElementById('intraweb').value);
if (document.getElementById('intraweb').value == '') {
jQuery('#intraweb').focus();
}
}
function enableTopicListSort(){
if (jQuery( "#EnDisSort" ).hasClass( "disabled" )) {
jQuery('.hand... | projectestac/intraweb | intranet/modules/IWforums/javascript/IWforums.js | JavaScript | gpl-3.0 | 14,075 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// 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: 2015.12.18 at 12:06... | DevTechnology/DTGEPA | epa-api-webapp/src/main/java/com/devtechnology/api/jaxb/DataType.java | Java | gpl-3.0 | 6,435 |
package com.dotcms.content.elasticsearch.business;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.List;
im... | austindlawless/dotCMS | src/com/dotcms/content/elasticsearch/business/ESContentletIndexAPI.java | Java | gpl-3.0 | 23,993 |
""" Copied from https://bitcointalk.org/index.php?topic=1026.0 (public domain) """
from hashlib import sha256
if str != bytes:
def ord(c):
# Python 3.x
return c
def chr(n):
return bytes((n,))
__b58chars = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'
__b58base = len(_... | simplecrypto/cryptokit | cryptokit/base58.py | Python | gpl-3.0 | 2,723 |
// For ntohX / htonX
#ifdef _WIN32
#include <winsock2.h>
#else
#include <arpa/inet.h>
#endif
#include "byte_order.h"
namespace net {
uint16_t ntoh( const uint16_t& src ) {
return ntohs(src);
}
uint32_t ntoh( const uint32_t& src ) {
return ntohl(src);
}
uint16_t hton( const uint16_t& src ) {
return htons(... | IronSavior/phlegethon | src/net/byte_order.cpp | C++ | gpl-3.0 | 411 |
const path = require('path')
const webpack = require('webpack')
var config = {
devtool: 'source-map',
entry: './lib/index.js',
output: {
path: path.join(__dirname, 'dist'),
filename: 'napchart.min.js',
library: 'Napchart',
libraryTarget: 'var'
},
module: {
rules: [
{
... | larskarbo/napchart | webpack.config.js | JavaScript | gpl-3.0 | 798 |
// ----------- General Utility Functions -----------
function get_answer_div(answer_id) {
return dom_lookup("answer-", answer_id)
}
function get_answer_div_desc_div(answer_div) {
return dom_lookup("desc-", answer_div.id)
}
function get_question_desc_div(question_id) {
return dom_lookup("question-desc-", ... | kc0bfv/RankedChoiceRestaurants | RankedChoiceRestaurants/static/voting/ranked_choice.js | JavaScript | gpl-3.0 | 9,999 |
import { QueryInterface } from "sequelize";
export default {
up: (queryInterface: QueryInterface) => {
return Promise.resolve()
.then(() => queryInterface.bulkInsert("dimension_bridges", [
{
type: "hookshot_webhook",
name: "Webhooks Bridge... | turt2live/matrix-dimension | src/db/migrations/20211202181745-AddHookshotWebhookBridgeRecord.ts | TypeScript | gpl-3.0 | 782 |
<?php
/**
* QuittanceTable
*
* This class has been auto-generated by the Doctrine ORM Framework
*/
class QuittanceTable extends Doctrine_Table
{
/**
* Returns an instance of this class.
*
* @return object QuittanceTable
*/
public static function getInstance()
{
return Doctr... | MichaelMure/Ordo | lib/model/doctrine/QuittanceTable.class.php | PHP | gpl-3.0 | 360 |
package visualization.utilities;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
public class BidirectionalHashMap<K1,K2> {
protected HashMap<K1,K2> left = new HashMap<K1, K2>();
protected HashMap<K2,K1> right= new HashMap<K2, K1>();
public void put(K1 k1, K2 k2) {
left... | Integrative-Transcriptomics/inPHAP | HaplotypeViewer/visualization/utilities/BidirectionalHashMap.java | Java | gpl-3.0 | 1,215 |
/**
* Copyright (c) 2015 TerraFrame, Inc. All rights reserved.
*
* This file is part of Geoprism(tm).
*
* Geoprism(tm) 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
* L... | terraframe/geodashboard | geoprism-server/src/main/java-gen/stub/net/geoprism/data/etl/TargetFieldGeoEntityBinding.java | Java | gpl-3.0 | 4,444 |
package SeniorProjectTests.DrawShapes.Curve;
import static org.junit.Assert.*;
import org.junit.AfterClass;
import org.junit.Test;
import com.cburch.draw.shapes.Curve;
import com.cburch.logisim.data.Location;
/*
* 1. tests that it matches the position correctly in the middle location
* 2. makes sure the method re... | aaorellana/Logisim-SeniorProject | TestCases/SeniorProjectTests/DrawShapes/Curve/Test_draw_shapes_Curve_matches.java | Java | gpl-3.0 | 4,222 |
/**===============================================================================
*
* MotiQ_cropper plugin for ImageJ, Version v0.1.1
*
* Copyright (C) 2014-2017 Jan Niklas Hansen
* First version: December 01, 2014
* This Version: May 03, 2017
*
* This program is free software; you can redistribute it and/... | hansenjn/MotiQ | Cropper/src/main/java/motiQ_cr/Cropper_.java | Java | gpl-3.0 | 27,906 |
class AddUserIdToBalances < ActiveRecord::Migration[5.0]
def change
add_column :balances, :user_id, :integer
end
end
| kizzonia/TBTC | db/migrate/20170709204817_add_user_id_to_balances.rb | Ruby | gpl-3.0 | 125 |
<?php
namespace common\modules\fa\models;
use Yii;
/**
* This is the model class for table "{{%fa_asset_trasaction}}".
*
* @property string $fa_asset_trasaction_id
* @property integer $fa_asset_id
* @property integer $transaction_type_id
* @property string $quantity
* @property string $amount
* @property str... | zeddarn/yinoerp | _protected/common/modules/fa/models/FaAssetTrasaction.php | PHP | gpl-3.0 | 2,611 |
using UnityEngine;
public class PauseMenuHandler : MonoBehaviour {
public void ResumeGame() { MenuSystem.instance.ResumeGame(); }
public void AbortGame() { MenuSystem.instance.AbortGame(); }
}
| Rezmason/Gamut | Assets/UI Scripts/PauseMenuHandler.cs | C# | gpl-3.0 | 199 |
<?php /*
P2P Food Lab
P2P Food Lab is an open, collaborative platform to develop an
alternative food value system.
Copyright (C) 2013 Sony Computer Science Laboratory Paris
Author: Peter Hanappe
This program is free software: you can redistribute it and/or modify
it under the terms o... | hanappe/p2pfoodlab | https/dataset.view.php | PHP | gpl-3.0 | 12,733 |
# -*- coding: utf-8 -*-
#
# Copyright © 2012 - 2019 Michal Čihař <michal@cihar.com>
#
# This file is part of Weblate <https://weblate.org/>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, eith... | dontnod/weblate | weblate/lang/models.py | Python | gpl-3.0 | 20,870 |
/**
* Genji Scrum Tool and Issue Tracker
* Copyright (C) 2015 Steinbeis GmbH & Co. KG Task Management Solutions
* <a href="http://www.trackplus.com">Genji Scrum Tool</a>
*
* 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... | trackplus/Genji | src/main/java/com/aurel/track/beans/base/BaseTFilterCategoryBean.java | Java | gpl-3.0 | 8,748 |
//
// Installs the bash completion script
//
// Load the needed modules
var fs = require('fs');
var path = require('path');
// File name constants
var BASH_COMPLETION = '/etc/bash_completion.d';
var COMPLETION = path.join(__dirname, '..', 'completion.sh');
// Make sure the bash completion directory exists
path.exist... | kbjr/node-crux | scripts/bash-completion.js | JavaScript | gpl-3.0 | 1,206 |
<?php
/**
* Indicia, the OPAL Online Recording Toolkit.
*
* 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
* any later version.
* This program is distri... | Indicia-Team/warehouse | modules/species_alerts/config/species_alerts.php.example.php | PHP | gpl-3.0 | 1,054 |
<?php
/**
* Minimum Order Fee extension
*
* NOTICE OF LICENSE
*
* This extension 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... | unleashedtech/min-order-fee-magento | src/code/Block/Sales/Order/Totals.php | PHP | gpl-3.0 | 1,683 |
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be use... | MarkVTech/DiagramExample | rectangleshape.cpp | C++ | gpl-3.0 | 4,247 |
package cn.ac.rcpa.bio.proteomics.utils;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
imp... | shengqh/RcpaBioJava | src/cn/ac/rcpa/bio/proteomics/utils/PeptideUtils.java | Java | gpl-3.0 | 7,387 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SoftMod.Framework;
using SoftMod.Framework.Solution;
using SoftMod.Framework.Modules.Comparator;
using SoftMod.Framework.RNG;
namespace SoftMod.Framework.Modules.Operator
{
public class TournamentSelection : ModuleBase
... | cdrwolfe/SoftMod | SoftMod.Framework/Modules/Operator/TournamentSelection.cs | C# | gpl-3.0 | 11,104 |
# -*- coding: utf-8 -*-
"""
HipparchiaServer: an interface to a database of Greek and Latin texts
Copyright: E Gunderson 2016-21
License: GNU GENERAL PUBLIC LICENSE 3
(see LICENSE in the top level directory of the distribution)
"""
import re
from collections import defaultdict
try:
from rich.progress import tra... | e-gun/HipparchiaServer | server/listsandsession/sessiondicts.py | Python | gpl-3.0 | 4,686 |
/**
*
*/
package com.fr.design.report.share;
import java.util.HashMap;
import com.fr.data.impl.EmbeddedTableData;
import com.fr.general.GeneralUtils;
import com.fr.stable.ArrayUtils;
import com.fr.stable.StringUtils;
/**
* 混淆传入的tabledata
*
* @author neil
*
* @date: 2015-3-10-上午10:45:41
*/... | fanruan/finereport-design | designer/src/com/fr/design/report/share/ConfuseTabledataAction.java | Java | gpl-3.0 | 2,273 |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
\\ / O peration | Version: 3.2
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For ... | Unofficial-Extend-Project-Mirror/foam-extend-foam-extend-3.2 | src/finiteVolume/fields/fvPatchFields/derived/outletInlet/outletInletFvPatchFieldsFwd.H | C++ | gpl-3.0 | 1,891 |
const constants = require('./../routes/constants.json');
const logger = require('../utils/logger');
const amanda = require('amanda');
const jsonSchemaValidator = amanda('json');
const math = require('mathjs');
const calculatePopularity = popularity => {
logger.debug('Calculating popularity');
if (popularity) {
... | tallerify/shared-server | src/handlers/response.js | JavaScript | gpl-3.0 | 16,674 |
<?php
// Heading
$_['heading_title'] = 'Paskyra';
// Text
$_['text_register'] = 'Registruotis';
$_['text_login'] = 'Prisijungti';
$_['text_logout'] = 'Atsijungti';
$_['text_forgotten'] = 'Priminti slaptažodį';
$_['text_account'] = 'Mano paskyra';
$_['text_edit'] = 'Mano duomenys';
$_['te... | zilgrg/opencart | upload/catalog/language/lithuanian/module/account.php | PHP | gpl-3.0 | 756 |
#region header
// ========================================================================
// Copyright (c) 2018 - Julien Caillon (julien.caillon@gmail.com)
// This file (ProgressCopy.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 Public ... | jcaillon/3P | 3PA/Lib/ProgressCopy.cs | C# | gpl-3.0 | 8,184 |
var searchData=
[
['network',['Network',['../classNetwork.html',1,'Network< Vertex, Edge >'],['../classNetwork.html#a5041dbbc6de74dfee903edb066476ddb',1,'Network::Network()'],['../classNetwork.html#ae591a151ac8f3fbfb800b282f1d11ea7',1,'Network::Network(NetworkInfo i)']]],
['networkinfo',['NetworkInfo',['../st... | leoandeol/network-coverage-computation | docs/search/all_8.js | JavaScript | gpl-3.0 | 353 |
#! /usr/bin/env python
# encoding: utf-8
# WARNING! Do not edit! http://waf.googlecode.com/git/docs/wafbook/single.html#_obtaining_the_waf_file
import copy,re,os
from waflib import Task,Utils,Logs,Errors,ConfigSet,Node
feats=Utils.defaultdict(set)
class task_gen(object):
mappings={}
prec=Utils.defaultdict(list)
def... | arnov-sinha/sFFT-OpenACC-Library | tools/.waf-1.7.5-47d5afdb5e7e2856f7f46a7101914026/waflib/TaskGen.py | Python | gpl-3.0 | 11,393 |
from umlfri2.ufl.components.base.componenttype import ComponentType
from umlfri2.types.image import Image
from .componentloader import ComponentLoader
from ....constants import ADDON_NAMESPACE, ADDON_SCHEMA
from .structureloader import UflStructureLoader
from umlfri2.ufl.components.valueproviders import ConstantValuePr... | umlfri/umlfri2 | umlfri2/datalayer/loaders/addon/metamodel/diagramtypeloader.py | Python | gpl-3.0 | 3,129 |
<?php
/*
* Copyright (C) 2017 Yang Ming <yangming0116@163.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.
... | snje1987/webnote | src/Model/BookFile.php | PHP | gpl-3.0 | 2,631 |
<?php
/**
* Skeleton subclass for representing a row from the 'proveedor' table.
*
*
*
* This class was autogenerated by Propel 1.4.2 on:
*
* Thu Aug 16 14:42:09 2012
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
* long as... | linuxska/sii-ibfdf | lib/model/Proveedor.php | PHP | gpl-3.0 | 460 |
#include "pieces.hpp"
int W_PAWN = 100;
int W_KNIGHT = 275;
int W_BISHOP = 325;
int W_ROOK = 465;
int W_QUEEN = 900;
int W_KING = 10000;
int B_PAWN = -100;
int B_KNIGHT = -275;
int B_BISHOP = -325;
int B_ROOK = -465;
int B_QUEEN = -900;
int B_KING = -10000;
long MOVES = 0;
int REQUIRED_CAPTURES = -3;
int... | tsoj/jht-chess | src/pieces.cpp | C++ | gpl-3.0 | 377 |
package com.majorpotato.febridge.commands;
import com.forgeessentials.api.APIRegistry;
import com.forgeessentials.commands.util.FEcmdModuleCommands;
import com.forgeessentials.economy.ModuleEconomy;
import com.forgeessentials.util.output.ChatOutputHandler;
import com.majorpotato.febridge.FEBridge;
import com.majorpota... | debroejm/FEBridge | src/main/java/com/majorpotato/febridge/commands/CommandPermEditor.java | Java | gpl-3.0 | 1,898 |
namespace PKHeX.Core
{
/// <summary> Ribbons introduced in Generation 4 for Special Events </summary>
public interface IRibbonSetEvent4
{
bool RibbonClassic { get; set; }
bool RibbonWishing { get; set; }
bool RibbonPremier { get; set; }
bool RibbonEvent { get; set; }
... | jotebe/PKHeX | PKHeX.Core/Ribbons/IRibbonSetEvent4.cs | C# | gpl-3.0 | 1,706 |
"""
sample AWS SQS enqueue an item
"""
import boto3 # AWS API python module
import json
# open a connection to the SQS service
# (using ~/.aws/credentials for access info)
sqs = boto3.resource('sqs')
# print queues in existence
#for queue in sqs.queues.all():
# print(queue.url)
# create (or return existing) qu... | opedroso/aws-python-examples | sqs/sample_post_sqs.py | Python | gpl-3.0 | 2,736 |
package com.encens.khipus.service.fixedassets;
import com.encens.khipus.framework.service.GenericServiceBean;
import com.encens.khipus.model.finances.FinancesCurrencyType;
import com.encens.khipus.model.fixedassets.FixedAsset;
import com.encens.khipus.model.fixedassets.FixedAssetDepreciationRecord;
import com.encens.k... | arielsiles/sisk1 | src/main/com/encens/khipus/service/fixedassets/FixedAssetDepreciationRecordServiceBean.java | Java | gpl-3.0 | 8,197 |
/*===========================================================================*\
* *
* OpenFlipper *
* Copyright (C) 2001-2011 by Computer Graphics Group, RWTH Aachen *
* ... | softwarekid/OpenFlipper | PluginCollection-FilePlugins/Plugin-FileOfv/FileOfv.cc | C++ | gpl-3.0 | 7,632 |
<?php
/*
* This file is part of WebKeyPass.
*
* Copyright © 2013 Université Catholique de Louvain
*
* WebKeyPass 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
* (a... | UCL-SIPR/WebKeyPass | Controller/AddSubCategoryAction.php | PHP | gpl-3.0 | 1,948 |
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class gameuiTutorialBracketHideEvent : redEvent
{
[Ordinal(0)] [RED("bracketID")] public CName BracketID { get; set; }
public gameuiTutorialBracketHideEvent(CR2WFile cr2w, CVariable pa... | Traderain/Wolven-kit | CP77.CR2W/Types/cp77/gameuiTutorialBracketHideEvent.cs | C# | gpl-3.0 | 375 |