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 |
|---|---|---|---|---|---|
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright held by original author
\\/ M anipulation |
------------------... | CFDEMproject/OpenFOAM-1.6-ext | src/finiteArea/fields/faePatchFields/constraint/cyclic/cyclicFaePatchFields.C | C++ | gpl-2.0 | 1,713 |
<?php
/**
* Single Product Thumbnails
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
global $post, $product, $woocommerce;
?>
<div class="thumbnails"><?php
$attachment_ids = $product->get_gallery_attachment_ids... | mchibouni/wp_classified_ad_poc | wp-content/themes/sommerce/woocommerce/single-product/product-thumbnails.php | PHP | gpl-2.0 | 1,064 |
/*
* $Id: EditorActions.java,v 1.38 2012/09/20 14:59:30 david Exp $
* Copyright (c) 2001-2012, JGraph Ltd
*/
package com.variamos.gui.refas.editor.actions;
import java.awt.Color;
import java.awt.Component;
import java.awt.Image;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.aw... | sebasMonsalve/VARIAMOS | com.variamos.gui/src/com/variamos/gui/refas/editor/actions/EditorActions.java | Java | gpl-2.0 | 48,399 |
/*
* Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/>
* Copyright (C) 2008 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2008-2014 Hellground <http://hellground.net/>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License a... | superwow/hell.core | src/game/PetitionsHandler.cpp | C++ | gpl-2.0 | 34,383 |
<?php
/*
+----------------------------------------------------------------+
| |
| WordPress Plugin: WP-PostRatings |
| Copyright (c) 2012 Lester "GaMerZ" Chan |
| |
| File Written By: |
| - Lester "GaMerZ" Chan |
| - http://lesterc... | the-wilhelm/chicagostorage | wp-content/plugins/wp-postratings/postratings-manager.php | PHP | gpl-2.0 | 27,209 |
<?php
use Ctct\ConstantContact;
use Ctct\Components\Contacts\Contact;
use Ctct\Components\Contacts\Address;
use Ctct\Components\Contacts\CustomField;
use Ctct\Components\Contacts\Note;
use Ctct\Components\Contacts\ContactList;
use Ctct\Components\Contacts\EmailAddress;
use Ctct\Exceptions\CtctException;
class CTCT_Ad... | johnmanlove/JMMC_Corp-Site | wp-content/plugins/constant-contact-api/admin/contacts.php | PHP | gpl-2.0 | 4,096 |
<?php
namespace Phalcon\Mvc\Collection;
/**
* Phalcon\Mvc\Collection\Manager
* This components controls the initialization of models, keeping record of relations
* between the different models of the application.
* A CollectionManager is injected to a model via a Dependency Injector Container such as Phalcon\Di.
... | mattm479/mafiakingz | vendor/phalcon/src/Phalcon/mvc/collection/Manager.php | PHP | gpl-2.0 | 4,617 |
# -*- coding: utf-8 -*-
# Copyright (C) 2010 Holoscopio Tecnologia
# Author: Marcelo Jorge Vieira <metal@holoscopio.com>
# Author: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as pu... | landell/landell | sltv/input/videotestinput.py | Python | gpl-2.0 | 1,971 |
/*
PowerDNS Versatile Database Driven Nameserver
Copyright (C) 2002 - 2013 PowerDNS.COM BV
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
Additionally, the license... | nlyan/pdns | pdns/receiver.cc | C++ | gpl-2.0 | 18,867 |
/*
* Copyright (C) 2013-2015 DeathCore <http://www.noffearrdeathproject.net/>
*
* 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 l... | HevdavDEV/DeathCore_3.3.5a | src/server/scripts/Northrend/Ulduar/Ulduar/boss_kologarn.cpp | C++ | gpl-2.0 | 25,778 |
/* ==============================================================================
// ZenDebug.cpp
// Part of the Zentropia JUCE Collection
// Zentropia is hosted on Github at [https://github.com/SonicZentropy]
// @author Casey Bailey (<a href="SonicZentropy@gmail.com">email</a>)
// @version 0.1
// @date 2015/08/3... | SonicZentropy/ZenTool | Source/zen_utils/ZenDebug.cpp | C++ | gpl-2.0 | 1,033 |
<?php
/**
* @version $Id: str_ireplace.php 23 2014-01-11 08:24:20Z thongta $
* @package utf8
* @subpackage strings
*/
//---------------------------------------------------------------
/**
* UTF-8 aware alternative to str_ireplace
* Case-insensitive version of str_replace
* Note: requires utf8_strtolower
... | AhmedSayedAhmed/MM_Portal | wp-content/plugins/wp-pipes/includes/phputf8/str_ireplace.php | PHP | gpl-2.0 | 1,864 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2007-2012 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | rfdrake/opennms | opennms-dao/src/main/java/org/opennms/netmgt/dao/support/FilterWalker.java | Java | gpl-2.0 | 4,106 |
/***************************************************************************
qgslayertreeembeddedwidgetsimpl.h
--------------------------------------
Date : May 2016
Copyright : (C) 2016 by Martin Dobias
Email : wonder dot sk at gmail dot com
************************... | m-kuhn/QGIS | src/gui/layertree/qgslayertreeembeddedwidgetsimpl.cpp | C++ | gpl-2.0 | 4,418 |
/**
* WonderPlugin Carousel Skin Options
* Copyright 2014 Magic Hills Pty Ltd - http://www.wonderplugin.com
*/
var WONDERPLUGIN_CAROUSEL_SKIN_OPTIONS = {
classic : {
width:240,
height:180,
skinsfoldername:"",
arrowhideonmouseleave:1000,
itembottomshadowimagetop:100,
navhei... | master777/tap | wp-content/plugins/wonderplugin-carousel/engine/wonderplugincarouselskins.js | JavaScript | gpl-2.0 | 28,810 |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... | miguelangelramirez/magento.dev | app/code/core/Mage/GoogleBase/Model/Resource/Attribute.php | PHP | gpl-2.0 | 1,413 |
(function ($, Drupal) {
'use strict';
Drupal.behaviors.chosen = {
attach: function (context, settings) {
settings.chosen = settings.chosen || drupalSettings.chosen;
// Prepare selector and add unwantend selectors.
var selector = settings.chosen.selector;
var options;
// Function t... | SeeyaSia/www | web/modules/contrib/chosen/js/chosen.js | JavaScript | gpl-2.0 | 2,592 |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Parse and analyse a SQL query
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
*
*/
$GLOBALS['unparsed_sql'] = $sql_query;
$parsed_sql = PMA_SQP_parse($sql_query);
$analyzed_sql = PMA_SQP_analyze($parsed_sql);
// for bug 780516: now ... | rakeshkaundilya/phpmyadmin | libraries/parse_analyze.inc.php | PHP | gpl-2.0 | 4,562 |
# -*- coding: utf-8 -*-
"""
/***************************************************************************
Rasterize.py
-------------------
begin : 2016-10-05
copyright : (C) 2016 by OPENGIS.ch
email : matthias@opengis.ch
**... | GeoCat/QGIS | python/plugins/processing/algs/qgis/Rasterize.py | Python | gpl-2.0 | 10,479 |
<?php if (!defined('APPLICATION')) exit();
/*
Copyright 2008, 2009 Vanilla Forums Inc.
This file is part of Garden.
Garden 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... | Curter29/Vanilla-mod | applications/vanilla/modules/class.bookmarkedmodule.php | PHP | gpl-2.0 | 2,066 |
/**
* Desarrollado por: Judelvis Antonio Rivas Perdomo
* Fecha Creacion: 09 de Noviembre de 2014
*/
$(function() {
$('#tabs').tabs();
listar_pendientes();
listar_procesando();
listar_procesado();
listar_rechazo_cliente();
listar_rechazo_admin();
});
function listar_pendientes(){
var datos = "estatus=0&panel... | judelvis/jpa-garte | system/js/panel/principal.js | JavaScript | gpl-2.0 | 2,919 |
""" Page functions for Host Aggregates pages
"""
import attr
from navmazing import NavigateToAttribute
from widgetastic_patternfly import BootstrapNav
from widgetastic_patternfly import BreadCrumb
from widgetastic_patternfly import Button
from widgetastic_patternfly import Dropdown
from widgetastic_patternfly import Vi... | nachandr/cfme_tests | cfme/cloud/host_aggregates.py | Python | gpl-2.0 | 6,202 |
#! /usr/bin/env python
# @ORIGINAL_AUTHOR: Robert Muth
#
# python.org has useful info about the Python programming language
#
# The Python library is described here: http://docs.python.org/lib/lib.html
# An the index for the library here: http://docs.python.org/lib/genindex.html
import sys
import os
import getopt
impo... | cyjseagull/SHMA | zsim-nvmain/pin_kit/source/tools/SimpleExamples/flowgraph.py | Python | gpl-2.0 | 13,531 |
/*
* steghide 0.5.1 - a steganography program
* Copyright (C) 1999-2003 Stefan Hetzl <shetzl@chello.at>
*
* 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... | erykrutkowski/Steghide-GUI | steghide-src/JpegSampleValue.cc | C++ | gpl-2.0 | 2,573 |
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | nchong/icliggghts | src/ASPHERE/fix_nve_asphere.cpp | C++ | gpl-2.0 | 7,251 |
<?php
namespace PhpOffice\PhpSpreadsheet\Calculation\TextData;
use PhpOffice\PhpSpreadsheet\Calculation\Functions;
class Replace
{
/**
* REPLACE.
*
* @param mixed $oldText The text string value to modify
* @param mixed $start Integer offset for start character of the replacement
* @param... | egbot/Symbiota | vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Replace.php | PHP | gpl-2.0 | 2,182 |
/*
* This is the source code of Telegram for Android v. 3.x.x.
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Nikolai Kudashov, 2013-2016.
*/
package org.telegram.messenger;
import android.app.Activity;
import android.a... | 7ShaYaN7/Telegram | TMessagesProj/src/main/java/org/telegram/messenger/ApplicationLoader.java | Java | gpl-2.0 | 14,342 |
package enums;
public enum ConnectionMode {
WIFI,
USB
}
| LorenK96/slide-desktop | src/main/java/enums/ConnectionMode.java | Java | gpl-2.0 | 65 |
<?php
/**
* @package CoursePress
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<?php
if ( has_post_thumbnail() ) {
echo '<div class="featured-image">... | eduardmokrov/study | wp-content/themes/coursepress/content.php | PHP | gpl-2.0 | 2,347 |
<?php
class onActivityContentAfterUpdateApprove extends cmsAction {
public function run($data){
$ctype_name = $data['ctype_name'];
$item = $data['item'];
// обновляем запись в ленте активности
$this->updateEntry('content', "add.{$ctype_name}", $item['id'], array(
'sub... | Val-Git/icms2 | system/controllers/activity/hooks/content_after_update_approve.php | PHP | gpl-2.0 | 685 |
/*
FailedPanel.java / MiniCopier
Copyright (C) 2007-2009 Adrian Courrèges
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... | acourreges/minicopier | src/minicopier/gui/FailedPanel.java | Java | gpl-2.0 | 2,996 |
/*
Mango - Open Source M2M - http://mango.serotoninsoftware.com
Copyright (C) 2006-2011 Serotonin Software Technologies Inc.
@author Matthew Lohbihler
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
th... | sdtabilit/Scada-LTS | src/com/serotonin/mango/vo/dataSource/jmx/JmxDataSourceVO.java | Java | gpl-2.0 | 7,962 |
/* This file is part of the KDE project
Copyright (C) 2005 Jarosław Staniek <staniek@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, o... | TheTypoMaster/calligra-history | kexi/widget/kexicustompropertyfactory_p.cpp | C++ | gpl-2.0 | 3,633 |
<?php get_header(); the_post(); ?>
<div id="page-title" class="post-title">
<div class="container">
<div class="post-info">
<div class="date">
<em></em>
<a href="<?php the_permalink() ?>"><?php print get_the_date() ?></a>
</div>
<div class="comments">
<em></em>
<a href="#comments"><?php com... | hsfoxman/198362 | wp-content/themes/snapshot/single.php | PHP | gpl-2.0 | 2,381 |
package plugins;
import com.sun.squawk.VM;
import java.lang.Math;
import sics.plugin.PlugInComponent;
import sics.port.PluginPPort;
public class LEDLighter extends PlugInComponent {
public PluginPPort led;
private int k;
public LEDLighter(String[] args) {
super(args);
}
public LEDLighter() {
k = 0... | sics-sse/moped | plugins/LEDLighter/src/main/java/plugins/LEDLighter.java | Java | gpl-2.0 | 1,710 |
/* AclEntry.java -- An entry in an ACL list.
Copyright (C) 1998 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath 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 ... | aosm/gcc_40 | libjava/java/security/acl/AclEntry.java | Java | gpl-2.0 | 5,258 |
namespace Server.Items
{
public class AnimatedWeaponScroll : SpellScroll
{
[Constructable]
public AnimatedWeaponScroll()
: this(1)
{
}
[Constructable]
public AnimatedWeaponScroll(int amount)
: base(683, 0x2DA4, amount)
{
}
... | Argalep/ServUO | Scripts/Items/Consumables/AnimatedWeaponScroll.cs | C# | gpl-2.0 | 752 |
# -*- coding: UTF-8 -*-
__revision__ = '$Id$'
# Written by Christian Sagmueller <christian@sagmueller.net>
# based on PluginMovieIMDB.py, Copyright (c) 2005 Vasco Nunes
# You may use and distribute this software under the terms of the
# GNU General Public License, version 2 or later
import gutils
import movie,string... | santiavenda2/griffith | lib/plugins/movie/PluginMovieOFDb.py | Python | gpl-2.0 | 12,757 |
define(['multi-download'], function (multiDownload) {
'use strict';
return {
download: function (items) {
multiDownload(items.map(function (item) {
return item.url;
}));
}
};
}); | gsnerf/MediaBrowser | MediaBrowser.WebDashboard/dashboard-ui/bower_components/emby-webcomponents/filedownloader.js | JavaScript | gpl-2.0 | 251 |
/*
* Copyright (c) 2012, 2015, 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 ... | mcberg2016/graal-core2 | graal/org.graalvm.compiler.loop/src/org/graalvm/compiler/loop/DerivedOffsetInductionVariable.java | Java | gpl-2.0 | 4,905 |
"use strict";
(function main_default_js(g) {
// - g is the global object.
// - User callbacks called without 'this', global only if callee is non-strict.
// - The names of function expressions are not required, but are used in stack
// traces. We name them where useful to show up (fname:#line always shows).
mp.msg =... | torque/mpv | player/javascript/defaults.js | JavaScript | gpl-2.0 | 18,251 |
'use strict';
require('../common');
const assert = require('assert');
const Buffer = require('buffer').Buffer;
function FakeBuffer() { }
Object.setPrototypeOf(FakeBuffer, Buffer);
Object.setPrototypeOf(FakeBuffer.prototype, Buffer.prototype);
const fb = new FakeBuffer();
assert.throws(function() {
Buffer.from(fb)... | domino-team/openwrt-cc | package/gli-pub/openwrt-node-packages-master/node/node-v6.9.1/test/parallel/test-buffer-fakes.js | JavaScript | gpl-2.0 | 994 |
<?php
/**
* @package Layers
*/
/**
* Add define Layers constants to be used around Layers themes, plugins etc.
*/
/**
* The current version of the theme. Use a random number for SCRIPT_DEBUG mode
*/
define( 'LAYERS_VERSION', '1.2.2' );
define( 'LAYERS_TEMPLATE_URI' , get_template_directory_uri() );
define( 'LAYER... | haisuu111/shop | wp-content/themes/layerswp/functions.php | PHP | gpl-2.0 | 13,786 |
<?php
/*
* This file is part of EC-CUBE
*
* Copyright(c) 2000-2014 LOCKON CO.,LTD. All Rights Reserved.
*
* http://www.lockon.co.jp/
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; e... | shoheiworks/Labo-EcCube | tests/class/test/util/Test_Utils.php | PHP | gpl-2.0 | 2,579 |
<?php
/**
* File containing the FragmentListenerFactory class.
*
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
* @version 2014.07.0
*/
namespace eZ\Bundle\EzPublishCoreBundle\Fragment;
use... | tonvinh/ez | vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Fragment/FragmentListenerFactory.php | PHP | gpl-2.0 | 1,381 |
#include "DataFactory.h"
#include "Data/DataLoader.h"
#include "Data/Image/Controller.h"
#include "Data/Image/DataSource.h"
#include "Data/Region/Region.h"
#include "Data/Region/RegionFactory.h"
#include "Data/Util.h"
#include "CartaLib/Hooks/LoadRegion.h"
#include "Globals.h"
#include <QDebug>
namespace Carta {
nam... | Astroua/CARTAvis | carta/cpp/core/Data/Image/DataFactory.cpp | C++ | gpl-2.0 | 4,125 |
package edu.stanford.nlp.coref.hybrid.sieve;
import edu.stanford.nlp.util.logging.Redwood;
import java.util.List;
import java.util.Properties;
import edu.stanford.nlp.coref.data.Dictionaries;
import edu.stanford.nlp.coref.data.Document;
import edu.stanford.nlp.coref.data.Mention;
import edu.stanford.nlp.coref.data.Di... | rupenp/CoreNLP | src/edu/stanford/nlp/coref/hybrid/sieve/OracleSieve.java | Java | gpl-2.0 | 1,774 |
<?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2015 |
+---------------------... | JMAConsulting/campaigntool | sites/all/modules/civicrm/CRM/Contribute/Form/Contribution.php | PHP | gpl-2.0 | 68,192 |
<?php
/**
* File containing the CountryList class
*
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
* @version 2014.07.0
*/
namespace eZ\Publish\Core\REST\Server\Values;
use eZ\Publish\Core\... | tonvinh/ez | vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/REST/Server/Values/CountryList.php | PHP | gpl-2.0 | 681 |
#include <lib/dvb/idvb.h>
#include <dvbsi++/descriptor_tag.h>
#include <dvbsi++/service_descriptor.h>
#include <dvbsi++/satellite_delivery_system_descriptor.h>
#include <dvbsi++/terrestrial_delivery_system_descriptor.h>
#include <dvbsi++/cable_delivery_system_descriptor.h>
#include <dvbsi++/ca_identifier_descriptor.h>
... | digidudeofdw/enigma2 | lib/dvb/scan.cpp | C++ | gpl-2.0 | 36,702 |
/*
* Copyright (C) 2005-2010 MaNGOS <http://getmangos.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.
*
... | Khira/La-Confrerie | src/game/WaypointMovementGenerator.cpp | C++ | gpl-2.0 | 30,591 |
/*
* Copyright (C) 2011 The Android Open Source Project
*
* 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 app... | rex-xxx/mt6572_x201 | dalvik/dx/src/com/android/dx/io/EncodedValueReader.java | Java | gpl-2.0 | 4,797 |
/*
* 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 may ... | SpoonLabs/astor | examples/lang_39/src/java/org/apache/commons/lang3/text/StrLookup.java | Java | gpl-2.0 | 5,459 |
/* Copyright (c) 2010, Oracle and/or its affiliates. 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; version 2 of the License.
This program is distributed in the hope th... | ottok/mariadb-galera-10.0 | storage/perfschema/table_esgs_by_user_by_event_name.cc | C++ | gpl-2.0 | 5,462 |
<?php namespace Xms\Core;
use ErrorException;
use DOMNode;
use DOMNodeList;
use DOMElement;
use DOMDocument;
use Closure;
/*
* XMS - Online Web Development
*
* Copyright (c) 2010 Cezar Lucan cezar.lucan@aws-dms.com
* Licensed under GPL license.
* http://www.aws-dms.com
*
* Date: 2010-10-24
*/
//0.47 ::append... | igorwwwwwwwwwwwwwwwwwwww/test | includes/Xms/Core/CommonXml.php | PHP | gpl-2.0 | 49,814 |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... | miguelangelramirez/magento.dev | app/code/core/Mage/CurrencySymbol/Helper/Data.php | PHP | gpl-2.0 | 1,841 |
/* This file is part of the KDE project
* Copyright (C) 2009 Jan Hambrecht <jaham@gmx.net>
*
* 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 (... | wyuka/calligra | libs/flake/tests/TestPointMergeCommand.cpp | C++ | gpl-2.0 | 8,389 |
/*
SESC: Super ESCalar simulator
Copyright (C) 2003 University of Illinois.
Contributed by Jose Renau
Milos Prvulovic
This file is part of SESC.
SESC 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 Softw... | dilawar/sesc | src_without_LF/libcore/RunningProcs.cpp | C++ | gpl-2.0 | 7,893 |
<?
include_once("lib/security_incident_lib.php");
include_once("lib/security_incident_classification_lib.php");
include_once("lib/security_services_lib.php");
include_once("lib/security_incident_service_lib.php");
include_once("lib/general_classification_lib.php");
include_once("lib/security_incident_status_lib... | santu47/Eramba | operations/security_incident_edit.php | PHP | gpl-2.0 | 6,808 |
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2007 François du Vignaud
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistribute it... | EuroPlusFinance/Software | Quantum Trading Platforms/QuantLib-1.4/ql/math/matrixutilities/tapcorrelations.cpp | C++ | gpl-2.0 | 5,800 |
# -*- coding: utf-8 -*-
#
# Copyright © 2014-2015 Colin Duquesnoy
# Copyright © 2009- The Spyder Developmet Team
#
# Licensed under the terms of the MIT License
# (see LICENSE.txt for details)
"""
Provides widget classes and functions.
.. warning:: Only PyQt4/PySide QtGui classes compatible with PyQt5.QtWidgets
ar... | davvid/git-cola | qtpy/QtWidgets.py | Python | gpl-2.0 | 6,411 |
/*
BMP180 Pressure & Temp Sensor Library
bmp180.cpp
EAS
Brian Davis
*/
#include <errno.h>
#include <unistd.h>
#include <fcntl.h>
#include <linux/i2c.h>
#include <linux/i2c-dev.h>
#include <sys/ioctl.h>
#include <iostream>
#include <cstring>
#include "bmp180_bosch.h"
#include "bmp180.h"
/... | jcstrang-edu/eas_bbb_version1 | source/bmp180.cpp | C++ | gpl-2.0 | 7,277 |
/******************************************************************************
* Icinga 2 *
* Copyright (C) 2012-2015 Icinga Development Team (http://www.icinga.org) *
* *
... | draskolnikova/icinga2 | lib/notification/notificationcomponent.hpp | C++ | gpl-2.0 | 2,276 |
/* ============================================================
*
* This file is a part of kipi-plugins project
* http://www.digikam.org
*
* Date : 2007-10-16
* Description : XMP categories settings page.
*
* Copyright (C) 2007-2012 by Gilles Caulier <caulier dot gilles at gmail dot com>
*
* This progr... | kratuna/kipi-plugins | metadataedit/xmp/xmpcategories.cpp | C++ | gpl-2.0 | 10,674 |
#include <iostream>
#include <fstream>
#include <conio.h>
#include <sstream>
#include <windows.h>
#include <map>
#include <OnlineDataManager.h>
#include <ConsoleInput.h>
#include <StringServer.h>
#include "edk.h"
#include "edkErrorCode.h"
#define TOTAL_CHANNELS 22
EE_DataChannel_t targetChannelList[... | bloyl/fieldtrip | realtime/src/acquisition/emotiv/emotiv2ft.cc | C++ | gpl-2.0 | 4,844 |
#
# Alexander Todorov <atodorov@redhat.com>
#
# Copyright 2016 Red Hat, Inc.
#
# This copyrighted material is made available to anyone wishing to use, modify,
# copy, or redistribute it subject to the terms and conditions of the GNU
# General Public License v.2. This program is distributed in the hope that it
# will b... | atodorov/pykickstart | tests/commands/install.py | Python | gpl-2.0 | 2,107 |
<?php
//
// ZoneMinder web filter view file, $Date$, $Revision$
// Copyright (C) 2001-2008 Philip Coombes
//
// 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... | guker/ZoneMinder | web/skins/flat/views/filter.php | PHP | gpl-2.0 | 13,954 |
## This file is part of Scapy
## See http://www.secdev.org/projects/scapy for more informations
## Copyright (C) Philippe Biondi <phil@secdev.org>
## This program is published under a GPLv2 license
"""
VoIP (Voice over IP) related functions
"""
import os
###################
## Testing stuff ##
###################
fr... | kinap/scapy | scapy/modules/voip.py | Python | gpl-2.0 | 4,288 |
/* Copyright (C) 2006 - 2008 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
* 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... | Bootz/TC-One | src/bindings/scripts/scripts/zone/tempest_keep/botanica/boss_warp_splinter.cpp | C++ | gpl-2.0 | 6,578 |
#
# Copyright (C) 2006 Red Hat, Inc.
# Copyright (C) 2006 Daniel P. Berrange <berrange@redhat.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 you... | dumbbell/virt-manager | src/virtManager/secret.py | Python | gpl-2.0 | 1,629 |
<?php
///////////////////////////////////////////////////////////////////////////
// //
// NOTICE OF COPYRIGHT //
// //
// Adead... | Esleelkartea/kz-adeada-talleres-electricos- | kzadeadatallereselectricos_v1.0.0_win32_installer/windows/xampp/htdocs/kz_adeada_talleres_electricos/commons/calidad/dir/nueva_reunion.php | PHP | gpl-2.0 | 4,891 |
/*
* 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... | sunsided/player | server/drivers/localization/ekfvloc/scan.hh | C++ | gpl-2.0 | 2,078 |
/*
html:after {
display: none;
content: '--small: (max-width: 500px) | --medium: (max-width: 1100px) | --large: (min-width: 1100px)';
}
*/
(function(window){
/*jshint eqnull:true */
'use strict';
var docElem = document.documentElement;
var create = function(){
if(!window.lazySizes || window.lazySizes.getCu... | georges5/bcangular | wp-content/plugins/wp-lazysizes-master/js/lazysizes/plugins/custommedia/ls.custommedia.js | JavaScript | gpl-2.0 | 2,072 |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'list', 'pt-br', {
bulletedlist: 'Lista sem números',
numberedlist: 'Lista numerada'
} );
| SeeyaSia/www | web/libraries/ckeditor/plugins/list/lang/pt-br.js | JavaScript | gpl-2.0 | 262 |
<?php
/**
* @version $Id: default.php 21463 2011-06-06 15:28:10Z dextercowley $
* @package Joomla.Installation
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
?>
<div id=... | heqiaoliu/Viral-Dark-Matter | tmp/install_4f20924cbb0a1/installation/views/license/tmpl/default.php | PHP | gpl-2.0 | 1,877 |
(function(){
// module factory: start
var moduleFactory = function($) {
// module body: start
var module = this;
$.require()
.script("moment")
.done(function() {
var exports = function() {
$.moment.lang('ar-ma', {
months : "يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".sp... | BetterBetterBetter/B3App | media/foundry/5.0/scripts/moment/ar-ma.js | JavaScript | gpl-2.0 | 2,156 |
require "test_helper"
module Api
class TracesControllerTest < ActionDispatch::IntegrationTest
##
# test all routes which lead to this controller
def test_routes
assert_routing(
{ :path => "/api/0.6/gpx/create", :method => :post },
{ :controller => "api/traces", :action => "create" }... | tomhughes/openstreetmap-website | test/controllers/api/traces_controller_test.rb | Ruby | gpl-2.0 | 15,842 |
<?php
/**
* @package EasyDiscuss
* @copyright Copyright (C) 2010 Stack Ideas Private Limited. All rights reserved.
* @license GNU/GPL, see LICENSE.php
*
* EasyDiscuss is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is deriv... | BetterBetterBetter/B3App | components/com_easydiscuss/models/labels.php | PHP | gpl-2.0 | 6,201 |
/**
* Playlist Loader
*/
import Event from '../events';
import EventHandler from '../event-handler';
import {ErrorTypes, ErrorDetails} from '../errors';
import URLHelper from '../utils/url';
import AttrList from '../utils/attr-list';
//import {logger} from '../utils/logger';
class PlaylistLoader extends EventHandler... | ChubbyArse/Emby | MediaBrowser.WebDashboard/dashboard-ui/bower_components/hls.js/src/loader/playlist-loader.js | JavaScript | gpl-2.0 | 10,482 |
/***************************************************************************
qgsmapthemes.cpp
--------------------------------------
Date : September 2014
Copyright : (C) 2014 by Martin Dobias
Email : wonder dot sk at gmail dot com
***********************************... | stevenmizuno/QGIS | src/app/qgsmapthemes.cpp | C++ | gpl-2.0 | 7,007 |
<?php
namespace PayPal\Api;
use PayPal\Common\PPModel;
use PayPal\Common\FormatConverter;
use PayPal\Validation\NumericValidator;
/**
* Class Currency
*
* Base object for all financial value related fields (balance, payment due, etc.)
*
* @package PayPal\Api
*
* @property string currency
* @property string v... | tectronics/tyres-wordpress | wp-content/plugins/directory/libraries/PayPal-PHP-SDK/lib/PayPal/Api/Currency.php | PHP | gpl-2.0 | 1,453 |
(function(){
var PushBullet = {};
PushBullet.init = function(clientId, redirectUri){
this.clientId = clientId;
this.redirectUri = redirectUri;
this.accessToken = localStorage.pushBulletAccessToken;
};
//tests if we are authorized
PushBullet.checkAuth = function(callback){
... | Belthazor2008/googulator | public_html/lib/pushbullet.js | JavaScript | gpl-3.0 | 3,181 |
/*
* Copyright (c) 2002-2005 The Regents of The University of Michigan
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met: redistributions of source code must retain the above copyright
* not... | vineodd/PIMSim | GEM5Simulation/gem5/src/dev/net/etherbus.cc | C++ | gpl-3.0 | 3,498 |
<?php
/**
*
* @package mahara
* @subpackage blocktype-newviews
* @author Catalyst IT Ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL version 3 or later
* @copyright For copyright information on Mahara, please see the README file distributed with this software.
*
*/
defined('INTERNAL') ||... | piersharding/mahara | htdocs/blocktype/newviews/lib.php | PHP | gpl-3.0 | 3,184 |
package at.tyron.vintagecraft.Block.Utility;
import at.tyron.vintagecraft.VintageCraft;
import at.tyron.vintagecraft.Block.BlockContainerVC;
import at.tyron.vintagecraft.TileEntity.TECokeOvenDoor;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.block.properti... | nanakisan/vintagecraft | src/main/java/at/tyron/vintagecraft/Block/Utility/BlockCokeOvenDoor.java | Java | gpl-3.0 | 7,072 |
package net.minecraft.world.chunk;
import javax.annotation.Nullable;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.network.PacketBuffer;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
public class BlockStatePalet... | Severed-Infinity/technium | build/tmp/recompileMc/sources/net/minecraft/world/chunk/BlockStatePaletteLinear.java | Java | gpl-3.0 | 2,268 |
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | ovilab/atomify | libs/lammps/src/KOKKOS/neigh_list_kokkos.cpp | C++ | gpl-3.0 | 1,894 |
#include <stdio.h>
int modularInverse(int number, int mod);
void extendedEuclid(int, int, int* d, int* x, int* y);
int main()
{
int number, mod;
scanf("%d %d", &number, &mod);
int ans = modularInverse(number, mod);
if (ans == -1)
fprintf(stderr, "Couldn't calculate modular inverse!\n");
else... | OpenGenus/cosmos | code/mathematical_algorithms/src/modular_inverse/modular_inverse.cpp | C++ | gpl-3.0 | 1,064 |
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtQml module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid commerci... | geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtdeclarative/src/qml/qml/qqmldelayedcallqueue.cpp | C++ | gpl-3.0 | 7,883 |
import math
def PrimeFactors(num):
primeFactors = []
for i in range(2, int(math.sqrt(num)) + 1):
while num % i == 0:
primeFactors.append(i)
num //= i
if num > 2:
primeFactors.append(num)
return primeFactors
def main():
factors = PrimeFactors(36)
print(factors)
if __name__ == '__main__':
main()
| gauravsitlani/programming | prime_factors/prime_factors.py | Python | gpl-3.0 | 315 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | areeves/openfisma | library/Zend/Pdf/Filter/Compression.php | PHP | gpl-3.0 | 15,570 |
/*
This file is part of ZAX.
ZAX 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.
ZAX is distributed in the hope that it will be useful... | inovex/zax | src/main/java/com/inovex/zabbixmobile/widget/PackageReplacedReceiver.java | Java | gpl-3.0 | 1,490 |
/**
* Copyright (C) 2005-2013, Stefan Strömberg <stefangs@nethome.nu>
*
* This file is part of OpenNetHome (http://www.nethome.nu)
*
* OpenNetHome 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... | stefangs/NetHomeServer | home-items/web-items/src/main/java/nu/nethome/home/items/web/servergui/HomeItemError.java | Java | gpl-3.0 | 1,950 |
var gr__expj_8h =
[
[ "gr_expj", "gr__expj_8h.html#a7d0144e5774158b746199c1da4d5b5ac", null ]
]; | aviralchandra/Sandhi | build/gr36/docs/doxygen/html/gr__expj_8h.js | JavaScript | gpl-3.0 | 100 |
#include "./class.h"
#include "../../util/trace.h"
#include "../../util/log.h"
#include <map>
#include <algorithm>
#include "../common/method.h"
#include "../common/property.h"
#include "../common/ref.h"
#include "./ivar.h"
#include "./protocol.h"
#include "../TopologySort.h"
extern std::map<const void*,Class> g_class... | magicpriest/darling-FC-edition | src/libobjcdarwin/new/class.cpp | C++ | gpl-3.0 | 3,116 |
/*
* Copyright (c) 2013 The WebRTC 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 in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | liyouchang/webrtc-qt | webrtc/test/channel_transport/channel_transport.cc | C++ | gpl-3.0 | 4,688 |
// ***************************************************************** -*- C++ -*-
/*
* Copyright (C) 2004-2017 Andreas Huggel <ahuggel@gmx.net>
*
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public... | aferrero2707/PhotoFlow | src/external/exiv2/include/exiv2/xmp.hpp | C++ | gpl-3.0 | 16,837 |
# -*- coding: utf-8 -*-
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import division
import uuid
import base64
import os
from django.contrib.gis.db import models
from treemap.models import User
class APIAccessCredential(models.Model):
access_key = models.CharFie... | ctaylo37/OTM2 | opentreemap/api/models.py | Python | gpl-3.0 | 1,113 |
# -*- coding: utf-8 -*-
# Generated by Django 1.9.13 on 2017-08-14 18:04
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('sessao', '0009_auto_20170619_1441'),
]
operations = [
migrations.AddField(
... | cmjatai/cmj | sapl/sessao/migrations/0010_auto_20170814_1804.py | Python | gpl-3.0 | 753 |
package com.nutiteq.utils;
import com.nutiteq.components.Envelope;
import com.nutiteq.components.MapPos;
import com.nutiteq.projections.Projection;
public class TileUtils {
private static final double TILESIZE = 256;
private static final double initialResolution = 2.0f * Math.PI * 6378137.0f
... | FAIMS/faims-android | faimsandroidapp/src/main/java/com/nutiteq/utils/TileUtils.java | Java | gpl-3.0 | 4,474 |