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 |
|---|---|---|---|---|---|
using System;
using Microsoft.VisualStudio.TestTools.UITesting.WpfControls;
namespace CaptainPav.Testing.UI.CodedUI.PageModeling.Wpf
{
/// <summary>
/// Default implementation of a Wpf page model
/// </summary>
public abstract class WpfPageModelBase<T> : PageModelBase<T> where T : WpfControl
{
... | lazyRiffs/CodedUIFluentExtensions | CodedUIExtensions/CaptainPav.Testing.UI.CodedUI.PageModeling/Wpf/WpfBaseModels.cs | C# | gpl-2.0 | 624 |
/****************************************************************************
*
* 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/robot/test/servo-afma6/testRobotAfma6.cpp | C++ | gpl-2.0 | 3,333 |
/*
* Copyright (C) 2008, 2009, 2010 Apple Inc. All Rights Reserved.
* Copyright (C) 2009 Jan Michael Alonzo
*
* 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 ab... | loveyoupeng/rt | modules/web/src/main/native/Tools/DumpRenderTree/atk/AccessibilityControllerAtk.cpp | C++ | gpl-2.0 | 4,399 |
module Admin
class JobsController < AdminController
def initialize(repository = Delayed::Job)
@repository = repository
super()
end
def index
@jobs = @repository.order(created_at: :desc)
end
def show
@job = @repository.find(params[:id])
end
def update
@job =... | mokhan/cakeside | app/controllers/admin/jobs_controller.rb | Ruby | gpl-2.0 | 546 |
/**
Copyright (C) SYSTAP, LLC 2006-2012. All rights reserved.
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 a... | blazegraph/database | bigdata-gas/src/test/java/com/bigdata/rdf/graph/analytics/TestCC.java | Java | gpl-2.0 | 7,408 |
/*
* Copyright (C) 2016 robert
*
* 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 3 of the License, or
* (at your option) any later version.
*
* This program is distributed... | bercik/BIO | impl/bioc/src/pl/rcebula/code_generation/final_steps/AddInformationsAboutModules.java | Java | gpl-2.0 | 1,977 |
<?php
/*
*
* Copyright 2001, 2010 Thomas Belliard, Laurent Delineau, Edouard Hue, Eric Lebrun, Gabriel Fischer, Didier Blanqui
*
* This file is part of GEPI.
*
* GEPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fre... | tbelliard/gepi | mod_discipline/stats2/apps/vues/bilans.php | PHP | gpl-2.0 | 21,097 |
/* -*- compile-command: "cd ../../../../../; ant debug install"; -*- */
/*
* Copyright 2010 by Eric House (xwords@eehouse.org). 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 Softwar... | oliversride/Wordryo | src/main/java/com/oliversride/wordryo/XWActivity.java | Java | gpl-2.0 | 5,258 |
<?php
/**
* Twenty Fifteen Customizer functionality
*
* @package WordPress
* @subpackage Twenty_Fifteen
* @since Twenty Fifteen 1.0
*/
/**
* Add postMessage support for site title and description for the Customizer.
*
* @since Twenty Fifteen 1.0
*
* @param WP_Customize_Manager $wp_customize
* ... | AgnaldoJaws/On-The-Bass. | wp-content/themes/twentyfifteen/inc/customizer.php | PHP | gpl-2.0 | 19,694 |
<?php //$Id: mod_form.php,v 1.2.2.3 2009/03/19 12:23:11 mudrd8mz Exp $
/**
* This file defines the main deva configuration form
* It uses the standard core Moodle (>1.8) formslib. For
* more info about them, please visit:
*
* http://docs.moodle.org/en/Development:lib/formslib.php
*
* The form must provide suppo... | IT-Scholars/Moodle-ITScholars-LMS | mod/deva/mod_form.php | PHP | gpl-2.0 | 3,290 |
<?php
/**
* Order tracking form
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.0.0
*
* Edited by WebMan
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
global $woocommerce, $post;
?>
<form action="<?php echo esc_url( get_permalink($post->ID) ); ?>" method="post" class="track... | samuelmolinski/miniature-octo-archer | wp-content/themes/atlantes/woocommerce/order/form-tracking.php | PHP | gpl-2.0 | 1,333 |
<?php // no direct access
defined('_JEXEC') or die('Restricted access'); ?>
<script language="javascript" type="text/javascript">
function tableOrdering( order, dir, task )
{
var form = document.adminForm;
form.filter_order.value = order;
form.filter_order_Dir.value = dir;
document.adminForm.submit( task )... | w2/ctb | templates/jsn_dome_free/html/com_content2/category/default_items.php | PHP | gpl-2.0 | 4,614 |
package kc.spark.pixels.android.ui.assets;
import static org.solemnsilence.util.Py.map;
import java.util.Map;
import android.content.Context;
import android.graphics.Typeface;
public class Typefaces {
// NOTE: this is tightly coupled to the filenames in assets/fonts
public static enum Style {
BOLD("Arial.ttf"... | sparcules/Spark_Pixels | AndroidApp/SparkPixels/src/kc/spark/pixels/android/ui/assets/Typefaces.java | Java | gpl-2.0 | 1,212 |
/*
* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | openjdk/jdk8u | jdk/test/sun/net/www/ParseUtil_4922813.java | Java | gpl-2.0 | 5,843 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
.. currentmodule:: __init__.py
.. moduleauthor:: Pat Daburu <pat@daburu.net>
Provide a brief description of the module.
""" | patdaburu/mothergeo-py | mothergeo/db/postgis/__init__.py | Python | gpl-2.0 | 175 |
<?php
/**
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; under version 2
* of the License (non-upgradable).
*
* This program is distributed in the hope that it will be useful,
* but W... | dhx/tao-comp | vendor/qtism/qtism/qtism/data/storage/xml/marshalling/AssessmentItemMarshaller.php | PHP | gpl-2.0 | 11,567 |
<?php
/*
* @package Joomla.Framework
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*
* @component Phoca Component
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
* @license http://www.gnu.org/c... | renebentes/joomla-3.x | administrator/components/com_phocagallery/models/phocagalleryra.php | PHP | gpl-2.0 | 7,227 |
/**************************************************************************
Copyright (C) 2000 - 2010 Novell, 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; either version ... | gabi2/libyui-qt-pkg | src/YQZyppSolverDialogPluginStub.cc | C++ | gpl-2.0 | 2,581 |
package org.webbuilder.web.service.script;
import org.springframework.stereotype.Service;
import org.webbuilder.utils.script.engine.DynamicScriptEngine;
import org.webbuilder.utils.script.engine.DynamicScriptEngineFactory;
import org.webbuilder.utils.script.engine.ExecuteResult;
import org.webbuilder.web.po.script.Dyn... | wb-goup/webbuilder | wb-core/src/main/java/org/webbuilder/web/service/script/DynamicScriptExecutor.java | Java | gpl-2.0 | 1,079 |
/*
* Copyright (C) 2013-2016 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 ... | ridoo/timeseries-api | io/src/test/java/org/n52/io/measurement/img/ChartRendererTest.java | Java | gpl-2.0 | 5,333 |
<?php
class highlighter {
public function register_shortcode($shortcodeName) {
function shortcode_highlighter($atts, $content = null) {
extract( shortcode_atts( array(
'type' => 'colored'
), $atts ) );
return "<span class='highlighted_".$type."'>".$cont... | jasonglisson/susannerossi | wp-content/plugins/gt3-pagebuilder-custom/core/shortcodes/highlighter.php | PHP | gpl-2.0 | 1,874 |
<html>
<head>
<script>
window.onload = function() {
var d = new Date().getTime();
document.getElementById("tid").value = d;
};
</script>
</head>
<body>
<?php
if(isset($_GET['token']))
{
$token = $_GET['token'];
$name = $_GET['name'];
$token ... | luffy22/aisha | ccavenue/nonseam/ccavenue_payment.php | PHP | gpl-2.0 | 2,167 |
<?php
/**
* jsonRPCClient.php
*
* Written using the JSON RPC specification -
* http://json-rpc.org/wiki/specification
*
* @author Kacper Rowinski <krowinski@implix.com>
* http://implix.com
*/
class jsonRPCClient
{
protected $url = null, $is_debug = false, $parameters_structure = 'array';
/**
* Def... | mssdeepakkumar/keenlo | wp-content/plugins/formcraft-add-on-pack/getresponse.php | PHP | gpl-2.0 | 9,967 |
/*
* 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/util/CollisionCheckStack.java | Java | gpl-2.0 | 5,703 |
/*
* #%L
* OME SCIFIO package for reading and converting scientific file formats.
* %%
* Copyright (C) 2005 - 2012 Open Microscopy Environment:
* - Board of Regents of the University of Wisconsin-Madison
* - Glencoe Software, Inc.
* - University of Dundee
* %%
* Redistribution and use in source and binar... | ximenesuk/bioformats | components/loci-legacy/src/loci/common/IniWriter.java | Java | gpl-2.0 | 3,258 |
var mysql_wn_data_noun_quantity = {
"morsel":[["noun.quantity"],["morsel","small indefinite quantity"]],
"section":[["noun.quantity","noun.group","noun.location","verb.contact:section","noun.group"],["section","square mile","section2","team","platoon1","section1","area1","section4","discussion section","class3"]],
"mat... | Seagat2011/NLP-Story-Engine | wn/DICT/mysql-wn-data.noun.quantity.js | JavaScript | gpl-2.0 | 96,743 |
<?php
/*
homepage: http://arc.semsol.org/
license: http://arc.semsol.org/license
class: ARC2 RDF/XML Serializer
author: Benjamin Nowack
version: 2009-02-12 (Fix: scheme-detection: scheme must have at least 2 chars, thanks to Eric Schoonover)
*/
ARC2::inc('RDFSerializer');
class ARC2_RDFXMLSerializer extends A... | baxtree/OKBook | sites/all/modules/rdf/vendor/arc/serializers/ARC2_RDFXMLSerializer.php | PHP | gpl-2.0 | 5,008 |
package dataset;
public class UndefinedSampleLengthException extends Exception {
private static final long serialVersionUID = 1L;
}
| ric2b/POO | java/src/dataset/UndefinedSampleLengthException.java | Java | gpl-2.0 | 135 |
/*
* 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")... | skyHALud/codenameone | Ports/iOSPort/xmlvm/apache-harmony-6.0-src-r991881/classlib/modules/awt/src/main/java/common/org/apache/harmony/awt/text/TextFactory.java | Java | gpl-2.0 | 3,164 |
<?php
/**
* @package sauto
* @subpackage Base
* @author Dacian Strain {@link http://shop.elbase.eu}
* @author Created on 17-Nov-2013
* @license GNU/GPL
*/
//-- No direct access
defined('_JEXEC') || die('=;)');
$id =& JRequest::getVar( 'id', '', 'post', 'string' );
$db = JFactory::getDbo();
$query... | grchis/android | administrator/components/com_sauto/assets/includes/p_delete_stare.php | PHP | gpl-2.0 | 581 |
var hilbert = (function() {
// From Mike Bostock: http://bl.ocks.org/597287
// Adapted from Nick Johnson: http://bit.ly/biWkkq
var pairs = [
[[0, 3], [1, 0], [3, 1], [2, 0]],
[[2, 1], [1, 1], [3, 0], [0, 2]],
[[2, 2], [3, 3], [1, 2], [0, 1]],
[[0, 0], [3, 2], [1, 3], [2, 3]]
... | eggla/LA-glazed | sites/all/modules/openlayers/modules/openlayers_library/src/Plugin/Component/Hilbert/js/hilbert_algo.js | JavaScript | gpl-2.0 | 1,468 |
<?php include("./lib/template/mini_calendrier.php"); ?>
<div id="lecorps">
<?php include("./lib/template/menu_edt.php"); ?>
<div id="art-main">
<div class="art-sheet">
<div class="art-sheet-tl"></div>
<div class="art-sheet-tr"></div>
<div class="art-sheet-bl"></div>
... | pollux1er/SajoscolApp | edt_organisation/lib/template/indexSuccess.php | PHP | gpl-2.0 | 2,906 |
<?php
/**
*
* @category modules
* @package news
* @author WebsiteBaker Project
* @copyright 2004-2009, Ryan Djurovich
* @copyright 2009-2011, Website Baker Org. e.V.
* @link http://www.websitebaker2.org/
* @license http://www.gnu.org/licenses/gpl.html
* @platform ... | marmotwb/2.8.x | wb/modules/news/languages/SE.php | PHP | gpl-2.0 | 1,238 |
/**
* @file
* Provides Ajax page updating via jQuery $.ajax.
*
* Ajax is a method of making a request via JavaScript while viewing an HTML
* page. The request returns an array of commands encoded in JSON, which is
* then executed to make any changes that are necessary to the page.
*
* Drupal uses this file to e... | schnitzel25/conta | sites/default/files/js/js_3YI8rlQtCphHC8k7Vs22nkB6_u47OqwXcD7P8Jm9QQg_BHuNkXbS1MEkV6lGkimSfQE6366BcKxzYtd8U65iUpM.js | JavaScript | gpl-2.0 | 96,793 |
/* OtherwiseNode.java --
Copyright (C) 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your opti... | unofficial-opensource-apple/gcc_40 | libjava/gnu/xml/transform/OtherwiseNode.java | Java | gpl-2.0 | 3,110 |
/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
#ident "$Id$"
/*
COPYING CONDITIONS NOTICE:
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 th... | SunguckLee/MariaDB | storage/tokudb/hatoku_hton.cc | C++ | gpl-2.0 | 90,471 |
<?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.3 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2013 |
+---------------------... | TheCraftyCanvas/folkshuln | sites/all/modules/civicrm/CRM/Core/Page/AJAX/Location.php | PHP | gpl-2.0 | 12,375 |
// $Id$
// QtLobby released under the GPLv3, see COPYING for details.
#include "TLDList.h"
QMap<QString, QString>* TLDList::TLDMap;
TLDList::TLDList( QObject* parent) : QObject(parent){
if ( TLDMap == NULL ) {
TLDMap = new QMap<QString, QString>;
QString TLDString = tr("AC:Ascension Island\n"
... | tizbac/qtlobby | src/TLDList.cpp | C++ | gpl-2.0 | 9,013 |
<?php
namespace Drupal\webform_node;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Extension\ModuleUninstallValidatorInterface;
use Drupal\Core\StringTranslation\StringTranslationTrait;
use Drupal\Core\StringTranslation\TranslationInterface;
/**
* Prevents webform_node module from being uninsta... | YaManicKill/viewfield | web/modules/webform/modules/webform_node/src/WebformNodeUninstallValidator.php | PHP | gpl-2.0 | 1,995 |
<?php
/**
* Custom template tags for this theme.
*
* Eventually, some of the functionality here could be replaced by core features.
*
* @package testwp_ssass
*/
if ( ! function_exists( 'testwp_ssass_paging_nav' ) ) :
/**
* Display navigation to next/previous set of posts when applicable.
*/
function testwp_ssa... | stoicattempt/testwp_ssass | wp-content/themes/testwp_ssass/inc/template-tags.php | PHP | gpl-2.0 | 5,871 |
<?php
/**
* Represents the view for the public-facing component of the plugin.
*
* This typically includes any information, if any, that is rendered to the
* frontend of the theme when the plugin is activated.
*
* @package Changelog
* @author averta < >
* @license GPL-2.0+
* @link http://example.co... | M4Gd/changelog | public/views/public.php | PHP | gpl-2.0 | 427 |
<?php $orig_post = $post;
global $post;
$categories = get_the_category($post->ID);
if ($categories) {
$category_ids = array();
foreach($categories as $individual_category) $category_ids[] = $individual_category->term_id;
$args=array(
'category__in' => $category_ids,
'post__not_in' => array($post->ID),
'... | achyutdahal/1234 | wp-content/themes/urbannews32/framework/includes/related-img.php | PHP | gpl-2.0 | 1,123 |
package com.oinux.lanmitm.service;
import com.oinux.lanmitm.R;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.os.IBinder;
public class BaseService exte... | vaginessa/Lanmitm | src/com/oinux/lanmitm/service/BaseService.java | Java | gpl-2.0 | 1,380 |
<?php
/**
* This is the model class for table "message".
*
* The followings are the available columns in table 'message':
* @property integer $msg_id
* @property string $subject
* @property string $msg_content
* @property string $msg_uploads
* @property integer $user_id
* @property string $msg_time
* @proper... | napoleon789/qlkh | osv/protected/models/Message.php | PHP | gpl-2.0 | 18,568 |
# Copyright (C) 2019 Fassio Blatter
from stopeight import analyzer
version=analyzer.version
from stopeight.util.editor.data import ScribbleData
def legal_segments(data):
from stopeight.matrix import Vectors
from stopeight.analyzer import legal_segments
return legal_segments(Vectors(data)).__array__().view... | specpose/stopeight | stopeight/util/editor/modules/analyzer.py | Python | gpl-2.0 | 413 |
<?php
if (is_category('stem')) {
get_template_part('templates/content', 'stem');
} else {
get_template_part('templates/content', 'category');
}
?>
| JulienMelissas/EdNC | wp-content/themes/ednc-roots/category.php | PHP | gpl-2.0 | 151 |
/* NicEdit - Micro Inline WYSIWYG
* Copyright 2007-2008 Brian Kirchoff
*
* NicEdit is distributed under the terms of the MIT license
* For more information visit http://nicedit.com/
* Do not remove this copyright message
*/
var bkExtend = function(){
var args = arguments;
if (args.length == 1) args = [this, ar... | drupaals/demo.com | d7/sites/all/libraries/nicedit/nicEdit.js | JavaScript | gpl-2.0 | 50,796 |
/* ====================================================================
* 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
*
* U... | adamdoupe/enemy-of-the-state | jcc/java/org/apache/jcc/PythonVM.java | Java | gpl-2.0 | 1,466 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | SpoonLabs/astor | examples/math_63/src/test/java/org/apache/commons/math/analysis/interpolation/LinearInterpolatorTest.java | Java | gpl-2.0 | 6,231 |
# -*- coding: utf-8 -*-
# Copyright (c) 2013-2014 CoNWeT Lab., Universidad Politécnica de Madrid
# This file is part of Wirecloud.
# Wirecloud is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either v... | sixuanwang/SAMSaaS | wirecloud-develop/src/wirecloud/oauth2provider/models.py | Python | gpl-2.0 | 2,919 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
namespace TtNum1.team_buying
{
public partial class goods : System.Web.UI.Page
{
TtNum1.BLL.GoodsInfo bllgoodsinfo ... | JJDJJ/TtNum | TtNum/TtNum/team_buying/goods.aspx.cs | C# | gpl-2.0 | 5,347 |
/*
* This file is part of NWFramework.
* Copyright (c) InCrew Software and Others.
* (See the AUTHORS file in the root of this distribution.)
*
* NWFramework is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publis... | cryptonome/nwframework | Framework/NWStream/NWStreamBlockVideo.cpp | C++ | gpl-2.0 | 3,001 |
class CreateUsers < ActiveRecord::Migration
def change
create_table :users do |t|
t.string :organization
t.string :department
t.string :name
t.string :role
t.string :email
t.string :password
t.binary :picture
t.integer :given_chips
t.integer :received_chips
... | kostaskoufou/Innovation_credits | vendor/db/migrate/20130618120305_create_users.rb | Ruby | gpl-2.0 | 385 |
<?php
/**
* WordPress Roles and Capabilities.
*
* @package WordPress
* @subpackage User
*/
/**
* WordPress User Roles.
*
* The role option is simple, the structure is organized by role name that store
* the name in value of the 'name' key. The capabilities are stored as an array
* in the value of the 'capabi... | stulentsev/mafiaoffline | wp-includes/capabilities.php | PHP | gpl-2.0 | 24,111 |
class BitStruct
# Class for floats (single and double precision) in network order.
# Declared with BitStruct.float.
class FloatField < Field
# Used in describe.
def self.class_name
@class_name ||= "float"
end
def add_accessors_to(cl, attr = name) # :nodoc:
unless offset % 8 == 0
... | ausarbluhd/EternalLLC | scripts/pentbox/lib/bit-struct/bit-struct/float-field.rb | Ruby | gpl-2.0 | 1,559 |
<?php
/**
* Core Class to enable hooks and actions for Fonts
* @version 1.0
*/
if(!class_exists('IOAFont'))
{
class IOAFont
{
private $fonts;
function __construct()
{
$fonts = array( );
}
/**
* Retrives all registered fonts.
*/
public function getFonts()
{
return $this->fonts;
}
... | HSrcWrld/DKWP | wp-content/themes/limitless/backend/classes/class_font_support.php | PHP | gpl-2.0 | 936 |
/**
* Client UI Javascript for the Calendar plugin
*
* @version @package_version@
* @author Lazlo Westerhof <hello@lazlo.me>
* @author Thomas Bruederli <bruederli@kolabsys.com>
*
* Copyright (C) 2010, Lazlo Westerhof <hello@lazlo.me>
* Copyright (C) 2012, Kolab Systems AG <contact@kolabsys.com>
*
* This progr... | stephdl/roundcubemail_plugins | root/usr/share/roundcubemail/plugins/calendar/calendar_ui.js | JavaScript | gpl-2.0 | 114,423 |
<?php
/**
* @package sauto
* @subpackage Views
* @author Dacian Strain {@link http://shop.elbase.eu}
* @author Created on 17-Nov-2013
* @license GNU/GPL
*/
//-- No direct access
defined('_JEXEC') || die('=;)');
$time = time();
$app =& JFactory::getApplication();
$db = JFactory::getDbo();
$request... | grchis/android | components/com_sauto/views/adding/tmpl/default_8.php | PHP | gpl-2.0 | 6,604 |
#!/usr/bin/env python3
# This file is part of ipxact2systemverilog
# Copyright (C) 2013 Andreas Lindh
#
# 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... | vermaete/ipxact2systemverilog | ipxact2systemverilog/ipxact2hdlCommon.py | Python | gpl-2.0 | 46,497 |
<?php
/*
+---------------------------------------------------------------------------+
| OpenX v2.8 |
| ========== |
| |... | maestrano/openx | lib/OA/Dal/PasswordRecovery.php | PHP | gpl-2.0 | 4,846 |
class CreateTeachers < ActiveRecord::Migration
def change
create_table :teachers do |t|
t.string :name, null: false
t.integer :grade
t.integer :college_id
t.integer :user_id
t.string :address
t.string :phone
t.string :email
t.timestamps null: false
end
end
en... | vjudge1/score | db/migrate/20150908120446_create_teachers.rb | Ruby | gpl-2.0 | 322 |
describe('PastDateValidatorWidgetFactory', function() {
var Mock = {};
var factory;
var whoAmI;
beforeEach(function() {
angular.mock.module('studio');
mockElement();
inject(function(_$injector_) {
mockWidgetScope(_$injector_);
factory = _$injector_.get(... | ccem-dev/studio | tests/unit/editor/ui/validation/require/past-date/past-date-validator-widget-factory-spec.js | JavaScript | gpl-2.0 | 2,268 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package bc;
import be.ReporteFumigacion;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
/**
*
* @author argos
*/
@Stateless
public class ReporteFumi... | jchalco/Ate | sistema/sistema-ejb/src/java/bc/ReporteFumigacionFacade.java | Java | gpl-2.0 | 663 |
require File.dirname(__FILE__) + '/../spec_helper'
describe PagesController do
describe 'handling GET for a single post' do
before(:each) do
@page = mock_model(Page)
Page.stub(:find_by_slug).and_return(@page)
end
def do_get
get :show, :id => 'a-page'
end
it "should be successf... | scottwainstock/pbm-blog | spec/controllers/pages_controller_spec.rb | Ruby | gpl-2.0 | 1,013 |
/*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2013 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 Licens... | onkelhotte/test | src/Dialogs/Task/Widgets/CylinderZoneEditWidget.hpp | C++ | gpl-2.0 | 1,691 |
<?php defined('_JEXEC') or die('Restricted access');
// SEF problem
$isThereQMR = false;
$isThereQMR = preg_match("/\?/i", $this->tmpl['action']);
if ($isThereQMR) {
$amp = '&';
} else {
$amp = '?';
}
if ((int)$this->tmpl['displayratingimg'] == 1) {
// Leave message for already voted images
$vote... | prabhu9484/testFork | components/com_phocagallery/views/detail/tmpl/default_rating.php | PHP | gpl-2.0 | 2,301 |
#!/usr/bin/python
# encoding: utf-8
# filename: outroTipoDeProducaoBibliografica.py
#
# scriptLattes V8
# Copyright 2005-2013: Jesús P. Mena-Chalco e Roberto M. Cesar-Jr.
# http://scriptlattes.sourceforge.net/
#
#
# Este programa é um software livre; você pode redistribui-lo e/ou
# modifica-lo dentro dos termos d... | DiegoQueiroz/scriptLattes | scriptLattes/producoesBibliograficas/outroTipoDeProducaoBibliografica.py | Python | gpl-2.0 | 3,771 |
<?php
/*
* Child theme creation results page
*/
?>
<div id="child_created" class="main-panel">
<h3><?php _e( 'Your child theme was successfully created!', 'divi-children' ); ?></h3>
<div id="created_theme">
<div class="theme_screenshot">
<img src="<?php echo $divichild['new_theme_dir'] . '/screenshot.jpg'; ?... | todd3773/netpartnering | wp-content/plugins/Divi_Children_2.0.8/includes/results-page.php | PHP | gpl-2.0 | 2,728 |
using System.IO;
using System.Text;
namespace CodeMask.WPF.Controls.Gif.Decoding
{
internal class GifCommentExtension : GifExtension
{
internal const int ExtensionLabel = 0xFE;
private GifCommentExtension()
{
}
public string Text { get; private set; }
internal... | cooglex/CodeMask | CodeMask/CodeMask.WPF.Controls/Gif/Decoding/GifCommentExtension.cs | C# | gpl-2.0 | 929 |
/**
* @file SleepTimer.cpp
* @author Pere Tuset-Peiro (peretuset@openmote.com)
* @version v0.1
* @date May, 2015
* @brief
*
* @copyright Copyright 2015, OpenMote Technologies, S.L.
* This file is licensed under the GNU General Public License v2.
*/
/*===========================... | tdautc19841202/firmware | platform/cc2538/SleepTimer.cpp | C++ | gpl-2.0 | 2,420 |
<?php
/*
*
* Copyright 2001-2004 Thomas Belliard, Laurent Delineau, Edouard Hue, Eric Lebrun
*
* This file is part of GEPI.
*
* GEPI 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... | Regis85/gepi | gestion/info_gepi.php | PHP | gpl-2.0 | 8,127 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | SpoonLabs/astor | examples/math_5/src/main/java/org/apache/commons/math3/stat/clustering/EuclideanDoublePoint.java | Java | gpl-2.0 | 3,065 |
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2000-2006 Donald N. Allingham
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at you... | Forage/Gramps | gramps/gui/widgets/linkbox.py | Python | gpl-2.0 | 1,754 |
/*
Copyright_License {
Top Hat Soaring Glide Computer - http://www.tophatsoaring.org/
Copyright (C) 2000-2016 The Top Hat Soaring 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 GN... | rdunning0823/tophat | src/Computer/ConditionMonitor/ConditionMonitors.cpp | C++ | gpl-2.0 | 1,954 |
template <typename Item>
void mergesort(Item a[], int l, int r)
{
if (r <= 1) return ;
int m = (r+1)/2;
mergesort(a, l, m);
mergesort(a, m+1, r);
merge(a, l, m, r);
}
| flow-J/Exercise | garbage/Algorithm_in_c++/test8.3.cpp | C++ | gpl-2.0 | 187 |
/* This file is part of the KDE project
Copyright (C) 2002 Carsten Pfeiffer <pfeiffer@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, version 2.
This program is distributed i... | iegor/kdegraphics | kmrml/kmrml/lib/mrml_utils.cpp | C++ | gpl-2.0 | 2,481 |
<?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2015 |
+---------------------... | alfonsom/ccdrupal | sites/all/modules/civicrm/CRM/Event/Import/Controller.php | PHP | gpl-2.0 | 2,507 |
<?php
/**
* @version $Id: legacy.php 10066 2008-02-26 04:20:57Z ian $
* @package Joomla
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public Lice... | google-code/administradora-beraca | plugins/system/legacy.php | PHP | gpl-2.0 | 13,245 |
def spaceship_building(cans):
total_cans = 0
for week in range(1,53):
total_cans = total_cans + cans
print('Week %s = %s cans' % (week, total_cans))
spaceship_building(2)
spaceship_building(13) | erikdejonge/python_for_kids | chapter07/spaceship_building.py | Python | gpl-2.0 | 227 |
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2015-12-24 15:28
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('emailer', '0007_auto_20150509_1922'),
]
operations = [
migrations.AlterField(
... | JustinWingChungHui/okKindred | emailer/migrations/0008_auto_20151224_1528.py | Python | gpl-2.0 | 467 |
/* $Id: VBoxGuest-win.cpp $ */
/** @file
* VBoxGuest - Windows specifics.
*/
/*
* Copyright (C) 2010-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 ... | sobomax/virtualbox_64bit_edd | src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp | C++ | gpl-2.0 | 52,418 |
/***********************************************************************************
* Smooth Tasks
* Copyright (C) 2009 Mathias Panzenböck <grosser.meister.morti@gmx.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 th... | Nuk9/smooth-task-next | applet/SmoothTasks/FixedItemCountTaskbarLayout.cpp | C++ | gpl-2.0 | 3,155 |
'use strict';
var env = process.env.NODE_ENV || 'development',
config = require('./config'),
B = require('bluebird'),
_ = require('underscore'),
L = require('./logger'),
S = require('underscore.string'),
nodemailer = require('nodemailer'),
smtpTransport = require('nodemailer-smtp-pool');
va... | zamamohammed/health-check | mailer.js | JavaScript | gpl-2.0 | 643 |
import MySQLdb
class DatabaseHandler:
def __init__(self):
pass
def is_delete(self, tableName):
reservedTableNameList = ["mantis_user_table", "mantis_tokens_table", "mantis_config_table"]
isDeleteFlag = 1
for name in reservedTableNameList:
isIdentical = cmp(tab... | ezScrum/ezScrum | robotTesting/keywords/lib/DatabaseHandler.py | Python | gpl-2.0 | 1,547 |
#!/usr/bin/ruby
require File.expand_path(ENV['MOSYNCDIR']+'/rules/mosync_exe.rb')
work = PipeExeWork.new
work.instance_eval do
@SOURCES = ["."]
@LIBRARIES = ["mautil"]
@NAME = "Stylus"
end
work.invoke
| tybor/MoSync | examples/cpp/Moblet/Stylus/workfile.rb | Ruby | gpl-2.0 | 207 |
/***********************************************************************************
* *
* Voreen - The Volume Rendering Engine *
* ... | bilgili/Voreen | modules/itk_generated/processors/itk_RegionGrowing/isolatedconnectedimagefilter.cpp | C++ | gpl-2.0 | 8,330 |
#include "EOSProjectData.h"
EOSProjectData::EOSProjectData()
{
}
EOSProjectData::~EOSProjectData()
{
}
| eranif/codelite | EOSWiki/EOSProjectData.cpp | C++ | gpl-2.0 | 106 |
/*
* Copyright 2002-2011 the original author or authors.
*
* 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 ap... | deathspeeder/class-guard | spring-framework-3.2.x/spring-context/src/main/java/org/springframework/cache/interceptor/CacheInterceptor.java | Java | gpl-2.0 | 2,142 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2006-2011 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2011 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | tharindum/opennms_dashboard | opennms-services/src/main/java/org/opennms/protocols/jmx/connectors/ConnectionWrapper.java | Java | gpl-2.0 | 1,879 |
/*jshint strict: false */
/*global chrome */
var merge = require('./merge');
exports.extend = require('pouchdb-extend');
exports.ajax = require('./deps/ajax');
exports.createBlob = require('./deps/blob');
exports.uuid = require('./deps/uuid');
exports.getArguments = require('argsarray');
var buffer = require('./deps/bu... | mrded/wikijob | www/lib/pouchdb/lib/utils.js | JavaScript | gpl-2.0 | 16,505 |
/**
* OWASP Benchmark Project v1.2beta
*
* 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 OWASP Benchmark is free software: you can redistribu... | marylinh/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest01168.java | Java | gpl-2.0 | 4,339 |
/*
Copyright (C) SYSTAP, LLC 2006-2015. All rights reserved.
Contact:
SYSTAP, LLC
2501 Calvert ST NW #106
Washington, DC 20008
licenses@systap.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
... | smalyshev/blazegraph | bigdata/src/test/com/bigdata/relation/accesspath/TestUnsynchronizedUnboundedChunkBuffer.java | Java | gpl-2.0 | 4,863 |
/*******************************************************************************
* Copyright (C) 2011 - 2015 Yoav Artzi, All rights reserved.
* <p>
* 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
* Found... | ayuzhanin/cornell-spf-scala | src/main/java/edu/cornell/cs/nlp/spf/parser/ccg/rules/coordination/C2Rule.java | Java | gpl-2.0 | 3,328 |
<?php
// https://raw.github.com/facebook/php-sdk/master/src/facebook.php
// modified
// Facebook PHP SDK (v.3.1.1)
/**
* Copyright 2011 Facebook, Inc.
*
* 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 ... | rijojoy/MyIceBerg | mod/elgg_social_login/vendors/hybridauth/Hybrid_plugin/thirdparty/Facebook/facebook.php | PHP | gpl-2.0 | 2,964 |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
#pragma once
#if !defined(RXCPP_OPERATORS_RX_SEQUENCE_EQUAL_HPP)
#define RXCPP_OPERATORS_RX_SEQUENCE_EQUAL_HPP
#include "../rx-includes.hpp"
namespace rxcpp {
namespace operators {
... | drazenzadravec/nequeo | Tools/Linq/cpp/RX/v2/rxcpp/operators/rx-sequence_equal.hpp | C++ | gpl-2.0 | 8,921 |
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE_AFL.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy... | tonio-44/tikflak | shop/js/mage/adminhtml/tabs.js | JavaScript | gpl-2.0 | 9,985 |
/*
* Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2011-2015 ArkCORE <http://www.arkania.net/>
* 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 Licens... | sunshitwowsucks/ArkCORE-NG | src/server/shared/Database/QueryResult.cpp | C++ | gpl-2.0 | 6,901 |
Template.reassign_modal.helpers({
fields: function() {
var userOptions = null;
var showOrg = true;
var instance = WorkflowManager.getInstance();
var space = db.spaces.findOne(instance.space);
var flow = db.flows.findOne({
'_id': instance.flow
});
var curSpaceUser = db.space_users.findOne({
s... | steedos/apps | packages/steedos-workflow/client/views/instance/reassign_modal.js | JavaScript | gpl-2.0 | 2,218 |
<?php
namespace Kbize\Sdk\Response;
class ProjectAndBoards
{
/**
*
* {
* "projects":[
* {"name":"Project","id":"1","boards":[
* {"name":"Service\/Merchant Integrations","id":"4"},
* {"name":"Tech Operations","id":"3"},
* {"name":"Main development","id":"2"... | silvadanilo/kbize | test/unit/Kbize/Sdk/Response/ProjectAndBoards.php | PHP | gpl-2.0 | 1,183 |
/*
* 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"); yo... | skyHALud/codenameone | Ports/iOSPort/xmlvm/apache-harmony-6.0-src-r991881/classlib/modules/sql/src/main/java/java/sql/SQLTransactionRollbackException.java | Java | gpl-2.0 | 5,553 |