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 |
|---|---|---|---|---|---|
package de.tum.bgu.msm.syntheticPopulationGenerator.properties;
import de.tum.bgu.msm.common.datafile.TableDataSet;
import de.tum.bgu.msm.properties.PropertiesUtil;
import de.tum.bgu.msm.utils.SiloUtil;
import org.apache.commons.math.distribution.GammaDistributionImpl;
import java.util.ResourceBundle;
public class G... | msmobility/silo | synthetic-population/src/main/java/de/tum/bgu/msm/syntheticPopulationGenerator/properties/GermanyPropertiesSynPop.java | Java | gpl-2.0 | 10,681 |
/*************************************************************************
Copyright (C) 2005 Joseph D'Errico, Wei Qin
See file COPYING for more 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
... | kagucho/mipsim | jit/mips_gen.hpp | C++ | gpl-2.0 | 9,099 |
package de.zedlitz.opendocument;
import groovy.lang.Closure;
import java.util.ArrayList;
import java.util.List;
import javax.xml.namespace.QName;
import javax.xml.stream.XMLStreamConstants;
import javax.xml.stream.XMLStreamException;
/**
* A row in an OpenDocument table.
*
* @author jzedlitz
*
*/
public class... | jze/opendocument-reader | src/main/java/de/zedlitz/opendocument/Row.java | Java | gpl-2.0 | 2,873 |
#include "nexusdefs.h"
#include "nexustoken.h"
#include "nexus.h"
/**
* @class NexusBlock
* @file nexus.h
* @file nexusblock.cpp
* @author Paul O. Lewis
* @copyright Copyright © 1999. All Rights Reserved.
* @variable isDisabled [bool:private] true if this block is currently disabled
* @v... | rdmpage/treeviewx | ncl-2.0/src/nexusblock.cpp | C++ | gpl-2.0 | 6,417 |
/*
* Copyright 2008 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 Foundati... | TheTypoMaster/Scaper | openjdk/hotspot/agent/src/share/classes/sun/jvm/hotspot/types/basic/BasicNarrowOopField.java | Java | gpl-2.0 | 2,652 |
package com.teambitcoin.coinwallet;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.view.Gravity;
import android.view.Menu;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import android.widget... | cwallet/coinwallet | CoinWallet/src/main/java/com/teambitcoin/coinwallet/ForgotPassword.java | Java | gpl-2.0 | 8,528 |
//-----------------------------------------------------------------------------
// Class: Block Manager
// Authors: LiXizhi, Clayman
// Emails: LiXizhi@yeah.net
// Company: ParaEngine
// Date: 2012.11.26
//-----------------------------------------------------------------------------
#include "ParaEngine.h"
#include "Sc... | LiXizhi/NPLRuntime | Client/trunk/ParaEngineClient/BlockEngine/BlockWorldClient.cpp | C++ | gpl-2.0 | 113,122 |
from re import compile as re_compile
from os import path as os_path, listdir
from MenuList import MenuList
from Components.Harddisk import harddiskmanager
from Tools.Directories import SCOPE_CURRENT_SKIN, resolveFilename, fileExists
from enigma import RT_HALIGN_LEFT, eListboxPythonMultiContent, \
eServiceReference, ... | openpli-arm/enigma2-arm | lib/python/Components/FileList.py | Python | gpl-2.0 | 14,837 |
<?php
/**
* Form for translation managers to send a notification
* to registered translators.
*
* @file
* @author Amir E. Aharoni
* @author Santhosh Thottingal
* @author Niklas Laxström
* @author Siebrand Mazeland
* @copyright Copyright © 2012, Amir E. Aharoni, Santhosh Thottingal
* @license GPL-2.0-or-later
... | wikimedia/mediawiki-extensions-TranslationNotifications | includes/SpecialNotifyTranslators.php | PHP | gpl-2.0 | 6,870 |
var isc_nb = 0;
jQuery(function(){
/**
* Hide/Show image list when post/page is loaded
*/
jQuery('.isc_image_list_title').click(function(){
isc_list = jQuery('.isc_image_list');
if ( isc_list.hasClass('isc-list-up') ) {
jQuery('.isc_image_list_title').attr('title', (isc_jste... | JornalExtraClasse/wordpress | wp-content/plugins/image-source-control-isc/js/front-js.js | JavaScript | gpl-2.0 | 4,876 |
/*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2021 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
... | sandrinr/XCSoar | src/Device/Port/TTYEnumerator.hpp | C++ | gpl-2.0 | 2,005 |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0">
<context>
<name>AboutDialog</name>
<message>
<source>About LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Version %1 (%2/%3, Qt %4, %5)</source>
<translation ... | DanielAeolusLaude/lmms | data/locale/fa.ts | TypeScript | gpl-2.0 | 324,101 |
showWord(["","pratikan nan relijyon Vodou.<br>"]) | georgejhunt/HaitiDictionary.activity | data/words/vodouyizan.js | JavaScript | gpl-2.0 | 49 |
package tutorial;
/**
* Main class that shows how to create your first working application.
*
* @author Maciej Spiechowicz
*/
public class Main {
public static void main(String[] args) {
// This line is responsible for printing a message
System.out.println("Hello World!");
}
}
| MSpiechowicz/Programming | Java/Lesson01_HelloWorld/src/main/java/tutorial/Main.java | Java | gpl-2.0 | 310 |
<?php
define('SHCMS_ENGINE',true);
include_once('../engine/system/core.php');
$templates->template('SHCMS: Система');
echo engine::admin($users['group']);
if($users['group'] == 15) {
header('Location: ../admin.php');
exit;
} | shcms5/shcms_engine | admin/index.php | PHP | gpl-2.0 | 249 |
#include "CounterpartyTypeDelegate.h"
CounterpartyTypeDelegate::CounterpartyTypeDelegate(QObject *parent) :
QSqlRelationalDelegate(parent)
{
}
void CounterpartyTypeDelegate::setModelData(QWidget *editor,
QAbstractItemModel *model,
... | tkQCompany/qcompany | qfaktury/src/ui/CounterpartyTypeDelegate.cpp | C++ | gpl-2.0 | 832 |
<?php
/**
* File containing the LogicalNot Criterion parser class
*
* @copyright Copyright (C) 1999-2012 eZ Systems AS. All rights reserved.
* @license http://ez.no/licenses/gnu_gpl GNU General Public License v2.0
* @version 2012.9
*/
namespace eZ\Publish\Core\REST\Server\Input\Parser\Criterion;
use eZ\Publish\C... | davidrousse/ezpuplish | vendor/ezsystems/ezpublish/eZ/Publish/Core/REST/Server/Input/Parser/Criterion/LogicalNot.php | PHP | gpl-2.0 | 1,678 |
#include "fast.h"
#include <fstream>
#include <strstream>
using namespace std;
AikSaurusFAST::AikSaurusFAST()
{
ifstream fin("thesaurus.in");
string index, words;
while(fin >> index >> words)
{
vector<string> foo;
for(unsigned int i = 0;i < words.size();++i)
{
if (w... | AbiWord/aiksaurus | data/0.12-dev/gen_pms/fast.cpp | C++ | gpl-2.0 | 810 |
package com.ucan.app.common.utils;
import java.io.File;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.provider.MediaStore;
import android.text.TextUtils;
public class ExportImgUtil {
private static final String TAG = ... | sosoyiyi/ucan | src/com/ucan/app/common/utils/ExportImgUtil.java | Java | gpl-2.0 | 1,432 |
package fr.npellegrin.xebia.mower.exceptions;
/**
* Represents and exception thrown by the parser.
*/
public class ParserException extends Exception {
private static final long serialVersionUID = -5690949595972473232L;
public ParserException() {
super();
}
public ParserException(final String message, final T... | npellegrin/MowItNow | src/main/java/fr/npellegrin/xebia/mower/exceptions/ParserException.java | Java | gpl-2.0 | 508 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AS... | mesutozturk/ASP-Restfull-Api-Service | ASPNetWebApi/ASPNetWebApi/Properties/AssemblyInfo.cs | C# | gpl-2.0 | 1,360 |
<?php
/**
* Created by PhpStorm.
* User: vlad
* Date: 27.01.15
* Time: 19:09
*/
namespace ModelFramework\FormService\FormField\Strategy;
use ModelFramework\FieldTypesService\FieldType\FieldTypeAwareTrait;
use ModelFramework\FieldTypesService\FieldType\FieldTypeInterface;
use ModelFramework\FormService\FormField\... | modelframework/modelframework | src/ModelFramework/FormService/FormField/Strategy/EmailStrategy.php | PHP | gpl-2.0 | 3,086 |
<?php
class Jaundies_Directory_Manager {
/**
* Singleton Instance
*/
private static $_instance = null;
protected $_directories = array();
private function __construct() {
self::$_instance = $this;
}
public static function getInstance() {
if (self::$_instance === null)
new Jaundies_Directory_Mana... | Jaundies/Jaundies-Game-Framework | src/Directory/Manager.php | PHP | gpl-2.0 | 1,232 |
<?php
/**
* The plugin bootstrap file
*
* This file is read by WordPress to generate the plugin information in the plugin
* admin area. This file also includes all of the dependencies used by the plugin,
* registers the activation and deactivation functions, and defines a function
* that starts the plugin.
*
*... | altitudelabs/metisa-wordpress-plugin | metisa.php | PHP | gpl-2.0 | 2,446 |
package org.schlocknet.kbdb.model;
import lombok.Getter;
import lombok.Setter;
/**
*
* @author Ryan
*
* A generic response message that can be used for multiple web service
* responses.
* @param <T> The type of the responseObject
*
*/
public class ResponseMessage<T> extends JsonBase {
private @Get... | lsendel/kbdb | src/main/java/org/schlocknet/kbdb/model/ResponseMessage.java | Java | gpl-2.0 | 1,087 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MediaBrowser.Controller.LiveTv
{
public class TunerChannelMapping
{
public string Name { get; set; }
public string Number { get; set; }
public string ProviderCh... | neagix/Emby | MediaBrowser.Controller/LiveTv/TunerChannelMapping.cs | C# | gpl-2.0 | 412 |
'''
Copyright (C) 2015 Jacob Bieker, jacob@bieker.us, www.jacobbieker.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.
Thi... | jacobbieker/Insights | insights/google/GPlus2SQLite.py | Python | gpl-2.0 | 825 |
<?php
/* @copyright:ChronoEngine.com @license:GPLv2 */defined('_JEXEC') or die('Restricted access');
defined("GCORE_SITE") or die;
?>
<div class="ui segment tab functions-tab active" data-tab="functions-<?php echo $n; ?>">
<div class="ui top attached tabular menu small G2-tabs">
<a class="item active" data-tab="fun... | azharu53/kuwithome | libraries/cegcore2/admin/extensions/chronofc/functions/php/php_config.php | PHP | gpl-2.0 | 1,828 |
/* ***** BEGIN LICENSE BLOCK *****
* This file is part of Natron <http://www.natron.fr/>,
* Copyright (C) 2013-2017 INRIA and Alexandre Gauthier-Foichat
*
* Natron 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 Fou... | kcotugno/Natron | Gui/PickKnobDialog.cpp | C++ | gpl-2.0 | 15,353 |
<?php // $Revision: 2.0 $
/************************************************************************/
/* phpAdsNew 2 */
/* =========== */
/* ... | miller-tamil/openads-plus | language/korean/report.lang.php | PHP | gpl-2.0 | 1,635 |
/*
* Copyright (c) 1998-2011 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | dlitz/resin | modules/resin/src/com/caucho/jsp/java/JspDirectivePage.java | Java | gpl-2.0 | 13,277 |
<?php
/**
* SportsPress Meta Boxes
*
* Sets up the write panels used by custom post types
*
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin/Meta_Boxes
* @version 1.3.1
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
/**
* SP_Admin_Meta_Boxes
*/
class SP_Admin_M... | phoebuzz/habsprospect | wp-content/plugins/sportspress/includes/admin/post-types/class-sp-admin-meta-boxes.php | PHP | gpl-2.0 | 13,147 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace CompanyDirectoryDF.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult About... | Jricklefs/Employee-Directory | CompanyDirectoryDF/Controllers/HomeController.cs | C# | gpl-2.0 | 587 |
<?php
/**
* File containing the ezie module definition
*
* @copyright Copyright (C) 1999-2012 eZ Systems AS. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
* @version 5.0.0
* @package ezie
*/
$Module = array( 'name' => 'ezie' );
$ViewList = array();
$View... | medbenhenda/migration-ez5 | ezpublish_legacy/extension/ezie/modules/ezie/module.php | PHP | gpl-2.0 | 1,651 |
package zeropoint.minecraft.commands.com;
import net.minecraft.command.ICommandSender;
import net.minecraft.entity.player.EntityPlayer;
import zeropoint.minecraft.core.GTBaseCommand;
import zeropoint.minecraft.core.util.ChatMsg;
/**
* [/vanish [on|off|toggle]] Control invisibility
*
* @author Zero Point
*/
pub... | ZeroPointMC/GlobalTweaks | zeropoint/minecraft/commands/com/Vanish.java | Java | gpl-2.0 | 1,198 |
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
const Clutter = imports.gi.Clutter;
const Lang = imports.lang;
const Signals = imports.signals;
const Gio = imports.gi.Gio;
const GLib = imports.gi.GLib;
const Gtk = imports.gi.Gtk;
const Pango = imports.gi.Pango;
const St = imports.gi.St;
const Shell = im... | halfline/gnome-shell | js/ui/shellMountOperation.js | JavaScript | gpl-2.0 | 23,798 |
<?php
class Qixol_Promo_Block_Banner extends Mage_Core_Block_Template {
public function _prepareLayout() {
return parent::_prepareLayout();
}
public function getBanner() {
if (!$this->hasData('banner')) {
$this->setData('banner', Mage::registry('banner'));
}
ret... | Qixol/Qixol.Promo.Magento.Extension | Magento_1.9.x/app/code/community/Qixol/Promo/Block/Banner.php | PHP | gpl-2.0 | 1,819 |
package fr.lipn.sts.ir.indexing;
import java.io.File;
import java.io.IOException;
import java.util.Stack;
import java.util.Vector;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import org.apache.lucene.document.Document;
import o... | dbuscaldi/SOPA | src/fr/lipn/sts/ir/indexing/AquaintXMLHandler.java | Java | gpl-2.0 | 3,298 |
describe("region", function(){
"use strict";
describe("when creating a new region manager and no configuration has been provided", function(){
it("should throw an exception saying an 'el' is required", function(){
expect(
Backbone.Marionette.Region.extend({})
).toThrow("An 'el' must be spec... | RoryDuncan/Idea-Planner | node_modules/backbone.marionette/spec/javascripts/region.spec.js | JavaScript | gpl-2.0 | 11,267 |
/*
* Copyright (c) 1998-2011 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | dlitz/resin | modules/resin/src/com/caucho/server/http/StubResponseStream.java | Java | gpl-2.0 | 3,994 |
<?php
/**
* Joomla! Content Management System
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\CMS\User;
\defined('_JEXEC') or die;
/**
* Interface defining a factory which c... | astridx/joomla-cms | libraries/src/User/UserFactoryInterface.php | PHP | gpl-2.0 | 825 |
<?php
/**
* radio-image Customizer Control.
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2016, Aristeides Stathopoulos
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
* @since 1.0
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
... | vvhuang/Agama2 | framework/admin/kirki/includes/controls/class-kirki-controls-radio-image-control.php | PHP | gpl-2.0 | 1,651 |
<?php
/***************************************************************************
* *
* Copyright (c) 2004 Simbirsk Technologies Ltd. All rights reserved. *
* *
* This... | diedsmiling/busenika | payments/chronopay_form.php | PHP | gpl-2.0 | 5,787 |
<?php
$kses_filter = array(
'input' => array(
'type' => array(),
'name' => array(),
'id' => array(),
'class' => array(),
'value' => array(),
),
);
$clear_api_cache_button = get_submit_button( __( 'Clear Cache', 'wp-rest-api-controller' ), 'secondary', 'clear-wp-rest-a... | yikesinc/wp-rest-api-controller | admin/partials/settings-page.php | PHP | gpl-2.0 | 1,472 |
<?php /*
SLO Cloud - A Cloud-Based SLO Reporting Tool for Higher Education
This is a peer-reviewed, open-source, public project made possible by the Open Innovation in Higher Education project.
Copyright (C) 2015 Jesse Lawson, San Bernardino Community College District
Contributors:
Jesse Lawson
Jason Brady
THIS PR... | lawsonry/slocloud | src/bootstrap.php | PHP | gpl-2.0 | 1,650 |
<?php
namespace Augwa\ShortUrlBundle\Controller;
/**
* Class UserFactoryController
* @package Augwa\ShortUrlBundle\Controller
*/
class UserFactoryController extends FactoryController
{
/**
* @return UserController
*/
public function make()
{
$user = new UserController;
$user-... | augwa/short-url | src/Augwa/ShortUrlBundle/Controller/UserFactoryController.php | PHP | gpl-2.0 | 383 |
/***************************************************************************
Copyright (C) 2005-2009 Robby Stephenson <robby@periapsis.org>
***************************************************************************/
/***************************************************************************
* ... | KDE/tellico | src/gui/datefieldwidget.cpp | C++ | gpl-2.0 | 2,371 |
/*
* Distributed bus system for robotic applications
* Copyright (C) 2009 University of Cambridge
*
* 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 (... | peter-b/distributed-bus-system | nxt-src/uk/ac/cam/dbs/ClockSync.java | Java | gpl-2.0 | 10,111 |
<?php
// $HeadURL: https://joomgallery.org/svn/joomgallery/JG-3/JG/trunk/administrator/components/com_joomgallery/helpers/html/joomgallery.php $
// $Id: joomgallery.php 4404 2014-06-26 21:23:58Z chraneco $
/******************************************************************************\
** JoomGallery 3 ... | naka211/kkvn | administrator/components/com_joomgallery/helpers/html/joomgallery.php | PHP | gpl-2.0 | 53,524 |
package edu.iris.Fissures.seismogramDC;
import edu.iris.Fissures.Sampling;
import edu.iris.Fissures.Time;
import edu.iris.Fissures.Unit;
import edu.iris.Fissures.IfNetwork.ChannelId;
import edu.iris.Fissures.IfParameterMgr.ParameterRef;
import edu.iris.Fissures.IfSeismogramDC.LocalMotionVector;
import edu.iris.Fissure... | crotwell/fissuresImpl | src/main/java/edu/iris/Fissures/seismogramDC/MotionVectorAttrImpl.java | Java | gpl-2.0 | 1,733 |
<?php
/**
* @package WordPress
* @subpackage Industrial
* @since Industrial 1.0
*
* Admin Panel Logo Options
* Created by CMSMasters
*
*/
function cmsms_options_logo_tabs() {
$tabs = array();
$tabs['image'] = __('Image Logo', 'cmsmasters');
$tabs['text'] = __('Text Logo', 'cmsmasters');
$tabs['favico... | gx761/jhm | wp-content/themes/industrial/framework/admin/settings/cmsms-theme-settings-logo.php | PHP | gpl-2.0 | 4,162 |
<?php
/*
Plugin Name: Slate Admin Theme
Plugin URI: http://sevenbold.com/wordpress/
Description: A clean, simplified WordPress Admin theme
Author: Ryan Sommers
Version: 1.1.4
Author URI: http://sevenbold.com/
*/
function slate_files() {
wp_enqueue_style( 'slate-admin-theme', plugins_url('css/slate.css', __FILE__), ... | od1n0chka/por.ru | wp-content/plugins/slate-admin-theme/slate-admin-theme.php | PHP | gpl-2.0 | 1,970 |
<?php
/*
* Template name: Shareable.
*/
$type = isset( $_GET[ 'type' ] ) ? $_GET[ 'type' ] : 'supporter';
$extn = ($type != 'supporter') ? 'jpg' : 'png';
$verbs = array(
'speaker' => "'m speaking at",
'attendee' => "'m attending",
'supporter' => " support",
'sponsor' => "'m sponsoring... | yapapaya/Instamojo-Ticketer-for-WordCamp-Pune-2015 | shareable-redirect.php | PHP | gpl-2.0 | 2,653 |
<?php
/**
* @copyright Incsub ( http://incsub.com/ )
*
* @license http://opensource.org/licenses/GPL-2.0 GNU General Public License, version 2 ( GPL-2.0 )
*
* 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... | MujeresdelasAmericas/Sitio | wp-content/plugins/coursepress/includes/classes/class.coursepress-compatibility.php | PHP | gpl-2.0 | 11,959 |
package it.giacomos.android.wwwsapp.widgets.map.report.tutorialActivity;
public interface ReportConditionsAcceptedListener
{
public void onReportConditionsAccepted(boolean accepted);
}
| delleceste/wwwsapp | src/it/giacomos/android/wwwsapp/widgets/map/report/tutorialActivity/ReportConditionsAcceptedListener.java | Java | gpl-2.0 | 188 |
<?php
/**
* Network installation administration panel.
*
* A multi-step process allowing the user to enable a network of WordPress sites.
*
* @since 3.0.0
*
* @package WordPress
* @subpackage Administration
*/
define( 'WP_INSTALLING_NETWORK', true );
/** WordPress Administration Bootstrap */
require_once( '.... | wellswong/knowpathology | wp-admin/network.php | PHP | gpl-2.0 | 25,972 |
<?php
/**
* Review Order
*/
global $woocommerce;
$checked = get_option('woocommerce_enable_guest_checkout');
//Add hook to show login form or not
$show_login = apply_filters('paypal-for-woocommerce-show-login', !is_user_logged_in() && $checked==="no" && isset($_REQUEST['pp_action']));
?>
<style type="tex... | davidxcarroll/TATM | wp-content/plugins/paypal-for-woocommerce/template/paypal-review-order.php | PHP | gpl-2.0 | 5,955 |
<?php
/**
* @package HikaShop for Joomla!
* @version 2.6.4
* @author hikashop.com
* @copyright (C) 2010-2016 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php
$sort = JRequest::getString('sort_com... | khuongdang/dongtrungtruongsinh | components/com_hikashop/views/vote/tmpl/listing.php | PHP | gpl-2.0 | 6,756 |
from crispy_forms.helper import FormHelper
from crispy_forms.layout import Layout, Submit, Button, Field, Hidden, HTML, Div
from crispy_forms.bootstrap import FormActions, AppendedText, StrictButton, InlineField
from django import forms
from django.contrib.auth.decorators import login_required
from django.core.urlreso... | blacksph3re/alastair | cooking/ingredient/ingredient.py | Python | gpl-2.0 | 5,596 |
<?php
/**
*
* @package Football
* @version $Id: chart_hist.php 1 2010-05-17 22:09:43Z football $
* @copyright (c) 2010 football (http://football.bplaced.net)
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
if (!defined('IN_PHPBB'))
{
exit;
}
$values1 = ( isset($_GET['v1']) ) ? $_GE... | football/Prediction-League | includes/chart_hist.php | PHP | gpl-2.0 | 1,999 |
<?php
/**
* @version $Id: ie7splash.php 10172 2013-05-10 16:09:54Z kevin $
* @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
*
* Gantry uses the Joomla Framework (http://www.joomla.org), a GN... | onekweb/rhemawebb.se-in-joomla3 | templates/rt_praxis/features/ie7splash.php | PHP | gpl-2.0 | 1,120 |
// tp2points.cc: test program for P2Point class
//////////////////////////////////////////////////////////////////////////
//
// Copyright 1990-2012 John Cremona
//
// This file is part of the eclib package.
//
// eclib is free software; you can redistribute it and/or modify it
// under the terms of the GNU General ... | JohnCremona/eclib | tests/tp2points.cc | C++ | gpl-2.0 | 2,181 |
package com.gorgo.pirates;
import java.lang.ref.WeakReference;
import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.util.Log;
import android.view.SurfaceHolder;
import android.view.View;
import android.view.WindowManager;
import androi... | gorghino/miswordfighting | src/com/gorgo/pirates/Pirates.java | Java | gpl-2.0 | 11,140 |
package fi.helsinki.cs.codebrowser.controller;
import fi.helsinki.cs.codebrowser.app.App;
import fi.helsinki.cs.codebrowser.model.Course;
import fi.helsinki.cs.codebrowser.service.CourseService;
import java.util.ArrayList;
import java.util.List;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner... | rage/codebrowser-back-end | src/test/java/fi/helsinki/cs/codebrowser/controller/CourseControllerTest.java | Java | gpl-2.0 | 5,328 |
<?php
/**
*
*
* Created on Sep 4, 2006
*
* Copyright © 2006 Yuri Astrakhan "<Firstname><Lastname>@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; either version 2 of the Li... | Sensatus/mediawiki-core | includes/api/ApiMain.php | PHP | gpl-2.0 | 56,908 |
#include <cstdio>
#include <algorithm>
using namespace std;
#define K(x) key[x]
#define S(x) size[x]
#define C(x, d) ch[x][d]
#define F(x) fa[x]
#define L(x) ch[x][0]
#define R(x) ch[x][1]
#define keytree L(R(root))
#define LL long long
const int maxn = 222222;
int size[maxn], key[maxn], fa[maxn], ch[ma... | iwtwiioi/OnlineJudge | wikioi/Run_574615_Score_100_Date_2014-05-03.cpp | C++ | gpl-2.0 | 3,324 |
class Solution:
# @param haystack, a string
# @param needle, a string
# @return an integer
def strStr(self, haystack, needle):
lenH = len(haystack)
lenN = len(needle)
if lenN == 0:
return 0
for i in range(lenH-lenN+1):
p = i
q = 0
... | Dectinc/leetcode | python/28 - Implement strStr().py | Python | gpl-2.0 | 612 |
/*
* Copyright 2006-2012 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 your opti... | berlinguyinca/mzmine-fork | src/main/java/net/sf/mzmine/modules/peaklistmethods/identification/custom/CustomDBSearchParameters.java | Java | gpl-2.0 | 2,612 |
/*
* FSMorphSolidLine.cpp
* Transform SWF
*
* Created by smackay on Sun Mar 30 2003.
* Copyright (c) 2001-2003 Flagstone Software Ltd. All rights reserved.
*
* This file is part of the Transform SWF library. You may not use this file except in
* compliance with the terms of the license (the 'License') tha... | ozkanpakdil/f4l | src/flagStonePort/transform-cxx-bsd/transform/FSMorphSolidLine.cpp | C++ | gpl-2.0 | 2,493 |
#
# $Id: index_rebuild.rb 539 2010-09-05 15:53:58Z nicb $
#
module SearchEngine
module Test
module Utilities
module IndexRebuild
def rebuild_search_index(filter = [])
return SearchEngine::IndexBuilder::Builder.build(filter)
end
def rebuild_search_index_if_needed(filter =... | nicb/fishrdb | vendor/plugins/search_engine/test/utilities/index_rebuild.rb | Ruby | gpl-2.0 | 810 |
/* $Id: UIGlobalSettingsInput.cpp 56153 2015-05-29 14:00:35Z vboxsync $ */
/** @file
* VBox Qt GUI - UIGlobalSettingsInput class implementation.
*/
/*
* Copyright (C) 2006-2013 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This fi... | carmark/vbox | src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInput.cpp | C++ | gpl-2.0 | 23,244 |
from os import environ
from os import path
from time import sleep
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.common.exceptions import NoSuchElementException
from selenium.webdriver.support.ui import WebDriverWait, Select
from selenium.webdriver.support import expected_condi... | Zentyal/anste | lib/anste/wdriver.py | Python | gpl-2.0 | 12,084 |
<?php
function getInstagram(){
$json = file_get_contents('https://api.instagram.com/v1/users/1167443738/media/recent?access_token=1167443738.5b9e1e6.5cb9e88dbfa5493e9c2648e489ece7da');
$obj = json_decode($json);
return $obj->data;
}
?>
| MESH-Dev/MESH | wp-content/themes/MESH/assets/api/instagram.php | PHP | gpl-2.0 | 246 |
<?php
define('DRUPAL_ROOT', getcwd());
require_once DRUPAL_ROOT.'/includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
$Directory = "./sites/default/files/maps";
// $existing_pagenode = node_load(139);
// print_r($existing_pagenode);
// open the Directory
$dhandle = dir($Directory);
// define an array ... | rcross/qldfloods | newfiles.php | PHP | gpl-2.0 | 2,719 |
/* Copyright (c) 2000, 2013, Oracle and/or its affiliates.
Copyright (c) 2008, 2013, Monty Program Ab
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 pr... | knielsen/mariadb | sql/sql_parse.cc | C++ | gpl-2.0 | 274,026 |
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using IseWrapper;
using MahApps.Metro.Controls;
using MahApps.Metro.Controls.Dialogs;
using Microsoft.Practices.ServiceLocation;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Threading.Tasks;
using System.W... | cnabro/Image-Secure-Extension | tools/wpf/isetool/ViewModel/MainViewModel.cs | C# | gpl-2.0 | 11,395 |
/**
* generated by Xtext
*/
package nl.sison.dsl.mobgen.ui.quickfix;
import org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider;
/**
* Custom quickfixes.
*
* see http://www.eclipse.org/Xtext/documentation.html#quickfixes
*/
@SuppressWarnings("all")
public class JsonGenQuickfixProvider extends DefaultQ... | Buggaboo/xplatform | nl.sison.dsl.mobgen.JsonGen.ui/xtend-gen/nl/sison/dsl/mobgen/ui/quickfix/JsonGenQuickfixProvider.java | Java | gpl-2.0 | 340 |
/*
* This file is part of PowerDNS or dnsdist.
* Copyright -- PowerDNS.COM B.V. and its contributors
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* In addition, for t... | shinsterneck/pdns | pdns/misc.cc | C++ | gpl-2.0 | 41,490 |
//New options :
//cheking the use of camel case
// camelcase : true || false
//checking for useless quote
// unquote : true || false
//checking dojo internal rules
// dojo : true || false
//Cheking the quote consistancy
// quote: "no" || "single" || "double"
//Force setters and getter to have this.inherited... | ben8p/smallEditor | res/linter/jslint.js | JavaScript | gpl-2.0 | 176,648 |
<?php
global $wpdb;
$deleghe = $wpdb->get_results(
$wpdb->prepare("select descrizione from wp_cm_deleghe", ARRAY_A)
);
?>
<a href="#" id="selectComplessaFiltro" class="selectComplessa"><div class="divLinkSelectEvoluta" id="divLinkSelectEvoluta" nome="divLinkSelectEvoluta">Deleghe</div>
<div class="co... | fabrizio22/ComunichereteV3 | wp-content/plugins/wp-wg-ricerca-utente/inc/qualifiche/comuni/cm_deleghe.php | PHP | gpl-2.0 | 1,409 |
<?php
/**
* The template for displaying archive pages.
*
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package CorporateBusiness
*/
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php if ( have_posts() ) : ?>
<header class="... | huraaa/stylo | wp-content/themes/corporatebusiness/archive.php | PHP | gpl-2.0 | 1,325 |
/**
* @Copyright 2015 firefreak11
*
* This file is part of PowderInJava.
*
* PowderInJava is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any late... | daveyognaught/powderinjava | src/powderinjava/elements/OXGN.java | Java | gpl-2.0 | 1,200 |
<?php
/**
* SunOS System Class
*
* PHP version 5
*
* @category PHP
* @package PSI_OS
* @author Michael Cramer <BigMichi1@users.sourceforge.net>
* @copyright 2009 phpSysInfo
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
* @version SVN: $Id: class.SunOS.inc.php 687 ... | PieVo/power-meter | www/phpsysinfo/includes/os/class.SunOS.inc.php | PHP | gpl-2.0 | 8,440 |
using System;
using System.IO;
using Server;
using Server.Commands;
namespace Server.Misc
{
public class AutoSave : Timer
{
private static TimeSpan m_Delay = TimeSpan.FromMinutes( 1.0 );
private static TimeSpan m_Warning = TimeSpan.Zero;
//private static TimeSpan m_Warning = TimeSpan.FromSeconds( 15... | mikedevita/server.ultimaonlineshard.com | Scripts/Misc/AutoSave.cs | C# | gpl-2.0 | 4,480 |
var model = (function () {
var self = {};
self.Job = function() {//{{{
this.id = 0;
this.index = 0;
this.name = '';
this.parent = null;
this.skill = {};
this.numskill = 0;
};//}}}
self.Skill = function() {//{{{
this.id = 0;
this.job =... | kalhartt/yadnss | client-polymer/js/model.js | JavaScript | gpl-2.0 | 5,107 |
<?php
/**
* Element: Categoies Zoo
* DEPRECATED!
*
* @package NoNumber Framework
* @version 13.11.11
*
* @author Peter van Westen <peter@nonumber.nl>
* @link http://www.nonumber.nl
* @copyright Copyright © 2013 NoNumber All Rights Reserved
* @license http://ww... | alons182/3monkiescr | tmp/install_527dce65a41c7/framework/framework/j2/plugins/system/nnframework/fields/categorieszoo.php | PHP | gpl-2.0 | 521 |
<?php
$disable_switcher = theme_get_setting('judy_disable_switch', 'judy');
if(empty($disable_switcher))
$disable_switcher = 'on';
if(!empty($disable_switcher) && $disable_switcher=='on'){
?>
<?php global $base_url;?>
<div id="style-selector">
<div class="style-selector-wrapper"><span class="title"><?ph... | drupalviking/drupalviking | sites/all/themes/judy/tpl/switcher.tpl.php | PHP | gpl-2.0 | 3,090 |
showWord(["n. ","Moun ki ap bay yon konferans. <br>"]) | georgejhunt/HaitiDictionary.activity | data/words/konferansye.js | JavaScript | gpl-2.0 | 54 |
"""
Wilson - Implemet the Wilson model for stratified and heterogeneous regimes, and a 'framework'
that takes the lesser of the two results
"""
| rcriii42/DHLLDV | src/Wilson/__init__.py | Python | gpl-2.0 | 145 |
export default (function (window,document,$,undefined) {
$('.js-input-date').each(function(){
let $el = $(this);
let restrict = $el.data('restrict');
let picker = new Pikaday({
field: this,
format: 'MM/DD/YYYY',
});
switch(restrict) {
case 'max':
picker.s... | massgov/mayflower | packages/patternlab/styleguide/source/assets/js/modules/pikaday.js | JavaScript | gpl-2.0 | 512 |
<?php
/*
WARNING! DO NOT EDIT THIS FILE!
BizzThemes theme framework is built with hooks and advanced conditional logic for
containers, grids and widgets, which you may control from your theme template Builder.
Do not modify any theme files and only make changes through theme administration
... | pereiracruz2002/vaniaSalgados | wp-content/themes/restaurant/footer.php | PHP | gpl-2.0 | 393 |
namespace TrueMount.Forms
{
partial class PasswordDialog
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summ... | nefarius/TrueMount-2 | TrueMount/Forms/PasswordDialog.Designer.cs | C# | gpl-2.0 | 5,744 |
package admiciones.web.controlador;
import hcdigital.presentacion.util.Pintor;
import java.io.Serializable;
import org.zkoss.zk.ui.Component;
import org.zkoss.zk.ui.Sessions;
import org.zkoss.zk.ui.util.GenericForwardComposer;
import org.zkoss.zkplus.spring.SpringUtil;
import org.zkoss.zul.Textbox;
impo... | saalejo/medico | medicoAdmiciones/src/admiciones/web/controlador/NuevaEntidadCtl.java | Java | gpl-2.0 | 1,670 |
<?php
//
// ZoneMinder web HU Hungarian language 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 t... | martonmiklos/ZoneMinder | web/lang/hu_hu.php | PHP | gpl-2.0 | 46,814 |
/*
* (C) 2007-2013 Alibaba Group Holding Limited.
*
* 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.
*
*
* Version: $Id: ss_define.h 344 2013-08-29 11:17:38Z duanfei@taobao.com ... | nosqldb/tfs | src/migrateserver/ms_define.cpp | C++ | gpl-2.0 | 1,359 |
<?php
// Get ID
$ID = $client;
// DB
global $wpdb;
$table_db_name = $wpdb->prefix . "webinarignition";
$findstat = $wpdb->get_row("SELECT * FROM $table_db_name WHERE id = '$ID'", OBJECT);
$full_path = get_site_url();
$assets = WEBINARIGNITION_URL . "inc/";
?>
<script src="<?php echo $assets; ?>lp/js/jquery.js"></scr... | TakenCdosG/chcact.org | wp-content/plugins/webinarignition/inc/lp/ordertrk.php | PHP | gpl-2.0 | 866 |
<?php
/** Aramaic (ܐܪܡܝܐ)
*
* See MessagesQqq.php for message documentation incl. usage of parameters
* To improve a translation please visit http://translatewiki.net
*
* @ingroup Language
* @file
*
* @author 334a
* @author A2raya07
* @author Amire80
* @author Basharh
* @author Man2fly2002
* @author Michae... | kimberli/5327A-notebook | languages/messages/MessagesArc.php | PHP | gpl-2.0 | 97,389 |
/*
* This file is part of the CMaNGOS 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 o... | Ulduar/mangos-cata | src/game/ItemHandler.cpp | C++ | gpl-2.0 | 49,724 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using Gwupe.Cloud.Messaging.Elements;
namespace Gwupe.Cloud.Messaging.Response
{
[DataContract]
public class VCardRs : API.Response
{
public override String type
... | gwupe/Gwupe | BlitsMeCloudClient/Messaging/Response/VCardRs.cs | C# | gpl-2.0 | 881 |
<?php
/**
* Register all actions and filters for the plugin
*
* @link http://boozang.com
* @since 1.0.0
*
* @package Boozang
* @subpackage Boozang/includes
*/
/**
* Register all actions and filters for the plugin.
*
* Maintain a list of all hooks that are registered throughout
* the plugin, ... | ljunggren/boozang-wp | includes/class-boozang-loader.php | PHP | gpl-2.0 | 4,838 |