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 |
|---|---|---|---|---|---|
/****************************************************************************
* MeshLab o o *
* An extendible mesh processor o o *
* _ O _ *
* Co... | guerrerocarlos/meshlab | src/plugins/edit_pickpoints/editpickpoints.cpp | C++ | gpl-2.0 | 12,813 |
"""
AUTHOR: Dr. Andrew David Burbanks, 2005.
This software is Copyright (C) 2004-2008 Bristol University
and is released under the GNU General Public License version 2.
MODULE: SystemBath
PURPOSE:
Used to generate System Bath Hamiltonian, given number of bath modes.
NOTES:
The system defined by the Hamiltonian i... | Peter-Collins/NormalForm | src/py/SystemBath.py | Python | gpl-2.0 | 12,748 |
package by.falc0n.util;
/**
* Contains a set of extension methods and constants to operate with arrays
* (primitive and object).
*
* @author falc0n
* @version 1.0
*
*/
public final class ArrayExt {
/**
* An empty {@code byte} array.
*
* @since 1.0
*/
public static final byte[] EMPTY_BYTE_ARRAY = n... | fa1con/falc0n-utils | src/main/java/by/falc0n/util/ArrayExt.java | Java | gpl-2.0 | 13,659 |
<?php
/**
* @package CrowdfundingPartners
* @subpackage Files
* @author Todor Iliev
* @copyright Copyright (C) 2015 Todor Iliev <todor@itprism.com>. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
*/
namespace CrowdfundingPartners;
use Prism\Database\ArrayObject... | Creativetech-Solutions/joomla-easysocial-network | libraries/CrowdfundingPartners/Partners.php | PHP | gpl-2.0 | 2,368 |
<?php get_header(); ?>
<div id="content" class="clearfix row">
<div class="row centered">
<div class="brandhead">
<h1 class="">News and Articles</h1>
<p class="lead">A partnership to deliver high quality, efficient patient care for South Yorkshire, Mid Yorkshir... | gitpress/together | wp-content/themes/wordpress-bootstrap-master/index.php | PHP | gpl-2.0 | 2,891 |
<?php
/*
* This file is part of PHPExifTool.
*
* (c) 2012 Romain Neutron <imprec@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\IFD0;
use PHPExiftool\Driver\AbstractTag;
class Copyri... | Droces/casabio | vendor/phpexiftool/phpexiftool/lib/PHPExiftool/Driver/Tag/IFD0/Copyright.php | PHP | gpl-2.0 | 724 |
<?php
/**
* The template for displaying search results pages.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#search-result
*
* @package Brushy Hill Cottage
*/
get_header(); ?>
<section id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php if (... | bpriddy/brushyhillcottage | wp-content/themes/brushy-hill-cottage/search.php | PHP | gpl-2.0 | 1,206 |
package com.badday.ss.blocks;
import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.block.BlockContainer;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.tileentity... | Tankistodor/SSAraminta | src/main/java/com/badday/ss/blocks/SSBlockAirVent.java | Java | gpl-2.0 | 6,252 |
Almadeladanza::Application.routes.draw do
devise_for :users, ActiveAdmin::Devise.config
ActiveAdmin.routes(self)
mount ActiveAdmin::Tinymce::Engine => '/', as: 'admin_editor'
root to: "news#index"
resources :dance_styles, only: [:index, :show]
resources :lessons, only: [:index, :show]
resources :int... | KernelCorp/almadeladanza | config/routes.rb | Ruby | gpl-2.0 | 2,432 |
using System;
using System.Collections.Generic;
using System.Linq;
using Server.Engines.PartySystem;
using Server.Items;
using Server.Spells.Fourth;
using Server.Spells.Necromancy;
using Server.Targeting;
namespace Server.Spells.Mysticism
{
public class CleansingWindsSpell : MysticSpell
{
public overr... | SirGrizzlyBear/ServUOGrizzly | Scripts/Spells/Mysticism/SpellDefinitions/CleansingWindsSpell.cs | C# | gpl-2.0 | 7,614 |
/*
* Copyright (c) 2011, Intel Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | junqiang521/Test | dnvme/tnvme-master/Utils/kernelAPI.cpp | C++ | gpl-2.0 | 8,831 |
import csv
import logging
from fa.miner import yahoo
from fa.piping import csv_string_to_records
from fa.util import partition
from fa.database.query import get_outdated_symbols, update_fundamentals
import initialize
from settings import *
""" Download data from internet to database """
initialize.init()
logger = ... | kakarukeys/algo-fa | examples/update_price_data.py | Python | gpl-2.0 | 1,268 |
<?php
/**
* @version $Id: frontpage.class.php,v 1.1 2005/07/22 01:54:45 eddieajau Exp $
* @package Mambo
* @subpackage Content
* @copyright (C) 2000 - 2005 Miro International Pty Ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* Mambo is Free Software
*/
/** ensure this file is being included by a parent f... | wuts/earthquake | components/com_frontpage/frontpage.class.php | PHP | gpl-2.0 | 752 |
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | koutheir/incinerator-hotspot | nashorn/test/script/nosecurity/JDK-8050964.js | JavaScript | gpl-2.0 | 2,050 |
from infoshopkeeper_config import configuration
cfg = configuration()
dbtype = cfg.get("dbtype")
dbname = cfg.get("dbname")
dbhost = cfg.get("dbhost")
dbuser = cfg.get("dbuser")
dbpass = cfg.get("dbpass")
from sqlobject import *
if dbtype in ('mysql', 'postgres'):
if dbtype is 'mysql':
import MySQLdb as d... | johm/infoshopkeeper | components/db.py | Python | gpl-2.0 | 2,693 |
package co.deepthought;
import co.deepthought.imagine.image.Fingerprinter;
import co.deepthought.imagine.store.Size;
import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.util.HashSet;
public class Tester {
public static void main(String[... | metric-collective/imagine | src/main/java/co/deepthought/Tester.java | Java | gpl-2.0 | 2,065 |
package net.demilich.metastone.game.spells;
import net.demilich.metastone.game.Attribute;
import net.demilich.metastone.game.GameContext;
import net.demilich.metastone.game.Player;
import net.demilich.metastone.game.cards.Card;
import net.demilich.metastone.game.cards.CardCatalogue;
import net.demilich.metastone.game.... | doombubbles/metastonething | game/src/main/java/net/demilich/metastone/game/spells/ReceiveCardAndDoSomethingSpell.java | Java | gpl-2.0 | 2,386 |
<?php
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2017 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET... | eltharin/glpi | inc/item_devicepowersupply.class.php | PHP | gpl-2.0 | 1,935 |
/*
* Copyright (c) 1998-2010 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | christianchristensen/resin | modules/ecmascript/src/com/caucho/eswrap/org/w3c/dom/DocumentEcmaWrap.java | Java | gpl-2.0 | 1,457 |
#include <QImage>
#include <QFile>
#include "SpriteBundle.h"
SpriteBundle::SpriteBundle()
{
m_index = 0;
}
void SpriteBundle::update(const int delta)
{
Sprite &image = m_sprites[m_index];
image.update(delta);
}
void SpriteBundle::setImageIndex(const int index)
{
m_index = index;
}
QSGTexture *SpriteBundle::cur... | MemoryLeek/ld27 | SpriteBundle.cpp | C++ | gpl-2.0 | 720 |
/*************************************************************************
* Clus - Software for Predictive Clustering *
* Copyright (C) 2007 *
* Katholieke Universiteit Leuven, Leuven, Belgium *
* Jozef Stefan I... | active-learning/active-learning-scala | src/main/java/clus/ext/beamsearch/ClusBeamHeuristicMorishita.java | Java | gpl-2.0 | 3,865 |
// Implementing the functionality for system calls (keystrokes etc.) and
// exercising different functions available from other classes/files
//
// Author: Archit Gupta, Nehal Bhandari
// Date: December 24, 2015
#include "process.h"
char valid_keystroke(DisplayHandler* display, char input)
{
if ((input <= 'z' && ... | architgupta93/todo-app | 2_Code/process.cpp | C++ | gpl-2.0 | 8,567 |
function Drag(id,init)
{
var _this=this;
this.disX=0;
this.disY=0;
this.oDiv=document.getElementById(id);
if(init)
{
_this.fnDown();
}
this.oDiv.onmousedown=function (ev)
{
_this.fnDown(ev);
return false;
};
}
Drag.prototype.fnDown=function (ev)
{
var _this=this;
var oEvent=ev||event;
this.d... | Jackmeng1985/drupal7 | sites/all/modules/beauty_crm/js/drag.js | JavaScript | gpl-2.0 | 1,492 |
#!/usr/bin/env python
background_image_filename = 'sushiplate.jpg'
import pygame
from pygame.locals import *
from sys import exit
SCREEN_SIZE = (640, 480)
pygame.init()
screen = pygame.display.set_mode(SCREEN_SIZE, NOFRAME, 32)
background = pygame.image.load(background_image_filename).convert()
while True:
ev... | opensvn/python | pygame/resize.py | Python | gpl-2.0 | 919 |
/*
* _ __ _
* | |/ /__ __ __ _ _ __ | |_ _ _ _ __ ___
* | ' / \ \ / // _` || '_ \ | __|| | | || '_ ` _ \
* | . \ \ V /| (_| || | | || |_ | |_| || | | | | |
* |_|\_\ \_/ \__,_||_| |_| \__| \__,_||_| |_| |_|
*
* Copyright (C) 2019 Alexander Söderberg
*
* Licensed... | IntellectualSites/IntellectualServer | ServerAPI/src/main/java/xyz/kvantum/server/api/util/ApplicationStructureFactory.java | Java | gpl-2.0 | 1,042 |
<?
echo "<div class='information'>\n";
require("../updatePubliDocs.php");
$chemin="$_SERVER[DOCUMENT_ROOT]$public_path/$publi[year]/$publi[bibTex]/" ;
intranetSqlConnect();
if (!empty($_POST["group"])) $group=$_POST["group"];
$res_upd = sqlQuery("SELECT * from docs WHERE id=$id_doc");
$docs = mysql_fetch... | truijllo/basilic | Sources/Intranet/Publications/mod_upd.php | PHP | gpl-2.0 | 1,036 |
<?php
/**
*------------------------------------------------------------------------------
* iCagenda v3 by Jooml!C - Events Management Extension for Joomla! 2.5 / 3.x
*------------------------------------------------------------------------------
* @package com_icagenda
* @copyright Copyright (c)2012-2014 C... | C3Style/appuihec | administrator/components/com_icagenda/tables/registration.php | PHP | gpl-2.0 | 4,975 |
/**
* stencil_maskType.java
*
* This file was generated by XMLSpy 2007sp2 Enterprise Edition.
*
* YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE
* OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION.
*
* Refer to the XMLSpy Documentation for further details.
* http://www.altova.com/xmlspy
*/
packa... | tectronics/xenogeddon | src/com/jmex/model/collada/schema/stencil_maskType.java | Java | gpl-2.0 | 5,745 |
#include "document.h"
#include "effect.h"
#include "newdialog.h"
#include <QtCore/QFile>
#include <QtCore/QTimer>
#include <QtCore/QUrl>
#include <QtGui/QMessageBox>
#include <QtGui/QFileDialog>
namespace
{
static QString strippedName(const QString & fileName)
{
return QFileInfo(fileName).fileName();
... | peterkomar/qshaderedit | src/document.cpp | C++ | gpl-2.0 | 10,048 |
<?php
/*
Plugin Name: Email Subscribers
Plugin URI: http://www.gopiplus.com/work/2014/05/02/email-subscribers-wordpress-plugin/
Description: Email subscribers plugin has options to send newsletters to subscribers. It has a separate page with HTML editor to create a HTML newsletter. Also have options to send notificatio... | CosmicPi/cosmicpi.org | wp-content/plugins/email-subscribers/email-subscribers.php | PHP | gpl-2.0 | 2,553 |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateProjectPackageTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('project_package', function (Blueprint $table) {... | ImbalanceGaming/imbalance-gaming-laravel | database/migrations/2016_04_14_100207_create_project_package_table.php | PHP | gpl-2.0 | 1,001 |
package com.example.seventeen.blissappid;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.ImageButton;
/**
* Hofundur... | sbleika/Blissid | BlissAppid_git/BlissAppid/app/src/main/java/com/example/seventeen/blissappid/nothafi1.java | Java | gpl-2.0 | 5,549 |
/**
*
*/
package com.ankamagames.dofus.harvey.engine.numeric.bytes.sets.classes;
import java.util.List;
import com.ankamagames.dofus.harvey.engine.common.sets.classes.AbstractIntervalBridge;
import com.ankamagames.dofus.harvey.engine.common.sets.classes.SplitOnRangeBridge;
import com.ankamagames.dofus.harvey.engine... | Ankama/harvey | src/com/ankamagames/dofus/harvey/engine/numeric/bytes/sets/classes/ByteIntervalBridge.java | Java | gpl-2.0 | 3,714 |
using System;
using System.Collections;
using Server;
using Server.Mobiles;
using Server.Items;
using Server.Gumps;
using MC = Server.MegaSpawnerSystem.MasterControl;
namespace Server.MegaSpawnerSystem
{
public class RemoveEmptySpawnersGump : Gump
{
private ArrayList ArgsList = new ArrayList();
pr... | alucardxlx/kaltar | Mega Spawner/Plug-Ins/RemoveEmptySpawnersGump.cs | C# | gpl-2.0 | 4,208 |
package com.frm.bdTask.controls;
/**
* @author: Larry Pham.
* @since: 3/24/2014.
* @version: 2014.03.24.
*/
public class ListTodosActivityControl {
}
| PhamPhi/birdy_task | src/com/frm/bdTask/controls/ListTodosActivityControl.java | Java | gpl-2.0 | 155 |
<?php
prado::using ('Application.pages.s.report.MainPageReports');
class ReportDT1 extends MainPageReports {
public function onLoad ($param) {
parent::onLoad ($param);
$this->showLokasi=true;
$this->showDT1=true;
$this->createObjFinance();
$this->createObjKegiatan();
if (!$this->... | ibnoe/simonev | protected/pages/s/report/ReportDT1.php | PHP | gpl-2.0 | 18,291 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package datagen.engine;
import java.util.ArrayList;
/**
*
* @author juan.garson
*/
public class Table {
private final ArrayLi... | lanstat/DataGen | src/datagen/engine/Table.java | Java | gpl-2.0 | 2,373 |
#############################################################
# Signal.rb
#
# Copyright (c) 2002 Phil Tomson
# released under the GNU General Public License (GPL)
# ##################################################
#######################################################
# add a bin method to the built-in String class... | philtomson/RHDL | lib/hardware/RHDL/Signal.rb | Ruby | gpl-2.0 | 10,266 |
#!/usr/bin/python
# -*- encoding: utf-8; py-indent-offset: 4 -*-
# +------------------------------------------------------------------+
# | ____ _ _ __ __ _ __ |
# | / ___| |__ ___ ___| | __ | \/ | |/ / |
# | | | | '_ \ / _ \/ __| |/ /... | huiyiqun/check_mk | web/htdocs/views.py | Python | gpl-2.0 | 129,902 |
<?php
namespace Drupal\message_subscribe;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Session\AccountInterface;
use Drupal\message\MessageInterface;
/**
* Subscribers service.
*/
interface SubscribersInterface {
/**
* Process a message and send to subscribed users.
*
* @param \Drupal\Core\E... | rahulrasgon/Music-Store-Theme | modules/message_subscribe/src/SubscribersInterface.php | PHP | gpl-2.0 | 5,817 |
<?php
/**
* Table Definition for Items_Translations
*
* PHP version 5
*
* Copyright (C) Demian Katz 2012.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This program... | demiankatz/Geeby-Deeby | module/GeebyDeeby/src/GeebyDeeby/Db/Table/ItemsTranslations.php | PHP | gpl-2.0 | 4,351 |
/*
* irctabitem.cpp
*
* Copyright 2008 David Vachulka <david@konstrukce-cad.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 2 of the License... | rofl0r/dxirc | src/irctabitem.cpp | C++ | gpl-2.0 | 183,742 |
<?php
# i think this class should go somewhere in a common PEAR-place,
# because a lot of classes use options, at least PEAR::DB does
# but since it is not very fancy to crowd the PEAR-namespace too much i dont know where to put it yet :-(
//
// +----------------------------------------------------------------------+
... | Esleelkartea/kz-adeada-talleres-electricos- | kzadeadatallereselectricos_v1.0.0_linux32_installer/linux/lampp/lib/php/Tree/Options.php | PHP | gpl-2.0 | 5,542 |
<?php
// $Id$
/*!
* Dynamic display block module template: custom40-a - content template
* Copyright (c) 2008 - 2009 P. Blaauw All rights reserved.
* Version 1.1 (11-FEB-2009)
* Licenced under GPL license
* http://www.gnu.org/licenses/gpl.html
*/
/**
* @file
* Dynamic display block module templat... | pgrayove/mcpl-site-backup | sites/all/themes/mcpl/custom/modules/ddblock/ddblock-cycle-block-content-custom40-a.tpl.php | PHP | gpl-2.0 | 3,422 |
/*
* #%L
* OME Metadata Editor application for exploration and editing of OME-XML and
* OME-TIFF metadata.
* %%
* Copyright (C) 2006 - 2012 Open Microscopy Environment:
* - Board of Regents of the University of Wisconsin-Madison
* - Glencoe Software, Inc.
* - University of Dundee
* %%
* This program is ... | mtbc/bioformats | components/legacy/ome-editor/src/loci/ome/editor/VariableTextFieldEditor.java | Java | gpl-2.0 | 2,545 |
<?php
/*
Plugin Name: Huge IT Portfolio Gallery
Plugin URI: http://huge-it.com/portfolio-gallery
Description: Portfolio Gallery is a great plugin for adding specialized portfolios or gallery to your site. There are various view options for the images to choose from.
Version: 1.3.6
Author: http://huge-it.com/
License: ... | YeongeunHeo/wordpress | wp-content/plugins/portfolio-gallery/portfolio-gallery.php | PHP | gpl-2.0 | 29,406 |
/*
* This file is part of the OpenJML project.
* Author: David R. Cok
*/
package org.jmlspecs.openjml.proverinterface;
import org.jmlspecs.openjml.proverinterface.IProverResult.ICounterexample;
import com.sun.tools.javac.code.Type;
import com.sun.tools.javac.tree.JCTree.JCExpression;
/**
* A prover can be used... | shunghsiyu/OpenJML_XOR | OpenJML/src/org/jmlspecs/openjml/proverinterface/IProver.java | Java | gpl-2.0 | 5,173 |
package org.mo.logic.deploy;
import org.mo.com.xml.IXmlObject;
import org.mo.eng.store.IXmlConfigConsole;
public interface IDeployConsole
extends
IXmlConfigConsole<IXmlObject>
{
void install(EDeploySource type);
void installAll(EDeploySource type);
void uninstall(EDeploySource type);
voi... | favedit/MoPlatform | mo-3-logic/src/logic-java/org/mo/logic/deploy/IDeployConsole.java | Java | gpl-2.0 | 358 |
package com.sales.service;
import java.util.List;
import com.sales.model.TCurrency;
public interface K3EntryService {
public List getPayCondition();
public List getCurrency();
public TCurrency getCurrencyById(Integer fCurrencyID);
public List getEmp(String fName);
public List getDepart... | goulin2k/salesManager | salesManagerServer/src/com/sales/service/K3EntryService.java | Java | gpl-2.0 | 604 |
/*
* org.openmicroscopy.shoola.agents.fsimporter.AnnotationDataLoader
*
*------------------------------------------------------------------------------
* Copyright (C) 2013 University of Dundee & Open Microscopy Environment.
* All rights reserved.
*
*
* This program is free software; you can redistribute it ... | stelfrich/openmicroscopy | components/insight/SRC/org/openmicroscopy/shoola/agents/fsimporter/AnnotationDataLoader.java | Java | gpl-2.0 | 3,360 |
//@HEADER
// ************************************************************************
//
// Kokkos v. 3.0
// Copyright (2020) National Technology & Engineering
// Solutions of Sandia, LLC (NTESS).
//
// Under the terms of Contract DE-NA0003525 with NTESS,
// the U.S. Governmen... | pastewka/lammps | lib/kokkos/core/src/eti/ROCm/Kokkos_ROCm_ViewCopyETIInst_int_int64_t_LayoutRight_Rank8.cpp | C++ | gpl-2.0 | 2,682 |
#include <yafray_config.h>
#include <core_api/ray.h>
#include <core_api/color.h>
#include <core_api/volume.h>
#include <core_api/bound.h>
#include <core_api/surface.h>
#include <core_api/texture.h>
#include <core_api/environment.h>
#include <utilities/mcqmc.h>
#include <fstream>
#include <cstdlib>
__BEGIN_YAFRAY
st... | DavidBluecame/Core | src/volumes/GridVolume.cc | C++ | gpl-2.0 | 4,802 |
/*
* $RCSfile: JspFactory.java,v $
* $Revision: 1.1 $
* $Date: 2013-02-19 $
*
* Copyright (C) 2008 Skin, Inc. All rights reserved.
*
* This software is the proprietary information of Skin, Inc.
* Use is subject to license terms.
*/
package com.skin.ayada.runtime;
import java.io.Writer;
import java.util.Map;
... | xuesong123/jsp-jstl-engine | src/main/java/com/skin/ayada/runtime/JspFactory.java | Java | gpl-2.0 | 1,893 |
#!/usr/bin/env python
###############################################################################
# $Id: rasterize.py 32165 2015-12-13 19:01:22Z goatbar $
#
# Project: GDAL/OGR Test Suite
# Purpose: Test RasterizeLayer() and related calls.
# Author: Frank Warmerdam <warmerdam@pobox.com>
#
######################... | nextgis-extra/tests | lib_gdal/alg/rasterize.py | Python | gpl-2.0 | 11,966 |
/* Copyright (c) 2000, 2016, Oracle and/or its affiliates.
Copyright (c) 2012, 2020, MariaDB Corporation.
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; version 2 of the License.
Thi... | MariaDB/server | sql/net_serv.cc | C++ | gpl-2.0 | 40,989 |
<?php
namespace UsingTraits;
/**
* A controller.
*/
class ProductController
{
use DeleteEntity;
/**
* @OA\Get(
* tags={"Products"},
* path="/products/{product_id}",
* @OA\Parameter(
* description="ID of product to return",
* in="path",
* name="product_id... | egbot/Symbiota | api/vendor/zircote/swagger-php/Examples/using-traits/ProductController.php | PHP | gpl-2.0 | 606 |
<?php
/**
* @group scripts
*/
class Tests_Scripts extends EDD_UnitTestCase {
/**
* Test if all the file hooks are working.
*
* @since 2.3.6
*/
public function test_file_hooks() {
$this->assertNotFalse( has_action( 'wp_enqueue_scripts', 'edd_load_scripts' ) );
$this->assertNotFalse( has_action( 'wp_en... | easydigitaldownloads/Easy-Digital-Downloads | tests/tests-scripts.php | PHP | gpl-2.0 | 4,022 |
/*
* Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.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; either version 2 of the License, or (at your
* option) any later ve... | proofrepo/MadboxpcWOW_3.0 | src/server/scripts/Northrend/Ulduar/ulduar/boss_assembly_of_iron.cpp | C++ | gpl-2.0 | 30,497 |
/**
* @file
* @author Witek902 (witek902@gmail.com)
*/
#include "PCH.hpp"
#include "Event_Input.hpp"
#include "Engine/Common/Reflection/ReflectionClassDefine.hpp"
NFE_DEFINE_POLYMORPHIC_CLASS(NFE::Scene::Event_Input)
NFE_CLASS_PARENT(NFE::Scene::Event)
NFE_END_DEFINE_CLASS()
namespace NFE {
namespace Scene ... | nfprojects/nfengine | Src/Engine/Core/Scene/Events/Event_Input.cpp | C++ | gpl-2.0 | 441 |
//
// GPActionDeclFloat.cs
//
// Author(s):
// Baptiste Dupy <baptiste.dupy@gmail.com>
//
// Copyright (c) 2014
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restrictio... | trfd/Unity-ActionTool | Actions/Variables/Decl/GPActionDeclFloat.cs | C# | gpl-2.0 | 1,729 |
//$(document).ready(function() {
/* Range Slider Function */
(function($) {
$.fn.rkmd_rangeSlider = function() {
var self, slider_width, slider_offset, curnt, sliderContinuous, sliderDiscrete, range, slider;
self = $(this);
slider_width = self.outerWidth();
slider_offset = self.of... | johnfrancisgit/Chromaticity | js/range.js | JavaScript | gpl-2.0 | 5,426 |
/*
* Copyright (C) 2002-2015 XimpleWare, info@ximpleware.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 2 of the License, or
* (at your option) any later version.
*... | CoolBalance/vtd-xml | src/main/java/com/ximpleware/extended/TextIterHuge.java | Java | gpl-2.0 | 14,440 |
<?php
include_once('admin/class-emma-settings.php');
include_once('widget/class-widget.php');
include_once('shortcode/class-shortcode.php');
include_once('class-emma-api.php');
include_once('class-form.php');
/**
* Main Class for the Emma Emarketing Plugin
*
* long desc
* @package Emma_Emarketing
* @author ah s... | samanthavandapuye/tease | wp-content/plugins/emma-emarketing-plugin/class-emma-emarketing.php | PHP | gpl-2.0 | 737 |
/**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest05161.java | Java | gpl-2.0 | 2,337 |
package com.numhero.client.mvp.document;
import com.google.gwt.resources.client.ResourcePrototype;
import com.google.gwt.core.client.GWT;
public class com_numhero_client_mvp_document_InvoicePanel_InvoiceUiBinderImpl_GenBundle_en_InlineClientBundleGenerator implements com.numhero.client.mvp.document.InvoicePanel_Invoi... | midaboghetich/netnumero | gen/com/numhero/client/mvp/document/com_numhero_client_mvp_document_InvoicePanel_InvoiceUiBinderImpl_GenBundle_en_InlineClientBundleGenerator.java | Java | gpl-2.0 | 561 |
<?php global $user; ?>
<article<?php print $attributes; ?>>
<?php print render($title_prefix); ?>
<?php if (!$page && $title): ?>
<header>
<h2<?php print $title_attributes; ?>><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>
</header>
<?php endif; ?>
<?php ... | ComuneBologna/comunita | sites/comunita/themes/comunita_theme/templates/node--bene-comune.tpl.php | PHP | gpl-2.0 | 3,768 |
<?php
/*
Simple class to let themes add dependencies on plugins in ways they might find useful
Example usage:
$test = new Theme_Plugin_Dependency( 'simple-facebook-connect', 'http://ottopress.com/wordpress-plugins/simple-facebook-connect/' );
if ( $test->check_active() )
echo 'SFC is installed a... | jubjunior/Wordpress | wp-content/themes/x2/core/includes/helper-functions.php | PHP | gpl-2.0 | 16,806 |
<?php get_header(); ?>
<?php
$options = get_option('sf_dante_options');
$default_show_page_heading = $options['default_show_page_heading'];
$default_page_heading_bg_alt = $options['default_page_heading_bg_alt'];
$default_sidebar_config = $options['default_sidebar_config'];
$default_left_sidebar = $options['def... | roycocup/enclothed | wp-content/themes/dante/page.php | PHP | gpl-2.0 | 6,214 |
<?php
/**
* TOP API: taobao.traderates.search request
*
* @author auto create
* @since 1.0, 2012-03-21 12:35:10
*/
class TraderatesSearchRequest
{
/**
* 商品的数字id
**/
private $numIid;
/**
* 当前页
**/
private $pageNo;
/**
* 每页显示的条数,允许值:5、10、20、40
**/
private $pageSize;
/**
* 商品所属的卖家nick
... | gxk9933/guoxk-blog | html/test_taobaoke/sdk/top/request/TraderatesSearchRequest.php | PHP | gpl-2.0 | 1,739 |
//
// FrameSpec.cpp
// Messaging
//
// Created by Dave Meehan on 21/04/2014.
// Copyright (c) 2014 Replicated Solutions Limited. All rights reserved.
//
#include <ZingBDD/ZingBDD.h>
#include "Frame.h"
#include <string.h>
namespace Messaging { namespace Specs {
describe(Frame, {
context("defa... | dmeehan1968/Playground | Messaging/Tests/FrameSpec.cpp | C++ | gpl-2.0 | 2,391 |
<hr>
<footer>
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<ul class="list-inline text-center">
<li>
<a href="#">
<span class="fa-stack fa-lg">
... | manishkiozen/WebCms | resources/views/blog/includes/footer.blade.php | PHP | gpl-2.0 | 1,468 |
# These are some tools I am creating to help me build the map for the game. They are a work in progress.
# I am also learning python, so I apologize in advance if I do dumb things.
# Right now this consists of just two classes: locations and coordinate systems.
# As I have it implemented here, a coordinate system is s... | nickdab/pygame | maptools.py | Python | gpl-2.0 | 2,622 |
'''
This file is part of the lenstractor project.
Copyright 2012 David W. Hogg (NYU) and Phil Marshall (Oxford).
Description
-----------
Wrapper class for tractor operation, to enable high level options (ie sampling or optimization).
To-do
-----
- debug, test
'''
import numpy as np
import os,subprocess
import tra... | davidwhogg/LensTractor | lenstractor/driver.py | Python | gpl-2.0 | 21,961 |
<?php
/**
* 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; under version 2
* of the License (non-upgradable).
*
* This program is distributed in the hope that it will be useful,
* but WIT... | oat-sa/tao-core | models/classes/requiredAction/implementation/RequiredActionRedirectUrlPart.php | PHP | gpl-2.0 | 3,945 |
/**
*/
package components.provider;
import components.Association;
import components.ComponentsPackage;
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.edit.provider.ComposeableAdapte... | peterbartha/j2eecm | edu.bme.vik.iit.j2eecm.edit/src/components/provider/AssociationItemProvider.java | Java | gpl-2.0 | 6,415 |
/**********************************************************************************************************************
* Copyright (c) 2015. Lorem ipsum dolor sit amet, consectetur adipiscing elit. *
* Morbi non lorem porttitor neque feugiat blandit. Ut vitae ipsum eget quam lac... | myhongkongzhen/pro-study-jdk | src/main/java/z/z/w/test/common/core/notify/IDataManipulation.java | Java | gpl-2.0 | 1,312 |
# -*- coding: utf-8 -*-
import json
import datetime
from django.http import HttpResponse
from django.template import RequestContext
from django.shortcuts import render_to_response
from misc.decorators import staff_required, common_ajax_response, verify_permission
from common import cache, debug, page
from message.in... | lantianlz/zx | www/admin/views_tools.py | Python | gpl-2.0 | 4,764 |
/*
* wowhead basic.js
* adapted to phpbb
*
*/
window.onload = resizeIfOdd;
window.onresize = forceBrowserEven;
function resizeIfOdd(){
if(navigator.userAgent.indexOf('Firefox/3') != -1 ||
navigator.userAgent.indexOf('WebKit') != -1)
if(document.documentElement.clientWidth % 2 == 1)
window.resizeBy(-1,0);
};
fun... | bbDKP/bbTips | root/adm/style/dkp/bbtips/basic.js | JavaScript | gpl-2.0 | 40,700 |
<?php $captcha_word = 'R75S'; ?> | CoordCulturaDigital-Minc/setoriais | wp-content/plugins/si-captcha-for-wordpress/captcha/temp/sQ5mnMOQmEJcMCR2.php | PHP | gpl-2.0 | 32 |
/* This file is part of the KDE project
Copyright (C) 2004 David Faure <faure@kde.org>
This library 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 y... | iegor/kdebase | kioslave/trash/kio_trash.cpp | C++ | gpl-2.0 | 20,976 |
import unittest
from mock import Mock
import os
from katello.tests.core.action_test_utils import CLIOptionTestCase, CLIActionTestCase
from katello.tests.core.repo import repo_data
import katello.client.core.repo
from katello.client.core.repo import Status
from katello.client.api.utils import ApiDataError
class Requ... | Katello/katello-cli | test/katello/tests/core/repo/repo_status_test.py | Python | gpl-2.0 | 3,038 |
<?php
/**
* Created by PhpStorm.
* User: tiemanntan
* Date: 16/11/15
* Time: 16:51
*/
class Nextorder_Yandexmetrica_Block_Adminhtml_System_Config_Result
extends Mage_Adminhtml_Block_Abstract
implements Varien_Data_Form_Element_Renderer_Interface{
public function render(Varien_Data_Form_Element_Abstra... | fatalerrortan/Magento_Yandexmetrica | app/code/local/Nextorder/Yandexmetrica/Block/Adminhtml/System/Config/Result.php | PHP | gpl-2.0 | 657 |
/*
* Player - One Hell of a Robot Server
* Copyright (C) 2010
* Mayte Lázaro, Alejandro R. Mosteo
*
*
* 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 Software Foundation; either
* version 2... | swem/player-git-svn | server/drivers/localization/ekfvloc/sub_opt.hh | C++ | gpl-2.0 | 1,106 |
//SpikeStream includes
#include "Globals.h"
#include "NetworkDisplay.h"
#include "ConnectionGroupModel.h"
#include "SpikeStreamException.h"
using namespace spikestream;
//Qt includes
#include <QDebug>
#include <QIcon>
/*! Constructor */
ConnectionGroupModel::ConnectionGroupModel() : QAbstractTableModel(){
connect(Gl... | nico202/spikestream | applicationlibrary/src/models/ConnectionGroupModel.cpp | C++ | gpl-2.0 | 7,961 |
<?php
// Copyright 2013 Toby Zerner, Simon Zerner
// This file is part of esoTalk. Please see the included license file for usage information.
if (!defined("IN_ESOTALK")) {
exit;
}
ET::$pluginInfo["Debug"] = array(
"name" => "Debug",
"description" => "Shows useful debugging information, such as SQL querie... | Felli/fireside | addons/plugins/Debug/plugin.php | PHP | gpl-2.0 | 6,463 |
/**
* Copyright 2011 Kurtis L. Nusbaum
*
* This file is part of UDJ.
*
* UDJ 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 2 of the License, or
* (at your option) any later version.
... | klnusbaum/UDJ-Desktop-Client | src/ActivePlaylistView.cpp | C++ | gpl-2.0 | 4,615 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Bo... | Jaydak54/assignment4 | HareAndTortoise/Board Class Library/Properties/AssemblyInfo.cs | C# | gpl-2.0 | 1,420 |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import gtk # @UnusedImport
import gtk.glade
import gobject
from lib.pycsb19 import recibo
from lib.pycsb19 import ordenante
import sqlite3 as sqlite
import time
class Remesas:
def __init__(self):
self.Llamada=""
self.NifOrdenante=""
self.CodR... | pacoqueen/ginn | ginn/lib/pycsb19/remesas.py | Python | gpl-2.0 | 32,357 |
<?php
/**
* @version $Id: rokpad.php 9100 2013-04-03 23:19:42Z djamil $
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
defined('_JEXEC') or die;
/**
*
*/
class plgEditorRokPad e... | cnpisit/myangkorpeopel | plugins/editors/rokpad/rokpad.php | PHP | gpl-2.0 | 50,100 |
<?php
$cfg = require __DIR__ . '/../vendor/mediawiki/mediawiki-phan-config/src/config.php';
$cfg['directory_list'] = array_merge(
$cfg['directory_list'],
[
'../../extensions/MobileFrontend',
'../../extensions/VisualEditor',
'../../extensions/CentralAuth',
'../../extensions/CirrusSearch',
]
);
$cfg['exclud... | wikimedia/mediawiki-extensions-GettingStarted | .phan/config.php | PHP | gpl-2.0 | 569 |
package app.astrosoft.ui.cal;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Observable;
import java.util.Observer;
import javax.swing.*;
import javax.swing.event.AncestorEvent;
import javax.swing.event.AncestorListener;
import javax.swing.plaf.basic.Basi... | erajasekar/Astrosoft | src/app/astrosoft/ui/cal/JCalendarCombo.java | Java | gpl-2.0 | 7,350 |
/* $Id: ldrkStuff.cpp $ */
/** @file
* IPRT - Binary Image Loader, kLdr Interface.
*/
/*
* Copyright (C) 2006-2007 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or modify ... | VirtualMonitor/VirtualMonitor | src/VBox/Runtime/common/ldr/ldrkStuff.cpp | C++ | gpl-2.0 | 30,065 |
<?php
/*
Twando.com Free PHP Twitter Application
http://www.twando.com/
*/
if (!$content_id) {
exit;
}
global $q1a, $pass_msg;
?>
<h2>Tweet Settings for <?=htmlentities($q1a['screen_name'])?></h2>
<?php
if ($q1a['id'] == "") {
echo mainFuncs::push_response(7);
} else {
//List all options here
?>
<d... | txt3rob/twando | inc/content/english/tweet_settings.php | PHP | gpl-2.0 | 1,874 |
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* Contains the DB_common base class
*
* PHP versions 4 and 5
*
* LICENSE: This source file is subject to version 3.0 of the PHP license
* that is available through the world-wide-web at the following URI:
* http://www.php.net/license/3_0.... | mikexstudios/xcomic | includes/DB/common.php | PHP | gpl-2.0 | 69,476 |
package conf;
/**
* Enthält die Konfigurationseinstellungen
* @author CreaByte
*
*/
public final class Conf {
/**
* Frames pro Sekunde
*/
public static final int fps = 22;
/**
* Standard-Zeitschritt für die Simulation
*/
public static final long defaultTimeStep = 1000/fps; // 22fps
/*... | rondiplomatico/traffic | src/conf/Conf.java | Java | gpl-2.0 | 1,922 |
/*
* (c) Copyright 2009-2013 by Volker Bergmann. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, is permitted under the terms of the
* GNU General Public License.
*
* For redistributing this software or a derivative work under a license other
* than th... | raphaelfeng/benerator | src/org/databene/benerator/wrapper/AsIntegerGeneratorWrapper.java | Java | gpl-2.0 | 2,256 |
from bs4 import BeautifulSoup
import urllib.request
html = urllib.request.urlopen('http://www.nlotto.co.kr/common.do?method=main’')
soup = BeautifulSoup(html)
hoi = soup.find("span", id="lottoDrwNo")
numbers=[]
for n in range(1,7):
strV ="drwtNo" + str(n)
first = soup.find('img', id=strV)['alt']
... | YongJang/PythonTelegram | examples/referenced/a.py | Python | gpl-2.0 | 497 |
<?php
$lang['plugin']['categories'] = array(
'subject' => 'Kategorie'
);
?> | evacchi/flatpress | fp-plugins/categories/lang/lang.cs-cz.php | PHP | gpl-2.0 | 89 |
package polarbear.acceptance.order;
import static com.polarbear.util.Constants.ResultState.*;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
import static polarbear.acceptance.Request.anRequest;
import static polarbear.integration.service.order.assertutil.AssertUtil.assertThat... | polargull/polar | polarbear/src/test/java/polarbear/acceptance/order/SignOrderTest.java | Java | gpl-2.0 | 3,093 |
<?php
/**
* @copyright Copyright(c) 2010 jooyea.net
* @file curd_action.php
* @brief 实现系统的自动增删改查
* @author webning
* @date 2010-12-23
* @version 0.6
*/
/**
* @brief 完成用户的自动增加删除修改功能DURD类
* @class ICURDAction
*/
class ICURDAction extends IAction
{
/**
* @brief 处理curd动作
* @return S... | zatol/iws | lib/web/action/curd_action.php | PHP | gpl-2.0 | 4,566 |