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 |
|---|---|---|---|---|---|
/***************************************************************************
qgsrendererrasterpropertieswidget.cpp
---------------------
begin : May 2016
copyright : (C) 2016 by Nathan Woodrow
email : woodrow dot nathan at gmail dot com
*********************... | tudorbarascu/QGIS | src/gui/raster/qgsrendererrasterpropertieswidget.cpp | C++ | gpl-2.0 | 18,787 |
#include "group_handler_base.h"
#include "group_adapter_centralized.h"
#include "../../messaging/message_string.h"
#include "../worker.h"
#include "../global.h"
namespace networking {
group_adapter_centralized::group_adapter_centralized(
ACE_Reactor *r
) : group_adapter_base(r), _cgrp(NULL)
{
//... | ajalkane/rvhouse | src/networking/impl/group_adapter_centralized.cpp | C++ | gpl-2.0 | 1,919 |
#define H2D_REPORT_WARN
#define H2D_REPORT_INFO
#define H2D_REPORT_VERBOSE
#define H2D_REPORT_FILE "application.log"
#include "hermes2d.h"
#include "function.h"
// This example solves a simple version of the time-dependent
// Richard's equation using the backward Euler method in time
// combined with the Newton's ... | davidquantum/hermes2d | examples/richards/main.cpp | C++ | gpl-2.0 | 4,814 |
<?php
defined('_JEXEC') or die;
class Fw_fbpostViewToken extends JViewLegacy
{
public function display($tpl = null)
{
$component = JRequest::getVar('option','com_fw_fbpost');
$result = JComponentHelper::getComponent($option= $component);
$app_id = $result->params->get('app_id');
$app_secrect = $res... | bundocba/unitedworld | administrator/components/com_fw_fbpost/views/token/view.raw.php | PHP | gpl-2.0 | 1,465 |
//===============================================================================
// Copyright (c) 2005-2017 by Made to Order Software Corporation
//
// All Rights Reserved.
//
// The source code in this file ("Source Code") is provided by Made to Order Software Corporation
// to you under the terms of the GNU Genera... | dooglio/turnwatcher | src/molib/src/memfile.cpp | C++ | gpl-2.0 | 3,809 |
<?php
$mts_options = get_option(MTS_THEME_NAME);
if(is_array($mts_options['mts_homepage_layout'])){
$homepage_layout = $mts_options['mts_homepage_layout']['enabled'];
}else if(empty($homepage_layout)) {
$homepage_layout = array();
}
?>
<?php
$top_footer_num = (!empty($mts_options['mts_top_footer_num'])... | Qiaojianxun123/gongfuweb | wp-content/themes/onepage/footer.php | PHP | gpl-2.0 | 10,577 |
/*
* Information about an output, not the value of the output itself (that is handled by manager)
*/
package wekimini.osc;
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.util.Random;
import wekimini.util.Uti... | mzed/wekimini | src/wekimini/osc/OSCDtwOutput.java | Java | gpl-2.0 | 8,148 |
<?php
/**
* @version $Id: coolfeed.php 100 2012-04-14 17:42:51Z trung3388@gmail.com $
* @copyright JoomAvatar.com
* @author Nguyen Quang Trung
* @link http://joomavatar.com
* @license License GNU General Public License version 2 or later
* @package Avatar Dream Framework Template
* @facebook http://www.fac... | jbelborja/deportivo | templates/avatar_vincent/core/html/mod_menu/default.php | PHP | gpl-2.0 | 2,002 |
<?php
/*
* This file is part of the Mink package.
* (c) Konstantin Kudryashov <ever.zet@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Behat\Mink\Element;
/**
* Document element.
*
* @author Konstantin Ku... | maskedjellybean/tee-prop | vendor/behat/mink/src/Element/DocumentElement.php | PHP | gpl-2.0 | 995 |
/*
* Copyright (C) 2012-2017 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* 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.
*
* If the program is linked with... | EHJ-52n/OX-Framework | 52n-oxf-ows-v110/src/main/java/org/n52/ows/service/OxfServiceIdentification.java | Java | gpl-2.0 | 3,418 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2010-2019 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2019 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | jeffgdotorg/opennms | features/measurements/impl/src/main/java/org/opennms/netmgt/measurements/impl/AbstractRrdBasedFetchStrategy.java | Java | gpl-2.0 | 8,024 |
<?php
/**
* Loop Rating
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.0.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
global $product;
if ( get_option( 'woocommerce_enable_review_rating' ) === 'no' )
return;
?>
<div class="rating">
<?php if ( $rating_html... | jimmitjoo/mnh | wp-content/themes/mix/woocommerce/loop/rating.php | PHP | gpl-2.0 | 457 |
#! /usr/bin/env python
from hermes2d import Mesh, MeshView, H1Shapeset, PrecalcShapeset, H1Space, \
LinSystem, WeakForm, DummySolver, Solution, ScalarView
from hermes2d.examples.c06 import set_bc, set_forms
from hermes2d.examples import get_example_mesh
mesh = Mesh()
mesh.load(get_example_mesh())
#mesh.refin... | solin/hermes2d | python/examples/06.py | Python | gpl-2.0 | 1,022 |
<?php
namespace Drupal\webform\Tests;
use Drupal\Component\Render\FormattableMarkup;
use Drupal\Component\Utility\Unicode;
use Drupal\Component\Utility\UrlHelper;
use Drupal\Core\Config\FileStorage;
use Drupal\Core\Serialization\Yaml;
use Drupal\filter\Entity\FilterFormat;
use Drupal\simpletest\WebTestBase;
use Drupa... | rsathishkumar/edtx | modules/webform/src/Tests/WebformTestBase.php | PHP | gpl-2.0 | 17,969 |
/*****************************************************************************
Copyright (c) 1995, 2016, 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
Founda... | cvicentiu/mariadb-10.0 | storage/xtradb/fsp/fsp0fsp.cc | C++ | gpl-2.0 | 118,221 |
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
// ******************************************************************
// *
// * .,-::::: .,:: .::::::::. .,:: .:
// * ,;;;'````' `;;... | jarupxx/Cxbx-Reloaded | src/CxbxKrnl/EmuFile.cpp | C++ | gpl-2.0 | 75,098 |
#! /usr/bin/env rspec
require_relative "test_helper"
require "erb"
Yast.import "Popup"
describe Yast::Popup do
let(:ui) { double("Yast::UI") }
subject { Yast::Popup }
before do
# generic UI stubs for the progress dialog
stub_const("Yast::UI", ui)
end
describe ".Feedback" do
context "when argu... | kobliha/yast-yast2 | library/general/test/popup_test.rb | Ruby | gpl-2.0 | 11,426 |
/* Copyright 2012 Jesper K. Pedersen <blackie@kde.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) version 3 or any later version... | astifter/kphotoalbum-astifter-branch | Plugins/UploadWidget.cpp | C++ | gpl-2.0 | 2,093 |
#!/usr/bin/python
"""
Usage: python manifestParser.py [path to list with manifest paths].
Parses the manifests indicated in the list file and cretes a pl file with the aplication permissions.
"""
import os,sys
import subprocess
import xml.etree.ElementTree as ET
class manifestParser:
"""
Main class that parses m... | afmurillo/FinalHerramientas-2014-2 | ProyectoFinal/Codigo/manifestParser.py | Python | gpl-2.0 | 3,248 |
<?php
/*
Plugin Name: Social Comments
Plugin URI: http://en.bainternet.info
Description: This plugin adds Google Plus Comments , facebook comments, Disqus comments and the native comments system to your blog
Version: 0.1.2
Author: Bainternet
Author Email: admin@bainternet.info
License:
Copyright Bainternet 2013... | browngd/bitcrunched | wp-content/plugins/social-comments/plugin.php | PHP | gpl-2.0 | 10,116 |
/**
* OpenKM, Open Document Management System (http://www.openkm.com)
* Copyright (c) 2006-2017 Paco Avila & Josep Llort
* <p>
* No bytes were intentionally harmed during the development of this application.
* <p>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the... | Beau-M/document-management-system | src/main/java/com/openkm/util/markov/Generator.java | Java | gpl-2.0 | 3,689 |
<?php
/**
*
* Precise Similar Topics [French]
* Translated by Geolim4.com & Galixte (http://www.galixte.com)
*
* @copyright (c) 2013 Matt Friedman
* @license GNU General Public License, version 2 (GPL-2.0)
*
*/
/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}
if (empty($lang) || !is_array($lang))
{
$lang ... | Mauron/similartopics | language/fr/permissions_similar_topics.php | PHP | gpl-2.0 | 1,528 |
<?php
/**
* @package Joomla.Platform
* @subpackage Updater
*
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
jimport('joomla.filesystem.file');
jimport('joo... | wnnz34/joomla-cms | libraries/joomla/updater/updater.php | PHP | gpl-2.0 | 10,978 |
<?php
/**
* A resource representing an SMSGlobal shared pool
*
* @package Smsglobal\RestApiClient\Resource
*/
class Smsglobal_RestApiClient_Resource_SharedPool extends Smsglobal_RestApiClient_Resource_Base
{
/**
* Name
* @var string
*/
protected $name;
/**
* Size
* @var int
... | smsglobal/smsglobal-wordpress-plugin | vendor/rest-api-client-php-5.2/Smsglobal/RestApiClient/Resource/SharedPool.php | PHP | gpl-2.0 | 869 |
<?php namespace Illuminate\Database\Capsule;
use PDO;
use Illuminate\Support\Fluent;
use Illuminate\Container\Container;
use Illuminate\Database\DatabaseManager;
use Illuminate\Contracts\Events\Dispatcher;
use Illuminate\Database\Eloquent\Model as Eloquent;
use Illuminate\Database\Connectors\ConnectionFactory;
use Ill... | teknic/musicapp | vendor/laravel/framework/src/Illuminate/Database/Capsule/Manager.php | PHP | gpl-2.0 | 4,733 |
///////////////////////////////////////////////////////////////////////////////
// For information as to what this class does, see the Javadoc, below. //
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, //
// 2007, 2008, 2009, 2010, 2014, 2015 by Peter Spirtes, Richard Scheines, Joseph... | ajsedgewick/tetrad | tetrad-lib/src/main/java/edu/cmu/tetrad/search/Purify.java | Java | gpl-2.0 | 152,402 |
<?php
//error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR);
require('./roots.php');
require($root_path.'include/inc_environment_global.php');
/**
* CARE2X Integrated Hospital Information System Deployment 2.1 - 2004-10-02
* GNU General Public License
* Copyright 2002,2003,2004,2005 Elpidio Latorilla
* elpidio@care2x... | victorkagimu/khl-care2x | modules/doctors/doctors.php | PHP | gpl-2.0 | 3,412 |
##
# This file is part of WhatWeb and may be subject to
# redistribution and commercial restrictions. Please see the WhatWeb
# web site for more information on licensing and terms of use.
# http://www.morningstarsecurity.com/research/whatweb
##
# Version 0.2 #
# Fixed regex to return multiple scripts
##
Plugin.define ... | tennc/WhatWeb | plugins-disabled/script-urls.rb | Ruby | gpl-2.0 | 805 |
<?php
//-
$ranges=Array(
"2483093504" => array("2483159039","US"),
"2483159040" => array("2483224575","SE"),
"2483224576" => array("2483290111","GB"),
"2483290112" => array("2483421183","US"),
"2483421184" => array("2483486719","HU"),
"2483486720" => array("2486566911","US"),
"2486566912" => array("2486632447","CH"),
"... | furax37/yeswiki | tools/ipblock/ip_files/148.php | PHP | gpl-2.0 | 2,760 |
<?php
$conf['output'] = 'file';
$conf['usecache'] = 1;
$conf['template'] = 'default';
$conf['maxbookmarks'] = 5;
$conf['usestyles'] = '';
$conf['qrcodesize'] = '120x120';
| neutrinog/Door43 | lib/plugins/dw2pdf/conf/default.php | PHP | gpl-2.0 | 202 |
require 'spec_helper'
describe EmbedController do
let(:host) { "eviltrout.com" }
let(:embed_url) { "http://eviltrout.com/2013/02/10/why-discourse-uses-emberjs.html" }
it "is 404 without an embed_url" do
get :best
response.should_not be_success
end
it "raises an error with a missing host" do
Si... | niknard/posts_app | spec/controllers/embed_controller_spec.rb | Ruby | gpl-2.0 | 1,480 |
<?php include('page_inc/page_top.php'); ?>
<div class="twoColRight" id="content">
<div id='navCol' class='clearfix '>
<?php print $section_sub_menu; ?>
<?php include('page_inc/saved_search_nav.php');?>
</div>
<div class="subcontent-wrapper">
<div id="mainCol">
<?php ... | himsme91/education | sites/all/themes/usgbc/templates/page/page-people.tpl.php | PHP | gpl-2.0 | 417 |
<?php
namespace Mittwald\Typo3Forum\ViewHelpers\Post;
/* - *
* COPYRIGHT NOTICE *
* *
* (c) 2015 Mittwald CM Service GmbH & Co... | mittwald/typo3-forum | Classes/ViewHelpers/Post/HelpfulButtonViewHelper.php | PHP | gpl-2.0 | 4,186 |
/*
queryj
Copyright (C) 2002-today Jose San Leandro Armendariz
chous@acm-sl.org
This library 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;... | rydnr/queryj | queryj-template-packaging/src/main/java/org/acmsl/queryj/templates/packaging/handlers/TemplateGeneratorTemplateBuildHandler.java | Java | gpl-2.0 | 4,398 |
/* ---------------------------------------------------------------------------
* UI Sortable init for items
* --------------------------------------------------------------------------- */
function mfnSortableInit(item){
item.find('.mfn-sortable').sortable({
connectWith : '.mfn-sortable',
cursor : 'move'... | ehsangolshani/mohsenGMD-website | wp-content/themes/betheme/functions/js/mfn.builder.js | JavaScript | gpl-2.0 | 21,172 |
/*
* Copyright (C) 2012-2013 Team XBMC
* http://xbmc.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, or (at your option)
* any later version.
*
* ... | gripped/xbmc | xbmc/pvr/channels/PVRChannelGroup.cpp | C++ | gpl-2.0 | 35,348 |
/*
* quickstampmanager.cpp
* Copyright 2010-2011, Stefan Beller <stefanbeller@googlemail.com>
*
* This file is part of Tiled.
*
* 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 ver... | ppiecuch/tiled | src/tiled/quickstampmanager.cpp | C++ | gpl-2.0 | 4,231 |
<?php
// PukiWiki - Yet another WikiWikiWeb clone
// $Id: lastmod.inc.php,v 1.3 2005/01/31 13:03:41 henoheno Exp $
//
// Lastmod plugin - Show lastmodifled date of the page
// Originally written by Reimy, 2003
function plugin_lastmod_inline()
{
global $vars, $WikiName, $BracketName;
$args = func_get_args();
if (... | mikoim/pukiwiki_adv | wiki-common/plugin/lastmod.inc.php | PHP | gpl-2.0 | 796 |
/******************************************************************************
*
* Copyright (C) 2009-2015 by Joenio Costa.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made ... | artur-kink/doxygen | addon/doxyparse/doxyparse.cpp | C++ | gpl-2.0 | 13,038 |
<?php
/**
* @version $Id: rokcomments.php 18916 2014-02-20 21:04:02Z rhuk $
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2014 RocketTheme, LLC
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
// no direct access
defined('_JEXEC') or die('Restricted... | 0111001101111010/hackforchange_website_template | plugins/content/rokcomments/rokcomments.php | PHP | gpl-2.0 | 16,710 |
INTERFACE [arm]:
#include "kmem.h"
class Page_table;
class Kmem_space : public Kmem
{
public:
static void init();
static void init_hw();
static Page_table *kdir();
private:
static Page_table *_kdir;
};
//---------------------------------------------------------------------------
IMPLEMENTATION [arm]:
#inc... | MicroTrustRepos/microkernel | src/kernel/fiasco/src/kern/arm/kmem_space.cpp | C++ | gpl-2.0 | 834 |
#define H2D_REPORT_WARN
#define H2D_REPORT_INFO
#define H2D_REPORT_VERBOSE
#define H2D_REPORT_FILE "application.log"
#include "hermes2d.h"
using namespace RefinementSelectors;
// This example solves adaptively the electric field in a simplified microwave oven.
// The waves are generated using a harmonic surface curre... | certik/hermes2d | examples/waveguide/main.cpp | C++ | gpl-2.0 | 8,583 |
package com.ullarah.urocket.task;
import com.ullarah.urocket.RocketInit;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.Particle;
import org.bukkit.entity.Player;
import org.bukkit.plugin.Plugin;
import java.util.Map;
import java.util.UUID;
public class StationParticles {
public void ta... | RobotoRaccoon/MinecraftPlugins | uRocket/src/main/java/com/ullarah/urocket/task/StationParticles.java | Java | gpl-2.0 | 1,271 |
#include <string>
#include <vector>
#include <set>
#include <map>
#include <algorithm>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <assert.h>
#include <string.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <limits.h>
#include... | dotfloat/restrife | strife-ve-src/patchelf/src/patchelf.cc | C++ | gpl-2.0 | 40,724 |
package org.gradle.sample;
import android.app.Activity;
import android.os.Bundle;
import android.content.Intent;
import android.widget.TextView;
import com.google.common.collect.Lists;
import java.lang.String;
import java.util.Arrays;
public class ShowPeopleActivity extends Activity {
@Override
public void o... | rex-xxx/mt6572_x201 | tools/build/testapps/dependencies/src/main/java/org/gradle/sample/ShowPeopleActivity.java | Java | gpl-2.0 | 796 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2010-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 | features/remote-poller-gwt/src/main/java/org/opennms/features/poller/remote/gwt/server/geocoding/NominatimGeocoder.java | Java | gpl-2.0 | 4,707 |
/*
* Copyright (c) 2003, 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 ... | universsky/openjdk | jdk/test/java/lang/management/MemoryMXBean/GetMBeanInfo.java | Java | gpl-2.0 | 2,409 |
// Copyright Oleg Maximenko 2014.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://github.com/svgpp/svgpp for library home page.
#pragma once
#include <svgpp/definitions.hpp>
#include <svgpp/uti... | asuradaimao/Walfas | includes/svgpp/utility/gil/composite.hpp | C++ | gpl-2.0 | 7,303 |
package vn.edu.fpt.fts.classes;
import java.io.Serializable;
public class Route implements Serializable {
private int active;
private String category;
private String createTime;
private String destinationAddress;
private String driverID;
private String finishTime;
private String notes;
private int... | buiduchuy/fts-g1-fuhcm | Code/Owner/OwnerApp/src/vn/edu/fpt/fts/classes/Route.java | Java | gpl-2.0 | 2,967 |
package com.lanyuan.mapper.base;
import java.util.List;
/**
* 已经实现民基本的 增,删,改,查接口,不需要重复写
* 所有mapper都继承这个BaseMapper
* @author lanyuan
* @date 2015-4-26
* @Email: mmm333zzz520@163.com
* @version 3.0v
*/
public interface BaseMapper {
/**
* 1:传入继承FormMap的子类对象,返回是一个List<T>集合<br/>
* 2:调用findByPage接口,必须传入PageView... | xiaoweige1101/chuangyeyuan | src/main/java/com/lanyuan/mapper/base/BaseMapper.java | Java | gpl-2.0 | 6,568 |
// RU KOI8-R lang variables
tinyMCE.addToLang('',{
paste_text_desc : '÷ÓÔÁ×ÉÔØ ËÁË ÐÒÏÓÔÏÊ ÔÅËÓÔ',
paste_text_title : 'éÓÐÏÌØÚÕÊÔÅ CTRL+V ÄÌÑ ×ÓÔÁ×ËÉ ÔÅËÓÔÁ × ÏËÏÛËÏ.',
paste_text_linebreaks : 'óÏÈÒÁÎÉÔØ ÐÅÒÅÎÏÓÙ ÓÔÒÏË',
paste_word_desc : '÷ÓÔÁ×ÉÔØ ÉÚ Word',
paste_word_title : 'éÓÐÏÌØÚÕÊÔÅ CTRL+V ÄÌÑ ×ÓÔÁ×ËÉ ÔÅ... | pzingg/saugus_elgg | _tinymce/jscripts/tiny_mce/plugins/paste/langs/ru_KOI8-R.js | JavaScript | gpl-2.0 | 376 |
/***************************************************************************
* (C) Copyright 2003-2012 - Stendhal *
***************************************************************************
***************************************************************************
* ... | acsid/stendhal | src/games/stendhal/server/core/scripting/ScriptInJava.java | Java | gpl-2.0 | 4,942 |
<?php
/*******************************************************************************
*******************************************************************************
** **
** ... | JKT-OSSCLUB/ProActio | Proactio Front/www/diskutil.php | PHP | gpl-2.0 | 3,799 |
/*
mkvmerge -- utility for splicing together matroska files
from component media subtypes
Distributed under the GPL v2
see the file COPYING for details
or visit http://www.gnu.org/copyleft/gpl.html
definitions used in all programs, helper functions
Written by Moritz Bunkus <moritz@bunkus.org>.
*... | timeraider4u/mkvtoolnix | src/common/command_line.cpp | C++ | gpl-2.0 | 10,436 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Ombi.Helpers;
using TraktSharp;
using TraktSharp.Entities;
using TraktSharp.Enums;
namespace Ombi.Api.Trakt
{
public class TraktApi : ITraktApi
{
private TraktClient Client { get; }
private... | tidusjar/Ombi | src/Ombi.Api.Trakt/TraktApi.cs | C# | gpl-2.0 | 2,341 |
<?php
/**
* @package Joomla.Platform
* @subpackage User
*
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
jimport('joomla.access.access');
jimport('joomla.r... | Macsmice/Tamka | libraries/overrides/user/user.php | PHP | gpl-2.0 | 18,780 |
<?php
/**
* @package akeebainstaller
* @copyright Copyright (C) 2009-2013 Nicholas K. Dionysopoulos. All rights reserved.
* @author Nicholas K. Dionysopoulos - http://www.dionysopoulos.me
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL v3 or later
*
* Akeeba Backup Installer Output: Database restoration s... | FF120/pet | installation2/includes/output/dbsetup.php | PHP | gpl-2.0 | 6,063 |
package org.zanata.events;
import lombok.Value;
import org.zanata.webtrans.server.TranslationWorkspace;
import org.zanata.webtrans.shared.rpc.TransUnitUpdated;
/**
* This event is raised in Hibernate entity listener after change has been made.
*
* We then gather all relevant information required for TransUnitUpdat... | Halcom/zanata-server | zanata-war/src/main/java/org/zanata/events/TextFlowTargetUpdatedEvent.java | Java | gpl-2.0 | 812 |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="be" version="2.1">
<context>
<name>AbstractPolyObjectFactory</name>
<message>
<location filename="../src/model/PolyObject.cpp" line="47"/>
<source>Bowling Pin</source>
<translation type="unfinished"/>
</message>
<message>
<... | amarsman/tbe | i18n/tbe_be.ts | TypeScript | gpl-2.0 | 75,216 |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1">
<context>
<name>Konsole::Session</name>
<message>
<location filename="../Session.cpp" line="454"/>
<source>Bell in session '%1'</source>
<translation type="unfinished"></translation>
</message>
<mes... | lxde/qtermwidget | lib/translations/qtermwidget.ts | TypeScript | gpl-2.0 | 6,036 |
<?php
/**
* WorldCat backend.
*
* PHP version 5
*
* Copyright (C) Villanova University 2010.
*
* 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 is distribu... | bbeckman/NDL-VuFind2 | module/VuFindSearch/src/VuFindSearch/Backend/WorldCat/Backend.php | PHP | gpl-2.0 | 5,041 |
/*
* #%L
* Fork of Apache Jakarta POI.
* %%
* Copyright (C) 2008 - 2016 Open Microscopy Environment:
* - Board of Regents of the University of Wisconsin-Madison
* - Glencoe Software, Inc.
* - University of Dundee
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use th... | imunro/bioformats | components/forks/poi/src/loci/poi/util/TempFile.java | Java | gpl-2.0 | 2,917 |
package org.openyu.archetype.app;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.text.Collator;
import java.text.MessageFormat;
import java.util.Arrays;
import java.util.concurrent.TimeUnit;
import org.springframework.context.ApplicationContext;
import org.spr... | mixaceh/openyu-archetype.j | openyu-archetype-app/src/main/java/org/openyu/archetype/app/App.java | Java | gpl-2.0 | 2,913 |
<?php
/**
* @author Dr Kaushal Keraminiyage
* @copyright Dr Kaushal Keraminiyage
* @license GNU General Public License version 2 or later
*/
defined("_JEXEC") or die("Restricted access");
require_once JPATH_COMPONENT.'/helpers/confmgr.php';
/**
* Camera_ready_papers list view class.
*
* @package Confmgr... | kaushal76/j34 | administrator/components/com_jdeveloper/tmp/com_confmgr_v0.0.5/admin/views/camera_ready_papers/view.html.php | PHP | gpl-2.0 | 3,880 |
namespace LJH.Inventory.UI.Forms
{
partial class FrmReportBase
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | ljh198275823/502-EasyInventory | Source/LJH.Inventory.UI/Forms/FrmReportBase.Designer.cs | C# | gpl-2.0 | 3,924 |
/*
* Copyright (c) 2008, 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 ... | jbachorik/btrace | btrace-instr/src/test/btrace/onmethod/SyncEntry.java | Java | gpl-2.0 | 1,998 |
<?php
/**
* @Copyright Copyright (C) 2009-2011 ... Ahmad Bilal
* @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
* Company: Buruj Solutions
+ Contact: www.burujsolutions.com , ahmad@burujsolutions.com
* Created on: Jan 11, 2009
^
+ Project: JS Jobs
* File Name: admin/views/application/view.html.ph... | jamielaff/als_resourcing | tmp/install_55cb054400b98/jsjobs/admin/views/jobtype/view.html.php | PHP | gpl-2.0 | 2,982 |
/*
* Copyright (C) 2008-2010 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 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 ver... | sureandrew/trinitycore | src/server/game/Spells/SpellEffects.cpp | C++ | gpl-2.0 | 291,013 |
<?php
return [
'author' => null, // Author is still available (Khalil Hymore), just not from LD+JSON.
'categories' => [
'Food',
'Cooking',
'Recipes',
],
'cookingMethod' => null,
'cookTime' => null,
'cuisines' => null,
'description' => 'You know what would be a really... | ssnepenthe/recipe-scraper | tests/data/results/www.redbookmag.com/food-recipes-recipes-a45244-ice-cream-pie-recipe.php | PHP | gpl-2.0 | 2,988 |
/****************************************************************************
*
* ViSP, open source Visual Servoing Platform software.
* Copyright (C) 2005 - 2019 by Inria. All rights reserved.
*
* This software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public... | lagadic/visp | modules/core/test/image-with-dataset/perfGaussianFilter.cpp | C++ | gpl-2.0 | 5,342 |
#if defined(_WIN64) || defined(WIN64) || defined(_WIN32) || defined(WIN32)
# if defined(_MSC_VER)
# if defined(DEBUG) || defined(_DEBUG)
#pragma comment(lib, "adisusbzd.lib")
# else
#pragma comment(lib, "adisusbz.lib")
# endif
# else
#error [SWL] not supported compiler
# endif
#elif def... | sangwook236/general-development-and-testing | hw_dev/ext/test/imu/library_autolinking.cpp | C++ | gpl-2.0 | 1,428 |
#!/usr/bin/env python
# encoding: utf-8
#
# rbootstrap - Install RPM based Linux into chroot jails
# Copyright (C) 2014 Lars Michelsen <lm@larsmichelsen.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 Softwar... | LaMi-/rbootstrap | rbootstrap/exceptions.py | Python | gpl-2.0 | 1,001 |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('common', '0004_category'),
('seller', '0014_auto_20150607_0943'),
]
operations = [
migrations.AddField(
... | tomcounsell/Cobra | apps/seller/migrations/0015_asset_newcategories.py | Python | gpl-2.0 | 455 |
// https://www.hackerrank.com/challenges/the-love-letter-mystery
// by.0263
package main
import "fmt"
func main() {
var jumSoal, changes, diff int
var inputan string
fmt.Scan(&jumSoal)
for soal := 1; soal <= jumSoal; soal++ {
fmt.Scan(&inputan)
changes = 0
for i := 0; i < len(inputan)/2; i++ {... | leo0263/hackergo | 01 Warming Up/01 08 Angry Children .go | GO | gpl-2.0 | 490 |
// Compiler options: -warnaserror
using System;
using System.Reflection;
using System.ComponentModel;
[assembly: CLSCompliant(true)]
[assembly: AssemblyTitle("")]
public class CLSCLass_6 {
private object disposedEvent = new object ();
public EventHandlerList event_handlers;
public event Dele... | xen2/mcs | tests/test-cls-00.cs | C# | gpl-2.0 | 2,405 |
/* $Id: RTPathHasPath.cpp $ */
/** @file
* IPRT - RTPathHasPath
*/
/*
* Copyright (C) 2006-2015 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 it under the terms ... | sobomax/virtualbox_64bit_edd | src/VBox/Runtime/common/path/RTPathHasPath.cpp | C++ | gpl-2.0 | 1,755 |
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <iostream>
#include <dune/common/exceptions.hh> // We use exceptions
#include <dune/common/parallel/mpihelper.hh> // An initializer of MPI
#include <dune/common/para... | magnese/dune-common | doc/comm/poosc08_test.cc | C++ | gpl-2.0 | 4,019 |
#region License
/*
* Copyright (C) 1999-2015 John Källén.
*
* 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, or (at your option)
* any later version.
*
* This program i... | MavenRain/reko | src/Arch/Pdp11/Pdp11Disassembler.cs | C# | gpl-2.0 | 16,871 |
<?php
/**
* Jetpack Compatibility File
* See: http://jetpack.me/
*
* @package Bose
*/
/**
* Add theme support for Infinite Scroll.
* See: http://jetpack.me/support/infinite-scroll/
*/
function bose_jetpack_setup() {
add_theme_support( 'infinite-scroll', array(
'container' => 'main',
'footer' => 'page',... | radision/cms_template | wp-content/themes/bose/inc/jetpack.php | PHP | gpl-2.0 | 386 |
#
# Copyright 2001 - 2016 Ludek Smid [http://www.ospace.net/]
#
# This file is part of Outer Space.
#
# Outer Space 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
# (... | dahaic/outerspace | client/osci/handler.py | Python | gpl-2.0 | 2,143 |
using System;
using System.Drawing;
using System.Windows.Data;
namespace PowerPointLabs.Converters.ColorPane
{
class SelectedColorToMonochromaticTwo : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
... | initialshl/PowerPointLabs | PowerPointLabs/PowerPointLabs/Converters/ColorPane/SelectedColorToMonochromaticTwo.cs | C# | gpl-2.0 | 823 |
<?php
/*
Author: Eddie Machado
URL: htp://themble.com/bones/
This is where you can drop your custom functions or
just edit things like thumbnail sizes, header images,
sidebars, comments, ect.
*/
/************* INCLUDE NEEDED FILES ***************/
/*
1. library/bones.php
- head cleanup (remove rsd, uri links, junk ... | mindtheproduct/2014 | wp-content/themes/mtp2014/functions.php | PHP | gpl-2.0 | 7,646 |
<?php
/*******************************************************************************
Copyright 2009 Whole Foods Co-op
This file is part of CORE-POS.
CORE-POS 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 Sof... | CORE-POS/IS4C | fannie/cron/nightly.seniordiscount.php | PHP | gpl-2.0 | 2,670 |
""" This module provides access to higher level functions and
constants for ieee special values such as Not a Number (nan) and
infinity (inf).
>>> from numarray import *
The special values are designated using lower case as follows:
>> inf
inf
>> plus_inf
inf
>> minus_inf
-inf
>> nan
nan
>> plus_zero
0.0
>> minus_ze... | fxia22/ASM_xf | PythonD/site_python/numarray/ieeespecial.py | Python | gpl-2.0 | 9,913 |
package nodebox.ui;
import nodebox.client.Application;
import javax.swing.*;
import java.awt.*;
import java.awt.datatransfer.Clipboard;
import java.awt.datatransfer.ClipboardOwner;
import java.awt.datatransfer.StringSelection;
import java.awt.datatransfer.Transferable;
import java.awt.event.ActionEvent;
import java.i... | joansmith/nodebox | src/main/java/nodebox/ui/ExceptionDialog.java | Java | gpl-2.0 | 3,569 |
<?php
class EM_Location_Post_Admin{
function init(){
global $pagenow;
if($pagenow == 'post.php' || $pagenow == 'post-new.php' ){ //only needed if editing post
add_action('admin_head', array('EM_Location_Post_Admin','admin_head'));
}
//Meta Boxes
add_action('add_meta_boxes', array('EM_Location_Post... | kunalsavlani/ufais | wp-content/plugins/events-manager/classes/em-location-post-admin.php | PHP | gpl-2.0 | 7,611 |
class FetchSessionsWorker < ApplicationWorker
def initialize(user_id, immediate = false)
@user_id = user_id
@immediate = immediate
user = User.find @user_id
super user.sessions_update.id
end
def perform
user = User.find @user_id
immediate = @immediate
user.sessions_rev_increment!
... | ldavin/hei-connect-web | app/workers/fetch_sessions_worker.rb | Ruby | gpl-2.0 | 2,361 |
/*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2016 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | fb/XCSoar | src/Device/Driver/KRT2.cpp | C++ | gpl-2.0 | 13,477 |
/**
* 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/BenchmarkTest04100.java | Java | gpl-2.0 | 2,470 |
<?php
// Echo Open software Copyright © 2012 KnowledgeWorks Foundation
// ECHO OPEN trademark and logo are trademarks of New Technology Network LLC
// The Echo Open software is licensed under the GNU GPLv2. For licensing information // please contact New Technology Network Licensing at: // webmaster@newtechnetwork.... | NewTechNetwork/EchoOpen | themes/Boldr/views-view--ntlp-ntn-resource-lib.tpl.php | PHP | gpl-2.0 | 2,661 |
<?php
/**
* Abstract FacetCache Factory.
*
* PHP version 7
*
* Copyright (C) Villanova University 2018.
*
* 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 i... | arto70/NDL-VuFind2 | module/VuFind/src/VuFind/Search/Base/FacetCacheFactory.php | PHP | gpl-2.0 | 3,084 |
/*
* Copyright (C) 2008-2019 TrinityCore <https://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 v... | chaodhib/TrinityCore | src/server/game/Maps/TransportMgr.cpp | C++ | gpl-2.0 | 17,321 |
<?php
/*
Plugin Name: Responsive Full Width Background Slider
Plugin URI: http://wptreasure.com
Description: Responsive Full Width Background Slider is very attractive full width background slider for pages and posts as well as custom post types
Author: wptreasure
Version: 1.0.4
Author URI: http://wptreasure.com... | toanpv92hy/toanpv_lines | wp-content/plugins/responsive-full-width-background-slider/rfwbs.php | PHP | gpl-2.0 | 7,300 |
#
# Copyright 2011-2017 Red Hat, Inc.
#
# 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.
#
# This program is distributed ... | nirs/vdsm | lib/vdsm/hook/hooking.py | Python | gpl-2.0 | 2,771 |
/*
* Copyright 2006-2018 The MZmine 2 Development Team
*
* This file is part of MZmine 2.
*
* MZmine 2 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 yo... | du-lab/mzmine2 | src/main/java/net/sf/mzmine/util/maths/similarity/Similarity.java | Java | gpl-2.0 | 7,559 |
/*
Copyright (c) 2009-2018, Arvid Norberg
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
notice, this list of conditions and ... | pavel-pimenov/flylinkdc-r5xx | libtorrent/src/socket_type.cpp | C++ | gpl-2.0 | 11,580 |
<?php
class actionAdminCtypesRelationsEdit extends cmsAction {
public function run($ctype_id, $relation_id) {
if (!$ctype_id || !$relation_id) {
cmsCore::error404();
}
$ctype = $this->model_backend_content->getContentType($ctype_id);
if (!$ctype) { cmsCore::error404()... | Loadir/icms2 | system/controllers/admin/actions/ctypes_relations_edit.php | PHP | gpl-2.0 | 2,247 |
FusionCharts.ready(function () {
var salaryDistribution = new FusionCharts({
type: 'boxandwhisker2d',
renderAt: 'chart-container',
width: '500',
height: '350',
dataFormat: 'json',
dataSource:
{
"chart": {
"caption": "Distribution of... | sguha-work/fiddletest | backup/fiddles/Chart/Data_plots/Configuring_data_plots_in_Box_And_Whisker_chart/demo.js | JavaScript | gpl-2.0 | 2,779 |
/*
* Copyright (C) 2014 Michael Joyce <ubermichael@gmail.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 version 2.
*
* This program is distributed in the hope that it will be usefu... | emmental/isetools | src/main/java/ca/nines/ise/node/chr/DigraphCharNode.java | Java | gpl-2.0 | 1,874 |
/**************************************************************************
* This file is part of Celera Assembler, a software program that
* assembles whole-genome shotgun reads into contigs and scaffolds.
* Copyright (C) 2007, J. Craig Venter Institute.
*
* This program is free software; you can redistribute i... | peterhj/wgs-assembler | src/AS_MER/AS_MER_gkpStore_to_FastABase.H | C++ | gpl-2.0 | 3,230 |