repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
shutchings/azure-sdk-for-net | src/SDKs/Resource/Management.ResourceManager/Generated/ManagementGroupsAPIClient.cs | 13178 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespac... | mit |
apinf/api-umbrella | src/api-umbrella/admin-ui/app/routes/api-users/base.js | 388 | import $ from 'jquery';
import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';
import Route from '@ember/routing/route';
export default Route.extend(AuthenticatedRouteMixin, {
setupController(controller, model) {
controller.set('model', model);
$('ul.nav li').removeClass('... | mit |
NakupOrg/nakupujem | vendor/friendsofsymfony/elastica-bundle/Finder/PaginatedFinderInterface.php | 761 | <?php
namespace FOS\ElasticaBundle\Finder;
use FOS\ElasticaBundle\Paginator\PaginatorAdapterInterface;
use Pagerfanta\Pagerfanta;
use Elastica\Query;
interface PaginatedFinderInterface extends FinderInterface
{
/**
* Searches for query results and returns them wrapped in a paginator
*
* @param mix... | mit |
Galbar/hummingbird | docs/html/search/functions_a.js | 4208 | var searchData=
[
['onactivate',['onActivate',['../classhum_1_1Behavior.html#a3f4a8b6e102e87d67c821cba1095edc7',1,'hum::Behavior']]],
['ondeactivate',['onDeactivate',['../classhum_1_1Behavior.html#a6b1c24d930466071fb01d0edd62b1515',1,'hum::Behavior']]],
['ondestroy',['onDestroy',['../classhum_1_1Actor.html#a91fb3... | mit |
bdamore/logostest | client/components/socket/socket.service.js | 2588 | /* global io */
'use strict';
angular.module('app')
.factory('socket', function(socketFactory, $rootScope) {
// socket.io now auto-configures its connection when we ommit a connection url
var ioSocket = io('', {
// Send auth token on connection, you will need to DI the Auth service above
// 'que... | mit |
valadas/Dnn.Platform | Dnn.AdminExperience/Dnn.PersonaBar.Extensions/Components/Extensions/InstallController.cs | 11829 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information
namespace Dnn.PersonaBar.Extensions.Components
{
using System;
using System.Data;
using System.IO;
... | mit |
liszd/whyliam.workflows.youdao | sentry_sdk/integrations/django/templates.py | 3398 | from django.template import TemplateSyntaxError
from sentry_sdk._types import MYPY
if MYPY:
from typing import Any
from typing import Dict
from typing import Optional
from typing import Iterator
from typing import Tuple
try:
# support Django 1.9
from django.template.base import Origin
exc... | mit |
ahey/docxtemplater | node_modules/docxtemplater/js/xmlUtil.js | 2058 | var DocUtils, XmlUtil;
DocUtils = require('./docUtils');
XmlUtil = {};
XmlUtil.getListXmlElements = function(text, start, end) {
var i, innerCurrentTag, innerLastTag, justOpened, lastTag, result, tag, tags, _i, _len;
if (start == null) {
start = 0;
}
if (end == null) {
end = text.length - 1;
}
/... | mit |
marcomatteocci/shine.js | lib/shine.shadow.js | 4649 | /**
* @fileOverview Adds a shadow to a DOM elment using CSS.
* @author <a href="http://benjaminbojko.com">Benjamin Bojko</a>
* Copyright (c) 2015 Big Spaceship; Licensed MIT
*/
'use strict';
/**
* @constructor
* @param {!HTMLElement} domElement
*/
shinejs.Shadow = function(domElement) {
/** @type {!shinejs.P... | mit |
aybabtme/compress | zlib/reader.go | 4347 | // Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
/*
Package zlib implements reading and writing of zlib format compressed data,
as specified in RFC 1950.
The implementation provides filters that uncompress du... | mit |
kenzierocks/SpongeForge | src/main/java/org/spongepowered/mod/mixin/core/world/biome/MixinBiomeDecorator.java | 2668 | /*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... | mit |
51Degrees/Dnn.Platform | DNN Platform/Providers/NavigationProviders/ASP2MenuNavigationProvider/ASP2MenuNavigationProvider.cs | 20156 | #region Copyright
//
// DotNetNuke® - http://www.dotnetnuke.com
// Copyright (c) 2002-2014
// by DotNetNuke Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to deal in the Software without restricti... | mit |
lejar/CustomViewer | external/glm-0.9.1/glm/core/type_mat2x3.hpp | 6496 | ///////////////////////////////////////////////////////////////////////////////////////////////////
// OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net)
///////////////////////////////////////////////////////////////////////////////////////////////////
// Created : 2006-10-01
// Updated ... | mit |
infinityworksltd/sample-jenkins-pipeline-job | src/main/java/com/example/helloworld/auth/ExampleAuthenticator.java | 629 | package com.example.helloworld.auth;
import com.example.helloworld.core.User;
import io.dropwizard.auth.AuthenticationException;
import io.dropwizard.auth.Authenticator;
import io.dropwizard.auth.basic.BasicCredentials;
import java.util.Optional;
public class ExampleAuthenticator implements Authenticator<BasicCreden... | mit |
ebewe/Slider | slider/img/index.php | 1696 | <?php
/**
* NOTICE OF 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 without limitation the rights
* to use, copy, modify, merge, publish, dist... | mit |
unaio/una | modules/boonex/organizations/updates/8.0.3_8.0.4/source/js/manage_tools.js | 1891 | /**
* Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
* CC-BY License - http://creativecommons.org/licenses/by/3.0/
*
* @defgroup Organizations Organizations
* @ingroup TridentModules
*
* @{
*/
function BxOrgsManageTools(oOptions) {
this._sActionsUrl = oOptions.sActionUrl;
this._sObjNameGrid... | mit |
mmohan01/ReFactory | data/apachexmlrpc/apachexmlrpc-2.0/java/org/apache/xmlrpc/TypeDecoder.java | 1178 | /*
* Copyright 1999,2005 The Apache Software 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... | mit |
Clairety/ConnectMe | CSharp/Library/Microsoft.Bot.Builder.Calling/Models/Misc/MultiPartConstants.cs | 1010 | namespace Microsoft.Bot.Builder.Calling.ObjectModel.Misc
{
public static class MultiPartConstants
{
/// <summary>
/// content disposition name to use for the binary recorded audio (in a multipart response)
/// </summary>
public static readonly string RecordingContentDispositionN... | mit |
kadkin/vk | VkNet/Model/RequestParams/Market/MarketProductParams.cs | 4590 | using System.Collections.Generic;
using VkNet.Utils;
namespace VkNet.Model.RequestParams
{
/// <summary>
/// Параметр для добавления / редактирования товара
/// </summary>
public struct MarketProductParams
{
/// <summary>
/// Параметр для добавления / редактирования товара
/// </summary>
pub... | mit |
davewasmer/liquid-fire | app/helpers/liquid-if.js | 218 | import { makeHelperShim } from "liquid-fire/ember-internals";
export default makeHelperShim('liquid-if', function(params, hash, options) {
hash.helperName = 'liquid-if';
hash.inverseTemplate = options.inverse;
});
| mit |
afrogeek/SharpNative | Tests/MonoTests/Basic/401-450/test-413-lib.cs | 215 | // Compiler options: -t:library
namespace Foo {
namespace Bar {
public class Baz {
public class Inner {
public static void Frob() { }
}
}
}
}
| mit |
locusf/go-ipfs | test/supernode_client/main.go | 6096 | package main
import (
"bytes"
"flag"
"fmt"
"io"
"io/ioutil"
"log"
"math"
"os"
gopath "path"
"time"
ma "github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-multiaddr"
random "github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-random"
context "github.com/ipfs/go-ipfs/Godeps/_... | mit |
dlee0113/java-design-patterns | flyweight/src/test/java/com/iluwatar/flyweight/AlchemistShopTest.java | 1003 | package com.iluwatar.flyweight;
import org.junit.Test;
import java.util.ArrayList;
import java.util.List;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
/**
* Date: 12/12/15 - 10:54 PM
*
* @author Jeroen Meulemeester
*/
public class AlchemistShopTest {
@Test
publ... | mit |
aarswells/AndrewsDistributing | vendor/engines/managements/db/seeds/managements.rb | 510 | User.find(:all).each do |user|
user.plugins.create(:name => "managements",
:position => (user.plugins.maximum(:position) || -1) +1)
end
page = Page.create(
:title => "Managements",
:link_url => "/managements",
:deletable => false,
:position => ((Page.maximum(:position, :conditions => {:... | mit |
yahyaKacem/facial_recog_demo | node_modules/bower-canary/lib/core/resolvers/Resolver.js | 5954 | var fs = require('graceful-fs');
var path = require('path');
var Q = require('q');
var tmp = require('tmp');
var mkdirp = require('mkdirp');
var bowerJson = require('bower-json');
var createError = require('../../util/createError');
var removeIgnores = require('../../util/removeIgnores');
tmp.setGracefulCleanup();
fu... | mit |
xizhonghua/wesee | human_detection/boost_1_50_0/boost/intrusive/link_mode.hpp | 1782 | /////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2006-2009
//
// 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)
//
// See http://www.boost... | mit |
duoduo369/gulp-frontend-scaffold | node_modules/webpack/hot/signal.js | 1793 | /*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
/*globals __resourceQuery */
if(module.hot) {
function checkForUpdate(fromUpdate) {
module.hot.check().then(function(updatedModules) {
if(!updatedModules) {
if(fromUpdate)
console.log("[HMR] Upda... | mit |
mlocati/concrete5 | concrete/themes/dashboard/marketplace.php | 2595 | <?php
defined('C5_EXECUTE') or die("Access Denied.");
$this->inc('elements/header.php'); ?>
<div id="ccm-marketplace-wrapper">
<header class="ccm-marketplace">
<?php if ($controller->getTask() == 'view_detail') {
?>
<div class="ccm-marketplace-nav">
<nav>
<li><a href="<?=$cont... | mit |
ayarger/michigames_cabinet_frontend | Assets/InControl/Source/Unity/DeviceProfiles/BuffaloClassicAmazonProfile.cs | 1768 | namespace InControl
{
// @cond nodoc
[AutoDiscover]
public class BuffaloClassicAmazonProfile : UnityInputDeviceProfile
{
// Right Bumper, Start and Select aren't supported.
// Possibly they fall outside the number of buttons Unity supports?
//
public BuffaloClassicAmazonProfile()
{
Name = "Buffalo Cla... | mit |
DKrepsky/CC3200-Linux-SDK | docs/simplelink_api/html/files.js | 547 | var files =
[
[ "device.h", "device_8h_source.html", null ],
[ "fs.h", "fs_8h_source.html", null ],
[ "netapp.h", "netapp_8h_source.html", null ],
[ "netcfg.h", "netcfg_8h_source.html", null ],
[ "simplelink.h", "simplelink_8h_source.html", null ],
[ "socket.h", "socket_8h_source.html", n... | mit |
ctoran/aurelia-ts-port | dist/es6/router/pipeline.js | 2020 | function createResult(ctx, next) {
return {
status: next.status,
context: ctx,
output: next.output,
completed: next.status == pipelineStatus.completed
};
}
export const pipelineStatus = {
completed: 'completed',
cancelled: 'cancelled',
rejected: 'rejected',
runnin... | mit |
skaarthik/Mobius | csharp/Adapter/Microsoft.Spark.CSharp/Proxy/ISparkSessionProxy.cs | 947 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Spark.CSharp.Sql;
namespace Micros... | mit |
extend1994/cdnjs | ajax/libs/angular-ui-grid/4.8.1/i18n/ui-grid.language.ta.js | 4915 | /*!
* ui-grid - v4.8.1 - 2019-06-27
* Copyright (c) 2019 ; License: MIT
*/
(function () {
angular.module('ui.grid').config(['$provide', function($provide) {
$provide.decorator('i18nService', ['$delegate', function($delegate) {
$delegate.add('ta', {
aggregate: {
label: 'உருப்படிகள்'
... | mit |
TysonAndre/php-parser-to-php-ast | test_files/src/incdecr.php | 30 | <?php
$i++;
++$i;
--$i;
$i--;
| mit |
afrog33k/SharpNative | Tests/MonoTests/Basic/150-200/test-151.cs | 349 | using System;
namespace A {
public class Iface {
void bah() {}
}
class my {
A.Iface b;
void doit (Object A) {
b = (A.Iface)A;
}
public static int Main () {
return 0;
... | mit |
jomahoney/Ghost | core/server/data/migrations/hooks/migrate/before.js | 187 | var backup = require('../../../schema/backup'),
models = require('../../../../models');
module.exports = function before(options) {
models.init();
return backup(options);
};
| mit |
YunnuY/xrp-old | client/tests/unit/pods/s/media/albums/album/controller-test.js | 354 | import {
moduleFor,
test
} from 'ember-qunit';
moduleFor('controller:s/media/albums/album', 'SMediaAlbumsAlbumController', {
// Specify the other units that are required for this test.
// needs: ['controller:foo']
});
// Replace this with your real tests.
test('it exists', function() {
var controller = this... | mit |
seuffert/rclone | vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2017-10-01-preview/sql/client.go | 2226 | // Package sql implements the Azure ARM Sql service API version 2017-10-01-preview.
//
// The Azure SQL Database management API provides a RESTful set of web services that interact with Azure SQL Database
// services to manage your databases. The API enables you to create, retrieve, update, and delete databases.
packag... | mit |
tlan16/price-match-crawler | core/3rdParty/framework/Web/UI/TClientScriptManager.php | 23758 | <?php
/**
* TClientScriptManager and TClientSideOptions class file.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Gabor Berczi <gabor.berczi@devworx.hu> (lazyload additions & progressive rendering)
* @link http://www.pradosoft.com/
* @copyright Copyright © 2005-2014 PradoSoft
* @license http://www.p... | mit |
gkalpak/angular | packages/compiler-cli/test/version_helpers_spec.ts | 2324 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {compareNumbers, compareVersions, isVersionBetween, toNumbers} from '../src/version_helpers';
describe('toNu... | mit |
unaio/una | modules/boonex/ocean/updates/8.0.5_8.0.6/source/data/template/system/scripts/BxTemplMenuHomepage.php | 325 | <?php defined('BX_DOL') or die('hack attempt');
/**
* Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
* CC-BY License - http://creativecommons.org/licenses/by/3.0/
*
* @defgroup TridentCore Trident Core
* @{
*/
/**
* @see BxDolMenu
*/
class BxTemplMenuHomepage extends BxBaseMenuHomepage
{
}
/** @... | mit |
sufuf3/cdnjs | ajax/libs/highcharts/7.1.2/modules/treegrid.js | 22257 | /*
Highcharts JS v7.1.2 (2019-06-03)
Tree Grid
(c) 2016-2019 Jon Arild Nygard
License: www.highcharts.com/license
*/
(function(k){"object"===typeof module&&module.exports?(k["default"]=k,module.exports=k):"function"===typeof define&&define.amd?define("highcharts/modules/treegrid",["highcharts"],function(A){k(A);... | mit |
brentstineman/nether | src/Nether.Web/Features/Identity/Models/User/UserLoginModel.cs | 550 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Newtonsoft.Json;
namespace Nether.Web.Features.Identity.Models.User
{
public class UserLoginModel
{
public string ProviderType { get; set; }
... | mit |
Fayho/scalaxb | cli/src/main/scala/scalaxb/compiler/xsd/Lookup.scala | 11389 | /*
* Copyright (c) 2010 e.e d3si9n
*
* 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, publish... | mit |
ist-dresden/composum | jslibs/src/main/resources/root/libs/jslibs/highlight/9.15.6/languages/gml.js | 59885 | /*
Language: GML
Author: Meseta <meseta@gmail.com>
Description: Game Maker Language for GameMaker Studio 2
Category: scripting
*/
function(hljs) {
var GML_KEYWORDS = {
keywords: 'begin end if then else while do for break continue with until ' +
'repeat exit and or xor not return mod div switch case default... | mit |
chriskuehl/pre-commit-hooks | pre_commit_hooks/detect_private_key.py | 859 | from __future__ import print_function
import argparse
import sys
BLACKLIST = [
b'BEGIN RSA PRIVATE KEY',
b'BEGIN DSA PRIVATE KEY',
b'BEGIN EC PRIVATE KEY',
]
def detect_private_key(argv=None):
parser = argparse.ArgumentParser()
parser.add_argument('filenames', nargs='*', help='Filenames to check... | mit |
rfleschenberg/djangocms-cascade | cmsplugin_cascade/apps.py | 262 | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
class CascadeConfig(AppConfig):
name = 'cmsplugin_cascade'
verbose_name = _("django CMS Cascade")
| mit |
riskcoin/riskcoin | src/qt/invoiceviewpage.cpp | 6976 | #include "invoiceviewpage.h"
#include "ui_invoiceviewpage.h"
#include "messagemodel.h"
#include "optionsmodel.h"
#include "sendmessagesdialog.h"
#include "bitcoinunits.h"
#include "bitcoingui.h"
#include "guiutil.h"
#include <QSortFilterProxyModel>
InvoiceViewPage::InvoiceViewPage(QWidget *parent) :
QDialog(pare... | mit |
cdnjs/cdnjs | ajax/libs/tom-select/2.0.0-rc.2/esm/plugins/caret_position/plugin.min.js | 808 | import TomSelect from"../../tom-select.js";const latin_convert={"æ":"ae","ⱥ":"a","ø":"o"};new RegExp(Object.keys(latin_convert).join("|"),"g");const nodeIndex=(e,t)=>{if(!e)return-1;t=t||e.nodeName;for(var n=0;e=e.previousElementSibling;)e.matches(t)&&n++;return n};TomSelect.define("caret_position",function(){var o=thi... | mit |
adityasubawa/mechanic-visitor-counter | src/js/_enqueues/admin/common.js | 52405 | /**
* @output wp-admin/js/common.js
*/
/* global setUserSetting, ajaxurl, alert, confirm, pagenow */
/* global columns, screenMeta */
/**
* Adds common WordPress functionality to the window.
*
* @param {jQuery} $ jQuery object.
* @param {Object} window The window object.
* @param {mixed} undefined... | cc0-1.0 |
angussidney/metasmoke | db/migrate/20160123011023_fixed_mixed_content_errors.rb | 208 | # frozen_string_literal: true
class FixedMixedContentErrors < ActiveRecord::Migration[4.2]
def change
Site.all.each do |site|
site.site_logo.gsub!(/http:/, '')
site.save!
end
end
end
| cc0-1.0 |
sudaraka94/che | plugins/plugin-java/che-plugin-java-ext-lang-client/src/main/java/org/eclipse/che/ide/ext/java/client/editor/JavaReconcileClient.java | 3805 | /*
* Copyright (c) 2012-2017 Red Hat, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Red H... | epl-1.0 |
Panthro/che-plugins | plugin-java/che-plugin-java-ext-java/src/main/java/org/eclipse/che/ide/ext/java/jdt/core/dom/Message.java | 4445 | /*******************************************************************************
* Copyright (c) 2000, 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | epl-1.0 |
liveoak-io/liveoak | modules/mongo-gridfs/src/main/java/io/liveoak/mongo/gridfs/GridFSUserspaceResource.java | 2785 | /*
* Copyright 2014 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Eclipse Public License version 1.0, available at http://www.eclipse.org/legal/epl-v10.html
*/
package io.liveoak.mongo.gridfs;
import java.util.Collection;
import java.util.Collections;
import java.util.LinkedList;
import com.mongodb.... | epl-1.0 |
sarpkayanehta/mdht | cts2/plugins/org.openhealthtools.mdht.cts2.core/src/org/openhealthtools/mdht/cts2/core/impl/FilterImpl.java | 4090 | /*******************************************************************************
* Copyright (c) 2012 David A Carlson.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at... | epl-1.0 |
jsight/windup | rules-java/tests/src/test/java/org/jboss/windup/rules/java/JavaClassXmlRulesTest.java | 5746 | package org.jboss.windup.rules.java;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Collections;
import javax.inject.Inject;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.RandomStringUtils;
import org.jboss.arq... | epl-1.0 |
mdht/mdht | cda/deprecated/org.openhealthtools.mdht.uml.cda.ihe/src/org/openhealthtools/mdht/uml/cda/ihe/impl/EncounterHistorySectionImpl.java | 2397 | /**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.openhealthtools.mdht.uml.cda.ihe.impl;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.openhealthtools.mdht.uml.cda.ccd.impl.En... | epl-1.0 |
ryenus/vbox | src/VBox/Frontends/VirtualBox/src/globals/UIDefs.cpp | 6309 | /* $Id$ */
/** @file
*
* VBox frontends: Qt GUI ("VirtualBox"):
* Global definitions and function implementations
*/
/*
* Copyright (C) 2006-2012 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you c... | gpl-2.0 |
LaPaillasse/network | wp-content/themes/wiki-lapaillasse/searchform.php | 1058 | <?php
/**
* The template for displaying search forms in iPanelThemes Knowledgebase
*
* @package iPanelThemes Knowledgebase
*/
$stext = esc_attr_x( 'Search Knowledgebase…', 'placeholder', 'ipt_kb' );
?>
<form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>">
<... | gpl-2.0 |
nehresma/bvcms | CmsWeb/Areas/Manage/Models/UsersModel.cs | 4291 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using CmsData;
using UtilityExtensions;
namespace CmsWeb.Models
{
public class UsersModel : PagerModel2
{
public class UserInfo
{
public int? peopleid { get; set; }
public int? userid { get; set; }
public string us... | gpl-2.0 |
prabhu9484/ClusterLogic | administrator/components/com_phocagallery/models/phocagallerycos.php | 4196 | <?php
/*
* @package Joomla 1.5
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
*
* @component Phoca Gallery
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
* @license http://www.gnu.org/copyleft/gpl.html GNU/GP... | gpl-2.0 |
tsuibin/qtextended | qtopiacore/qt/tools/assistant/compat/tabbedbrowser.cpp | 15705 | /****************************************************************************
**
** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information (qt-info@nokia.com)
**
** This file is part of the Qt Assistant of the Qt Toolkit.
**
** Commercial Usage
** Licensees holding valid Q... | gpl-2.0 |
tamtranvn2012/jobroller | wp-content/themes/old backup/jobroller7-6-2013/header.php | 1687 |
<div id="topNav">
<div class="inner">
<?php wp_nav_menu( array( 'theme_location' => 'top', 'sort_column' => 'menu_order', 'container' => 'menu-header', 'fallback_cb' => 'default_top_nav' ) ); ?>
<div class="clear"></div>
</div><!-- end inner -->
</div><!-- end topNav -->
<div id="header">
<div class="inn... | gpl-2.0 |
darconeous/sdcc | sim/ucsim/cmd.src/get.cc | 3308 | /*
* Simulator of microcontrollers (cmd.src/get.cc)
*
* Copyright (C) 1999,99 Drotos Daniel, Talker Bt.
*
* To contact author send email to drdani@mazsola.iit.uni-miskolc.hu
*
*/
/* This file is part of microcontroller simulator: ucsim.
UCSIM is free software; you can redistribute it and/or modify
it under the... | gpl-2.0 |
shchiu/hotspot | src/cpu/zero/vm/globals_zero.hpp | 2057 | /*
* Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright 2007, 2008, 2009, 2010 Red Hat, Inc.
* 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 Li... | gpl-2.0 |
uliux/myPrivate | ruby/src/ex1314.rb | 69 | # Sample code from Programing Ruby, page 602
"hEllO".upcase
| gpl-2.0 |
srcclr/open-core | spec/dummy/lib/discourse.rb | 7847 | require 'cache'
require_dependency 'plugin/instance'
require_dependency 'auth/default_current_user_provider'
module Discourse
require 'sidekiq/exception_handler'
class SidekiqExceptionHandler
extend Sidekiq::ExceptionHandler
end
# Log an exception.
#
# If your code is in a scheduled job, it is recomm... | gpl-2.0 |
liuyanghejerry/qtextended | qtopiacore/qt/tools/assistant/tools/qhelpgenerator/main.cpp | 5043 | /****************************************************************************
**
** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information (qt-info@nokia.com)
**
** This file is part of the Qt Assistant of the Qt Toolkit.
**
** Commercial Usage
** Licensees holding valid Q... | gpl-2.0 |
yeKcim/warmux | old/wormux-0.8alpha1/src/tool/debug.cpp | 2557 | /******************************************************************************
* Wormux is a convivial mass murder game.
* Copyright (C) 2001-2004 Lawrence Azzoug.
*
* 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
*... | gpl-2.0 |
OurDigitalWorld/odw-drupal | modules/contrib/paragraphs/src/ParagraphInterface.php | 4096 | <?php
namespace Drupal\paragraphs;
use Drupal\Core\Entity\EntityPublishedInterface;
use Drupal\user\EntityOwnerInterface;
use Drupal\Core\Entity\ContentEntityInterface;
use Drupal\entity_reference_revisions\EntityNeedsSaveInterface;
/**
* Provides an interface defining a paragraphs entity.
* @ingroup paragraphs
*... | gpl-2.0 |
liang860908/translationstudio8 | base_plugins/net.heartsome.xml/src/com/ximpleware/parser/ISO8859_4.java | 4151 | /*
* Copyright (C) 2002-2012 XimpleWare, info@ximpleware.com
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later versi... | gpl-2.0 |
phookajoe/zoogitsocial | components/com_community/tables/invitation.php | 1339 | <?php
/**
* @category Tables
* @package JomSocial
* @subpackage Activities
* @copyright (C) 2008 by Slashes & Dots Sdn Bhd - All rights reserved!
* @license GNU/GPL, see LICENSE.php
*/
defined('_JEXEC') or die('Restricted access');
class CTableInvitation extends JTable
{
var $id = null;
/**
* Callback m... | gpl-2.0 |
RJRetro/mame | src/devices/sound/x1_010.cpp | 9062 | // license:BSD-3-Clause
// copyright-holders:Luca Elia
/***************************************************************************
-= Seta Hardware =-
driver by Luca Elia (l.elia@tin.it)
rewrite by Manbow-J(manbowj@hamal.freemail.ne.jp)
... | gpl-2.0 |
dev-joker-dev/Joker-Developer | plugins/block.lua | 2524 | --[[
# For More Information ....!
# Developer : Aziz < @devss_bot > #Dev
# our channel: @help_tele
]]
local function addword(msg, name)
local hash = 'chat:'..msg.to.id..':badword'
redis:hset(hash, name, 'newword')
return "word has been add\n>"..name
end
local function get_variables_hash(msg)
re... | gpl-2.0 |
stager94/skmz-joomla | administrator/components/com_media/views/images/view.html.php | 2034 | <?php
/**
* @version $Id: view.html.php 14401 2010-01-26 14:10:00Z louis $
* @package Joomla
* @subpackage Media
* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to t... | gpl-2.0 |
BravadoToDeath/BlackWing | src/server/scripts/Northrend/IcecrownCitadel/boss_festergut.cpp | 18341 | /*
* Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later ve... | gpl-2.0 |
tracyapps/chad | node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/node_modules/bin-build/node_modules/decompress/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/unique-stream/node_modules/es6-set/node_modules/es5-ext/test/array/from/shim.js | 2636 | // Some tests taken from: https://github.com/mathiasbynens/Array.from/blob/master/tests/tests.js
'use strict';
module.exports = function( t, a ) {
var o = [1, 2, 3], MyType;
a.not( t( o ), o, "Array" );
a.deep( t( o ), o, "Array: same content" );
a.deep( t( '12r3v' ), ['1', '2', 'r', '3', 'v'], "String" );
a.dee... | gpl-2.0 |
sameed7/sesc-drowsy | src/libll/Instruction.cpp | 3933 | /*
SESC: Super ESCalar simulator
Copyright (C) 2003 University of Illinois.
Contributed by Jose Renau
Luis Ceze
This file is part of SESC.
SESC 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... | gpl-2.0 |
mab0130/lvl5AF | wp-content/plugins/contact-form-plugin/bws_menu/bws_menu.php | 23068 | <?php
/*
Function for displaying BestWebSoft menu
*/
if ( ! function_exists( 'bws_add_menu_render' ) ) {
function bws_add_menu_render() {
global $wpdb, $wp_version, $title;
if ( ! function_exists( 'is_plugin_active_for_network' ) )
require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
$all_plugins = get... | gpl-2.0 |
blablacio/uwsgi | tests/fileserve_async.py | 422 | import sys
import mimetypes
basedir = sys.argv[1]
mimetypes.init()
def application(environ, start_response):
filename = basedir + environ['PATH_INFO']
(content_type, encoding) = mimetypes.guess_type(filename)
if not content_type:
content_type = 'text/plain'
start_response('200 OK', [('Conte... | gpl-2.0 |
Alexpux/GCC | libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/requirements/typedefs.cc | 1247 | // { dg-do compile }
// { dg-options "-std=gnu++11" }
// { dg-require-cstdint "" }
//
// 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net>
//
// Copyright (C) 2008-2014 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it an... | gpl-2.0 |
abthefish/flatpress-csi-280 | setup/lib/step1.lib.php | 511 | <?php
function check_step() {
global $err;
if(check_write(SETUPTEMP_FILE, 2)) {
$r = fs_mkdir(CACHE_DIR);
$r &= fs_mkdir(INDEX_DIR);
$r &= fs_copy(CONFIG_DEFAULT, CONFIG_FILE);
$r &= fs_copy(FP_DEFAULTS. 'plugins.conf.php',
CONFIG_DIR . 'plugins.conf.php');
$r &= fs_c... | gpl-2.0 |
topic2k/EventGhost | languages/nl_NL.py | 37840 | # -*- coding: UTF-8 -*-
class General:
apply = u"Toepassen"
autostartItem = u"Automatisch Starten"
browse = u"Bladeren"
cancel = u"Annuleren"
choose = u"Kiezen"
configTree = u"Configuratie Boom"
deleteLinkedItems = u"Ten minste 1 element buiten je selectie, verwijst naar een element in je se... | gpl-2.0 |
ahsparrow/xcsoar_orig | src/Form/DataField/String.hpp | 1826 | /*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2015 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
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 |
SayenkoDesign/markmagic.com | wp-content/themes/amax/libraries/aq_resizer/aq_resizer.php | 4578 | <?php
/**
* Title : Aqua Resizer
* Description : Resizes WordPress images on the fly
* Version : 1.1.6 / ( 1.0.2 by OM)
* Author : Syamil MJ
* Author URI : http://aquagraphite.com
* License : WTFPL - http://sam.zoy.org/wtfpl/
* Documentation : https://github.com/sy4mil/Aqua-Resizer/
*
* @param string $url - (required... | gpl-2.0 |
cjw-network/cjw_newsletter | modules/newsletter/import_list.php | 1891 | <?php
/**
* File import_list.php
*
* @copyright Copyright (C) 2007-2012 CJW Network - Coolscreen.de, JAC Systeme GmbH, Webmanufaktur. All rights reserved.
* @license http://ez.no/licenses/gnu_gpl GNU GPL v2
* @version //autogentag//
* @package cjw_newsletter
* @subpackage modules
* @filesource
*/
// Blacklist... | gpl-2.0 |
agustinhenze/crrcsim.debian | src/mod_fdm/power/battery.cpp | 6197 | /*
* CRRCsim - the Charles River Radio Control Club Flight Simulator Project
* Copyright (C) 2005, 2006, 2008, 2009 - Jens Wilhelm Wulf (original author)
* Copyright (C) 2005, 2006, 2008 - Jan Reucker
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Gene... | gpl-2.0 |
Fizztastic/Cockatrice | cockatrice/translations/cockatrice_pt.ts | 236722 | <?xml version="1.0" ?><!DOCTYPE TS><TS language="pt" version="2.1">
<context>
<name>AbstractCounter</name>
<message>
<location filename="../src/abstractcounter.cpp" line="62"/>
<source>&Set counter...</source>
<translation>Definir marcador</translation>
</message>
<message>
... | gpl-2.0 |
jelitox/huayra | sfp/class_folder/dao/sigesp_spe_estpr2.php | 332 | <?php
require_once("../class_folder/sigesp_conexion_dao.php");
class spe_Estpro2Dao extends ADOdb_Active_Record
{
var $_table="spe_estpro2";
public function FiltrarDatos($cadena)
{
global $db;
$Rs = $db->Execute("select * from {$this->_table} where CODEST1='{cadena}'");
return $Rs;
}
... | gpl-2.0 |
teragonaudio/Arooo | JuceLibraryCode/modules/juce_core/native/juce_linux_Threads.cpp | 3089 | /*
==============================================================================
This file is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-11 by Raw Material Software Ltd.
------------------------------------------------------------------------------
JUCE can be r... | gpl-2.0 |
joomla-projects/GSoC-SQL-Optimization | media/plg_quickicon_extensionupdate/js/extensionupdatecheck.js | 2296 | /**
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
jQuery(document).ready(function() {
var ajax_structure = {
success: function(data, textStatus, jqXHR) {
try {
var updateInfoList = jQuery.... | gpl-2.0 |
Ruthkaveke/ecommerce-site | wp-content/themes/socute.free/core/yit/Submenu/Premium.php | 2780 | <?php
/**
* Your Inspiration Themes
*
* @package WordPress
* @subpackage Your Inspiration Themes
* @author Your Inspiration Themes Team <info@yithemes.com>
*
* This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also avai... | gpl-2.0 |
ulearn/blogcom | wp-content/themes/mistix/includes/formatting.php | 4919 | <?php
//Long posts should require a higher limit, see http://core.trac.wordpress.org/ticket/8553
//@ini_set('pcre.backtrack_limit', 500000);
// Add RSS links to <head> section
if (function_exists('add_theme_support')) {
add_theme_support('automatic-feed-links');
}
// remove junk from head
remove_a... | gpl-2.0 |
victorkagimu/khl-care2x | modules/cafeteria/cafenews-edit-save.php | 684 | <?php
error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR);
require_once('./roots.php');
require_once($root_path.'include/inc_environment_global.php');
/**
* CARE2X Integrated Hospital Information System Deployment 2.1 - 2004-10-02
* GNU General Public License
* Copyright 2002,2003,2004,2005 Elpidio Latorilla
* elpidi... | gpl-2.0 |
lytranuit/wordpress | wp-content/plugins/categories-metabox-enhanced/includes/class-category-metabox-enhanced.php | 6204 | <?php
/**
* The file that defines the core plugin class
*
* A class definition that includes attributes and functions used across both the
* public-facing side of the site and the dashboard.
*
* @link http://1fix.io
* @since 0.1.0
*
* @package Category_Metabox_Enhanced
* @subpackage Category_Me... | gpl-2.0 |
ZHAW-INES/rioxo-uClinux-dist | user/python/python-2.4.4/Tools/msi/uisample.py | 147975 | import msilib,os;dirname=os.path.dirname(__file__)
AdminExecuteSequence = [
(u'InstallValidate', None, 1400),
(u'InstallInitialize', None, 1500),
(u'InstallFinalize', None, 6600),
(u'InstallFiles', None, 4000),
(u'InstallAdminPackage', None, 3900),
(u'FileCost', None, 900),
(u'CostInitialize', None, 800),
(u'CostFinali... | gpl-2.0 |
DevDean/joomla-cms | administrator/components/com_hikashop/extensions/plg_hikashoppayment_sofort/library/helper/xml_to_array_node.php | 2413 | <?php
/**
* @package HikaShop for Joomla!
* @version 2.6.0
* @author hikashop.com
* @copyright (C) 2010-2015 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php
class XmlToArrayNode {
private $_attributes ... | gpl-2.0 |
skyorbit/work1 | TMessagesProj/src/main/java/org/telegram/android/Emoji.java | 33982 | /*
* This is the source code of Telegram for Android v. 1.3.2.
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Nikolai Kudashov, 2013.
*/
package org.telegram.android;
import java.io.File;
import java.io.InputStream;
imp... | gpl-2.0 |
infoalex/huayra | srh/pages/vistas/catalogos/sigesp_srh_cat_uni_vipladin.php | 5811 | <?php
session_start();
if (isset($_GET["valor_cat"]))
{ $ls_ejecucion=$_GET["valor_cat"]; }
else
{$ls_ejecucion="";}
if (isset($_GET["tipo"]))
{ $ls_tipo=$_GET["tipo"]; }
else
{$ls_tipo="";}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<htm... | gpl-2.0 |
white-wolf-17/hero-instantcms | system/controllers/admin/forms/form_ctypes_field.php | 7800 | <?php
class formAdminCtypesField extends cmsForm {
public function init($do, $ctype_name) {
return array(
'basic' => array(
'type' => 'fieldset',
'childs' => array(
new fieldString('name', array(
'title' => LANG_SYSTEM... | gpl-2.0 |