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 |
|---|---|---|---|---|---|
package com.lichkin.framework.springboot.controllers.impl;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springf... | china-zhuangxuxin/LKFramework | lichkin-springboot-demos/lichkin-springboot-demo-web/src/main/java/com/lichkin/framework/springboot/controllers/impl/LKDemoController.java | Java | mit | 1,209 |
module.exports = {
"extends": "airbnb",
"parser": "babel-eslint",
"plugins": [
"react"
],
"rules": {
"react/prop-types": 0,
"react/jsx-boolean-value": 0,
"consistent-return": 0,
"guard-for-in": 0,
"no-use-before-define": 0,
"space-before-function-paren": [2, { "anonymous": "never... | danieloliveira079/healthy-life-app-v1 | .eslintrc.js | JavaScript | mit | 351 |
package au.com.codeka.planetrender;
import java.util.Random;
import au.com.codeka.common.PerlinNoise;
import au.com.codeka.common.Vector2;
import au.com.codeka.common.Vector3;
/**
* This class takes a ray that's going in a certain direction and warps it based on a noise pattern. This is used
* to generate misshape... | jife94/wwmmo | planet-render/src/au/com/codeka/planetrender/RayWarper.java | Java | mit | 2,860 |
<?php defined('SYSPATH') or die('No direct script access.');
class Jelly_Meta extends Jelly_Core_Meta {}
| loonies/kohana-jelly | classes/jelly/meta.php | PHP | mit | 106 |
//>>built
define("clipart/SpinInput",["dojo/_base/declare","clipart/_clipart"],function(_1,_2){
return _1("clipart.SpinInput",[_2],{});
});
| Bonome/pauline-desgrandchamp.com | lib/clipart/SpinInput.js | JavaScript | mit | 140 |
## www.pubnub.com - PubNub Real-time push service in the cloud.
# coding=utf8
## PubNub Real-time Push APIs and Notifications Framework
## Copyright (c) 2010 Stephen Blum
## http://www.pubnub.com/
import sys
from pubnub import PubnubTornado as Pubnub
publish_key = len(sys.argv) > 1 and sys.argv[1] or 'demo'
subscri... | teddywing/pubnub-python | python-tornado/examples/here-now.py | Python | mit | 1,031 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Concurrent;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Common.Core;
using Microso... | AlexanderSher/RTVS | src/Windows/Host/Client/Impl/BrokerServices/WebServer.cs | C# | mit | 6,593 |
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | prashantevolvus/crux | google/src/Google/Cache/Null.php | PHP | mit | 1,222 |
/**
* Created by jiangli on 15/1/6.
*/
"use strict";
var request = require('request');
var iconv = require('iconv-lite');
var crypto = require('crypto');
var Buffer = require('buffer').Buffer;
/**
* [_parseYouku 解析优酷网]
* @param [type] $url [description]
* @return [type] [description]
*/
module.exports = f... | jiangli373/nodeParseVideo | lib/youku.js | JavaScript | mit | 21,702 |
/*
* Copyright (c) 2011 Stephen A. Pratt
*
* 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, m... | stevefsp/critterai | src/main/Assets/CAI/util/interop/AllocType.cs | C# | mit | 2,238 |
class Post < ActiveRecord::Base
validates :title, presence: true
validates :slug, presence: true, uniqueness: true
acts_as_url :title, :url_attribute => :slug
default_scope order('created_at desc')
def to_param
slug
end
def external?
!url.blank?
end
end
| chanman82/ChandlerCollins.com | app/models/post.rb | Ruby | mit | 280 |
# -*- coding: utf-8 -*-
import numbers
import numpy as np
from ..constants import BOLTZMANN_IN_MEV_K
from ..energy import Energy
class Analysis(object):
r"""Class containing methods for the Data class
Attributes
----------
detailed_balance_factor
Methods
-------
integrate
position
... | neutronpy/neutronpy | neutronpy/data/analysis.py | Python | mit | 8,726 |
using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.CSharp.Data.Handling
{
public class AddingDataToCells
{
public static void Run()
{
// ExStart:1
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir... | aspose-cells/Aspose.Cells-for-.NET | Examples/CSharp/Data/Handling/AddingDataToCells.cs | C# | mit | 1,673 |
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* LICENSE:
* 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) a... | kinnngg/knightofsorrow.tk | bgp/admin/boxgamefile.php | PHP | mit | 7,705 |
/*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... | eirTony/INDI1 | to/lang/OpenCV-2.2.0/modules/imgproc/src/moments.cpp | C++ | mit | 19,603 |
// 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.
#nullable disable
using System;
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis.Editor;
usin... | dotnet/roslyn | src/VisualStudio/CSharp/Impl/Interactive/CSharpInteractiveCommandHandler.cs | C# | mit | 2,251 |
class AddIndexes < ActiveRecord::Migration
def self.up
add_index :authentications, :user_id
add_index :games, :black_player_id
add_index :games, :white_player_id
add_index :games, :current_player_id
add_index :games, [:id, :current_player_id, :finished_at]
end
def self.down
remove_index :... | brownman/alone.in.the.galaxy | db/migrate/20101017234019_add_indexes.rb | Ruby | mit | 560 |
module.exports = {
getMeta: function(meta) {
var d = meta.metaDescription || meta.description || meta.Description;
if (d && d instanceof Array) {
d = d[0];
}
return {
description: d
}
}
}; | loklak/loklak_webclient | iframely/plugins/meta/description.js | JavaScript | mit | 264 |
/*
* Treeview 1.5pre - jQuery plugin to hide and show branches of a tree
*
* http://bassistance.de/jquery-plugins/jquery-plugin-treeview/
* http://docs.jquery.com/Plugins/Treeview
*
* Copyright (c) 2007 Jörn Zaefferer
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-... | rgeraads/phpDocumentor2 | data/templates/responsive-twig/js/jquery.treeview.js | JavaScript | mit | 8,204 |
!((document, $) => {
var clip = new Clipboard('.copy-button');
clip.on('success', function(e) {
$('.copied').show();
$('.copied').fadeOut(2000);
});
})(document, jQuery);
| cehfisher/a11y-style-guide | src/global/js/copy-button.js | JavaScript | mit | 186 |
var binary = require('node-pre-gyp');
var path = require('path');
var binding_path = binary.find(path.resolve(path.join(__dirname,'./package.json')));
var binding = require(binding_path);
var Stream = require('stream').Stream,
inherits = require('util').inherits;
function Snapshot() {}
Snapshot.prototype.getHead... | timmyg/pedalwagon-api | node_modules/node-inspector/node_modules/v8-profiler/v8-profiler.js | JavaScript | mit | 5,446 |
from itertools import imap, chain
def set_name(name, f):
try:
f.__pipetools__name__ = name
except (AttributeError, UnicodeEncodeError):
pass
return f
def get_name(f):
from pipetools.main import Pipe
pipetools_name = getattr(f, '__pipetools__name__', None)
if pipetools_name:
... | katakumpo/pipetools | pipetools/debug.py | Python | mit | 672 |
using System;
using NPoco;
using Umbraco.Cms.Infrastructure.Persistence.DatabaseAnnotations;
namespace Umbraco.Cms.Infrastructure.Persistence.Dtos
{
[TableName(TableName)]
[ExplicitColumns]
[PrimaryKey("Id")]
internal class TwoFactorLoginDto
{
public const string TableName = Cms.Core.Consta... | marcemarc/Umbraco-CMS | src/Umbraco.Infrastructure/Persistence/Dtos/TwoFactorLoginDto.cs | C# | mit | 1,035 |
/**
* webdriverio
* https://github.com/Camme/webdriverio
*
* A WebDriver module for nodejs. Either use the super easy help commands or use the base
* Webdriver wire protocol commands. Its totally inspired by jellyfishs webdriver, but the
* goal is to make all the webdriver protocol items available, as near the or... | testingbot/webdriverjs | index.js | JavaScript | mit | 1,748 |
<?php
/*
* This file is part of the Elcodi package.
*
* Copyright (c) 2014-2015 Elcodi.com
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Feel free to edit as you please, and have fun.
*
* @author Marc Morera <yuhu@mmoreram.c... | shopery/elcodi | src/Elcodi/Component/Currency/Adapter/CurrencyExchangeRatesProvider/YahooFinanceProviderAdapter.php | PHP | mit | 2,097 |
package org.telegram.android.views.dialog;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import android.os.SystemCloc... | ex3ndr/telegram | app/src/main/java/org/telegram/android/views/dialog/ConversationListView.java | Java | mit | 13,050 |
/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person ... | xsilium-frameworks/xsilium-engine | Library/Ogre/Components/Overlay/src/OgreOverlay.cpp | C++ | mit | 11,191 |
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import * as React from 'react';
import PropTypes from 'prop-types';
import { Transition } from 'react-transition-group';
import useTheme from '../styles/useThem... | cdnjs/cdnjs | ajax/libs/material-ui/4.9.9/es/Grow/Grow.js | JavaScript | mit | 4,874 |
import * as React from 'react';
declare class JqxGrid extends React.PureComponent<IGridProps, IState> {
protected static getDerivedStateFromProps(props: IGridProps, state: IState): null | IState;
private _jqx;
private _id;
private _componentSelector;
constructor(props: IGridProps);
compon... | cdnjs/cdnjs | ajax/libs/jqwidgets/12.1.2/jqwidgets-react-tsx/jqxgrid/react_jqxgrid.d.ts | TypeScript | mit | 21,567 |
"use strict";
exports.__esModule = true;
exports.default = void 0;
var React = _interopRequireWildcard(require("react"));
var _createElement = _interopRequireDefault(require("../createElement"));
var _css = _interopRequireDefault(require("../StyleSheet/css"));
var _pick = _interopRequireDefault(require("../../modu... | cdnjs/cdnjs | ajax/libs/react-native-web/0.0.0-e437e3f47/cjs/exports/View/index.js | JavaScript | mit | 6,819 |
/*******************************************************************************
* Copyright (c) 2011, 2020 Eurotech and/or its affiliates and others
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.o... | ctron/kura | kura/org.eclipse.kura.api/src/main/java/org/eclipse/kura/net/NetInterfaceRemovedEvent.java | Java | epl-1.0 | 1,545 |
/* ********************************************************************** **
** Copyright notice **
** **
** (c) 2005-2009 RSSOwl Development Team **
... | rssowl/RSSOwl | org.rssowl.core/src/org/rssowl/core/internal/persist/service/EventsMap.java | Java | epl-1.0 | 6,658 |
/*******************************************************************************
* Copyright (c) 2011, 2020 Eurotech and/or its affiliates and others
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.o... | ctron/kura | kura/org.eclipse.kura.web2/src/main/java/org/eclipse/kura/web/shared/model/GwtDeviceConfig.java | Java | epl-1.0 | 7,591 |
/*******************************************************************************
* Copyright (c) 2010 - 2013 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, a... | scela/EclipseCon2014 | com.vogella.e4.appmodel.app/src/com/vogella/e4/appmodel/app/handlers/QuitHandler.java | Java | epl-1.0 | 1,040 |
/*
* Copyright (c) 2012-2018 Red Hat, Inc.
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Red Hat, Inc. - initial API a... | akervern/che | plugins/plugin-git/che-plugin-git-ext-git/src/main/java/org/eclipse/che/ide/ext/git/client/compare/MutableAlteredFiles.java | Java | epl-1.0 | 2,645 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Mark-Booth/daq-eclipse | uk.ac.diamond.org.apache.activemq/org/apache/activemq/transport/multicast/MulticastDatagramHeaderMarshaller.java | Java | epl-1.0 | 1,880 |
/*******************************************************************************
* Copyright (c) 2010 Oak Ridge National Laboratory.
* 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 i... | ControlSystemStudio/cs-studio | applications/databrowser/databrowser-plugins/org.csstudio.trends.databrowser2/src/org/csstudio/trends/databrowser2/propsheet/UseDefaultArchivesAction.java | Java | epl-1.0 | 1,688 |
/*
* 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.... | alastrina123/debrief | org.mwc.cmap.legacy/src/MWC/GUI/Properties/Swing/SwingDatePropertyEditor.java | Java | epl-1.0 | 7,774 |
/*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2012 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
... | damianob/xcsoar_mess | src/Polar/Polar.cpp | C++ | gpl-2.0 | 3,382 |
package io.mycat.backend.postgresql;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.nio.ByteBuffer;
import java.nio.channels.NetworkChannel;
import java.nio.channels.SocketChannel;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicInteger;
... | inspur-iop/Mycat-Server | src/main/java/io/mycat/backend/postgresql/PostgreSQLBackendConnection.java | Java | gpl-2.0 | 14,050 |
<?php
// @codingStandardsIgnoreFile
namespace Drupal\Tests\Component\Annotation\Doctrine;
use Drupal\Component\Annotation\Doctrine\DocParser;
use Doctrine\Common\Annotations\AnnotationRegistry;
use Doctrine\Common\Annotations\Annotation\Target;
use Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationWithCon... | savaslabs/durham-civil-rights-map | core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php | PHP | gpl-2.0 | 52,547 |
/*
* Copyright (C) 2013-2015 DeathCore <http://www.noffearrdeathproject.net/>
* Copyright (C) 2005-2011 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... | ironhead123/DeathCore_3.3.5 | src/server/game/Movement/Spline/MovementPacketBuilder.cpp | C++ | gpl-2.0 | 6,925 |
/*
* Copyright (C) 2008-2013 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 la... | fuhongxue/TrinityCore | src/server/game/Accounts/RBAC.cpp | C++ | gpl-2.0 | 10,027 |
<?php
/**
* @file
* Contains \Drupal\commerce\AvailabilityCheckerInterface.
*/
namespace Drupal\commerce;
/**
* Defines the interface for availability checkers.
*/
interface AvailabilityCheckerInterface {
/**
* Determines whether the checker applies to the given purchasable entity.
*
* @param \Drupa... | tom-fallon/free-commerce | modules/contrib/commerce/src/AvailabilityCheckerInterface.php | PHP | gpl-2.0 | 1,014 |
<?php
/*
** Zabbix
** Copyright (C) 2001-2014 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... | qinglan2014/Zabbix | frontends/php/include/classes/import/CImportedObjectContainer.php | PHP | gpl-2.0 | 2,382 |
using System;
using System.Collections.Generic;
using System.Text;
namespace BarcodeLib.Symbologies
{
class ISBN : BarcodeCommon, IBarcode
{
public ISBN(string input)
{
Raw_Data = input;
}
/// <summary>
/// Encode the raw data using the Bookland/... | marhazk/HazTechClass | QRbit4/Sources/BarCodes/Symbologies/ISBN.cs | C# | gpl-2.0 | 1,721 |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'basicstyles', 'en-gb', {
bold: 'Bold',
italic: 'Italic',
strike: 'Strike Through',
subscript: 'Subscript',
superscript: 'Superscript',
underline... | SeeyaSia/www | web/libraries/ckeditor/plugins/basicstyles/lang/en-gb.js | JavaScript | gpl-2.0 | 339 |
/*
* #%L
* Fork of MDB Tools (Java port).
* %%
* Copyright (C) 2008 - 2013 Open Microscopy Environment:
* - Board of Regents of the University of Wisconsin-Madison
* - Glencoe Software, Inc.
* - University of Dundee
* %%
* This program is free software: you can redistribute it and/or modify
* it under t... | ctrueden/bioformats | components/forks/mdbtools/src/mdbtools/libmdb06util/mdbver.java | Java | gpl-2.0 | 1,360 |
/*
* Copyright 1999-2001 Sun Microsystems, Inc. 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 Software Fou... | guanxiaohua/TransGC | src/share/vm/c1/c1_Optimizer.hpp | C++ | gpl-2.0 | 1,342 |
namespace Server.Items
{
public class DestroyingAngel : BaseReagent, ICommodity
{
int ICommodity.DescriptionNumber { get { return LabelNumber; } }
bool ICommodity.IsDeedable { get { return true; } }
[Constructable]
public DestroyingAngel() : this( 1 )
{
}
[Constructable]
public DestroyingAngel( i... | cmileto/neverybody | Scripts/Custom/New Systems/OWLTR/New/Druid Reagents.cs | C# | gpl-2.0 | 2,326 |
/**
* Drupal-specific JS helper functions and utils. Not to be confused with the
* Recline library, which should live in your libraries directory.
*/
;(function ($) {
// Constants.
var MAX_LABEL_WIDTH = 77;
var LABEL_MARGIN = 5;
// Undefined variables.
var dataset, views, datasetOptions, fileSi... | NuCivic/recline | recline.js | JavaScript | gpl-2.0 | 13,387 |
<?php
/**
* File containing the eZContentOperationCollection 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 //autogentag//
* @package kernel
*/
/*!
\class eZContentOpe... | pbek/ezpublish-legacy | kernel/content/ezcontentoperationcollection.php | PHP | gpl-2.0 | 64,392 |
<?php
/**
* AliPay IPN Handler.
*
* Copyright: © 2009-2011
* {@link http://www.websharks-inc.com/ WebSharks, Inc.}
* (coded in the USA)
*
* This WordPress plugin (s2Member Pro) is comprised of two parts:
*
* o (1) Its PHP code is licensed under the GPL license, as is WordPress.
* You should have received a copy of the... | kydrenw/boca | wp-content/plugins/s2member-pro/includes/classes/gateways/alipay/alipay-notify.inc.php | PHP | gpl-2.0 | 2,106 |
<?php
/**
* Preview class.
*
* @package WPForms
* @author WPForms
* @since 1.1.5
* @license GPL-2.0+
* @copyright Copyright (c) 2016, WPForms LLC
*/
class WPForms_Preview {
/**
* Primary class constructor.
*
* @since 1.1.5
*/
public function __construct() {
// Maybe load a preview p... | kimcarey/beeline-web | wp-content/plugins/wpforms-lite/includes/class-preview.php | PHP | gpl-2.0 | 8,541 |
<?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... | miguelangelramirez/magento.dev | app/code/core/Mage/Tax/Model/Mysql4/Calculation/Rule.php | PHP | gpl-2.0 | 1,202 |
/* StreamHandler.java --
A class for publishing log messages to instances of java.io.OutputStream
Copyright (C) 2002 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as pu... | aosm/gcc_40 | libjava/java/util/logging/StreamHandler.java | Java | gpl-2.0 | 16,999 |
<?php
/**
* @file
* Contains \Drupal\Console\Command\Debug\UpdateCommand.
*/
namespace Drupal\Console\Command\Debug;
use Drupal\Console\Command\Shared\UpdateTrait;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Drupal\Console\Core\Command\Command;
use... | maskedjellybean/tee-prop | vendor/drupal/console/src/Command/Debug/UpdateCommand.php | PHP | gpl-2.0 | 3,484 |
<?php
/**
* @package SP Page Builder
* @author JoomShaper http://www.joomshaper.com
* @copyright Copyright (c) 2010 - 2016 JoomShaper
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or later
*/
//no direct accees
defined ('_JEXEC') or die ('restricted aceess');
class SppagebuilderAddonEmpty_space ext... | cchin013/uecsite2017 | components/com_sppagebuilder/addons/empty_space/site.php | PHP | gpl-2.0 | 916 |
<?
require_once("../../lib/bd/basedatosAdo.php");
class mysreportes
{
var $rep;
var $bd;
function mysreportes()
{
$this->rep="";
$this->bd=new basedatosAdo();
}
function sqlreporte()
{
$sql="select refcom as referencia, codpre as codigo_presupuestario, monimp as monto from cpimpcom orde... | cidesa/siga-universitario | web/reportes/reportes/tesoreria/anchoTSRRELBAN.php | PHP | gpl-2.0 | 987 |
const express = require('express');
const path = require('path');
const compression = require('compression');
const webpackDevMiddleware = require('webpack-dev-middleware');
const webpackHotMiddleware = require('webpack-hot-middleware');
const webpack = require('webpack');
// Dev middleware
const addDevMiddlewares = (... | unicesi/pascani-library | web/dashboard/server/middlewares/frontendMiddleware.js | JavaScript | gpl-2.0 | 1,618 |
import unittest
from PyFoam.Basics.MatplotlibTimelines import MatplotlibTimelines
theSuite=unittest.TestSuite()
| Unofficial-Extend-Project-Mirror/openfoam-extend-Breeder-other-scripting-PyFoam | unittests/Basics/test_MatplotlibTimelines.py | Python | gpl-2.0 | 114 |
/* $Id: VBoxUsbRt.cpp $ */
/** @file
* VBox USB R0 runtime
*/
/*
* Copyright (C) 2011 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 can redistribute it and/or modify it under the terms of the GNU
... | evanphx/yoke | src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbRt.cpp | C++ | gpl-2.0 | 55,450 |
//-----------------------------------------------------------------------------
//
// Vampire - A code for atomistic simulation of magnetic materials
//
// Copyright (C) 2009-2012 R.F.L.Evans
//
// Email:richard.evans@york.ac.uk
//
// This program is free software; you can redistribute it and/or modify
// it unde... | pchureemart/vampire | src/main/initialise_variables.cpp | C++ | gpl-2.0 | 27,475 |
(function( $ ) {
wp.customize( 'blogname', function( value ) {
value.bind( function( to ) {
$( '.site-title a' ).text( to );
} );
} );
wp.customize( 'blogdescription', function( value ) {
value.bind( function( to ) {
$( '.site-description' ).text( to );
} );
} );
})( jQuery ); | thekirankumardash/bijithemecustomizer | project_downloads/2.5/js/theme-customizer.js | JavaScript | gpl-2.0 | 298 |
#!/bin/python
import os, subprocess
import logging
from autotest.client import test
from autotest.client.shared import error, software_manager
sm = software_manager.SoftwareManager()
class sblim_sfcb(test.test):
"""
Autotest module for testing basic functionality
of sblim_sfcb
@author Wang Tao <wang... | rajashreer7/autotest-client-tests | linux-tools/sblim_sfcb/sblim_sfcb.py | Python | gpl-2.0 | 1,610 |
/*
* Copyright (C) 2008-2012 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... | LORDofDOOM/MMOCore | src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.cpp | C++ | gpl-2.0 | 37,732 |
"""
Test cases adapted from the test_bsddb.py module in Python's
regression test suite.
"""
import sys, os, string
import unittest
import tempfile
from test_all import verbose
try:
# For Python 2.3
from bsddb import db, hashopen, btopen, rnopen
except ImportError:
# For earlier Pythons w/distutils pybsdd... | trivoldus28/pulsarch-verilog | tools/local/bas-release/bas,3.9/lib/python/lib/python2.3/bsddb/test/test_compat.py | Python | gpl-2.0 | 3,862 |
<?php
// no direct access
defined('_JEXEC') or die('Restricted access');
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
jimport('joomla.application.component.view');
/**
* Description of SocialcountViewSocialcount
*
* @author stuart
*/
class SocialstreamsViewS... | appsol/socialstreams-joomla-25 | com_socialstreams/views/stream/view.html.php | PHP | gpl-2.0 | 583 |
/*
* Copyright (c) 2006 Boudewijn Rempt <boud@valdyas.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 version.
... | harshitamistry/calligraRepository | krita/image/kis_transparency_mask.cc | C++ | gpl-2.0 | 2,935 |
<?php
/**
* @version $Id: imgmanager.php 46 2009-05-26 16:59:42Z happynoodleboy $
* @package JCE
* @copyright Copyright (C) 2005 - 2009 Ryan Demmer. All rights reserved.
* @author Ryan Demmer
* @license GNU/GPL
* JCE is free software. This version may have been modified pursuant
* to the GNU Gen... | jahama/cbhondarribia.com | plugins/editors/jce/tiny_mce/plugins/imgmanager/classes/imgmanager.php | PHP | gpl-2.0 | 2,679 |
/*
EventON Generate Google maps function
*/
(function($){
$.fn.evoGenmaps = function(opt){
var defaults = {
delay: 0,
fnt: 1,
cal: '',
mapSpotId: '',
_action:''
};
var options = $.extend({}, defaults, opt);
var geocoder;
// popup lightbox generation
i... | sabdev1/sabhoa | wp-content/plugins/eventON/assets/js/maps/eventon_gen_maps.js | JavaScript | gpl-2.0 | 4,157 |
<?php
/**
* @package Joomla.Administrator
* @subpackage com_admin
*
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* Script file of Joomla CMS
*
* @sinc... | demis-palma/joomla-cms | administrator/components/com_admin/script.php | PHP | gpl-2.0 | 93,249 |
<?php
/**
* LDAP configuration test class
*
* PHP version 5
*
* Copyright (C) Villanova University 2010.
*
* This program 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 Foundation.
*
* This program ... | marktriggs/vufind | tests/web/sys/authn/LDAPConfigurationParameterTest.php | PHP | gpl-2.0 | 5,799 |
/* Copyright (C) 2013 Rainmeter Project Developers
*
* This Source Code Form is subject to the terms of the GNU General Public
* License; either version 2 of the License, or (at your option) any later
* version. If a copy of the GPL was not distributed with this file, You can
* obtain one at <https://www.gnu.... | haroruhomer/rainmeter | Common/StringUtil.cpp | C++ | gpl-2.0 | 3,637 |
var icms = icms || {};
icms.wall = (function ($) {
var self = this;
this.add = function (parent_id) {
var form = $('#wall_add_form');
if (typeof (parent_id) === 'undefined') {
parent_id = 0;
}
$('#wall_widget #wall_add_link').show();
$('#wall_widget #ent... | Loadir/icms2 | templates/modern/js/wall.js | JavaScript | gpl-2.0 | 7,610 |
/***************************************************************************
qgsnewnamedialog.cpp
-------------------
begin : May, 2015
copyright : (C) 2015 Radim Blazek
email : radim.blazek@gmail.com
********************************... | michaelkirk/QGIS | src/gui/qgsnewnamedialog.cpp | C++ | gpl-2.0 | 5,422 |
<?php
/**
* Download a package by passing in its location
*
* @var modX $this->modx
*
* @package modx
* @subpackage processors.workspace.packages.rest
*/
class modPackageDownloadProcessor extends modProcessor {
/** @var modTransportProvider $provider */
public $provider;
/** @var string $location The... | sergeiforward/gl | core_gl_xVCs4l0eEu/model/modx/processors/workspace/packages/rest/download.class.php | PHP | gpl-2.0 | 3,377 |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'find', 'cs', {
find: 'Hledat',
findOptions: 'Možnosti hledání',
findWhat: 'Co hledat:',
matchCase: 'Rozlišovat velikost písma',
matchCyclic: 'Pro... | shophelfer/shophelfer.com-shop | admin/includes/modules/ckeditor/plugins/find/lang/cs.js | JavaScript | gpl-2.0 | 581 |
//>>built
define("dojox/editor/plugins/nls/zh-tw/SafePaste",({"instructions":"已停用直接貼上。請使用標準瀏覽器鍵盤或功能表貼上控制項,在這個對話框中貼上內容。當您滿意要插入的內容之後,請按貼上按鈕。若要中斷插入內容,請按取消按鈕。"}));
| hariomkumarmth/champaranexpress | wp-content/plugins/dojo/dojox/editor/plugins/nls/zh-tw/SafePaste.js | JavaScript | gpl-2.0 | 314 |
// This file has been generated by the GUI designer. Do not modify.
namespace Smuxi.Frontend.Gnome
{
public partial class EngineAssistantNameWidget
{
private global::Gtk.VBox vbox2;
private global::Gtk.VBox vbox3;
private global::Gtk.Label f_EngineNameLabel;
private global::Gtk.Entry f_EngineNameEntry;
... | tuukka/smuxi | src/Frontend-GNOME/gtk-gui/Smuxi.Frontend.Gnome.EngineAssistantNameWidget.cs | C# | gpl-2.0 | 5,273 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2007-2012 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | rfdrake/opennms | opennms-services/src/main/java/org/opennms/netmgt/threshd/ThresholdEvaluatorRelativeChange.java | Java | gpl-2.0 | 8,358 |
/*
JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine
Copyright (C) 2012-2013 Ian Preston
This program 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 Foundation.
This progra... | ianopolous/JPC | src/org/jpc/emulator/execution/opcodes/vm/add_o32_rAX_Id.java | Java | gpl-2.0 | 1,923 |
/******************************************************************************
* Warmux is a convivial mass murder game.
* Copyright (C) 2001-2011 Warmux Team.
*
* 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
* th... | yeKcim/warmux | trunk/src/team/teams_list.cpp | C++ | gpl-2.0 | 16,291 |
/*
JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine
Copyright (C) 2012-2013 Ian Preston
This program 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 Foundation.
This progra... | ysangkok/JPC | src/org/jpc/emulator/execution/opcodes/vm/fdiv_ST1_ST1.java | Java | gpl-2.0 | 2,046 |
<?php
/**
* Joomla! component Creative Contact Form
*
* @version $Id: 2012-04-05 14:30:25 svn $
* @author creative-solutions.net
* @package Creative Contact Form
* @subpackage com_creativecontactform
* @license GNU/GPL
*
*/
// no direct access
defined('_JEXEC') or die('Restircted access');
abstract class JHt... | ankibalyan/businesssetup | administrator/components/com_creativecontactform/helpers/html/creativeform.php | PHP | gpl-2.0 | 1,299 |
<?php
class FrmListEntries extends WP_Widget {
function __construct() {
$widget_ops = array( 'description' => __( "Display a list of Formidable entries", 'formidable') );
$this->WP_Widget('frm_list_items', __('Formidable Entries List', 'formidable'), $widget_ops);
}
function widget( $args, $instance ) {
... | rafapires/souza-aranha | wp-content/plugins/formidable/pro/classes/widgets/FrmListEntries.php | PHP | gpl-2.0 | 15,104 |
<?php defined('_JEXEC') or die('Restricted access'); ?>
<?php $form = @$this->form; ?>
<?php $row = @$this->row;
JFilterOutput::objectHTMLSafe( $row );
?>
<form action="<?php echo JRoute::_( @$form['action'] ) ?>" method="post" class="adminform" name="adminForm" >
<fieldset>
<legend><?php echo JText::_('Form'); ?... | zuverza/se | tmp/install_4f46ab24b6733/admin/views/taxclasses/tmpl/form.php | PHP | gpl-2.0 | 1,203 |
<?php
class FlipMegazineImageHelper
{
/**
* @param int $parentNodeId
* @param eZCLI $cli
*/
public static function deleteThumb( $parentNodeId, $cli = null )
{
/** @var eZContentObjectTreeNode[] $children */
$children = eZContentObjectTreeNode::subTreeByNodeID(
... | Opencontent/ezflip | classes/handlers/megazine/megazineimagehelper.php | PHP | gpl-2.0 | 1,790 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2011-2012 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | rfdrake/opennms | opennms-icmp/opennms-icmp-api/src/main/java/org/opennms/netmgt/icmp/SinglePingResponseCallback.java | Java | gpl-2.0 | 4,879 |
/* Copyright (c) 2006-2010 by OpenLayers Contributors (see authors.txt for
* full list of contributors). Published under the Clear BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the
* full text of the license. */
/**
* @requires OpenLayers/Layer.js
*/
/**
* Class: O... | blahoink/grassroots | phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/Markers.js | JavaScript | gpl-2.0 | 5,107 |
<?php
/**
* Add Site Administration Screen
*
* @package WordPress
* @subpackage Multisite
* @since 3.1.0
*/
/** Load WordPress Administration Bootstrap */
require_once( dirname( __FILE__ ) . '/admin.php' );
/** WordPress Translation Install API */
require_once( ABSPATH . 'wp-admin/includes/translation-install.p... | pk0nstantin/WordPress | wp-admin/network/site-new.php | PHP | gpl-2.0 | 8,230 |
<?php
birch_ns( 'birchschedule.upgrader', function( $ns ) {
$ns->init = function() use ( $ns ) {
add_action( 'birchschedule_upgrade_core_after', array( $ns, 'upgrade_core' ) );
};
$ns->get_staff_all_schedule_1_0 = function( $staff ) {
$schedule = $staff['_birs_staff_schedule'];
if ( !isset( $schedule ) ) {
... | stanislav-chechun/campus-rize | wp-content/plugins/birchschedule/includes/upgrader/package.php | PHP | gpl-2.0 | 7,346 |
/*
* This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your... | Nalliestrasza/LegionHearth | src/server/scripts/EasternKingdoms/zone_silverpine_forest.cpp | C++ | gpl-2.0 | 3,786 |
<?php
if (cfr('CUSTMAP')) {
$altCfg = $ubillingConfig->getAlter();
if ($altCfg['CUSTMAP_ENABLED']) {
$custmaps = new CustomMaps();
// new custom map creation
if (wf_CheckPost(array('newmapname'))) {
if (cfr('CUSTMAPEDIT')) {
$custmaps->mapCreate($_POST['ne... | l1ght13aby/Ubilling | modules/general/custmaps/index.php | PHP | gpl-2.0 | 6,971 |
/*
* Copyright (c) 2008, 2010, 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 Sof... | skyHALud/codenameone | CodenameOne/src/com/codename1/ui/VirtualKeyboard.java | Java | gpl-2.0 | 34,489 |
/*
* Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | md-5/jdk10 | src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir/src/org/graalvm/compiler/lir/asm/ArrayDataPointerConstant.java | Java | gpl-2.0 | 3,453 |
<style type="text/css">
<!--
.msg {
text-align:left;
color: blue;
display: block;
padding: 5px 0;
}
.emsg {
text-align:left;
color: red;
display: block;
padding: 5px 0;
}
#loader{
visibility:hidden;
}
#f1_error{
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight:bold;
... | ngxuanmui/9trip.vn | administrator/components/com_ntrip/models/fields/front/images2content.php | PHP | gpl-2.0 | 4,610 |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer' . '/autoload_real.php';
return ComposerAutoloaderInit562156c4d0b385426dfb2e9042c495a5::getLoader();
| tumanob/Lib.KG | wp-content/plugins/wp-filebase/vendor/autoload.php | PHP | gpl-2.0 | 183 |
<?php
/*
* This file is part of EC-CUBE
*
* Copyright(c) 2000-2014 LOCKON CO.,LTD. All Rights Reserved.
*
* http://www.lockon.co.jp/
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; ei... | shoheiworks/Labo-EcCube | data/class/pages/admin/ownersstore/LC_Page_Admin_OwnersStore_Settings.php | PHP | gpl-2.0 | 5,480 |
<?php
/**
* ClickBank® API Constants *(for site owners)*.
*
* Copyright: © 2009-2011
* {@link http://www.websharks-inc.com/ WebSharks, Inc.}
* (coded in the USA)
*
* This WordPress® plugin (s2Member Pro) is comprised of two parts:
*
* o (1) Its PHP code is licensed under the GPL license, as is WordPress®.
* You should... | foxydot/walker | wp-content/plugins/s2member-pro/includes/classes/gateways/clickbank/clickbank-constants.inc.php | PHP | gpl-2.0 | 2,593 |