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 |
|---|---|---|---|---|---|
declare module 'fast-memoize' {
declare type Cache<K, V> = {
get: (key: K) => V,
set: (key: K, value: V) => void,
has: (key: K) => boolean
}
declare type Options = {
cache?: Cache<*, *>;
serializer?: (...args: any[]) => any;
strategy?: <T>(fn: T, options?: Options) => T;
}
declare ... | splodingsocks/FlowTyped | definitions/npm/fast-memoize_v2.x.x/flow_v0.53.x-v0.103.x/fast-memoize_v2.x.x.js | JavaScript | mit | 374 |
angular.module('ualib.imageCarousel', ['angular-carousel'])
.constant('VIEW_IMAGES_URL', '//wwwdev2.lib.ua.edu/erCarousel/api/slides/active')
.factory('imageCarouselFactory', ['$http', 'VIEW_IMAGES_URL', function imageCarouselFactory($http, url){
return {
getData: function(){
... | 8bitsquid/roots-ualib | assets/js/_ualib_imageCarousel.js | JavaScript | mit | 2,702 |
import { ListWrapper } from 'angular2/src/facade/collection';
import { stringify, isBlank } from 'angular2/src/facade/lang';
import { BaseException, WrappedException } from 'angular2/src/facade/exceptions';
function findFirstClosedCycle(keys) {
var res = [];
for (var i = 0; i < keys.length; ++i) {
if (L... | binariedMe/blogging | node_modules/angular2/es6/prod/src/core/di/exceptions.js | JavaScript | mit | 7,494 |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {ENTER} from '@angular/cdk/keycodes';
import {CommonModule} from '@angular/common';
import {NgModule} from '@a... | josephperrott/material2 | src/material-experimental/mdc-chips/module.ts | TypeScript | mit | 1,601 |
#region Copyright
//
// DotNetNuke® - http://www.dotnetnuke.com
// Copyright (c) 2002-2014
// by DotNetNuke Corporation
//
// 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 restric... | raphael-m/Dnn.Platform | DNN Platform/DotNetNuke.Web/InternalServices/GettingStartedController.cs | C# | mit | 6,016 |
// Help functions
/*
* Return a string with all helper functions whose name contains the 'substring';
* if the 'searchDescription' is true, then also search the function description");
*/
function getHelp(substring, searchDescription) {
return framework.getJavaScriptHelp(".*(?i:" + substring + ").*", searchDesc... | workcraft/workcraft | workcraft/WorkcraftCore/res/scripts/core-help.js | JavaScript | mit | 1,523 |
FullCalendar.globalLocales.push(function () {
'use strict';
var it = {
code: 'it',
week: {
dow: 1, // Monday is the first day of the week.
doy: 4, // The week that contains Jan 4th is the first week of the year.
},
buttonText: {
prev: 'Prec',
next: 'Succ',
today: 'Oggi... | unaio/una | upgrade/files/11.0.4-12.0.0.B1/files/plugins_public/fullcalendar/locale/it.js | JavaScript | mit | 612 |
// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package get
import (
"errors"
"internal/testenv"
"io/ioutil"
"os"
"path"
"path/filepath"
"testing"
"cmd/go/internal/web"
)
// Test that RepoRootForIm... | christopher-henderson/Go | src/cmd/go/internal/get/vcs_test.go | GO | mit | 12,175 |
<?php
namespace Hateoas\Tests\Expression;
use Symfony\Component\ExpressionLanguage\ExpressionLanguage;
use Symfony\Component\ExpressionLanguage\Node\Node;
use Symfony\Component\ExpressionLanguage\ParsedExpression;
use Hateoas\Tests\TestCase;
use Hateoas\Expression\ExpressionEvaluator;
use Hateoas\Expression\Expressio... | witalikkowal/Store | vendor/willdurand/hateoas/tests/Hateoas/Tests/Expression/ExpressionEvaluatorTest.php | PHP | mit | 5,029 |
<?php
/**
* Pro customizer section.
*
* @since 1.0.0
* @access public
*/
class Epsilon_Section_Pro extends WP_Customize_Section {
/**
* The type of customize section being rendered.
*
* @since 1.0.0
* @access public
* @var string
*/
public $type = 'epsilon-section-pro';
/**
* Custom pro butt... | jmelgarejo/Clan | wordpress/wp-content/themes/sparkling/inc/libraries/epsilon-framework/sections/class-epsilon-section-pro.php | PHP | mit | 2,068 |
/// <summary>
/// This class handles user ID, session ID, time stamp, and sends a user message, optionally including system specs, when the game starts
/// </summary>
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System;
using System.Net;
#i... | samoatesgames/Ludumdare30 | Unity/Assets/GameAnalytics/Plugins/Framework/Scripts/GA_GenericInfo.cs | C# | mit | 9,640 |
import {OverlayRef, GlobalPositionStrategy} from '../core';
import {AnimationEvent} from '@angular/animations';
import {DialogPosition} from './dialog-config';
import {Observable} from 'rxjs/Observable';
import {Subject} from 'rxjs/Subject';
import {MdDialogContainer} from './dialog-container';
import 'rxjs/add/operato... | trik/material2 | src/lib/dialog/dialog-ref.ts | TypeScript | mit | 2,903 |
//
import java.util.Comparator;
abc.sort(Comparator.naturalOrder());
//
| general-language-syntax/GLS | test/integration/ListSortStrings/list sort strings.java | Java | mit | 73 |
module RR
module Errors
class SpyVerificationError < RRError
end
end
end | priit/adva_cms | test/rr/lib/rr/errors/spy_verification_error.rb | Ruby | mit | 84 |
<?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... | keithbox/AngularJS-CRUD-PHP | vendor/phpoffice/phpword/src/PhpWord/Element/AbstractContainer.php | PHP | mit | 11,930 |
using OfficeDevPnP.MSGraphAPIDemo.Components;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Mvc;
using OfficeDevPnP.MSGraphAPIDemo.Models;
using System.Threading;
namespace OfficeDevPnP.MSGraphAPIDemo.Controllers
{
public ... | comblox/PnP | Samples/MicrosoftGraph.Office365.Generic/OfficeDevPnP.MSGraphAPIDemo/Controllers/FilesController.cs | C# | mit | 6,983 |
/* @flow */
/*eslint-disable no-undef, no-unused-vars, no-console*/
import _, {
compose,
pipe,
curry,
filter,
find,
isNil,
repeat,
replace,
zipWith
} from "ramda";
import { describe, it } from 'flow-typed-test';
const ns: Array<number> = [1, 2, 3, 4, 5];
const ss: Array<string> = ["one", "two", "thre... | flowtype/flow-typed | definitions/npm/ramda_v0.27.x/flow_v0.76.x-v0.103.x/test_ramda_v0.27.x_misc.js | JavaScript | mit | 2,464 |
"""
A directive for including a matplotlib plot in a Sphinx document.
By default, in HTML output, `plot` will include a .png file with a
link to a high-res .png and .pdf. In LaTeX output, it will include a
.pdf.
The source code for the plot may be included in one of three ways:
1. **A path to a source file** as t... | Solid-Mechanics/matplotlib-4-abaqus | matplotlib/sphinxext/plot_directive.py | Python | mit | 27,667 |
/**
* @author mrdoob / http://mrdoob.com/
* @author bhouston / http://exocortex.com/
*/
( function ( THREE ) {
THREE.Raycaster = function ( origin, direction, near, far ) {
this.ray = new THREE.Ray( origin, direction );
// normalized ray.direction required for accurate distance calculations
if( this.ray.d... | DLar/three.js | src/core/Raycaster.js | JavaScript | mit | 5,607 |
module Facter::Util::Virtual
##
# virt_what is a delegating helper method intended to make it easier to stub
# the system call without affecting other calls to
# Facter::Util::Resolution.exec
def self.virt_what(command = "virt-what")
Facter::Util::Resolution.exec command
end
##
# lspci is a delegat... | phatpenguin/boxen-belgarion | .bundle/ruby/1.9.1/gems/librarian-puppet-0.9.8/vendor/gems/ruby/1.9.1/gems/facter-1.6.17/lib/facter/util/virtual.rb | Ruby | mit | 2,821 |
'use strict';
require('../../modules/es.weak-set');
require('../../modules/esnext.weak-set.from');
var WeakSet = require('../../internals/path').WeakSet;
var weakSetfrom = WeakSet.from;
module.exports = function from(source, mapFn, thisArg) {
return weakSetfrom.call(typeof this === 'function' ? this : WeakSet, sourc... | AntonyThorpe/knockout-apollo | tests/node_modules/core-js/features/weak-set/from.js | JavaScript | mit | 343 |
/** @babel */
/** @jsx etch.dom **/
import etch from 'etch';
export default class WelcomeView {
constructor(props) {
this.props = props;
etch.initialize(this);
this.element.addEventListener('click', event => {
const link = event.target.closest('a');
if (link && link.dataset.event) {
... | PKRoma/atom | packages/welcome/lib/welcome-view.js | JavaScript | mit | 7,386 |
/*
* Copyright (c) 2014-2015 Håkan Edling
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* http://github.com/piranhacms/piranha.vnext
*
*/
using System;
using System.IO;
namespace Piranha.IO
{
/// <summary>
/// ... | mysticmind/Piranha.vNext | Core/Piranha/IO/IMedia.cs | C# | mit | 1,345 |
<?php
namespace PragmaRX\Tracker\Data\Repositories;
use PragmaRX\Tracker\Support\RefererParser;
class Referer extends Repository {
/**
* @var RefererParser
*/
private $refererParser;
/**
* @var
*/
private $currentUrl;
/**
* @var
*/
private $searchTermModel;
/**
* Crea... | ssv445/tracker | src/Data/Repositories/Referer.php | PHP | mit | 1,894 |
'use strict';
angular.module('sw.plugin.split', ['sw.plugins'])
.factory('split', function ($q) {
return {
execute: execute
};
function execute (url, swagger) {
var deferred = $q.defer();
if (swagger && swagger.swagger && !swagger.tags) {
... | darosh/angular-swagger-ui-material | src/plugins/before-parse/split.js | JavaScript | mit | 1,127 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Build.Engine.Incrementals
{
public sealed class ProcessorStepInfo
{
/// <summary>
/// The name of processor step.... | DuncanmaMSFT/docfx | src/Microsoft.DocAsCode.Build.Engine/Incrementals/ProcessorStepInfo.cs | C# | mit | 1,123 |
/*-----------------------------------------------------------------------------------
/*
/* Main JS
/*
-----------------------------------------------------------------------------------*/
(function($) {
/*---------------------------------------------------- */
/* Preloader
----------------------------------... | wassapste97/sitomio | resources/js/main.js | JavaScript | mit | 8,220 |
/**
* @license Highcharts Gantt JS v7.2.0 (2019-09-03)
*
* CurrentDateIndicator
*
* (c) 2010-2019 Lars A. V. Cabrera
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
factory['default'] = factory;
module.exports... | extend1994/cdnjs | ajax/libs/highcharts/7.2.0/modules/current-date-indicator.src.js | JavaScript | mit | 4,598 |
<?php
namespace Illuminate\Support;
use stdClass;
use Countable;
use Exception;
use ArrayAccess;
use Traversable;
use ArrayIterator;
use CachingIterator;
use JsonSerializable;
use IteratorAggregate;
use Illuminate\Support\Debug\Dumper;
use Illuminate\Support\Traits\Macroable;
use Illuminate\Contracts\Support\Jsonable... | poetimp/ltcsw | submissions/include/vendor/tightenco/collect/src/Illuminate/Support/Collection.php | PHP | mit | 42,804 |
export interface StripeCardTokenParams {
/**
* Card number
*/
number: string;
/**
* Expiry month
*/
expMonth: number;
/**
* Expiry year
*/
expYear: number;
/**
* CVC / CVV
*/
cvc?: string;
/**
* Cardholder name
*/
... | Spect-AR/Spect-AR | node_modules/ionic-native/dist/esm/plugins/stripe.d.ts | TypeScript | mit | 1,924 |
<?php
/**
* Copyright (c) 2013 Robin Appelman <icewind@owncloud.com>
* This file is licensed under the Affero General Public License version 3 or
* later.
* See the COPYING-README file.
*/
namespace OC\User;
use OC\Hooks\PublicEmitter;
use OCP\IUserManager;
/**
* Class Manager
*
* Hooks available in scope \... | ACOKing/ArcherSys | owncloud-serv/lib/private/user/manager.php | PHP | mit | 7,534 |
var dep = require('./dep');
dep(''); | gsteacy/ts-loader | test/execution-tests/1.8.2_allowJs-entryFileIsJs/src/app.js | JavaScript | mit | 37 |
package org.multibit.hd.ui.views.wizards.appearance_settings;
import com.google.common.base.Optional;
import org.multibit.hd.ui.views.wizards.AbstractWizard;
import org.multibit.hd.ui.views.wizards.AbstractWizardPanelView;
import java.util.Map;
/**
* <p>Wizard to provide the following to UI for "appearance" wizard:... | oscarguindzberg/multibit-hd | mbhd-swing/src/main/java/org/multibit/hd/ui/views/wizards/appearance_settings/AppearanceSettingsWizard.java | Java | mit | 984 |
/*
* 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 org... | aryantaheri/controller | opendaylight/netconf/config-netconf-connector/src/main/java/org/opendaylight/controller/netconf/confignetconfconnector/mapping/attributes/toxml/SimpleUnionAttributeWritingStrategy.java | Java | epl-1.0 | 1,436 |
/*******************************************************************************
* 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... | drbgfc/mdht | hl7/plugins/org.openhealthtools.mdht.emf.hl7.mif2/src/org/openhealthtools/mdht/emf/w3c/xhtml/internal/impl/CodeImpl.java | Java | epl-1.0 | 8,990 |
/*******************************************************************************
* Copyright (c) 2005-2010 VecTrace (Zingo Andersen) 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 distrib... | boa0332/mercurialeclipse | plugin/src/com/vectrace/MercurialEclipse/commands/RootlessHgCommand.java | Java | epl-1.0 | 1,464 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2011-2012 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | rfdrake/opennms | smoke-test/src/test/java/org/opennms/smoketest/ChartsPageTest.java | Java | gpl-2.0 | 1,723 |
<?php
/**
* @package gantry
* @subpackage core
* @version 3.2.12 October 30, 2011
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2011 RocketTheme, LLC
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*
* Gantry uses the Joomla Framework (http://www.... | worldwideinterweb/joomla-173 | libraries/gantry/core/gantrylayout.class.php | PHP | gpl-2.0 | 973 |
<?php
class WikiLeaksBridge extends BridgeAbstract {
const NAME = 'WikiLeaks';
const URI = 'https://wikileaks.org';
const DESCRIPTION = 'Returns the latest news or articles from WikiLeaks';
const MAINTAINER = 'logmanoriginal';
const PARAMETERS = array(
array(
'category' => array(
'name' => 'Category',
... | stupiddingo/boisewaldorf | web/UXsQTutSQY7w7u6s/bridges/WikiLeaksBridge.php | PHP | gpl-2.0 | 3,255 |
/**
* @file DllLoader.cpp
* @author Minmin Gong
*
* @section DESCRIPTION
*
* This source file is part of KFL, a subproject of KlayGE
* For the latest info, see http://www.klayge.org
*
* @section LICENSE
*
* This program is free software; you can redistribute it and/or modify
* it under the terms... | qiankanglai/KlayGE | KFL/src/Kernel/DllLoader.cpp | C++ | gpl-2.0 | 2,405 |
/**
* @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'magicline', 'it', {
title: 'Inserisci paragrafo qui'
} );
| SeeyaSia/www | web/libraries/ckeditor/plugins/magicline/lang/it.js | JavaScript | gpl-2.0 | 247 |
/* Copyright (C) 2006 - 2012 ScriptDev2 <http://www.scriptdev2.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.... | Remix99/MaNGOS | src/bindings/scriptdev2/scripts/outland/hellfire_citadel/hellfire_ramparts/instance_hellfire_ramparts.cpp | C++ | gpl-2.0 | 4,618 |
<?php
/*
V4.81 3 May 2006 (c) 2000-2006 John Lim. All rights reserved.
Released under both BSD license and Lesser GPL library license.
Whenever there is any discrepancy between the two licenses,
the BSD license will take precedence.
Set tabs to 4 for best viewing.
Latest version is available at http:/... | omerta/huayra | shared/class_folder/adodb/drivers/adodb-sybase.inc.php | PHP | gpl-2.0 | 12,524 |
/*
* Copyright (C) 2008-2014 TrinityCore <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 version 2 of the License, or (at your
* option) any later ve... | mynew6/blabblaba | src/server/scripts/Spells/spell_pet.cpp | C++ | gpl-2.0 | 70,765 |
/*
* Jeremy Compostella <jeremy.compostella@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.
*
... | Trim/qtmoko | devices/htcuniversal/src/plugins/qtopiacore/kbddrivers/htckeyboard/htckbdhandler.cpp | C++ | gpl-2.0 | 3,174 |
<?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... | T0MM0R/magento | web/app/code/core/Mage/CatalogInventory/sql/cataloginventory_setup/mysql4-upgrade-0.7.2-0.7.3.php | PHP | gpl-2.0 | 1,249 |
<?php
/**
* Redux Framework 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
* any later version.
* Redux Framework is distributed in the hope that it will be useful,
*... | JulioKno/Portal-UNIVIM-2016 | wp-content/themes/sento/admin/main/inc/extensions/thinkup_section/thinkup_section/field_thinkup_section.php | PHP | gpl-2.0 | 2,177 |
"""
accounts.test_views
===================
Tests the REST API calls.
Add more specific social registration tests
"""
import responses
from django.core.urlresolvers import reverse
from django.core import mail
from django.contrib.sites.models import Site
from django.contrib.auth import get_user_model
... | JTarball/docker-django-polymer | docker/app/app/backend/apps/accounts/test_views.py | Python | gpl-2.0 | 42,275 |
/*
* Copyright (C) 2008-2010 TrinityCore <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 version 2 of the License, or (at your
* option) any later ve... | Archives/ro_core | src/server/scripts/Northrend/Gundrak/boss_drakkari_colossus.cpp | C++ | gpl-2.0 | 9,756 |
/*
* The Mana Server
* Copyright (C) 2006-2010 The Mana World Development Team
*
* This file is part of The Mana Server.
*
* The Mana Server 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; eithe... | mana/manaserv | src/utils/zlib.cpp | C++ | gpl-2.0 | 2,951 |
<?php
class InstallDocFormatterTest extends \MediaWikiUnitTestCase {
/**
* @covers InstallDocFormatter
* @dataProvider provideDocFormattingTests
*/
public function testFormat( $expected, $unformattedText, $message = '' ) {
$this->assertEquals(
$expected,
InstallDocFormatter::format( $unformattedText ),... | pierres/archlinux-mediawiki | tests/phpunit/unit/includes/installer/InstallDocFormatterTest.php | PHP | gpl-2.0 | 3,039 |
import React from "react";
import PropTypes from "prop-types";
import Box from "grommet/components/Box";
import Paragraph from "grommet/components/Paragraph";
import Label from "grommet/components/Label";
import FormLayer from "../components/FormLayer";
class LayerObjectFieldTemplate extends React.Component {
cons... | pamfilos/data.cern.ch | ui/cap-react/src/components/drafts/form/themes/grommet-preview/templates/LayerObjectFieldTemplate.js | JavaScript | gpl-2.0 | 1,677 |
// 20020717 gdr
// Copyright (C) 2002-2021 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 ... | Gurgel100/gcc | libstdc++-v3/testsuite/26_numerics/slice/1.cc | C++ | gpl-2.0 | 1,704 |
<?php
/**
* This file represents an example of the code that themes would use to register
* the required plugins.
*
* It is expected that theme authors would copy and paste this code into their
* functions.php file, and amend to suit.
*
* @package TGM-Plugin-Activation
* @subpackage Example
* @version 2.... | ucommerzdev3/activities_lwdwn | wp-content/themes/wpex-fashionista/functions/recommend-plugins.php | PHP | gpl-2.0 | 6,543 |
"""
This page is in the table of contents.
Plugin to home the tool at beginning of each layer.
The home manual page is at:
http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Home
==Operation==
The default 'Activate Home' checkbox is on. When it is on, the functions described below will work, when it is off, not... | makerbot/ReplicatorG | skein_engines/skeinforge-47/skeinforge_application/skeinforge_plugins/craft_plugins/home.py | Python | gpl-2.0 | 8,040 |
/*
* This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
... | Exitare/TrinityCore | src/server/scripts/EasternKingdoms/Scholomance/boss_jandice_barov.cpp | C++ | gpl-2.0 | 3,997 |
<?php
/**
* @package AkeebaBackup
*
* @license GNU General Public License, version 2 or later
* @author Nicholas K. Dionysopoulos
* @copyright Copyright 2006-2009 Nicholas K. Dionysopoulos
* @since 1.3
*/
defined('_JEXEC') or die();
/**
* Database Table filter Model class
*
*/
class AkeebaModelDbefs extends ... | dannysaban/store | administrator/components/com_akeeba/models/dbefs.php | PHP | gpl-2.0 | 9,104 |
<?php
/**
* File containing the MultipleObjectConverter 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.
* @version //autogentag//
*/
namespace eZ\Publish\Core\MVC\Legacy\Templating\C... | TestingCI/php_mysql_build | eZ/Publish/Core/MVC/Legacy/Templating/Converter/MultipleObjectConverter.php | PHP | gpl-2.0 | 1,109 |
var UserInformation_AccountStore = new Ext.data.Store({
fields:[
{name : 'Name'},
{name : 'ID'},
{name : 'Mail'},
{name : 'Roles'}
],
reader : AccountReader
});
var UserInformationItem = [
{
fieldLabel : 'User ID',
name : 'id',
readOnly : true
}, {
fieldLabel : 'User Name... | chusiang/ezScrum_Ubuntu | WebContent/javascript/ezScrumPanel/UserInformationManagementFormPanel.js | JavaScript | gpl-2.0 | 4,497 |
/*
* This file is part of JPhotoAlbum.
* Copyright 2004 Jari Karjala <jpkware.com> & Tarja Hakala <hakalat.net>
*
* @version $Id: JPhotoDirectory.java,v 1.1.1.1 2004/05/21 18:24:59 jkarjala Exp $
*/
/** Container for a single photo, may not always contain a real photo, but
* just text element.
* @see JPhotoAlbu... | 91wzhang/sei-jphotoalbum | src/fi/iki/jka/JPhotoDirectory.java | Java | gpl-2.0 | 2,070 |
(function ($) {
providers_small.mailru = {
name: 'mail.ru',
url: "javascript: $('#mail_ru_auth_login a').click();"
};
openid.getBoxHTML__mailru = openid.getBoxHTML;
openid.getBoxHTML = function (box_id, provider, box_size, index) {
if (box_id == 'mailru') {
var no_sprite = this.no_sprite;
this.no_sprite = ... | janicak/C-Db | sites/all/modules/openid_selector/openid_selector_mailru.js | JavaScript | gpl-2.0 | 650 |
/*
* "$Id: tcpstream.cc,v 1.11 2007-03-01 01:09:39 rmf24 Exp $"
*
* TCP-on-UDP (tou) network interface for RetroShare.
*
* Copyright 2004-2006 by Robert Fernie.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License Version 2 as... | sehraf/RetroShare | libretroshare/src/tcponudp/tcpstream.cc | C++ | gpl-2.0 | 64,510 |
<?php
/**
* Maintenance controller
*
* @package CSVI
* @author Roland Dalmulder
* @link http://www.csvimproved.com
* @copyright Copyright (C) 2006 - 2013 RolandD Cyber Produksi. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
* @version $Id: maintenance.php 22... | adrian2020my/vichi | administrator/components/com_csvi/controllers/maintenance.php | PHP | gpl-2.0 | 12,960 |
/*
* 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... | bigretromike/UniversalMediaServer | src/main/java/net/pms/encoders/TsMuxeRVideo.java | Java | gpl-2.0 | 27,024 |
<?php
/**
* Template Name: Template Content Sidebar Sidebar
*
* Page template for
*
* @package Openstrap
* @since Openstrap 0.1
*/
get_header(); ?>
<!-- Main Content -->
<div class="col-md-6" role="main">
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_templat... | IdeasFactoryPL/stef-pol | wp-content/themes/openstrap/page-templates/content-sidebar-sidebar.php | PHP | gpl-2.0 | 791 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
namespace STSdb4.Data
{
public class DataComparer : IComparer<IData>
{
public readonly Func<IData, IData, int> compare;
public readonly Type Type;
... | Injac/STSdb4 | STSdb4/Data/DataComparer.cs | C# | gpl-2.0 | 2,148 |
<?php
/**
* This script is included by the barcode_img_wristband.php script for arabic languages
*/
# Version History:
# version 0.1 : First release. created on ( 22/01/2004) By Walid Fathalla
#
# Bug Report and Suggestion to:
# Walid Fathalla ... | blesko/ELCT | main/imgcreator/inc_wristband_ar.php | PHP | gpl-2.0 | 6,592 |
<?php
/**
* Webservices component for Joomla! CMS
*
* @copyright Copyright (C) 2004 - 2015 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later
*/
namespace Webservices\Controller;
use Webservices\Helper;
use Webservices\Model\WebserviceModel;
/**
* Apply ... | joomla-projects/webservices | component/admin/Webservices/Controller/ApplyController.php | PHP | gpl-2.0 | 1,362 |
<?php
/*
* Module written/ported by Xavier Noguer <xnoguer@rezebra.com>
*
* PERL Spreadsheet::WriteExcel module.
*
* The author of the Spreadsheet::WriteExcel module is John McNamara
* <jmcnamara@cpan.org>
*
* I _DO_ maintain this code, and John McNamara has nothing to do with the
* porting of this code to PHP. ... | GeorgeStreetCoop/CORE-POS | fannie/src/Excel/xls_write/Spreadsheet_Excel_Writer/Writer.php | PHP | gpl-2.0 | 3,325 |
/*****************************************************************************
* SearchFragment.java
*****************************************************************************
* Copyright © 2014-2015 VLC authors, VideoLAN and VideoLabs
* Author: Geoffrey Métais
*
* This program is free software; you can redist... | hanhailong/VCL-Official | vlc-android/src/org/videolan/vlc/gui/tv/SearchFragment.java | Java | gpl-2.0 | 4,897 |
/*
* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | raj-bhatia/grooveip-ios-public | submodules/mswebrtc/webrtc/webrtc/modules/audio_processing/transient/transient_detector_unittest.cc | C++ | gpl-2.0 | 3,836 |
<?php
/**
* @file
* This template outputs the description field.
*
* Variables:
* - $title
* - $artist
* - $album
* - $year
* - $track
* - $genre
* - $id3 (Full ID3 Array)
*/
?>
<?php print $title .' '. t('by') .' '. $artist; ?> | benmirkhah/jadu | sites/all/modules/mp3player/filefieldmp3player/theme/description.tpl.php | PHP | gpl-2.0 | 241 |
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: t -*-
# vi: set ft=python sts=4 ts=4 sw=4 noet :
# This file is part of Fail2Ban.
#
# Fail2Ban 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;... | nawawi/fail2ban | fail2ban/__init__.py | Python | gpl-2.0 | 2,770 |
// Copyright (C) 2019-2021 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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, or (at your op... | Gurgel100/gcc | libstdc++-v3/testsuite/17_intro/headers/c++2011/profile_mode.cc | C++ | gpl-2.0 | 921 |
<?php
/**
* @version: $Id: dbobject.php 4387 2015-02-19 12:24:35Z Radek Suski $
* @package: SobiPro Library
* @author
* Name: Sigrid Suski & Radek Suski, Sigsiu.NET GmbH
* Email: sobi[at]sigsiu.net
* Url: http://www.Sigsiu.NET
* @copyright Copyright (C) 2006 - 2015 Sigsiu.NET GmbH (http://www.sigsiu.net). All ri... | vstorm83/propertease | components/com_sobipro/lib/models/dbobject.php | PHP | gpl-2.0 | 23,563 |
/*
* Copyright (c) 2016-2019 Projekt Substratum
* This file is part of Substratum.
*
* SPDX-License-Identifier: GPL-3.0-Or-Later
*/
package projekt.substratum.common;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
impo... | nicholaschum/substratum | app/src/main/java/projekt/substratum/common/Broadcasts.java | Java | gpl-3.0 | 8,846 |
<?php
function tous_les_fonds($dir,$pattern){
$liste = find_all_in_path($dir,$pattern);
foreach($liste as $k=>$v)
$liste[$k] = $dir . basename($v,'.html');
return $liste;
}
?> | genova/ugb | plugins/spip-bonux/style_prive_plugins_fonctions.php | PHP | gpl-3.0 | 182 |
/**
* 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... | y123456yz/reading-and-annotate-rocketmq-3.4.6 | rocketmq-src/RocketMQ-3.4.6/rocketmq-client/src/main/java/com/alibaba/rocketmq/client/hook/SendMessageContext.java | Java | gpl-3.0 | 3,205 |
<?php
/**
* Nooku Framework - http://www.nooku.org
*
* @copyright Copyright (C) 2007 - 2013 Johan Janssens and Timble CVBA. (http://www.timble.net)
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
* @link git://git.assembla.com/nooku-framework.git for the canonical source repository
*/
namespace Noo... | jowillems/internet-platform | library/object/set.php | PHP | gpl-3.0 | 6,776 |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle... | fwsl/moodle | mod/lesson/lib.php | PHP | gpl-3.0 | 55,138 |
/* Copyright (c) MediaArea.net SARL. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license that can
* be found in the License.html file in the root of the source tree.
*/
//---------------------------------------------------------------------------
// Pre-compilation
#include "Medi... | xucp/mpc_hc | src/thirdparty/MediaInfo/library/Source/MediaInfo/Archive/File_7z.cpp | C++ | gpl-3.0 | 2,366 |
/*
Class: Graphic.Ellipse
Shape implementation of an ellipse.
Author:
Sébastien Gruhier, <http://www.xilinus.com>
License:
MIT-style license.
See Also:
<Shape>
*/
Graphic.Ellipse = Class.create();
Object.extend(Graphic.Ellipse.prototype, Graphic.Shape.prototype);
// Keep parent initialize
Graphic.El... | j9recurses/whirld | vendor/assets/components/cartagen/lib/prototype-graphic/src/shape/ellipse.js | JavaScript | gpl-3.0 | 1,191 |
<?php
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Setup\Module\Di\Compiler\Config;
interface ModificationInterface
{
/**
* Modifies input config
*
* @param array $config
* @return array
*/
public function modify(a... | rajmahesh/magento2-master | vendor/magento/magento2-base/setup/src/Magento/Setup/Module/Di/Compiler/Config/ModificationInterface.php | PHP | gpl-3.0 | 338 |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle... | orvsd/moodle25 | mod/hotpot/attempt/hp/6/renderer.php | PHP | gpl-3.0 | 143,352 |
'''
Copyright (C) 2014 Travis DeWolf
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 in the hope t... | russellgeoff/blog | Control/Controllers/target_list.py | Python | gpl-3.0 | 2,121 |
using System;
using System.Collections.Generic;
using Antlr4.Runtime;
using Rubberduck.Parsing.Symbols;
using Rubberduck.UI;
using Rubberduck.VBEditor;
namespace Rubberduck.Inspections
{
public class IdentifierNotUsedInspectionResult : CodeInspectionResultBase
{
private readonly IEnumerable<CodeInspect... | r14r/fork_vba_rubberduck | RetailCoder.VBE/Inspections/IdentifierNotUsedInspectionResult.cs | C# | gpl-3.0 | 2,194 |
/* Copyright (c) 2001-2008, The HSQL Development Group
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this
* list... | ckaestne/LEADT | workspace/hsqldb/src/org/hsqldb/sample/Testdb.java | Java | gpl-3.0 | 7,388 |
/**************************************************************************************************
Survey changes: copyright (c) 2010, Fryslan Webservices TM (http://survey.codeplex.com)
NSurvey - The web survey and form engine
Copyright (c) 2004, 2005 Thomas Zumbrunn. (http://www.nsurvey.org)
This program is ... | samdubey/surveyproject_main_public | SurveyWAP/NSurveyAdmin/UsersManager.aspx.cs | C# | gpl-3.0 | 5,993 |
#include "FvSTLAssisstant.h"
| Kiddinglife/gecoengine | thirdparty/FutureVisionCore/InnerCoreLibs/FvLogicCommon/FvSTLAssisstant.cpp | C++ | gpl-3.0 | 34 |
define(["ng", "lodash"], function(ng, _){
"use strict";
var DashboardVM = function DashboardVM($scope, $rootScope){
var _self = this;
this.toggleHStretch = function(isOn){
_self.setOptions(options);
};
this.updateOptions = function(options){
ng.extend(_self, options);
};
this.resetOptions = ... | apartensky/mev | web/src/main/javascript/edu/dfci/cccb/mev/web/ui/app/widgets/dashboard/controllers/DashboardVM.js | JavaScript | gpl-3.0 | 1,974 |
/*
* Copyright (c) 2002-2008 LWJGL Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this... | kevinwang/minecarft | lwjgl-source-2.8.2/src/java/org/lwjgl/opengl/MacOSXCanvasImplementation.java | Java | gpl-3.0 | 2,780 |
<?php
/*
* Copyright (C) 2013 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\HttpClient\Plugin;
use Http\Client\Common\Plugin;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\UriInterface;
/**
*... | growlingfish/giftplatform | vendor/mailgun/mailgun-php/src/Mailgun/HttpClient/Plugin/ReplaceUriPlugin.php | PHP | gpl-3.0 | 906 |
# -*- coding: utf-8 -*-
# Copyright (c) 2008-2013 Erik Svensson <erik.public@gmail.com>
# Licensed under the MIT license.
import sys
import datetime
from core.transmissionrpc.constants import PRIORITY, RATIO_LIMIT, IDLE_LIMIT
from core.transmissionrpc.utils import Field, format_timedelta
from six import integer_types... | bbsan2k/nzbToMedia | core/transmissionrpc/torrent.py | Python | gpl-3.0 | 16,349 |
/* Android IMSI-Catcher Detector | (c) AIMSICD Privacy Project
* -----------------------------------------------------------
* LICENSE: http://git.io/vki47 | TERMS: http://git.io/vki4o
* -----------------------------------------------------------
*/
package com.secupwn.aimsicd.ui.drawer;
import android.support.a... | CellularPrivacy/Android-IMSI-Catcher-Detector | AIMSICD/src/main/java/com/secupwn/aimsicd/ui/drawer/NavDrawerItem.java | Java | gpl-3.0 | 575 |
<?php
/**
* PostSendFailed
*
* PHP version 5
*
* @category Class
* @package SendinBlue\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* SendinBlue API
*
* SendinBlue provide a RESTFul API that can be used with any languages. With this API, you wil... | madeITBelgium/WordPress-Forms | vendor/sendinblue/api-v3-sdk/lib/Model/PostSendFailed.php | PHP | gpl-3.0 | 10,449 |
package view.rendes;
import java.awt.Graphics;
import java.awt.Shape;
import java.awt.geom.RoundRectangle2D;
import javax.swing.JTextField;
public class RoundJTextField extends JTextField {
private Shape shape;
public RoundJTextField(int size) {
super(size);
setOpaque(false); // A... | gihon19/postHotelSonrisa | postHotelSonrisa/src/view/rendes/RoundJTextField.java | Java | gpl-3.0 | 992 |
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following lice... | jvanz/core | connectivity/com/sun/star/sdbcx/comp/hsqldb/StorageFileAccess.java | Java | gpl-3.0 | 3,316 |
// File: fig0621.cpp
// Computer Systems, Fourth Edition
// Figure 6.21
#include <iostream>
using namespace std;
int numPts;
int value;
int j;
void printBar (int n) {
int k;
for (k = 1; k <= n; k++) {
cout << '*';
}
cout << endl;
}
int main () {
cin >> numPts;
for (j = 1; j <= numPts; j++) {... | StanWarford/pep8 | help/figures/fig0621.cpp | C++ | gpl-3.0 | 385 |
// ----------------------------------------------------------------------
// <copyright file="TMAPcontrol.cs" company="none">
// Copyright (C) 2012
//
// 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 Fr... | pleonex/tinke | Plugins/NINOKUNI/NINOKUNI/TMAPcontrol.cs | C# | gpl-3.0 | 2,689 |
package cn.nukkit.redstone;
import cn.nukkit.block.Block;
import cn.nukkit.block.BlockRedstoneWire;
import cn.nukkit.block.BlockSolid;
import cn.nukkit.math.Vector3;
import java.util.*;
/**
* author: Angelic47
* Nukkit Project
*/
public class Redstone {
public static final int POWER_NONE = 0;
public stat... | Niall7459/Nukkit | src/main/java/cn/nukkit/redstone/Redstone.java | Java | gpl-3.0 | 8,365 |