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 |
|---|---|---|---|---|---|
define('lodash/object/get', ['exports', 'lodash/internal/baseGet', 'lodash/internal/toPath'], function (exports, _lodashInternalBaseGet, _lodashInternalToPath) {
'use strict';
/**
* Gets the property value at `path` of `object`. If the resolved value is
* `undefined` the `defaultValue` is used in its place.
... | hoka-plus/p-01-web | tmp/babel-output_path-hOv4KMmE.tmp/lodash/object/get.js | JavaScript | mit | 1,164 |
var env = process.env.ISUCON_ENV || "local"
module.exports = require("./../config/" + env);
| isucon/isucon3 | final/webapp/nodejs/config.js | JavaScript | mit | 92 |
<?php
/**
* This file is part of CodeIgniter 4 framework.
*
* (c) CodeIgniter Foundation <admin@codeigniter.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace CodeIgniter\Test\Interfaces;
use Faker\Generator;
use Ref... | bcit-ci/CodeIgniter4 | system/Test/Interfaces/FabricatorModel.php | PHP | mit | 2,251 |
/* ====================================================================
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 ... | tobyclemson/msci-project | vendor/poi-3.6/src/java/org/apache/poi/poifs/storage/ListManagedBlock.java | Java | mit | 1,502 |
CfContainersBroker::Application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# The test environment is used exclusively to run your application's
# test suite. You never need to work with it otherwise. Remember that
# your test database is "scratch space" for... | dynatrace-innovationlab/easyTravel-Cloud-Foundry | deploy/config/cf-containers-broker/environments/test.rb | Ruby | mit | 1,573 |
var originalLookup, App, originalModelInjections;
module("Ember.Application Dependency Injection – toString",{
setup: function() {
originalModelInjections = Ember.MODEL_FACTORY_INJECTIONS;
Ember.MODEL_FACTORY_INJECTIONS = true;
originalLookup = Ember.lookup;
Ember.run(function(){
App = Ember.... | ssured/ember.js | packages/ember-application/tests/system/dependency_injection/to_string_test.js | JavaScript | mit | 1,557 |
#!/usr/bin/env python
# *-* coding: UTF-8 *-*
"""Împăratul a primit serie de mesaje importante pe care este
important să le descifreze cât mai repede.
Din păcate mesagerul nu a apucat să îi spună împăratul care au fost
cheile alese pentru fiecare mesaj și tu ai fost ales să descifrezi
misterul.
Informații:
În cr... | iulianbute/labs | python/solutii/alex_mitan/caesar.py | Python | mit | 1,892 |
class Capybara::RackTest::Form < Capybara::RackTest::Node
# This only needs to inherit from Rack::Test::UploadedFile because Rack::Test checks for
# the class specifically when determing whether to consturct the request as multipart.
# That check should be based solely on the form element's 'enctype' attribute va... | Jarob22/sc2_app_fyp_backend | vendor/bundle/ruby/1.9.1/gems/capybara-1.1.2/lib/capybara/rack_test/form.rb | Ruby | mit | 2,846 |
import React, { cloneElement } from 'react';
import classNames from 'classnames';
import ValidComponentChildren from './utils/ValidComponentChildren';
class ListGroup extends React.Component {
render() {
let items = ValidComponentChildren.map(
this.props.children,
(item, index) => cloneElement(item, ... | jontewks/react-bootstrap | src/ListGroup.js | JavaScript | mit | 1,507 |
<?php
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager();
/** @var \Magento\Framework\Registry $registry */
$registry = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get... | j-froehlich/magento2_wk | vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Catalog/_files/products_related_rollback.php | PHP | mit | 1,176 |
/*
* Copyright (c) 2009 WiQuery team
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publi... | google-code-export/wiquery | wiquery-jquery-ui/src/main/java/org/odlabs/wiquery/ui/progressbar/ProgressBar.java | Java | mit | 9,828 |
// Copyright 2016 The Gogs Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package models
import (
"fmt"
"strings"
"testing"
. "github.com/smartystreets/goconvey/convey"
"github.com/gogits/gogs/pkg/setting"
)
func init() {
... | xaionaro/gogs | models/ssh_key_test.go | GO | mit | 3,217 |
import get from 'ember-metal/property_get';
import { SuiteModuleBuilder } from 'ember-runtime/tests/suites/suite';
const suite = SuiteModuleBuilder.create();
suite.module('removeObject');
suite.test('should return receiver', function() {
let before = this.newFixture(3);
let obj = this.newObject(before);
eq... | bmac/ember.js | packages/ember-runtime/tests/suites/mutable_array/removeObject.js | JavaScript | mit | 2,369 |
#include <vector>
#include <stdio.h>
#include <cstring>
#include <glm.hpp>
#include "objloader.hpp"
#pragma warning(disable:4996)
bool loadOBJ(
const char * path,
std::vector<glm::vec3> & out_vertices,
std::vector<glm::vec3> & out_normals,
std::vector<glm::vec2> & out_uvs) {
std::vector<unsigned int> vertexIn... | DanielPri/COMP371 | Skeleton/COMP371_Skeleton_code-master/Skeleton/VS_Solution/COMP371/COMP371/objloader.cpp | C++ | mit | 3,059 |
// Copyright (c) 2001-2010 Hartmut Kaiser
// Copyright (c) 2001-2010 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)
#if !defined(BOOST_SPIRIT_PARSE_SEXPR_IMPL)
#define BOOST_SPIRIT_PARSE_SEXP... | djsedulous/namecoind | libs/boost_1_50_0/libs/spirit/example/scheme/input/parse_sexpr_impl.hpp | C++ | mit | 4,452 |
/**
* Module dependencies.
*/
var express = require('express');
/**
* Initialize middleware.
*/
module.exports = function() {
this.use(express.urlencoded());
this.use(express.json());
this.use(this.router);
this.use(express.errorHandler());
}
| bosgood/electrolyte-examples | express/etc/init/02_middleware.js | JavaScript | mit | 262 |
/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | chliam/OpenCV_IOS_3.0RC1 | opencv2.framework/Versions/A/Headers/core/optim.hpp | C++ | mit | 15,775 |
// Generated by CoffeeScript 1.3.3
(function() {
var Path, createApiTree, extensions, fs,
__indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; },
__hasProp = {}.hasOwnProperty;
fs = require('fs');
Path = requi... | rybon/Remocial | node_modules/ss-angular/node_modules/apitree/lib/apitree.js | JavaScript | mit | 2,451 |
class GetterWithDollar1 {
@lombok.Getter int $i;
GetterWithDollar1() {
super();
}
public @java.lang.SuppressWarnings("all") int get$i() {
return this.$i;
}
}
class GetterWithDollar2 {
@lombok.Getter int $i;
@lombok.Getter int i;
GetterWithDollar2() {
super();
}
public @java.lang.Suppress... | domix/lombok | test/transform/resource/after-ecj/GetterWithDollar.java | Java | mit | 456 |
YUI.add('gallery-plugin-node-io', function(Y) {
/**
* Node IO provides a simple interface to load text into a node
*
* @class NodeIo
* @extends Base
* @version 1.1.0
*/
var YL = Y.Lang;
Y.Plugin.NodeIo = Y.Base.create('node-io', Y.Base, [], {
/////// P U B L I C //////
/**
* Se... | inikoo/fact | libs/yui/yui3-gallery/build/gallery-plugin-node-io/gallery-plugin-node-io.js | JavaScript | mit | 4,086 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Azure.ResourceManager.Resources.Models;
using Azure.ResourceManager.Sql;
using Azure.ResourceManager.Sql.Models;
using Azure.Resource... | ayeletshpigelman/azure-sdk-for-net | sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/ServerCrudScenarioTests.cs | C# | mit | 9,957 |
/**
* @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
*/
/// <reference types="node" />
import * as p from 'path';
import {AbsoluteFsPath, PathSegment, PathString} from '../.... | mgechev/angular | packages/compiler-cli/src/ngtsc/file_system/testing/src/mock_file_system_posix.ts | TypeScript | mit | 1,448 |
// Copyright 2012-2019 Oliver Eilhard. All rights reserved.
// Use of this source code is governed by a MIT-license.
// See http://olivere.mit-license.org/license.txt for details.
package elastic
import (
"context"
"encoding/json"
"fmt"
"net/http"
"net/url"
"strings"
"github.com/olivere/elastic/v7/uritemplate... | olivere/elastic | xpack_security_get_user.go | GO | mit | 5,061 |
//
* @param aaa bbb ccc ddd eee fff ggg
//
| general-language-syntax/GLS | test/integration/CommentDocTag/long parameter.ts | TypeScript | mit | 46 |
package de.fhpotsdam.unfolding.marker;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import de.fhpotsdam.unfolding.UnfoldingMap;
import de.fhpotsdam.unfolding.geo.Location;
import de.fhpotsdam.unfolding.utils.GeoUtils;
/**
* A MultiMarker enables handling of multiple, logically groupe... | ashr81/unfolding | src/de/fhpotsdam/unfolding/marker/MultiMarker.java | Java | mit | 4,593 |
var validate, $i;
var {{ schema | capitalize }}Validator = function(di) {
$i = di;
validate = $i.validate;
return {};
};
module.exports = exports = {{ schema | capitalize }}Validator; | marcelomf/graojs | skeletons/bundle/Validator.js | JavaScript | mit | 190 |
<?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\Console\Command;
use Symfony\Component\Console\Helper... | tjoskar/odot | vendor/symfony/console/Symfony/Component/Console/Command/ListCommand.php | PHP | mit | 2,612 |
Tinytest.add('options cacheLimit - exceed', function(test) {
var sm = new SubsManager({cacheLimit: 2});
sm._addSub(['posts']);
sm._addSub(['comments']);
sm._addSub(['singlePoint', 'one']);
sm._applyCacheLimit();
test.equal(sm._cacheList.length, 2);
var subsIds = sm._cacheList.map(function(sub) {
ret... | parkerkimbell/subs-manager | tests/options.js | JavaScript | mit | 1,642 |
<?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 AppBundle\DataFixtures\ORM;
use AppBundle\Entity\Comment;
use AppBundle... | hkbrain/test | src/AppBundle/DataFixtures/ORM/LoadFixtures.php | PHP | mit | 6,826 |
<?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... | hansbonini/cloud9-magento | www/app/code/core/Mage/Downloadable/sql/downloadable_setup/mysql4-upgrade-1.4.0.0-1.4.0.1.php | PHP | mit | 2,062 |
/*******************************************************************************
* Copyright (c) 2015
*
* 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 withou... | Peter-Maximilian/settlers-remake | jsettlers.mapcreator/src/main/java/jsettlers/mapcreator/tools/shapes/LineShape.java | Java | mit | 2,269 |
# --
# Copyright 2007 Nominet UK
#
# 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 writi... | NerdSec/nerdsec.github.io | vendor/bundle/ruby/2.7.0/gems/dnsruby-1.61.3/test/tc_resolver.rb | Ruby | cc0-1.0 | 13,226 |
/*
* Copyright (c) 2014 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.... | yuyf10/opendaylight-controller | opendaylight/northbound/commons/src/main/java/org/opendaylight/controller/northbound/commons/utils/NorthboundUtils.java | Java | epl-1.0 | 8,516 |
/*******************************************************************************
* Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... | RallySoftware/eclipselink.runtime | utils/eclipselink.utils.workbench/framework/source/org/eclipse/persistence/tools/workbench/framework/help/HelpTopicIDWindowAction.java | Java | epl-1.0 | 1,916 |
/*******************************************************************************
* Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... | RallySoftware/eclipselink.runtime | utils/eclipselink.utils.workbench.test/mappingsplugin/source/org/eclipse/persistence/tools/workbench/test/mappingsmodel/query/MWExpressionTests.java | Java | epl-1.0 | 21,076 |
/*******************************************************************************
* Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... | RallySoftware/eclipselink.runtime | jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/models/jpa/datatypes/arraypks/PrimByteArrayPKType.java | Java | epl-1.0 | 2,086 |
/*******************************************************************************
* Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... | RallySoftware/eclipselink.runtime | foundation/org.eclipse.persistence.nosql/src/org/eclipse/persistence/internal/eis/adapters/jms/CciJMSInteractionSpec.java | Java | epl-1.0 | 4,313 |
/*
* Copyright (C) 2008-2017 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... | sidneeginger/TrinityCore | src/server/scripts/Northrend/Ulduar/Ulduar/boss_freya.cpp | C++ | gpl-2.0 | 59,692 |
////////////////////////////////////////////////////////////////////////////////////////
//
// Nestopia - NES/Famicom emulator written in C++
//
// Copyright (C) 2003-2007 Martin Freij
//
// This file is part of Nestopia.
//
// Nestopia is free software; you can redistribute it and/or modify
// it under the te... | Joride/nestopia | core/mapper/NstMapper243.hpp | C++ | gpl-2.0 | 1,553 |
<?php
/**
* File containing the CreatedRole 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 2014.11.1
*/
namespace eZ\Publish\Core\REST\Server\Values;
use eZ\Publish\API\R... | wnsonsa/destin-foot | vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/REST/Server/Values/CreatedRole.php | PHP | gpl-2.0 | 569 |
/*
Copyright 2005-2010 Intel Corporation. All Rights Reserved.
This file is part of Threading Building Blocks.
Threading Building Blocks is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public License
version 2 as published by the Free Software Foundat... | dusek/tbb | src/test/test_parallel_while.cpp | C++ | gpl-2.0 | 5,445 |
<?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... | dvh11er/mage-cheatcode | magento/lib/Zend/Service/DeveloperGarden/Response/BaseUserService/GetAccountBalanceResponse.php | PHP | gpl-2.0 | 1,317 |
/*
* Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.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 ver... | Ikesters/TrinityCore-5.0.5b | Нова папка/src/server/game/Server/WorldSession.cpp | C++ | gpl-2.0 | 42,375 |
/*
* Copyright (c) 2006, 2011, 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 ... | openjdk-mirror/jdk7u-jdk | test/sun/security/ssl/javax/net/ssl/NewAPIs/SSLEngine/LargePacket.java | Java | gpl-2.0 | 7,353 |
# -*- coding: utf-8 -*-
"""
@author: Fabio Erculiani <lxnay@sabayon.org>
@contact: lxnay@sabayon.org
@copyright: Fabio Erculiani
@license: GPL-2
B{Entropy Infrastructure Toolkit}.
"""
import sys
import argparse
import textwrap as _textwrap
from entropy.output import decolorize
class ColorfulFo... | mudler/entropy | server/eit/colorful.py | Python | gpl-2.0 | 3,125 |
Ext.define('Ext.chart.theme.Default', {
extend: 'Ext.chart.theme.Base',
singleton: true,
alias: [
'chart.theme.default',
'chart.theme.Base'
]
}); | ybbkd2/publicweb | web/ext/packages/sencha-charts/src/chart/theme/Default.js | JavaScript | gpl-2.0 | 177 |
/*
* Copyright (C) 2010-2018 Team Kodi
* This file is part of Kodi - https://kodi.tv
*
* SPDX-License-Identifier: GPL-2.0-or-later
* See LICENSES/README.md for more information.
*/
#include "AEStreamInfo.h"
#include "utils/log.h"
#include <algorithm>
#include <string.h>
#define DTS_PREAMBLE_14BE 0x1FFFE800... | PIPplware/xbmc | xbmc/cores/AudioEngine/Utils/AEStreamInfo.cpp | C++ | gpl-2.0 | 23,883 |
/* $Id$ */
/*
* This file is part of OpenTTD.
* OpenTTD 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.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without... | andythenorth/NotRoadTypes | src/newgrf_industries.cpp | C++ | gpl-2.0 | 24,123 |
<?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.2 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2012 |
+---------------------... | cfusch/drupal-sandbox | sites/all/modules/civicrm/CRM/Utils/PagerAToZ.php | PHP | gpl-2.0 | 5,279 |
(function() {
var extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
hasProp = {}... | CalCoRE/DataSketch | DataSketchServerUpload/DataSketchWeb/DataSketch.Web/obj/Release/Package/PackageTmp/DataSketchApp3/cslib/modules/datasketch/animation/properties/stamping/module.js | JavaScript | gpl-2.0 | 954 |
<?php
namespace Drupal\Tests\ckeditor\FunctionalJavascript;
use Drupal\Core\Entity\Entity\EntityFormDisplay;
use Drupal\editor\Entity\Editor;
use Drupal\field\Entity\FieldConfig;
use Drupal\field\Entity\FieldStorageConfig;
use Drupal\filter\Entity\FilterFormat;
use Drupal\FunctionalJavascriptTests\WebDriverTestBase;
... | Wylbur/gj | core/modules/ckeditor/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php | PHP | gpl-2.0 | 7,130 |
<?php
/*
** Zabbix
** Copyright (C) 2000-2012 Zabbix SIA
**
** 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.
**
** Th... | gheja/zabbix-ext | frontends/php/include/classes/import/readers/CJsonImportReader.php | PHP | gpl-2.0 | 1,052 |
<?php
/**
* Akeeba Engine
* The modular PHP5 site backup engine
*
* @copyright Copyright (c)2009-2014 Nicholas K. Dionysopoulos
* @license GNU GPL version 3 or, at your option, any later version
* @package akeebaengine
*
*/
namespace Akeeba\Engine\Filter;
// Protection against direct access
defined('AKEEB... | ForAEdesWeb/AEW2 | administrator/components/com_akeeba/platform/joomla25/Filter/Joomlaskipdirs.php | PHP | gpl-2.0 | 2,728 |
/****************************************************************************
* *
* Project64 - A Nintendo 64 emulator. *
* http://www.pj64-emu.com/ *
* Copyr... | Frank-74/project64 | Source/Android/PluginRSP/jpeg.cpp | C++ | gpl-2.0 | 18,978 |
<?php
namespace Drupal\Tests\views\Unit\Plugin\views\field;
use Drupal\Tests\UnitTestCase;
use Drupal\views\Plugin\views\field\EntityOperations;
use Drupal\views\ResultRow;
/**
* @coversDefaultClass \Drupal\views\Plugin\views\field\EntityOperations
* @group Views
*/
class EntityOperationsUnitTest extends UnitTest... | morethanthemes/magazine-lite | site/core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php | PHP | gpl-2.0 | 4,808 |
<?php
/**
* The template for displaying all pages.
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site will use a
* different template.
*
* @package fastr
*/
get_header(); ?>
<div id="primary... | di0fref/wordpress_fahlslstad | wp-content/themes/fastr/page.php | PHP | gpl-2.0 | 848 |
/*!
* Aloha Editor
* Author & Copyright (c) 2010 Gentics Software GmbH
* aloha-sales@gentics.com
* Licensed unter the terms of http://www.aloha-editor.com/license.html
*/
/**
* @name block.editor
* @namespace Block attribute editors
*/
define(['aloha/jquery', 'aloha/observable'],
function(jQuery, Observable) {
... | berkmancenter/spectacle | web/js/lib/plugins/common/block/lib/editor.js | JavaScript | gpl-2.0 | 4,571 |
#define PNG_SKIP_SETJMP_CHECK
#include <png.h>
#include <fcntl.h>
#include <lib/gdi/picload.h>
#include <lib/gdi/picexif.h>
extern "C" {
#include <jpeglib.h>
#include <gif_lib.h>
}
extern const uint32_t crc32_table[256];
DEFINE_REF(ePicLoad);
static std::string getSize(const char* file)
{
struct stat64 s;
if (st... | vit2/vit-e2 | lib/gdi/picload.cpp | C++ | gpl-2.0 | 32,254 |
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* Image_Graph - PEAR PHP OO Graph Rendering Utility.
*
* PHP version 5
*
* LICENSE: This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the F... | eireford/mahara | htdocs/lib/pear/Image/Graph/Font.php | PHP | gpl-3.0 | 4,265 |
/*
* Copyright (C) 2013 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | syslover33/ctank | java/android-sdk-linux_r24.4.1_src/sources/android-23/android/hardware/location/GeofenceHardwareImpl.java | Java | gpl-3.0 | 37,828 |
package net.minecraft.server;
import java.awt.GraphicsEnvironment;
import java.awt.image.BufferedImage;
import java.io.File;
import java.net.Proxy;
import java.security.KeyPair;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Date;
... | OvercastNetwork/CraftBukkit | src/main/java/net/minecraft/server/MinecraftServer.java | Java | gpl-3.0 | 44,601 |
<?php
require('header.php');
if($_SERVER['REQUEST_METHOD']=='POST'){
if(\GO\Base\Html\Error::checkRequired())
redirect("configFile.php");
}
printHead();
?>
<h1>License terms</h1>
<p>The following license applies to this product:</p>
<div class="cmd">
<?php
echo \GO\Base\Util\StringHelper::text_to_html(file_get_co... | deependhulla/powermail-debian9 | files/rootdir/usr/local/src/groupoffice-6.2/groupoffice-6.2-setup-www/install_disabled/license.php | PHP | gpl-3.0 | 548 |
__version__ = '0.17'
| etherkit/OpenBeacon2 | macos/venv/lib/python3.8/site-packages/PyInstaller/lib/modulegraph/__init__.py | Python | gpl-3.0 | 21 |
#!/usr/bin/python
#
# (c) 2015 Peter Sprygada, <psprygada@ansible.com>
# Copyright (c) 2017 Dell Inc.
# 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_versio... | haad/ansible | lib/ansible/modules/network/dellos10/dellos10_command.py | Python | gpl-3.0 | 7,132 |
<?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 ... | Jinelle/moodle | mod/forum/classes/observer.php | PHP | gpl-3.0 | 4,511 |
<?php
/**
* base include file for eclipse plugin
* @package SimpleTest
* @subpackage Eclipse
* @version $Id: eclipse.php,v 1.5 2012/04/06 12:15:43 moodlerobot Exp $
*/
/**#@+
* simpletest include files
*/
include_once 'unit_tester.php';
include_once 'test_case.php';
include_once 'invoker.php';
include_... | erkartik91/Moodle-feature-34445 | lib/simpletestlib/eclipse.php | PHP | gpl-3.0 | 9,822 |
<?php
/* Copyright (C) 2016 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any la... | guerrierk/dolibarr | htdocs/fichinter/stats/index.php | PHP | gpl-3.0 | 11,914 |
<?php
class ParserFunctionsHooks {
/**
* Enable string functions, when running Wikimedia Jenkins unit tests.
*
* Running Jenkins unit tests without setting $wgPFEnableStringFunctions = true;
* will cause all the parser tests for string functions to be skipped.
*/
public static function onRegistration() {
... | Facerafter/starcitizen-tools | extensions/ParserFunctions/ParserFunctions.hooks.php | PHP | gpl-3.0 | 2,793 |
<?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 ... | zeduardu/moodle | theme/boost/version.php | PHP | gpl-3.0 | 990 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2017 Google
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# ----------------------------------------------------------------------------
#
# *** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
#
... | resmo/ansible | lib/ansible/modules/cloud/google/gcp_cloudscheduler_job.py | Python | gpl-3.0 | 31,832 |
define([
'angular'
, './instance-controller'
, './instance-directive'
, '../../glyph/glyph'
], function(
angular
, Controller
, directive
, glyphModule
) {
"use strict";
return angular.module('mtk.instance', [glyphModule.name])
.controller('InstanceController', Controller)
... | jeroenbreen/metapolator | app/lib/ui/metapolator/instance-panel/instance/instance.js | JavaScript | gpl-3.0 | 378 |
#region Copyright & License Information
/*
* Copyright 2007-2021 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of
* the Lice... | MustaphaTR/OpenRA | OpenRA.Mods.Common/UpdateRules/Rules/20201213/ReplaceShadowPalette.cs | C# | gpl-3.0 | 2,162 |
/**
* The MIT License
* Copyright (c) 2012 Graylog, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, ... | berkeleydave/graylog2-server | graylog2-plugin-interfaces/src/main/java/org/graylog2/plugin/Stoppable.java | Java | gpl-3.0 | 1,275 |
/*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | s20121035/rk3288_android5.1_repo | cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_double/d/T_sub_double_3.java | Java | gpl-3.0 | 761 |
// Copyright 2015 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License... | gophergala2016/etherapis | vendor/github.com/ethereum/go-ethereum/core/chain_makers.go | GO | gpl-3.0 | 9,385 |
/*************************************************************************
* Copyright 2009-2013 Eucalyptus Systems, 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; version 3 of the ... | eethomas/eucalyptus | clc/modules/msgs/src/main/java/com/eucalyptus/auth/tokens/SecurityTokenValidationException.java | Java | gpl-3.0 | 1,303 |
# -*- coding: utf-8 -*-
""" *==LICENSE==*
CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, 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 3... | TOC-Shard/moul-scripts | Python/ahnyTrees.py | Python | gpl-3.0 | 4,774 |
from eventlet import patcher
from eventlet.green import socket
from eventlet.green import time
from eventlet.green import httplib
from eventlet.green import ftplib
from eventlet.support import six
if six.PY2:
to_patch = [('socket', socket), ('httplib', httplib),
('time', time), ('ftplib', ftplib)]
... | pbaesse/Sissens | lib/python2.7/site-packages/eventlet/green/urllib/__init__.py | Python | gpl-3.0 | 1,423 |
package classic
import (
"context"
"fmt"
"log"
"strings"
"github.com/hashicorp/go-oracle-terraform/compute"
"github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer"
)
type stepSecurity struct {
CommType string
SecurityListKey string
secListName string
secRuleName ... | dave2/packer | builder/oracle/classic/step_security.go | GO | mpl-2.0 | 5,373 |
// This code was generated by Barbara Worwood using IMS Development Environment (version 1.80 build 5007.25751)
// Copyright (C) 1995-2014 IMS MAXIMS. All rights reserved.
// WARNING: DO NOT MODIFY the content of this file
package ims.RefMan.vo;
/**
* Linked to core.clinical.PatientProcedure business object (ID: 100... | open-health-hub/openMAXIMS | openmaxims_workspace/ValueObjects/src/ims/RefMan/vo/PatientProcedureForClinicalNotesVo.java | Java | agpl-3.0 | 13,124 |
/*
*
* Copyright 2014 Telefonica Investigacion y Desarrollo, S.A.U
*
* This file is part of Orion Context Broker.
*
* Orion Context Broker 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 ... | j1fig/fiware-orion | src/lib/serviceRoutines/getEntityByIdAttributeByNameWithTypeAndId.cpp | C++ | agpl-3.0 | 4,317 |
if (Date.first_day_of_week == 1) {
Date.weekdays = $w("L Ma Me J V S D");
} else {
Date.weekdays = $w("D L Ma Me J V S");
}
Date.months = $w('Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre');
_translations = {
"OK": "OK",
"Now": "Maintenant",
"Today": "Aujourd'hui",... | wesbillman/projects | public/javascripts/calendar_date_select/locale/fr.js | JavaScript | agpl-3.0 | 349 |
# This migration comes from bookyt_salary (originally 20120201104444)
class SwitchToTranslatedSaldoInclusionFlags < ActiveRecord::Migration
def up
ActsAsTaggableOn::Tag.where(:name => 'ahv').update_all(:name => 'AHV')
ActsAsTaggableOn::Tag.where(:name => 'ktg').update_all(:name => 'KTG')
ActsAsTaggableOn:... | xuewenfei/bookyt | db/migrate/20120201112805_switch_to_translated_saldo_inclusion_flags.bookyt_salary.rb | Ruby | agpl-3.0 | 1,704 |
// This code was generated by Barbara Worwood using IMS Development Environment (version 1.80 build 5007.25751)
// Copyright (C) 1995-2014 IMS MAXIMS. All rights reserved.
// WARNING: DO NOT MODIFY the content of this file
package ims.RefMan.vo.beans;
public class PatientElectiveListTCIForCancelationVoBean extends im... | open-health-hub/openMAXIMS | openmaxims_workspace/ValueObjects/src/ims/RefMan/vo/beans/PatientElectiveListTCIForCancelationVoBean.java | Java | agpl-3.0 | 2,832 |
module ElasticsearchHelper
def searchable_types
{
:all => _("All results"),
:text_article => _("Articles"),
:uploaded_file => _("Files"),
:community => _("Communities"),
:event => _("Events"),
:person => _("People")
}
end
... | AlessandroCaetano/noosfero | plugins/elasticsearch/helpers/elasticsearch_helper.rb | Ruby | agpl-3.0 | 3,705 |
/**
* Copyright 2007-2015, Kaazing Corporation. 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 require... | mgherghe/k3po | lang/src/main/java/org/kaazing/k3po/lang/internal/ast/AstAbortNode.java | Java | agpl-3.0 | 1,214 |
package dr.inferencexml.operators;
import dr.inference.model.Parameter;
import dr.inference.operators.*;
import dr.xml.*;
/**
*/
public class UpDownOperatorParser extends AbstractXMLObjectParser {
public static final String UP_DOWN_OPERATOR = "upDownOperator";
public static final String UP = "up"... | danieljue/beast-mcmc | src/dr/inferencexml/operators/UpDownOperatorParser.java | Java | lgpl-2.1 | 4,368 |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2010, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | yersan/wildfly-core | server/src/main/java/org/jboss/as/server/deployment/annotation/CompositeIndexProcessor.java | Java | lgpl-2.1 | 11,861 |
#include <osgWidget/VncClient>
#include <osgDB/Registry>
#include <osgViewer/Viewer>
#include <osgViewer/ViewerEventHandlers>
class EscapeHandler : public osgGA::GUIEventHandler
{
public:
EscapeHandler() {}
bool handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionAdapter& aa)
{
... | openscenegraph/osg | examples/osgvnc/osgvnc.cpp | C++ | lgpl-2.1 | 3,495 |
package com.griddynamics.jagger.webclient.client;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.griddynamics.jagger.webclient.client.dto.WebClientStartProperties;
import java.util.Map;
import jav... | vladimir-bukhtoyarov/jagger | webclient/src/main/java/com/griddynamics/jagger/webclient/client/CommonDataService.java | Java | lgpl-2.1 | 785 |
/**
*
* Copyright (c) 2014, the Railo Company Ltd. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) ... | paulklinkenberg/Lucee4 | lucee-java/lucee-core/src/lucee/transformer/bytecode/statement/tag/TagJavaScript.java | Java | lgpl-2.1 | 1,538 |
/*
* A Gradle plugin for the creation of Minecraft mods and MinecraftForge plugins.
* Copyright (C) 2013 Minecraft Forge
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* ... | killjoy1221/ForgeGradle | src/main/java/net/minecraftforge/gradle/util/json/fgversion/FGVersionDeserializer.java | Java | lgpl-2.1 | 1,875 |
"""pure-Python sugar wrappers for core 0MQ objects."""
#-----------------------------------------------------------------------------
# Copyright (C) 2013 Brian Granger, Min Ragan-Kelley
#
# This file is part of pyzmq
#
# Distributed under the terms of the New BSD License. The full license is in
# the file COPYIN... | IsCoolEntertainment/debpkg_python-pyzmq | zmq/sugar/__init__.py | Python | lgpl-3.0 | 1,187 |
namespace StockSharp.Algo.Strategies
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Ecng.Common;
using Ecng.Serialization;
/// <summary>
/// Ïàðàìåòð ñòðàòåãèè.
/// </summary>
public interface IStrategyParam : IPersistable
{
/// <summary>
/// Íàçâàíèå ïàðàìåòðà.
/... | donaldlee2008/StockSharp | Algo/Strategies/StrategyParam.cs | C# | lgpl-3.0 | 5,771 |
/*
* Copyright 2008 Novamente LLC
*
* 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 t... | virneo/relex | src/java/relex/WebFormat.java | Java | apache-2.0 | 5,001 |
/**
* Copyright 2010-2016 Boxfuse GmbH
*
* 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... | nathanvick/flyway | flyway-core/src/main/java/org/flywaydb/core/internal/dbsupport/hsql/package-info.java | Java | apache-2.0 | 718 |
package ca.uhn.fhir.jpa.entity;
/*
* #%L
* HAPI FHIR JPA Server
* %%
* Copyright (C) 2014 - 2015 University Health Network
* %%
* 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
*
* ... | dhf0820/hapi-fhir-1.2 | hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/entity/ResourceIndexedSearchParamQuantity.java | Java | apache-2.0 | 2,237 |
/*
* IzPack - Copyright 2001-2013 Julien Ponge, All Rights Reserved.
*
* http://www.izforge.com/izpack/ http://izpack.codehaus.org/
*
* Copyright 2013 Tim Anderson
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtai... | codehaus/izpack | izpack-panel/src/main/java/com/izforge/izpack/panels/shortcut/ShortcutConsolePanel.java | Java | apache-2.0 | 8,720 |
/*
* 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 ... | jackliu8722/cassandra-1.2.16 | src/java/org/apache/cassandra/thrift/ThriftSessionManager.java | Java | apache-2.0 | 2,836 |
/*
* Copyright 2016-present Open Networking Foundation
*
* 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 appli... | gkatsikas/onos | apps/rabbitmq/src/main/java/org/onosproject/rabbitmq/util/package-info.java | Java | apache-2.0 | 693 |