code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 4 991 | language stringclasses 9
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
/**
Copyright (C) 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 |
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 |
// ----------- 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 |
/**===============================================================================
*
* 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
/**
* 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 |
using UnityEngine;
using System.Collections.Generic;
using System.Collections;
public class Director : MonoBehaviour {
private List<GameObject> levelElements = new List<GameObject>();
private List<float> elementTimes = new List<float>();
private float right = 17.0f;
private float left = -19.0f;
public float ... | keerthik/fluttercorn | Assets/Scripts/Director.cs | C# | gpl-3.0 | 7,502 |
from Products.CMFCore.utils import getToolByName
from cStringIO import StringIO
from Products.OpenPlans.Extensions.Install import installZ3Types
from Products.OpenPlans.Extensions.setup import migrate_listen_member_lookup
from Products.OpenPlans.Extensions.setup import reinstallSubskins
def migrate_listen(self):
... | socialplanning/opencore | Products/OpenPlans/Extensions/migrate_listen.py | Python | gpl-3.0 | 1,938 |
package org.mindroid.impl.statemachine.properties.sensorproperties;
import org.mindroid.api.statemachine.properties.IProperty;
import org.mindroid.api.statemachine.properties.SimpleEV3SensorProperty;
import org.mindroid.common.messages.hardware.Sensormode;
import org.mindroid.impl.ev3.EV3PortID;
/**
* Created by T... | Echtzeitsysteme/mindroid | impl/androidApp/api/src/main/java/org/mindroid/impl/statemachine/properties/sensorproperties/Ambient.java | Java | gpl-3.0 | 745 |
jQuery(window).load( function() {
if( local_data.form_id ) {
var pardot_id = local_data.form_id;
}
else{
var pardot_id = jQuery('[id^="form-wysija-"]').attr('id');
}
jQuery('.pardotform').contents().find('#pardot-form').submit(function () {
var ajax_data = {
action: 'pardot_capture_lead',
'firstnam... | leadferry/lf-leads | leads/classes/vendors/js/pardot.js | JavaScript | gpl-3.0 | 673 |
package me.jezzadabomb.es2.client.renderers.tile;
import static org.lwjgl.opengl.GL11.*;
import java.util.Random;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.tileentity.TileEntity;
impor... | Jezza/Elemental-Sciences-2 | es_common/me/jezzadabomb/es2/client/renderers/tile/TileQuantumStateDisruptorRenderer.java | Java | gpl-3.0 | 2,037 |
/*
* Copyright 2014 pushbit <pushbit@gmail.com>
*
* This file is part of Dining Out.
*
* Dining Out is free software: you can redistribute it and/or modify it under the terms of the GNU
* General Public License as published by the Free Software Foundation, either version 3 of the
* License, or (at your option) a... | mobilist/dining-out | src/net/sf/diningout/app/RestaurantGeocodeService.java | Java | gpl-3.0 | 3,609 |
<?php
/*******************************************************************************
* Copyright 2009-2016 Amazon Services. All Rights Reserved.
* 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 ... | davygeek/mws | mwsapi/FBAInventoryServiceMWS/Client.php | PHP | gpl-3.0 | 32,332 |
package xyz.stupidwolf.enums;
/**
* 定义各个操作的返回状态码
* Created by stupidwolf on 2016/8/4.
*/
public enum ResultCode {
DELETE_SUCCESS("40"),
DELETE_FAIL("41"),
WRITE_SUCCESS("50"),
WRITE_FAIL("51")
;
private String code;
ResultCode(String code) {
this.code = code;
}
public ... | stupidwolf/stupid-blog | src/main/java/xyz/stupidwolf/enums/ResultCode.java | Java | gpl-3.0 | 392 |
package model;
/**
* @author Yi Zheng
* Class to represent suppliers of sushi ingredients.
*
*/
public class Supplier{
private String name;
private int distance; // assume it is in kms and manually entered.
// in the real world, the distance may depends on traffic, security issues, etc.
// so ... | zhengyi20201/SushiSystem | src/model/Supplier.java | Java | gpl-3.0 | 876 |
/*
* SLD Editor - The Open Source Java SLD Editor
*
* Copyright (C) 2016, SCISYS UK Limited
*
* 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 yo... | robward-scisys/sldeditor | modules/application/src/main/java/com/sldeditor/tool/mapbox/MapBoxTool.java | Java | gpl-3.0 | 9,130 |
$(window).load(function() {
/* Seleccionar el primer radio button (Persona) */
var contr = $('#form-adhere input[type=radio]');
contr.first().prop( "checked", true );
/* Cargar lista de paises en el select */
$.ajax({ url: location.origin + location.pathname + '/assets/js/countries.json', d... | DemocraciaEnRed/redinnovacionpolitica.org | assets/js/adhere-form.js | JavaScript | gpl-3.0 | 2,368 |
<?php
function loadXMLDoc($xmlfile)
{
$doc = new DOMDocument();
$doc->load($xmlfile);
return $doc;
}
function getSingleAttribValue($xmlfile,$tag,$attrib)
{
return getXMLAttrib(loadXMLDoc($xmlfile)->getElementsByTagName($tag)->item(0),$attrib);
}
function getXMLNodeList($xmldoc,$nodename)
{
ret... | PossibilitiesForLearning/pfl-wptheme | wp.custom.src/xmlfuncs.php | PHP | gpl-3.0 | 476 |
package rd.neuron.neuron;
import org.jblas.FloatMatrix;
import rd.neuron.neuron.Layer.Function;
/**
* Build a fully connected random layer with a middle and max value
* @author azahar
*
*/
public class FullyRandomLayerBuilder implements LayerBuilder {
private final float mid, max;
/**
*
* @param mid - mi... | amachwe/NeuralNetwork | src/main/java/rd/neuron/neuron/FullyRandomLayerBuilder.java | Java | gpl-3.0 | 1,234 |
# -*- coding: utf-8 -*-
# Generated by Django 1.10.3 on 2016-11-13 09:57
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('db', '0077_auto_20161113_2049'),
]
operations = [
migrations.AlterModelOptions(
... | caw/curriculum | db/migrations/0078_auto_20161113_2057.py | Python | gpl-3.0 | 444 |
/*
* Copyright (C) 2017 Schürmann & Breitmoser GbR
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This pr... | open-keychain/open-keychain | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/base/QueueingCryptoOperationFragment.java | Java | gpl-3.0 | 3,377 |
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-02-21 05:36
from __future__ import unicode_literals
import datetime
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
... | rubyAce71697/QMS | quiz_system/quiz/migrations/0001_initial.py | Python | gpl-3.0 | 5,170 |
package ch.cyberduck.core.onedrive;
/*
* Copyright (c) 2002-2020 iterate GmbH. All rights reserved.
* https://cyberduck.io/
*
* 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 versio... | iterate-ch/cyberduck | onedrive/src/main/java/ch/cyberduck/core/onedrive/AbstractSharepointListService.java | Java | gpl-3.0 | 3,894 |
#!/usr/bin/env python
"""
Copyright (C) 2015 Ivan Gregor
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.
... | algbioi/snowball | algbioi/ga/run.py | Python | gpl-3.0 | 21,873 |
require File.expand_path('../boot', __FILE__)
require 'rails/all'
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
module ProjectManagerApi
class Application < Rails::Application
# Settings in config/environments/* ... | alansalinas/ProjectManager-api | config/application.rb | Ruby | gpl-3.0 | 988 |
/***********************************************************************
filename: CEGUIDirect3D11GeometryBuffer.cpp
created: Wed May 5 2010
*************************************************************************/
/***************************************************************************
* Copy... | cooljeanius/CEGUI | cegui/src/RendererModules/Direct3D11/CEGUIDirect3D11GeometryBuffer.cpp | C++ | gpl-3.0 | 10,922 |
# deprecated?
class HostControlWrapper(object):
def __init__(self):
self.id = None
self.idx = None
self.label = None
self.btn = None
self.tile_bg = None
self.host = None
| wackerl91/luna | resources/lib/model/hostcontrolwrapper.py | Python | gpl-3.0 | 222 |
const UserAuthentication = function () {
let _userPool = new AmazonCognitoIdentity.CognitoUserPool(
window.auth.config.cognito
);
let _cognitoUser = _userPool.getCurrentUser();
const _getUser = function (email) {
if (!_cognitoUser) {
_cognitoUser = new AmazonCognitoIdentity.CognitoUser({
... | aodn/aodn-portal | web-app/js/aws-cognito/UserAuthentication.js | JavaScript | gpl-3.0 | 6,716 |
package de.unijena.bioinf.fingerid;
import de.unijena.bioinf.fingerid.db.CustomDataSourceService;
import de.unijena.bioinf.sirius.gui.table.ActiveElementChangedListener;
import de.unijena.bioinf.sirius.gui.utils.WrapLayout;
import javax.swing.*;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeLis... | boecker-lab/sirius_frontend | sirius_gui/src/main/java/de/unijena/bioinf/fingerid/DBFilterPanel.java | Java | gpl-3.0 | 4,224 |
<?php namespace DemocracyApps\CNP\Providers;
use Illuminate\Routing\Router;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
class RouteServiceProvider extends ServiceProvider {
/**
* This namespace is applied to the controller routes in your routes file.
*
* In addition, i... | DemocracyApps/CNP | app/Providers/RouteServiceProvider.php | PHP | gpl-3.0 | 959 |
package com.ua.homework_7_2;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import com.ua.homework_7_1.hibernate.controllers.DishController;
import com.ua.homework_7_1.hibernate.controllers.EmployeeController;
import com.ua.homework_7_1... | andrewzagor/goit | Enterprise_7_2/Main.java | Java | gpl-3.0 | 2,196 |
/**********************************************************
* Version $Id$
*********************************************************/
///////////////////////////////////////////////////////////
// //
// SAGA //
// ... | UoA-eResearch/saga-gis | saga-gis/src/saga_core/saga_api/table_record.cpp | C++ | gpl-3.0 | 14,927 |
Simpla CMS 2.3.8 = afa50d5f661d65b6c67ec7f0e80eee7d
| gohdan/DFC | known_files/hashes/simpla/design/js/codemirror/addon/hint/css-hint.js | JavaScript | gpl-3.0 | 52 |
import requests
from requests.auth import HTTPDigestAuth
import time
import json
import sys
class IMT550C():
def __init__(self):
params = self.configure()
self.uri = params["uri"]
self.ip = params["IP"]
self.user = params["username"]
self.password = params["password"]
self.sample_rate = param... | SoftwareDefinedBuildings/bw2-contrib | driver/imt550c/smap.py | Python | gpl-3.0 | 3,893 |
# nnmware(c)2012-2020
from __future__ import unicode_literals
from django import forms
from django.contrib.admin.widgets import AdminTimeWidget
from django.contrib.auth import get_user_model
from django.core.exceptions import ValidationError
from django.core.validators import validate_email
from django.utils.timezone... | nnmware/nnmware | apps/booking/forms.py | Python | gpl-3.0 | 9,755 |
/*
* Copyright (C) 2014 Hector Espert Pardo
*
* 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... | cheste1/LibDAM | LibDAM/src/utilidades/Aleatorios.java | Java | gpl-3.0 | 6,150 |
// Copyright (C) 2009--2011, 2013, 2014 Jed Brown and Ed Bueler and Constantine Khroulev and David Maxwell
//
// This file is part of PISM.
//
// PISM 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... | talbrecht/pism_pik06 | src/base/stressbalance/ssa/FETools.hh | C++ | gpl-3.0 | 18,810 |
/*
* Copyright (c) 2010-2014 Clark & Parsia, LLC. <http://www.clarkparsia.com>
*
* 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 ... | albertmeronyo/stardog-r | aggregates/test/src/com/complexible/stardog/plan/aggregates/TestRAggregates.java | Java | gpl-3.0 | 22,803 |
/*
* HelpCommand.java
*
* Copyright (C) 2002-2013 Takis Diakoumis
*
* 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 pr... | Black-millenium/rdb-executequery | java/src/org/executequery/gui/console/commands/HelpCommand.java | Java | gpl-3.0 | 1,823 |
/*
* Copyright 2010 kk-electronic a/s.
*
* This file is part of KKPortal.
*
* KKPortal 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) an... | kk-electronic/KKPortal | src/com/kk_electronic/kkportal/core/rpc/jsonformat/UnableToDeserialize.java | Java | gpl-3.0 | 950 |
/**
* Copyright 2015 Poznań Supercomputing and Networking Center
*
* Licensed under the GNU General Public License, Version 3.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.gnu.org/licenses/gpl-3.0.txt
*
* Unless... | psnc-dl/darceo | wrdz/wrdz-ms/web/src/main/java/pl/psnc/synat/wrdz/ms/stats/DataFileFormatBean.java | Java | gpl-3.0 | 2,754 |
<?php
/*
Copyright (c) 2009-2017 F3::Factory/Bong Cosca, All rights reserved.
This file is part of the Fat-Free Framework (http://fatfreeframework.com).
This is free software: you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software... | vijinho/fatfree-core-psr2 | f3.php | PHP | gpl-3.0 | 1,213 |
#include "pointconversor.h"
#include "invalidconversorinput.h"
// TODO: implement human notation WIHTOUT double float (or any float).
// With float, there are some 64 bits numbers which cannot be represented
// because double float only really has 52 bits for mantissa.
PointConversor::PointConversor():
bits(0),
... | petcomputacaoufrgs/hidracpp | src/core/pointconversor.cpp | C++ | gpl-3.0 | 21,532 |
import java.util.ArrayList;
/**
* Write a description of class StrengthPotion here.
*
* @author Jarom Kraus
* @version 2.23.16
*/
@SuppressWarnings("unchecked")
public class StrengthPotion extends Potion{
private ArrayList stats;
public StrengthPotion(String Name){
super(Name);
}
public v... | jaromkraus/RPG | RPG/StrengthPotion.java | Java | gpl-3.0 | 577 |
package centralapp.views;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import centralapp.controlers.CentralApp;
/**
* The main window containing all the sub-views
*/
@SuppressWarnings("serial")
public class MainView extends JFrame {
private JTabbedPane tabbedPane;
/**... | Edroxis/DI3_Projet4_Pointeuse | src/centralapp/views/MainView.java | Java | gpl-3.0 | 1,273 |
from __future__ import print_function, division
INLINE_LABEL_STYLE = {
'display': 'inline-block',
}
GRAPH_GLOBAL_CONFIG = {
'displaylogo': False,
'modeBarButtonsToRemove': ['sendDataToCloud'],
}
AXIS_OPTIONS = ({
'label': 'linear',
'value': 'linear',
}, {
'label': 'log',
'value': 'log',
}... | lqhuang/SAXS-tools | dashboard/layouts/style.py | Python | gpl-3.0 | 1,620 |
/*
* Copyright (C) 2020 <mark@makr.zone>
* inspired and based on work
* 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 ... | openpnp/openpnp | src/main/java/org/openpnp/machine/reference/axis/wizards/AbstractAxisConfigurationWizard.java | Java | gpl-3.0 | 3,328 |
package com.github.alexaegis.plane.poligons;
import com.github.alexaegis.plane.Point;
public abstract class RegularPolygon implements Polygon {
protected RegularPolygons type = null;
protected Point center = new Point(0, 0);
protected double edgeLength = 0; // length of the edges
protected dou... | AlexAegis/elte-progtech-1 | submission1/src/main/java/com/github/alexaegis/plane/poligons/RegularPolygon.java | Java | gpl-3.0 | 2,838 |
/*******************************************************************************
* HellFirePvP / Astral Sorcery 2017
*
* This project is licensed under GNU GENERAL PUBLIC LICENSE Version 3.
* The source code is available on github: https://github.com/HellFirePvP/AstralSorcery
* For further details, see the License... | Saereth/AstralSorcery | src/main/java/hellfirepvp/astralsorcery/common/base/WorldMeltables.java | Java | gpl-3.0 | 5,184 |
# -*- coding: utf-8 -*-
# Generated by Django 1.9.3 on 2016-07-01 17:09
from __future__ import unicode_literals
from django.db import migrations
import django_fsm
class Migration(migrations.Migration):
dependencies = [
('invoice', '0002_billordering'),
]
operations = [
migrations.AlterF... | Diacamma2/financial | diacamma/invoice/migrations/0003_bill_status.py | Python | gpl-3.0 | 568 |
package com.taobao.api.domain;
import java.util.List;
import com.taobao.api.TaobaoObject;
import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.internal.mapping.ApiListField;
/**
* 评价信息
*
* @author auto create
* @since 1.0, null
*/
public class RateInfo extends TaobaoObject {
private stati... | kuiwang/my-dev | src/main/java/com/taobao/api/domain/RateInfo.java | Java | gpl-3.0 | 692 |