repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
newscloud/construct | lib/admin/assets/js/admin.js | 54740 | jQuery.noConflict();
var mysiteAdmin = {
init : function() {
mysiteAdmin.optionTabs();
mysiteAdmin.tooltipHelp();
mysiteAdmin.footerSave();
mysiteAdmin.resetConfirm();
mysiteAdmin.optionSave();
mysiteAdmin.saveSidebar();
mysiteAdmin.sidebarDelete();
mysiteAdmin.layoutSelect();
mysiteAdmin.multiDro... | gpl-2.0 |
dlitz/resin | resin-doc/examples/ioc-periodictask/WEB-INF/classes/example/PeriodicTaskFilter.java | 2847 | package example;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.inject.Inject;
/**
* Filter to show a maintenance page if the MaintenanceRunner is active.
*
* <h3>init parameters</h3>
* <dl>
* <dt>... | gpl-2.0 |
mj10777/QGIS | src/core/qgsprojutils.cpp | 8704 | /***************************************************************************
qgsprojutils.h
-------------------
begin : March 2019
copyright : (C) 2019 by Nyall Dawson
email : nyall dot dawson at gmail dot com... | gpl-2.0 |
malhotrah/platypus | wp-content/plugins/revslider/js/rev_admin.js | 44544 | var RevSliderAdmin = new function(){
var t = this;
var g_postTypesWithCats = null;
var isTemplate = false;
/**
* init "slider" view functionality
*/
var initSaveSliderButton = function(ajaxAction){
jQuery("#button_save_slider").click(function(){
//collect data
v... | gpl-2.0 |
shannah/cn1 | Ports/iOSPort/xmlvm/src/xmlvm/org/xmlvm/util/skeleton/ClassSkeleton.java | 7257 | /* Copyright (c) 2002-2011 by XMLVM.org
*
* Project Info: http://www.xmlvm.org
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your o... | gpl-2.0 |
DyncKevin/Teameeting-MsgServer | MsgServerClientSdk/SdkMsgClientAndroid/sdkmsgclient/src/main/java/org/dync/teameeting/sdkmsgclient/jni/JMClientType.java | 1077 | package org.dync.teameeting.sdkmsgclient.jni;
/**
* Created by hp on 12/24/15.
*/
public class JMClientType {
//* Connection Status
public static final int MCNOT_CONNECTED = 0;
public static final int MCCONNECTTING = 1;
public static final int MCCONNECTED = 2;
public static final int MC_MSGTYPE... | gpl-2.0 |
telemed-duth/Metamorphosis-Meducator | views/default/admin/site.php | 507 | <?php
/**
* Elgg administration site main screen
*
* @package Elgg
* @subpackage Core
* @author Curverider Ltd
* @link http://elgg.org/
*/
global $CONFIG;
// Description of what's going on
echo "<div class=\"contentWrapper\">" . elgg_view('output/longtext', array('value' => elgg_echo("admin:site... | gpl-2.0 |
tonio-44/tikflak | shop/app/code/core/Mage/Adminhtml/Block/Newsletter/Subscriber.php | 2480 | <?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... | gpl-2.0 |
arachnys/starbase | src/starbase/__init__.py | 316 | __title__ = 'starbase'
__version__ = '0.3.3'
__build__ = 0x00000d
__author__ = 'Artur Barseghyan'
__copyright__ = 'Copyright (c) 2013-2014 Artur Barseghyan'
__license__ = 'GPL 2.0/LGPL 2.1'
__all__ = ('Connection', 'Table',)
from starbase.client.connection import Connection
from starbase.client.table import Table
| gpl-2.0 |
openkm/document-management-system | src/main/webapp/js/tiny_mce/plugins/codehighlighting/langs/ro.js | 482 | // UK lang variables
tinyMCE.addI18n('ro.codehighlighting',{
codehighlighting_desc : "Code Highlighting",
codehighlighting_title : "Code Highlighting",
codehighlighting_languagepicker : "Choose the language",
codehighlighting_pagecode : "Paste your code here",
codehighlighting_button_desc: "Insert code",
codehighlighti... | gpl-2.0 |
jonreycas/enjambre | mod/ferias_publico/vendors/pag_archivos.js | 4624 | var busqueda = 0;
var categoria = "Caja de Herramientas";
$(document).ready(function() {
$(".pagination-item").live('click', function(evento) {
var offset = $(this).attr('tittle');
var id = $(this).attr('name');
var auto = $("#auto").val();
$('#paginable').html('<div class="elgg-ajax... | gpl-2.0 |
householdsteve/bearded-octo-ironman | wp-content/themes/aware/functions.php | 35051 | <?php
/*-----------------------------------------------------------------------------------*/
/* Options Framework Functions
/*-----------------------------------------------------------------------------------*/
/* Set the file path based on whether the Options Framework is in a parent theme or child theme */... | gpl-2.0 |
PIPplware/xbmc | xbmc/pvr/channels/PVRChannelGroups.cpp | 16200 | /*
* Copyright (C) 2012-2018 Team Kodi
* This file is part of Kodi - https://kodi.tv
*
* SPDX-License-Identifier: GPL-2.0-or-later
* See LICENSES/README.md for more information.
*/
#include "PVRChannelGroups.h"
#include <algorithm>
#include "FileItem.h"
#include "ServiceBroker.h"
#include "URL.h"
#include ... | gpl-2.0 |
SlimLP-U8950/SlimUpdater | src/com/slimlp/updater/UpdatePreference.java | 9128 | /*
* Copyright (C) 2012 The CyanogenMod Project
*
* * Licensed under the GNU GPLv2 license
*
* The text of the license can be found in the LICENSE file
* or at https://www.gnu.org/licenses/gpl-2.0.txt
*/
package com.slimlp.updater;
import android.app.AlertDialog;
import android.content.Context;
import android.... | gpl-2.0 |
damianob/xcsoar | src/Engine/Task/Points/SampledTaskPoint.hpp | 7152 | /* 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
... | gpl-2.0 |
cloudspokes/smartsheet-spoke | wp-content/themes/smartsheet/page.php | 550 | <?php get_header(); ?>
<!-- main content -->
<div role="main">
<!-- start of the loop -->
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" role="article">
<!-- article title -->
<h1 class="entry-title"><?php the_title(); ?></h1>
<div c... | gpl-2.0 |
CFDEMproject/OpenFOAM-1.6-ext | src/OpenFOAM/global/JobInfo/JobInfo.C | 4688 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright held by original author
\\/ M anipulation |
------------------... | gpl-2.0 |
CFDEMproject/OpenFOAM-1.6-ext | src/turbulenceModels/incompressible/LES/Smagorinsky/Smagorinsky.C | 3002 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright held by original author
\\/ M anipulation |
------------------... | gpl-2.0 |
LewisSoftwareDevelopment/Headwaters | output/include/bpengagmentstotal_settings.php | 19469 | <?php
require_once(getabspath("classes/cipherer.php"));
$tdatabpengagmentstotal = array();
$tdatabpengagmentstotal[".NumberOfChars"] = 80;
$tdatabpengagmentstotal[".ShortName"] = "bpengagmentstotal";
$tdatabpengagmentstotal[".OwnerID"] = "";
$tdatabpengagmentstotal[".OriginalTable"] = "bpengagmentstotal";
// fiel... | gpl-2.0 |
bobx/ProEmu | src/bindings/scriptdev2/scripts/northrend/icecrown_citadel/icecrown_citadel/boss_the_lich_king.cpp | 46895 | /* Copyright (C) 2006 - 2010 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any l... | gpl-2.0 |
chrisfranson/Surveyor | system/sparks/cloudmanic-storage/1.0.4/libraries/rackspace_cf_driver.php | 4307 | <?php defined('BASEPATH') OR exit('No direct script access allowed');
//
// Company: Cloudmanic Labs, http://cloudmanic.com
// By: Spicer Matthews, spicer@cloudmanic.com
// Date: 9/17/2011
// Description: Driver class for Rackspace Cloud Files
//
class Rackspace_Cf_Driver extends Storage
{
private $_auth;
private ... | gpl-2.0 |
abdullaniyas/cleansweep2 | wp-content/themes/carzone/framework/custom-meta/post-meta.php | 5862 | <?php
//
//--------------------------------------------------------
$prefix = '';
global $iva_sidebarwidget, $layout_option;
$pagetitle_align = get_option('atp_sub_styling');
$iva_sidebar_layout = get_option('atp_defaultlayout');
$this->meta_box[] = array(
'id' => 'post-meta-box',
'title' => __( ' Pos... | gpl-2.0 |
eliasdorneles/WhatWeb | plugins/CHANCE-i-DiViS-DVR.rb | 997 | ##
# This file is part of WhatWeb and may be subject to
# redistribution and commercial restrictions. Please see the WhatWeb
# web site for more information on licensing and terms of use.
# http://www.morningstarsecurity.com/research/whatweb
##
Plugin.define "CHANCE-i-DiViS-DVR" do
author "Brendan Coles <bcoles@gmail.c... | gpl-2.0 |
tectronics/scummvm-for-sally | engines/tucker/locations.cpp | 90104 | /* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the te... | gpl-2.0 |
lordmatt/Open-Ad-Server | etc/changes/migration_tables_core_580.php | 2380 | <?php
/*
+---------------------------------------------------------------------------+
| OpenX v2.8 |
| ========== |
| ... | gpl-2.0 |
kolydart/SEBLOD | plugins/cck_field/div/install/script.php | 459 | <?php
/**
* @version SEBLOD 3.x Core
* @package SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url http://www.seblod.com
* @editor Octopoos - www.octopoos.com
* @copyright Copyright (C) 2013 SEBLOD. All Rights Reserved.
* @license GNU General Public License version 2 or later; see _LIC... | gpl-2.0 |
debian-pkg-android-tools/android-platform-libcore | luni/src/main/java/java/util/concurrent/atomic/Striped64.java | 15125 | /*
* Written by Doug Lea with assistance from members of JCP JSR-166
* Expert Group and released to the public domain, as explained at
* http://creativecommons.org/publicdomain/zero/1.0/
*/
package java.util.concurrent.atomic;
import java.util.Arrays;
import java.util.concurrent.ThreadLocalRandom;
import java.uti... | gpl-2.0 |
nirbhayc/server | sql/sql_cache.cc | 164300 | /* Copyright (c) 2000, 2013, Oracle and/or its affiliates.
Copyright (c) 2010, 2013, Monty Program Ab
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This pr... | gpl-2.0 |
01J/topm | administrator/components/com_akeeba/controllers/ftpbrowser.php | 1199 | <?php
/**
* @package AkeebaBackup
* @copyright Copyright (c)2009-2014 Nicholas K. Dionysopoulos
* @license GNU General Public License version 3, or later
*
* @since 2.2
*/
// Protect from unauthorized access
defined('_JEXEC') or die();
/**
* Folder bowser controller
*
*/
class AkeebaControlle... | gpl-2.0 |
sixuanwang/SAMSaaS | wirecloud-develop/src/build/lib.linux-x86_64-2.7/wirecloud/platform/static/iphone/interface/LayoutManager.js | 3562 | /*
* Copyright (c) 2012-2014 CoNWeT Lab., Universidad Politécnica de Madrid
*
* This file is part of Wirecloud Platform.
*
* Wirecloud Platform is free software: you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License as
* published by the Free Soft... | gpl-2.0 |
lukas/scikit-class | examples/scikit/test-algorithm-2.py | 1289 | import pandas as pd
import numpy as np
# Get a pandas DataFrame object of all the data in the csv file:
df = pd.read_csv('tweets.csv')
# Get pandas Series object of the "tweet text" column:
text = df['tweet_text']
# Get pandas Series object of the "emotion" column:
target = df['is_there_an_emotion_directed_at_a_bra... | gpl-2.0 |
roberzguerra/scout_mez | institutional/migrations/0003_auto_20150928_1038.py | 2590 | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import mezzanine.core.fields
class Migration(migrations.Migration):
dependencies = [
('blog', '0002_auto_20150527_1555'),
('sites', '0001_initial'),
('pages', '0006_auto_20150928_1038... | gpl-2.0 |
regisf/pythonregex | Application/App/__init__.py | 836 | # -*- coding: utf-8 -*-
#
# Python-regex.com : Regular expression as in Kodos3 but for the web
# (c) Régis FLORET 2013 and later
#
# 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 ... | gpl-2.0 |
JetBrains/jdk8u_jdk | test/java/net/ipv6tests/Tests.java | 11739 | /*
* Copyright (c) 2003, 2016, 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 |
AlphaNerds/alphaDrone | node_modules/cylon-ardrone/node_modules/cylon/lib/robot.js | 10153 | /*
* robot
* cylonjs.com
*
* Copyright (c) 2013-2015 The Hybrid Group
* Licensed under the Apache 2.0 license.
*/
"use strict";
var initConnection = require("./connection"),
initDevice = require("./device"),
Logger = require("./logger"),
Utils = require("./utils"),
Config = require("./config"),
... | gpl-2.0 |
tychay/mediawiki-core | tests/phpunit/includes/api/ApiParseTest.php | 653 | <?php
/**
* @group API
* @group Database
* @group medium
*/
class ApiParseTest extends ApiTestCase {
protected function setUp() {
parent::setUp();
$this->doLogin();
}
function testParseNonexistentPage() {
$somePage = mt_rand();
try {
$data = $this->doApiRequest( array(
'action' => 'parse',
... | gpl-2.0 |
R-Suite/R.MessageBus.Monitor | ServiceConnect.Monitor/Scripts/app/collections/messageTypes.js | 1012 | //Copyright (C) 2015 Timothy Watson, Jakub Pachansky
//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.
//This program i... | gpl-2.0 |
wycc/NanoVMArduino | tool/src/org/nanovm/converter/ClassFileReader.java | 17132 | package org.nanovm.converter;
//
// NanoVMTool, Converter and Upload Tool for the NanoVM
// Copyright (C) 2005 by Till Harbaum <Till@Harbaum.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 ... | gpl-2.0 |
ljudmila-org/wiki-xoo | extensions/Xoo/Xxx/DomCache.php | 3803 | <?php
XxxInstaller::Install('XxxDomCache');
class XxxDomCache extends Xxx
{
var $mTplRedirCache=array();
var $mTplDomCache=array();
var $mCacheActive=false;
function setupExtension()
{
global $wgDomCachePath;
$this->mCacheActive = ($wgDomCachePath && filetype($wgDomCachePath)=='dir' && is_writable($wgDomC... | gpl-2.0 |
Distrotech/icedtea6-1.12 | src/jtreg/com/sun/interview/InterviewSet.java | 7800 | /*
* $Id$
*
* Copyright 1996-2008 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 S... | gpl-2.0 |
adriannovegil/java-examples | hibernate/hibernate-multiple-configuration-files/src/main/java/es/devcircus/hibernate_examples/multiple_configuration_files/util/exceptions/ElementRelationExistException.java | 1311 | /**
* This file is part of hibernate-examples.
*
* hibernate-examples 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, or (at your option) any later version.
*
* hibernate-examples is d... | gpl-2.0 |
assodsu/wp-themecrab | wp-content/themes/treehousetheme/page.php | 501 | <?php get_header(); ?>
<section class="row">
<div class="small-12 columns text-center">
<div class="leader">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<h1><?php the_title(); ?></h1>
<hr>
<p><?php the_content(); ?></p>
<?php endwhile; else : ?>
... | gpl-2.0 |
ASirik/vostok | components/com_ckeditor/ckeditor.php | 1681 | <?php
/*
* This file uses parts of JCE extension by Ryan Demmer.
* @copyright Copyright (C) 2005 - 2011 Ryan Demmer. All rights reserved.
* @copyright Copyright (C) 2003 - 2011, CKSource - Frederico Knabben. All rights reserved.
* @license GNU/GPL
* CKEditor extension is free software. This version may have been... | gpl-2.0 |
tuyenln/hanoiled | wp-content/plugins/wordfence/lib/whois/whois.fr.php | 2224 | <?php
/*
Whois.php PHP classes to conduct whois queries
Copyright (C)1999,2005 easyDNS Technologies Inc. & Mark Jeftovic
Maintained by David Saez
For the most recent version of this package visit:
http://www.phpwhois.org
This program is free software; you can redistribute it and/or
modify it un... | gpl-2.0 |
quanghung0404/it2tech | media/com_easysocial/apps/user/calendar/calendar.php | 10052 | <?php
/**
* @package EasySocial
* @copyright Copyright (C) 2010 - 2014 Stack Ideas Sdn Bhd. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* EasySocial is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of wor... | gpl-2.0 |
vildibald/VKDiplom-master | HermiteInterpolation/Shapes/DrawStyle.cs | 278 | namespace HermiteInterpolation.Shapes
{
public enum DrawStyle
{
Wireframe,
Surface,
Triangles,
Contour,
FramedSurface
}
public enum TextureStyle
{
SingleColor,
HeightColored,
Texture
}
} | gpl-2.0 |
Con-Man/farmers-project | wp-content/plugins/menu-icons/menu-icons.php | 9093 | <?php
/**
* Menu Icons
*
* @package Menu_Icons
* @version 0.3.2
* @author Dzikri Aziz <kvcrvt@gmail.com>
*
*
* Plugin name: Menu Icons
* Plugin URI: http://kucrut.org/
* Description: Easily add icons to your navigation menu items
* Version: 0.3.2
* Author: Dzikri Aziz
* Author URI: http://kucrut.org/
* L... | gpl-2.0 |
onoga/wm | src/gnue/forms/input/displayHandlers/Password.py | 1118 | #
# This file is part of GNU Enterprise.
#
# GNU Enterprise 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, or (at your option) any later version.
#
# GNU Enterprise is distributed in the h... | gpl-2.0 |
GroinBeard/jeeebuhl2 | src/g53sqm/jibble/WebServerException.java | 842 | package g53sqm.jibble;
/*
Copyright Paul James Mutton, 2001-2004, http://www.jibble.org/
This file is part of Jibble Web Server / WebServerLite.
This software is dual-licensed, allowing you to choose between the GNU
General Public License (GPL) and the www.jibble.org Commercial License.
Since the GPL may be ... | gpl-2.0 |
emanuel4you/mednafen-dreambox | src/compress/ZLInflateFilter.cpp | 5066 | /******************************************************************************/
/* Mednafen - Multi-system Emulator */
/******************************************************************************/
/* ZLInflateFilter.cpp:
** Copyright (C) 2014-2016 Mednafen Team
**
** This ... | gpl-2.0 |
prife/RTGUI | rtconfig.py | 3341 | import os
# toolchains options
ARCH='sim'
#CROSS_TOOL can be 'msvc', 'gcc', 'mingw' 'clang-analyze'
if os.getenv('RTT_CC'):
CROSS_TOOL = os.getenv('RTT_CC')
else:
CROSS_TOOL='clang-analyze'
# cross_tool provides the cross compiler
# EXEC_PATH is the compiler execute path
if CROSS_TOOL == 'clang-analyze' or ... | gpl-2.0 |
micove/awn | libawn/awn-overlay-text.cc | 18330 | /*
* Copyright (C) 2009 Rodney Cryderman <rcryderman@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later ve... | gpl-2.0 |
alexesprit/SawimNE | Sawim/src/main/java/ru/sawim/comm/Util.java | 19227 | package ru.sawim.comm;
import android.text.format.DateUtils;
import android.util.Base64;
import ru.sawim.R;
import ru.sawim.SawimApplication;
import ru.sawim.roster.TreeNode;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io... | gpl-2.0 |
Dozorov/TrinityCore | src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp | 65612 | /*
* Copyright (C) 2008-2018 TrinityCore <https://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 v... | gpl-2.0 |
catterpiler74/mangos-classic | src/game/BattleGround/BattleGroundHandler.cpp | 23021 | /*
* This file is part of the CMaNGOS 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 o... | gpl-2.0 |
julienlerch/lacerise-blog | wp-content/themes/BUZZBLOG-theme/static/static-nav.php | 991 | <?php /* Static Name: Navigation */
if (has_nav_menu('header_menu')) { ?>
<!-- BEGIN MAIN NAVIGATION -->
<div class="menu-button"><i class="icon-menu"></i>
<?php if ( of_get_option('g_search_box_id')=='yes') { ?>
<a style="position:relative;z-index:100;color:#222222; margin-left:12px;display:inline-block;" ... | gpl-2.0 |
Unrepentant-Atheist/mame | src/mame/drivers/silvmil.cpp | 25266 | // license:BSD-3-Clause
// copyright-holders:David Haywood
/*
Silver Millennium
yet another Data East / Tumble Pop derived hardware
this one seems similar to (but not identical to)
the crospang.c hardware from F2 system
also very close to gotcha.c, which was also a Para
board.
todo: refresh rate
... | gpl-2.0 |
Deanish/YUVA | wp-content/themes/sunrise/archive.php | 1946 | <?php get_header(); ?>
<!-- begin main -->
<section class="main block grid4">
<div class="column-one">
<header>
<h2 class="post-title"><?php if (is_category()) { ?>
<?php _e("Posts Categorized", "site5framework"); ?> / <span><?php single_cat_title(); ?></span>
<?php } elseif ... | gpl-2.0 |
SailendraShakya/d8 | sites/default/files/php/twig/377d3973_field--node--uid.html.twig_1b4a9082c502146a433c715b616b93985fa2a86c808493f810c1353f58c908ec/d32dbfb612a64851964dd2b98f6336b1cf5418d6953574eb0fff078c4f368b7d.php | 4665 | <?php
/* core/themes/classy/templates/field/field--node--uid.html.twig */
class __TwigTemplate_5832b110f2c3d9d7e1bedc9957be3bd7d17a9ddd1225c9c0d1a4b5504b3737dd extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
... | gpl-2.0 |
BBGInnovate/Project-Relay | sites/default/files/js/js_v6XoZ50GW-yKeTjKCntJ1g9OrIM-SlNBW-RCF2r9fUU.js | 47075 | (function ($) {
Drupal.viewsSlideshow = Drupal.viewsSlideshow || {};
/**
* Views Slideshow Controls
*/
Drupal.viewsSlideshowControls = Drupal.viewsSlideshowControls || {};
/**
* Implement the play hook for controls.
*/
Drupal.viewsSlideshowControls.play = function (options) {
// Route the co... | gpl-2.0 |
alaysiasierra/alaysiasierra.dev | wp-content/themes/optimizer/customizer/extra.php | 25225 | <?php
/*ADD EDITOR TO CUSTOMIZER*/
function optimizer_customizer_editor() {
?>
<div id="wp-editor-widget-container" style="display: none;">
<a class="close" href="javascript:WPEditorWidget.hideEditor();" title="<?php esc_attr_e( 'Close', 'optimizer' ); ?>"><span class="icon"></span></a>
<div class="ed... | gpl-2.0 |
YesThatAllen/discourse | spec/controllers/session_controller_spec.rb | 6459 | require 'spec_helper'
describe SessionController do
describe '.create' do
let(:user) { Fabricate(:user) }
context 'when email is confirmed' do
before do
token = user.email_tokens.where(email: user.email).first
EmailToken.confirm(token.token)
end
it "raises an error when ... | gpl-2.0 |
mzagaja/chillingeffects | spec/integration/submit_notice_via_api_spec.rb | 5517 | require 'spec_helper'
require 'base64'
feature "notice submission" do
include CurbHelpers
scenario "submitting as an unauthenticated user", js: true do
parameters = request_hash(default_notice_hash)
parameters.delete(:authentication_token)
curb = post_api('/notices', parameters)
expect(curb.resp... | gpl-2.0 |
michaelkirk/QGIS | python/plugins/processing/algs/qgis/FieldsCalculator.py | 6441 | # -*- coding: utf-8 -*-
"""
***************************************************************************
FieldsCalculator.py
---------------------
Date : August 2012
Copyright : (C) 2012 by Victor Olaya
Email : volayaf at gmail dot com
**********************... | gpl-2.0 |
rpereira-dev/VoxelEngine | VoxelEngine/src/com/grillecube/client/renderer/MeshTriangle.java | 533 | package com.grillecube.client.renderer;
import java.nio.ByteBuffer;
public abstract class MeshTriangle<T extends MeshVertex> {
public final T v0;
public final T v1;
public final T v2;
public MeshTriangle(T v0, T v1, T v2) {
this.v0 = v0;
this.v1 = v1;
this.v2 = v2;
}
/** put this triang... | gpl-2.0 |
Mbrinker/AIVillage | Simulator/Neural_network/neuro_src/Sources/Controls/Chart.cs | 10491 | // AForge Controls Library
//
// Copyright © Andrew Kirillov, 2005-2006
// andrew.kirillov@gmail.com
//
namespace AForge.Controls
{
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;
using AForge;
/// <summary>
/// Chart c... | gpl-2.0 |
Razzeee/xbmc | xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/VdpauGL.cpp | 6995 | /*
* Copyright (C) 2007-2017 Team XBMC
* http://xbmc.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, or (at your option)
* any later version.
*
* ... | gpl-2.0 |
sathnaga/virt-test | qemu/tests/migration_multi_host.py | 1363 | import logging, os
from autotest.client.shared import error
from virttest import utils_test, remote, virt_vm, utils_misc
@error.context_aware
def run_migration_multi_host(test, params, env):
"""
KVM multi-host migration test:
Migration execution progress is described in documentation
for migrate meth... | gpl-2.0 |
Argalep/ServUO | Scripts/Items/Consumables/SummonDaemonScroll.cs | 743 | namespace Server.Items
{
public class SummonDaemonScroll : SpellScroll
{
[Constructable]
public SummonDaemonScroll()
: this(1)
{
}
[Constructable]
public SummonDaemonScroll(int amount)
: base(60, 0x1F69, amount)
{
}
... | gpl-2.0 |
sojo/d8_friendsofsilence | core/modules/system/src/Tests/Entity/EntityListBuilderTest.php | 2143 | <?php
/**
* @file
* Contains \Drupal\system\Tests\Entity\EntityListBuilderTest.
*/
namespace Drupal\system\Tests\Entity;
use Drupal\Core\Language\LanguageInterface;
use Drupal\entity_test\Entity\EntityTest;
use Drupal\simpletest\WebTestBase;
/**
* Tests entity list builder functionality.
*
* @group Entity
*/
... | gpl-2.0 |
ducdongmg/joomla_tut25 | templates/jsn_mobilize/html/com_content/form/edit.php | 15506 | <?php
/**
* @version $Id: edit.php 20196 2011-01-09 02:40:25Z ian $
* @package Joomla.Site
* @subpackage com_content
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_... | gpl-2.0 |
MathieuDuponchelle/gobject-introspection | giscanner/scannermain.py | 24004 | #!/usr/bin/env python
# -*- Mode: Python -*-
# GObject-Introspection - a framework for introspecting GObject libraries
# Copyright (C) 2008-2010 Johan Dahlin
# Copyright (C) 2009 Red Hat, Inc.
#
# 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 |
TheOfficialSkara/Game-Engine | lib/LWJGL/src/org/lwjgl/opengl/EXTSecondaryColor.java | 21501 | /*
* Copyright LWJGL. All rights reserved.
* License terms: http://lwjgl.org/license.php
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.opengl;
import org.lwjgl.*;
import org.lwjgl.system.*;
import java.nio.*;
import static org.lwjgl.system.Checks.*;
import static org.lwjgl.system.MemoryUtil.*;
/**
... | gpl-2.0 |
chidelmun/server | sql/item_func.cc | 183541 | /* Copyright (c) 2000, 2015, Oracle and/or its affiliates.
Copyright (c) 2009, 2017, MariaDB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is ... | gpl-2.0 |
klst-com/metasfresh | de.metas.adempiere.adempiere/base/src/main/java-gen/org/compiere/model/I_C_Campaign.java | 6295 | /******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
... | gpl-2.0 |
VelocityRa/scummvm | graphics/macgui/macmenu.cpp | 15870 | /* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | gpl-2.0 |
bjorn/tiled-java | plugins/json/src/org/json/XML.java | 11189 | package org.json;
import java.util.Iterator;
import java.text.ParseException;
/**
* This provides static methods to convert an XML text into a JSONObject,
* and to covert a JSONObject into an XML text.
* <p>
* Public Domain 2002 JSON.org
* @author JSON.org
* @version 0.2
*/
public class XML {
private XML... | gpl-2.0 |
benbenolson/hotspot_9_mc | src/share/vm/oops/instanceKlass.hpp | 55030 | /*
* Copyright (c) 1997, 2015, 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 |
Wikia/OldStructuredDataPrototype | extensions/wikia/Search/classes/Test/QueryService/Select/Dismax/VideoEmbedToolTest.php | 8181 | <?php
/**
* Class definition for Wikia\Search\Test\QueryService\Select\Dismax\VideoEmbedToolTest
*/
namespace Wikia\Search\Test\QueryService\Select\Dismax;
use Wikia\Search\Test\BaseTest, ReflectionMethod, Wikia\Search\Utilities;
/**
* Responsible for testing VideoEmbedTool query service.
* @author relwell
*/
clas... | gpl-2.0 |
wrh2/sputnik | Vendor Firmware/Kinetis SDK v.1.3.0 API Reference Manual/group__enet__driver.js | 10058 | var group__enet__driver =
[
[ "enet_multicast_group_t", "group__enet__driver.html#structenet__multicast__group__t", [
[ "groupAdddr", "group__enet__driver.html#a7c67b60ce9c5b7fe3a68464dbfbb76bf", null ],
[ "hash", "group__enet__driver.html#a523fde871af8bc4783e242380ef45a76", null ],
[ "next", "gro... | gpl-2.0 |
wangtaoenter/Books | Main/src/org/geometerplus/android/fbreader/api/ApiMethods.java | 1904 | /*
* This code is in the public domain.
*/
package org.geometerplus.android.fbreader.api;
interface ApiMethods {
// fbreader information
int GET_FBREADER_VERSION = 1;
// library information
// network library information
// bookmarks information
// preferences
int LIST_OPTION_GROUPS = 401;
int LIST_OPTI... | gpl-2.0 |
psi-im/ambrosia | iris/irisnet/main.cpp | 13323 | /*
* Copyright (C) 2006 Justin Karneges
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This lib... | gpl-2.0 |
stewartsmith/bzr | bzrlib/pyutils.py | 3750 | # Copyright (C) 2010 Canonical Ltd
#
# 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.
#
# This program is distributed in ... | gpl-2.0 |
Fojar/aseprite | src/app/commands/cmd_paste_text.cpp | 5467 | // 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/app.h"
#incl... | gpl-2.0 |
philazerty/dolibarr | htdocs/includes/odtphp/zip/ZipInterface.php | 1547 | <?php
/**
* Interface for Zip libraries used in odtPHP
* You need PHP 5.2 at least
* You need Zip Extension or PclZip library
* Encoding : ISO-8859-1
* Last commit by $Author$
* Date - $Date$
* SVN Revision - $Rev: 28 $
* Id : $Id$
*
* @copyright GPL License 2008 - Julien Pauli - Cyril PIERRE de GEYER - Anas... | gpl-2.0 |
onedaylabs/onedaylabs.com | wp-content/plugins/formilla-live-chat/formilla-live-chat.php | 9482 | <?php
/*
Plugin Name: Formilla Live Chat
Plugin URI: http://www.formilla.com
Description: Formilla.com Live Chat brings chat, offline email, and real-time visitor monitoring features to your WordPress website.
Version: 1.1
Author: Formilla.com
Author URI: http://www.formilla.com/
*/
$plugurldir = get_option(... | gpl-2.0 |
perdisci/amico | amico_scripts/fe_db_setup.py | 4261 | #!/usr/bin/python
###########################################################################
# Copyright (C) 2012 Phani Vadrevu #
# pvadrevu@uga.edu #
# ... | gpl-2.0 |
crc-corp/iris-its | src/us/mn/state/dot/tms/server/comm/dinrelay/DinRelayPoller.java | 3162 | /*
* IRIS -- Intelligent Roadway Information System
* Copyright (C) 2012-2014 Minnesota Department of Transportation
*
* 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 ... | gpl-2.0 |
suku123/portfolio_wp | wp-content/themes/twentythirteen/js/jquery_004.js | 2092 | /* http://james.padolsey.com/javascript/special-scroll-events-for-jquery/ */
function swl_scrollStopExtend(){
var special = SWL.$.event.special,
uid1 = 'D' + (+new Date()),
uid2 = 'D' + (+new Date() + 1);
special.scrollstart = {
setup: function() {
var timer,
... | gpl-2.0 |
randonnerleger/forum | include/tags.php | 8292 | <?php
/**
* tagManager
* ----------
* Implements tags lists to put ahead of post subject
* --------------------------------------------------
* License :
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 3 or above.
* ... | gpl-2.0 |
t-zuehlsdorff/wesnoth | src/gui/auxiliary/window_builder/matrix.hpp | 1362 | /*
Copyright (C) 2012 - 2016 by Mark de Wever <koraq@xs4all.nl>
Part of the Battle for Wesnoth Project http://www.wesnoth.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 ve... | gpl-2.0 |
andymason/coder-on-fire | src/experiments/news_glitch/js/news.js | 2809 | /**
* News glitch.
*/
function doStuff() {
console.log('doing stuff');
var compressionQuality = 75; // Higher quality = more glitch
for (var i = 0, count = images.length; i < count; i++) {
var originalImg = images[i];
var glitchAmount = originalImg.dataset.noise;
... | gpl-2.0 |
amarlearning/teammates | src/test/java/teammates/storage/api/StudentsDbTest.java | 20502 | package teammates.storage.api;
import static teammates.common.util.FieldValidator.COURSE_ID_ERROR_MESSAGE;
import static teammates.common.util.FieldValidator.REASON_INCORRECT_FORMAT;
import org.testng.annotations.Test;
import teammates.common.datatransfer.AttributesDeletionQuery;
import teammates.common.datatransfer... | gpl-2.0 |
alexrah/namreb | templates/motif/html/com_search/search/default.php | 595 | <?php
/**
* @package Joomla.Site
* @subpackage com_search
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
?>
<div align="center">
<div class="formwrap"... | gpl-2.0 |
aarnt/octopi | resources/translations/octopi_zh_CN.ts | 71712 | <?xml version="1.0" ?><!DOCTYPE TS><TS language="zh_CN" version="2.1">
<context>
<name>MainWindow</name>
<message>
<location filename="../Projects/octopi/ui/mainwindow.ui" line="96"/>
<source>Info</source>
<translation>信息</translation>
</message>
<message>
<location filen... | gpl-2.0 |
Evgeniy-Lagutin/homework4 | wp-content/plugins/arzamath_17th/templates/arzamath_17th_post_meta_box.php | 1591 | <label for="arzamath_17th_post_meta_box">Select something</label>
<select id="arzamath_17th_post_meta_box" name="arzamath_17th_post_meta_box[]" multiple="multiple">
<?php
$selectValues = array(
1 => 'first option',
2 => 'second option',
3 => 'third option',
4 => 'forth option'
... | gpl-2.0 |
msamrat/dreamsoftcreation | wp-content/plugins/user-registration-aide/js/pass-strength-meter.mine.js | 1043 | // Password strength meter
function ura_passwordStrength(password1, username, password2) {
var emptyPass = 1;
var shortPass = 2;
var badPass = 3;
var goodPass = 4;
var strongPass = 5;
var mismatch = 6;
var symbolSize = 0;
var natLog;
var score;
// password 1 != password 2
if ( (password1 != password2) && pa... | gpl-2.0 |
certik/hermes2d | benchmarks/nist-4/forms.cpp | 730 | template<typename Real, typename Scalar>
Scalar bilinear_form(int n, double *wt, Func<Scalar> *u_ext[], Func<Real> *u, Func<Real> *v, Geom<Real> *e, ExtData<Scalar> *ext)
{
return int_grad_u_grad_v<Real, Scalar>(n, wt, u, v);
}
template<typename Real>
Real rhs(Real x, Real y)
{
Real a = (-ALPHA * pow((x - X_LOC), ... | gpl-2.0 |
huchris/druvelopment | sites/all/themes/hu_theme/views-view-row-rss--news-feeds-page.tpl.php | 314 | <?php
/**
* @file views-view-row-rss.tpl.php
* Default view template to display a item in an RSS feed.
*
* @ingroup views_templates
*/
?>
<item>
<title><?php print $title; ?></title>
<link><?php print $link; ?></link>
<description><?php print $description; ?></description>
</item> | gpl-2.0 |
o0johntam0o/phpBB-Extension-Codebox-Plus | ext/o0johntam0o/codeboxplus/includes/geshi/geshi/html5.php | 8035 | <?php
/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}
/*************************************************************************************
* html5.php
* ---------------
* Author: Nigel McNie (nigel@geshi.org)
* Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
* Release Version: 1.0.8.1... | gpl-2.0 |