repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
kipid/blog | nodejs/node.js-mysql-1/node_modules/underscore/cjs/isSet.js | 305 | var _tagTester = require('./_tagTester.js');
var _stringTagBug = require('./_stringTagBug.js');
var _methodFingerprint = require('./_methodFingerprint.js');
var isSet = _stringTagBug.isIE11 ? _methodFingerprint.ie11fingerprint(_methodFingerprint.setMethods) : _tagTester('Set');
module.exports = isSet;
| mit |
npomfret/XChange | xchange-dsx/src/main/java/org/knowm/xchange/dsx/service/trade/params/DSXTradeHistoryParams.java | 1997 | package org.knowm.xchange.dsx.service.trade.params;
import java.util.Date;
import org.knowm.xchange.currency.CurrencyPair;
import org.knowm.xchange.service.trade.params.TradeHistoryParamCurrencyPair;
import org.knowm.xchange.service.trade.params.TradeHistoryParamLimit;
import org.knowm.xchange.service.trade.params.Tra... | mit |
rainlike/justshop | vendor/payum/payum/src/Payum/Core/Bridge/Symfony/PayumEvents.php | 251 | <?php
namespace Payum\Core\Bridge\Symfony;
final class PayumEvents
{
const GATEWAY_PRE_EXECUTE = 'payum.gateway.pre_execute';
const GATEWAY_EXECUTE = 'payum.gateway.execute';
const GATEWAY_POST_EXECUTE = 'payum.gateway.post_execute';
}
| mit |
local-minimum/ludumdare | src/shrub/src/other/constants.php | 2597 | <?php
/// @defgroup Other
/// @ingroup Modules
/// Names that shouldn't be allowed. Again these are names, not words.
global_AddReservedName(
// Religion and delicate subjects
'god',
'devil',
'jesus',
'christ',
'satan',
'allah',
'mohamed',
'xenu',
'christian',
'atheist',
'atheism',
'jewish',
'jew',
'jew... | mit |
928PJY/docfx | src/Microsoft.DocAsCode.MarkdownLite/IMarkdownRewriteEngine.cs | 1256 | // 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.MarkdownLite
{
using System;
using System.Collections.Immutable;
/// <summary>
/// Markdown rewrite engine.
/// </su... | mit |
vancarney/apihero-module-socket.io | node_modules/apihero-module-browserify/test/server/common/models/AnonymousModel_0.js | 168 | /*
* AnonymousModel_0.js
* Schema Generated by API-Hero
* Add custom Schema Validators, Types and Methods below
*/
module.exports = function(AnonymousModel_0) {
}; | mit |
cdnjs/cdnjs | ajax/libs/react-dates/21.8.0/shapes/SingleDatePickerShape.js | 4935 | "use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _propTypes = _interopRequireDefault(require("prop-types"));
var _reactMomentProptypes = _interopRequireDefault(require... | mit |
bartlomiej-laczkowski/che | samples/sample-plugin-filetype/che-sample-plugin-filetype-ide/src/main/java/org/eclipse/che/plugin/filetype/ide/MyFileTypeExtension.java | 1864 | /*******************************************************************************
* Copyright (c) 2012-2017 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 |
phxql/smarthome | bundles/config/org.eclipse.smarthome.config.discovery/src/main/java/org/eclipse/smarthome/config/discovery/inbox/InboxListener.java | 1897 | /**
* Copyright (c) 2014-2016 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
*/
pa... | epl-1.0 |
14mRh4X0r/ForgeGradle | src/main/java/net/minecraftforge/gradle/patching/Base64.java | 4158 | /*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common
* Development and Distribution License("CDDL") (... | epl-1.0 |
pplatek/adempiere | base/src/org/compiere/model/X_C_DunningLevel.java | 14333 | /******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
... | gpl-2.0 |
cameronscott137/rustbuilt | wp-content/themes/rustbuilt/core/model/modx/processors/browser/file/create.class.php | 2294 | <?php
/**
* Updates a file.
*
* @param string $file The absolute path of the file
* @param string $name Will rename the file if different
* @param string $content The new content of the file
*
* @package modx
* @subpackage processors.browser.file
*/
class modBrowserFileCreateProcessor extends modProcessor {
... | gpl-2.0 |
dmlloyd/openjdk-modules | hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements/src/org/graalvm/compiler/replacements/nodes/DirectObjectStoreNode.java | 6165 | /*
* Copyright (c) 2012, 2016, 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 |
pulibrary/recap | core/modules/config/tests/src/Functional/LanguageNegotiationFormOverrideTest.php | 1995 | <?php
namespace Drupal\Tests\config\Functional;
use Drupal\Tests\BrowserTestBase;
/**
* Tests language-negotiation overrides are not on language-negotiation form.
*
* @group config
* @see \Drupal\Core\Form\ConfigFormBase
*/
class LanguageNegotiationFormOverrideTest extends BrowserTestBase {
protected static ... | gpl-2.0 |
badp/ganeti | lib/confd/client.py | 21941 | #
#
# Copyright (C) 2009, 2010, 2012 Google Inc.
#
# 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.
#
# This program is ... | gpl-2.0 |
md-5/jdk10 | test/hotspot/jtreg/vmTestbase/gc/ArrayJuggle/Juggle10/TestDescription.java | 1416 | /*
* Copyright (c) 2017, 2018, 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 |
nmcgill/UOReturns | Scripts/Items/Skill Items/Fishing/Misc/SOS.cs | 11028 | using System;
using Server.Network;
using Server.Gumps;
namespace Server.Items
{
[Flipable( 0x14ED, 0x14EE )]
public class SOS : Item
{
public override int LabelNumber
{
get
{
if ( IsAncient )
return 1063450; // an ancient SOS
return 1041081; // a waterstained SOS
}
}
private int m_L... | gpl-2.0 |
chippyjacob123/newzbuzz | modules/contrib/tvi/tests/src/Functional/TaxonomyViewsIntegratorTest.php | 4158 | <?php
namespace Drupal\Tests\tvi\Functional;
use Drupal\Tests\tvi\Functional\TaxonomyViewsIntegratorTestBase;
/**
* Tests TaxonomyViewsIntegrator and various term configurations.
*
* @group tvi
*/
class TaxonomyViewsIntegratorTest extends TaxonomyViewsIntegratorTestBase {
public function setUp() {
parent:... | gpl-2.0 |
findepi/synergy | src/test/integtests/platform/CXWindowsClipboardTests.cpp | 3884 | /*
* synergy -- mouse and keyboard sharing utility
* Copyright (C) 2012 Bolton Software Ltd.
* Copyright (C) 2011 Nick Bolton
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file COPYING that should have accompanied t... | gpl-2.0 |
Rud5G/diffDotProject | classes/customfieldsparser.class.php | 8882 | <?php
// $Id: customfieldsparser.class.php 5905 2009-08-13 00:40:21Z merlinyoda $
if (!defined('DP_BASE_DIR')) {
die('You should not access this file directly.');
}
class CustomFieldsParser{
var $fields_array = array();
var $custom_record_type;
var $previous_data = array();
var $row_id = 0;
var $custom_record_t... | gpl-2.0 |
tommeir/mifgaim | sites/all/themes/genesis/genesis/js/jquery.equalizeheights.js | 4220 | // $Id: jquery.equalizeheights.js,v 1.1.2.1 2009/04/28 09:41:25 jmburnz Exp $
/*--------------------------------------------------------------------
* javascript method: "pxToEm"
* by:
Scott Jehl (scott@filamentgroup.com)
Maggie Wachs (maggie@filamentgroup.com)
http://www.filamentgroup.com
*
* Copyright... | gpl-2.0 |
alexandergurov/vagrant-chef-drupal-stack | cookbooks/drupal-cookbooks/drupal/recipes/dev.rb | 383 | # Install Drupal dev tools.
include_recipe "apt"
include_recipe "build-essential"
# Install Git, since Drupal devs probably need that.
package 'git-core'
php_pear "xdebug" do
action :install
end
template "/etc/php5/apache2/conf.d/xdebug.ini" do
source "xdebug.ini.erb"
owner "root"
group "root"
mode 0644
... | gpl-2.0 |
Jitendra-Patidar/discourse-IB | spec/controllers/list_controller_spec.rb | 5750 | require 'spec_helper'
describe ListController do
# we need some data
before do
@user = Fabricate(:coding_horror)
@post = Fabricate(:post, user: @user)
# forces tests down some code paths
SiteSetting.stubs(:top_menu).returns('latest,-video|new|unread|favorited|categories|category/beer')
end
d... | gpl-2.0 |
SpoonLabs/astor | examples/chart_1/source/org/jfree/data/statistics/HistogramDataset.java | 17721 | /* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2008, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreech... | gpl-2.0 |
cuongnd/etravelservice | libraries/fof30/Model/DataModel/Relation/Exception/RelationTypeNotFound.php | 271 | <?php
/**
* @package FOF
* @copyright 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU GPL version 2 or later
*/
namespace FOF30\Model\DataModel\Relation\Exception;
defined('_JEXEC') or die;
class RelationTypeNotFound extends \Exception {} | gpl-2.0 |
potherca-contrib/tuxdroidserver | test/vendor/ceedling/lib/file_path_utils.rb | 7743 | require 'rubygems'
require 'rake' # for ext()
require 'fileutils'
require 'system_wrapper'
# global utility methods (for plugins, project files, etc.)
def ceedling_form_filepath(destination_path, original_filepath, new_extension=nil)
filename = File.basename(original_filepath)
filename.replace(filename.ext(new_ext... | gpl-2.0 |
UAReformers/Petitions-Deploy-Distributive | profiles/petitions/modules/contrib/services_documentation/theme/services-documentation-method-example-implementations-bundles.tpl.php | 653 | <?php
/**
* @file
* services-documentation-method-example-implementations-bundles.tpl.php
*
* Template file for theming an example implementations bundle for a given
* Services method.
*
* Available custom variables:
* - $language:
* - $examples:
*/
?>
<!-- services-documentation-method-example-implementation... | gpl-2.0 |
mibischo/freemind | freemind/controller/filter/util/SortedComboBoxModel.java | 1585 | /*FreeMind - A Program for creating and viewing Mindmaps
*Copyright (C) 2000-2006 Joerg Mueller, Daniel Polansky, Christian Foltin, Dimitri Polivaev and others.
*
*See COPYING for Details
*
*This program is free software; you can redistribute it and/or
*modify it under the terms of the GNU General Public License
... | gpl-2.0 |
xamarindevelopervietnaminc/XGravatar | XGravatar/XGravatar/XGravatar.Droid/obj/Debug/android/src/md5b60ffeb829f638581ab2bb9b1a7f4f3f/MasterDetailContainer.java | 3978 | package md5b60ffeb829f638581ab2bb9b1a7f4f3f;
public class MasterDetailContainer
extends android.view.ViewGroup
implements
mono.android.IGCUserPeer
{
static final String __md_methods;
static {
__md_methods =
"n_onLayout:(ZIIII)V:GetOnLayout_ZIIIIHandler\n" +
"n_onInterceptTouchEvent:(Landroid/view/Motio... | gpl-2.0 |
sergiobenrocha2/libretro-ppsspp | GPU/GLES/DepalettizeShader.cpp | 7699 | // Copyright (c) 2014- PPSSPP Project.
// 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.0 or later versions.
// This program is distributed in the hope that it will be useful,
// ... | gpl-2.0 |
abhishekmurthy/Calligra | plan/plugins/scripting/tests/calendar_readwrite.py | 1381 | #!/usr/bin/env kross
# -*- coding: utf-8 -*-
import traceback
import Kross
import Plan
import TestResult
TestResult.setResult( True )
asserttext1 = "Test of property '{0}' failed:\n Expected: '{2}'\n Result: '{1}'"
asserttext2 = "Failed to set property '{0}' to '{1}'. Result: {2}"
try:
project = Plan.proj... | gpl-2.0 |
jagnoha/website | profiles/varbase/profiles/varbase/libraries/ckeditor/plugins/image/lang/bn.js | 1309 | /*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'image', 'bn', {
alt: 'বিকল্প টেক্সট',
border: 'বর্ডার',
btnUpload: 'ইহাকে সার্ভারে প্রেরন কর',
button2Img: 'Do you want to transform the selected ... | gpl-2.0 |
pdebuyl/lammps | lib/kokkos/core/unit_test/TestAtomicOperations_longint.hpp | 3602 | /*
//@HEADER
// ************************************************************************
//
// Kokkos v. 2.0
// Copyright (2014) Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
// the U.S. Government retains certain rights in this softw... | gpl-2.0 |
joshpfosi/gbn | .waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Tools/c_config.py | 23239 | #! /usr/bin/env python
# encoding: utf-8
# WARNING! Do not edit! https://waf.io/book/index.html#_obtaining_the_waf_file
import os,re,shlex,sys
from waflib import Build,Utils,Task,Options,Logs,Errors,Runner
from waflib.TaskGen import after_method,feature
from waflib.Configure import conf
WAF_CONFIG_H='config.h'
DEFKEYS... | gpl-2.0 |
fritsch/xbmc | xbmc/interfaces/python/PyContext.cpp | 3420 | /*
* Copyright (C) 2005-2013 Team XBMC
* http://kodi.tv
*
* 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, or (at your option)
* any later version.
*
* T... | gpl-2.0 |
andyhebear/DOLSharp | GameServer/propertycalc/EnduranceRegenerationRateCalculator.cs | 3013 | /*
* DAWN OF LIGHT - The first free open source DAoC server emulator
*
* 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 lat... | gpl-2.0 |
ohnmarsoe/uverworld | data/class/SC_SmartphoneUserAgent.php | 2032 | <?php
/*
* This file is part of EC-CUBE
*
* Copyright(c) 2000-2012 LOCKON CO.,LTD. All Rights Reserved.
*
* http://www.lockon.co.jp/
*
* 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; ei... | gpl-2.0 |
phenix-factory/fci-obedience | plugins-dist/compresseur/lib/csstidy/testing/unit-tests.php | 1441 | <?php
/**@file
* Script for unit testing, allows for more fine grained error reporting
* when things go wrong.
* @author Edward Z. Yang <admin@htmlpurifier.org>
*
* Required
* unit-tets/Text : http://download.pear.php.net/package/Text_Diff-1.1.1.tgz
* unit-tests/simpletest/ : http://downloads.sourceforge.net/pr... | gpl-3.0 |
micaelbatista/neeist_wiki | wiki/includes/specials/SpecialResetTokens.php | 3922 | <?php
/**
* Implements Special:ResetTokens
*
* 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.
*
* This program is... | gpl-3.0 |
ahmedsalahos/livemega | vqmod/vqmod.php | 26086 | <?php
/**
* VQMod
* @description Main Object used
*/
abstract class VQMod {
public static $_vqversion = '2.5.1'; // Current version number
private static $_modFileList = array(); // Array of xml files
private static $_mods = array(); // Array of modifications to apply
private static $_filesModde... | gpl-3.0 |
sameesh/Myrepos | ImageServer/TestApp/Startup.Designer.cs | 10429 | #region License
// Copyright (c) 2013, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This file is part of the ClearCanvas RIS/PACS open source project.
//
// The ClearCanvas RIS/PACS open source project is free software: you can
// redistribute it and/or modify it under the terms... | gpl-3.0 |
DISID/ci-jenkins | spring-roo-petclinic/src/main/java/org/springframework/roo/petclinic/repository/VisitRepository.java | 679 | package org.springframework.roo.petclinic.repository;
import org.springframework.roo.addon.layers.repository.jpa.annotations.RooJpaRepository;
import org.springframework.roo.petclinic.domain.Visit;
import org.springframework.roo.addon.layers.repository.jpa.annotations.finder.RooFinder;
/**
* = VisitRepository
*
* T... | gpl-3.0 |
tumbl3w33d/ansible | lib/ansible/modules/network/aci/mso_schema_site_anp.py | 5749 | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright: (c) 2019, Dag Wieers (@dagwieers) <dag@wieers.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_ve... | gpl-3.0 |
loorenzooo/aslfc | plugins-dist/petitions/lang/petitions_cpf_hat.php | 1768 | <?php
// This is a SPIP language file -- Ceci est un fichier langue de SPIP
// extrait automatiquement de http://trad.spip.net/tradlang_module/petitions?lang_cible=cpf_hat
// ** ne pas modifier le fichier **
if (!defined('_ECRIRE_INC_VERSION')) return;
$GLOBALS[$GLOBALS['idx_lang']] = array(
// F
'form_pet_adres... | gpl-3.0 |
BigBoss424/a-zplumbing | Magento-CE-2/vendor/magento/magento2-base/lib/web/mage/captcha.js | 1070 | /**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
var Captcha = Class.create();
Captcha.prototype = {
initialize: function(url, formId){
this.url = url;
this.formId = formId;
},
refresh: function(elem) {
formId = this.formId;
if... | gpl-3.0 |
Passtechsoft/TPEAlpGen | blender/extern/carve/include/carve/edge_impl.hpp | 684 | // Begin License:
// Copyright (C) 2006-2014 Tobias Sargeant (tobias.sargeant@gmail.com).
// All rights reserved.
//
// This file is part of the Carve CSG Library (http://carve-csg.com/)
//
// This file may be used under the terms of either the GNU General
// Public License version 2 or 3 (at your option) as published ... | gpl-3.0 |
phassoa/openelisglobal-core | app/src/us/mn/state/health/lims/testresult/valueholder/TestResultComparator.java | 1283 | /**
* The contents of this file are subject to the Mozilla Public License
* Version 1.1 (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.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* ba... | mpl-2.0 |
kajigga/canvas-lms | public/javascripts/vendor/jquery.ui.core-1.9.js | 8015 | /*!
* jQuery UI @VERSION
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* http://docs.jquery.com/UI
*/
(function( $, undefined ) {
// prevent duplicate loading
// this is only a problem because we proxy existing... | agpl-3.0 |
dylanswartz/canvas-lms | lib/i18n_extraction/js_extractor.rb | 11209 | require 'lib/i18n_extraction/abstract_extractor'
module I18nExtraction
class JsExtractor
include AbstractExtractor
I18N_KEY = /['"](#?[\w.]+)['"]/
HASH_KEY = /['"]?(\w+)['"]?\s*:/
INTERPOLATION_KEY = /%\{([^\}]+)\}|\{\{([^\}]+)\}\}/
CORE_KEY = /\A(number|time|date|datetime|support)\./
STRI... | agpl-3.0 |
bartimaeus/crm_groups | app/helpers/comments_helper.rb | 827 | # Fat Free CRM
# Copyright (C) 2008-2010 by Michael Dvorkin
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# ... | agpl-3.0 |
abdullahalmasum/a2billing-2.1.0-untar | admin/Public/A2B_entity_payment_agent.php | 2279 | <?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* This file is part of A2Billing (http://www.a2billing.net/)
*
* A2Billing, Commercial Open Source Telecom Billing platform,
* powered by Star2billing S.L. <http://www.star2billing.com/>
*
* @copyright Copyright (C) 2004-2015 - Star2bill... | agpl-3.0 |
Godin/checkstyle | src/test/java/com/puppycrawl/tools/checkstyle/checks/coding/NestedForDepthCheckTest.java | 3556 | ////////////////////////////////////////////////////////////////////////////////
// checkstyle: Checks Java source code for adherence to a set of rules.
// Copyright (C) 2001-2015 the original author or authors.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU ... | lgpl-2.1 |
abedeen/shopizer | sm-shop/src/main/java/com/salesmanager/shop/store/controller/product/facade/ProductFacadeImpl.java | 6730 | package com.salesmanager.shop.store.controller.product.facade;
import com.salesmanager.core.business.services.catalog.category.CategoryService;
import com.salesmanager.core.business.services.catalog.product.PricingService;
import com.salesmanager.core.business.services.catalog.product.ProductService;
import com.salesm... | lgpl-2.1 |
msipos/syntaxic | third-party/tokenizer/input/django.js | 2390 | /*
Language: Django
Requires: xml.js
Author: Ivan Sagalaev <maniac@softwaremaniacs.org>
Contributors: Ilya Baryshev <baryshev@gmail.com>
Category: template
*/
function(hljs) {
var FILTER = {
className: 'filter',
begin: /\|[A-Za-z]+:?/,
keywords:
'truncatewords removetags linebreaksbr yesno get_digi... | lgpl-2.1 |
MichaelMcDonnell/vrjuggler | external/swing-laf/kunststoff/sources/com/incors/plaf/kunststoff/KunststoffTabbedPaneUI.java | 3952 | package com.incors.plaf.kunststoff;
/*
* This code was developed by INCORS GmbH (www.incors.com)
* with contributions by Jamie LaScolea.
*
* It is published under the terms of the GNU Lesser General Public License.
*/
import java.awt.*;
import javax.swing.*;
import javax.swing.plaf.*;
import javax.swing.plaf.bas... | lgpl-2.1 |
KyuRicard/MagicMod | build/tmp/recompileMc/sources/net/minecraftforge/common/capabilities/CapabilityDispatcher.java | 3592 | package net.minecraftforge.common.capabilities;
import java.util.List;
import java.util.Map;
import com.google.common.collect.Lists;
import net.minecraft.nbt.NBTBase;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.c... | lgpl-2.1 |
Tybion/community-edition | projects/repository/source/java/org/alfresco/service/cmr/webdav/WebDavService.java | 1597 | /*
* Copyright (C) 2005-2010 Alfresco Software Limited.
*
* This file is part of Alfresco
*
* Alfresco 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 3 of the License, or
* (at y... | lgpl-3.0 |
smba/oak | edu.cmu.cs.oak/src/test/resources/mediawiki/includes/filerepo/file/File.php | 59954 | <?php
/**
* @defgroup FileAbstraction File abstraction
* @ingroup FileRepo
*
* Represents files in a repository.
*/
/**
* Base code for files.
*
* 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 Fo... | lgpl-3.0 |
nttuyen/task | task-management/src/main/java/org/exoplatform/task/management/assets/ckeditorCustom/plugins/a11yhelp/dialogs/lang/pt.js | 5505 | /**
* @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'a11yhelp', 'pt', {
title: 'Instruções de acessibilidade',
contents: 'Conteúdo de ajuda. Use a tecla ESC para fechar esta j... | lgpl-3.0 |
bobslaede/sund2 | node_modules/buckets/node_modules/newrelic/lib/util/sum-children.js | 2476 | 'use strict';
/**
* Given an ordered list of disjoint intervals and a new interval to fold into
* it, determine if the new interval is a sub-interval (in which case it's
* redundant), an overlapping interval (in which case, replace the most recent
* interval on the list with an interval representing the union of t... | unlicense |
somenxavier/powered-by-somenergia | js/leaflet.geocsv-src.js | 4150 | /*
* Copyright 2013 - GPL
* Iván Eixarch <ivan@sinanimodelucro.org>
* https://github.com/joker-x/Leaflet.geoCSV
*
* 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,... | unlicense |
hmcl/storm-apache | examples/storm-elasticsearch-examples/src/main/java/org/apache/storm/elasticsearch/common/EsConstants.java | 1232 | /**
* 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... | apache-2.0 |
tellapart/elasticsearch-zookeeper | src/test/java/com/sonian/elasticsearch/zookeeper/discovery/embedded/EmbeddedZooKeeperService.java | 3724 | /*
* Copyright 2011 Sonian Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | apache-2.0 |
0x73/rust | src/test/compile-fail/liveness-move-in-loop.rs | 766 | // Copyright 2012 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | apache-2.0 |
ernestp/consulo | platform/lang-impl/src/com/intellij/ide/util/treeView/smartTree/TreeElementWrapper.java | 2254 | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* 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 applicable law or agre... | apache-2.0 |
treejames/SlidingCard | slidingcard-core/src/main/java/com/mxn/soul/slidingcard_core/SlidingCard.java | 23488 | package com.mxn.soul.slidingcard_core;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.PaintFlagsDrawFilter;
import android.support.annotation.NonNull;
import android.support.v4.view.MotionEventCompat;
import android.support.v4.view.VelocityTracker... | apache-2.0 |
ricepanda/rice-git3 | development-tools/src/main/java/org/kuali/rice/devtools/jpa/eclipselink/conv/parser/helper/resolver/EntityResolver.java | 3290 | /**
* Copyright 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by a... | apache-2.0 |
emre-aydin/hazelcast | hazelcast/src/main/java/com/hazelcast/internal/cluster/impl/ClusterHeartbeatManager.java | 35695 | /*
* Copyright (c) 2008-2021, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | apache-2.0 |
emre-aydin/hazelcast | hazelcast/src/main/java/com/hazelcast/internal/cluster/impl/operations/WanOperation.java | 777 | /*
* Copyright (c) 2008-2021, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | apache-2.0 |
wilkinsona/spring-boot | spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/junit/GradleBuildFieldSetter.java | 1543 | /*
* Copyright 2012-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | apache-2.0 |
pquentin/libcloud | libcloud/dns/drivers/zerigo.py | 18254 | # 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 not use ... | apache-2.0 |
ricepanda/rice-git2 | rice-framework/krad-web-framework/src/main/java/org/kuali/rice/krad/uif/service/UifDefaultingService.java | 4499 | /**
* Copyright 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by a... | apache-2.0 |
jumpbytehq/cordova-plugin-geofence | src/android/RemoveGeofenceCommand.java | 1671 | package com.cowbell.cordova.geofence;
import java.util.List;
import android.app.PendingIntent;
import android.content.Context;
import android.util.Log;
import com.google.android.gms.location.LocationClient.OnRemoveGeofencesResultListener;
public class RemoveGeofenceCommand extends AbstractGoogleServiceCommand
... | apache-2.0 |
mikekap/buck | src/com/facebook/buck/rules/BuildRuleParams.java | 5541 | /*
* Copyright 2012-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | apache-2.0 |
Niksok/Prebid.js | modules/operaadsBidAdapter.js | 20945 | import { logWarn, isArray, isStr, triggerPixel, deepAccess, deepSetValue, isPlainObject, generateUUID, parseUrl, isFn, getDNT, logError } from '../src/utils.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { config } from '../src/config.js';
import { BANNER, VIDEO, NATIVE } from '../src/me... | apache-2.0 |
scorelab/DroneMap | tracker/server.js | 1233 |
/**
* Module dependencies.
*
* Routs
* Views
* index
* API
* tracker
* -locations
* -location
*
*/
var express = require('express'),
http = require('http'),
path = require('path'),
engine = require('ejs-locals');
var app = express();
app.configure(function(){
app.set('port', process.en... | apache-2.0 |
leoleegit/cipango | cipango-diameter/src/main/java/org/cipango/diameter/node/DiameterConnector.java | 1349 | // ========================================================================
// Copyright 2008-2009 NEXCOM Systems
// ------------------------------------------------------------------------
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Lice... | apache-2.0 |
alexeagle/TypeScript | tests/baselines/reference/invalidSyntaxNamespaceImportWithCommonjs.js | 453 | //// [tests/cases/conformance/externalModules/invalidSyntaxNamespaceImportWithCommonjs.ts] ////
//// [0.ts]
export class C { }
//// [1.ts]
import * from Zero from "./0"
//// [0.js]
"use strict";
exports.__esModule = true;
exports.C = void 0;
var C = /** @class */ (function () {
function C() {
}
... | apache-2.0 |
coughman/incubator-parquet-mr | parquet-thrift/src/main/java/org/apache/parquet/thrift/ThriftMetaData.java | 5087 | /*
* 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... | apache-2.0 |
sassson/TypeScript | src/server/editorServices.ts | 86677 | /// <reference path="..\compiler\commandLineParser.ts" />
/// <reference path="..\services\services.ts" />
/// <reference path="protocol.d.ts" />
/// <reference path="session.ts" />
namespace ts.server {
export interface Logger {
close(): void;
isVerbose(): boolean;
loggingEnabled(... | apache-2.0 |
superm1a3/mamute | src/test/java/org/mamute/validators/UrlValidatorTest.java | 1076 | package org.mamute.validators;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import org.junit.Before;
import org.junit.Test;
import org.mamute.validators.UrlValidator;
import br.com.caelum.vraptor... | apache-2.0 |
dotty-staging/dotty | tests/pos/duplicate-parents.scala | 328 | case class Foo1(x: Int) extends Serializable
case class Foo2(x: Int) extends scala.Serializable
case class Foo3(x: Int) extends Product
case object Foo4 extends Serializable
object Scope {
class Serializable
case class Foo5(x: Int) extends Serializable
val f = Foo5(1)
f: Scope.Serializable
f: scala.Seriali... | apache-2.0 |
tunneln/CarnotKE | jyhton/src/org/python/core/PyPropertyDerived.java | 39268 | /* Generated file, do not modify. See jython/src/templates/gderived.py. */
package org.python.core;
import java.io.Serializable;
import org.python.core.finalization.FinalizeTrigger;
import org.python.core.finalization.FinalizablePyObjectDerived;
public class PyPropertyDerived extends PyProperty implements Slotted,Fi... | apache-2.0 |
jmluy/elasticsearch | server/src/main/java/org/elasticsearch/action/admin/indices/forcemerge/ForceMergeRequestBuilder.java | 2104 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... | apache-2.0 |
dotunolafunmiloye/owf-framework | web-app/js-lib/dojo-release-1.5.0-src/dojox/grid/enhanced/_Plugin.js | 12763 | dojo.provide("dojox.grid.enhanced._Plugin");
dojo.require("dojox.grid.enhanced._Builder");
dojo.require("dojox.grid.enhanced._Events");
dojo.declare("dojox.grid.enhanced._Plugin", null, {
// summary:
// Singleton plugin manager
//
// description:
// Plugin manager is responsible for
// 1. Loading required ... | apache-2.0 |
Teagan42/home-assistant | homeassistant/components/skybell/__init__.py | 2664 | """Support for the Skybell HD Doorbell."""
import logging
from requests.exceptions import ConnectTimeout, HTTPError
from skybellpy import Skybell
import voluptuous as vol
from homeassistant.const import ATTR_ATTRIBUTION, CONF_PASSWORD, CONF_USERNAME
import homeassistant.helpers.config_validation as cv
from homeassist... | apache-2.0 |
iriscouch/stew | node_modules/kanso/lib/data-stream/index.js | 146 | exports.ParseStream = require('./ParseStream');
exports.createParseStream = function createParseStream() {
return new exports.ParseStream;
}
| apache-2.0 |
vbatts/cri-o | vendor/github.com/go-zoo/bone/route.go | 5212 | /********************************
*** Multiplexer for Go ***
*** Bone is under MIT license ***
*** Code by CodingFerret ***
*** github.com/go-zoo ***
*********************************/
package bone
import (
"net/http"
"regexp"
"strings"
)
const (
//PARAM value store in Atts if the route have ... | apache-2.0 |
dexequiel87/zendesk-java-client | src/main/java/org/zendesk/client/v2/model/Request.java | 2431 | package org.zendesk.client.v2.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Date;
/**
* @author stephenc
* @since 09/04/2013 15:08
*/
public class Request {
protected Long id;
protected String url;
protected String subject;
protected String description;
protecte... | apache-2.0 |
tkruse/incubator-groovy | src/main/org/codehaus/groovy/transform/MemoizedASTTransformation.java | 8967 | /*
* 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")... | apache-2.0 |
joprice/factorie | src/main/scala/cc/factorie/optimize/ConjugateGradient.scala | 4649 | /* Copyright (C) 2008-2014 University of Massachusetts Amherst.
This file is part of "FACTORIE" (Factor graphs, Imperative, Extensible)
http://factorie.cs.umass.edu, http://github.com/factorie
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with... | apache-2.0 |
RReverser/react | src/browser/ui/dom/components/createFullPageComponent.js | 2124 | /**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | apache-2.0 |
dinfuehr/rust | src/test/compile-fail/empty-impl-semicolon.rs | 537 | // Copyright 2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | apache-2.0 |
izpack/izpack | izpack-api/src/main/java/com/izforge/izpack/api/config/BasicRegistryKey.java | 2531 | /*
* IzPack - Copyright 2001-2010 Julien Ponge, All Rights Reserved.
*
* http://izpack.org/
* http://izpack.codehaus.org/
*
* Copyright 2005,2009 Ivan SZKIBA
* Copyright 2010,2011 Rene Krell
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance wi... | apache-2.0 |
jcamachor/hive | standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/common/ZooKeeperHiveHelper.java | 15109 | /*
* 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 ... | apache-2.0 |
GunoH/intellij-community | java/java-analysis-impl/src/com/intellij/codeInsight/daemon/impl/quickfix/ExtendsListFix.java | 7880 | /*
* Copyright 2000-2013 JetBrains s.r.o.
*
* 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 applicable law or agre... | apache-2.0 |
calvinjia/tachyon | core/client/fs/src/main/java/alluxio/client/block/stream/StreamSerializationClientInterceptor.java | 1333 | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | apache-2.0 |
mbiarnes/kie-wb-common | kie-wb-common-dmn/kie-wb-common-dmn-client/src/main/java/org/kie/workbench/common/dmn/client/editors/expressions/types/context/NameColumn.java | 2701 | /*
* Copyright 2017 Red Hat, Inc. and/or its affiliates.
*
* 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... | apache-2.0 |
siosio/intellij-community | platform/platform-impl/src/com/intellij/openapi/options/ex/ConfigurableExtensionPointUtil.java | 20436 | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.options.ex;
import com.intellij.BundleBase;
import com.intellij.openapi.application.Application;
import com.intellij.openapi.application.ApplicationM... | apache-2.0 |
maheshika/carbon-data | components/ndata-services/org.wso2.carbon.ndataservices.core/src/main/java/org/wso2/carbon/ndataservices/core/DataServiceDeployer.java | 1629 | /*
* Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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.ap... | apache-2.0 |