repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
westernmagic/NumPDE | series2_warmup/2d-poissonlFEM/coordinate_transform.hpp | 390 | #pragma once
#include <Eigen/Core>
//! Makes a coordinate transform that maps
//!
//! e1 to a1
//! e2 to a2
//!
//! where {e1, e2} is the standard basis for R^2.
template <class Point>
Eigen::Matrix2d makeCoordinateTransform(const Point &a1, const Point &a2) {
Eigen::Matrix2d coordinateTransform;
coordinateTransfor... | mit |
janurag/courtside | game/admin.py | 146 | from django.contrib import admin
from game.models import Game
class GameAdmin(admin.ModelAdmin):
pass
admin.site.register(Game, GameAdmin)
| mit |
codeforamerica/cityvoice | db/migrate/20130822004736_add_call_source_to_feedback_inputs.rb | 140 | class AddCallSourceToFeedbackInputs < ActiveRecord::Migration
def change
add_column :feedback_inputs, :call_source, :string
end
end
| mit |
keithbox/AngularJS-CRUD-PHP | vendor/phpoffice/phpword/src/PhpWord/Element/AbstractContainer.php | 11930 | <?php
/**
* This file is part of PHPWord - A pure PHP library for reading and writing
* word processing documents.
*
* PHPWord is free software distributed under the terms of the GNU Lesser
* General Public License version 3 as published by the Free Software Foundation.
*
* For the full copyright and license inf... | mit |
lboynton/phph-site | test/AppTest/Service/Talk/Exception/TalkNotFoundTest.php | 625 | <?php
declare(strict_types = 1);
namespace AppTest\Service\Talk\Exception;
use App\Service\Talk\Exception\TalkNotFound;
use Ramsey\Uuid\Uuid;
/**
* @covers \App\Service\Talk\Exception\TalkNotFound
*/
class TalkNotFoundTest extends \PHPUnit_Framework_TestCase
{
public function testFromUuid()
{
$uuid... | mit |
babel/babel | packages/babel-parser/test/fixtures/experimental/pipeline-operator/hack-caret-proposal-yield-identifier-unparenthesized/input.js | 16 | x |> yield + ^;
| mit |
leighhalliday/delayed_paperclip | lib/delayed_paperclip.rb | 3769 | require 'delayed_paperclip/jobs'
require 'delayed_paperclip/attachment'
require 'delayed_paperclip/url_generator'
require 'delayed_paperclip/railtie'
module DelayedPaperclip
class << self
def options
@options ||= {
:background_job_class => detect_background_task,
:url_with_processing => ... | mit |
youdz/angular | modules/@angular/core/test/reflection/reflector_common.ts | 1013 | import {makeDecorator, makeParamDecorator, makePropDecorator} from '@angular/core/src/util/decorators';
export class ClassDecoratorMeta {
constructor(public value: any /** TODO #9100 */) {}
}
export class ParamDecoratorMeta {
constructor(public value: any /** TODO #9100 */) {}
}
export class PropDecoratorMeta {
... | mit |
tungus28/phprealtimechat | bin/src/Connection/ChatConnection.php | 2512 | <?php
namespace Chat\Connection;
use Chat\Repository\ChatRepositoryInterface;
use Ratchet\ConnectionInterface;
class ChatConnection implements ChatConnectionInterface
{
/**
* The ConnectionInterface instance
*
* @var ConnectionInterface
*/
private $connection;
/**
* The username... | mit |
sufuf3/cdnjs | ajax/libs/froala-editor/3.0.0-rc.1/js/languages/en_ca.js | 7327 | /*!
* froala_editor v3.0.0-rc.1 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2019 Froala Labs
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('froala-editor')) :
typeof define === 'fun... | mit |
react-medellin/components | flow-typed/npm/babel-preset-flow_vx.x.x.js | 888 | // flow-typed signature: ecc5c7711455066a3b2cda7e62a4361a
// flow-typed version: <<STUB>>/babel-preset-flow_v^6.23.0/flow_v0.47.0
/**
* This is an autogenerated libdef stub for:
*
* 'babel-preset-flow'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your... | mit |
cfoxleyevans/RainfallAnalyzer | jfreechart-1.0.14/source/org/jfree/chart/plot/CombinedDomainCategoryPlot.java | 24743 | /* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2011, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreech... | mit |
0x0mar/mitmproxy | test/test_proxy.py | 4679 | import argparse
from libmproxy import cmdline
from libmproxy.proxy import ProxyConfig, process_proxy_options
from libmproxy.proxy.connection import ServerConnection
from libmproxy.proxy.primitives import ProxyError
from libmproxy.proxy.server import DummyServer, ProxyServer, ConnectionHandler
import tutils
from libpath... | mit |
matt9mg/concrete5 | concrete/blocks/express_entry_list/controller.php | 9293 | <?php
namespace Concrete\Block\ExpressEntryList;
use Concrete\Controller\Element\Search\CustomizeResults;
use \Concrete\Core\Block\BlockController;
use Concrete\Core\Entity\Express\Entity;
use Concrete\Core\Express\Entry\Search\Result\Result;
use Concrete\Core\Express\EntryList;
use Concrete\Core\Search\Column\Attribu... | mit |
Azure/autorest | packages/tools/md-mock-api/definitions/index.d.ts | 138 | /**
* Yargs is missing helpers definitions.
*/
declare module "yargs/helpers" {
export const hideBin: (argv: string[]) => string[];
}
| mit |
extend1994/cdnjs | ajax/libs/jsPlumb/2.8.8/js/jsplumb.js | 642531 | /**
* jsBezier
*
* Copyright (c) 2010 - 2017 jsPlumb (hello@jsplumbtoolkit.com)
*
* licensed under the MIT license.
*
* a set of Bezier curve functions that deal with Beziers, used by jsPlumb, and perhaps useful for other people. These functions work with Bezier
* curves of arbitrary degree.
*
* - functions ... | mit |
unaio/una | modules/boonex/decorous/updates/11.0.3_12.0.0/source/classes/BxDecorousStudioPage.php | 2515 | <?php defined('BX_DOL') or die('hack attempt');
/**
* Copyright (c) UNA, Inc - https://una.io
* MIT License - https://opensource.org/licenses/MIT
*
* @defgroup Decorous Decorous template
* @ingroup UnaModules
*
* @{
*/
define('BX_DECOROUS_STUDIO_TEMPL_TYPE_STYLES', 'styles');
class BxDecorousStudioPage... | mit |
ar13101085/senso_web | CI_phpStorm.php | 8894 | <?php die('This file is not really here!');
/**
* ------------- DO NOT UPLOAD THIS FILE TO LIVE SERVER ---------------------
*
* Implements code completion for CodeIgniter in phpStorm
* phpStorm indexes all class constructs, so if this file is in the project it will be loaded.
*
*
* This property values were b... | mit |
extend1994/cdnjs | ajax/libs/highcharts/7.0.2/es-modules/modules/oldie.src.js | 51352 | /* *
* (c) 2010-2019 Torstein Honsi
*
* Support for old IE browsers (6, 7 and 8) in Highcharts v6+.
*
* License: www.highcharts.com/license
*/
'use strict';
import H from '../parts/Globals.js';
import '../parts/Utilities.js';
import '../parts/SvgRenderer.js';
var VMLRenderer,
VMLRendererExtension,
VMLE... | mit |
cpojer/react | packages/react-noop-renderer/src/ReactNoopFlightServer.js | 2113 | /**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
/**
* This is a renderer of React that doesn't have a render target output.
* It is useful to demonstrate the intern... | mit |
chales-whitepages/twilio-whitepages-callerIDApp | twilio-ruby/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb | 11098 | ##
# This code was generated by
# \ / _ _ _| _ _
# | (_)\/(_)(_|\/| |(/_ v1.0.0
# / /
module Twilio
module REST
class Api < Domain
class V2010 < Version
class AccountContext < InstanceContext
class UsageList < ListResource
class RecordList < ListRes... | mit |
kayoubi/mongoid | lib/mongoid/criterion/optional.rb | 5194 | # encoding: utf-8
module Mongoid #:nodoc:
module Criterion #:nodoc:
module Optional
# Adds fields to be sorted in ascending order. Will add them in the order
# they were passed into the method.
#
# Example:
#
# <tt>criteria.ascending(:title, :dob)</tt>
def ascending(*fie... | mit |
feyeleanor/slices | uintptr_test.go | 24150 | package slices
import "testing"
func TestASliceString(t *testing.T) {
ConfirmString := func(s ASlice, r string) {
if x := s.String(); x != r {
t.Fatalf("%v erroneously serialised as '%v'", r, x)
}
}
ConfirmString(ASlice{}, "()")
ConfirmString(ASlice{0}, "(0)")
ConfirmString(ASlice{0, 1}, "(0 1)")
}
func... | mit |
cdnjs/cdnjs | ajax/libs/material-ui/5.0.0-beta.1/legacy/Select/Select.js | 9829 | import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
var _Input, _FilledInput;
import * as React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import { deepmerge } from '@material-ui/utils';
i... | mit |
cdnjs/cdnjs | ajax/libs/simple-icons/1.9.11/adobepremiere.js | 988 | module.exports={"title":"Adobe Premiere","hex":"EA77FF","source":"https://helpx.adobe.com/content/dam/help/mnemonics/pr_cc_app_RGB.svg","svg":"<svg aria-labelledby=\"simpleicons-adobepremiere-icon\" role=\"img\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><title id=\"simpleicons-adobepremiere-icon\">Adob... | mit |
sudaraka94/che | core/che-core-db/src/test/java/org/eclipse/che/core/db/schema/impl/flyway/FlywaySchemaInitializerTest.java | 11784 | /*
* Copyright (c) 2012-2017 Red Hat, 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 available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Red H... | epl-1.0 |
sudaraka94/che | ide/che-core-ide-app/src/main/java/org/eclipse/che/ide/part/widgets/panemenu/PaneMenuTabItemWidget.java | 2754 | /*
* Copyright (c) 2012-2017 Red Hat, 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 available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Red H... | epl-1.0 |
sudaraka94/che | wsagent/che-core-api-project/src/main/java/org/eclipse/che/api/vfs/search/Searcher.java | 2276 | /*
* Copyright (c) 2012-2017 Red Hat, 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 available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Red H... | epl-1.0 |
echoes-tech/eclipse.jsdt.core | org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/IErrorHandlingPolicy.java | 1133 | /*******************************************************************************
* Copyright (c) 2000, 2007 IBM Corporation and others.
* 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, an... | epl-1.0 |
sarpkayanehta/mdht | hl7/plugins/org.openhealthtools.mdht.emf.hl7.mif2/src/org/openhealthtools/mdht/emf/hl7/mif2/internal/impl/ArtifactCrossReferenceImpl.java | 9313 | /*******************************************************************************
* Copyright (c) 2006, 2009 David A Carlson
* 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 ava... | epl-1.0 |
lbchen/odl-mod | opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/utils/ConfigurationObject.java | 400 |
/*
* Copyright (c) 2013 Cisco Systems, Inc. and others. 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
*/
package or... | epl-1.0 |
sudaraka94/che | plugins/plugin-debugger/che-plugin-debugger-ide/src/main/java/org/eclipse/che/plugin/debugger/ide/debug/expression/EvaluateExpressionView.java | 2004 | /*
* Copyright (c) 2012-2017 Red Hat, 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 available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Red H... | epl-1.0 |
sleshchenko/che | plugins/plugin-java/che-plugin-java-ext-lang-server/src/test/resources/RenamePackage/testFail7/in/p1/A.java | 90 | package p1;
class B{
void m(AA fred){
r.A.length();
}
}
class AA{
static String A;
}
| epl-1.0 |
jarlebh/openhab2-addons | addons/io/org.openhab.io.neeo/src/main/java/org/openhab/io/neeo/internal/serialization/NeeoDeviceSerializer.java | 9046 | /**
* Copyright (c) 2010-2018 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 |
sudaraka94/che | plugins/plugin-maven/che-plugin-maven-server/src/main/java/org/eclipse/che/plugin/maven/server/inject/MavenModule.java | 4302 | /*
* Copyright (c) 2012-2017 Red Hat, 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 available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Red H... | epl-1.0 |
rarguello/ironjacamar | core/src/main/java/org/ironjacamar/core/bootstrapcontext/BootstrapContextImpl.java | 3991 | /*
* IronJacamar, a Java EE Connector Architecture implementation
* Copyright 2015, Red Hat Inc, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or... | epl-1.0 |
alexVengrovsk/che-core | platform-api-client-gwt/che-core-client-gwt-user/src/main/java/org/eclipse/che/api/user/gwt/client/UserProfileServiceClientImpl.java | 4837 | /*******************************************************************************
* Copyright (c) 2012-2015 Codenvy, S.A.
* 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 ... | epl-1.0 |
wojwal/msiext | src/Common/Lsa/ProcessTokenUnitTests.cpp | 723 | #include "StdAfxUnitTests.h"
#include "ProcessTokenUnitTests.h"
#include "ProcessToken.h"
using namespace AppSecInc::LSA;
using namespace AppSecInc::UnitTests::LSA;
CPPUNIT_TEST_SUITE_REGISTRATION(ProcessTokenUnitTests);
void ProcessTokenUnitTests::testConstructorDestructor()
{
{
ProcessToken... | epl-1.0 |
ctron/package-drone | bundles/org.eclipse.packagedrone.web/src/org/eclipse/packagedrone/web/controller/ControllerBinderParametersAware.java | 703 | /*******************************************************************************
* Copyright (c) 2015 IBH SYSTEMS GmbH.
* 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 a... | epl-1.0 |
google-code/bh-v1-jl | libraries/openid/Auth/OpenID/BigMath.php | 12571 | <?php
/**
* BigMath: A math library wrapper that abstracts out the underlying
* long integer library.
*
* PHP versions 4 and 5
*
* LICENSE: See the COPYING file included in this distribution.
*
* @access private
* @package OpenID
* @author JanRain, Inc. <openid@janrain.com>
* @copyright 2005-20... | gpl-2.0 |
tmhorne/simplewiki | zim/gui/customtools.py | 6157 | # -*- coding: utf-8 -*-
# Copyright 2010 Jaap Karssenberg <jaap.karssenberg@gmail.com>
'''This module contains code for defining and managing custom
commands.
'''
import gtk
import logging
from zim.gui.applications import CustomToolManager
from zim.gui.widgets import Dialog, IconButton, IconChooserButton
from zim.... | gpl-2.0 |
alekxeyuk/trinityzero | src/game/CreatureAISelector.cpp | 5390 | /*
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
* Copyright (C) 2008-2009 Trinity <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either vers... | gpl-2.0 |
vvanherk/oscar_emr | src/main/java/org/oscarehr/common/model/FlowSheetUserCreated.java | 3454 | /**
* Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. All Rights Reserved.
* This software is published under the GPL GNU General Public License.
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published... | gpl-2.0 |
dkgndec/fabulist | core/modules/system/src/Tests/Image/ToolkitGdTest.php | 18679 | <?php
/**
* @file
* Contains \Drupal\system\Tests\Image\ToolkitGdTest.
*/
namespace Drupal\system\Tests\Image;
use Drupal\Core\Image\ImageInterface;
use Drupal\Component\Utility\SafeMarkup;
use Drupal\simpletest\KernelTestBase;
/**
* Tests that core image manipulations work properly: scale, resize, rotate,
* c... | gpl-2.0 |
AntumDeluge/arianne-stendhal | src/games/stendhal/server/maps/magic/city/HealerNPC.java | 3091 | /* $Id$ */
/***************************************************************************
* (C) Copyright 2003-2010 - Stendhal *
***************************************************************************
***************************************************************************
... | gpl-2.0 |
BrunoChauvet/phpmyadmin | libraries/select_server.lib.php | 3512 | <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Code for displaying server selection
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Renders the server selection in list or selectbox form, or option tags only
*
* @param boolean $not_only_options whether to include form tags or ... | gpl-2.0 |
shchiu/openjdk | hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/cmsGCAdaptivePolicyCounters.cpp | 11532 | /*
* Copyright (c) 2004, 2005, 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 |
motoschifo/mame | src/devices/cpu/patinhofeio/patinho_feio_dasm.cpp | 7063 | // license:GPL-2.0+
// copyright-holders:Felipe Sanches
#include "emu.h"
#include "cpu/patinhofeio/patinho_feio.h"
CPU_DISASSEMBLE( patinho_feio )
{
int addr, value, n, f;
switch (oprom[0] & 0xF0)
{
case 0x00:
//PLA = "Pula": Unconditionally JUMP to effective address
addr = (oprom[0] & 0x0F) << 8 | oprom[1... | gpl-2.0 |
quanghung0404/it2tech | media/com_easysocial/apps/event/news/hooks/notification.comments.php | 2411 | <?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 deriva... | gpl-2.0 |
C4AProjects/Zuvaa | wp-content/languages/plugins/usernoise/admin/editor-page.php | 3705 | <?php
class UN_Admin_Editor_Page{
public function __construct(){
add_action('admin_print_styles-post.php', array($this, 'action_print_styles'));
add_action('add_meta_boxes_un_feedback', array($this, 'action_add_meta_boxes'));
add_action('post_updated_messages', array($this, 'filter_post_updated_messages'));
... | gpl-2.0 |
bruderstein/PythonScript | PythonLib/full/idlelib/idle_test/test_iomenu.py | 1278 | "Test , coverage 17%."
from idlelib import iomenu
import unittest
from test.support import requires
from tkinter import Tk
from idlelib.editor import EditorWindow
class IOBindingTest(unittest.TestCase):
@classmethod
def setUpClass(cls):
requires('gui')
cls.root = Tk()
cls.root.withdr... | gpl-2.0 |
1nv4d3r5/joomla-cms | libraries/cms/module/helper.php | 14245 | <?php
/**
* @package Joomla.Libraries
* @subpackage Module
*
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
use Joomla\Registry\Registry;
/**
* Module he... | gpl-2.0 |
mirror/vbox | src/VBox/Runtime/testcase/tstLdr-4.cpp | 9073 | /* $Id$ */
/** @file
* IPRT - Testcase for RTLdrOpen using ldrLdrObjR0.r0.
*/
/*
* Copyright (C) 2006-2012 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... | gpl-2.0 |
haiweiosu/Angular2.0-Simple-Project-Demo | node_modules/angular2/es6/prod/src/core/metadata.js | 28616 | /**
* This indirection is needed to free up Component, etc symbols in the public API
* to be used by the decorator versions of these annotations.
*/
export { QueryMetadata, ContentChildrenMetadata, ContentChildMetadata, ViewChildrenMetadata, ViewQueryMetadata, ViewChildMetadata, AttributeMetadata } from './metad... | gpl-2.0 |
tempesta-tech/mariadb | plugin/auth_gssapi/gssapi_errmsg.cc | 2492 | /* Copyright (c) 2015, Shuang Qiu, Robbie Harwood,
Vladislav Vaintroub & MariaDB Corporation
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copy... | gpl-2.0 |
rk34cj/qt-extend-4.4.3 | qtopiacore/qt/tools/designer/src/components/signalsloteditor/signalsloteditor_instance.cpp | 1929 | /****************************************************************************
**
** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information (qt-info@nokia.com)
**
** This file is part of the Qt Designer of the Qt Toolkit.
**
** Commercial Usage
** Licensees holding valid Qt... | gpl-2.0 |
epgmedia/beveragedynamics | wp-content/themes/reporter/admin/functions/functions.mediauploader.php | 6243 | <?php
/**
* WooThemes Media Library-driven AJAX File Uploader Module (2010-11-05)
*
* Slightly modified for use in the Options Framework.
*
* @since 1.0.0
*/
/**
* Sets up a custom post type to attach image to. This allows us to have
* individual galleries for different uploaders.
*/
if ( ! function_exists... | gpl-2.0 |
ehazell/AWPF | sites/all/libraries/yui/tests/common/tests/functional/yui/yui/src/test/java/com/yahoo/test/SelNG/YUI/tests/DragAndDropTestBasic.java | 755 | package com.yahoo.test.SelNG.YUI.tests;
import static org.testng.Assert.fail;
import org.apache.log4j.Logger;
import org.testng.annotations.Test;
import com.yahoo.test.SelNG.YUI.library.DragAndDropBasic;
import com.yahoo.test.SelNG.framework.util.SelNGRetryAnalyzer;
public class DragAndDropTestBasic exten... | gpl-2.0 |
teamfx/openjfx-8u-dev-rt | modules/graphics/src/main/java/com/sun/scenario/effect/impl/prism/PrImage.java | 3115 | /*
* Copyright (c) 2011, 2013, 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 |
andrijdavid/MyTheme | resources/views/pages/year.scout.php | 208 | @extends('layouts.default')
@section('content')
<div class="container">
@include('partials.timeline.timeline')
@include('partials.pagination')
</div>
@stop
@section('script')
<script></script>
@stop | gpl-2.0 |
gajop/Zero-K | units/chicken_blimpy.lua | 6362 | unitDef = {
unitname = [[chicken_blimpy]],
name = [[Blimpy]],
description = [[Dodo Bomber]],
airHoverFactor = 0,
amphibious = true,
buildCostEnergy = 0,
buildCostMetal = 0,
builder = false,
buildPic = [[chicken_blimpy.png]... | gpl-2.0 |
FFMG/myoddweb.piger | myodd/boost/libs/hana/example/misc/printf.cpp | 2380 | // Copyright Louis Dionne 2013-2016
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
#include <boost/hana/adjust_if.hpp>
#include <boost/hana/at_key.hpp>
#include <boost/hana/core/to.hpp>
#include <boost/hana/core/is_a.hpp>
... | gpl-2.0 |
krullgor/portalclassic | src/game/Level0.cpp | 9202 | /*
* 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... | gpl-2.0 |
webvangvn/nukeviet41 | modules/contact/admin.menu.php | 599 | <?php
/**
* @Project NUKEVIET 4.x
* @Author VINADES.,JSC (contact@vinades.vn)
* @Copyright (C) 2014 VINADES.,JSC. All rights reserved
* @License GNU/GPL version 2 or any later version
* @Createdate 07/30/2013 10:27
*/
if( ! defined( 'NV_ADMIN' ) ) die( 'Stop!!!' );
if( defined( 'NV_IS_GODADMIN' ) )
{
$submenu... | gpl-2.0 |
AlexOreshkevich/velomode.by | world/Specs/Scene/SkyAtmosphereSpec.js | 4503 | /*global defineSuite*/
defineSuite([
'Scene/SkyAtmosphere',
'Core/Cartesian3',
'Core/Ellipsoid',
'Renderer/ClearCommand',
'Scene/SceneMode',
'Specs/createCamera',
'Specs/createContext',
'Specs/createFrameState'
], function(
SkyAtmosphere,
... | gpl-2.0 |
xinran505982/videolan_vlc | modules/gui/qt4/input_manager.hpp | 9082 | /*****************************************************************************
* input_manager.hpp : Manage an input and interact with its GUI elements
****************************************************************************
* Copyright (C) 2006-2008 the VideoLAN team
* $Id$
*
* Authors: Clément Stenac <zorgl... | gpl-2.0 |
gfgtdf/wesnoth-old | src/tests/utils/fake_display.cpp | 2186 | /*
Copyright (C) 2008 - 2018 by Pauli Nieminen <paniemin@cc.hut.fi>
Part of the Battle for Wesnoth Project https://www.wesnoth.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; eith... | gpl-2.0 |
superwow/foton.core | dep/recastnavigation/Recast/RecastLayers.cpp | 16459 | //
// Copyright (c) 2009-2010 Mikko Mononen memon@inside.org
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
// Permission is granted to anyone to use this software for any purpose... | gpl-2.0 |
infoalex/huayra | cxp/sigesp_cxp_r_relacionndnc.php | 13496 | <?php
session_start();
////////////////////////////////////////////// SEGURIDAD /////////////////////////////////////////////
if(!array_key_exists("la_logusr",$_SESSION))
{
print "<script language=JavaScript>";
print "location.href='../sigesp_inicio_sesion.php'";
print "</script>"... | gpl-2.0 |
marciomlopes/cmaga | wp-content/plugins/types/wpcf.php | 8960 | <?php
/*
Plugin Name: Types - Complete Solution for Custom Fields and Types
Plugin URI: http://wordpress.org/extend/plugins/types/
Description: Define custom post types, custom taxonomy and custom fields.
Author: OnTheGoSystems
Author URI: http://www.onthegosystems.com
Version: 1.6.6.1
*/
/**
*
* $HeadUR... | gpl-2.0 |
YJSGframework/yjsg | includes/yjsgcore/classes/extend/38/component/view.php | 4038 | <?php
/**
* @package Joomla.Platform
* @subpackage Application
*
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
/**
* Base class for a Joomla View
*
* C... | gpl-2.0 |
donniexyz/calligra | krita/image/commands_new/kis_update_command.cpp | 1661 | /*
* Copyright (c) 2011 Dmitry Kazakov <dimula73@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 option) any later version.... | gpl-2.0 |
rofl0r/exult | audio/midi_drivers/mt32emu/mt32_file.cpp | 2888 | /* Copyright (c) 2003-2004 Various contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* rights to use, copy, modify, mer... | gpl-2.0 |
universsky/openjdk | jdk/test/javax/management/notification/BroadcasterSupportDeadlockTest.java | 6412 | /*
* Copyright (c) 2004, 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 |
mixerp6/mixerp | src/FrontEnd/MixERP.Net.FrontEnd/Modules/Inventory/Setup/Shippers.ascx.cs | 3069 | /********************************************************************************
Copyright (C) MixERP Inc. (http://mixof.org).
This file is part of MixERP.
MixERP 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... | gpl-2.0 |
vaseidong/hudbt | invite.php | 7095 | <?php
require "include/bittorrent.php";
dbconn();
require_once(get_langfile_path());
loggedinorreturn();
parked();
$id = 0 + $_REQUEST["id"];
$type = unesc($_REQUEST["type"]);
if (!$id) {
$id = $CURUSER['id'];
}
registration_check('invitesystem',true,false);
if (($CURUSER['id'] != $id && get_user_class() < $viewinvi... | gpl-2.0 |
CTSATLAS/wordpress | wp-content/plugins/constant-contact-api/vendor/constantcontact/constantcontact/src/Ctct/Services/ContactService.php | 5172 | <?php
namespace Ctct\Services;
use Ctct\Util\Config;
use Ctct\Components\Contacts\Contact;
use Ctct\Components\ResultSet;
/**
* Performs all actions pertaining to Constant Contact Contacts
*
* @package Services
* @author ContactContact
*/
class ContactService extends BaseService
{
/**
* Get a ResultSet... | gpl-2.0 |
XOOPS/XoopsCore25 | htdocs/class/xoopseditor/sampleform.inc.php | 2655 | <?php
/**
* XOOPS Editor usage guide
*
* You may not change or alter any portion of this comment or credits
* of supporting developers from this source code or any supporting source code
* which is considered copyrighted (c) material of the original comment or credit authors.
* This program is distributed in the ... | gpl-2.0 |
aesptux/aesptux.com-blog | output/theme/js/libs/instagram.js | 3070 | /*
UI functions dedicated to the Instagram modal panel
*/
var instagram_api_user = 'https://api.instagram.com/v1/users/';
var instagram_api_media = '/media/recent';
var instagram_api_token = '/?access_token=';
var url = null;
var spinner = (new Spinner(spin_opts)).spin();
var template = null;
var instagram_data = {};... | gpl-2.0 |
valib/UniversalMediaServer | src/main/java/net/pms/formats/ISO.java | 1114 | /*
* PS3 Media Server, for streaming any medias to your PS3.
* Copyright (C) 2008 A.Brochard
*
* 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 only.
*
* This... | gpl-2.0 |
BaerMitUmlaut/CBA_A3 | addons/jam/magwells_8x50mmR_Mannlicher.hpp | 72 | class CBA_8x50mmR_Mannlicher_M1895 {}; // Mannlicher M1895
| gpl-2.0 |
infoalex/huayra | spi/reportes/sigesp_spi_rpp_listado_apertura.php | 35937 | <?php
session_start();
header("Pragma: public");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Cache-Control: private",false);
if(!array_key_exists("la_logusr",$_SESSION))
{
print "<script language=JavaScript>";
print "close();";
print "</script>";
}
//---... | gpl-2.0 |
laurynas-biveinis/webscalesql-5.6 | client/mysqlbinlog.cc | 100987 | /*
Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed i... | gpl-2.0 |
liuyanghejerry/qtextended | qtopiacore/qt/src/3rdparty/webkit/WebCore/generated/JSSVGRenderingIntent.cpp | 7026 | /*
This file is part of the WebKit open source project.
This file has been generated by generate-bindings.pl. DO NOT MODIFY!
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation... | gpl-2.0 |
monkivn92/benhanonline | libraries/CBLib/CBLib/Database/DatabaseDriverInterface.php | 15872 | <?php
/**
* CBLib, Community Builder Library(TM)
*
* @version $Id: 4/27/14 2:26 AM $
* @package ${NAMESPACE}
* @copyright (C) 2004-2016 www.joomlapolis.com / Lightning MultiCom SA - and its licensors, all rights reserved
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU/GPL ve... | gpl-2.0 |
tracyapps/chad | node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/bin-build/node_modules/decompress/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/unique-stream/node_modules/es6-set/node_modules/es5-ext/test/date/valid-date.js | 250 | 'use strict';
module.exports = function( t, a ) {
var d = new Date();
a( t( d ), d, "Date" );
a.throws( function() {
t( {} );
}, "Object" );
a.throws( function() {
t( { valueOf: function() {
return 20;
} } );
}, "Number object" );
};
| gpl-2.0 |
smalyshev/blazegraph | dsi-utils/src/java/it/unimi/dsi/compression/HuffmanCodec.java | 14921 | package it.unimi.dsi.compression;
/*
* DSI utilities
*
* Copyright (C) 2005-2009 Sebastiano Vigna
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version ... | gpl-2.0 |
olek1984/dremboard | wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/functions.plugin-api.php | 27489 | <?php
// Last sync [WP14924]
/**
* The plugin API is located in this file, which allows for creating actions
* and filters and hooking functions, and methods. The functions or methods will
* then be run when the action or filter is called.
*
* The API callback examples reference functions, but can be meth... | gpl-2.0 |
gidbot/treble | wp-content/plugins/fresh-framework/framework/themes/layouts/optionsHolders/class.ffOptionsHolder_Layout_Placement.php | 1836 | <?php
class ffOptionsHolder_Layout_Placement extends ffOptionsHolder {
public function getOptions() {
$s = $this->_getOnestructurefactory()->createOneStructure('layout');
$s->startSection('placement');
$s->addElement( ffOneElement::TYPE_HTML,'', '<div id="post-formats-select" class="ff-custom-code-pla... | gpl-2.0 |
Gurgel100/gcc | libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/wrapped_locale.cc | 2083 | // { dg-require-namedlocale "de_DE.ISO8859-15" }
// { dg-require-namedlocale "en_HK.ISO8859-1" }
// { dg-require-namedlocale "es_ES.ISO8859-15" }
// { dg-require-namedlocale "fr_FR.ISO8859-15" }
// { dg-require-namedlocale "ja_JP.eucJP" }
// 2001-08-15 Benjamin Kosnik <bkoz@redhat.com>
// Copyright (C) 2001-2021 Fre... | gpl-2.0 |
google-code/bh-v1-jl | administrator/components/com_modules/toolbar.modules.html.php | 2389 | <?php
/**
* @version $Id: toolbar.modules.html.php 14401 2010-01-26 14:10:00Z louis $
* @package Joomla
* @subpackage Modules
* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modifi... | gpl-2.0 |
webian/TYPO3.CMS | typo3/sysext/core/Classes/Cache/Frontend/StringFrontend.php | 3475 | <?php
namespace TYPO3\CMS\Core\Cache\Frontend;
/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license i... | gpl-2.0 |
aplocher/mRemoteNG | mRemoteNGTests/Connection/ConnectionInfoComparerTests.cs | 1178 | using System.ComponentModel;
using mRemoteNG.Connection;
using NUnit.Framework;
namespace mRemoteNGTests.Connection
{
public class ConnectionInfoComparerTests
{
private ConnectionInfo _con1;
private ConnectionInfo _con2;
[OneTimeSetUp]
public void OnetimeSetup()
{
... | gpl-2.0 |
ghtmtt/QGIS | tests/src/python/test_qgscolorramplegendnode.py | 21371 | # -*- coding: utf-8 -*-
"""QGIS Unit tests for QgsColorRampLegendNode.
.. note:: 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... | gpl-2.0 |
parsonsc/H2only | wp-content/plugins/justgiving/lib/ApiClients/Model/CreateAccountRequest.php | 301 | <?php
include_once 'Address.php';
class CreateAccountRequest
{
public $reference;
public $title;
public $firstName;
public $lastName;
public $address;
public $email;
public $password;
public $acceptTermsAndConditions;
public function __construct()
{
$this->address = new Address();
}
} | gpl-2.0 |
lostdj/Jaklin-OpenJFX | apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/panel/content/guides/SegmentIndex.java | 3070 | /*
* Copyright (c) 2012, 2014, Oracle and/or its affiliates.
* All rights reserved. Use is subject to license terms.
*
* This file is available and licensed under the following license:
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the followin... | gpl-2.0 |
GlidingShadow/Applied-Energistics-2 | src/main/java/appeng/parts/layers/LayerISidedInventory.java | 5855 | /*
* This file is part of Applied Energistics 2.
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
*
* Applied Energistics 2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either ver... | gpl-3.0 |
Progressive-Learning-Platform/progressive-learning-platform | reference/sw/PLPTool/src/plptool/mods/VGACanvas.java | 1186 | /*
Copyright 2010 David Fritz, Brian Gordon, Wira Mulia
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.
... | gpl-3.0 |
gratefulfrog/SPI | RPI/Python/serialApp/SerialSlave2560_wire/board.cpp | 655 | #include "board.h"
Board::Board(uint8_t numberADCs, const uint8_t nbChannelVec[]) : nbADCs(numberADCs){
adcMgrVec = new ADCMgr*[nbADCs];
for (uint8_t i=0;i<nbADCs;i++){
if (nbChannelVec[i]>0){
adcMgrVec[i] = new YADCMgr(i+1,nbChannelVec[i]); // init adcMgr vec if there are channels, if not, skip... | gpl-3.0 |
FarhadF/mautic | app/bundles/UserBundle/Model/UserModel.php | 9148 | <?php
/*
* @copyright 2014 Mautic Contributors. All rights reserved
* @author Mautic
*
* @link http://mautic.org
*
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
namespace Mautic\UserBundle\Model;
use Mautic\CoreBundle\Model\FormModel;
use Mautic\EmailBundle\Helper\MailHelp... | gpl-3.0 |