repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
mjschaefer/codesamples | Lowell.net/views/redevelopment.php | 633 | <h1 style="margin-bottom:10px;">Redevelopment Commission</h1>
<div id="sub-menu">
<h1>Menu</h1>
<ul>
<?php foreach($page_list as $link): ?>
<?php if($link->url == 'redevelopment_commission'): ?>
<li><a href="<?=url::site('boards/redevelopment')?>">Home</a></li>
<?php else: ?>
<li><a href="<?=ur... | gpl-2.0 |
chenlian2015/gagablog | zenTao/module/todo/lang/zh-tw.php | 3550 | <?php
/**
* The todo module zh-tw file of ZenTaoPMS.
*
* @copyright Copyright 2009-2015 青島易軟天創網絡科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
* @license ZPL (http://zpl.pub/page/zplv11.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package todo
* @version... | gpl-2.0 |
aufau/jedi-outcast | CODE-mp/botlib/l_struct.cpp | 11655 |
/*****************************************************************************
* name: l_struct.c
*
* desc: structure reading / writing
*
* $Archive: /MissionPack/CODE/botlib/l_struct.c $
* $Author: Raduffy $
* $Revision: 1 $
* $Modtime: 12/20/99 8:43p $
* $Date: 3/08/00 11:28a $
*
**********************... | gpl-2.0 |
rymesaint/dimensi | application/modules/dashboard/views/header.php | 5222 | <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?>
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta name="description" content="">
<meta name="keyword" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo $title ?></title>
<... | gpl-2.0 |
MikeMangialardi/SirenOfShame-WithGoPlugin | UsbLib/UsbDeviceNotification.cs | 651 | using System;
using System.Windows.Forms;
namespace UsbLib
{
public class UsbDeviceNotification
{
private const int WM_DEVICECHANGE = 0x0219;
public event EventHandler UsbDeviceArrived;
public void WndProc(ref Message message)
{
switch (message.Msg)
{
... | gpl-2.0 |
bawelter/ijcsa | modules/mod_cck_form/mod_cck_form.php | 2066 | <?php
/**
* @version SEBLOD 3.x Core ~ $Id: mod_cck_form.php sebastienheraud $
* @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 P... | gpl-2.0 |
ablyx/teammates | src/main/webapp/js/instructorFeedbacks.js | 13669 | // TODO: Move constants from Common.js into appropriate files if not shared.
var TIMEZONE_SELECT_UNINITIALISED = '-9999';
$(document).ready(function() {
var isEdit = typeof readyFeedbackEditPage === 'function';
if (typeof richTextEditorBuilder !== 'undefined') {
/* eslint-disable camelcase */ // The p... | gpl-2.0 |
alucardxlx/caoticamente-shards | Scripts/Spells/Seventh/GateTravel.cs | 7056 | using System;
using Server.Network;
using Server.Multis;
using Server.Items;
using Server.Targeting;
using Server.Misc;
using Server.Regions;
using Server.Mobiles;
namespace Server.Spells.Seventh
{
public class GateTravelSpell : MagerySpell
{
private static SpellInfo m_Info = new SpellInfo(
"Gate... | gpl-2.0 |
zanderkyle/zandergraphics | administrator/components/com_rsseo/views/analytics/tmpl/general.php | 800 | <?php
/**
* @version 1.0.0
* @package RSSEO! 1.0.0
* @copyright (C) 2009-2012 www.rsjoomla.com
* @license GPL, http://www.gnu.org/copyleft/gpl.html
*/
defined('_JEXEC') or die('Restricted access'); ?>
<?php if (is_array($this->general)) { ?>
<fieldset>
<legend><?php echo JText::_('COM_RSSEO_GA_GENERAL'); ?></legend>
... | gpl-2.0 |
xebialabs/nio-overthere | src/test/java/com/xebialabs/overthere/nio/file/OvertherePathTest.java | 12828 | package com.xebialabs.overthere.nio.file;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.CoreMatchers.instanceOf;
import static org.hamcrest.CoreMatchers.notNullValue;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.... | gpl-2.0 |
quakerntj/UsbAccessory | UsbTest/src/ch/serverbox/android/usbtest/UsbTest.java | 6144 | package ch.serverbox.android.usbtest;
import java.io.FileDescriptor;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
import android.hardware.usb.UsbAccessory;
import android.hardware.usb.UsbManager;
import android.app.Activity;
import android.app.... | gpl-2.0 |
Fareroo7/SmartRobot | SmartRobot/src/at/htl/smartbot/EnvironmentalParameter.java | 1296 | package at.htl.smartbot;
/**
* Defines and calculates environmental parameters
* Primary the change of the acoustic velocity with the temperature.
*
* @author Jakob Ecker
* @author Domink Simon
* @version 1.0
*/
public class EnvironmentalParameter {
/**
* Acoustic velocity in air for temperat... | gpl-2.0 |
heqiaoliu/Viral-Dark-Matter | ivireons/server_ivireon_test/cgi-bin/Bioperl/toolbox/matlab/specgraph/private/src/3D.cpp | 2814 | /* Copyright 1993-2002 The MathWorks, Inc. */
/*
Source file for reducep MEX file
*/
static char rcsid[] = "$Revision: 1.4 $";
#include "std.h"
#include "random.h"
#include "3D.h"
Vec3 randomPoint(const Vec3& v1, const Vec3& v2)
{
real a = random1();
return a*v1 + (1-a)*v2;
}
Vec3 randomPoint(const Ve... | gpl-2.0 |
fejoa/IVANWorldmapResearch | WorldBuild_Locations.py | 6674 | # -*- coding: utf-8 -*-
"""
IVAN Worldmap Research
Copyright (C) Ryan van Herel
Released under the GNU General
Public License
See LICENSING which should be included
along with this file for more details
@author: fejoa
"""
import matplotlib.pyplot as plt
import numpy as np
import matplotlib.cm as cm
i... | gpl-2.0 |
Reality9/spiderfoot | modules/sfp_vuln.py | 7300 | #-------------------------------------------------------------------------------
# Name: sfp_vuln
# Purpose: Query external vulnerability sources to see if our target appears.
#
# Author: Steve Micallef <steve@binarypool.com>
#
# Created: 04/10/2015
# Copyright: (c) Steve Micallef
# Lice... | gpl-2.0 |
langmo/youscope | distribution/cellx/mex/circularHoughTransform.cpp | 12128 | #include "mex.h"
#include "matrix.h"
#define _USE_MATH_DEFINES
#include<cmath>
#include<list>
#include<stdio.h>
#include<string.h>
using namespace std;
//int p2i(int x, int y, int rowCount){return x*rowCount+y;}
/*
void rasterCircle(int x0, int y0, int radius, double* accumulationImage, int rowCount, int columnCo... | gpl-2.0 |
n3yang/n1 | content/themes/ningone/page-contacts.php | 883 | <?
get_header();
?>
<!-- Begin page content -->
<div class="container page">
<div class="page-header">
<img src="<?=bloginfo('template_url')?>/images/page-title-contact.png" alt="">
<h1>我们的心扉为你而开</h1>
</div>
<div class="page-content">
<img class="case-space" src="<?=bloginfo('template_url')?... | gpl-2.0 |
ph1l/halo_radio | HaloRadio/TopTable.py | 3264 | #
#
# Copyright (C) 2004 Philip J Freeman
#
# This file is part of halo_radio
#
# This program 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 Software Foundation, either version 3 of the License, or
# (at... | gpl-2.0 |
sam-dupras/rubble-engine | src/Client/Scripts/Classes/Player.js | 5753 | define(function(){
var Player = function(x,y,rotation,nickname){
this.x = x || 10;
this.y = y || 10;
this.radius = 15; //this should be sent from server
this.imageRadius = 20; // this should be sent from server
this.rotation = rotation || 0;
this.offset = (this.imageR... | gpl-2.0 |
alejob/mdanalysis | package/MDAnalysis/topology/tpr/obj.py | 4924 | # -*- Mode: python; tab-width: 4; indent-tabs-mode:nil; coding: utf-8 -*-
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4
#
# MDAnalysis --- http://www.mdanalysis.org
# Copyright (c) 2006-2016 The MDAnalysis Development Team and contributors
# (see the file AUTHORS for the full list of names)
#
# Released under t... | gpl-2.0 |
angryip/ipscan | test/net/azib/ipscan/core/net/UDPPingerTest.java | 420 | package net.azib.ipscan.core.net;
import net.azib.ipscan.config.Platform;
import org.junit.Test;
import java.io.IOException;
import static org.junit.Assume.assumeTrue;
public class UDPPingerTest extends AbstractPingerTest {
public UDPPingerTest() throws Exception {
super(UDPPinger.class);
}
@Test @Override
p... | gpl-2.0 |
GiuseppeGorgoglione/mame | src/devices/video/ramdac.cpp | 5514 | // license:BSD-3-Clause
// copyright-holders:Angelo Salese
/***************************************************************************
Generic Palette RAMDAC device
Written by Angelo Salese
TODO:
- masking register, almost likely it controls rollback on incrementing
r/w palette access;
- n... | gpl-2.0 |
zdogma/wordpress | wp-content/themes/simplicity/lib/ad.php | 5973 | <?php //広告関係の関数
//H2見出しを判別する正規表現を定数にする
define('H2_REG', '/<h2.*?>/i');//H2見出しのパターン
//本文中にH2見出しが最初に含まれている箇所を返す(含まれない場合はnullを返す)
//H3-H6しか使っていない場合は、h2部分を変更してください
function get_h2_included_in_body( $the_content ){
if ( preg_match( H2_REG, $the_content, $h2results )) {//H2見出しが本文中にあるかどうか
return $h2results[0]... | gpl-2.0 |
michael9999/bc-portal | wp-content/plugins/ht-knowledge-base/php/ht-knowledge-base-common-display-functions.php | 33310 | <?php
/*
* Pluggable common functions for the ht knowledge base
*/
if(!function_exists('ht_kb_breadcrumb_display')){
/**
* Breadcrumbs display
* @pluggable
*/
function ht_kb_breadcrumb_display( $sep = '<span class="sep">/</span>' ) {
//global WordPress variable $post. Needed to display multi-pag... | gpl-2.0 |
ethomas1985/CharacterManager | src/Pathfinder.Api/Searching/SearchChip.cs | 218 | namespace Pathfinder.Api.Searching
{
public class SearchChip
{
public string Name { get; set; }
public string Value { get; set; }
public override string ToString()
{
return $"{Name}:{Value}";
}
}
}
| gpl-2.0 |
arthurmelo88/palmetalADP | adempiere_360/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoAssignmentPanel.java | 12661 | /******************************************************************************
* Product: Posterita Ajax UI *
* Copyright (C) 2007 Posterita Ltd. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* under the terms version 2 of th... | gpl-2.0 |
jolay/intelisis3 | sites/all/modules/acquia/modules/ac_shortcode/ac_composer/assets/composer/js/backend/composer-atts.js | 9098 | /* =========================================================
* composer-atts.js v0.2.1
* =========================================================
* Copyright 2013 Wpbakery
*
* Visual composer backbone/underscore shortcodes attributes
* form field and parsing controls
* ==========================================... | gpl-2.0 |
jamielaff/als_resourcing | tmp/install_55cb054400b98/jsjobs/site/views/job/tmpl/myjobs.php | 22575 | <?php
/**
* @Copyright Copyright (C) 2009-2011
* @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
+ Created by: Ahmad Bilal
* Company: Buruj Solutions
+ Contact: www.burujsolutions.com , ahmad@burujsolutions.com
* Created on: Jan 11, 2009
^
+ Project: JS Jobs
* File Name: views/employer/t... | gpl-2.0 |
TylerConlee/BasicCMS | resources/views/errors/404.blade.php | 1107 | <!DOCTYPE html>
<html>
<head>
<title>Oops. Not Found</title>
<link href="https://fonts.googleapis.com/css?family=Lato:100" rel="stylesheet" type="text/css">
<style>
html, body {
height: 100%;
}
body {
margin: 0;
... | gpl-2.0 |
martolini/Vana | src/ChannelServer/SummonHandler.cpp | 8992 | /*
Copyright (C) 2008-2015 Vana Development 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 the Free Software Foundation; version 2
of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT... | gpl-2.0 |
DarkTerror/LaPosadaDelOcio | src/game/MapManager.cpp | 14867 | /*
* Copyright (C) 2005-2010 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 version 2 of the License, or
* (at your option) any later version.
*
... | gpl-2.0 |
MinnPost/minnpost-wordpress | wp-content/plugins/category-pagination-fix/category-pagefix.php | 2568 | <?php
/*
Plugin Name: Category pagination fix
Plugin URI: https://github.com/larsnystrom/category-pagination-fix
Description: Fixes 404 page error in pagination of category page while using custom permalink. Now added support for custom post types by using snippets from jdantzer plugin
Version: 3.2.3
Author: rahnas; ve... | gpl-2.0 |
tobbi/projectgenerator | target_includes/android_bridges/ApplicationView.java | 1970 | package de.fhflensburg.tobiasmarkus.androidBridge;
import java.util.ArrayList;
import android.view.View;
public class ApplicationView {
/**
* The Android activity
*/
private android.app.Activity parentContext = null;
/**
* Array list containing all subviews of this activity
*/
private ArrayL... | gpl-2.0 |
tu-vu-duy/betterthis | wp-content/plugins/genesis-featured-widget-amplified/widget.php | 42551 | <?php
/**
* To Do:
* Add support for Grid Loop (0.9)
* Make content float options with 2, 3, or 4 side by side clearing after the row (v0.9)
* Create Simple Hooks interface (1.0)
* Edit html to allow external style sheet instead of inline styles
* Add support for child pages (selected or... | gpl-2.0 |
martymcguire/epluribus | app/assets/javascripts/application.js | 729 | // This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat... | gpl-2.0 |
alexanderschnitzler/templavoila | Classes/Form/FormDataProvider/TcaFlexProcess.php | 39047 | <?php
/*
* This file is part of the TemplaVoilà project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license information, please read the
* LICENSE.... | gpl-2.0 |
softwaremechanic/Miscellaneous | Python/hw.py | 49 | def a(*args, **kwargs):
print("hello world")
| gpl-2.0 |
lemonlistry/show_blog | wp-content/plugins/wp-post-view/wp-post-view.php | 4983 | <?php
/*
Plugin Name: WP-post-view
Plugin URI:
Description: Easily display the views visited of each post. Tracks the views in each posts visited, views number are also display in each row of the post in the admin area. Simply add this code echo_post_views(get_the_ID()); anywhere to display AFTER <?php if (... | gpl-2.0 |
igpay/jimbo | js/modules/window.js | 1302 | var jimbo = jimbo || {};
/**
* window
* Deals with the active window
**/
jimbo.window = (function() {
/**
* addTabs(TabList or Tab tabs)
* Add all of the given tabs to the window
**/
function addTabs(tabs) {
tabs.open();
}
/**
* loadTabs(Tab or TabList tabs)
* Replace all tabs in the window with the given ... | gpl-2.0 |
tinymac/123 | src/server/scripts/Spells/spell_druid.cpp | 15791 | /*
* 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... | gpl-2.0 |
bakkdoor/yarps | src/vendor/plugins/gloc/lib/gloc-constants.rb | 540 | # Copyright (c) 2005-2007 David Barri
require 'yaml'
module GLoc
module Constants
UTF_8= 'utf-8'
SHIFT_JIS= 'sjis'
EUC_JP= 'euc-jp'
CONFIG= {
:default_language => :en,
:default_param_name => 'lang',
:default_cookie_name => 'lang',
:raise_string_not_found_errors => true,
... | gpl-2.0 |
ZmagoD/kirki | includes/class-kirki-init.php | 6794 | <?php
class Kirki_Init {
public static $control_types = array(
'checkbox' => 'Kirki_Controls_Checkbox_Control',
'code' => 'Kirki_Controls_Code_Control',
'color-alpha' => 'Kirki_Controls_Color_Alpha_Control',
'custom' => 'Kirki_Controls_Custom_Control',
'dimension' ... | gpl-2.0 |
Siguana/square | wp-content/themes/jaf/flows.php | 11348 | <?php
/*
Template Name: Flows
*/
?>
<!DOCTYPE html>
<html>
<head>
<!-- METAS -->
<meta charset="<?php bloginfo( 'charset' );?>" >
<!-- /METAS -->
<title><?php
/*With this code we add to Wordpress a tittle that changes according to the place where we are in the website.
You may use also bloginfo('name')
... | gpl-2.0 |
naoyawada/Concurrent | wp-content/themes/Total/js/global.js | 29832 | ( function( $ ) {
"use strict";
// VARS
var $window = $( window ),
$windowsize = $window.width(),
$isMobile = false,
$isRTL = wpexLocalize.isRTL,
$isOriginLeft = true,
$stickyOnMobile = wpexLocalize.stickyOnMobile,... | gpl-2.0 |
emundus/v6 | media/com_hikashop/mail/wishlist_share.preview.php | 1432 | <?php
/**
* @package HikaShop for Joomla!
* @version 4.4.0
* @author hikashop.com
* @copyright (C) 2010-2020 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php
class wishlist_sharePreviewMaker {
public $dis... | gpl-2.0 |
Drethek/Darkpeninsula-Wotlk | src/server/shared/Logging/Log.cpp | 26921 | /*
* Copyright (C) 2008-2011 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 |
thuesing/bmu_wiki | extensions/ReplaceText/ReplaceText.i18n.php | 199662 | <?php
/**
* Internationalization file for the Replace Text extension
*
* @file
* @ingroup Extensions
*/
$messages = array();
/** English
* @author Yaron Koren
*/
$messages['en'] = array(
// user messages
'replacetext' => 'Replace text',
'replacetext-desc' => 'Provides a [[Special:ReplaceText|special page]] ... | gpl-2.0 |
AaronWo/CampusHand | test/cn/edu/xmu/campushand/menu/CommonButton.java | 439 | package cn.edu.xmu.campushand.menu;
/**
* 普通按钮(子按钮)
*
* @author liufeng
* @date 2013-08-08
*/
public class CommonButton extends Button {
private String type;
private String key;
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
publi... | gpl-2.0 |
coders-circle/Notifica | android/app/src/main/java/com/toggle/notifica/RoutineFragment.java | 4053 | package com.toggle.notifica;
import android.os.Bundle;
import android.os.Parcelable;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentStatePagerAdapter;
import android.support.v4.content.ContextCompat;
import android.support.v4.view.ViewPager;... | gpl-2.0 |
flyapen/UgFlu | flumotion/manager/worker.py | 7708 | # -*- Mode: Python; test-case-name: flumotion.test.test_manager_worker -*-
# vi:si:et:sw=4:sts=4:ts=4
#
# Flumotion - a streaming media server
# Copyright (C) 2004,2005,2006,2007 Fluendo, S.L. (www.fluendo.com).
# All rights reserved.
# This file may be distributed and/or modified under the terms of
# the GNU General ... | gpl-2.0 |
SenseNet/sensenet | src/ContentRepository/Packaging/Steps/SetField.cs | 6573 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using SenseNet.ContentRepository;
using SenseNet.ContentRepository.Storage;
namespace SenseNet.Packaging.Steps
{
/// <summary>
/// Modifies a value of one or more fields on a content.
/// </summary>
public class SetFi... | gpl-2.0 |
sddaniels/wongs-wiivenge | client/LightingConsts.java | 890 | package client;
public class LightingConsts {
// light colors
public static final float[] white_light = { 1f, 1f, 1f, 1f };
public static final float[] red_light = { 1f, 0f, 0f, 1f };
public static final float[] green_light = { 0.6784f, 1f, 0.1843f, 1f };
public static final float[] lmodel_ambient = { 1.0f, 1... | gpl-2.0 |
ssanglee/capstone | php-5.4.6/ext/xmlrpc/tests/bug61264.phpt | 278 | --TEST--
Bug #61264: xmlrpc_parse_method_descriptions leaks temporary variable
--FILE--
<?php
$xml = <<<XML
<?xml version="1.0" encoding="utf-8"?>
<a>
<b>foo</b>
</a>
XML;
var_dump(xmlrpc_parse_method_descriptions($xml));
?>
--EXPECT--
array(1) {
["b"]=>
string(3) "foo"
}
| gpl-2.0 |
richy27/doodlle-E | administrator/manifests/packages/Social Pinboard Package/script.php | 2734 | <?php
/**
* @name Social Pin Board
* @version 1.0: com_subinstall.php$
* @since Joomla 1.5&1.6&1.7
* @package apptha
* @subpackage com_socialpinboard
* @author Contus Support
* @copyright Copyright (C) 2011 powered by Apptha
* @license GNU/GPL http://www.gnu.org/copyleft/gpl.htm... | gpl-2.0 |
binary10/Netduino | AlternateLightButton/AlternateLightButton/Properties/AssemblyInfo.cs | 870 | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Al... | gpl-2.0 |
lekenji/eccube | data/Smarty/templates_c/admin/%%F9^F9D^F9DE8AC3%%delivery.tpl.php | 6459 | <?php /* Smarty version 2.6.27, created on 2014-12-16 19:11:36
compiled from basis/delivery.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'script_escape', 'basis/delivery.tpl', 26, false),array('modifier', 'h', 'basi... | gpl-2.0 |
Udo/HomeOverlord | mvc/devices/devices.pairhm.php | 1521 | <?= $this->_getSubmenu2() ?>
<h1><?= l10n($_REQUEST['controller'].'.'.$_REQUEST['action']) ?></h1>
<div class="description">
</div>
<div id="modeindicator">
<input type="button" value="Start" onclick="startPairingMode();">
Pairing Mode <span id="modeindicatorldr" style="display:none;"><img src="icons/ajax-loader.... | gpl-2.0 |
DotNetAge/dotnetage | src/Foundation/DNA.Mvc.ServiceModel/Security/PermissionLoader.cs | 7120 | // Copyright (c) 2009-2013 DotNetAge (http://www.dotnetage.com)
// Licensed under the GPLv2: http://dotnetage.codeplex.com/license
// Project owner : Ray Liang (csharp2002@hotmail.com)
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System... | gpl-2.0 |
hackcraft-sk/swarm | overmind/app/presenters/BaseTournamentPresenter.php | 2027 | <?php
abstract class BaseTournamentPresenter extends BasePresenter {
private $selectedTournament = false;
public function startup() {
parent::startup();
if (isset($this->params["tournament"])) {
$tournament = $this->context->model->getTournamentByCode($this->getParameter("tournam... | gpl-2.0 |
zyz963272311/testGitHub | rootbase/src/com/liiwin/qrcode/QRCode.java | 3945 | package com.liiwin.qrcode;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.OutputStream;
import javax.imageio.ImageIO;
import com.swetake.util.Qrcode;
/**
* <p>标题: QRCode</p>
* <p>功能: </p>
* <p>所属模块: ICIP/PSP/AQSIQ</p>... | gpl-2.0 |
radovanx/artwp | wp-content/themes/arttrip/footer.php | 868 | <?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package arttrip
*/
?>
</main>
<div class="mdl-layout__obfuscator"></div>
<footer i... | gpl-2.0 |
vladzur/radiotray | src/mpris_root.py | 1739 | # Copyright (C) 2010 behrooz shabani (everplays) <behrooz@rock.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 3, or (at your option)
# any later version.
#
# This program ... | gpl-2.0 |
CombatWombat42/Makelangelo | java/src/org/kabeja/parser/DXFEntitiesSectionHandler.java | 3939 | /*
Copyright 2005 Simon Mieth
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wri... | gpl-2.0 |
shubhamchaudhary/uiet | cpp/lab/10ptrBase.cpp | 1331 | /**
* Name: Shubham Chaudhary
* Lab: OOPS
* Date: Apr 22, 2013
* Roll: UE113090
* Program: Access pointers of different classes using diff pointers
**/
#include <iostream>
using namespace std;
class Base{
int iv;
public:
void BaseInput... | gpl-2.0 |
ingran/balzac | custom_feeds/teltonika_luci/applications/luci-mobile_traffic/luasrc/model/cbi/mobile_traffic/configure.lua | 1022 | local utl = require "luci.util"
local sys = require "luci.sys"
local moduleVidPid = utl.trim(sys.exec("uci get system.module.vid")) .. ":" .. utl.trim(sys.exec("uci get system.module.pid"))
local sim_switch = utl.trim(sys.exec("uci get simcard.rules.switchdata"))
function fileExists(path, name)
local string = "ls "..... | gpl-2.0 |
themrkevin/mangubaby | wp-content/plugins/easy-timer/options-page.php | 4779 | <?php if ((isset($_GET['action'])) && (($_GET['action'] == 'reset') || ($_GET['action'] == 'uninstall'))) {
if ((isset($_POST['submit'])) && (check_admin_referer($_GET['page']))) {
if ($_GET['action'] == 'reset') { reset_easy_timer(); } else { delete_option('easy_timer'); } } ?>
<div class="wrap">
<h2>Easy Timer</h... | gpl-2.0 |
DoktorMike/neuralnethack | neuralnethack/mlp/QuasiNewton.hh | 5541 | /*$Id: QuasiNewton.hh 1626 2007-05-08 12:08:19Z michael $*/
/*
Copyright (C) 2004 Michael Green
neuralnethack 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 you... | gpl-2.0 |
TheTypoMaster/Scaper | openjdk/jdk/test/java/util/Collections/Ser.java | 3865 | /*
* Copyright 1999 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 Foundati... | gpl-2.0 |
DIPnet/popgenDB | sims_for_structure_paper/2PopDNAnorec_0.5_1000/2PopDNAnorec_1_963.res/2PopDNAnorec_1_963.js | 922 |
USETEXTLINKS = 1
STARTALLOPEN = 0
WRAPTEXT = 1
PRESERVESTATE = 0
HIGHLIGHT = 1
ICONPATH = 'file:////Users/eric/github/popgenDB/sims_for_structure_paper/2PopDNAnorec_0.5_1000/' //change if the gif's folder is a subfolder, for example: 'images/'
foldersTree = gFld("<i>ARLEQUIN RESULTS (2PopDNAnorec_1_963.arp)</i>", ... | gpl-2.0 |
HeBIS-VZ/vufind-module-hebis | src/Hebis/Form/PostForm.php | 462 | <?php
namespace Hebis\Form;
use Zend\Form\Form;
/**
* Class PostForm
* @package Hebis\Form
*/
class PostForm extends Form
{
public function init()
{
$this->add([
'name' => 'post',
'type' => PostFieldset::class,
]);
$this->add([
'type' => 'submit... | gpl-2.0 |
cuongnd/test_pro | media/kendo-ui-core-master/src/cultures/kendo.culture.en-IE.js | 2087 | (function( window, undefined ) {
kendo.cultures["en-IE"] = {
name: "en-IE",
numberFormat: {
pattern: ["-n"],
decimals: 2,
",": ",",
".": ".",
groupSize: [3],
percent: {
pattern: ["-n%","n%"],
dec... | gpl-2.0 |
st3w/CIS4914 | src/com/CIS4914/Blocked/Entities/Entity.java | 4378 | package com.CIS4914.Blocked.Entities;
import com.CIS4914.Blocked.Blocked;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.math.Intersector;
import com.badlogic.gdx.math.Rectangle;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx... | gpl-2.0 |
kushvarma/maison | wp-content/themes/simplearticle-v1-01/include/widget/popular-post-widget.php | 5319 | <?php
/**
* Plugin Name: Goodlayers Popular Post
* Plugin URI: http://goodlayers.com/
* Description: A widget that show popular posts( Specified by comment ).
* Version: 1.0
* Author: Goodlayers
* Author URI: http://www.goodlayers.com
*
*/
add_action( 'widgets_init', 'gdlr_popular_post_widget' );
i... | gpl-2.0 |
RedHatQE/cfme_tests | cfme/tests/generic_objects/test_instances.py | 10568 | # -*- coding: utf-8 -*-
import fauxfactory
import pytest
import cfme.rest.gen_data as rest_gen_data
from cfme import test_requirements
from cfme.base.login import BaseLoggedInPage
from cfme.services.myservice import MyService
from cfme.utils.appliance import ViaREST
from cfme.utils.appliance import ViaUI
from cfme.uti... | gpl-2.0 |
GreenJoey/My-Simple-Programs | java/CP/HackerRank/bigint-example.java | 393 | import java.math.BigInteger;
import java.util.Scanner;
class Solution {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
BigInteger num1 = BigInteger.valueOf(scan.nextLong());
BigInteger num2 = BigInteger.valueOf(scan.nextLong());
System.out.println(... | gpl-2.0 |
mariadb-corporation/mariadb-columnstore-engine | utils/funcexp/func_maketime.cpp | 4575 | /* Copyright (C) 2014 InfiniDB, Inc.
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 distributed in the hope that it will be useful,
but W... | gpl-2.0 |
blueliquiddesigns/gravity-forms-pdf-extended | src/assets/js/react/components/Template/TemplateScreenshots.js | 795 | import PropTypes from 'prop-types'
import React from 'react'
/**
* Display the Template Screenshot for the individual templates (uses different markup - out of our control)
*
* @package Gravity PDF
* @copyright Copyright (c) 2020, Blue Liquid Designs
* @license http://opensource.org/licenses/gpl-2.0.php... | gpl-2.0 |
drupalro/drupal-assoc-8 | web/modules/custom/da_view_reference_field/src/Plugin/Field/FieldType/ViewReference.php | 1207 | <?php
namespace Drupal\da_view_reference_field\Plugin\Field\FieldType;
use Drupal\Core\Field\FieldItemBase;
use Drupal\Core\Field\FieldStorageDefinitionInterface;
use Drupal\Core\TypedData\DataDefinition;
/**
* View reference plugin definition.
*
* @FieldType(
* id = "field_view_reference",
* label = @Trans... | gpl-2.0 |
rjbaniel/upoor | wp-content/themes/redoable/functions.php | 22462 | <?php
/* Current version of Redoable */
$current = '1.2';
if (!defined('SHOW_AUTHORS')) define('SHOW_AUTHORS', 'true');
if (!defined('TEMPLATE_DOMAIN')) define('TEMPLATE_DOMAIN','redo_domain');
////////////////////////////////////////////////////////////////////////////////
// load text domain
//////////////////... | gpl-2.0 |
cbedoy/WAYGRAM | TMessagesProj/src/main/java/org/telegram/messenger/FileLoader.java | 49306 | /*
* This is the source code of Telegram for Android v. 1.3.2.
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Nikolai Kudashov, 2013.
*/
package org.telegram.messenger;
import android.app.ActivityManager;
import android... | gpl-2.0 |
KodekPL/jWorldProtector | src/jcraft/wp/ProtectorPlugin.java | 3485 | package jcraft.wp;
import java.io.File;
import java.util.logging.Level;
import jcraft.wp.commands.ProtectorCommands;
import jcraft.wp.commands.RegionCommands;
import jcraft.wp.config.PluginConfig;
import jcraft.wp.listener.BlockListener;
import jcraft.wp.listener.EntityListener;
import jcraft.wp.listener.PlayerListen... | gpl-2.0 |
generalelectrix/wiggles | view/public/core/NewShow.js | 769 | import { view as view_1, update as update_1, initModel as initModel_1 } from "./SimpleEditor";
import { errorIfEmpty } from "./Util";
import { InputType } from "./Bootstrap";
import { ResponseFilter, ServerCommand } from "./Types";
export function initModel() {
return initModel_1("New", "Name for new show:", errorIfE... | gpl-2.0 |
joansmith/openmicroscopy | components/tools/OmeroWeb/omeroweb/webgateway/urls.py | 15598 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# webgateway/urls.py - django application url handling configuration
#
# Copyright (c) 2007, 2008, 2009 Glencoe Software, Inc. All rights reserved.
#
# This software is distributed under the terms described by the LICENCE file
# you can find at the root of the distributio... | gpl-2.0 |
drenteria/SistemaMigranha | src/main/java/edu/uniandes/ecos/arquisoft/view/ConsoleView.java | 1297 | package edu.uniandes.ecos.arquisoft.view;
import java.sql.Date;
import edu.uniandes.ecos.arquisoft.model.Genero;
import edu.uniandes.ecos.arquisoft.model.Paciente;
import edu.uniandes.ecos.arquisoft.model.TipoIdentificacion;
import edu.uniandes.ecos.arquisoft.service.GestionPacientes;
public class ConsoleView {
pu... | gpl-2.0 |
nextgis/nextgislogger | app/src/main/java/com/nextgis/logger/UI/fragment/NGIDSettingsFragment.java | 2388 | /*
* *****************************************************************************
* Project: NextGIS Logger
* Purpose: Productive data logger for Android
* Author: Stanislav Petriakov, becomeglory@gmail.com
* *****************************************************************************
* Copyright © 2017 NextGI... | gpl-2.0 |
nabnut/zabbix2.0-cookies | frontends/php/include/events.inc.php | 12098 | <?php
/*
** Zabbix
** Copyright (C) 2001-2013 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... | gpl-2.0 |
dienerpiske/Sabia | SabiaApp/bing.py | 3579 | """
/*
* ----------------------------------------------------------------------------
* "THE BEER-WARE LICENSE" (Revision 43):
* <neerajkumar@outlook.com> wrote this file. As long as you retain this notice you
* can do whatever you want with this stuff. If we meet some day, and you think
* this stuff is worth it,... | gpl-2.0 |
kol4ak/cross-media | sites/all/amodules/yashare/js/yashare.automatic.js | 179 | /*global Drupal: false, jQuery: false */
/*jslint devel: true, browser: true, maxerr: 50, indent: 2 */
(function($) {
"use strict";
Drupal.yashare.initialize();
})(jQuery);
| gpl-2.0 |
dustints/katello | app/controllers/katello/repositories_controller.rb | 2133 | #
# Copyright 2014 Red Hat, Inc.
#
# This software is licensed to you under the GNU General Public
# License as published by the Free Software Foundation; either version
# 2 of the License (GPLv2) or (at your option) any later version.
# There is NO WARRANTY for this software, express or implied,
# including the implie... | gpl-2.0 |
cuongnd/test_pro | libraries/legacy/response/response.php | 6456 | <?php
/**
* @package Joomla.Legacy
* @subpackage Response
*
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('_JEXEC') or die(__FILE__);
JLog::add('JResponse is deprecated.', JLog::WA... | gpl-2.0 |
tuyenln/liquidation | wp-content/plugins/woocommerce-simple-auctions/classes/woocommerce-simple-auctions-shortcode-my-auctions.php | 3202 | <?php
/**
* Shortcode [woocommerce_simple_auctions_my_auctions]
*
*/
class WC_Shortcode_Simple_Auction_My_Auctions {
/**
* Get shortcode content
*
* @access public
* @param array $atts
* @return string
*
*/
public static function get( $atts ) {
global $woocommerce;
return $woocommerce->shor... | gpl-2.0 |
inex/IXP-Manager | database/migrations/2020_02_06_204608_create_docstore_files.php | 642 | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateDocstoreFiles extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
// 2021-03-06 BOD: Migration ... | gpl-2.0 |
TeoTwawki/VirtualDub | src/disasm/source/encoder_tracedec.cpp | 2852 | #include <vector>
#include "ruleset.h"
#define iterate_forward(type, obj, it) if(0);else for(type::const_iterator it = (obj).begin(), it##End = (obj).end(); it != it##End; ++it)
void dump_tracedec(std::vector<char>& dst, const tRuleSystem& rulesys) {
long decomp_bytes = 0;
long packed_bytes = 0;
dst.resi... | gpl-2.0 |
daltonnyx/Vinabits_OM | Vinabits_OM_2017.Module.Web/Controllers/Navigation/NewActionNavigationViewController.Designer.cs | 1014 | namespace Vinabits_OM_2017.Module.Web.Controllers
{
partial class NewActionNavigationViewController
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resourc... | gpl-2.0 |
dawidcieszynski/Aero2ReloadService | Aero2ReloadService/CustomDevices/HuaweiE355.cs | 3213 | namespace Aero2Reload.Service.CustomDevices
{
using System;
using System.Net;
using System.Threading;
using Aero2Reload.Service.Loggers;
using RestSharp;
public class HuaweiE355
{
private readonly Logger eventLog;
public HuaweiE355(Logger eventLog)
... | gpl-2.0 |
guryev-skol/opt_coils | src_sie/src_coupling/src_quadraturemex/coupling_qmex/QuadScat2Coil_ompmex.cpp | 8795 | #include "mex.h"
#include <math.h>
#include "matrix.h"
#include <complex>
#include <omp.h>
#include "stdint.h"
using namespace std;
void Coupling ( const double r1[3], const double r2[3], const double r3[3], const double r_obs[3], const double ko, const int Np_2D, const double Z1[], const double Z2[], const double Z3... | gpl-2.0 |
mxabierto/fonden | Gruntfile.js | 11871 | 'use strict';
module.exports = function ( grunt ) {
var appConfig = {
app : 'app',
dist : 'dist',
livereload : 35729
};
require( 'load-grunt-tasks' )( grunt );
require( 'time-grunt' )( grunt );
grunt.initConfig({
config : appCon... | gpl-2.0 |
jiangxincode/thesis | hadoop/src/edu/sunyuanshuai/sharememoryinnerproduct/HDFSOperator.java | 571 | package edu.sunyuanshuai.sharememoryinnerproduct;
/*
* <author>孙远帅</author>
* <date>2012/10/26</date>
* <email>sunyuanshuai@Gmail.com</email>
*/
import java.io.IOException;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
public class HDFSOper... | gpl-2.0 |
ThomasXBMC/XCSoar | src/Math/KalmanFilter1d.hpp | 3792 | /* Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2015 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | gpl-2.0 |
rex-xxx/mt6572_x201 | sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/OnClickDetector.java | 9327 | /*
* Copyright (C) 2012 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 |