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 |
|---|---|---|---|---|---|
<?php
if( ! post_password_required() ) {
if ( comments_open() or ( get_comments_number() > 0 ) ) {
get_template_part('templates/onePage/blocks/comments-list/comments-list');
get_template_part('templates/onePage/blocks/comments-pagination/comments-pagination');
get_template_part('templates/on... | MarmonDesigns/cloud.ky | wp-content/themes/milo/comments.php | PHP | gpl-3.0 | 372 |
#region LICENSE
// Copyright 2014 LeagueSharp.Loader
// Profile.cs is part of LeagueSharp.Loader.
//
// LeagueSharp.Loader 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, ... | RESISTANCEQQ/LeagueSharp.Loader-1 | Class/Profile.cs | C# | gpl-3.0 | 1,892 |
<div class="content">
<ul>
<?php foreach($enlaces as $key => $value): ?>
<li class="<?=$value->enlaceClase?>">
<? if($value->enlaceImagen != ''): ?>
<a href="<?=$value->enlaceLink?>">
<img src="<?=base_url()?>assets/public/images/enlaces/enlace_<?=$value->enlaceId?><?=$imageSize?>.<?=$value->enlaceImag... | kaoz70/flexcms | themes/sectionalize/views/modulos/enlaces/default_view.php | PHP | gpl-3.0 | 584 |
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo.tests import common
class TestHrHolidaysBase(common.TransactionCase):
def setUp(self):
super(TestHrHolidaysBase, self).setUp()
Users = self.env['res.users'].with_context(no_reset_passwor... | ayepezv/GAD_ERP | addons/hr_holidays/tests/common.py | Python | gpl-3.0 | 1,704 |
function gestionSelectElement(elementId,msgConfirm)
{field=document.getElementById(elementId);if(confirm(msgConfirm))
{selectedIndexASupprimer=field.options.selectedIndex;indice=new Array();texte=new Array();for(i=0;i<field.length;i++)
{indice[i]=field.options[i].value;texte[i]=field.options[i].text;}
field.innerHTML... | rotagraziosi/archi-wiki-inpeople | includes/common.js | JavaScript | gpl-3.0 | 510 |
/* This file is part of the db4o object database http://www.db4o.com
Copyright (C) 2004 - 2011 Versant Corporation http://www.versant.com
db4o is free software; you can redistribute it and/or modify it under
the terms of version 3 of the GNU General Public License as published
by the Free Software Foundation.
db4o ... | FerranSalguero/db4o | Db4objects.Db4o.Tests/native/Db4objects.Db4o.Tests/CLI1/EnumTestCase.cs | C# | gpl-3.0 | 1,646 |
from pycbc.types import zeros, complex64, complex128
import numpy as _np
import ctypes
import pycbc.scheme as _scheme
from pycbc.libutils import get_ctypes_library
from .core import _BaseFFT, _BaseIFFT
from ..types import check_aligned
# IMPORTANT NOTE TO PYCBC DEVELOPERS:
# Because this module is loaded automatically... | ligo-cbc/pycbc | pycbc/fft/fftw.py | Python | gpl-3.0 | 22,427 |
package org.smssecure.smssecure.preferences;
import android.content.Context;
import android.os.Bundle;
import android.preference.ListPreference;
import org.smssecure.smssecure.ApplicationPreferencesActivity;
import org.smssecure.smssecure.R;
import org.smssecure.smssecure.util.SMSSecurePreferences;
import java.util.... | rutaihwa/SMSSecure | src/org/smssecure/smssecure/preferences/AppearancePreferenceFragment.java | Java | gpl-3.0 | 2,545 |
<?php
/**
* Class QRDataAbstract
*
* @filesource QRDataAbstract.php
* @created 25.11.2015
* @package chillerlan\QRCode\Data
* @author Smiley <smiley@chillerlan.net>
* @copyright 2015 Smiley
* @license MIT
*/
namespace chillerlan\QRCode\Data;
use chillerlan\QRCode\{QRCode, QRCodeExce... | andre-hub/Tiny-Tiny-RSS | vendor/chillerlan/php-qrcode/src/Data/QRDataAbstract.php | PHP | gpl-3.0 | 7,849 |
/* -*- mode: c++; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*-
* vim: ts=4 sw=4 noet ai cindent syntax=cpp
*
* Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
* All code written since the fork of torsmo is licensed under the GPL
*
* Please s... | randy1/conky | src/exec.cc | C++ | gpl-3.0 | 7,376 |
# KicadModTree 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.
#
# KicadModTree is distributed in the hope that it will be useful,
# bu... | pointhi/kicad-footprint-generator | KicadModTree/nodes/Node.py | Python | gpl-3.0 | 6,713 |
package net.osmand.plus.resources;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.RandomAccessFile;
import java.text.Collator;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collect... | FreeDao/getintouchmaps | OsmAnd/src/net/osmand/plus/resources/ResourceManager.java | Java | gpl-3.0 | 35,554 |
package com.wizard.web.application.manage.permission.service;
import java.util.List;
import java.util.Map;
import com.wizard.web.application.manage.permission.bean.Menu;
import com.wizard.web.basic.io.PageResponse;
import com.wizard.web.basic.io.extjs.ExtPageRequest;
public interface PermissionManageService {
p... | joaquinaimar/wizard | 99 backup/02 source-20131113/wizard-web-esm/src/main/java/com/wizard/web/application/manage/permission/service/PermissionManageService.java | Java | gpl-3.0 | 503 |
package com.referendum.voting.results;
import java.util.List;
import com.referendum.voting.ballot.RankedBallot;
import com.referendum.voting.election.ElectionRound;
public interface MultipleWinnerElectionResults extends ElectionResults {
List<ElectionRound> getRounds();
List<RankedBallot> getBallots();
Integ... | tchoulihan/referendum | src/main/java/com/referendum/voting/results/MultipleWinnerElectionResults.java | Java | gpl-3.0 | 480 |
/*
* DRBDBReader
* Copyright (C) 2016-2017, Kyle Repinski
*
* 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.
*
... | laszlodaniel/ChryslerCCDSCIScanner | GUI/ChryslerCCDSCIScanner/DB/Converters/BinaryStateConverter.cs | C# | gpl-3.0 | 2,440 |
var http = require('https')
, qs = require('querystring')
, Cleverbot = function (options) {
this.configure(options);
};
Cleverbot.prepare = function(cb){
// noop for backwards compatibility
cb();
};
Cleverbot.prototype = {
configure: function (options){
if(options && options.cons... | SrNativee/BotDeUmBot | node_modules/cleverbot-node/lib/cleverbot.js | JavaScript | gpl-3.0 | 2,085 |
/*
* Quasar: lightweight threads and actors for the JVM.
* Copyright (c) 2013-2015, Parallel Universe Software Co. All rights reserved.
*
* This program and the accompanying materials are dual-licensed under
* either the terms of the Eclipse Public License v1.0 as published by
* the Eclipse Foundation
*
* ... | tbrooks8/quasar | quasar-core/src/main/java/co/paralleluniverse/strands/CheckedSuspendableCallable.java | Java | gpl-3.0 | 1,178 |
// Copyright 2011 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <cmath>
#include "../include/v8stdint.h"
#include "checks.h"
#include "utils.h"
#include "bignum-dtoa.h"
#include "bignum.h"
#include "doubl... | jiachenning/fibjs | vender/src/v8/src/bignum-dtoa.cc | C++ | gpl-3.0 | 26,817 |
/*******************************************************************************
* file name: same_tree.cpp
* author: hui chen. (c) 17
* mail: chenhui13@baidu.com
* created ti... | wisehead/Leetcode | 24.DFS_1/0100.Same_Tree.Tree_DepthFirstSearch.Easy/same_tree.recursive.cpp | C++ | gpl-3.0 | 1,331 |
using System;
using System.Collections.Generic;
using NzbDrone.Core.Datastore;
using NzbDrone.Core.Download.TrackedDownloads;
using NzbDrone.Core.Indexers;
using NzbDrone.Core.Languages;
using NzbDrone.Core.Movies;
using NzbDrone.Core.Parser.Model;
using NzbDrone.Core.Qualities;
namespace NzbDrone.Core.Queue
{
pub... | Radarr/Radarr | src/NzbDrone.Core/Queue/Queue.cs | C# | gpl-3.0 | 1,362 |
#include "equipmentList_common.hh"
#include "MiceDAQMessanger.hh"
#include "DAQManager.hh"
#include "EventBuildManager.hh"
#include "MDprocessor.h"
#include "MDfragmentDBB.h"
#include "MDpartEventV1731.h"
#include "MDprocessManager.h"
#include "DBBDataProcessor.hh"
#include "V1731DataProcessor.hh"
#include "DBBSpillD... | yordan-karadzhov/equipmentlist-mice | src/devel/eventbuild.cc | C++ | gpl-3.0 | 3,452 |
// Copyright CERN and copyright holders of ALICE O2. This software is
// distributed under the terms of the GNU General Public License v3 (GPL
// Version 3), copied verbatim in the file "COPYING".
//
// See http://alice-o2.web.cern.ch/license for full licensing information.
//
// In applying this license CERN does not ... | AllaMaevskaya/AliceO2 | GPU/GPUTracking/gpucf/src/gpucf/common/log.cpp | C++ | gpl-3.0 | 4,052 |
/*
* This file is generated and updated by Sencha Cmd. You can edit this file as
* needed for your application, but these edits will have to be merged by
* Sencha Cmd when upgrading.
*/
Ext.application({
name: 'LPB',
extend: 'LPB.Application',
requires: [
'LPB.util.sha256',
'Ext.plugin... | Lytjepole/Lytjepole-Beheer | LPB/app.js | JavaScript | gpl-3.0 | 1,604 |
<h1><?=$this->getTrans('settings') ?></h1>
<form class="form-horizontal" method="POST">
<?=$this->getTokenField() ?>
<div class="form-group <?=$this->validation()->hasError('articlesPerPage') ? 'has-error' : '' ?>">
<label for="articlesPerPageInput" class="col-lg-2 control-label">
<?=$this->... | dastiii/Ilch-2.0 | application/modules/article/views/admin/settings/index.php | PHP | gpl-3.0 | 7,007 |
// ***************************************************************************
// BamMultiReader.cpp (c) 2010 Erik Garrison, Derek Barnett
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 14 January 2013 (DB)
// --------... | fw1121/Pandoras-Toolbox-for-Bioinformatics | src/SPAdes/ext/src/bamtools/api/BamMultiReader.cpp | C++ | gpl-3.0 | 16,495 |
/*
Yelo: Open Sauce SDK
Halo 1 (CE) Edition
See license\OpenSauce\Halo1_CE for specific license information
*/
#include "Common/Precompile.hpp"
#include "Rasterizer/PostProcessing/Fade/c_shader_instance_fade.hpp"
#if !PLATFORM_IS_DEDI
#include "Rasterizer/PostProcessing/c_post_processing_main.hpp"
namespace Yelo... | BipolarAurora/H-CE-Opensauce-V5 | OpenSauce/Halo1/Halo1_CE/Rasterizer/PostProcessing/Fade/c_shader_instance_fade.cpp | C++ | gpl-3.0 | 3,549 |
/*!
* \file gps_l1_ca_observables_cc.cc
* \brief Implementation of the pseudorange computation block for GPS L1 C/A
* \author Javier Arribas, 2011. jarribas(at)cttc.es
* -------------------------------------------------------------------------
*
* Copyright (C) 2010-2015 (see AUTHORS file for a list of contribut... | Arribas/gnss-sdr | src/algorithms/observables/gnuradio_blocks/gps_l1_ca_observables_cc.cc | C++ | gpl-3.0 | 13,634 |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Xml.Serialization;
public class ConnectionObject {
public string moduleName1;
public string moduleName2;
public string nodeName1;
public string nodeName2;
public float distance;
public float angle;... | MOD-ASL/ModularRobotSystemToolKit | unity3d/Assets/Scripts/Objects/ConnectionObject.cs | C# | gpl-3.0 | 408 |
'use strict';
/* jshint ignore:start */
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
/* jshint ignore:end */
var Q = require('q'); /* jshint ignore:line */
var _ = require('lodash'); /* jshint ignore:line */
var Page = require('../../../../../ba... | together-web-pj/together-web-pj | node_modules/twilio/lib/rest/api/v2010/account/queue/member.js | JavaScript | gpl-3.0 | 17,007 |
package com.dotmarketing.portlets.workflows.ajax;
import com.dotmarketing.business.APILocator;
import com.dotmarketing.business.Role;
import com.dotmarketing.business.RoleAPI;
import com.dotmarketing.cms.factories.PublicCompanyFactory;
import com.dotmarketing.exception.DotDataException;
import com.dotmarketing.portlet... | dotcms-legacy/core-2.x | src/com/dotmarketing/portlets/workflows/ajax/WfRoleStoreAjax.java | Java | gpl-3.0 | 8,847 |
<?php
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Ui\Test\Unit\Controller\Adminhtml\Export;
use Magento\Backend\App\Action\Context;
use Magento\Framework\App\Response\Http\FileFactory;
use Magento\Ui\Controller\Adminhtml\Export\GridToCsv;
use Mage... | rajmahesh/magento2-master | vendor/magento/module-ui/Test/Unit/Controller/Adminhtml/Export/GridToCsvTest.php | PHP | gpl-3.0 | 1,912 |
// Mark Stankus 1999 (c)
// OrderTeXBanner.hpp
#ifndef INCLUDED_ORDERTEXBANNER_H
#define INCLUDED_ORDERTEXBANNER_H
class BroadCastData;
class OrderTeXBanner : public Recipient {
public:
OrderTeXBanner() {};
virtual ~OrderTeXBanner();
virtual void action(const BroadCastData & x) const;
virtual Recipient * clo... | mcdeoliveira/NC | NCGB/Compile/src/OBSOLETE2009/OrderTeXBanner.hpp | C++ | gpl-3.0 | 342 |
# Copyright (c) 2013-2015 SUSE LLC
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 3 of the GNU General Public License as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; ... | oucsaw/machinery | spec/helper/merge_users_and_groups_spec.rb | Ruby | gpl-3.0 | 6,762 |
# -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*-
#
# Copyright (C) 2017 Canonical Ltd
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 3 as
# published by the Free Software Foundation.
#
# This program is distributed in the h... | cprov/snapcraft | snaps_tests/demos_tests/test_hooks.py | Python | gpl-3.0 | 1,341 |
<?php
/**
* This file is part of Missional Digerati Website.
*
* Missional Digerati Website is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any lat... | MissionalDigerati/main_website | config/settings.sample.php | PHP | gpl-3.0 | 1,675 |
<?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 ... | ucsf-ckm/moodle | grade/export/txt/version.php | PHP | gpl-3.0 | 1,196 |
/*
* ============================================================================
* GNU General Public License
* ============================================================================
*
* Copyright (C) 2015 Infinite Automation Software. All rights reserved.
*
* This program is free software: you can redist... | mlohbihler/BACnet4J | src/main/java/com/serotonin/bacnet4j/exception/ErrorAPDUException.java | Java | gpl-3.0 | 1,883 |
/**
* SpineBean.java
* Copyright (C) 2008 Zphinx Software Solutions
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more detai... | davidlad123/spine | spine/src/com/zphinx/spine/vo/dto/SpineBean.java | Java | gpl-3.0 | 8,317 |
// Locale.hh
//
// Copyright (C) 2008 Rob Caelers <robc@krandor.nl>
// All rights reserved.
//
// 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 ... | sebastien-villemot/workrave | common/include/Locale.hh | C++ | gpl-3.0 | 1,664 |
/*
* $Id: ProcapitaSchoolBMPBean.java,v 1.1 2004/03/01 08:36:13 anders Exp $
*
* Copyright (C) 2003 Agura IT. All Rights Reserved.
*
* This software is the proprietary information of Agura IT AB.
* Use is subject to license terms.
*
*/
package se.idega.idegaweb.commune.school.data;
import com.idega.block.schoo... | idega/platform2 | src/se/idega/idegaweb/commune/school/data/ProcapitaSchoolBMPBean.java | Java | gpl-3.0 | 2,151 |
/*
** Copyright (©) 2003-2013 Teus Benschop.
**
** 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 progr... | postiffm/bibledit-desktop | src/settings.cpp | C++ | gpl-3.0 | 3,217 |
<?php
// Words that are reserved in javascript.
// - delete
// - new
// Please, use the following format i18n('save') not i18n.save
// JavaScript has reserved variables after the dot.
$LANG = array(
// This items are used internally by the GaiaEHR Application.
'pl_All' => 'Angielski (Stany Zjednoczone)',
'i1... | chithubco/doctorapp | langs/pl_All.php | PHP | gpl-3.0 | 59,528 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xam... | ikarago/Unigram | Unigram/Unigram/Controls/Views/EditYourAboutView.xaml.cs | C# | gpl-3.0 | 1,250 |
export type eventNS = string[];
export interface ConstructorOptions {
/**
* @default false
* @description set this to `true` to use wildcards.
*/
wildcard?: boolean,
/**
* @default '.'
* @description the delimiter used to segment namespaces.
*/
delimiter?: string... | UnSpiraTive/radio | node_modules/eventemitter2/eventemitter2.d.ts | TypeScript | gpl-3.0 | 2,291 |
<?php
/*
Gibbon, Flexible & Open School System
Copyright (C) 2010, Ross Parker
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.
... | GibbonEdu/core | modules/System Admin/services_manageProcess.php | PHP | gpl-3.0 | 1,825 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Numerics;
using System.Text;
using Org.BouncyCastle.Security;
using Telegram.Api.Helpers;
using Telegram.Api.TL;
using Telegram.Api.TL.Methods;
namespace Telegram.Api.Services
{
public class AuthKeyItem
{... | crafti5/Unigram | Unigram/Unigram.Api/Services/MTProtoService.DHKeyExchange.cs | C# | gpl-3.0 | 23,396 |
package com.javalego.excel;
import java.io.File;
import java.io.OutputStream;
/**
* Crear ficheros de excel.
*
* @author ROBERTO RANZ
*
*/
public interface ExcelWorkbookWriter extends ExcelWriter {
/**
* Define el fichero de salida.
* @param fileName
* @return
*/
public abstract ... | rranz/meccano4j_vaadin | javalego/javalego_office/src/main/java/com/javalego/excel/ExcelWorkbookWriter.java | Java | gpl-3.0 | 715 |
#include "CPUWidget.h"
#include "ui_CPUWidget.h"
CPUWidget::CPUWidget(QWidget* parent) : QWidget(parent), ui(new Ui::CPUWidget)
{
ui->setupUi(this);
setDefaultDisposition();
mDisas = new CPUDisassembly(0);
mSideBar = new CPUSideBar(mDisas);
connect(mDisas, SIGNAL(tableOffsetChanged(int_t... | zerowindow/x64_dbg | x64_dbg_gui/Project/Src/Gui/CPUWidget.cpp | C++ | gpl-3.0 | 4,554 |
<?php
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\Search\Test\Unit\Adapter\Mysql;
use Magento\Framework\Search\Adapter\Mysql\ScoreBuilder;
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;
class ScoreBuilderTest extends \PH... | rajmahesh/magento2-master | vendor/magento/framework/Search/Test/Unit/Adapter/Mysql/ScoreBuilderTest.php | PHP | gpl-3.0 | 2,111 |
/*
Product Name: dhtmlxSuite
Version: 5.0
Edition: Standard
License: content of this file is covered by GPL. Usage outside GPL terms is prohibited. To obtain Commercial or Enterprise license contact sales@dhtmlx.com
Copyright UAB Dinamenta http://www.dhtmlx.com
*/
(function(){
var dhx = {};
//check some rule,... | vijaysebastian/bill | public/plugins/dhtmlxSuite_v50_std/sources/dhtmlxDataStore/codebase/datastore.js | JavaScript | gpl-3.0 | 94,389 |
# -*- encoding: utf-8 -*-
"""Test class for Smart/Puppet Class Parameter
:Requirement: Classparameters
:CaseAutomation: Automated
:CaseLevel: Component
:CaseComponent: Puppet
:TestType: Functional
:Upstream: No
"""
import json
from random import choice
from fauxfactory import gen_boolean, gen_integer, gen_strin... | ldjebran/robottelo | tests/foreman/api/test_classparameters.py | Python | gpl-3.0 | 25,724 |
<?php
/**
* @file plugins/generic/customBlockManager/CustomBlockEditForm.inc.php
*
* Copyright (c) 2013-2015 Simon Fraser University Library
* Copyright (c) 2003-2015 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* @package plugins.generic.customBlockManager
* @... | jasonzou/journal.calaijol.org | tools/plugins/generic/customBlockManager/CustomBlockEditForm.inc.php | PHP | gpl-3.0 | 3,356 |
<?php
namespace Fbns\Client;
interface AuthInterface
{
/**
* @return string
*/
public function getClientId();
/**
* @return string
*/
public function getClientType();
/**
* @return int
*/
public function getUserId();
/**
* @return string
*/
pu... | kotsios5/openclassifieds2 | oc/vendor/Instagram-API/vendor/valga/fbns-react/src/AuthInterface.php | PHP | gpl-3.0 | 576 |
#include "MapTileGraphicsObject.h"
#include <QPainter>
#include <QtDebug>
MapTileGraphicsObject::MapTileGraphicsObject(quint16 tileSize)
{
this->setTileSize(tileSize);
_tile = nullptr;
_tileX = 0;
_tileY = 0;
_tileZoom = 0;
_initialized = false;
_havePendingRequest = false;
//Default ... | ftomei/CRITERIA3D | mapGraphics/guts/MapTileGraphicsObject.cpp | C++ | gpl-3.0 | 6,441 |
# -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'ImportFile.results_acoustid'
db.add_column('importer_importfile', 'results_acoustid',
... | hzlf/openbroadcast | website/apps/importer/migrations/0009_auto__add_field_importfile_results_acoustid__add_field_importfile_resu.py | Python | gpl-3.0 | 8,507 |
import Component from './component';
export default class ElementsColorPicker extends elementorModules.ViewModule {
/**
* Initialize the Eye-Dropper module.
*
* @returns {void}
*/
onInit() {
super.onInit();
$e.components.register( new Component() );
}
}
| pojome/elementor | modules/elements-color-picker/assets/js/editor/module.js | JavaScript | gpl-3.0 | 271 |
// ==UserScript==
// @name Letterboxd Backdrop Remover
// @namespace https://github.com/emg/userscripts
// @description Removes backdrop image from film pages
// @copyright 2014+, Ramón Guijarro (http://soyguijarro.com)
// @homepageURL https://github.com/soyguijarro/userscripts
// @supportURL https://github... | rcalderong/userscripts | Letterboxd_Backdrop_Remover.user.js | JavaScript | gpl-3.0 | 1,478 |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | OpenQBMM - www.openqbmm.org
\\/ M anipulation |
------------------------... | OpenQBMM/OpenQBMM-dev | src/quadratureMethods/hermiteQuadrature/hermiteQuadrature.C | C++ | gpl-3.0 | 6,271 |
package matteroverdrive.data.matter;
import matteroverdrive.api.matter.IMatterEntry;
import net.minecraft.nbt.NBTTagCompound;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
* Created by Simeon on 1... | nacjm/MatterOverdrive | src/main/java/matteroverdrive/data/matter/MatterEntryAbstract.java | Java | gpl-3.0 | 1,512 |
from click.testing import CliRunner
from gandi.cli.core.base import GandiModule
from ..compat import unittest, mock
from ..fixtures.api import Api
from ..fixtures.mocks import MockObject
class CommandTestCase(unittest.TestCase):
base_mocks = [
('gandi.cli.core.base.GandiModule.save', MockObject.blank_fu... | GPCsolutions/gandi.cli | gandi/cli/tests/commands/base.py | Python | gpl-3.0 | 1,238 |
/*
* Copyright (C) 2014 Cameron White
*
* 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... | erawhctim/powertabeditor | test/actions/test_removetextitem.cpp | C++ | gpl-3.0 | 1,274 |
package de.matzefratze123.exampleaddon;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.World;
import org.bukkit.block.Block;
import org.bukkit.event.player.PlayerInteractEvent;
import de.matzefratze123.heavyspleef.commands.base.Command;... | matzefratze123/heavyspleef-example-addon | src/main/java/de/matzefratze123/exampleaddon/ExampleExtension.java | Java | gpl-3.0 | 8,246 |
<?php
/**
* @package DigiCom
* @author ThemeXpert http://www.themexpert.com
* @copyright Copyright (c) 2010-2015 ThemeXpert. All rights reserved.
* @license GNU General Public License version 3 or later; see LICENSE.txt
* @since 1.0.0
*/
defined('_JEXEC') or die;
JHtml::_('bootstrap.tooltip');
JHtml::_('be... | Suki00789/escb-mysql | site/administrator/components/com_digicom/views/order/tmpl/edit.php | PHP | gpl-3.0 | 9,026 |
/**
* Copyright (C) 2010-2012 Regis Montoya (aka r3gis - www.r3gis.fr)
* This file is part of CSipSimple.
*
* CSipSimple 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... | ngvoice/android-client | phone/src/com/voiceblue/phone/widgets/MarqueeTextView.java | Java | gpl-3.0 | 1,648 |
package nl.knaw.huygens.timbuctoo.v5.graphql.collectionfilter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
public class Facet {
private static final Logger LOG = LoggerFactory.getLogger(Facet.class);
final LinkedHas... | HuygensING/timbuctoo | timbuctoo-instancev4/src/main/java/nl/knaw/huygens/timbuctoo/v5/graphql/collectionfilter/Facet.java | Java | gpl-3.0 | 1,047 |
/*
* $Header$
* $Revision$
* $Date$
*
* ====================================================================
*
* Copyright 2000-2004 bob mcwhirter & James Strachan.
* All rights reserved.
*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the... | srnsw/xena | xena/src/org/jaxen/expr/DefaultFunctionCallExpr.java | Java | gpl-3.0 | 5,565 |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo $whiteboardpath;?>bundle/jquery/jquery-ui.min.js"></script>
<script type="text/javascript" src="<?php echo $whiteboardpath;?>bundle/io/src/iolib.js"></script>
... | educacionbe/campus | mod/virtualclass/bundle/virtualclass/example/js.debug.php | PHP | gpl-3.0 | 9,101 |
package us.talabrek.ultimateskyblock.uuid;
import dk.lockfuglsang.minecraft.file.FileUtil;
import dk.lockfuglsang.minecraft.yml.YmlConfiguration;
import org.bukkit.Bukkit;
import org.bukkit.OfflinePlayer;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
impo... | woolwind/uSkyBlock | uSkyBlock-Core/src/main/java/us/talabrek/ultimateskyblock/uuid/FilePlayerDB.java | Java | gpl-3.0 | 8,829 |
// Copyright (c) 2002 vbAccelerator.com
//
// THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
// VBACCELERATOR OR ITS CONTRIBUTORS BE L... | kerimlcr/ab2017-dpyo | ornek/basenji/basenji-1.0.2/Platform/src/Win32/ThumbnailCreator.cs | C# | gpl-3.0 | 15,099 |
package com.benjaminsproule.converter.util;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import static com.benjaminsproule.converter.util.MimeTypesUtil.APPLICATIONS_BSON;
import static c... | gigaSproule/file-converter | src/test/java/com/benjaminsproule/converter/util/MimeTypesUtilITest.java | Java | gpl-3.0 | 3,810 |
package com.app.server.repository;
import com.athena.server.repository.SearchInterface;
import com.athena.annotation.Complexity;
import com.athena.annotation.SourceCodeAuthorClass;
import com.athena.framework.server.exception.repository.SpartanPersistenceException;
import java.util.List;
import com.athena.framework.ser... | applifireAlgo/bloodbank | bloodbank/src/main/java/com/app/server/repository/AppCustomerTypeRepository.java | Java | gpl-3.0 | 1,182 |
/*
* Copyright (C) 2010 Brockmann Consult GmbH (info@brockmann-consult.de)
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 3 of the License, or (at your option)
* any late... | seadas/beam | beam-ui/src/main/java/org/esa/beam/BeamUiActivator.java | Java | gpl-3.0 | 17,807 |
package my.game.tile;
import my.game.render.Sprite;
public class SpawnTiles {
public static Tile floorboards = new BackgroundTile(Sprite.floorboards, "floorboards");
public static Tile walls = new ForegroundTile(Sprite.walls, "walls");
public static Tile bricks = new ForegroundTile(Sprite.bricks, "bricks"... | xDIAMONDSx/ELEOS | src/my/game/tile/SpawnTiles.java | Java | gpl-3.0 | 420 |
<?php
/**
Copyright 2011-2017 Nick Korbel
This file is part of Booked Scheduler.
Booked Scheduler 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 ve... | rafaelperazzo/ufca-web | booked/Web/my-calendar.php | PHP | gpl-3.0 | 959 |
<?php
/**
*
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\GiftMessage\Test\Unit\Model;
// @codingStandardsIgnoreFile
use Magento\GiftMessage\Model\ItemRepository;
class ItemRepositoryTest extends \PHPUnit_Framework_TestCase
{
/**
* @var Item... | rajmahesh/magento2-master | vendor/magento/module-gift-message/Test/Unit/Model/ItemRepositoryTest.php | PHP | gpl-3.0 | 7,415 |
package org.freebus.fts.project;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.Tem... | Paolo-Maffei/freebus-fts | freebus-fts-persistence/src/main/java/org/freebus/fts/project/DeviceProgramming.java | Java | gpl-3.0 | 5,774 |
<?php
use LibreNMS\Authentication\LegacyAuth;
$param = array();
$select = "SELECT `F`.`port_id` AS `port_id`, `F`.`device_id`, `ifInErrors`, `ifOutErrors`, `ifOperStatus`,";
$select .= " `ifAdminStatus`, `ifAlias`, `ifDescr`, `mac_address`, `V`.`vlan_vlan` AS `vlan`,";
$select .= " `hostname`, `hostname` AS `device`... | xbeaudouin/librenms | html/includes/table/fdb-search.inc.php | PHP | gpl-3.0 | 5,786 |
package net.comcraft.src;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import javax.microedition.rms.RecordStore;
import javax.microedition.rms.RecordStoreException;
import javax.microedition.rms.RecordStoreNotOpenException;
public final class RMS {
p... | simon816/ComcraftModLoader | src/net/comcraft/src/RMS.java | Java | gpl-3.0 | 2,746 |
/*
personal-genome-client Java client for the 23andMe Personal Genome API.
Copyright (c) 2012-2013 held jointly by the individual authors.
This 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 Soft... | heuermh/personal-genome-client | client/src/main/java/com/github/heuermh/personalgenome/client/DrugResponse.java | Java | gpl-3.0 | 2,053 |
__author__ = "jing"
from scrapy.cmdline import execute
execute()
| BitTigerInst/Kumamon | zhihu/manage.py | Python | gpl-3.0 | 68 |
package matteroverdrive.util;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.util.EntityDamageSource;
import net.minecraft.util.text.ITextComponent;
import net.minecraft.util.te... | nacjm/MatterOverdrive | src/main/java/matteroverdrive/util/EntityDamageSourcePhaser.java | Java | gpl-3.0 | 1,754 |
#region License
// Copyright (c) 2013, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This file is part of the ClearCanvas RIS/PACS open source project.
//
// The ClearCanvas RIS/PACS open source project is free software: you can
// redistribute it and/or modify it under the terms... | chinapacs/ImageViewer | ImageViewer/AdvancedImaging/Fusion/PETFusionDisplaySetFactory.cs | C# | gpl-3.0 | 12,218 |
require "carps/util/timeout"
Given /^a long running command$/ do
$command = lambda {
loop do
end
}
end
Then /^timeout the command after (\d+) second$/ do |t|
begin
CARPS::timeout t.to_i, "Test command 1" do
$command.call
end
rescue Timeout::Error => e
puts "The comma... | Bodacious/carps | features/steps/timeout.rb | Ruby | gpl-3.0 | 602 |
/**
* @license
* Copyright 2012 Dan Vanderkam (danvdk@gmail.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
*/
Dygraph.Plugins.Annotations = (function() {
"use strict";
/**
Current bits of jankiness:
- Uses dygraph.layout_ to get the parsed annotations.
- Uses dygraph.plotter_.area
It would be nice if ... | CINF/DataPresentationWebsite | sym-files2/dygraph/plugins/annotations.js | JavaScript | gpl-3.0 | 4,587 |
// graph-tool -- a general graph modification and manipulation thingy
//
// Copyright (C) 2006-2015 Tiago de Paula Peixoto <tiago@skewed.de>
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation;... | antmd/graph-tool | src/graph/centrality/graph_katz.cc | C++ | gpl-3.0 | 2,580 |
package amidst.settings;
import java.util.Objects;
import java.util.function.Consumer;
import java.util.function.UnaryOperator;
import amidst.documentation.ThreadSafe;
@ThreadSafe
public class SettingBase<T> implements Setting<T> {
private final Consumer<T> setter;
private volatile T value;
public SettingBase(T ... | BlueSteelAUS/amidst | src/main/java/amidst/settings/SettingBase.java | Java | gpl-3.0 | 674 |
/*
Stockfish, a UCI chess playing engine derived from Glaurung 2.1
Copyright (C) 2004-2008 Tord Romstad (Glaurung author)
Copyright (C) 2008-2015 Marco Costalba, Joona Kiiski, Tord Romstad
Copyright (C) 2015-2016 Marco Costalba, Joona Kiiski, Gary Linscott, Tord Romstad
Stockfish is free software: you can re... | sovaz1997/ChessProblemGenerator | stockfish-8-src/src/misc.cpp | C++ | gpl-3.0 | 5,207 |
#ifndef _WIN32
#include <dlfcn.h>
#else
#include <windows.h>
#endif
#include "SymbolMatcher.h"
#include "config.h" // For UNDERSCORE_NEEDED etc
#include <iostream>
#define FACTORY_PROC "getInstanceFor"
SymbolMatcher * SymbolMatcherFactory_getInstanceFor(Prog *prog, const char *sSymbolContainer, const char *hi... | aidanhs/boomerang | symbols/libidloader.cpp | C++ | gpl-3.0 | 2,186 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | s20121035/rk3288_android5.1_repo | libcore/luni/src/main/java/java/util/Timer.java | Java | gpl-3.0 | 19,820 |
# -*- coding: utf-8 -*-
# Copyright (C) 2012 VT SuperDARN Lab
# Full license can be found in LICENSE.txt
"""tsyganenko module
This modules containes the following object(s):
Classes
-------------------------------------------------------------
tsygTrace Wraps fortran subroutines in one convenient class
-----------... | aburrell/davitpy | davitpy/models/tsyganenko/__init__.py | Python | gpl-3.0 | 21,946 |
#!/usr/bin/env python
#Pools assigned OTUs with identical names and renumbers the remaining distinct
#OTUs. Also allows filtering out OTUs with less than "min_cts" in at least
#one sample.
# Copyright (C) <2012> <Benjamin C. Smith>
#
# This program is free software: you can redistribute it and/or modify
# it ... | benjsmith/mubiomics | scripts/pool_otus.py | Python | gpl-3.0 | 6,450 |
using System;
using System.Globalization;
using SmartStore.Utilities;
namespace SmartStore.Core.Search.Facets
{
[Serializable]
public class FacetValue : IEquatable<FacetValue>, ICloneable<FacetValue>
{
public FacetValue()
{
}
public FacetValue(object value, IndexTypeCode typeCode)
{
Value = value;
... | nitware/estore | src/Libraries/SmartStore.Core/Search/Facets/FacetValue.cs | C# | gpl-3.0 | 3,289 |
<?php
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Paypal\Test\Unit\Model\Payflow\Service\Response\Validator;
use Magento\Framework\DataObject;
use Magento\Paypal\Model\Payflow\Transparent;
use Magento\Paypal\Model\Payflowpro;
use Magento\Paypal\Mo... | rajmahesh/magento2-master | vendor/magento/module-paypal/Test/Unit/Model/Payflow/Service/Response/Validator/ResponseValidatorTest.php | PHP | gpl-3.0 | 3,762 |
class CreateProjectSubjectTable < ActiveRecord::Migration[5.0]
def change
create_table :project_subjects do |t|
t.uuid :project_id, foreign_key: true
t.uuid :subject_id, foreign_key: true
end
end
end
| zdavis/manifold | api/db/migrate/20161112145302_create_project_subject_table.rb | Ruby | gpl-3.0 | 224 |
<?php
// Heading
$_['heading_title'] = '訂單計算項目(Order Totals)';
// Text
$_['text_install'] = '安裝(Install)';
$_['text_uninstall'] = '解除安裝(Uninstall)';
// Column
$_['column_name'] = '項目(Order Totals)';
$_['column_status'] = '狀態(Status)';
$_['column_sort_order'] = '排序(Sort Order)';
$_['column_action... | alvinhsian/Opencart1556 | upload/admin/language/zh-TW/extension/total.php | PHP | gpl-3.0 | 473 |
'use strict';
var desks = require('./helpers/desks');
describe('desks management', function () {
beforeEach(function() {
desks.openDesksSettings();
});
it('lists macros under the Macro tab for new desks', function () {
desks.newDeskBtn.click();
desks.showTab('macros');
e... | nistormihai/superdesk | client/spec/desks_management_spec.js | JavaScript | gpl-3.0 | 386 |
/*
* Copyright (C) 2010 Pavel Stastny
*
* 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 di... | moravianlibrary/kramerius | common/src/main/java/cz/incad/kramerius/security/impl/criteria/AbstractIPAddressFilter.java | Java | gpl-3.0 | 3,192 |
/*
* Copyright (c) 2006 Genome Research Limited.
*
* 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 Software Foundation; either version 2 of the License or
* (at your option) any later version.
*
* T... | satta/GeneDB | ng/src/org/genedb/web/mvc/controller/BasketController.java | Java | gpl-3.0 | 3,651 |
<?php
namespace Alchemy\Tests\Phrasea\SearchEngine;
use Alchemy\Phrasea\SearchEngine\SearchEngineOptions;
use Symfony\Component\HttpFoundation\Request;
/**
* @group functional
* @group legacy
*/
class SearchEngineOptionsTest extends \PhraseanetTestCase
{
/**
* @covers Alchemy\Phrasea\SearchEngine\SearchE... | kwemi/Phraseanet | tests/Alchemy/Tests/Phrasea/SearchEngine/SearchEngineOptionsTest.php | PHP | gpl-3.0 | 5,841 |
Bitrix 16.5 Business Demo = be1a97cd8e66f427f52f0ba0dc4d6ffb
| gohdan/DFC | known_files/hashes/bitrix/modules/photogallery/install/components/bitrix/photogallery_user/templates/old/bitrix/photogallery.section.edit/.default/lang/ru/template.php | PHP | gpl-3.0 | 61 |