repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
cmm863/HearthAttack | java/HearthSim/src/main/java/com/hearthsim/card/thegrandtournament/minion/rare/AlexstraszasChampion.java | 1225 | package com.hearthsim.card.thegrandtournament.minion.rare;
import com.hearthsim.card.CharacterIndex;
import com.hearthsim.card.minion.Minion;
import com.hearthsim.card.minion.MinionBattlecryInterface;
import com.hearthsim.event.effect.EffectCharacter;
import com.hearthsim.event.effect.conditional.Conditional;
import c... | mit |
motephyr/realtime_demo | app/assets/javascripts/3d.js | 2218 | var WIDTH = 800,
HEIGHT = 600;
// camera attributes
var VIEW_ANGLE = 45,
ASPECT = WIDTH / HEIGHT,
NEAR = 0.1,
FAR = 10000;
// get the DOM element to attach to
var $container = $('#canvas-wrap');
// create WebGL renderer, camera, and a scene
var renderer = new THREE.WebGLRenderer({alpha: true});
var camera =
... | mit |
iiet/iiet-chat | app/models/server/models/LivechatDepartmentAgents.js | 4409 | import { Meteor } from 'meteor/meteor';
import _ from 'underscore';
import { Base } from './_Base';
import Users from './Users';
/**
* Livechat Department model
*/
export class LivechatDepartmentAgents extends Base {
constructor() {
super('livechat_department_agents');
this.tryEnsureIndex({ departmentId: 1 });... | mit |
luyucia/CatDoc | web/editor.md-master/src/editormd.js | 153677 | ;(function(factory) {
"use strict";
// CommonJS/Node.js
if (typeof require === "function" && typeof exports === "object" && typeof module === "object")
{
module.exports = factory;
}
else if (typeof define === "function") // AMD/CMD/Sea.js
{
if (define.amd) // for Require... | mit |
theodi/british_values | test/integration/experimental/serverspec/nginx_spec.rb | 635 | require 'serverspec'
set :backend, :exec
describe package 'nginx' do
it { should be_installed }
end
describe service 'nginx' do
it { should be_running }
end
describe file '/etc/nginx/sites-enabled/certificates.theodi.org' do
it { should be_symlink }
its(:content) { should match /server 127.0.0.1:8001;/ }
i... | mit |
stephaneAG/PengPod700 | QtEsrc/qt-everywhere-opensource-src-4.8.5/src/plugins/inputmethods/imsw-multi/qmultiinputcontext.cpp | 6408 | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the plugins of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holdi... | mit |
pendo324/Cobalt | Cobalt/Services/IServiceLocator.cs | 125 | namespace Cobalt.Services
{
public interface IServiceLocator
{
T GetInstance<T>() where T : class;
}
} | mit |
glerchundi/confd | pkg/util/logs.go | 3407 | /*
Copyright 2014 The Kubernetes 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 applicable law or ag... | mit |
envato/nulldb | lib/active_record/connection_adapters/nulldb_adapter/column.rb | 124 | class ActiveRecord::ConnectionAdapters::NullDBAdapter
class Column < ::ActiveRecord::ConnectionAdapters::Column
end
end
| mit |
danilovesky/workcraft | workcraft/DfsPlugin/src/org/workcraft/plugins/dfs/commands/InsertPopRegisterTransformationCommand.java | 377 | package org.workcraft.plugins.dfs.commands;
import org.workcraft.plugins.dfs.PopRegister;
public class InsertPopRegisterTransformationCommand extends AbstractInsertTransformationCommand {
@Override
public String getTypeName() {
return "pop register";
}
@Override
public PopRegister create... | mit |
nym/oilandwater | lib/Dynamics/b2World.js | 35046 | /**
* Class b2World
*
* @param gravity
* @param doSleep
*
*/
b2World = Box2D.Dynamics.b2World = function b2World(gravity, doSleep) {
this.m_stack = [];
this.m_contactManager = new b2ContactManager();
this.m_contactSolver = new b2ContactSolver();
this.m_island = new b2Island();
this.m_allowSleep = d... | mit |
mz121star/Crawler-chrome | js/plugins.js | 734 | // Avoid `console` errors in browsers that lack a console.
(function() {
var method;
var noop = function () {};
var methods = [
'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error',
'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log',
'markTimeline', 'profile',... | mit |
maurer/tiamat | samples/Juliet/testcases/CWE590_Free_Memory_Not_on_Heap/s01/CWE590_Free_Memory_Not_on_Heap__delete_array_long_static_82a.cpp | 2989 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE590_Free_Memory_Not_on_Heap__delete_array_long_static_82a.cpp
Label Definition File: CWE590_Free_Memory_Not_on_Heap__delete_array.label.xml
Template File: sources-sink-82a.tmpl.cpp
*/
/*
* @description
* CWE: 590 Free Memory Not on Heap
* BadSource: static Dat... | mit |
zhenkyle/shadowsocks_ruby | spec/integration/encrypted_tls_ticket_tunnel_spec.rb | 1532 | require "spec_helper"
require 'evented-spec'
require 'em-http'
RSpec.describe "encrypted tunnel proxy server" do
include EventedSpec::SpecHelper
default_timeout 30
it "should be act like a proxy server" do
em do
stack3 = ShadowsocksRuby::Protocols::ProtocolStack.new([
["shadowsocks", {}],
... | mit |
programmerpeter/OpenBazaar-Client | js/views/storeWizardVw.js | 7814 | var __ = require('underscore'),
Backbone = require('backbone'),
$ = require('jquery'),
is = require('is_js'),
loadTemplate = require('../utils/loadTemplate'),
saveToAPI = require('../utils/saveToAPI'),
MediumEditor = require('medium-editor'),
validateMediumEditor = require('../utils/validate... | mit |
Djamy/platform | src/Oro/Bundle/NavigationBundle/Tests/Unit/Menu/NavigationMostviewedBuilderTest.php | 4599 | <?php
namespace Oro\Bundle\NavigationBundle\Tests\Unit\Menu;
use Symfony\Bundle\FrameworkBundle\Routing\Router;
use Oro\Bundle\FeatureToggleBundle\Checker\FeatureChecker;
use Oro\Bundle\NavigationBundle\Entity\NavigationHistoryItem;
use Oro\Bundle\NavigationBundle\Menu\NavigationMostviewedBuilder;
use Oro\Bundle\Org... | mit |
djeik/goto | programs/valid/print.go | 128 | package main
func main(){
print("hello")
println("hellO")
print("hello\n")
print("hello'pop")
print('h')
}
| mit |
MalloyPower/parsing-python | front-end/testsuite-python-lib/Python-2.4/Lib/test/test_support.py | 10506 | """Supporting definitions for the Python regression tests."""
if __name__ != 'test.test_support':
raise ImportError, 'test_support must be imported from the test package'
import sys
class Error(Exception):
"""Base class for regression test exceptions."""
class TestFailed(Error):
"""Test failed."""
clas... | mit |
gnuine/ubiquo_categories | lib/ubiquo_categories/filters/category_filter.rb | 783 | module UbiquoCategories
module Filters
class CategoryFilter < Ubiquo::Filters::LinksOrSelectFilter
def configure(set, options = {})
defaults = {
:collection => categories_for_select(set),
:caption => options[:caption] || I18n.t("ubiquo.category_sets.#{set}"),
:field =>... | mit |
Kunstmaan/BootstrapCK4-Skin | plugins/fakeobjects/lang/mk.js | 377 | /*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'mk', {
anchor: 'Anchor',
flash: 'Flash Animation', // MISSING
hiddenfield: 'Hidden Field', // MISSING
iframe: 'IFrame', //... | mit |
raadhuis/modx-basic | core/components/migx/processors/mgr/migxconfigs/remove.php | 2507 | <?php
/**
* XdbEdit
*
* Copyright 2010 by Bruno Perner <b.perner@gmx.de>
*
* This file is part of XdbEdit, for editing custom-tables in MODx Revolution CMP.
*
* XdbEdit 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 Softwar... | mit |
timkrentz/SunTracker | IMU/VTK-6.2.0/Wrapping/Python/vtk/gtk/GtkGLExtVTKRenderWindow.py | 18331 | """
Description:
This provides a VTK widget for pyGtk. This embeds a vtkRenderWindow
inside a GTK widget. This is based on GtkVTKRenderWindow.py.
The extensions here allow the use of gtkglext rather than gtkgl and
pygtk-2 rather than pygtk-0. It requires pygtk-2.0.0 or later.
There is a working... | mit |
jmarconi/saleprode | src/Jm/SaleBundle/Controller/EquipoController.php | 5339 | <?php
namespace Jm\SaleBundle\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuratio... | mit |
kaizer04/SoftUni | ASP.NET MVC/toSend/SportSystem/SportSystem.Web/App_Start/NinjectWebCommon.cs | 2201 | [assembly: WebActivatorEx.PreApplicationStartMethod(typeof(SportSystem.Web.App_Start.NinjectWebCommon), "Start")]
[assembly: WebActivatorEx.ApplicationShutdownMethodAttribute(typeof(SportSystem.Web.App_Start.NinjectWebCommon), "Stop")]
namespace SportSystem.Web.App_Start
{
using System;
using System.Web;
... | mit |
chenke91/ckPermission | app/decorators.py | 16 | #encoding: utf-8 | mit |
Nyholm/symfony | src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php | 109287 | <?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\Bundle\FrameworkBundle\DependencyInjection;
use Doctrine\Common... | mit |
jobdoc/selections-app | tests/routes/Selections/modules/selections.spec.js | 8349 | import {
ADD_SELECTION,
POST_SELECTION_REQUEST,
POST_SELECTION_FAILURE,
POST_SELECTION_SUCCESS,
FETCH_SELECTIONS_REQUEST,
FETCH_SELECTIONS_FAILURE,
FETCH_SELECTIONS_SUCCESS,
addSelection,
loadSelections,
default as selectionsReducer
} from 'routes/Selections/modules/selections'
import fetchMock fro... | mit |
spirinvladimir/connect-nodejs-samples | lib/subscribe_for_spots.js | 370 | 'use strict';
var subscribeForSpots = function (params) {
return this.sendGuaranteedCommand(
this.protocol.getPayloadTypeByName('ProtoOASubscribeForSpotsReq'),
{
accountId: params.accountId,
accessToken: params.accessToken,
symblolName: params.symblolName
... | mit |
huoxudong125/Z.ExtensionMethods | test/Z.Core.Test/System.String/String.ExtractInt16.cs | 1294 | // Copyright (c) 2015 ZZZ Projects. All rights reserved
// Licensed under MIT License (MIT) (https://github.com/zzzprojects/Z.ExtensionMethods)
// Website: http://www.zzzprojects.com/
// Feedback / Feature Requests / Issues : http://zzzprojects.uservoice.com/forums/283927
// All ZZZ Projects products: Entity Framework ... | mit |
yuleska/wapmadrid | public/modules/routes/config/routes.client.config.js | 369 | 'use strict';
// Configuring the Articles module
angular.module('routes').run(['Menus',
function(Menus) {
// Set top bar menu items
Menus.addMenuItem('topbar', 'Routes', 'routes', 'dropdown', '/routes(/create)?');
Menus.addSubMenuItem('topbar', 'routes', 'List Routes', 'routes');
Menus.addSubMenuItem('topbar'... | mit |
cloudbearings/virtual-assistant | routes/index.php | 43 | <?php
$this->smarty->display('index.tpl');
| mit |
MilesGithub/tor_ibin | web/assets/js/jquery.qtip.js | 102233 | /*
* qTip2 - Pretty powerful tooltips - v2.2.0
* http://qtip2.com
*
* Copyright (c) 2013 Craig Michael Thompson
* Released under the MIT, GPL licenses
* http://jquery.org/license
*
* Date: Thu Nov 21 2013 08:34 GMT+0000
* Plugins: tips modal viewport svg imagemap ie6
* Styles: basic css3
*/
/*global window: ... | mit |
ihorlaitan/poet | server.py | 10080 | #!/usr/bin/python2.7
import os
import sys
import zlib
import base64
import socket
import os.path
import argparse
from datetime import datetime
import debug
import module
import config as CFG
from poetsocket import *
__version__ = '0.4.4'
POSH_PROMPT = 'posh > '
FAKEOK = """HTTP/1.1 200 OK\r
Date: Tue, 19 Mar 2013 2... | mit |
The-Acronym-Coders/ContentTweaker | src/main/java/com/teamacronymcoders/contenttweaker/modules/vanilla/utils/commands/CommandSenderWrapper.java | 2321 | package com.teamacronymcoders.contenttweaker.modules.vanilla.utils.commands;
import net.minecraft.command.CommandResultStats;
import net.minecraft.command.ICommandSender;
import net.minecraft.entity.Entity;
import net.minecraft.server.MinecraftServer;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.... | mit |
gianthat/carrieburnett | web/app/plugins/wp-rocket/inc/functions/posts.php | 4359 | <?php
defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' );
/**
* Get all terms archives urls associated to a specific post
*
* @since 1.0
*
* @param int $post_id The post ID.
* @return array $urls List of taxonomies URLs
*/
function get_rocket_post_terms_urls( $post_id ) {
$urls = array();
$taxonomies = get_o... | mit |
jenkinsci/blueocean-plugin | blueocean-dashboard/src/main/js/creation/CreatePipeline.js | 5079 | import React, { PropTypes } from 'react';
import { Page } from '@jenkins-cd/design-language';
import { ContentPageHeader, i18nTranslator, loadingIndicator } from '@jenkins-cd/blueocean-core-js';
import Extensions from '@jenkins-cd/js-extensions';
import { ClassicCreationLink } from './ClassicCreationLink';
import { Cr... | mit |
IjzerenHein/famous-flex | src/FlexScrollView.js | 27446 | /**
* This Source Code is licensed under the MIT license. If a copy of the
* MIT-license was not distributed with this file, You can obtain one at:
* http://opensource.org/licenses/mit-license.html.
*
* @author: Hein Rutjes (IjzerenHein)
* @license MIT
* @copyright Gloey Apps, 2015
*/
/**
* Flexible FlexScrol... | mit |
Rainbowcoin/Rainbowcoin | src/qt/qrcodedialog.cpp | 4315 | #include "qrcodedialog.h"
#include "ui_qrcodedialog.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#include "guiutil.h"
#include "optionsmodel.h"
#include <QPixmap>
#include <QUrl>
#include <qrencode.h>
QRCodeDialog::QRCodeDialog(const QString &addr, const QString &label, bool enableReq, QWidget *parent) :
... | mit |
alucidwolf/alucidwolf.github.io | ps-practical-design-patterns/structure/Facade/task.js | 1425 | var Task = function (data) {
this.name = data.name;
this.priority = data.priority;
this.project = data.project;
this.user = data.user;
this.completed = data.completed;
}
var TaskService = function () {
return {
complete: function (task) {
task.completed = true;
c... | mit |
cmars/tools | src/github.com/Masterminds/glide/action/get.go | 6515 | package action
import (
"fmt"
"path/filepath"
"strings"
"github.com/Masterminds/glide/cache"
"github.com/Masterminds/glide/cfg"
"github.com/Masterminds/glide/godep"
"github.com/Masterminds/glide/msg"
gpath "github.com/Masterminds/glide/path"
"github.com/Masterminds/glide/repo"
"github.com/Masterminds/glide/... | mit |
cdnjs/cdnjs | ajax/libs/openplayerjs/2.2.4/esm/controls.js | 11802 | import Captions from './controls/captions';
import Fullscreen from './controls/fullscreen';
import Levels from './controls/levels';
import Play from './controls/play';
import Progress from './controls/progress';
import Settings from './controls/settings';
import Time from './controls/time';
import Volume from './contro... | mit |
cdnjs/cdnjs | ajax/libs/simple-icons/1.13.0/zerply.js | 913 | module.exports={title:'Zerply',slug:'zerply',svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Zerply icon</title><path d="M20.779 18.746c-.747.714-1.562 1.017-2.543 1.017-1.32 0-3.322-.61-4.846-1.66-1.629-1.119-3.765-2.237-5.562-2.271 1.323-1.798 3.39-3.628 5.322-5.798.713-.78 4.983-5.... | mit |
cdnjs/cdnjs | ajax/libs/highcharts/8.0.0/es-modules/masters/modules/exporting.src.js | 316 | /**
* @license Highcharts JS v8.0.0 (2019-12-10)
* @module highcharts/modules/exporting
* @requires highcharts
*
* Exporting module
*
* (c) 2010-2019 Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
import '../../modules/full-screen.src.js';
import '../../modules/exporting.src.js';
| mit |
cdnjs/cdnjs | ajax/libs/vue/3.0.0-beta.3/vue.runtime.esm-bundler.js | 693 | import { warn } from '@vue/runtime-dom';
export * from '@vue/runtime-dom';
if ( (process.env.NODE_ENV !== 'production')) {
console[console.info ? 'info' : 'log'](`You are running a development build of Vue.\n` +
`Make sure to use the production build (*.prod.js) when deploying for production.`);
}
// T... | mit |
cdnjs/cdnjs | ajax/libs/jquery.sumoselect/3.3.9/jquery.sumoselect.js | 32062 | /*!
* jquery.sumoselect
* http://hemantnegi.github.io/jquery.sumoselect
* 2016-12-12
*
* Copyright 2015 Hemant Negi
* Email : hemant.frnz@gmail.com
* Compressor http://refresh-sf.com/
*/
(function (factory) {
'use strict';
if (typeof define === 'function' && define.amd) {
define(['jquery'], factory);
... | mit |
cdnjs/cdnjs | ajax/libs/deepstream.io-client-js/2.3.4/lib/constants/constants.js | 3937 | 'use strict';
exports.CONNECTION_STATE = {};
exports.CONNECTION_STATE.CLOSED = 'CLOSED';
exports.CONNECTION_STATE.AWAITING_CONNECTION = 'AWAITING_CONNECTION';
exports.CONNECTION_STATE.CHALLENGING = 'CHALLENGING';
exports.CONNECTION_STATE.AWAITING_AUTHENTICATION = 'AWAITING_AUTHENTICATION';
exports.CONNECTION_STATE.AU... | mit |
dfdx2/ancfinder | ancfindersite/static/jquery-utils.js | 7428 | // Some of my own utilities.
// Modernizing placeholder="...".
//
// Display a default value in text fields with a "default" class until
// user focuses the field, at which point the field is cleared and
// the "default" class is removed. If the user leaves the field and
// it's empty, the default text is replaced.
//... | cc0-1.0 |
BackFront/BT_EstruturaDados | src/aulaRecursividade/Pessoa.java | 320 | package aulaRecursividade;
public class Pessoa {
private String Nome;
private double Altura;
public String getNome() {
return Nome;
}
public void setNome(String nome) {
Nome = nome;
}
public double getAltura() {
return Altura;
}
public void setAltura(double altura) {
Altura = altura;
}
}
| cc0-1.0 |
jacksongomesbr/livro-desenvolvimento-software-web | angularjs/app-click/app.js | 276 | (function(){
angular.module('appsimples', [])
.controller('HomeController', function($scope) {
$scope.cidades = ['Araguaína', 'Gurupi', 'Palmas', 'Paraíso', 'Porto Nacional'];
$scope.salvar = function(cidade) {
$scope.cidades.push(cidade);
}
});
})();
| cc0-1.0 |
mtov/Truck-Factor | gittruckfactor/src/aserg/gtf/util/Alias.java | 2894 | package aserg.gtf.util;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import com.google.common.io.LineReader;
public class Alias {
private String repository;
private String dev1;
private String dev2;
public Alias(String ... | cc0-1.0 |
sazgin/elexis-3-core | ch.rgw.utility/src/ch/rgw/compress/CompEx.java | 5817 | /*******************************************************************************
* Copyright (c) 2005-2011, G. Weirich and Elexis
* 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 a... | epl-1.0 |
kgibm/open-liberty | dev/com.ibm.ws.security.wim.scim.2.0/test/com/ibm/ws/security/wim/scim20/model/users/EntitlementImplTest.java | 1959 | /*******************************************************************************
* Copyright (c) 2018 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, and is a... | epl-1.0 |
kgibm/open-liberty | dev/com.ibm.rls.jdbc/src/com/ibm/ws/recoverylog/custom/jdbc/impl/SQLNonTransactionalDataSource.java | 6382 | /*******************************************************************************
* Copyright (c) 2012, 2021 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 |
kgibm/open-liberty | dev/com.ibm.ws.microprofile.config.1.1/test/src/com/ibm/ws/microprofile/config/converter/test/StringConverter101b.java | 915 | /*******************************************************************************
* Copyright (c) 2017 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, and is a... | epl-1.0 |
alastrina123/debrief | org.mwc.debrief.satc.core/tests/com/planetmayo/debrief/satc/model/contributions/BearingMeasurementContributionTest.java | 6432 | /*
* Debrief - the Open Source Maritime Analysis Application
* http://debrief.info
*
* (C) 2000-2014, PlanetMayo Ltd
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the Eclipse Public License v1.0
* (http://www.eclipse.org/legal/epl-v10.... | epl-1.0 |
rkadle/Tank | web/web_support/src/main/java/com/intuit/tank/converter/ReplaceModeConverter.java | 1302 | /**
* Copyright 2011 Intuit Inc. All Rights Reserved
*/
package com.intuit.tank.converter;
/*
* #%L
* JSF Support Beans
* %%
* Copyright (C) 2011 - 2015 Intuit Inc.
* %%
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
... | epl-1.0 |
Mirage20/che | core/che-core-api-jdbc/src/main/java/org/eclipse/che/api/core/jdbc/jpa/DuplicateKeyException.java | 979 | /*******************************************************************************
* Copyright (c) 2012-2016 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... | epl-1.0 |
kstkelvin/vpm-kelvin-st | src/view/menu/RelatorioMenu.java | 1092 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package view.menu;
/**
*
* @author kelvin
*/
public class RelatorioMenu {
/**
*
*/
public static final int O... | epl-1.0 |
openhab/openhab | bundles/binding/org.openhab.binding.insteonplm/src/main/java/org/openhab/binding/insteonplm/internal/message/DataType.java | 1921 | /**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | epl-1.0 |
TypeFox/che | dashboard/src/components/api/che-team.factory.ts | 11617 | /*
* Copyright (c) 2015-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 |
braverokmc79/macaronics-spring-one | web04 - Finish/src/main/java/com/example/wbe04/controller/memo/MemoController.java | 2094 | package com.example.wbe04.controller.memo;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.inject.Inject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework... | epl-1.0 |
zzzzgc/ZGC4Obj | transfer/src/main/java/com/xinxing/transfer/common/util/CommonUtils.java | 1315 | package com.xinxing.transfer.common.util;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import com.xinxing.boss.business.api.domain.SendOrderInfo;
import com.xinxing.boss.interaction.pojo.customer.OrderInfo;
public class CommonUtils {
/**
* 获取查询中打日志时参数为list的情况,获取里面的id来打印,简洁日志
* @ret... | epl-1.0 |
kgibm/open-liberty | dev/com.ibm.ws.security.javaeesec_fat/test-bundles/security.jaspic.user.feature.test/src/com/ibm/ws/security/jaspi/test/AuthModule.java | 24211 | /*******************************************************************************
* Copyright (c) 2014 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, and is a... | epl-1.0 |
kgibm/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/osgi/collaborator/CollaboratorHelperImpl.java | 14661 | /*******************************************************************************
* Copyright (c) 1997, 2008 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 |
yashkulkarni/Om | code/om/language/operation/back_pull_term_operation.cpp | 2426 | /*!
\file
\brief
<a href="http://github.com/sparist/Om">Om</a> source file.
\version
0.1.3
\date
2012-2014
\copyright
Copyright (c) <a href="http://sparist.com">Sparist</a>. All rights reserved. This program and the accompanying materials are made available under the terms of the <a href="http://www.eclipse... | epl-1.0 |
jerr/jbossforge-core | git/impl/src/main/java/org/jboss/forge/addon/git/ui/GitCloneCommandImpl.java | 3119 | /**
* Copyright 2016 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 org.jboss.forge.addon.git.ui;
import org.eclipse.jgit.api.CloneCommand;
import org.eclipse.jgit.api.Git;
import org.jboss.forge.a... | epl-1.0 |
jerr/jbossforge-core | shell/tests/src/test/java/org/jboss/forge/addon/shell/parser/CoreCommandTest.java | 3703 | /**
* Copyright 2016 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 org.jboss.forge.addon.shell.parser;
import static org.hamcrest.CoreMatchers.nullValue;
import java.io.File;
import java.util.con... | epl-1.0 |
paulianttila/openhab2 | bundles/org.openhab.binding.heos/src/main/java/org/openhab/binding/heos/internal/resources/HeosSendCommand.java | 3589 | /**
* Copyright (c) 2010-2021 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | epl-1.0 |
HeliumProject/ThreadBuildingBlocks | src/tbb/dynamic_link.cpp | 22652 | /*
Copyright 2005-2013 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... | gpl-2.0 |
wkurniawan07/repo | src/main/java/com/google/appengine/logging/v1/SourceReferenceOrBuilder.java | 1392 | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/appengine/logging/v1/request_log.proto
package com.google.appengine.logging.v1;
public interface SourceReferenceOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.appengine.logging.v1.SourceReference)
com.google.... | gpl-2.0 |
skyHALud/codenameone | Ports/iOSPort/xmlvm/apache-harmony-6.0-src-r991881/classlib/modules/awt/src/main/java/common/java/awt/datatransfer/FlavorEvent.java | 1101 | /*
* 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")... | gpl-2.0 |
xclouder/godbattle | Assets/Plugins/BehaviourMachine/Source/Nodes/UnityGUI/Drawable/GUIBox.cs | 983 | //----------------------------------------------
// Behaviour Machine
// Copyright © 2014 Anderson Campos Cardoso
//----------------------------------------------
using UnityEngine;
using System.Collections;
namespace BehaviourMachine {
/// <summary>
/// Make an auto-layout box.
/// </summary... | gpl-2.0 |
jolay/ayansa | cache/mod_vvisit_counter/860aea6b5aac75573e8d7d8ebc839c97-cache-mod_vvisit_counter-16fd84fd48a2334ea0406362f60e47b2.php | 86 | <?php die("Access Denied"); ?>#x#a:2:{s:6:"output";s:0:"";s:6:"result";s:7:"1459634";} | gpl-2.0 |
alexnunes2015/ZED-OS | Qualcomm Augmented Reality/Scripts/QCARBehaviour.cs | 808 | /*==============================================================================
Copyright (c) 2010-2013 Qualcomm Connected Experiences, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Connected Experiences, Inc.
==============================================================================*/
using S... | gpl-2.0 |
gsnerf/Emby | MediaBrowser.WebDashboard/dashboard-ui/components/categorysyncbuttons.js | 1432 | define(['itemHelper'], function (itemHelper) {
'use strict';
function initSyncButtons(view) {
var apiClient = window.ApiClient;
if (!apiClient || !apiClient.getCurrentUserId()) {
return;
}
apiClient.getCurrentUser().then(function (user) {
var item = ... | gpl-2.0 |
jrsix/cms | src/JR.Cms/Repository/SiteRepository.cs | 9243 | using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Text.RegularExpressions;
using JR.Cms.Domain.Interface.Site;
using JR.Cms.Domain.Interface.Site.Category;
using JR.Cms.Domain.Interface.Site.Extend;
using JR.Cms.Domain.Interface.Site.Link;
using JR.Cms.Domain.Int... | gpl-2.0 |
bfay/maniacal-kitten | wp-content/themes/smartbox-theme-1.01/javascripts/jquery.form.js | 39061 | /*!
* jQuery Form Plugin
* version: 3.18 (28-SEP-2012)
* @requires jQuery v1.5 or later
*
* Examples and documentation at: http://malsup.com/jquery/form/
* Project repository: https://github.com/malsup/form
* Dual licensed under the MIT and GPL licenses:
* http://malsup.github.com/mit-license.txt
* http:... | gpl-2.0 |
kingvuplus/boom | lib/python/Tools/Alternatives.py | 742 | from enigma import eServiceCenter, eServiceReference
def getAlternativeChannels(service):
alternativeServices = eServiceCenter.getInstance().list(eServiceReference(service))
return alternativeServices and alternativeServices.getContent('S', True)
def CompareWithAlternatives(serviceA, serviceB):
r... | gpl-2.0 |
enoordeh/Pangloss | Magnifier.py | 15272 | #!/usr/bin/env python
# ======================================================================
import pangloss
import sys,getopt,cPickle,numpy,glob
import matplotlib.pyplot as plt
from scipy.stats.kde import gaussian_kde
from math import pi
from astropy.io import ascii
# ============================================... | gpl-2.0 |
holzgeist/Piwigo | language/tr_TR/common.lang.php | 25079 | <?php
// +-----------------------------------------------------------------------+
// | Piwigo - a PHP based photo gallery |
// +-----------------------------------------------------------------------+
// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
// | C... | gpl-2.0 |
VytautasBoznis/l2.skilas.lt | aCis_gameserver/java/net/sf/l2j/gameserver/datatables/PetDataTable.java | 7749 | /*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation, either version 3 of the License, or (at your option) any later
* version.
*
* This program is distributed in the hope that it will be us... | gpl-2.0 |
shannah/cn1 | Ports/iOSPort/xmlvm/apache-harmony-6.0-src-r991881/classlib/modules/awt/src/test/impl/boot/java/awt/AccessibleAWTWindowTest.java | 3497 | /*
* 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")... | gpl-2.0 |
samskivert/ikvm-openjdk | build/linux-amd64/impsrc/com/sun/tools/internal/xjc/reader/dtd/Messages.java | 2633 | /*
* Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | gpl-2.0 |
cpinfold/eventum | docs/examples/partner/class.example.php | 2572 | <?php
/*
* This file is part of the Eventum (Issue Tracking System) package.
*
* @copyright (c) Eventum Team
* @license GNU General Public License, version 2 or later (GPL-2+)
*
* For the full copyright and license information,
* please see the COPYING and AUTHORS files
* that were distributed with this source... | gpl-2.0 |
fberst/xcsoar | src/Screen/Memory/Buffer.hpp | 3311 | /*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2016 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 |
HiT-Hi-FiT-Hai/dcplusplus | boost/boost/archive/binary_wiarchive.hpp | 1946 | #ifndef BOOST_ARCHIVE_BINARY_WIARCHIVE_HPP
#define BOOST_ARCHIVE_BINARY_WIARCHIVE_HPP
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// binary_wiarchive.hpp
// (C) Copyri... | gpl-2.0 |
wassemgtk/OpenX-using-S3-and-CloudFront | lib/pear/Image/Graph/Grid/Polar.php | 3443 | <?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* Image_Graph - PEAR PHP OO Graph Rendering Utility.
*
* PHP versions 4 and 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
... | gpl-2.0 |
rlugojr/rekall | rekall-core/rekall/args.py | 18423 | #!/usr/bin/python
# Rekall Memory Forensics
# Copyright (C) 2012 Michael Cohen <scudette@gmail.com>
# Copyright 2013 Google Inc. All Rights Reserved.
#
# 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 Found... | gpl-2.0 |
videoP/jaPRO | codeJK2/cgame/cg_predict.cpp | 19807 | /*
This file is part of Jedi Knight 2.
Jedi Knight 2 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.
Jedi Knight 2 is d... | gpl-2.0 |
devBPI/src_libraryfind | app/controllers/query_controller.rb | 3276 | # LibraryFind - Quality find done better.
# Copyright (C) 2007 Oregon State University
#
# 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) an... | gpl-2.0 |
windskyer/nova | nova/tests/unit/db/test_db_api.py | 413946 | # encoding=UTF8
# Copyright 2010 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration.
# 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 m... | gpl-2.0 |
jeremycline/pulp_ostree | plugins/pulp_ostree/plugins/importers/web.py | 6123 | import sys
from gettext import gettext as _
from pulp.common.config import read_json_config
from pulp.plugins.importer import Importer
from pulp.server.db.model import Repository
from pulp_ostree.common import constants
from pulp_ostree.plugins.importers.steps import Main
def entry_point():
"""
Entry point... | gpl-2.0 |
BIORIMP/biorimp | BIO-RIMP/test_data/code/joda/src/main/java/org/joda/beans/impl/direct/DirectMetaPropertyMap.java | 8396 | /*
* Copyright 2001-2014 Stephen Colebourne
*
* 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... | gpl-2.0 |
toshi0607/sukessan_wp | wp-content/themes/stinger5ver20140902/ad.php | 344 | <?php if(is_mobile()) { //スマートフォンの時は300pxサイズを ?>
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(4) ) : else : ?>
<?php endif; ?>
<?php
}else{ //PCの時は336pxサイズを
?>
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(3) ) : else : ?>
<?php endif; ?>
<?php
}
?>
| gpl-2.0 |
Ginfred/DeathCore | src/server/game/AI/CoreAI/PetAI.cpp | 23729 | /*
* Copyright (C) 2013-2015 DeathCore <http://www.noffearrdeathproject.net/>
* 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; eit... | gpl-2.0 |
chihchao/mngexcuse | language/tchinese/blocks.php | 207 | <?php
define('_MD_MEXCS_BLOCK_INFO', '請假資訊');
define('_MD_MEXCS_BLOCK_PGSEXCUSE', '假單進度');
define('_MD_MEXCS_BLOCK_CHKEXCUSE', '假單審核');
define('_MD_MEXCS_BLOCK_EMPTY', '無');
?> | gpl-2.0 |
dlespiau/patchwork | patchwork/migrations/0027_auto_20180116_0044.py | 452 | # -*- coding: utf-8 -*-
# Generated by Django 1.11.9 on 2018-01-16 00:44
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('patchwork', '0026_event_series_not_mandatory'),
]
operations = [
migrations.AlterMo... | gpl-2.0 |
rlhardrock/buhos | wp-content/plugins/wp-club-manager/includes/admin/wpcm-meta-box-functions.php | 10509 | <?php
/**
* WPClubManager Meta Box Functions
*
* @author ClubPress
* @category Core
* @package WPClubManager/Admin/Functions
* @version 1.0.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
/**
* Output a text input box.
*
* @access public
* @param array $field
* @return void
... | gpl-2.0 |
hampelm/Ginsberg-CiviDemo | sites/all/modules/civicrm/CRM/Contact/BAO/GroupContactCache.php | 12241 | <?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 3.3 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2010 |
+--------------------... | gpl-2.0 |
samnajian/glowbox | node_modules/grunt-express-server/tasks/lib/server.js | 3321 | /*
* grunt-express-server
* https://github.com/ericclemmons/grunt-express-server
*
* Copyright (c) 2013 Eric Clemmons
* Licensed under the MIT license.
*/
'use strict';
module.exports = function(grunt, target) {
if (!process._servers) {
process._servers = {};
}
var backup = null;
var startdone =... | gpl-2.0 |