repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
IIStevowII/Chatter | Server/node_modules/sequelize/index.js | 44 | module.exports = require("./lib/sequelize")
| mit |
tihom/dream_blog | spec/controllers/admin/content_controller_spec.rb | 23897 | require 'spec_helper'
describe Admin::ContentController do
render_views
# Like it's a shared, need call everywhere
shared_examples_for 'index action' do
it 'should render template index' do
get 'index'
response.should render_template('index')
end
it 'should see all published in index'... | mit |
susancal/Waitr | vendor/cache/ruby/2.3.0/gems/actionpack-5.0.0/lib/action_dispatch/routing/redirection.rb | 6453 | require 'action_dispatch/http/request'
require 'active_support/core_ext/uri'
require 'active_support/core_ext/array/extract_options'
require 'rack/utils'
require 'action_controller/metal/exceptions'
require 'action_dispatch/routing/endpoint'
module ActionDispatch
module Routing
class Redirect < Endpoint # :nodoc... | mit |
sf-takaki-umemura/angular-study | Client/app/+examples/stripe-payment/stripe-payment.component.ts | 2112 | import { Component, OnInit, NgZone } from '@angular/core';
import { UtilityService } from '../../core/services/utility.service';
declare const Stripe: any;
@Component({
selector: 'appc-stripe-payment',
templateUrl: './stripe-payment.component.html',
styleUrls: ['./stripe-payment.component.scss']
})
export class... | mit |
wp-plugins/double-click | vendor/zendframework/zendframework/library/Zend/ModuleManager/Feature/DependencyIndicatorInterface.php | 583 | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
n... | mit |
benouat/ng-bootstrap | src/dropdown/dropdown.module.ts | 624 | import {NgModule} from '@angular/core';
import {
NgbDropdown,
NgbDropdownAnchor,
NgbDropdownToggle,
NgbDropdownMenu,
NgbDropdownItem,
NgbNavbar
} from './dropdown';
export {
NgbDropdown,
NgbDropdownAnchor,
NgbDropdownToggle,
NgbDropdownMenu,
NgbDropdownItem,
NgbNavbar
} from './dropdown';
expor... | mit |
askl56/smart-answers | test/unit/date_helper_test.rb | 360 | require_relative "../test_helper"
require_relative "../../lib/smart_answer/date_helper"
class DateHelperTest < ActiveSupport::TestCase
include DateHelper
context "next_saturday" do
should "return the following saturday for a provided date" do
assert_equal Date.parse("2012 Mar 03"), next_saturday(Date.pa... | mit |
Twi/amaya | amaya/__init__.py | 20 | from base import *
| mit |
soltrinox/vator-api-serv | node_modules/loopback-component-storage/node_modules/pkgcloud/node_modules/gcloud/node_modules/protobufjs/node_modules/bytebuffer/src/encodings/hex.js | 2392 | //? if (HEX) {
// encodings/hex
/**
* Encodes this ByteBuffer's contents to a hex encoded string.
* @param {number=} begin Offset to begin at. Defaults to {@link ByteBuffer#offset}.
* @param {number=} end Offset to end at. Defaults to {@link ByteBuffer#limit}.
* @returns {string} Hex encoded string
* @expose
*/
... | mit |
hansbonini/cloud9-magento | www/lib/Varien/Image/Adapter/Abstract.php | 6678 | <?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... | mit |
Rafalsky/home-finance | backend/views/article-category/_search.php | 779 | <?php
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\models\search\ArticleCategorySearch */
/* @var $form yii\bootstrap\ActiveForm */
?>
<div class="article-category-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'metho... | mit |
shutchings/azure-sdk-for-net | src/SDKs/Cdn/Management.Cdn/Generated/Models/ValidateCustomDomainInput.cs | 2123 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
n... | mit |
cristianmejia/upmin-admin-ruby | test_seeders/order_seeder.rb | 1291 | # Dir["#{File.dirname(__FILE__)}/../models/*.rb"].each { |f| require f }
class OrderSeeder
def OrderSeeder.seed
(1..200).each do |i|
user = find_helper(User, rand(User.count) + 1)
order = Order.new
order.user = user
order.save!
num_products = rand(4) + 1
(1..num_products).ea... | mit |
evansd-archive/kohana-module--ckeditor | vendor/ckeditor/_source/core/editor_basic.js | 6171 | /*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
if ( !CKEDITOR.editor )
{
/**
* No element is linked to the editor instance.
* @constant
* @example
*/
CKEDITOR.ELEMENT_MODE_NONE = 0;
/**
* The ... | mit |
erikzhouxin/CSharpSolution | OSS/Alipay/F2FPayDll/Projects/alipay-sdk-NET20161213174056/Response/KoubeiQualityTestCloudacptBatchQueryResponse.cs | 811 | using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Aop.Api.Domain;
namespace Aop.Api.Response
{
/// <summary>
/// KoubeiQualityTestCloudacptBatchQueryResponse.
/// </summary>
public class KoubeiQualityTestCloudacptBatchQueryResponse : AopResponse
{
/// <su... | mit |
mono/referencesource | System.Web/LegacyAspNetSynchronizationContext.cs | 8169 | //------------------------------------------------------------------------------
// <copyright file="LegacyAspNetSynchronizationContext.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//---------------------------------------------------------------------------... | mit |
redbubble/rollbar-gem | lib/rollbar/delay/thread.rb | 596 | module Rollbar
module Delay
class Thread
def self.call(payload)
new.call(payload)
end
def call(payload)
::Thread.new do
begin
Rollbar.process_from_async_handler(payload)
rescue
# Here we swallow the exception:
# 1. The orig... | mit |
isislovecruft/globe | app.js | 792 |
/**
* Module dependencies.
*/
var express = require('express')
, http = require('http')
, path = require('path');
var app = express();
var distDir = '/build/dist/';
// all express settings
app.set('port', process.env.PORT || 3000);
app.use(express.favicon(__dirname + distDir +'favicon.ico'));
app.use(express... | mit |
1974kpkpkp/merb | merb-core/experimentation/simple_benches/cookie.rb | 577 | require "rubygems"
require "rbench"
def original(name, value, options)
(@_headers['Set-Cookie'] ||=[]) << "#{name}=#{value}; " +
options.map{|k, v| "#{k}=#{v};"}.sort.join(' ')
end
def new_impl(name, value, options)
cookie = @_headers["Set-Cookie"] ||= []
cookie << ("#{name}=#{value}" <<
options.map do |... | mit |
ermshiperete/web-languageforge | src/angular-app/bellows/core/input-systems/input-systems.scripts.ts | 7150 | // THIS FILE IS AUTOMATICALLY GENERATED by build-json-language-data.py
// Do not make changes to this file; they will be overwritten.
// Input Systems Scripts data
export const inputSystemsScripts = {
"Adlm": [
"Adlam"
],
"Afak": [
"Afaka"
],
"Aghb": [
"Caucasian Albanian"
],
"Ahom": [
"A... | mit |
Autodrop3d/autodrop3dServer | public/js/scaffold-interface-js/social.js | 425 | window.twttr = (function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0],
t = window.twttr || {};
if (d.getElementById(id)) return t;
js = d.createElement(s);
js.id = id;
js.src = "https://platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js, fjs);
t._e = [];
t... | mit |
stof/dbal | lib/Doctrine/DBAL/Event/Listeners/SQLSessionInit.php | 1959 | <?php
/*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS B... | mit |
ybarghane/AnnuaireResteaux | web/bundles/sonataadmin/vendor/jqueryui/ui/minified/i18n/jquery.ui.datepicker-tj.min.js | 995 | /*! jQuery UI - v1.10.4 - 2014-02-16
* http://jqueryui.com
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
jQuery(function(e){e.datepicker.regional.tj={closeText:"Идома",prevText:"<Қафо",nextText:"Пеш>",currentText:"Имрӯз",monthNames:["Январ","Феврал","Март","Апрел","Май","Июн"... | mit |
Admin-Kaf/Tinyboard | templates/themes/recent/theme.php | 4518 | <?php
require 'info.php';
function recentposts_build($action, $settings, $board) {
// Possible values for $action:
// - all (rebuild everything, initialization)
// - news (news has been updated)
// - boards (board list changed)
// - post (a post has been made)
// - post-thread (a thread has been made)
... | mit |
konopacki/seattleusedbikes-site | concrete/core/controllers/single_pages/dashboard/system/backup_restore/update.php | 4901 | <?php
defined('C5_EXECUTE') or die("Access Denied.");
Loader::library('update');
Loader::library('archive');
class UpdateArchive extends Archive {
public function __construct() {
parent::__construct();
$this->targetDirectory = DIR_APP_UPDATES;
}
public function install($file) {
parent::install($file, tru... | mit |
okazia/XChange | xchange-btcchina/src/main/java/com/xeiam/xchange/btcchina/BTCChina.java | 14863 | package com.xeiam.xchange.btcchina;
import java.io.IOException;
import javax.ws.rs.Consumes;
import javax.ws.rs.DefaultValue;
import javax.ws.rs.GET;
import javax.ws.rs.HeaderParam;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.w... | mit |
magnusnordlander/symfony-micro | web/app.php | 749 | <?php
use Symfony\Component\ClassLoader\ApcClassLoader;
use Symfony\Component\HttpFoundation\Request;
$loader = require_once __DIR__.'/../app/bootstrap.php.cache';
// Use APC for autoloading to improve performance.
// Change 'sf2' to a unique prefix in order to prevent cache key conflicts
// with other applications ... | mit |
oxaudo/force | src/v2/__generated__/redirects_order.graphql.ts | 5491 | /* tslint:disable */
import { ReaderFragment } from "relay-runtime";
export type CommerceOrderModeEnum = "BUY" | "OFFER" | "%future added value";
export type CommerceOrderParticipantEnum = "BUYER" | "SELLER" | "%future added value";
export type CommerceOrderStateEnum = "ABANDONED" | "APPROVED" | "CANCELED" | "FULFILLE... | mit |
shelsonjava/datawrapper | vendor/propel/generator/lib/task/PropelSQLDiffTask.php | 6178 | <?php
/**
* This file is part of the Propel package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
require_once dirname(__FILE__) . '/AbstractPropelDataModelTask.php';
require_once dirname(__FILE__) . '... | mit |
TheNetStriker/openhab | bundles/binding/org.openhab.binding.maxcube/src/main/java/org/openhab/binding/maxcube/internal/message/Device.java | 9525 | /**
* Copyright (c) 2010-2019 by the respective copyright holders.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/... | epl-1.0 |
PatrickSHYee/idecore | com.salesforce.ide.core/src/com/salesforce/ide/core/internal/components/letterhead/LetterheadComponentController.java | 1338 | /*******************************************************************************
* Copyright (c) 2014 Salesforce.com, inc..
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availab... | epl-1.0 |
echoes-tech/eclipse.jsdt.core | org.eclipse.wst.jsdt.core.tests.model/workspace/JavaSearchBugs/src/b163984/B.js | 83 | package b163984;
public class B {
public static void main(String[] args) {}
}
| epl-1.0 |
greenlion/mysql-server | storage/ndb/src/kernel/blocks/dbtux/DbtuxMaint.cpp | 5745 | /*
Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2.0,
as published by the Free Software Foundation.
This program is also distributed with cer... | gpl-2.0 |
BetterBetterBetter/B3App | modules/mod_easysocial_register/helper.php | 2091 | <?php
/**
* @package EasySocial
* @copyright Copyright (C) 2010 - 2014 Stack Ideas Sdn Bhd. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* EasySocial is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of wor... | gpl-2.0 |
altrobot/love_spreading | vendors/social/javascripts/socialShare.js | 6374 | /*
Plugin Name: socialShare
Version: 1.0
Plugin URI: https://github.com/tolgaergin/social
Description: To share any page with 46 icons
Author: Tolga Ergin
Author URI: http://tolgaergin.com
Designer: Gökhun Güneyhan
Designer URI: http://gokhunguneyhan.com
*/
/* PLUGIN USAGE */
/*
$('#clickable').socialShare({
... | gpl-2.0 |
HUDBT/HUDBT | lang/chs/lang_getusertorrentlistajax.php | 531 | <?php
$lang_getusertorrentlistajax = array
(
'col_type' => "类型",
'col_name' => "标题",
'title_size' => "大小",
'title_seeders' => "种子数",
'title_leechers' => "下载数",
'col_uploaded' => "上传",
'col_downloaded' => "下载",
'col_ratio' => "分享率",
'col_anonymous' => "匿名",
'col_time_completed' => "完成时间",
'col_se_time' => "做... | gpl-2.0 |
manateelazycat/deepin-gnome-shell-3.4.1 | js/ui/runDialog.js | 14355 | // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
const Clutter = imports.gi.Clutter;
const Gio = imports.gi.Gio;
const GLib = imports.gi.GLib;
const Lang = imports.lang;
const Meta = imports.gi.Meta;
const St = imports.gi.St;
const Shell = imports.gi.Shell;
const Signals = imports.signals;
const FileUti... | gpl-2.0 |
RGray1959/MyParish | CmsWeb/Areas/Search/Models/RegistrationSearch/RegistrationSearchInfo.cs | 980 | using System;
using CmsWeb.Code;
namespace CmsWeb.Areas.Search.Models
{
[Serializable]
public class RegistrationSearchInfo
{
public string Registrant { get; set; }
public string User { get; set; }
public string Organization { get; set; }
public DateTime? StartDate { get; set... | gpl-2.0 |
mdaniel/svn-caucho-com-resin | modules/resin/src/com/caucho/ejb/message/JmsActivationSpec.java | 1456 | /*
* Copyright (c) 1998-2012 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... | gpl-2.0 |
mdaniel/svn-caucho-com-resin | modules/jcr/src/javax/jcr/MergeException.java | 1400 | /*
* Copyright (c) 1998-2012 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... | gpl-2.0 |
mitchellzen/DLAMP-MAX | magento/downloader/pearlib/php/PEAR/Task/Windowseol.php | 2619 | <?php
/**
* <tasks:windowseol>
*
* PHP versions 4 and 5
*
* LICENSE: This source file is subject to version 3.0 of the PHP license
* that is available through the world-wide-web at the following URI:
* http://www.php.net/license/3_0.txt. If you did not receive a copy of
* the PHP License and are unable to obta... | gpl-2.0 |
Melanie27/2014 | wp-content/plugins/subscribe2/subscribe2.php | 3157 | <?php
/*
Plugin Name: Subscribe2
Plugin URI: http://subscribe2.wordpress.com
Description: Notifies an email list when new entries are posted.
Version: 8.9.1
Author: Matthew Robinson
Author URI: http://subscribe2.wordpress.com
Licence: GPL3
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_butt... | gpl-2.0 |
cphillipp/deepwood | wp-content/themes/nevada/javascripts/nonverblaster.js | 849 | window.PlayerOnLoad = window.onload;
PlayerOnLoad = init;
var jsReady = false;
var flashMovie = "";
var nonverblasterClicked = false;
function init(){
jsReady = true;
}
function getFlashMovie(movieName) {
if (navigator.appName.indexOf("Microsoft") != -1) {
return window[movieName];
} else {
... | gpl-2.0 |
dlinknctu/OpenADM | webui/js/config.js | 533 | var coreIP = "localhost";
var corePort = "5567";
function getFeatureUrl(){
return "http://"+coreIP+":"+corePort+"/feature";
}
function getStatUrl(){
return "http://"+coreIP+":"+corePort+"/stat";
}
function getTopologyUrl(){
return "http://"+coreIP+":"+corePort+"/info/topology";
}
function getFlowModUrl(){
... | gpl-2.0 |
falbrechtskirchinger/kde-workspace | plasma/netbook/shell/data/layouts/org.kde.plasma-netbook.defaultPage/contents/layout.js | 291 |
var page = new Activity("newspaper")
page.screen = -1
page.wallpaperPlugin = 'image'
page.wallpaperMode = 'SingleImage'
page.name = templateName
page.addWidgetAt("news", 0, 0)
page.addWidgetAt("weather", 1, 0)
page.addWidgetAt("opendesktop", 0, 1)
page.addWidgetAt("knowledgebase", 1, 1) | gpl-2.0 |
VelocityRa/scummvm | engines/bladerunner/audio_player.cpp | 5704 | /* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | gpl-2.0 |
rschatz/graal-core | graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/TypeWriterTest.java | 6478 | /*
* Copyright (c) 2015, 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 ... | gpl-2.0 |
werwurm/sunxi-fiasco | tool/preprocess/test/template.cpp | 3774 | INTERFACE:
template<class T>
class stack_t;
template<class T>
class stack_top_t
{
private:
friend class stack_t<T>;
// Dont change the layout !!, comp_and_swap2 expects
// version and _next next to each other, in that order
int _version;
T *_next;
};
template<class T>
class stack_t
{
private:
stack_t... | gpl-2.0 |
Dovedesign/WoodsDev | wp-content/plugins/soliloquy/assets/js/lib/bxslider.js | 51856 | ;(function($){
var plugin = {};
var defaults = {
// Added by Thomas
keyboard: false,
// GENERAL
mode: 'horizontal',
slideSelector: '',
infiniteLoop: true,
hideControlOnEnd: false,
speed: 500,
captionSpeed: 0,
easing: null,
slideMargin: 0,
startSlide: 0,
randomStart: false,
captio... | gpl-2.0 |
benetech/Secure-App-Generator | SecureAppGenerator/src/main/resources/static/Vellum/bower_components/jquery/src/var/indexOf.js | 55 | define(["./deletedIds"],function(a){return a.indexOf}); | gpl-2.0 |
am-immanuel/quercus | modules/resin/src/com/caucho/jsp/JspPrecompileResource.java | 7435 | /*
* Copyright (c) 1998-2012 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... | gpl-2.0 |
lian88jian/Mycat-Server | src/main/java/io/mycat/backend/mysql/nio/handler/CommitNodeHandler.java | 5326 | /*
* Copyright (c) 2013, OpenCloudDB/MyCAT and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software;Designed and Developed mainly by many Chinese
* opensource volunteers. you can redistribute it and/or modify it under the
* terms ... | gpl-2.0 |
Lsty/ygopro-scripts | c56804361.lua | 1204 | --魔装聖龍 イーサルウェポン
function c56804361.initial_effect(c)
--tohand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(56804361,0))
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCountLim... | gpl-2.0 |
yarwalker/ecobyt | wp-content/plugins/woocommerce-jetpack/includes/price-by-country/class-wcj-price-by-country-group-generator.php | 4511 | <?php
/**
* WooCommerce Jetpack Price By Country Group Generator
*
* The WooCommerce Jetpack Price By Country Group Generator class.
*
* @version 2.3.9
* @author Algoritmika Ltd.
*/
if ( ! defined( 'ABSPATH' ) ) exit;
if ( ! class_exists( 'WCJ_Price_By_Country_Group_Generator' ) ) :
class WCJ... | gpl-2.0 |
SparklingSoftware/dokuwiki_almlib_ready_legacy | lib/plugins/swiftmail/admin.php | 1996 | <?php
/**
* Swiftmail Plugin
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Andreas Gohr <andi@splitbrain.org>
*/
// must be run within Dokuwiki
if(!defined('DOKU_INC')) die();
class admin_plugin_swiftmail extends DokuWiki_Admin_Plugin {
/**
* return sort order for position i... | gpl-2.0 |
quanghung0404/it2tech | media/com_easysocial/apps/user/photos/themes/default/emails/html/like.album.involved.php | 3086 | <?php
/**
* @package EasySocial
* @copyright Copyright (C) 2010 - 2014 Stack Ideas Sdn Bhd. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* EasySocial is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of wor... | gpl-2.0 |
PlanetAPL/a-plus | src/MSGUI/MSKeyPress.C | 2587 | ///////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 1998-2008 Morgan Stanley All rights reserved.
// See .../src/LICENSE for terms of distribution
//
//
///////////////////////////////////////////////////////////////////////////////
#include <MSGUI/MSKeyPress.H>
#includ... | gpl-2.0 |
Seanhunt/letmrack.com | wp-content/themes/Marina/twitter.php | 11269 | <?php
/*
Plugin Name: Twitter for Wordpress
Version: 1.9.7
Plugin URI: http://rick.jinlabs.com/code/twitter
Description: Displays your public Twitter messages for all to read. Based on <a href="http://cavemonkey50.com/code/pownce/">Pownce for Wordpress</a> by <a href="http://cavemonkey50.com/">Cavemonkey50</a>.
Author... | gpl-2.0 |
VikaCep/mediawiki-nodos | extensions/SemanticMediaWiki/tests/phpunit/Unit/ParserParameterProcessorTest.php | 5803 | <?php
namespace SMW\Tests;
use SMW\ParserParameterProcessor;
/**
* @covers \SMW\ParserParameterProcessor
* @group semantic-mediawiki
*
* @license GNU GPL v2+
* @since 1.9
*
* @author mwjames
*/
class ParserParameterProcessorTest extends \PHPUnit_Framework_TestCase {
/**
* @dataProvider parametersDataProv... | gpl-2.0 |
josmarsm/openwonderland | core/src/classes/org/jdesktop/wonderland/server/cell/CellDescription.java | 2911 | /**
* Project Wonderland
*
* Copyright (c) 2004-2009, Sun Microsystems, Inc., All Rights Reserved
*
* Redistributions in source code form must reproduce the above
* copyright and this condition.
*
* The contents of this file are subject to the GNU General Public
* License, Version 2 (the "License"); you may no... | gpl-2.0 |
mwmarkland/plucid | manual/contents.C | 1341 | .SP 1
.DS
CONTENTS
Abstract
Contents
1 Introduction
2 Lucid Expressions
2.1 The @where clause
2.2 The operators @next, @fby and @first
2.3 User Defined Functions
2.4 The operators @asa, @whenever ... | gpl-2.0 |
drgr33n/norfolk-lights-website | includes/templates/template_default/templates/tpl_product_free_shipping_info_display.php | 9610 | <?php
/**
* Page Template
*
* Loaded automatically by index.php?main_page=product_free_shipping_info.<br />
* Displays details of a "free-shipping" product (provided it is assigned to the product-free-shipping product type)
*
* @package templateSystem
* @copyright Copyright 2003-2011 Zen Cart Development Team
*... | gpl-2.0 |
chauhansaurabhb/IoTSuite-TemplateV7 | AndroidDeviceDrivers/src/framework/IHeater.java | 196 | package framework;
public abstract interface IHeater {
public abstract void Off();
public abstract void SetTemp(TempStruct arg );
} | gpl-2.0 |
geosolutions-it/geoserver-exts | mapmeter/src/main/java/org/geoserver/web/HomePageMapmeterJsContribution.java | 801 | package org.geoserver.web;
import java.util.Set;
import org.apache.wicket.markup.html.WebPage;
import org.geoserver.security.GeoServerSecurityManager;
public class HomePageMapmeterJsContribution extends ClassLimitingHeaderContribution {
private final GeoServerSecurityManager geoServerSecurityManager;
publi... | gpl-2.0 |
dinhkk/viking_vietnam | wp-content/plugins/qtranslate-x/qtranslate_utils.php | 18387 | <?php // encoding: utf-8
/*
Copyright 2014 qTranslate Team (email : qTranslateTeam@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 License, or
(at your opti... | gpl-2.0 |
boudewijnrempt/HyvesDesktop | 3rdparty/google-breakpad-read-only/src/client/linux/handler/linux_thread_test.cc | 9059 | // Copyright (c) 2006, Google Inc.
// All rights reserved.
//
// Author: Li Liu
//
// 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,... | gpl-2.0 |
transcend3nt/windows-privesc-check | windows-privesc-check.py | 136275 | # Licence
# =======
#
# windows-privesc-check - Security Auditing Tool For Windows
# Copyright (C) 2010 pentestmonkey@pentestmonkey.net
# http://pentestmonkey.net/windows-privesc-check
#
# This tool may be used for legal purposes only. Users take full responsibility
# for any actions per... | gpl-2.0 |
diZturbio/lara42x-sbe | vendor/edvinaskrucas/notification/tests/SubscriberTest.php | 6006 | <?php
use Mockery as m;
require_once 'Mocks/SubscriberMock.php';
class SubscriberTest extends PHPUnit_Framework_TestCase
{
public function tearDown()
{
m::close();
}
public function testIsConstructed()
{
$subscriber = $this->getSubscriber();
$this->assertInstanceOf('Illum... | gpl-2.0 |
JunkyBulgaria/5.4.1 | src/server/scripts/EasternKingdoms/zone_silverpine_forest.cpp | 4042 | /*
* Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2009 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... | gpl-2.0 |
gwenaelCF/eveGCF | apps/stats/modules/tickets/templates/indexSuccess.php | 736 | <?php include_partial('attendance/filters',array('form' => $form)) ?>
<div class="ui-widget ui-corner-all ui-widget-content">
<a name="chart-title"></a>
<div class="ui-widget-header ui-corner-all fg-toolbar">
<?php include_partial('attendance/filters_buttons') ?>
<h1><?php echo __('Global stats on tickettin... | gpl-2.0 |
iRGBit/QGIS | python/plugins/processing/algs/qgis/FieldsMapper.py | 5632 | # -*- coding: utf-8 -*-
"""
***************************************************************************
FieldsMapper.py
---------------------
Date : October 2014
Copyright : (C) 2014 by Arnaud Morvan
Email : arnaud dot morvan at camptocamp dot com
*********... | gpl-2.0 |
am-immanuel/quercus | modules/resin/src/com/caucho/message/DistributionMode.java | 1841 | /*
* Copyright (c) 1998-2012 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... | gpl-2.0 |
ovidiugabriel/joomla-platform | tests/suites/unit/joomla/database/JDatabaseDriverTest.php | 11406 | <?php
/**
* @package Joomla.UnitTest
* @subpackage Database
*
* @copyright Copyright (C) 2005 - 2013 Open Source Matters. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
require_once __DIR__ . '/stubs/nosqldriver.php';
/**
* Test class for JDatabaseD... | gpl-2.0 |
BryanQuigley/sos | sos/report/plugins/tuned.py | 1112 | # Copyright (C) 2014 Red Hat, Inc., Peter Portante <peter.portante@redhat.com>
# This file is part of the sos project: https://github.com/sosreport/sos
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions of
# version 2 of the ... | gpl-2.0 |
ezecosystem/ezpublish-kernel | eZ/Publish/Core/Base/Container/ApiLoader/RepositoryFactory.php | 4789 | <?php
/**
* File containing the RepositoryFactory class.
*
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/
namespace eZ\Publish\Core\Base\Container\ApiLoader;
use eZ\Publish\Core\Repositor... | gpl-2.0 |
NaturalGIS/naturalgis_qgis | src/app/decorations/qgsdecorationtitledialog.cpp | 5811 | /***************************************************************************
qgsdecorationtitledialog.cpp
--------------------------------------
Date : November 2018
Copyright : (C) 2018 by Mathieu Pellerin
Email : nirvn dot asia at gmail dot com
********************... | gpl-2.0 |
JBonsink/GSOC-2013 | tools/ns-allinone-3.14.1/ns-3.14.1/build/.conf_check_d6c8946949ece91ce43c989711393fec/test.cpp | 206 |
#include <Python.h>
#ifdef __cplusplus
extern "C" {
#endif
void Py_Initialize(void);
void Py_Finalize(void);
#ifdef __cplusplus
}
#endif
int main()
{
Py_Initialize();
Py_Finalize();
return 0;
}
| gpl-3.0 |
SilenceIM/Silence | src/org/smssecure/smssecure/util/Trimmer.java | 2043 | package org.smssecure.smssecure.util;
import android.app.ProgressDialog;
import android.content.Context;
import android.os.AsyncTask;
import android.widget.Toast;
import org.smssecure.smssecure.R;
import org.smssecure.smssecure.database.DatabaseFactory;
import org.smssecure.smssecure.database.ThreadDatabase;
public ... | gpl-3.0 |
wiki2014/Learning-Summary | alps/cts/tests/tests/drm/src/android/drm/cts/DRMTest.java | 9247 | /*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | gpl-3.0 |
SchulichUAV/ardupilot | libraries/AP_HAL_ChibiOS/hwdef/scripts/dma_resolver.py | 8674 | #!/usr/bin/env python
import sys, fnmatch
import importlib
# peripheral types that can be shared, wildcard patterns
SHARED_MAP = ["I2C*", "USART*_TX", "UART*_TX", "SPI*", "TIM*_UP"]
ignore_list = []
dma_map = None
debug = False
def check_possibility(periph, dma_stream, curr_dict, dma_map, check_list):
for oth... | gpl-3.0 |
micaelbatista/neeist_wiki | wiki/vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/PrefixTest.php | 4529 | <?php
namespace Elastica\Test\Filter;
use Elastica\Document;
use Elastica\Filter\Prefix;
use Elastica\Test\DeprecatedClassBase as BaseTest;
use Elastica\Type\Mapping;
class PrefixTest extends BaseTest
{
/**
* @group unit
*/
public function testDeprecated()
{
$reflection = new \Reflectio... | gpl-3.0 |
lyy289065406/expcodes | java/01-framework/dubbo-admin/incubator-dubbo-ops/dubbo-admin-frontend/node_modules/vuetify/src/components/VPagination/index.ts | 91 | import VPagination from './VPagination'
export { VPagination }
export default VPagination
| gpl-3.0 |
geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/third_party/WebKit/Source/core/input/InputDeviceCapabilities.cpp | 1008 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "core/input/InputDeviceCapabilities.h"
namespace blink {
InputDeviceCapabilities::InputDeviceCapabilities(bool firesTouchEvents) {
m_firesTou... | gpl-3.0 |
vineodd/PIMSim | GEM5Simulation/gem5/src/gpu-compute/scheduler.cc | 2369 | /*
* Copyright (c) 2014-2017 Advanced Micro Devices, Inc.
* All rights reserved.
*
* For use for simulation and test purposes only
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of sourc... | gpl-3.0 |
vbjay/gitextensions | GitUI/CommandsDialogs/FormRenameBranch.cs | 2724 | using System;
using System.Diagnostics;
using System.Linq;
using System.Windows.Forms;
using GitCommands;
using GitCommands.Git;
using ResourceManager;
namespace GitUI.CommandsDialogs
{
public sealed partial class FormRenameBranch : GitModuleForm
{
private readonly TranslationString _branchRenameFaile... | gpl-3.0 |
jenarroyo/moodle-repo | mod/feedback/item/textarea/lib.php | 10063 | <?php
defined('MOODLE_INTERNAL') OR die('not allowed');
require_once($CFG->dirroot.'/mod/feedback/item/feedback_item_class.php');
class feedback_item_textarea extends feedback_item_base {
var $type = "textarea";
var $commonparams;
var $item_form;
var $item;
function init() {
}
function b... | gpl-3.0 |
krharrison/cilib | library/src/main/java/net/sourceforge/cilib/niching/merging/detection/MergeDetection.java | 569 | /** __ __
* _____ _/ /_/ /_ Computational Intelligence Library (CIlib)
* / ___/ / / / __ \ (c) CIRG @ UP
* / /__/ / / / /_/ / http://cilib.net
* \___/_/_/_/_.___/
*/
package net.sourceforge.cilib.niching.merging.detection;
import net.sourceforge.cilib.algorithm.population.SinglePopulation... | gpl-3.0 |
erikriver/eduIntelligent-cynin | src/ubify.cyninv2theme/ubify/cyninv2theme/browser/itemdetails.py | 6590 | ###############################################################################
#cyn.in is an open source Collaborative Knowledge Management Appliance that
#enables teams to seamlessly work together on files, documents and content in
#a secure central environment.
#
#cyn.in v2 an open source appliance is distrib... | gpl-3.0 |
alexvandesande/cpp-ethereum | libtestutils/BlockChainLoader.cpp | 1453 | /*
This file is part of cpp-ethereum.
cpp-ethereum 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.
cpp-ethereum is distributed in the... | gpl-3.0 |
geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/third_party/WebKit/Source/core/layout/line/TrailingObjects.cpp | 3665 | /*
* Copyright (C) 2000 Lars Knoll (knoll@kde.org)
* Copyright (C) 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
* All right reserved.
* Copyright (C) 2010 Google Inc. All rights reserved.
* Copyright (C) 2014 Adobe Systems Inc.
*
* This library is free software; you can redistribute it... | gpl-3.0 |
sergiocazzolato/snapd | store/errors.go | 8838 | // -*- Mode: Go; indent-tabs-mode: t -*-
/*
* Copyright (C) 2014-2018 Canonical Ltd
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hop... | gpl-3.0 |
dioptre/rasdaman | applications/raswct/lib/jsclass/min/forwardable.js | 347 | JS.Forwardable=new JS.Module('Forwardable',{defineDelegator:function(b,e,d,f){d=d||e;this.define(d,function(){var a=this[b],c=a[e];return(typeof c==='function')?c.apply(a,arguments):c},{_0:f!==false})},defineDelegators:function(){var a=JS.array(arguments),c=a.shift(),b=a.length;while(b--)this.defineDelegator(c,a[b],a[b... | gpl-3.0 |
chris-steele/sliderMatchingTestPackage | src/extensions/adapt-contrib-pageLevelProgress/js/adapt-contrib-pageLevelProgress.js | 2860 | define(function(require) {
var Adapt = require('coreJS/adapt');
var Backbone = require('backbone');
var completionCalculations = require('./completionCalculations');
var PageLevelProgressMenuView = require('extensions/adapt-contrib-pageLevelProgress/js/PageLevelProgressMenuView');
var PageLevelPro... | gpl-3.0 |
NSAMR/journal.nsamr.ac.uk | jsamr/js/plugins/citationFormats.js | 1697 | /**
* @file js/plugins/citationFormats.js
*
* Copyright (c) 2014-2016 Simon Fraser University Library
* Copyright (c) 2000-2016 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* @brief Frontend script to fetch citation formats on demand.
*
* This script is designe... | gpl-3.0 |
abcdefg30/OpenRA | mods/ra/maps/soviet-06a/soviet06a.lua | 5846 | --[[
Copyright 2007-2021 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you 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 vers... | gpl-3.0 |
Jorge-Rodriguez/ansible | lib/ansible/modules/cloud/azure/azure_rm_devtestlabvirtualnetwork.py | 9917 | #!/usr/bin/python
#
# Copyright (c) 2019 Zim Kalinowski, <zikalino@microsoft.com>
#
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
ANSIBLE_METADATA = {'metadata_version': '1.1',
... | gpl-3.0 |
simonwydooghe/ansible | lib/ansible/module_utils/vultr.py | 12136 | # -*- coding: utf-8 -*-
# (c) 2017, René Moser <mail@renemoser.net>
# Simplified BSD License (see licenses/simplified_bsd.txt or https://opensource.org/licenses/BSD-2-Clause)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
import os
import time
import random
import urllib
from an... | gpl-3.0 |
jmcPereira/overture | ide/debug/src/main/java/org/overture/ide/debug/ui/launching/AbstractVdmLaunchConfigurationTabGroup.java | 2297 | /*
* #%~
* org.overture.ide.debug
* %%
* Copyright (C) 2008 - 2014 Overture
* %%
* 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) a... | gpl-3.0 |
chriskmanx/qmole | QMOLEDEV/boost_1_49_0/libs/wave/test/testwave/testfiles/t_5_021.cpp | 2754 | /*=============================================================================
Boost.Wave: A Standard compliant C++ preprocessor library
http://www.boost.org/
Copyright (c) 2001-2011 Hartmut Kaiser. Distributed under the Boost
Software License, Version 1.0. (See accompanying file
LICENSE_1_0.txt o... | gpl-3.0 |
phenix-factory/Veille-et-protege | plugins/auto/yaml/v1.5.2/inc/yaml.php | 3047 | <?php
if (!defined("_ECRIRE_INC_VERSION")) return;
# textwheel fournit yaml_decode() aussi...
# include_spip('inc/yaml-mini');
# wrapper de la class sfYAML pour SPIP
#
# fournit deux fonctions pour YAML,
# analogues a json_encode() et json_decode
#
# Regle de dev: ne pas se rendre dependant de la lib sous-jacente
/... | gpl-3.0 |