repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
slackero/phpwcms | include/inc_module/mod_seolog/backend.default.php | 1358 | <?php
/**
* phpwcms content management system
*
* @author Oliver Georgi <og@phpwcms.org>
* @copyright Copyright (c) 2002-2022, Oliver Georgi
* @license http://opensource.org/licenses/GPL-2.0 GNU GPL-2
* @link http://www.phpwcms.org
*
**/
// ----------------------------------------------------------------
// ob... | gpl-2.0 |
ya790206/temp_hg | hgext/factotum.py | 4290 | # factotum.py - Plan 9 factotum integration for Mercurial
#
# Copyright (C) 2012 Steven Stallion <sstallion@gmail.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 L... | gpl-2.0 |
codebysd/codebysd.github.io | libs/markdown.js | 439 | var marked = require('marked');
/**
* Module to work with markdown parsing.
*/
function markdown(){}
/**
* @type {markdown}
*/
module.exports = markdown;
/**
* Parse given string to markdown.
* @param {String} mdString - markdown string.
* @returns {String} html string.
*/
markdown.parse = function(mdString)... | gpl-2.0 |
Fojar/aseprite | src/app/ui/home_view.cpp | 4852 | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// 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.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/ui/home_view... | gpl-2.0 |
Felli/fireside | core/controllers/ETSitemapController.class.php | 5748 | <?php
// Copyright 2011 Toby Zerner, Simon Zerner
// This file is part of esoTalk. Please see the included license file for usage information.
// Sitemap: generates necessary sitemap files and outputs sitemap.xml.
define("IN_ESOTALK", 1);
// Include our config files.
require "config.default.php";
@include ... | gpl-2.0 |
DsgnDvlp/personalWebsite | pages/dettaglio.php | 4160 |
<?php
$path = "";
include("database.php");
$connection = connect();
//USER CONTROLLER PER L'HEAD
function head($path){ ?>
<!--ROYAL SLIDER -->
<link rel="stylesheet" href="css/royalslider.css">
<!-- skin stylesheet (change it if you use another) -->
<!--<link rel="stylesheet" href="royalslider/skins/de... | gpl-2.0 |
fobia/srv-tools-phpmyadmin | examples/config.inc.php | 2612 | <?php
/*
* Generated configuration file
* Generated by: phpMyAdmin 3.5.5 setup script
* Date: Fri, 31 May 2013 23:27:53 +0400
*/
/* Servers configuration */
$i = 0;
/* Server: root [2] */
$i++;
$cfg['Servers'][$i]['verbose'] = 'root';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['p... | gpl-2.0 |
mymengyu/8Comic-Viewer | 8ComicViewer.user.js | 4344 | // ==UserScript==
// @name 8Comic Viewer
// @namespace https://knowlet3389.blogspot.tw/
// @version 1.70
// @description Auto load 8comic pic.
// @author KNowlet
// @include /^http[s]?\:\/\/.*\/online\/(best_|comic-|manga_|a-|b-)\d+\.html(\?ch=\d+.*)?$/
// @grant none
// @downloadURL ... | gpl-2.0 |
FatherShawn/oauth2-formassembly | src/Provider/Exception/FormAssemblyIdentityProviderException.php | 2085 | <?php
/**
* @author Shawn P. Duncan <code@sd.shawnduncan.org>
* @date 7/29/17, 7:59 AM
*
* @brief
*
* Copyright 2017 by Shawn P. Duncan. This code is
* released under the GNU General Public License.
* Which means that it is free software; you can redistribute it and/or modify
* it under the terms of the GN... | gpl-2.0 |
papillon-cendre/d8 | core/modules/views/src/Plugin/views/field/EntityLabel.php | 3797 | <?php
/**
* @file
* Contains \Drupal\views\Plugin\views\field\EntityLabel.
*/
namespace Drupal\views\Plugin\views\field;
use Drupal\Core\Entity\EntityManagerInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\views\Plugin\views\display\DisplayPluginBase;
use Drupal\views\ResultRow;
use Drupal\views\Vie... | gpl-2.0 |
lazyphp/PESCMS-TEAM | Public/Theme/Team/Default/User_group/User_group_index_operate.php | 1687 | <?php
/**
* 本模板为通用编辑按钮,若没有特殊需求,请加载本模板
*/
$echoEditUrl = empty($editUrl) ? $label->url(GROUP . '-' . MODULE . '-action', array('id' => $value["{$fieldPrefix}id"], 'back_url' => base64_encode($_SERVER['REQUEST_URI']))) : $editUrl;
$echoCopyUrl = empty($editUrl) ? $label->url(GROUP . '-' . MODULE . '-action', array('id... | gpl-2.0 |
aosm/gcc_40 | libjava/java/lang/reflect/Field.java | 7450 | /* Copyright (C) 1998, 1999, 2000, 2001, 2003 Free Software Foundation
This file is part of libgcj.
This software is copyrighted work licensed under the terms of the
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
details. */
package java.lang.reflect;
/**
* @author Per Bothner <bothner@cygnus.c... | gpl-2.0 |
JonathanPierce/MIPSStudio | parser.js | 9133 | /* global TextParser */
var Parser = (function () {
// Constants
var regex_useless = /;|,|\r|\v|\f|(^\s*\n)|^\s+/gim;
var regex_spaces = /\ \ +|\t+/gmi;
var regex_comment = /^(#|\/\/)(.*)/im;
var regex_multicomment = /\/\*((.|\n)*)\*\//gim;
var regex_linelabel = /^[a-zA-Z_][a-zA-Z0-9_]*:$... | gpl-2.0 |
openfoodfoundation/openfoodnetwork-wp | wp-content/plugins/c-project/includes/option-tree/includes/ot-settings-api.php | 29391 | <?php if ( ! defined( 'OT_VERSION') ) exit( 'No direct script access allowed' );
/**
* OptionTree Settings API
*
* This class loads all the methods and helpers specific to a Settings page.
*
* @package OptionTree
* @author Derek Herman <derek@valendesigns.com>
* @copyright Copyright (c) 2013, Derek ... | gpl-2.0 |
Annoa/WorkshopWA | WorkshopProjects/ws_shop_skel/src/main/java/edu/chl/hajo/wss/WSShopContextResolver.java | 1117 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.chl.hajo.wss;
import com.sun.jersey.api.json.JSONConfiguration;
import com.sun.jersey.api.json.JSONJAXBContext;
import javax.ws.rs.ext.ContextResolver;
import javax.ws.rs.ext.Provider;
import javax.xml.bind.... | gpl-2.0 |
kunj1988/Magento2 | app/code/Magento/Customer/Model/AttributeMetadataConverter.php | 4946 | <?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Customer\Model;
use Magento\Customer\Api\Data\OptionInterfaceFactory;
use Magento\Customer\Api\Data\ValidationRuleInterfaceFactory;
use Magento\Customer\Api\Data\AttributeMetadataInterfaceFactory;
... | gpl-2.0 |
yurikoneve/UserFrosting_Academic_Dashboard | cache/cbtpl/90/f0/90f0178c81f71f25701c4254b6eb065a.php | 922 | <div class="header">
<nav role="navigation">
<ul class="skip-links" id="prelude">
<li><a href="#main"><?php echo __('To content'); ?></a></li>
<li><a href="#blognav"><?php echo __('To menu'); ?></a></li>
<li><a href="#search"><?php echo __('To search'); ?></a></li>
</ul>
</nav>
<div class="banner" role... | gpl-2.0 |
mulligaj/hubzero-cms | core/components/com_members/models/quota.php | 5336 | <?php
/**
* HUBzero CMS
*
* Copyright 2005-2015 HUBzero Foundation, LLC.
*
* 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
... | gpl-2.0 |
akadim/igate | modules/mod_vertical_scrolling_images/tmpl/default.php | 2623 | <?php
/**
* Vertical scrolling images Module
*
* @package Vertical scrolling images
* @subpackage Vertical scrolling images
* @version 3.0 February, 2012
* @author Gopi http://www.gopiplus.com
* @copyright Copyright (C) 2010 - 2012 www.gopiplus.com, LLC
* @license http://www.gnu.org/licenses/gpl-2.0.html... | gpl-2.0 |
antipodeman/getChildrenCount | code.php | 1217 | <?php
$count = 0;
$parent = isset($parent) ? (integer) $parent : 0;
$published = isset($published) ? (bool) $published : true;
$deleted = isset($deleted) ? (bool) $deleted : false;
$delimeter = isset($delimeter) ? $delimeter : '|';
$dictonary = isset($dictonary) ? explode($delimeter, $dictonary) : false;
$modifier = is... | gpl-2.0 |
diqiu50/ice-dev | Ice/testers/Testing/sort.cpp | 801 | #include <iostream>
#include <stdlib.h>
#include <string.h>
#include <vector>
#include <algorithm>
#include <time.h>
using namespace std;
inline int cmp(const void *l, const void *r)
{
return *(int*)l - *(int*)r;
}
int main()
{
const int LEN = 10;
int *nums = new int[LEN];
for (int i=0; i<LEN; i++)
{
nums[i]... | gpl-2.0 |
xlsuite/xlsuite | app/models/other_payment_helper.rb | 176 | #- XLsuite, an integrated CMS, CRM and ERP for medium businesses
#- Copyright 2005-2009 iXLd Media Inc. See LICENSE for details.
class OtherPaymentHelper < PaymentHelper
end
| gpl-2.0 |
leblanc-simon/gesdon2 | src/Gesdon2Bundle/Gesdon2Bundle.php | 121 | <?php
namespace Gesdon2Bundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class Gesdon2Bundle extends Bundle
{
}
| gpl-2.0 |
Ced-le-pingouin/esprit-mirror | src/database/projet_resp.tbl.php | 2350 | <?php
// This file is part of Esprit, a web Learning Management System, developped
// by the Unite de Technologie de l'Education, Universite de Mons, Belgium.
//
// Esprit 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... | gpl-2.0 |
literarymachine/LibRDF | LibRDF/Node.php | 14537 | <?php
/* $Id: Node.php 171 2006-06-15 23:24:18Z das-svn $ */
/**
* LibRDF_Node, a node or arc in an RDF graph.
*
* A LibRDF_Node is the type of the {@link LibRDF_Statement} triples.
*
* PHP version 5
*
* Copyright (C) 2006, David Shea <david@gophernet.org>
*
* LICENSE: This package is Free Software and a deriv... | gpl-2.0 |
jcicero518/ExcelsiorWP | wp-content/plugins/client-rest/admin/uf-api/check/checkUnique.php | 471 | <?php
require '../classes/StreamRepository.php';
// We're expecting JSON from this service, set the header accordingly
header( 'Content-type: application/json' );
// prevent JSON hijacking.. technically makes the JSON invalid but Angular strips it out
//echo ")]}'\n";
$field = $_GET['field'];
$fval = $_GET['fval'];
... | gpl-2.0 |
le-darshan/fitness | wp-content/themes/gameplan/woocommerce/single-product/sale-flash.php | 415 | <?php
/**
* Single Product Sale Flash
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
global $post, $product;
?>
<?php if ($product->is_on_sale()) : ?>
<?php //echo apply_filters('woocommerce_sale_flash', '<span... | gpl-2.0 |
michaeluno/amazon-auto-links | include/library/apf/factory/post_type/_controller/AdminPageFramework_Link_post_type.php | 1963 | <?php
/**
Admin Page Framework v3.9.0b09 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/amazon-auto-links>
Copyright (c) 2013-2021, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
class ... | gpl-2.0 |
mikewongtkd/freescoretkd | trunk/frontend/html/include/js/jquery.brackets.js | 3203 | $.widget( "freescore.brackets", {
options: { autoShow: true },
_create: function() {
var o = this.options;
var e = this.options.elements = {};
var html = o.html = FreeScore.html;
},
_init: function( ) {
var o = this.options;
var e = this.options.elements;
var w = this.element;
va... | gpl-2.0 |
VinceRafale/lifeguide | wp-content/plugins/Tevolution-Directory/functions/manage_category_customfields.php | 4448 | <?php
/*
* Add The listing custom categories fields for
*/
add_action( 'init', 'directory_category_custom_field');
function directory_category_custom_field()
{
global $wpdb;
/*
* created and edit the listing custom post type category custom field store in term table
*/
add_action('edited_listingcategor... | gpl-2.0 |
Arom/RSSFeed | src/Feed.java | 4375 | /*
RSSFeed v .0.1 - Used to parse and output the RSS feed.
Developed for my IRC Bot project, however can be implemented anywhere you like.
Copyright (C) 2013 Christopher Ilkow
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Gen... | gpl-2.0 |
saces/fred | src/freenet/client/filter/HTMLFilter.java | 79051 | /* -*- Mode: java; c-basic-indent: 4; tab-width: 4 -*- */
package freenet.client.filter;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
i... | gpl-2.0 |
hferrada/rmq | includes/Basic_rmq.cpp | 4397 | #include "Basic_rmq.h"
namespace rmqrmm {
// sets bit i-ht in e (left to right)
void setBit64(ulong *e, ulong i) {
e[i>>BW64] |= (maskW63>>(i%W64));
}
// cleans bit i-ht in e (left to right)
void cleanBit64(ulong * e, ulong i) {
e[i>>BW64] &= ~(maskW63>>(i%W64));
}
// print the last cantBits of unisned in... | gpl-2.0 |
Yeremenko-Roman/Geekhub-Roman-E | wp-content/plugins/wptuner/wptunersetup.php | 25687 | <?php
/* Copyright 2008 ICTA / Mr Pete (email : WPTuner at ICTA dot net)
I have not yet chosen a license for this software.
For now, if you have received specific written permission from me
to use this software, then you are free to use it personally according
to the terms I gave you. You may not redistribute i... | gpl-2.0 |
sagoyanfisic/Proyecto_DS | estilos/login/login.php | 2786 | <?php
/*****************************
File: login.php
Written by: Frost of Slunked.com
Tutorial: User Registration and Login System
******************************/
require($_SERVER['localhost'] . 'login/includes/config.php');
// If the user is logging in or out
// then lets execute the proper functions
if ... | gpl-2.0 |
Linaro/lava-dispatcher | lava_dispatcher/test/test_menus.py | 7913 | # Copyright (C) 2015 Linaro Limited
#
# Author: Neil Williams <neil.williams@linaro.org>
#
# This file is part of LAVA Dispatcher.
#
# LAVA Dispatcher is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either ver... | gpl-2.0 |
smarr/Truffle | tools/src/org.graalvm.tools.lsp/src/org/graalvm/tools/lsp/server/types/DidChangeConfigurationParams.java | 2697 | /*
* Copyright (c) 2019, 2020, 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 |
ratt-ru/CubiCal | cubical/data_handler/__init__.py | 2455 | # CubiCal: a radio interferometric calibration suite
# (c) 2017 Rhodes University & Jonathan S. Kenyon
# http://github.com/ratt-ru/CubiCal
# This code is distributed under the terms of GPLv2, see LICENSE.md for details
import numpy as np
import sys
def uniquify(values):
"""
Helper function. Given a vector of ... | gpl-2.0 |
imadkaf/lsdoEZ4 | kernel/url/edit.php | 2318 | <?php
//
// Created on: <04-Jul-2003 10:30:48 wy>
//
// ## BEGIN COPYRIGHT, LICENSE AND WARRANTY NOTICE ##
// SOFTWARE NAME: eZ Publish Community Project
// SOFTWARE RELEASE: 4.2011
// COPYRIGHT NOTICE: Copyright (C) 1999-2011 eZ Systems AS
// SOFTWARE LICENSE: GNU General Public License v2.0
// NOTICE: >
// This pr... | gpl-2.0 |
simonpoole/openstreetmap-website | test/controllers/issues_controller_test.rb | 4379 | require "test_helper"
class IssuesControllerTest < ActionController::TestCase
def test_index
# Access issues list without login
get :index
assert_response :redirect
assert_redirected_to login_path(:referer => issues_path)
# Access issues list as normal user
session[:user] = create(:user).id
... | gpl-2.0 |
MyRealityCoding/acid-snake | acid-snake/src/de/myreality/acidsnake/google/DesktopInterface.java | 2073 | /* Acid - Provides a Java cell API to display fancy cell boxes.
* Copyright (C) 2013 Miguel Gonzalez
*
* 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, ... | gpl-2.0 |
stereokrauts/stereoscope | stereoscope/src/test/java/tests/simulation/OscSurfaceChangeSimulationTest.java | 7065 | package tests.simulation;
import static org.junit.Assert.assertEquals;
import model.protocol.osc.DummySender;
import model.protocol.osc.IOscMessage;
import model.protocol.osc.OscAddress;
import model.protocol.osc.OscObjectUtil;
import model.protocol.osc.impl.OscMessage;
import model.surface.touchosc.TouchOscSurface;
... | gpl-2.0 |
Distrotech/system-config-printer | jobviewer.py | 97312 |
## Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Red Hat, Inc.
## Authors:
## Tim Waugh <twaugh@redhat.com>
## Jiri Popelka <jpopelka@redhat.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
## th... | gpl-2.0 |
yurikoneve/UserFrosting_Academic_Dashboard | admin/post_media.php | 2738 | <?php
# -- BEGIN LICENSE BLOCK ---------------------------------------
#
# This file is part of Dotclear 2.
#
# Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear
# Licensed under the GPL version 2.0 license.
# See LICENSE file or
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
#
# -- END LICENSE BL... | gpl-2.0 |
bedatadriven/renjin | core/src/main/java/org/renjin/primitives/matrix/AbstractMatrixBuilder.java | 2295 | /*
* Renjin : JVM-based interpreter for the R language for the statistical analysis
* Copyright © 2010-2019 BeDataDriven Groep B.V. and contributors
*
* 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 F... | gpl-2.0 |
MESH-Dev/Smooth-Ambler---WordPress | partials/twitter.php | 846 | <?php
ini_set('display_errors', 1);
require_once(__DIR__.'/../partials/TwitterAPIExchange.php');
$settings = array(
'oauth_access_token' => "83915658-9luHDoL9Jtvkn46HLTYehtoQtaCKYiseRyprI6qmO",
'oauth_access_token_secret' => "NBus2GZxKJ7onUq58q2VHYD1zuWmypKgcg0hRG2VVe46r",
'consumer_key' => "BZrJakIcIfNof... | gpl-2.0 |
openvsip/openvsip | src/ovxx/view.hpp | 408 | //
// Copyright (c) 2013 Stefan Seefeld
// All rights reserved.
//
// This file is part of OpenVSIP. It is made available under the
// license contained in the accompanying LICENSE.BSD file.
#ifndef ovxx_view_hpp_
#define ovxx_view_hpp_
#include <ovxx/view/traits.hpp>
#include <ovxx/view/view.hpp>
#include <ovxx/view... | gpl-2.0 |
pawohl/studip | db/migrations/150_help_tours_and_content.php | 91328 | <?php
/**
* Adds help tours and help content.
*/
class HelpToursAndContent extends Migration
{
function description()
{
return 'Adds help tours and help content.';
}
function up()
{
$this->addHelpTours();
$this->addHelpContent();
$this->addHelpContentEN();
... | gpl-2.0 |
emabiz/e-works-codecpack | common/video/dll_misc_lib/bitstreamer.cpp | 3046 | #include "stdafx.h"
#include "bitstreamer.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
namespace ew {
//////////////////////////////////////////////////////////////////////
// BitWriter
//////////////////////////////////////////////////////////////////////
BitWriter::BitWriter(unsigned char *buffer, int buffe... | gpl-2.0 |
EasyLovine/ZencTbi | js/script_marque.js | 550 | $(document).ready(function() {
/** Bottom **/
$(".blocBottom").hover(function(e){
$(this).find('.bottomButton').slideDown();
},function(e){
$(this).find('.bottomButton').slideUp();
});
/** Left **/
$(".blocLeft").hover(function(e){
$(this).find('.buttonLeft').css("width" , "100px");
},function(e){
$(th... | gpl-2.0 |
chorizon/mail_unix | models/models_mail.php | 937 | <?php
use PhangoApp\PhaModels\Webmodel;
use PhangoApp\PhaModels\CoreFields\ForeignKeyField;
use PhangoApp\PhaModels\CoreFields\IntegerField;
use PhangoApp\PhaModels\CoreFields\CharField;
use PhangoApp\PhaModels\CoreFields\BooleanField;
Webmodel::load_model('vendor/chorizon/theservers/models/models_servers');
Webmodel... | gpl-2.0 |
inverse-inc/packetfence | html/pfappserver/root/src/views/Status/_router/index.js | 1019 | import acl from '@/utils/acl'
import store from '@/store'
import StatusView from '../'
import StatusStore from '../_store'
import ClusterRoutes from '../cluster/_router'
import DashboardRoutes from '../dashboard/_router'
import QueueRoutes from '../queue/_router'
import NetworkRoutes from '../network/_router'
import S... | gpl-2.0 |
mulligaj/hubzero-cms | core/components/com_tools/tables/sessionclassgroup.php | 5918 | <?php
/**
* HUBzero CMS
*
* Copyright 2005-2015 HUBzero Foundation, LLC.
*
* 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
... | gpl-2.0 |
Ikizami/lolwtfzamodfgo | src/server/game/Entities/Unit/Unit.cpp | 649257 | /*
* Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either ver... | gpl-2.0 |
carrer/campbus | androidStudio/campbus/campbus/src/main/java/com/carr3r/campbus/Definitions.java | 147 | package com.carr3r.campbus;
/**
* Created by carrer on 10/28/14.
*/
public class Definitions {
public static final boolean DEBUG = false;
}
| gpl-2.0 |
aureka/devicr | src/DevicrSourceFinder.js | 706 | function DevicrSourceFinder(devicr_device) {
this.devicr_device = devicr_device;
}
DevicrSourceFinder.prototype.findHighestAvailableSource = function(devicr_element) {
var available_devices = devicr_element.getAvailableDevices();
if (available_devices.length === 0) {
return null;
}
return devicr_element.... | gpl-2.0 |
ladyka/webtehnology | work2v6/src/org/vurtatoo/Task1.java | 1934 | package org.vurtatoo;
import java.io.IOException;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import java... | gpl-2.0 |
tomas-pluskal/mzmine3 | src/main/java/io/github/mzmine/modules/visualization/kendrickmassplot/KendrickMassPlotXYDataset.java | 4831 | /*
* Copyright 2006-2020 The MZmine Development Team
*
* This file is part of MZmine.
*
* MZmine 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 |
olindata/node-puppet-hiera | adapters/git.js | 2701 | /**
* Git adapter for Puppet Hiera.
*
* @author rajkissu <rajkissu@gmail.com>
*/
/* jslint node: true */
'use strict';
var path, git, File;
path = require('path');
git = require('nodegit');
File = require('./file');
/**
* The Git adapter class.
*
* @class Git
*/
class Git extends File {
/**
* The Git ... | gpl-2.0 |
ericdum/niuble.com | other_sites/showcases/sixue/templates_c/fd33d9bdae3771c252299843aab4f2c16ec2278c.file.step3.php.cache.php | 1759 | <?php /* Smarty version Smarty-3.1.6, created on 2011-12-19 21:30:31
compiled from "/Users/ericdum/Sites/work/sixue365/1/templates/contents/register_includes/teacher/step3.php" */ ?>
<?php /*%%SmartyHeaderCode:10694164254eee7e64c49c98-85267441%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_v... | gpl-2.0 |
keplerf/Partybuses.ca | customhomeTemp.php | 9206 | <?php
/**
* Template Name: Home Page TEMP
* Description: Custom Home Page for Silver Lady Limo
*
* @package WordPress
* @subpackage Twenty_Eleven
* @since Twenty Eleven 1.0
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">... | gpl-2.0 |
svyatoslavteterin/belton.by | core/lexicon/cs/tv_widget.inc.php | 8778 | <?php
/**
* TV Widget English lexicon topic
*
* @language en
* @package modx
* @subpackage lexicon
*/
$_lang['attributes'] = 'Atributy';
$_lang['capitalize'] = 'Kapitálkami';
$_lang['checkbox'] = 'Zaškrtávací políčko';
$_lang['checkbox_columns'] = 'Sloupce';
$_lang['checkbox_columns_desc'] = 'Počet sloupců, ve kt... | gpl-2.0 |
gp6shc/SSK | wp-content/plugins/responsive-and-swipe-slider/shortcode.php | 3816 | <?php
function rsSlider_shortcode($atts) {
extract(shortcode_atts(array(
'id' => 0,
'title' => false,
'text' => false,
'size' => 'full'
), $atts));
// if Post ID isn't set
if($atts['id'] == 0) return '<strong>Please set the post id in short code eg. [rsSlider id="27"].</strong>';
$postid = ... | gpl-2.0 |
micke2k/cacti | lib/reports.php | 50005 | <?php
/*
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2016 The Cacti Group |
| |
| This program is free software; you can redistribute it and/or |
| ... | gpl-2.0 |
biblelamp/JavaExercises | Java 2/hw1/Course.java | 505 | /**
* Java. Level 2. Lesson 1. Example of homework
* Class Course:
* contains array of obstacles
*/
package hw1;
import hw1.obstacles.*;
import java.util.*;
public class Course {
Doable[] obstacles;
public Course(Doable[] obstacles) {
this.obstacles = obstacles;
}
public void doIt(Team ... | gpl-2.0 |
mnjsngh/Magento-Extensions | Magento Product Questions/app/code/local/Manojsingh/Productquestions/Block/Summary.php | 2523 | <?php
class Manojsingh_Productquestions_Block_Summary extends Mage_Core_Block_Template {
public function __construct() {
parent::__construct();
$this->setTemplate('productquestions/summary.phtml');
}
protected function _toHtml() {
if (Manojsingh_Productquestions_Helper_Data::isModu... | gpl-2.0 |
Baahoot/wars | remove_image.php | 779 | <?php session_start() ?>
<?php require 'connect.php' ?>
<?php
$image_id = mysql_real_escape_string($_GET['id']);
$select_image = mysql_query("SELECT * FROM images WHERE owner_id=".$id." AND id=".$image_id."");
$image_info = mysql_fetch_array($select_image);
if(mysql_num_rows($select_image) == 0) {
$message = die('<span... | gpl-2.0 |
Megacrafter127/MSBE | src/m127/smd2e/backend/grid/spi/AbstractBlockGrid.java | 1173 | package m127.smd2e.backend.grid.spi;
import m127.smd2e.backend.Block;
import m127.smd2e.backend.util.Point3D;
/**
* @author Megacrafter127
* An implementation of all the convenience methods of {@link BlockGrid}.
*/
public abstract class AbstractBlockGrid implements BlockGrid {
@Override
public byte[] getBytes(P... | gpl-2.0 |
NiHab/py-jr | src/dictionaries/freq.py | 972 | '''
Created on Oct 23, 2015
@author: anon
'''
import collections
class Freq:
"""
Acts as R/O dictionary containing the frequency of expressions
Higher = More Common
Key is the expression
"""
__freqs = collections.defaultdict(int)
__raw = []
def load(self, fp):
prin... | gpl-2.0 |
Daniel-Dos/Estrutura-de-Dados---Java | src/br/com/caelum/ed/Mapas/Associacao.java | 539 | package br.com.caelum.ed.Mapas;
import br.com.caelum.ed.Carro;
/**
* @author Daniel Dias
*
*/
public class Associacao {
private String placa;
private Carro carro;
public Associacao(String placa, Carro carro) {
super();
this.placa = placa;
this.carro = carro;
}
public String getPlac... | gpl-2.0 |
iut-ibk/DynaMind-ToolBox | DynaMind-GDALModules/scripts/GDALModules/dm_sftp_hotstart.py | 5591 | from pydynamind import *
import paramiko
import time
from osgeo import ogr
import uuid
import os
class DM_Hoststart_SFTP(Module):
display_name = "Hotstart Simulation from SFTP"
group_name = "Data Import and Export"
def __init__(self):
Module.__init__(self)
self.set... | gpl-2.0 |
SUPLA/supla-cloud | src/SuplaBundle/Repository/UserRepository.php | 1797 | <?php
namespace SuplaBundle\Repository;
use Doctrine\ORM\QueryBuilder;
use SuplaBundle\Entity\AccessID;
use SuplaBundle\Entity\ClientApp;
use SuplaBundle\Entity\DirectLink;
use SuplaBundle\Entity\IODevice;
use SuplaBundle\Entity\IODeviceChannel;
use SuplaBundle\Entity\IODeviceChannelGroup;
use SuplaBundle\Entity\Locat... | gpl-2.0 |
bazooka07/PluXml | core/admin/statique.php | 6495 | <?php
/**
* Edition du code source d'une page statique
*
* @package PLX
* @author Stephane F. et Florent MONTHEL
**/
include __DIR__ .'/prepend.php';
# Hook Plugins
eval($plxAdmin->plxPlugins->callHook('AdminStaticPrepend'));
# Control du token du formulaire
plxToken::validateFormToken($_POST);
# Control de l'... | gpl-2.0 |
rwmcoder/Vanilla | plugins/recaptcha/class.recaptcha.plugin.php | 6825 | <?php
/**
* @copyright 2009-2017 Vanilla Forums Inc
* @license Proprietary
*/
$PluginInfo['recaptcha'] = array(
'Name' => 'reCAPTCHA Support',
'Description' => "Add recaptcha validation to signups.",
'Version' => '0.1',
'MobileFriendly' => true,
'Icon' => 'recaptcha_support.png',
'Author' =... | gpl-2.0 |
FrodeSolheim/fs-uae-launcher | launcher/ui/config/HardDriveGroup.py | 5056 | import os
import fsui
from fsgamesys.amiga import whdload
from fsgamesys.checksumtool import ChecksumTool
from fsgamesys.FSGSDirectories import FSGSDirectories
from launcher.context import get_config
from launcher.i18n import gettext
from launcher.ui.behaviors.platformbehavior import AmigaEnableBehavior
from launcher.... | gpl-2.0 |
Argamore/BILD-IT-Advanced | src/zadaca_15_02_2016/Zadatak4.java | 1227 | package zadaca_15_02_2016;
import java.io.File;
public class Zadatak4 {
public static void main(String[] args) {
try (java.util.Scanner unos = new java.util.Scanner(System.in)) {
System.out.println("Datoteka mora biti u istoj direktoriji.\nUnesite ime datoteke: ");
String imeFajla = unos.nextLine()... | gpl-2.0 |
Khanos/HardCode | OpenEMR/src/library/js/jquery-calendar.js | 33174 | /* jQuery Calendar v2.7
Written by Marc Grabanski (m@marcgrabanski.com) and enhanced by Keith Wood (kbwood@iprimus.com.au).
Copyright (c) 2007 Marc Grabanski (http://marcgrabanski.com/code/jquery-calendar)
Dual licensed under the GPL (http://www.gnu.org/licenses/gpl-3.0.txt) and
CC (http://creativeco... | gpl-2.0 |
Fluorohydride/ygopro-scripts | c612115.lua | 2625 | --剣闘獣レティアリィ
function c612115.initial_effect(c)
--remove
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(612115,0))
e1:SetCategory(CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetCondition(aux.gb... | gpl-2.0 |
ndubey/mysql-php-song-database | deleteSong.php | 313 | <?php
include 'library/dbconnect.php';
if($_GET["cmd"]=="delete")
{
$id=$_GET['id'];
if (empty($id)) {
Header("Location: listSong.php");
exit;
}
$query = "DELETE FROM Songs WHERE SongId=$id";
$result = mysql_query($query);
Header("Location: listSong.php");
exit;
}
?>
| gpl-2.0 |
saravanaizeno/skizwordpress | wp-content/cache/config/master.php | 21039 | <?php
return array(
'version' => '0.9.3',
'cluster.messagebus.debug' => false,
'cluster.messagebus.enabled' => false,
'cluster.messagebus.sns.region' => '',
'cluster.messagebus.sns.api_key' => '',
'cluster.messagebus.sns.api_secret' => '',
'cluster.messagebus.sns.topic_arn' => '',
'dbcache.debug' => ... | gpl-2.0 |
srcman/blackhawk | utils/ethrecv.py | 1355 | #!/usr/local/bin/python2.6
#
# Copyright (C) 2009-2010, Oy L M Ericsson Ab, NomadicLab.
# 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 version
# 2 as published by the Free Software Foundation.
#
# Alternatively, thi... | gpl-2.0 |
withlovee/Sport-Complex-Reservation-System | ui-admin/system-success.php | 2018 | <?php include('header.php'); ?>
<h2>ตั้งค่าระบบ</h2>
<div class="row">
<div class="col-md-9" id="content-view">
<div class="alert alert-success"><strong>ปรับปรุงการตั้งค่าเสร็จสมบูรณ์แล้ว</strong></div>
<div class="thread">
<div class="context">
<form class="form-horizontal" role="form" acti... | gpl-2.0 |
mschnitzer/open-build-service | src/api/spec/controllers/webui/cloud/ec2/upload_jobs_controller_spec.rb | 4982 | require 'rails_helper'
require 'webmock/rspec'
RSpec.describe Webui::Cloud::Ec2::UploadJobsController, type: :controller, vcr: true do
let!(:ec2_configuration) { create(:ec2_configuration) }
let!(:user_with_ec2_configuration) { create(:confirmed_user, login: 'tom', ec2_configuration: ec2_configuration) }
let(:pr... | gpl-2.0 |
Romenig/iVProg_2 | src/usp/ime/line/ivprog/interpreter/execution/expressions/arithmetic/Subtraction.java | 1820 | /**
* Instituto de Matemática e Estatística da Universidade de São Paulo (IME-USP)
* iVProg is a open source and free software of Laboratório de Informática na
* Educação (LInE) licensed under GNU GPL2.0 license.
* Prof. Dr. Leônidas de Oliveira Brandão - leo@ime.usp.br
* Romenig da Silva Ribeiro - romenig@... | gpl-2.0 |
supahseppe/path-of-gaming | wp-content/themes/flatbase/engine/admin/options.php | 21841 | <?php
/**
* Table of Contents (options.php)
*
* - nice_formbuilder()
* - nice_option_get_text()
* - nice_option_get_select()
* - nice_option_get_textarea()
* - nice_option_get_file()
* - nice_option_get_checkbox()
* - nice_option_get_radio()
* - nice_option_get_color()
* - nice_option_get_date()
* - nice_op... | gpl-2.0 |
imeuro/boldbodies | wp-content/themes/sean-lite/core/main.php | 17506 | <?php
/**
* Wp in Progress
*
* @package Wordpress
* @theme Sean
*
* This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
* It is also available at this URL: http://www.gnu.org/licenses/gpl-3.0.txt
*/
/*-----------------------------------------------------------------------------------*/
/... | gpl-2.0 |
Himatekinfo/KP-Sistem-Pengelolaan-SPP-Madrasah-Mu-aliemien | protected/models/TransaksiPengeluaran.php | 3270 | <?php
/**
* This is the model class for table "tbl_transaksi_pengeluaran".
*
* The followings are the available columns in table 'tbl_transaksi_pengeluaran':
* @property string $Id
* @property string $UserId
* @property string $Deskripsi
* @property string $Tanggal
* @property string $Ket
* @property string $... | gpl-2.0 |
Fluorohydride/ygopro-scripts | c14088859.lua | 4038 | --ネオス・フュージョン
function c14088859.initial_effect(c)
aux.AddCodeList(c,89943723)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(14088859,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DECKDES)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c14088859.targe... | gpl-2.0 |
ps-intelegencia-analytics/testRepo | sites/all/modules/openlayers/src/Plugin/Interaction/InlineJS/InlineJS.php | 2215 | <?php
/**
* @file
* Interaction: JS.
*/
namespace Drupal\openlayers\Plugin\Interaction\InlineJS;
use Drupal\openlayers\Component\Annotation\OpenlayersPlugin;
use Drupal\openlayers\Types\Interaction;
use Drupal\service_container\Messenger\MessengerInterface;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Dru... | gpl-2.0 |
jblanford/Uber-Web-Site | sites/all/modules/civicrm/extern/soap.php | 2429 | <?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.1 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2011 |
+--------------------... | gpl-2.0 |
arkev/UM-Virtual | wp-content/plugins/advanced-iframe/includes/advanced-iframe-admin-faq.php | 649 | <?php if ($devOptions['accordeon_menu'] == 'false') { ?>
<div class="ai-anchor" id="vi"></div>
<?php } ?>
<h1><?php _e('FAQ', 'advanced-iframe'); ?></h1>
<div>
<div id="icon-options-general" class="icon_ai">
<br />
</div> <h2>
<?php _e('FAQ', 'advanced-iframe'); ?> </h2>
<p>
<?php _e('The ... | gpl-2.0 |
kkkyyy03/coffeemix | common/js/common.js | 28866 | /**
* @file common.js
* @author NAVER (developers@xpressengine.com)
* @brief 몇가지 유용한 & 기본적으로 자주 사용되는 자바스크립트 함수들 모음
**/
(function($) {
/* OS check */
var UA = navigator.userAgent.toLowerCase();
$.os = {
Linux: /linux/.test(UA),
Unix: /x11/.test(UA),
Mac: /mac/.test(UA),
Windows: /win/.test(UA)
};
$.os.... | gpl-2.0 |
risingsunm/Contacts_4.0 | src/com/android/contacts/list/PhoneFavoriteFragment.java | 25923 | /*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | gpl-2.0 |
fonea/spot-light | web/modules/custom/velon_alter_fields/tests/src/Functional/LoadTest.php | 903 | <?php
namespace Drupal\Tests\velon_alter_fields\Functional;
use Drupal\Core\Url;
use Drupal\Tests\BrowserTestBase;
/**
* Simple test to ensure that main page loads with module enabled.
*
* @group velon_alter_fields
*/
class LoadTest extends BrowserTestBase {
/**
* Modules to enable.
*
* @var array
... | gpl-2.0 |
bergvogel/stayuplate | wp-content/themes/snapshopWP/woocommerce/single-product/up-sells.php | 1450 | <?php
/**
* Single Product Up-Sells
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
global $product, $woocommerce, $woocommerce_loop, $snpshpwp_data;
$upsells = $product->get_upsells();
if ( sizeof( $upsells ) =... | gpl-2.0 |
rex-xxx/mt6572_x201 | hardware/libhardware_legacy/audio/A2dpAudioInterface.cpp | 13930 | /*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | gpl-2.0 |
dusik/realejuventudfan | core/lib/Drupal/Core/TypedData/ListInterface.php | 736 | <?php
/**
* @file
* Definition of Drupal\Core\TypedData\ListInterface.
*/
namespace Drupal\Core\TypedData;
use ArrayAccess;
use Countable;
use Traversable;
/**
* Interface for a list of typed data.
*
* A list of typed data contains only items of the same type, is ordered and may
* contain duplicates.
*
* W... | gpl-2.0 |
jeffgdotorg/opennms | features/flows/api/src/main/java/org/opennms/netmgt/flows/api/EnrichedFlowForwarder.java | 1330 | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2020 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2020 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(R) is... | gpl-2.0 |
thereelists/scs | wp-content/plugins/plainview-activity-monitor/vendor/plainview/sdk/wordpress/table/table.php | 1858 | <?php
namespace plainview\sdk\wordpress\table;
/**
@brief Extends the table class by using the Wordpress base class to translate table object names and titles.
@par Changelog
- 20131019 top() added.
- 20131015 Added bulk_actions();
- 20130509 Complete rework moving all of the translation to the parent t... | gpl-2.0 |
gakuba/mtdruittsdachurch | wp-content/themes/resurrect/includes/body.php | 1861 | <?php
/**
* <body> Functions
*
* @package Resurrect
* @subpackage Functions
* @copyright Copyright (c) 2013, churchthemes.com
* @link http://churchthemes.com/themes/resurrect
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
* @since 1.0
*/
// No direct access
if ... | gpl-2.0 |