code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 4 991 | language stringclasses 9
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
<?php include sandy_get_header_path(); ?>
<div id='content'><div class='page-region'>
<?php if ($content): ?>
<div class='page-content content-wrapper clear-block'><?php print $content ?></div>
<?php endif; ?>
<?php print $content_region ?>
</div></div>
<div id='right'><div class='page-region'>
<?php if ($... | slimabraham/WildNet | sites/default/themes/sandy/page.tpl.php | PHP | gpl-2.0 | 399 |
package net.minecraft.network.play.server;
import java.io.IOException;
import net.minecraft.network.Packet;
import net.minecraft.network.PacketBuffer;
import net.minecraft.network.play.INetHandlerPlayClient;
import net.minecraft.scoreboard.Score;
import net.minecraft.scoreboard.ScoreObjective;
public class S3CPacketU... | SkidJava/BaseClient | new_1.8.8/net/minecraft/network/play/server/S3CPacketUpdateScore.java | Java | gpl-2.0 | 2,766 |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Common styles for the original theme
*
* @package PhpMyAdmin-theme
* @subpackage Original
*/
// unplanned execution path
if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
exit();
}
?>
/*****************************************************... | Xloka/phpmyadmin | themes/original/css/common.css.php | PHP | gpl-2.0 | 62,513 |
package org.openyu.commons.util.adapter;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlValue;
import org.openyu.commons.jaxb.adapter.supporter.BaseXmlAdapterSupporter;
import org.openyu.commons.util.SerializeType;
// --------------------------------------------------
// reslove:... | mixaceh/openyu-commons | openyu-commons-core/src/main/java/org/openyu/commons/util/adapter/SerializeTypeXmlAdapter.java | Java | gpl-2.0 | 1,484 |
/*
* Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
*/
/*
* 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 licen... | md-5/jdk10 | src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/NEWARRAY.java | Java | gpl-2.0 | 3,578 |
<?php
global $wpdb;
if (( current_user_can('gestionar_datos') ) && ($pagRes == 0))
$sql = "SELECT * FROM adeada_encuestas";
else
$sql = "SELECT * FROM adeada_encuestas WHERE id_usuario='".get_current_user_id( )."'";
$resultEncuestas = $wpdb->get_results($sql);
$filas = arra... | Esleelkartea/herramienta_para_autodiagnostico_ADEADA | programa/plugins/adeada/test/resultado2.php | PHP | gpl-2.0 | 3,368 |
module Katello
module Resources
module Candlepin
class Owner < CandlepinResource
extend OwnerResource
class << self
# Set the contentPrefix at creation time so that the client will get
# content only for the org it has been subscribed to
def create(key, descrip... | jlsherrill/katello | app/lib/katello/resources/candlepin/owner.rb | Ruby | gpl-2.0 | 5,461 |
<?php
defined('_JEXEC') or die('Direct Access to ' . basename(__FILE__) . 'is not allowed.');
/**
*
* @package VirtueMart
* @subpackage vmpayment
* @version $Id: refundnotification.php 8431 2014-10-14 14:11:46Z alatak $
* @author Valérie Isaksen
* @link http://www.virtuemart.net
* @copyright Copyright (c) 2... | adrian2020my/vichi | plugins/vmpayment/amazon/helpers/refundnotification.php | PHP | gpl-2.0 | 7,067 |
var Cylon = require('cylon');
Cylon.robot({
connections:{
leapmotion: {adaptor: 'leapmotion'},
ardrone: {adaptor: 'ardrone', port: '192.168.1.1'}
},
devices: {
leapmotion: {driver: 'leapmotion', connection: 'leapmotion'},
drone: {driver: 'ardrone', connection: 'ardrone'},
//nav: { driver: 'a... | AlphaNerds/alphaDrone | node_modules/cylon-leapmotion/examples/leap/leapDrone.js | JavaScript | gpl-2.0 | 1,236 |
<?php
/**
* MyBB 1.6
* Copyright 2010 MyBB Group, All Rights Reserved
*
* Website: http://mybb.com
* License: http://mybb.com/about/license
*
* $Id$
*/
class Moderation
{
/**
* Close one or more threads
*
* @param array Thread IDs
* @return boolean true
*/
function close_threads(... | marhazk/AeraSite | AeraSite/forum/inc/class_moderation.php | PHP | gpl-2.0 | 62,991 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.Forms;
using System.Data;
namespace EventAI
{
public static class Extensions
{
/// <summary>
/// Reads the NULL-terminated string from the current stre... | Kreegoth/Darkportalwow | sql_FULL_DB/Infinitys_EventAI_Creator/EventAI/Extensions/Extensions.cs | C# | gpl-2.0 | 7,159 |
<?php
/**
* @package Joomla.Administrator
* @subpackage com_newsfeeds
*
* @copyright (C) 2008 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\Component\Newsfeeds\Administrator\View\Newsfeed;
\defined('_JE... | Llewellynvdm/joomla-cms | administrator/components/com_newsfeeds/src/View/Newsfeed/HtmlView.php | PHP | gpl-2.0 | 4,432 |
#include "ScriptFacade.h"
#include "Data/Snapshot/Snapshots.h"
#include "Data/ViewManager.h"
#include "Data/Animator/Animator.h"
#include "Data/Animator/AnimatorType.h"
#include "Data/Image/Controller.h"
#include "Data/Colormap/Colormap.h"
#include "Data/Colormap/Colormaps.h"
#include "Data/Util.h"
#include "Data/Histo... | pfederl/CARTAvis | carta/cpp/core/ScriptedClient/ScriptFacade.cpp | C++ | gpl-2.0 | 66,537 |
// Type definitions for WebRTC
// Project: http://dev.w3.org/2011/webrtc/
// Definitions by: Ken Smith <https://github.com/smithkl42/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
// Taken from http://dev.w3.org/2011/webrtc/editor/getusermedia.html
// version: W3C Editor's Draft 29 June 2015
... | kazuki/video-codec.js | typings/MediaStream.d.ts | TypeScript | gpl-2.0 | 5,074 |
/* $Id$ */
/*
* Copyright (C) 2013 Teluu Inc. (http://www.teluu.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 ver... | pjsip/pjproject | pjsip/include/pjsua2/types.hpp | C++ | gpl-2.0 | 6,093 |
/*
This file is part of Cyclos (www.cyclos.org).
A project of the Social Trade Organisation (www.socialtrade.org).
Cyclos 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 th... | PUREMoneySystems/open-cyclos | src/com/puremoneysystems/poc/utils/OTManagerImpl.java | Java | gpl-2.0 | 4,188 |
<?php
namespace hypeJunction\Categories;
$entity = elgg_extract('entity', $vars);
if (elgg_instanceof($entity)) {
$container = $entity->getContainerEntity();
} else {
$container = elgg_extract('container', $vars, elgg_get_site_entity());
}
echo elgg_view('input/hidden', array(
'name' => 'categories[hierarchy][]'... | amcfarlane1251/ongarde | mod/hypeCategories/views/default/forms/categories/edit.php | PHP | gpl-2.0 | 2,153 |
<?php
/**
* Template Name: Full Width Template
* @package Snap
*/
?>
<?php get_header(); ?>
<?php while ( have_posts() ) : the_post(); global $post; ?>
<div id="page-<?php the_ID(); ?>">
<?php get_template_part( '_post-thumbnail' ); ?>
<h1><?php the_title(); ?></h1>
<?php if ( empty( $post->post_content)... | unconstruct/bandwidth | wp-content/themes/snap/full-width.php | PHP | gpl-2.0 | 951 |
<?php
/**
* @file
* Contains \Drupal\field\FieldInfo.
*/
namespace Drupal\field;
use Drupal\Core\Cache\CacheBackendInterface;
use Drupal\Core\Config\ConfigFactory;
use Drupal\Core\Extension\ModuleHandlerInterface;
/**
* Provides field and instance definitions for the current runtime environment.
*
* The prefe... | thebruce/d8-test-junk | drupal-8.x-dev/core/modules/field/lib/Drupal/field/FieldInfo.php | PHP | gpl-2.0 | 19,402 |
#include <bits/stdc++.h>
using namespace std;
/**
Find two segments that intersect
-sweep line technique
-binary search tree (std::set)
TIME: O(N*logN)
Memory: O(N)
**/
#define Point pair<int,int>
#define x first
#define y second
const double EPS = 1e-10;
int sign(int a)
{
if (a > 0)
... | AlexandruValeanu/Competitive-Programming-Training | Geometry-Algorithms/Finding a pair of intersected segments - O(N * logN).cpp | C++ | gpl-2.0 | 4,750 |
/* Copyright (C) 2006 - 2010 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 l... | Apple15/AppleCore | src/bindings/scriptdev2/scripts/kalimdor/temple_of_ahnqiraj/boss_cthun.cpp | C++ | gpl-2.0 | 43,572 |
<?php
/**
* This file is part of http://github.com/LukeBeer/BroadworksOCIP
*
* (c) 2013-2015 Luke Berezynskyj <eat.lemons@gmail.com>
*/
namespace BroadworksOCIP\api\Rel_17_sp4_1_197_OCISchemaAS\OCISchemaSystem;
use BroadworksOCIP\Builder\Types\TableType;
use BroadworksOCIP\Builder\Types\ComplexInterface;
use Br... | paericksen/broadworks-ocip | src/BroadworksOCIP/api/Rel_17_sp4_1_197_OCISchemaAS/OCISchemaSystem/SystemTreatmentMappingQ850CauseGetListResponse.php | PHP | gpl-2.0 | 1,587 |
/*
* Copyright (C) 2008 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditi... | Debian/openjfx | modules/web/src/main/native/Source/WebCore/accessibility/AccessibilityTableColumn.cpp | C++ | gpl-2.0 | 7,188 |
#ifndef BLISS_UTILS_HH
#define BLISS_UTILS_HH
/*
Copyright (c) 2003-2021 Tommi Junttila
Released under the GNU Lesser General Public License version 3.
This file is part of bliss.
bliss is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as pu... | szhorvat/igraph | src/isomorphism/bliss/utils.hh | C++ | gpl-2.0 | 1,297 |
<?php
/**
* @package RSP Extension for phpBB3.1
*
* @copyright (c) 2015 Marco Candian (tacitus@strategie-zone.de)
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
namespace tacitus89\rsp\entity;
/**
* Entity for a single ressource
*/
class user_ress extends abstractEntity
{
/*... | Kommodore/rsp_extension | entity/user_ress.php | PHP | gpl-2.0 | 4,208 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Input;
namespace ProjectSneakyGame
{
/// <summary>
/// Container that holds the entered input from an Xbox 360 Controller, Keyboard and Mouse.
/// Input is updated after it's parent 'Input' ... | JoshuaKlaser/ANSKLibrary | AnimationExample/AnimationExample/InputContainer.cs | C# | gpl-2.0 | 6,474 |
/*
* Copyright (c) 2005, 2006, 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 ... | samskivert/ikvm-openjdk | build/linux-amd64/impsrc/javax/xml/ws/Response.java | Java | gpl-2.0 | 2,141 |
/*******************************************************************************
* 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-services/src/test/java/org/opennms/netmgt/threshd/SnmpThresholderIntegrationTest.java | Java | gpl-2.0 | 3,835 |
import itertools
def split_list_by(l, n):
for i in range(len(l)/n + 1):
p = l[i*n:(i+1)*n]
if p:
yield p
class CountingIterator(object):
def __init__(self, iterator):
self.iterator = iterator
self.count = 0
def __iter__(self):
return self
def next(self):
next = self.iterator.next()
self.coun... | onoga/toolib | toolib/util/split_list.py | Python | gpl-2.0 | 731 |
package net.longfalcon.newsj.ws.rss;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* The purpose of this element is somethin... | stewartcavanaugh/newsj | newsj-util/src/main/java/net/longfalcon/newsj/ws/rss/TextInput.java | Java | gpl-2.0 | 3,435 |
<?
if(!defined('EL11IDEAL_IN'))
exit;
include(EL11IDEAL_PATH.'modules/team.class.php');
class User{
var $logged=false;
var $id;
var $username;
var $c_uname;
var $team;
public function __destruct(){
unset($this->team);
}
public function check_log($return=false){
if($_SESSION['logged... | blipi/El11Ideal | modules/user.php | PHP | gpl-2.0 | 2,098 |
#include "stdafx.h"
using namespace System;
using namespace System::Reflection;
using namespace System::Runtime::CompilerServices;
using namespace System::Runtime::InteropServices;
using namespace System::Security::Permissions;
//
// General Information about an assembly is controlled through the following
... | goose121/context-free | src-net/CFControls/AssemblyInfo.cpp | C++ | gpl-2.0 | 1,250 |
/*
* Copyright 2000-2003 Sun Microsystems, Inc. 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 Software Fou... | TheTypoMaster/Scaper | openjdk/jdk/src/share/classes/java/nio/MappedByteBuffer.java | Java | gpl-2.0 | 6,894 |
/*
* Copyright (c) 2005, 2008, 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 ... | openjdk/jdk7u | jdk/src/share/classes/com/sun/tools/hat/resources/hat.js | JavaScript | gpl-2.0 | 46,751 |
/*
* Copyright (c) 2005, 2006, 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 ... | samskivert/ikvm-openjdk | build/linux-amd64/impsrc/com/sun/xml/internal/bind/v2/runtime/reflect/PrimitiveArrayListerFloat.java | Java | gpl-2.0 | 3,411 |
/*
* Copyright (C) 2005-2008 Team XBMC
* http://www.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.
*
... | chris-magic/xbmc_dualaudio_pvr | xbmc/utils/ScraperParser.cpp | C++ | gpl-2.0 | 14,169 |
<?php
/**
* 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"... | ROLE/widget-store | src/main/drupal/sites/all/libraries/shindig2.5beta/src/gadgets/ProxyHandler.php | PHP | gpl-2.0 | 6,462 |
/*
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/Dialogs/ProfilePasswordDialog.cpp | C++ | gpl-2.0 | 2,951 |
<?php
/**
* English language file
*
* @author Arno Welzel <himself@arnowelzel.de>
*/
// custom language strings for the plugin
$lang['getflash'] = 'If <a href="http://www.macromedia.com/go/getflashplayer">Flash</a> is installed, you can watch a video inside this web page.';
//Setup VIM: ex: et ts=2 enc=utf-... | jfons9/ateneu | rw_html/ewikiform/lib/plugins/flashplayer/lang/en/lang.php | PHP | gpl-2.0 | 323 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package domen;
import java.io.Serializable;
/**
*
* @author student1
*/
public class Adresa implements Serializable{
private String ulica;
private String broj;
private Mesto mesto;
public Adresa(Str... | PSIXO/softverski-proces | Zajednicki/src/domen/Adresa.java | Java | gpl-2.0 | 1,221 |
<?php
/**
*
* Lightbox extension for the phpBB Forum Software package.
* [Japanese] Translation by momo-i.
*
* @copyright (c) 2015 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))
{... | Galixte/lightbox | language/ja/lightbox.php | PHP | gpl-2.0 | 1,996 |
var searchData=
[
['key',['key',['../classJson_1_1ValueIteratorBase.html#aa2ff5e79fc96acd4c3cd288e92614fc7',1,'Json::ValueIteratorBase::key() const '],['../classJson_1_1ValueIteratorBase.html#aa2ff5e79fc96acd4c3cd288e92614fc7',1,'Json::ValueIteratorBase::key() const ']]]
];
| bmob/BmobCocos2d-x | html/search/functions_9.js | JavaScript | gpl-2.0 | 277 |
<?php
/*******************************************************************************
Copyright 2016 Whole Foods Co-op
This file is part of IT CORE.
IT CORE 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... | flathat/IS4C | fannie/modules/plugins2.0/OverShortTools/OsVarianceReport.php | PHP | gpl-2.0 | 9,678 |
/*
* Copyright 2015 Fabrício Godoy
*
* 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 law or agreed ... | skarllot/magmanager | vendor/gopkg.in/raiqub/web.v0/doc.go | GO | gpl-2.0 | 1,424 |
<?php
defined('TYPO3_MODE') or die();
if (TYPO3_MODE === 'BE') {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
'web',
'func',
'',
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod1/',
array(
'script' => '_DISPATCH',
'access' => 'user,group',
'name' => 'we... | janusnic/Portfolio | typo3_src-7.3.1/typo3/sysext/func/ext_tables.php | PHP | gpl-2.0 | 520 |
const thymeleaf = require('/lib/thymeleaf');
const dataUtils = require('/lib/data');
const portal = require('/lib/xp/portal');
const assetUrlCache = require('/lib/assetUrlCache');
const view = resolve('default.html');
function buildBodyClass(site, siteConfig, content, params, backgroundImage) {
let bodyClass = '... | enonic/app-superhero-blog | src/main/resources/site/pages/default/default.js | JavaScript | gpl-2.0 | 2,889 |
/*
* Copyright (c) 2008--2012, The University of Sheffield. See the file
* COPYRIGHT.txt in the software or at http://gate.ac.uk/gate/COPYRIGHT.txt
*
* This file is part of GATE (see http://gate.ac.uk/), and is free
* software, licenced under the GNU Library General Public License,
* Version 2, June 1991 (in... | SONIAGroup/S.O.N.I.A. | GATE_Developer_8.0/plugins/TermRaider/src/gate/termraider/gui/PMIDebugger.java | Java | gpl-2.0 | 5,149 |
EasyBlog.module('responsive', function($) {
var module = this;
// $(selector).responsive({condition});
// $(selector).responsive([{condition1}, {condition2}]);
$.fn.responsive = function() {
var node = this;
/* conditions = {
at: 0, // threshold value
switchTo: '', // classname to apply to the node
a... | cuongnd/banhangonline88_joomla | media/com_easyblog/scripts_/responsive.js | JavaScript | gpl-2.0 | 5,417 |
/*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2011 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
... | smurry/XCSoar | src/Renderer/TraceHistoryRenderer.hpp | C++ | gpl-2.0 | 2,183 |
<?php
/**
* File containing the eZ\Publish\API\Repository\Exceptions\InvalidArgumentException class.
*
* @copyright Copyright (C) 1999-2014 eZ Systems AS. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
* @version //autogentag//
*/
namespace eZ\Publish\API\Re... | glye/ezpublish-kernel | eZ/Publish/API/Repository/Exceptions/InvalidArgumentException.php | PHP | gpl-2.0 | 523 |
#include "SystemClass.h"
#include "InputClass.h"
#include "GraphicsClass.h"
SystemClass::SystemClass(void)
{
m_Input = nullptr;
m_Graphics = nullptr;
}
SystemClass::SystemClass(const SystemClass&)
{
}
SystemClass::~SystemClass(void)
{
}
//调用窗口初始化函数和其它一些类的初始化函数
bool SystemClass::Initialize()
{
int screenWidth =... | Jesna/DirectX | D3D11/myTutorialD3D11/myTutorialD3D11_6/SystemClass.cpp | C++ | gpl-2.0 | 5,919 |
require 'rails_helper'
RSpec.describe Jobs::PublishTopicToCategory do
let(:category) { Fabricate(:category) }
let(:another_category) { Fabricate(:category) }
let(:topic) do
topic = Fabricate(:topic, category: category)
Fabricate(:topic_timer,
status_type: TopicTimer.types[:publish_to_category],
... | gfvcastro/discourse | spec/jobs/publish_topic_to_category_spec.rb | Ruby | gpl-2.0 | 2,580 |
<?php
/**
* @package EasyBlog
* @copyright Copyright (C) 2010 - 2015 Stack Ideas Sdn Bhd. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* EasyBlog is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative... | quanghung0404/it2tech | components/com_easyblog/themes/wireframe/composer/form/author/associates.php | PHP | gpl-2.0 | 1,555 |
<?php
/*
*
* @author Ken Lalobo
*
*/
namespace Mooti\Service\Account\Controller;
use Mooti\Framework\Rest\BaseController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Mooti\Framework\Framework;
use Mooti\Service\Account\Model\User\UserMapper;
class User exten... | mooti/mooti-service-account | src/Controller/User.php | PHP | gpl-2.0 | 821 |
/*
* Digital Media Server, for streaming digital media to UPnP AV or DLNA
* compatible devices based on PS3 Media Server and Universal Media Server.
* Copyright (C) 2016 Digital Media Server developers.
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Genera... | DigitalMediaServer/DigitalMediaServer | src/main/java/net/pms/dlna/DLNABinaryThumbnail.java | Java | gpl-2.0 | 17,364 |
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2004,2005,2006 INRIA
*
* 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 d... | tomhenderson/ns-3-dev-git | src/wifi/model/arf-wifi-manager.cc | C++ | gpl-2.0 | 8,873 |
//Copyright (C) 2015 Timothy Watson, Jakub Pachansky
//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 i... | R-Suite/ServiceConnect.Monitor | ServiceConnect.Monitor/Scripts/app/collections/heartbeats.js | JavaScript | gpl-2.0 | 987 |
<?php
#-----------------------------------------
# RT-Theme rt_setup_assistant.php
# version: 1.0
#-----------------------------------------
#
# Setup assitant for RT-Themes
#
class RTSetupAssistant{
function __construct(){
//Screenshot URL
$screenshotURL = "http://templatemints.com/t... | cphillipp/flymebusiness | wp-content/themes/rttheme17/rt-framework/classes/rt_setup_assistant.php | PHP | gpl-2.0 | 35,011 |
<?php
/**
* The file that defines the core plugin class
*
* A class definition that includes attributes and functions used across both the
* public-facing side of the site and the dashboard.
*
* @link http://www.flowdee.de
* @since 1.0.0
*
* @package Blueposts
* @subpackage Blueposts/includes
... | flowdee/blueposts-for-wordpress | includes/class-blueposts.php | PHP | gpl-2.0 | 6,072 |
/*
* see license.txt
*/
package seventh.ai.basic.teamstrategy;
import seventh.ai.basic.Brain;
import seventh.ai.basic.DefaultAISystem;
import seventh.ai.basic.actions.Action;
import seventh.ai.basic.actions.WaitAction;
import seventh.game.GameInfo;
import seventh.game.PlayerInfo;
import seventh.game.Team;
import se... | skaghzz/seventh | src/seventh/ai/basic/teamstrategy/ObjectiveTeamStrategy.java | Java | gpl-2.0 | 3,692 |
# -*- coding: utf-8 -*-
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from qgis.core import *
from qgis.gui import *
from dialogBase import GdalToolsBaseDialog as BaseDialog
import GdalTools_utils as Utils
class GdalToolsBasePluginWidget:
def __init__(self, iface, commandName, helpFileBaseName = None, paren... | sourcepole/qgis | qgis/python/plugins/GdalTools/tools/widgetPluginBase.py | Python | gpl-2.0 | 5,083 |
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
/**
* Template Post
*
* Access original fields: $mod_settings
* @author Themify
*/
$fields_default = array(
'mod_title_post' => '',
'layout_post' => '',
'category_post' => '',
'post_per_page_post' => '',
'offset_post' => '',
'order_post... | TakenCdosG/ella-live | wp-content/themes/simfo-revision-2/themify/themify-builder/templates/template-post.php | PHP | gpl-2.0 | 7,728 |
<?php
/*
+---------------------------------------------------------------------------+
| OpenX v2.8 |
| ========== |
| |... | webonise/openx | www/admin/agency-user.php | PHP | gpl-2.0 | 3,420 |
/*
* Copyright (c) 2008, Willow Garage, Inc.
* 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 l... | olivierdm/rviz | src/rviz/default_plugin/robot_model_display.cpp | C++ | gpl-2.0 | 7,930 |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fr" version="2.0">
<context>
<name>CacheCleaner</name>
<message>
<location filename="Projects/octopi/cachecleaner/ui/cachecleaner.ui" line="14"/>
<source>Cache Cleaner - Octopi</source>
<translation>Nettoyeur de cache - Octopi</translation... | offa/octopi | cachecleaner/resources/translations/octopi_cachecleaner_fr.ts | TypeScript | gpl-2.0 | 2,168 |
/* Copyright (C) 2004 - 2009 Versant Inc. http://www.db4o.com */
using Db4objects.Db4o.Marshall;
namespace Db4objects.Db4o.Internal.Collections
{
public interface IBigSetPersistence
{
void Write(IWriteContext context);
void Read(IReadContext context);
void Invalidate();
}
}
| meebey/smuxi-head-mirror | lib/db4o-net/Db4objects.Db4o/Db4objects.Db4o/Internal/Collections/IBigSetPersistence.cs | C# | gpl-2.0 | 303 |
/*
* This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
*
* 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
... | Traesh/TrinityCore | src/server/scripts/Northrend/IcecrownCitadel/boss_professor_putricide.cpp | C++ | gpl-2.0 | 68,058 |
<p class="rpbt_show_date">
<input class="checkbox" type="checkbox"<?php checked( $i['show_date'], 1, true ); ?> id="<?php echo $this->get_field_id( 'show_date' ); ?>" name="<?php echo $this->get_field_name( 'show_date' ); ?>" />
<label for="<?php echo $this->get_field_id( 'show_date' ); ?>">
<?php _e( 'Display post... | keesiemeijer/related-posts-by-taxonomy | includes/assets/partials/widget/show-date.php | PHP | gpl-2.0 | 376 |
/*
** FamiTracker - NES/Famicom sound tracker
** Copyright (C) 2005-2014 Jonathan Liss
**
** 0CC-FamiTracker is (C) 2014-2018 HertzDevil
**
** 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... | jpmac26/0CC-FamiTracker | Source/APU/MMC5.cpp | C++ | gpl-2.0 | 3,583 |
/*
* Created on Mar 22, 2013
* Created by Paul Gardner
*
* Copyright 2013 Azureus Software, Inc. 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... | AcademicTorrents/AcademicTorrents-Downloader | vuze/com/aelitis/azureus/core/tag/impl/TagDownloadWithState.java | Java | gpl-2.0 | 18,123 |
/*
* Copyright (C) 2003-2006 Gabest
* http://www.gabest.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.
*
... | kenygia/xy-vsfilter | src/filters/transform/vsfilter/DirectVobSubFilter.cpp | C++ | gpl-2.0 | 79,462 |
/**
@file elasticityJac.C
@author Rahul Sampath, rahul.sampath@gmail.com
*/
#include "petscmat.h"
#include "omg/omg.h"
#include "oda/oda.h"
#include "oda/odaUtils.h"
#include "elasticityJac.h"
#ifdef PETSC_USE_LOG
extern int elasticityDiagEvent;
extern int elasticityMultEvent;
extern int elasticityFinestDiagEv... | rahulsampath/dendro | examples/src/backend/elasticityJac.C | C++ | gpl-2.0 | 25,200 |
/***************************************************************************
testqgsstatisticalsummary.cpp
-----------------------------
Date : May 2015
Copyright : (C) 2015 Nyall Dawson
Email : nyall dot dawson at gmail dot com
**************************... | carolinux/QGIS | tests/src/core/testqgsstatisticalsummary.cpp | C++ | gpl-2.0 | 6,293 |
/************************************************************************
************************************************************************
FAUST compiler
Copyright (C) 2003-2004 GRAME, Centre National de Creation Musicale
---------------------------------------------------------------------
This p... | FlatIO/faudiostream | compiler/documentator/doc.hh | C++ | gpl-2.0 | 2,920 |
/*
* File: DistanceMetrics.cpp
* Author: billwhite
*
* Created on March 29, 2011, 5:23 PM
*/
#include <cmath>
#include <iostream>
#include <map>
#include <utility>
#include <cmath>
#include "Dataset.h"
#include "DistanceMetrics.h"
#include "DatasetInstance.h"
#include "Statistics.h"
using namespace std;
pair... | insilico/EC | src/library/DistanceMetrics.cpp | C++ | gpl-2.0 | 10,946 |
<?php
/**
* Template part for displaying single posts.
*
* @package Simppeli
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
<div class="entry-meta">
<?php simppeli_posted_on(); ?>
</div><!-- .e... | lisajwells/annierehill | wp-content/themes/simppeli/template-parts/content-single.php | PHP | gpl-2.0 | 1,011 |
/*
* Copyright (c) 1999, 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 ... | WillDignazio/hotspot | src/os/bsd/vm/os_bsd.hpp | C++ | gpl-2.0 | 8,792 |
<?php
namespace Drupal\hal\Normalizer;
use Drupal\Component\Utility\NestedArray;
use Drupal\serialization\Normalizer\FieldNormalizer as SerializationFieldNormalizer;
/**
* Converts the Drupal field structure to HAL array structure.
*/
class FieldNormalizer extends SerializationFieldNormalizer {
/**
* {@inher... | jakegibs617/portfolio-drupal | core/modules/hal/src/Normalizer/FieldNormalizer.php | PHP | gpl-2.0 | 2,400 |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include "sim4.H"
#include "util++.H"
int
main(int argc, char **argv) {
char *outPrefix = 0L;
char datName[FILENAME_MAX];
char gnuName[FILENAME_MAX];
char pngName[FILENAME_MAX];
char gnuCmd[FILENAME_MAX];
... | macmanes-lab/wgs-assembler | kmer/sim4dbutils/reportAlignmentDifferences.C | C++ | gpl-2.0 | 6,477 |
/*
//@HEADER
// ************************************************************************
//
// Kokkos v. 2.0
// Copyright (2014) Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
// the U.S. Government retains certain rights in this softw... | ovilab/lammps | lib/kokkos/core/src/Cuda/Kokkos_Cuda_Parallel.hpp | C++ | gpl-2.0 | 67,491 |
<?php
namespace Addwiki\Mediawiki\Api\Tests\Unit\Client\Auth;
use Addwiki\Mediawiki\Api\Client\Auth\UserAndPasswordWithDomain;
use InvalidArgumentException;
use PHPUnit\Framework\TestCase;
/**
* @covers Mediawiki\Api\Client\Auth\UserAndPasswordWithDomain
*/
class UserAndPasswordWithDomainTest extends TestCase {
... | addwiki/mediawiki-api-base | tests/unit/Client/Auth/UserAndPasswordWithDomainTest.php | PHP | gpl-2.0 | 2,445 |
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
* Copyright (c) 2006, 2007 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis 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... | pioto/paludis-pioto | src/output/console_task.cc | C++ | gpl-2.0 | 3,939 |
#include <string>
#include <iostream>
#include <sstream>
#include <stdlib.h>
#include <iomanip>
#include <cmath>
#include <limits>
void int_to_char(int i, std::stringstream & ssc) {
if (isprint(i))
ssc << "'" << static_cast<char>(i) << "'";
else if (isascii(i))
ssc << "Non displayable";
... | ncharret/42 | piscine_cpp/j06/ex00/main.cpp | C++ | gpl-2.0 | 3,680 |
#include <string.h>
// geos
#include <geos/geom/PrecisionModel.h>
#include <geos/geom/GeometryFactory.h>
#include <geos/geom/Geometry.h>
#include <geos/geom/Point.h>
#include <geos/io/WKTReader.h>
// boost
#include <boost/algorithm/string.hpp>
#include <boost/lexical_cast.hpp>
using namespace std;
using namespace ... | EmoryUniversity/SATO | step_tear/rtree/pais/GeneratePAISMBB.cc | C++ | gpl-2.0 | 1,417 |
<?php
namespace orangeplus\Five9WebServices\DataTypes;
/**
* Class CRMImportResult
*
* @package Five9WebServices\DataTypes
*/
class CRMImportResult
{
use \orangeplus\Five9WebServices\Castable;
/** @var int */
public $crmRecordsDeleted;
/** @var int */
public $crmRecordsInserted;
/** @var int */
p... | KeithRockhold/Five9ClientLibrary | src/DataTypes/CRMImportResult.php | PHP | gpl-2.0 | 1,202 |
/////////////////////////////////////////////////////////////////////////////
// Name: src/msw/calctrl.cpp
// Purpose: wxCalendarCtrl implementation
// Author: Vadim Zeitlin
// Created: 2008-04-04
// RCS-ID: $Id: calctrl.cpp 66558 2011-01-04 09:14:40Z SC $
// Copyright: (C) 2008 Vadim Zeitlin... | flewrain/flewrain-dolphin | Externals/wxWidgets3/src/msw/calctrl.cpp | C++ | gpl-2.0 | 15,091 |
/*
* Created on 13-Dec-2004
* Created by Paul Gardner
* Copyright (C) 2004, 2005, 2006 Aelitis, All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* ... | AcademicTorrents/AcademicTorrents-Downloader | vuze/com/aelitis/azureus/core/proxy/socks/impl/AESocksProxyPlugableConnectionDefault.java | Java | gpl-2.0 | 9,591 |
// CS0111: A member `C.Foo<U>(U)' is already defined. Rename this member or use different parameter types
// Line : 12
public class C
{
void Foo (int i)
{
}
void Foo<T> (T i)
{
}
void Foo<U> (U i)
{
}
}
| xen2/mcs | errors/cs0111-4.cs | C# | gpl-2.0 | 217 |
<?php
/**
* MailPoet - Contact Form 7 Integration
*
* Add the mailpoet cf7 shortcode
*
* @author Patrick Rauland
* @since 1.0.0
*/
add_action( 'init', 'wpcf7_add_shortcode_mailpoetsignup', 5 );
function wpcf7_add_shortcode_mailpoetsignup() {
if( function_exists('wpcf7_add_shortcode') ) {
wpc... | jessepearson/mailpoet-contact-form-7 | modules/mailpoet-signup.php | PHP | gpl-2.0 | 15,418 |
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2014 Alec Jacobson <alecjacobson@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public License
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at htt... | tlgimenes/SparseModelingOfIntrinsicCorrespondences | external/igl/dated_copy.cpp | C++ | gpl-2.0 | 2,314 |
///////////////////////////////////////////////////////////////////////////////
// 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/ProbabilisticMAPIndependence.java | Java | gpl-2.0 | 7,454 |
namespace Shadowsocks.View
{
partial class LogForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | NeilQ/shadowsocks-windows | shadowsocks-csharp/View/LogForm.Designer.cs | C# | gpl-2.0 | 13,541 |
/*global define*/
define(['jquery', 'i18n!nls/common'], function ($, Common) {
'use strict';
return $.extend(true, {}, Common, {
/*
"compare_data": "Comparer Données",
"add_filter": "Add Filter",
"chart_title": "Timeseries on selected data",
"select_a_timerange": "Sele... | FAOSTAT4/faostat4-ui | i18n/fr/compare.js | JavaScript | gpl-2.0 | 673 |
/************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
*
* Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved.
*
* Use is subject to license terms.
*
* Licensed under the Apache License, Version 2.0 (the "Lic... | jbjonesjr/geoproponis | external/odfdom-java-0.8.10-incubating-sources/org/odftoolkit/odfdom/dom/attribute/dr3d/Dr3dBackfaceCullingAttribute.java | Java | gpl-2.0 | 3,795 |
// arm.cc -- arm target support for gold.
// Copyright 2009 Free Software Foundation, Inc.
// Written by Doug Kwan <dougkwan@google.com> based on the i386 code
// by Ian Lance Taylor <iant@google.com>.
// This file is part of gold.
// This program is free software; you can redistribute it and/or modify
// it under t... | wanghao-xznu/vte | openlibs/binutils-2.19.51.0.12/gold/arm.cc | C++ | gpl-2.0 | 57,169 |
//=============================================================================
//=== Copyright (C) 2001-2005 Food and Agriculture Organization of the
//=== United Nations (FAO-UN), United Nations World Food Programme (WFP)
//=== and United Nations Environment Programme (UNEP)
//===
//=== This library is free software;... | OpenWIS/openwis | openwis-metadataportal/jeeves/src/main/java/jeeves/server/sources/ServiceRequest.java | Java | gpl-3.0 | 5,868 |
package com.pelter.common.entities;
import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
/**
* Simple JavaBean domain object adds a name property to <code>BaseEntity</code>.
* Used as a base class for objects
* needing these properties.
*
* @author Janssens Luc
* @year 2017
... | JanssensLuc/Pelter | src/main/java/com/pelter/common/entities/NamedEntity.java | Java | gpl-3.0 | 680 |
#include <iostream>
#include <map>
#include <vector>
#include <string>
#include <cstdlib>
using namespace std;
class Solution {
private:
map<string, vector<int>> memo;
public:
int compute(int a, int b, char op) {
switch (op) {
case '+': return a + b;
case '-': return a - b;
case '*': return a * ... | asraf209/leetcode | src/different_ways_to_add_parentheses/main.cpp | C++ | gpl-3.0 | 1,339 |
//===------ utils/wasm2yaml.cpp - obj2yaml conversion tool ------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | sabel83/metashell | 3rd/templight/llvm/tools/obj2yaml/wasm2yaml.cpp | C++ | gpl-3.0 | 14,053 |
//
// srecord - manipulate eprom load files
// Copyright (C) 1998, 1999, 2001, 2002, 2004, 2006-2010 Peter Miller
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation; either version 3 of... | freyc/SRecord | srecord/input/filter/fill.cc | C++ | gpl-3.0 | 2,486 |