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 |
|---|---|---|---|---|---|
<?php
/**
* @author Mark van der Velden <mark@dynom.nl>
*/
namespace Faker\Test\Provider;
use Faker;
/**
* Class ProviderOverrideTest
*
* @package Faker\Test\Provider
*
* This class tests a large portion of all locale specific providers. It does not test the entire stack, because each
* locale... | i-chengl/Student-activity-management-system | vendor/fzaninotto/faker/test/Faker/Provider/ProviderOverrideTest.php | PHP | mit | 5,228 |
// Approach:
//
// 1. Get the minimatch set
// 2. For each pattern in the set, PROCESS(pattern, false)
// 3. Store matches per-set, then uniq them
//
// PROCESS(pattern, inGlobStar)
// Get the first [n] items from pattern that are all strings
// Join these together. This is PREFIX.
// If there is no more remaining, ... | ealbertos/dotfiles | vscode.symlink/extensions/ms-mssql.mssql-1.11.1/node_modules/glob/glob.js | JavaScript | mit | 19,362 |
require 'rails_helper'
RSpec.describe "Stylesheets", type: :request do
require "sprockets"
let(:css) do
assets = Rails.application.assets
assets.find_asset("active_admin.css")
end
it "should successfully render the scss stylesheets using sprockets" do
expect(css).to_not eq nil
end
it "should ... | cmunozgar/activeadmin | spec/requests/stylesheets_spec.rb | Ruby | mit | 415 |
// Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
// Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
// Copyright (c) 2014 Adam Wulkiewicz, Lodz, Poland.
// Parts of Boost.Geo... | nginnever/zogminer | tests/deps/boost/geometry/algorithms/correct.hpp | C++ | mit | 9,374 |
/* ========================================================================
* Bootstrap: iconset-typicon-2.0.6.js by @recktoner
* https://victor-valencia.github.com/bootstrap-iconpicker
*
* Iconset: Typicons 2.0.6
* https://github.com/stephenhutchings/typicons.font
* ============================================... | ahsina/StudExpo | wp-content/plugins/tiny-bootstrap-elements-light/assets/js/iconset/iconset-typicon-2.0.6.js | JavaScript | gpl-2.0 | 10,551 |
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* DNS Library for handling lookups and updates.
*
* PHP Version 5
*
* Copyright (c) 2010, Mike Pultz <mike@mikepultz.com>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are... | prdatur/soopfw | plugins/Net_DNS2-1.2.1/DNS2/RR/LOC.php | PHP | gpl-2.0 | 12,763 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Methods for working with cecog
Copyright 2010 University of Dundee, Inc. All rights reserved.
Use is subject to license terms supplied in LICENSE.txt
"""
import os
import re
import sys
from omero.cli import BaseControl, CLI
import omero
import omero.consta... | dominikl/openmicroscopy | components/tools/OmeroPy/src/omero/plugins/cecog.py | Python | gpl-2.0 | 6,684 |
<?php
/**
* @package JCE
* @copyright Copyright © 2009-2011 Ryan Demmer. All rights reserved.
* @license GNU/GPL 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
* JCE is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distribut... | ArtificialEX/jwexport | administrator/components/com_jce/views/installer/tmpl/install_install.php | PHP | gpl-2.0 | 1,071 |
#! /usr/bin/env python
# encoding: utf-8
# WARNING! Do not edit! https://waf.io/book/index.html#_obtaining_the_waf_file
import re
from waflib import Utils,Task,TaskGen,Logs
from waflib.TaskGen import feature,before_method,after_method,extension
from waflib.Configure import conf
INC_REGEX="""(?:^|['">]\s*;)\s*(?:|#\s*)... | asljivo1/802.11ah-ns3 | ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Tools/fc_scan.py | Python | gpl-2.0 | 1,859 |
<?php
class AWPCP_FeeType extends AWPCP_PaymentTermType {
const TYPE = 'fee';
public function __construct() {
parent::__construct(_x('Fee', 'payment term type', 'AWPCP'), self::TYPE, '');
add_action('awpcp-transaction-status-updated', array($this, 'update_buys_count'), 10, 2);
}
publ... | Owchzzz/Militiatoday | wp-content/plugins/another-wordpress-classifieds-plugin/includes/payment-term-fee-type.php | PHP | gpl-2.0 | 3,188 |
/*
* Copyright (C) 2005-2011 MaNGOS <http://getmangos.com/>
* Copyright (C) 2009-2011 MaNGOSZero <https://github.com/mangos/zero>
* Copyright (C) 2011-2016 Nostalrius <https://nostalrius.org>
* Copyright (C) 2016-2017 Elysium Project <https://github.com/elysium-project>
*
* This program is free software; you can ... | jzcxw/core | src/game/Movement/MovementGenerator.cpp | C++ | gpl-2.0 | 1,356 |
<?php
/**
* @file
* @ingroup SMWSpecialPage
* @ingroup SpecialPage
*
* A factbox like view on an article, implemented by a special page.
*
* @author Denny Vrandecic
*/
/**
* A factbox view on one specific article, showing all the Semantic data about it
*
* @ingroup SMWSpecialPage
* @ingroup SpecialPage
*/... | JeroenDeDauw/SemanticMediaWiki | includes/specials/SMW_SpecialBrowse.php | PHP | gpl-2.0 | 14,800 |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Validator\Constraints;
use Symfony\Component\Validato... | enslyon/ensl | vendor/symfony/validator/Constraints/CardSchemeValidator.php | PHP | gpl-2.0 | 4,811 |
<?php
Class AddThis_addjs_extender extends AddThis_addjs{
var $jsAfterAdd;
function getAtPluginPromoText(){
if (! did_action('admin_init') && ! current_filter('admin_init'))
{
_doing_it_wrong('getAtPluginPromoText', 'This function should only be called on an admin page load and n... | cw196/tiwal | zh/wp-content/plugins/addthis-smart-layers/views/includes/addthis_addjs_extender.php | PHP | gpl-2.0 | 3,170 |
<?php
/**
* File containing the LocaleConverterInterface interface.
*
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/
namespace eZ\Publish\Core\MVC\Symfony\Locale;
/**
* Interface for loc... | alongosz/ezpublish-kernel | eZ/Publish/Core/MVC/Symfony/Locale/LocaleConverterInterface.php | PHP | gpl-2.0 | 1,236 |
<?php defined('_JEXEC') or die; ?>
<?php if ( $this->params->def( 'show_page_title', 1 ) ) : ?>
<div class="componentheading<?php echo $this->params->get( 'pageclass_sfx' ); ?>">
<?php echo $this->escape($this->params->get('page_title')); ?>
</div>
<?php endif; ?>
<form action="index.php?option=com_user&task=... | intelogen/organica | components/com_user_0/views/remind/tmpl/default.php | PHP | gpl-2.0 | 1,088 |
#
# Copyright (C) 2000-2005 by Yasushi Saito (yasushi.saito@gmail.com)
#
# Jockey 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.
#
# Jockey is distr... | ShaolongHu/lpts | site-packages/pychart/line_plot.py | Python | gpl-2.0 | 6,684 |
<?php
/**
* FTP Exception Class
*
* @author Andreas Skodzek <webmaster@phpbuddy.eu>
* @link http://www.phpbuddy.eu/
* @copyright 2008 Andreas Skodzek
* @license GNU Public License <http://www.gnu.org/licenses/gpl.html>
* @package phpBuddy.FTP.Exception.Class
* @version 1.0 released 01.09.20... | meetai/2Moons | src/includes/libs/ftp/ftpexception.class.php | PHP | gpl-3.0 | 1,339 |
using SmartStore.Web.Framework.Modelling;
namespace SmartStore.PayPal.Models
{
public class PayPalExpressPaymentInfoModel : ModelBase
{
public PayPalExpressPaymentInfoModel()
{
}
public bool CurrentPageIsBasket { get; set; }
public string SubmitButtonImag... | chunlizh/SmartStoreNET | src/Plugins/SmartStore.PayPal/Models/PayPalExpressPaymentInfoModel.cs | C# | gpl-3.0 | 349 |
<?php
namespace app\models;
use app\properties\HasProperties;
use devgroup\TagDependencyHelper\ActiveRecordHelper;
use Yii;
use yii\behaviors\AttributeBehavior;
use yii\caching\TagDependency;
use yii\data\ActiveDataProvider;
use yii\db\ActiveRecord;
/**
* This is the model class for table "property_group".
*
* @p... | rinodung/yii2-shop-cms | models/PropertyGroup.php | PHP | gpl-3.0 | 9,292 |
package org.jnbt;
/*
* JNBT License
*
* Copyright (c) 2010 Graham Edgecombe
* 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 ab... | ferrybig/Enderstone | src/org/jnbt/FloatTag.java | Java | gpl-3.0 | 2,294 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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/. */
/*
* Date: 2001-07-12
*
* SUMMA... | sam/htmlunit-rhino-fork | testsrc/tests/js1_5/Regress/regress-89443.js | JavaScript | mpl-2.0 | 94,445 |
package aws
import (
"errors"
"fmt"
"log"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/ec2"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/helper/schema"
)
func dataSourceAwsNetworkAcls() *schema.Resource {
return &schema.Resource{
Read: dataSourceAws... | tpounds/terraform | vendor/github.com/terraform-providers/terraform-provider-aws/aws/data_source_aws_network_acls.go | GO | mpl-2.0 | 1,999 |
/****************************************************************/
/* DO NOT MODIFY THIS HEADER */
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* */
/* (c) 2010 Battelle Energy Alliance, LLC ... | katyhuff/moose | examples/ex13_functions/src/base/ExampleApp.C | C++ | lgpl-2.1 | 1,845 |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | kwf2030/doclava | src/main/java/com/google/doclava/ParsedTagInfo.java | Java | apache-2.0 | 1,692 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WingtipToys
{
public partial class About : Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
} | sorenhl/Glimpse | source/Glimpse.WebForms.WingTip.Sample/About.aspx.cs | C# | apache-2.0 | 300 |
# Copyright 2017 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | benoitsteiner/tensorflow-opencl | tensorflow/contrib/kfac/python/ops/utils_lib.py | Python | apache-2.0 | 1,520 |
/*
* 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 ... | qingwen220/eagle | eagle-server/src/main/webapp/app/dev/public/js/services/alertSrv.js | JavaScript | apache-2.0 | 2,048 |
/*
* 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 ... | akuznetsov-gridgain/ignite | modules/core/src/test/java/org/apache/ignite/spi/checkpoint/jdbc/JdbcCheckpointSpiCustomConfigSelfTest.java | Java | apache-2.0 | 1,829 |
/*
* 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 ... | trekawek/jackrabbit-oak | oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/blob/ds/MongoDataStoreBlobGCTest.java | Java | apache-2.0 | 2,161 |
/*
* 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/drill | exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/validate/IteratorValidatorCreator.java | Java | apache-2.0 | 2,373 |
<?php
require_once(dirname(dirname(__FILE__)) . '/libextinc/OAuth.php');
/**
* OAuth Store
*
* Updated version, works with consumer-callbacks, certificates and 1.0-RevA protocol
* behaviour (requestToken-callbacks and verifiers)
*
* @author Andreas Åkre Solberg, <andreas.solberg@uninett.no>, UNINETT AS.
* @au... | RKathees/is-connectors | tiqr/tiqr-client/modules/oauth/lib/OAuthStore.php | PHP | apache-2.0 | 7,852 |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2014 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* 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 Licen... | stuartwdouglas/undertow | core/src/main/java/io/undertow/predicate/IdempotentPredicate.java | Java | apache-2.0 | 2,348 |
/*
Copyright 2016 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | piosz/test-infra | mungegithub/github/status_change.go | GO | apache-2.0 | 2,311 |
package terraform
import (
"github.com/hashicorp/terraform/addrs"
"github.com/hashicorp/terraform/configs/configschema"
"github.com/hashicorp/terraform/dag"
)
// ResourceCountTransformer is a GraphTransformer that expands the count
// out for a specific resource.
//
// This assumes that the count is already interp... | xanzy/terraform-provider-cosmic | vendor/github.com/hashicorp/terraform/terraform/transform_resource_count.go | GO | apache-2.0 | 1,368 |
/*
* 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 ... | nikhilvibhav/camel | components/camel-cxf/src/test/java/org/apache/camel/component/cxf/converter/MyCxfCustomerConverter.java | Java | apache-2.0 | 1,868 |
package builds
import (
"fmt"
"path/filepath"
"strings"
"time"
g "github.com/onsi/ginkgo"
o "github.com/onsi/gomega"
"k8s.io/kubernetes/test/e2e"
exutil "github.com/openshift/origin/test/extended/util"
)
var _ = g.Describe("default: S2I incremental build with push and pull to authenticated registry", func()... | pkdevbox/origin | test/extended/builds/sti_incremental.go | GO | apache-2.0 | 3,417 |
//===--- SILDebugInfoGenerator.cpp - Writes a SIL file for debugging ------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LI... | russbishop/swift | lib/SILOptimizer/UtilityPasses/SILDebugInfoGenerator.cpp | C++ | apache-2.0 | 5,535 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | AzureAutomationTeam/azure-powershell | src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/ResourceGroups/NewAzureResourceGroupCmdlet.cs | C# | apache-2.0 | 2,741 |
/**
* Copyright 2005-2015 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... | jruchcolo/rice-cd | rice-framework/krad-app-framework/src/main/java/org/kuali/rice/krad/util/BeanPropertyComparator.java | Java | apache-2.0 | 6,807 |
/**
*
* 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/openejb | container/openejb-core/src/test/java/org/apache/openejb/core/mdb/MdbInvoker.java | Java | apache-2.0 | 5,024 |
/*
* Copyright 2014 NAVER Corp.
*
* 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 a... | dawidmalina/pinpoint | collector/src/main/java/com/navercorp/pinpoint/collector/cluster/route/DefaultRouteHandler.java | Java | apache-2.0 | 4,382 |
/*
* 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 ... | nikhilvibhav/camel | components/camel-twitter/src/main/java/org/apache/camel/component/twitter/search/SearchConsumerHandler.java | Java | apache-2.0 | 4,705 |
/*
*
* Copyright 2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | zhiqinghuang/springfox | springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/DummyClass.java | Java | apache-2.0 | 11,454 |
from Child import Child
from Node import Node # noqa: I201
AVAILABILITY_NODES = [
# availability-spec-list -> availability-entry availability-spec-list?
Node('AvailabilitySpecList', kind='SyntaxCollection',
element='AvailabilityArgument'),
# Wrapper for all the different entries that may occur i... | austinzheng/swift | utils/gyb_syntax_support/AvailabilityNodes.py | Python | apache-2.0 | 4,872 |
class Multimarkdown < Formula
desc "Turn marked-up plain text into well-formatted documents"
homepage "http://fletcherpenney.net/multimarkdown/"
# Use git tag instead of the tarball to get submodules
url "https://github.com/fletcher/MultiMarkdown-5.git",
:tag => "5.4.0",
:revision => "193c09a5362eb8a6c6... | kunickiaj/homebrew-core | Formula/multimarkdown.rb | Ruby | bsd-2-clause | 1,528 |
cask 'fontexplorer-x-pro' do
version '6.0.2'
sha256 'f842e373d6126218dcd34bd116ceab29a7abb5c6ea22afec04ad86652f19a290'
url "http://fast.fontexplorerx.com/FontExplorerXPro#{version.no_dots}.dmg"
name 'FontExplorer X Pro'
homepage 'https://www.fontexplorerx.com/'
depends_on macos: '>= :mountain_lion'
app... | malford/homebrew-cask | Casks/fontexplorer-x-pro.rb | Ruby | bsd-2-clause | 1,187 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | kanevbg/pimcore | pimcore/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/CreateConferenceTemplateRequest.php | PHP | bsd-3-clause | 3,379 |
/**
* @license
* Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be f... | tachyon1337/webcomponentsjs | src/CustomElements/observe.js | JavaScript | bsd-3-clause | 9,347 |
<?php
/**
* Squiz_Sniffs_Formatting_OperationBracketSniff.
*
* PHP version 5
*
* @category PHP
* @package PHP_CodeSniffer
* @author Greg Sherwood <gsherwood@squiz.net>
* @author Marc McIntyre <mmcintyre@squiz.net>
* @copyright 2006-2012 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.c... | theghostbel/pimcore | tests/lib/PHP/CodeSniffer/Standards/Squiz/Sniffs/Formatting/OperatorBracketSniff.php | PHP | bsd-3-clause | 10,520 |
/*
* Copyright (C) 2010 Google Inc. 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 copyright
* notice, this list of conditions ... | xin3liang/platform_external_chromium_org_third_party_WebKit | Source/core/workers/WorkerEventQueue.cpp | C++ | bsd-3-clause | 4,525 |
#!/usr/bin/env python
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Generator for C++ structs from api json files.
The purpose of this tool is to remove the need for hand-written code that
convert... | heke123/chromium-crosswalk | tools/json_schema_compiler/compiler.py | Python | bsd-3-clause | 8,474 |
// Any copyright is dedicated to the Public Domain.
// http://creativecommons.org/licenses/publicdomain/
//-----------------------------------------------------------------------------
var BUGNUMBER = 565604;
var summary =
"Typed-array properties don't work when accessed from an object whose " +
"prototype (or fur... | darkrsw/safe | tests/browser_extensions/js1_8_5/extensions/typedarray-prototype.js | JavaScript | bsd-3-clause | 1,266 |
/*
* Copyright (C) 2012 Google Inc. 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 copyright
* notice, this list of conditions... | temasek/android_external_chromium_org_third_party_WebKit | Source/core/rendering/RenderThemeChromiumFontProviderLinux.cpp | C++ | bsd-3-clause | 2,746 |
import AuthenticatedRoute from 'ghost/routes/authenticated';
import CurrentUserSettings from 'ghost/mixins/current-user-settings';
import styleBody from 'ghost/mixins/style-body';
var AppsRoute = AuthenticatedRoute.extend(styleBody, CurrentUserSettings, {
titleToken: 'Apps',
classNames: ['settings-view-apps']... | PepijnSenders/whatsontheotherside | core/client/app/routes/settings/apps.js | JavaScript | mit | 699 |
<?php
/**
* @file
* Contains \Drupal\Core\Entity\Query\Sql\Query.
*/
namespace Drupal\Core\Entity\Query\Sql;
use Drupal\Core\Database\Connection;
use Drupal\Core\Database\Query\SelectInterface;
use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\Core\Entity\Query\QueryBase;
use Drupal\Core\Entity\Query\QueryEx... | casivaagustin/drupalcon-mentoring | src/core/lib/Drupal/Core/Entity/Query/Sql/Query.php | PHP | mit | 10,521 |
import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';
@IonicPage()
@Component({
selector: 'page-hours',
templateUrl: 'hours.html',
})
export class HoursPage {
started: boolean = false;
stopped: boolean = true;
constructor(public navCtrl: NavControl... | HamidMosalla/allReady | AllReadyApp/Mobile-App/src/pages/hours/hours.ts | TypeScript | mit | 944 |
//---------------------------------------------------------------------
// <copyright file="QueryReferenceValue.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//---------------------------------... | abkmr/odata.net | test/FunctionalTests/Taupo/Source/Taupo.Query/Contracts/QueryReferenceValue.cs | C# | mit | 8,618 |
// CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... | ndykman/CodeContracts | Microsoft.Research/Contracts/System.Core/Sources/System.IO.cs | C# | mit | 2,061 |
// CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... | ndykman/CodeContracts | Microsoft.Research/Contracts/System.Web/Sources/System.Web.UI.WebControls.WebParts.TransformerTypeCollection.cs | C# | mit | 3,050 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Umbraco.Core.Xml.XPath
{
/// <summary>
/// Represents the type of a content that can be navigated via XPath.
/// </summary>
interface INavigableContentType
{
/// <summary>
/// Gets the n... | lars-erik/Umbraco-CMS | src/Umbraco.Core/Xml/XPath/INavigableContentType.cs | C# | mit | 637 |
package com.mozu.api.utils;
public class Endpoints {
public static final String AUTH_URL = "api/platform/applications/authtickets";
public static final String AUTH_REFRESH_URL = "api/platform/applications/authtickets/refresh-ticket/%s";
public static final String TENANT_END_POINT = "api/platform/tenants";
... | carsonreinke/mozu-java-sdk | src/main/java/com/mozu/api/utils/Endpoints.java | Java | mit | 1,200 |
/*=============================================================================
Copyright (c) 2001-2011 Joel de Guzman
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
====================================... | nginnever/zogminer | tests/deps/boost/fusion/tuple/detail/make_tuple.hpp | C++ | mit | 3,058 |
<?php
namespace Bolt\Helpers;
use Cocur\Slugify\Slugify;
class Str
{
/**
* Returns a "safe" version of the given string - basically only US-ASCII and
* numbers. Needed because filenames and titles and such, can't use all characters.
*
* @param string $str
* @param boolean $strict
*... | CarsonF/bolt | src/Helpers/Str.php | PHP | mit | 2,298 |
import Ember from 'ember-metal'; // Ember as namespace
import {
A as emberA,
typeOf,
String as StringUtils,
Namespace,
Object as EmberObject
} from 'ember-runtime';
/**
@module ember
@submodule ember-extension-support
*/
/**
The `ContainerDebugAdapter` helps the container and resolver interface
with too... | duggiefresh/ember.js | packages/ember-extension-support/lib/container_debug_adapter.js | JavaScript | mit | 2,656 |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model common\models\User */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="user-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'status')->textInput() ?>
<div class="form-group"... | wedigitalApps/foundation | themes/wedigital/backend/user/_form.php | PHP | mit | 555 |
<?php
/**
* WPSEO plugin file.
*
* @package WPSEO\Internals\Options
*/
/**
* Option: wpseo_taxonomy_meta.
*/
class WPSEO_Taxonomy_Meta extends WPSEO_Option {
/**
* @var string Option name.
*/
public $option_name = 'wpseo_taxonomy_meta';
/**
* @var bool Whether to include the option in the return f... | smpetrey/leahconstantine.com | web/app/plugins/wordpress-seo/inc/options/class-wpseo-taxonomy-meta.php | PHP | mit | 18,076 |
<?php
namespace Sonata\AdminBundle\Tests\Fixtures\Admin;
use Sonata\AdminBundle\Admin\Admin;
class PostAdmin extends Admin
{
protected $metadataClass = null;
public function setParentAssociationMapping($associationMapping)
{
$this->parentAssociationMapping = $associationMapping;
}
publi... | evgenikozlov/test-task | vendor/sonata-project/admin-bundle/Tests/Fixtures/Admin/PostAdmin.php | PHP | mit | 607 |
// CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... | ndykman/CodeContracts | Microsoft.Research/Contracts/MsCorlib/System.Collections.Generic.IList.cs | C# | mit | 5,963 |
namespace Merchello.Web.Models.ContentEditing
{
using System;
using System.Collections.Generic;
using Merchello.Core;
using Merchello.Core.Models.TypeFields;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
/// <summary>
/// The line item display base.
/// </summary>
... | MindfireTechnology/Merchello | src/Merchello.Web/Models/ContentEditing/LineItemDisplayBase.cs | C# | mit | 1,952 |
(function ($) {
'use strict';
$.extend(true, $.trumbowyg, {
langs: {
// jshint camelcase:false
en: {
fontFamily: 'Font'
},
es: {
fontFamily: 'Fuente'
},
da: {
fontFamily: 'Skrifttype'... | extend1994/cdnjs | ajax/libs/Trumbowyg/2.16.2/plugins/fontfamily/trumbowyg.fontfamily.js | JavaScript | mit | 3,157 |
<?php
global $qode_options_proya;
$blog_hide_comments = "";
if (isset($qode_options_proya['blog_hide_comments'])) {
$blog_hide_comments = $qode_options_proya['blog_hide_comments'];
}
$blog_hide_author = "";
if (isset($qode_options_proya['blog_hide_author'])) {
$blog_hide_author = $qode_options_proya['blog_hide_a... | comc49/a2f_bridge_theme | wp-content/themes_bak/bridge/templates/blog_large_image_simple-loop.php | PHP | gpl-2.0 | 7,098 |
<?php
namespace Drupal\Tests\rest\Functional\EntityResource\Media;
@trigger_error('The ' . __NAMESPACE__ . '\MediaResourceTestBase is deprecated in Drupal 8.6.x and will be removed before Drupal 9.0.0. Instead, use Drupal\Tests\media\Functional\Rest\MediaResourceTestBase. See https://www.drupal.org/node/2971931.', E_... | maskedjellybean/tee-prop | web/core/modules/rest/tests/src/Functional/EntityResource/Media/MediaResourceTestBase.php | PHP | gpl-2.0 | 701 |
/* This file is part of the ScriptDev2 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 opti... | Exxenoz/mangos-wotlk | src/scriptdev2/scripts/northrend/gundrak/boss_moorabi.cpp | C++ | gpl-2.0 | 5,803 |
/* This file is part of the ScriptDev2 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 opti... | Exxenoz/mangos-wotlk | src/scriptdev2/scripts/northrend/violet_hold/boss_erekem.cpp | C++ | gpl-2.0 | 8,075 |
<?php
/**
* Outputs the RSS2 XML format comment feed using the feed-rss2.php file in
* wp-includes folder. This file only sets the feed format and includes the
* feed-rss2-comments.php.
*
* This file is no longer used in WordPress and while it is not deprecated now.
* This file will most likely be deprecated or r... | localshred/dtraders | wp-commentsrss2.php | PHP | gpl-2.0 | 625 |
<?php
/**
* Credits administration panel.
*
* @package WordPress
* @subpackage Administration
*/
/** WordPress Administration Bootstrap */
require_once __DIR__ . '/admin.php';
require_once __DIR__ . '/includes/credits.php';
$title = __( 'Credits' );
list( $display_version ) = explode( '-', get_bloginfo( 'versio... | TheThumbsupguy/Ross-Upholstery-Inc | wp-admin/credits.php | PHP | gpl-2.0 | 4,135 |
from Source import Source
from Components.Element import cached
from Components.SystemInfo import SystemInfo
from enigma import eServiceReference
StreamServiceList = []
class StreamService(Source):
def __init__(self, navcore):
Source.__init__(self)
self.ref = None
self.__service = None
self.navcore = navcore... | Dima73/enigma2 | lib/python/Components/Sources/StreamService.py | Python | gpl-2.0 | 2,074 |
<?php
/**
* Template Name: Wide Page Template
*
* Description: A page template that provides a key component of WordPress as a CMS
* by meeting the need for a carefully crafted introductory page. The front page template
* in Twenty Twelve consists of a page content area for adding text, images, video --
* anythi... | as1anhawk/ICT2_Team3 | wp-content/themes/clickboutique/page-templates/page-wide.php | PHP | gpl-2.0 | 1,843 |
int main()
{
if(true) {return 1;}
else if(true) {return 1;}
else {return 1;}
} | brmqk3/uncrustify | tests/output/cpp/34171-i1181.cpp | C++ | gpl-2.0 | 81 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'],
... | hryamzik/ansible | lib/ansible/modules/network/aci/aci_tenant_span_dst_group.py | Python | gpl-3.0 | 6,414 |
Clazz.declarePackage ("JSV.common");
Clazz.load (["java.lang.Enum", "JSV.source.JDXDataObject", "JU.Lst"], "JSV.common.Spectrum", ["java.lang.Boolean", "$.Double", "java.util.Hashtable", "JU.PT", "JSV.common.Coordinate", "$.Parameters", "$.PeakInfo", "JSV.source.JDXSourceStreamTokenizer", "JU.Logger"], function () {
... | davidbuzatto/CryProteinModelsComparisonLab | web/j2s/JSV/common/Spectrum.js | JavaScript | gpl-3.0 | 18,056 |
<?php
return array(
'group_exists' => 'குழு ஏற்கனவே உள்ளது!',
'group_not_found' => 'குழு [: id] இல்லை.',
'group_name_required' => 'பெயர் புலம் தேவை',
'success' => array(
'create' => 'குழு வெற்றிகரமாக உருவாக்கப்பட்டது.',
'update' => 'குழு வெற்றிகரமாக புதுப்பிக்கப்பட்டது.',
... | uberbrady/snipe-it | resources/lang/ta/admin/groups/message.php | PHP | agpl-3.0 | 1,553 |
/**
* Orthanc - A Lightweight, RESTful DICOM Store
* Copyright (C) 2012-2015 Sebastien Jodogne, Medical Physics
* Department, University Hospital of Liege, Belgium
*
* 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... | rbetancor/orthanc-webviewer | Orthanc/Uuid.cpp | C++ | agpl-3.0 | 3,863 |
/**
* Copyright © 2002 Instituto Superior Técnico
*
* This file is part of FenixEdu Academic.
*
* FenixEdu Academic 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... | pedrosan7os/fenixedu-academic | src/main/java/org/fenixedu/academic/ui/faces/components/util/CalendarLink.java | Java | lgpl-3.0 | 5,981 |
// personal includes ".h"
#include "EUTELESCOPE.h"
#include "EUTelBaseDetector.h"
#include "EUTelTLUDetector.h"
// system includes <>
#include <iostream>
#include <iomanip>
#include <vector>
#include <string>
using namespace std;
using namespace eutelescope;
EUTelTLUDetector::EUTelTLUDetector() : EUTelBaseDetector(... | freidt/eudaq | nreader/detdescription/EUTelTLUDetector.cc | C++ | lgpl-3.0 | 1,905 |
package uk.co.alt236.bluetoothlelib.device.beacon.ibeacon;
/**
*
*/
public class IBeaconConstants {
public static final byte[] MANUFACTURER_DATA_IBEACON_PREFIX = {0x4C, 0x00, 0x02, 0x15};
}
| StuartGuo/Bluetooth-LE-Library---Android | library/src/main/java/uk/co/alt236/bluetoothlelib/device/beacon/ibeacon/IBeaconConstants.java | Java | apache-2.0 | 198 |
// This is a generated file. Not intended for manual editing.
package com.intellij.sh.psi.impl;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import st... | smmribeiro/intellij-community | plugins/sh/gen/com/intellij/sh/psi/impl/ShUnaryExpressionImpl.java | Java | apache-2.0 | 1,138 |
/*
* Copyright (c) 2015, 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.apache.org/li... | wso2/product-das | modules/integration/tests-common/integration-test-utils/src/main/java/org/wso2/das/analytics/rest/beans/DrillDownPathBean.java | Java | apache-2.0 | 2,162 |
/*
* 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 writing, software
* distribut... | gh351135612/presto | presto-main/src/test/java/com/facebook/presto/sql/planner/assertions/LimitMatcher.java | Java | apache-2.0 | 1,577 |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2014 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* 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 Licen... | TomasHofman/undertow | core/src/main/java/io/undertow/util/Methods.java | Java | apache-2.0 | 6,437 |
package com.intellij.execution.configurations;
/**
* Configuration of such type can't be manually added or removed by the user; the template entry is hidden.
*/
public interface VirtualConfigurationType {
}
| siosio/intellij-community | platform/lang-api/src/com/intellij/execution/configurations/VirtualConfigurationType.java | Java | apache-2.0 | 210 |
@org.osgi.annotation.bundle.Export
@org.osgi.annotation.versioning.Version("2.0.0")
package bndtools.editor.model;
| psoreide/bnd | bndtools.core/src/bndtools/editor/model/package-info.java | Java | apache-2.0 | 115 |
/*
*
* Copyright 2014, Google Inc.
* 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 of condi... | otsimo/analytics | vendor/src/google.golang.org/grpc/clientconn_test.go | GO | apache-2.0 | 7,643 |
/*
* Copyright 2003-2013 Dave Griffith, Bas Leijdekkers
*
* 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 applicab... | siosio/intellij-community | plugins/InspectionGadgets/src/com/siyeh/ig/abstraction/MagicNumberInspection.java | Java | apache-2.0 | 7,475 |
package main
import (
"fmt"
"os"
"path/filepath"
"github.com/karrick/godirwalk"
"github.com/pkg/errors"
)
func main() {
if len(os.Args) < 2 {
fmt.Fprintf(os.Stderr, "usage: %s dir1 [dir2 [dir3...]]\n", filepath.Base(os.Args[0]))
os.Exit(2)
}
scratchBuffer := make([]byte, 64*1024) // allocate once and re... | pweil-/origin | vendor/github.com/karrick/godirwalk/examples/clean-empties/main.go | GO | apache-2.0 | 1,592 |
/*
* Copyright 2014 Open Networking Laboratory
*
* 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 la... | packet-tracker/onos | providers/pcep/tunnel/src/test/java/org/onosproject/provider/pcep/tunnel/impl/PcepControllerAdapter.java | Java | apache-2.0 | 2,267 |
/*
* Copyright 2005-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | likaiwalkman/spring-ldap | core/src/main/java/org/springframework/ldap/core/support/ContextMapperWithControls.java | Java | apache-2.0 | 1,490 |
# Copyright 2008-2015 Nokia Solutions and Networks
#
# 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 l... | caio2k/RIDE | src/robotide/lib/robot/output/librarylogger.py | Python | apache-2.0 | 2,175 |
/*
* 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 ... | AndreasAbdi/jackrabbit-oak | oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/nodetype/EffectiveType.java | Java | apache-2.0 | 11,952 |