repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
Xervmon/b2b | components/com_xipt/libraries/acl/invitefriend/invitefriend.php | 584 | <?php
/**
* @Copyright Ready Bytes Software Labs Pvt. Ltd. (C) 2010- author-Team Joomlaxi
* @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
**/
// no direct access
if(!defined('_JEXEC')) die('Restricted access');
class invitefriend extends XiptAclBase
{
function getResourceOwner($data)
{
return $data['userid... | gpl-2.0 |
a-rodin/qstardict | translations/qstardict-ru_RU.ts | 30820 | <?xml version="1.0" ?><!DOCTYPE TS><TS language="ru_RU" version="2.1">
<context>
<name>AddDictionaryDialog</name>
<message>
<source>Add dictionary</source>
<translation>Добавить словарь</translation>
</message>
<message>
<source>Name:</source>
<translation>Название:</tran... | gpl-2.0 |
hubzero/hubzero-cms | core/migrations/Migration20130924000003ComBanners.php | 14559 | <?php
/**
* @package hubzero-cms
* @copyright Copyright (c) 2005-2020 The Regents of the University of California.
* @license http://opensource.org/licenses/MIT MIT
*/
use Hubzero\Content\Migration\Base;
// No direct access
defined('_HZEXEC_') or die();
/**
* Migration script for joomla banner tables
**... | gpl-2.0 |
Nilaksha/sep_2013 | administrator/components/com_newsfeeds/views/newsfeeds/view.html.php | 4813 | <?php
/**
* @package Joomla.Administrator
* @subpackage com_newsfeeds
*
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* View class for a list of newsfeed... | gpl-2.0 |
jokeregistry/jokeregistryweb | jokeregistryweb/jokes/tests.py | 3202 | from django.test import TestCase, override_settings, RequestFactory
from jokeregistryweb.jokes.models import Joke
from jokeregistryweb.jokes.views import load
from jokeregistryweb.accounts.models import User
from datetime import datetime
import pytz
import responses
from unittest.mock import MagicMock
class JokeTes... | gpl-2.0 |
petterreinholdtsen/cinelerra-hv | plugins/timeavg/timeavgwindow.C | 6976 |
/*
* CINELERRA
* Copyright (C) 2008 Adam Williams <broadcast at earthling dot 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 optio... | gpl-2.0 |
Automattic/amp-wp | blocks/utils.js | 2271 | const { __ } = wp.i18n;
const {
TextControl,
SelectControl,
Notice,
Placeholder
} = wp.components;
/**
* Display media placeholder.
*
* @param {string} name Block's name.
* @param {string|boolean} url URL.
* @return {XML} Placeholder.
*/
export function getMediaPlaceholder( name, url ) {
return (
<Placeho... | gpl-2.0 |
idea-lab/Spectrum | wp-content/themes/90s-retro/content/loop-page.php | 1454 | <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<!-- BEGIN .page-holder -->
<div class="page-holder">
<!-- BEGIN .article -->
<div class="article">
<?php if ( ! has_post_thumbnail() ) { ?>
<h1 class="headline"><?php the_title(); ?></h1>
<?php } ?>
<?php the_content( esc_html__("Read Mo... | gpl-2.0 |
schmidtfederico/PRinde | core/lib/io/file.py | 3152 | # coding=utf-8
import os
__author__ = 'Federico Schmidt'
def absdirname(f):
"""
Devuelve el path absoluto a la carpeta que contiene al archivo.
@param f
"""
return os.path.abspath(os.path.dirname(os.path.realpath(f)))
def listdir_fullpath(d, onlyFiles=False, recursive=False, filter=None):
l... | gpl-2.0 |
chrisb13/mkpaper | examples/example_mkpaper_doc.py | 2303 | # Author: Christopher Bull.
# Affiliation: Climate Change Research Centre and ARC Centre of Excellence for Climate System Science.
# Level 4, Mathews Building
# University of New South Wales
# Sydney, NSW, Australia, 2052
# Contact: z3457920@student.unsw.edu.au
# ww... | gpl-2.0 |
amshove/mx_router | webinterface/soap/Turniere.php | 8115 | <?php
#######################################################
# -------------------- mx_router -------------------- #
# Copyright (C) Torsten Amshove <torsten@amshove.net> #
# See: http://www.amshove.net #
#######################################################
$log_ident = substr(md5(mt_rand())... | gpl-2.0 |
vcmi/vcmi_old_mirror | lib/mapping/CMap.cpp | 12586 | #include "StdInc.h"
#include "CMap.h"
#include "../CArtHandler.h"
#include "../VCMI_Lib.h"
#include "../CCreatureHandler.h"
#include "../CTownHandler.h"
#include "../CHeroHandler.h"
#include "../CDefObjInfoHandler.h"
#include "../CGeneralTextHandler.h"
#include "../CSpellHandler.h"
#include "CMapEditManager... | gpl-2.0 |
ccp137/GemPuzzle | cchai/gempuzzle/gempuzzle/main.cpp | 280 | //
// main.cpp -- entry point for testing GemPuzzle project
//
// Written by Xiaotian Zhu
//
#include <iostream>
#include "Puzzle.h"
#include "Game.h"
#include "tests.h"
#include <time.h>
using namespace std;
int main()
{
testPuzzle();
//testGame();
return 0;
}
| gpl-2.0 |
slip/Sorba-Atlanta-Redesign | node_modules/devbridge-styleguide/app.js | 1511 | var express = require('express'),
bodyParser = require('body-parser'),
snippets = require('./routes/snippets'),
categories = require('./routes/categories'),
scraper = require('./routes/scrape'),
app = express();
//var logger = require('morgan');
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
//app.use(l... | gpl-2.0 |
soeffing/openx_test | lib/max/other/common.php | 27987 | <?php
/*
+---------------------------------------------------------------------------+
| OpenX v2.8 |
| ========== |
| |... | gpl-2.0 |
ETSGlobal/ezpublish_built | lib/ezdbschema/classes/ezdbschema.php | 4306 | <?php
/**
* File containing the eZDbSchema class.
*
* @copyright Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
* @version 2011.12
* @package lib
*/
/*!
\class eZDbSchema ezdbschema.php
\ingroup eZDbSchema
\brie... | gpl-2.0 |
vishwaAbhinav/OpenNMS | opennms-webapp/src/main/java/org/opennms/web/controller/EditProvisioningGroupController.java | 13416 | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2006-2012 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | gpl-2.0 |
LucinoOliveira/exemplos | curso/mod17-phpHtml/ex1-php.php | 673 | <?php
/*
* Curso de PHP
* Aluno: Lucino Gonzaga
* E-mail: lucino2@gmail.com
* Linguagem: PHP 5.6
* Módulo 17 - Utilizando PHP com HTML
* Acesso a variáveis de formulários em HTML
*/
?>
<html>
<body>
<?php
$nota = $_POST['nota'];
echo "A nota do aluno foi $nota";
echo "<br>";
if ( $nota < 60 ):
echo "A... | gpl-2.0 |
mviitanen/marsmod | mcp/temp/src/minecraft/net/minecraft/client/renderer/RenderSorter.java | 1178 | package net.minecraft.client.renderer;
import java.util.Comparator;
import net.minecraft.client.renderer.WorldRenderer;
import net.minecraft.entity.EntityLivingBase;
public class RenderSorter implements Comparator {
private EntityLivingBase field_78945_a;
private static final String __OBFID = "CL_00000943";
... | gpl-2.0 |
sharpmachine/connielofgreen.com | wp-content/plugins/affiliate-royale/classes/views/shared/unknown_error.php | 70 | <h3><?php _e('An Unknown Error Occurred', 'affiliate-royale'); ?></h3> | gpl-2.0 |
kralf/bouml | src/bin/java_generator/UmlArtifact.cpp | 8091 | // *************************************************************************
//
// Copyright 2004-2010 Bruno PAGES .
//
// This file is part of the BOUML Uml Toolkit.
//
// 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 |
dederobert/CPOA-Projet | FichePaie/src/appli/vue/FichePaie.java | 813 | package appli.vue;
import java.awt.Dimension;
import javax.swing.JFrame;
import appli.vue.panels.PanelFichePaie;
public class FichePaie extends JFrame{
private static final long serialVersionUID = 1L;
private static PanelFichePaie panel = new PanelFichePaie();
public FichePaie(String nom, String ... | gpl-2.0 |
Simpler1/ZoneMinder | web/skins/classic/views/js/zone.js | 26971 | function validateForm( form ) {
var errors = new Array();
if ( selfIntersecting ) {
errors[errors.length] = selfIntersectingString;
}
if ( form.elements['newZone[Type]'].value != 'Inactive' && form.elements['newZone[Type]'].value != 'Privacy' ) {
if ( !form.newAlarmRgbR.value || !form.newAlarmRgbG.value... | gpl-2.0 |
FSteitz/KeePass | KeePass/Forms/UrlOverridesForm.cs | 6995 | /*
KeePass Password Safe - The Open-Source Password Manager
Copyright (C) 2003-2017 Dominik Reichl <dominik.reichl@t-online.de>
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... | gpl-2.0 |
johnson741/frogpond | wp-config.php | 3374 | <?php
/**
* The base configurations of the WordPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys, WordPress Language, and ABSPATH. You can find more information
* by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
* wp-config.php} Codex pag... | gpl-2.0 |
csakis/abmining | accumulation.py | 1513 | #!/usr/bin/python
__author__ = 'Csaba Kiss'
__email__ = 'csakis[at]lanl[dot]gov'
import sys
from blist import blist
"""This file estimates the library size using accumulation using the .cdr3 output of the pipeline"""
if len(sys.argv) < 2:
cdr3_in = raw_input('Please input the file containing all the HCDR3s: ')
else... | gpl-2.0 |
archonwang/redmine_tweaks | assets/javascripts/locales/bootstrap-datepicker.zh.min.js | 591 | !function(a){a.fn.datepicker.dates["zh"]={days:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],daysShort:["周日","周一","周二","周三","周四","周五","周六"],daysMin:["日","一","二","三","四","五","六"],months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthsShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12... | gpl-2.0 |
darconeous/sdcc | sim/ucsim/z80.src/z80.cc | 17136 | /*
* Simulator of microcontrollers (z80.cc)
*
* some z80 code base from Karl Bongers karl@turbobit.com
*
* Copyright (C) 1999,99 Drotos Daniel, Talker Bt.
*
* To contact author send email to drdani@mazsola.iit.uni-miskolc.hu
*
*/
/* This file is part of microcontroller simulator: ucsim.
UCSIM is free softwar... | gpl-2.0 |
andrewbasterfield/mysqlcc | translations/Deutsch.ts | 140221 | <!DOCTYPE TS><TS>
<context>
<name>CAboutBox</name>
<message>
<source>About</source>
<translation>Über</translation>
</message>
<message>
<source>This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published ... | gpl-2.0 |
samuelpenn/mapcraft | worldgen/src/main/java/uk/org/glendale/worldgen/astro/planet/builders/JovianWorld.java | 3495 | /*
* Copyright (C) 2011, 2012 Samuel Penn, sam@glendale.org.uk
*
* 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.
* See the file COPYING.
*/
package uk.org.glendale.worldgen.ast... | gpl-2.0 |
Jiri-Kremser/euler | 062/Problem.scala | 333 | object Problem {
def main(args: Array[String]) {
val start = System.currentTimeMillis
println(Stream.from(0).map(x => x * x * x.toLong).take(10000).toList.groupBy(_.toString.sorted).filter(_._2.size == 5).map(_._2.head).min)
val stop = System.currentTimeMillis
println("Time taken: " + (stop - start) +... | gpl-2.0 |
mviitanen/marsmod | mcp/temp/src/minecraft/net/minecraft/client/network/NetHandlerHandshakeMemory.java | 2311 | package net.minecraft.client.network;
import net.minecraft.network.EnumConnectionState;
import net.minecraft.network.NetworkManager;
import net.minecraft.network.handshake.INetHandlerHandshakeServer;
import net.minecraft.network.handshake.client.C00Handshake;
import net.minecraft.server.MinecraftServer;
import net.min... | gpl-2.0 |
benjaminug/osgeo-drupal | sites/default/themes/osgeo/node.tpl.php | 787 | <div id="node-<?php print $node->nid; ?>" class="node<?php if ($sticky) { print ' sticky'; } ?><?php if (!$status) { print ' node-unpublished'; } ?>">
<?php print $user_picture; ?>
<?php print render($title_prefix); ?>
<?php if (!$page): ?>
<h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?... | gpl-2.0 |
bozokyzoltan/Disordered_conformers | extract_structure.py | 1637 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Created by Zoltan Bozoky on 2014.09.08.
Under GPL licence.
Purpose:
========
* Extract certain PDBs out of the STR file
"""
import sys
import os
from disconf import fileio
from disconf import path
def save_one_pdb_file(NAME, folders, extentions, conformernumber):
... | gpl-2.0 |
ryanaustincarlson/camera-adaboost | adaboost/stuff.cpp | 910 | // tests stuff
#include <ctime>
#include <vector>
#include <cstdio>
#include <cstdlib>
#include "WeakClassifier.h"
#include "FeatureVector.h"
#include "TrainingData.h"
#include "circles.h"
using namespace std;
void test_classes();
bool ret_true();
int main(){
srand(time(NULL));
int isTrue = ret_true() ? 1 : -1... | gpl-2.0 |
tinkershell/drupal | sites/default/files/php/twig/0b421598_image-style.html.twig_deebc85b0cb1a96265a685f92347421987ee3639b5e4bd36f07e93dcd993de0a/2c5422ec68f8366bbd48b76560ecae9ab138e8e9ce0f887c5c4fa81243ba5b61.php | 1562 | <?php
/* core/themes/classy/templates/field/image-style.html.twig */
class __TwigTemplate_0ee0126b076d7f2c7a3253e6e5d66fd2e820aeb2efa62efa7cb53fa851e28fd1 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$th... | gpl-2.0 |
FreeCol/freecol | src/net/sf/freecol/client/gui/ModifierFormat.java | 4830 | /**
* Copyright (C) 2002-2022 The FreeCol Team
*
* This file is part of FreeCol.
*
* FreeCol 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 optio... | gpl-2.0 |
marlonwang/BookManage | ViewMain/ReaderForm.Designer.cs | 31259 | namespace ViewMain
{
partial class ReaderForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <para... | gpl-2.0 |
colloquium/spacewalk | java/code/src/com/redhat/rhn/domain/monitoring/notification/NotificationFactory.java | 8389 | /**
* Copyright (c) 2009--2010 Red Hat, Inc.
*
* This software is licensed to you under the GNU General Public License,
* version 2 (GPLv2). There is NO WARRANTY for this software, express or
* implied, including the implied warranties of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. You should have rece... | gpl-2.0 |
aishangzoulu/raylew_searchengine_server | com-searchengine-preprocess/src/main/java/com/searchengine/preprocess/alpha/util/MD5.java | 10576 | package com.searchengine.preprocess.alpha.util;
import java.lang.reflect. * ;
public class MD5 {
static final int S11 = 7 ;
static final int S12 = 12 ;
static final int S13 = 17 ;
static final int S14 = 22 ;
static final int S21 = 5 ;
static final int S... | gpl-2.0 |
j5shi/Thruster | pylibs/test/test_normalization.py | 3233 | from test.test_support import run_unittest, open_urlresource
import unittest
from httplib import HTTPException
import sys
import os
from unicodedata import normalize, unidata_version
TESTDATAFILE = "NormalizationTest.txt"
TESTDATAURL = "http://www.unicode.org/Public/" + unidata_version + "/ucd/" + TESTDATAFI... | gpl-2.0 |
jcasabona/parsec | page-one-col.php | 606 | <?php
/**
* Template Name: One Column
*
* @package Parsec
*/
get_header(); ?>
<div id="primary" class="content-area one-col">
<main id="main" class="site-main" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
<?php
// If comments are... | gpl-2.0 |
tyzhaoqi/cartalk | src/com/cartalk/ChartPreferActivity.java | 1118 | package com.cartalk;
import android.content.Intent;
import android.os.Bundle;
import android.preference.Preference;
import android.preference.PreferenceScreen;
import android.preference.Preference.OnPreferenceClickListener;
import android.preference.PreferenceActivity;
import android.preference.Preference.OnPreference... | gpl-2.0 |
adini121/WebDriver | src/main/java/org/sayem/webdriver/basics/webdriver/examples/ScreenshotTests.java | 1252 | package org.sayem.webdriver.basics.webdriver.examples;
import org.apache.commons.io.FileUtils;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.*;
import org.openqa.selenium.firefox.FirefoxDriver;
import java.io.File;
public class ScreenshotTests {
... | gpl-2.0 |
kosmosby/medicine-prof | administrator/components/com_uddeim/language/vietnamese.php | 107595 | <?php
// *******************************************************************
// Title udde Instant Messages (uddeIM)
// Description Instant Messages System for Mambo 4.5 / Joomla 1.0 / Joomla 1.5
// Author © 2007-2010 Stephan Slabihoud, © 2006 Benjamin Zweifel
// License This is free software... | gpl-2.0 |
Wittyshare/wscore | tests/User/main.cpp | 327 | /**
*
* @file main.cpp
*
* @brief Main class for tests
*
* @version 1.0
* @date 07/11/11 10:46:15
*
* Author: Benoit Daccache, ben.daccache@gmail.com
*
*
*/
#include "UserTest.h"
int main()
{
UserTest test;
test.runTests();
cout << "All user tests succeded" << endl;
retur... | gpl-2.0 |
pachuc/dijjer | src/dijjer/io/xfer/http/HttpBlockReceiver.java | 3218 | /*
* Dijjer - A Peer to Peer HTTP Cache
* Copyright (C) 2004,2005 Change.Tv, 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; either version 2 of the License, or
* (at your option) a... | gpl-2.0 |
ScottJr/mgallagher | wp-content/themes/mgallagher2015/content-search.php | 814 | <?php
/**
* The template part for displaying results in search pages.
*
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package mgallagher2015
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php the_title( sprintf( '<h1 class="entry-title"><... | gpl-2.0 |
s2sprodotti/SDS | SistemaDellaSicurezza/src/com/apconsulting/luna/ejb/ContServLuoghiEsecuzione/IContServLuoghiEsecuzione.java | 1977 | /** ======================================================================== */
/** */
/** @copyright Copyright (c) 2010-2015, S2S s.r.l. */
/** @license http://www.gnu.org/licenses/gpl-2.0.html GNU Public License v.2 */
/** @version 6.0 ... | gpl-2.0 |
kaseyan/memo | WebContent/js/wsmemo.js | 351 |
function $(id) {
return document.getElementById(id);
}
function createXMLHttpRequest() {
var res = null;
try {
res = new XMLHttpRequest();
} catch (e) {
try {
res = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
res = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e) {
return nu... | gpl-2.0 |
rymesaint/dimensi | application/modules/anime/controllers/Anime.php | 11661 | <?php defined('BASEPATH') OR exit('No direct script access allowed');
class Anime extends CI_Controller {
/**
*
* Load related model to anime and load library :
* )Generate Genre : To regenerate the genre from database with linked link.
* )AZ Plugin : Create a pagination anime from alfabet filter.
* )Vo... | gpl-2.0 |
RAeschimann/bergauf-app | bergauf/app/home/directives/swisstopo-map-directive.ts | 1512 | ///<reference path='../../../typings/tsd.d.ts' />
module SwisstopoMap {
'use strict';
/**
* @ngdoc directive
* @name home.directive:swisstopoMap
* @restrict EA
* @element
*
* @description
*
* @example
<example module="home">
<file name="index.html">
<swisstopo-map></swisstopo-map>... | gpl-2.0 |
TOMIGalway/cmoct-sourcecode | src/com/joey/software/link/Memory.java | 1560 | /*******************************************************************************
* Copyright (c) 2012 joey.enfield.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
... | gpl-2.0 |
nhikieuvn2012/price4limo | wp-content/themes/thesis_183/lib/functions/document.php | 3627 | <?php
function thesis_redirect() {
global $wp_query;
if ($wp_query->is_singular) {
$redirect = get_post_meta($wp_query->post->ID, 'thesis_redirect', true);
if ($redirect) {
wp_redirect($redirect, 301);
exit;
}
}
}
function thesis_feed_url() {
global $thesis_site;
$feed_url = ($thesis_site->head['feed... | gpl-2.0 |
bmcage/stickproject | stick/bednet/bednetmodel.py | 13357 | #
# Copyright (C) 2010 B. Malengier
# Copyright (C) 2010 P.Li
#
# 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 |
cherishqq/wuguangguang | wp-content/plugins/seopress/includes/lib/wordpress/functions.php | 1958 | <?php
/**
* SeoPress functions
*
* @package SeoPress
* @author Sven Lehnert, Sven Wagener
* @copyright Copyright (C) Themekraft.com
**/
if(!function_exists('get_blog_option')){
function get_blog_option( $blog_id, $option_name, $default = false ) {
return get_option( $option_name, $default );
}
}
if(!functio... | gpl-2.0 |
wp-plugins/breezing-forms | platform/administrator/components/com_breezingforms/admin/element.html.php | 125013 | <?php
/**
* BreezingForms - A Joomla Forms Application
* @version 1.8
* @package BreezingForms
* @copyright (C) 2008-2012 by Markus Bopp
* @license Released under the terms of the GNU General Public License
**/
defined('_JEXEC') or die('Direct Access to this location is not allowed.');
require_once($ff_compath.'/facil... | gpl-2.0 |
TeoTwawki/VirtualDub | src/samplefilter/source/main.cpp | 12541 | #include <vd2/plugin/vdvideofiltold.h>
#include <vd2/plugin/vdvideoutil.h>
#include <math.h>
#include <stdio.h>
#include <windows.h>
#include "resource.h"
HINSTANCE g_hInst;
///////////////////////////////////
int tutorial_null_run(const FilterActivation *fa, const FilterFunctions *ff) {
return 0;
... | gpl-2.0 |
nihrain/accelerate | wp-content/plugins/ninja-forms/includes/admin/edit-field/req.php | 1178 | <?php if ( ! defined( 'ABSPATH' ) ) exit;
add_action('init', 'ninja_forms_register_edit_field_required');
function ninja_forms_register_edit_field_required(){
add_action('nf_edit_field_restrictions', 'ninja_forms_field_required', 9, 2 );
}
function ninja_forms_field_required( $field_id, $field_data ) {
global $ninja... | gpl-2.0 |
s-duret/centreon | www/api/index.php | 4986 | <?php
/*
* Copyright 2005-2015 Centreon
* Centreon is developped by : Julien Mathis and Romain Le Merlus under
* GPL Licence 2.0.
*
* 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... | gpl-2.0 |
henriquespedro/Autarquia-Livre | backend/views/viewer-group/index.php | 2077 | <?php
use yii\helpers\Html;
use yii\grid\GridView;
use app\models\Group;
/* @var $this yii\web\View */
/* @var $searchModel app\models\ViewerGroupSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Segurança';
$this->params['breadcrumbs'][] = ['label' => 'Visualizador', 'url' => array('vie... | gpl-2.0 |
edom-huang/myBlog | vendor/bower_dl/pickadate/tests/jquery.1.7.0.js | 312376 | /*!
* jQuery JavaScript Library v1.7
* http://jquery.com/
*
* Copyright 2011, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2011, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
*... | gpl-2.0 |
hardvain/mono-compiler | class/System.Design/System.Windows.Forms.Design/ParentControlDesigner.cs | 22435 | //
// System.Windows.Forms.Design.ParentControlDesigner
//
// Authors:
// Ivan N. Zlatev (contact i-nZ.net)
//
// (C) 2006 Ivan N. Zlatev
//
// 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 Softw... | gpl-2.0 |
spencerfinnell/sacr | content-further-research.php | 1147 | <?php return; ?>
<section class="further divider before">
<div class="container">
<div class="span-two-thirds alignleft">
<h2 class="section-title">Further Research</h2>
<div class="row clearfix">
<div class="span-one-third alignleft">
<h3 class="sub-section">People</h3>
<?php
wp_na... | gpl-2.0 |
syoninfomedia/INSIV_SCRIPTS | wp-content/plugins/wp-email-template/wp-email-template.php | 2733 | <?php
/*
Plugin Name: WP Email Template LITE
Plugin URI: http://a3rev.com/shop/wp-email-template/
Description: This plugin automatically adds a professional, responsive, customizable, email browser optimized HTML template for all WordPress and WordPress plugin generated emails that are sent from your site to customers ... | gpl-2.0 |
fittipaldi/com_polls | mod_polls/helper.php | 1378 | <?php
/**
* @package Joomla.Site
* @subpackage mod_banners
*
* @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* Helper for mod_banners
*
* @package Jo... | gpl-2.0 |
DRNadler/DRN_TopHat | android/src/NativeI2CbaroListener.java | 1314 | /*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2013 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 |
johannes-mueller/ardour | gtk2_ardour/keyboard.cc | 11094 | /*
Copyright (C) 2001 Paul Davis
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 distr... | gpl-2.0 |
papillon-cendre/d8 | vendor/symfony/http-kernel/EventListener/LocaleListener.php | 3530 | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\HttpKernel\EventListener;
use Symfony\Component\Event... | gpl-2.0 |
apicescn/xxl-job | xxl-job-core/src/main/java/com/xxl/job/core/util/JacksonUtil.java | 2369 | package com.xxl.job.core.util;
import com.fasterxml.jackson.core.JsonGenerationException;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.JsonMappingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import... | gpl-2.0 |
anton-troshin/clematis.desktop | libs/kiwi/src/main/java/com/hyperrealm/kiwi/ui/LocaleChooser.java | 3304 | /* ----------------------------------------------------------------------------
The Kiwi Toolkit - A Java Class Library
Copyright (C) 1998-2008 Mark A. Lindner
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Fr... | gpl-2.0 |
alexey-lysiuk/beye | src/fileutil.cpp | 36996 | #include "config.h"
#include "libbeye/libbeye.h"
using namespace usr;
/**
* @namespace usr
* @file fileutil.c
* @brief This file contains file utilities of BEYE project.
* @version -
* @remark this source file is part of Binary EYE project (BEYE).
* The Binary EYE (BEYE) is copy... | gpl-2.0 |
KarolBedkowski/wxgtd | wxgtd/wxtools/wxshell.py | 832 | #!/usr/bin/python
# -*- coding: utf-8 -*-
# pylint: disable-msg=R0901, R0904
""" wxShell (pyCrust)
Copyright (c) Karol Będkowski, 2004-2013
This file is part of kPyLibs
This 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 |
janinko/ETS-ZA | ets-za/src/main/java/eu/janinko/etsza/ai/goals/Utility.java | 311 |
package eu.janinko.etsza.ai.goals;
import eu.janinko.etsza.ai.agents.Agent;
/**
*
* @author Honza Brázdil <janinko.g@gmail.com>
*/
public interface Utility<K extends Agent> {
//double getCurrentUtility(K h);
//double getUtilityWhen(WorldModel model);
void updatePlan(Plan plan, K agent);
}
| gpl-2.0 |
Sophist-UK/Sophist_picard | picard/formats/mutagenext/compatid3.py | 2421 | # -*- coding: utf-8 -*-
#
# Picard, the next-generation MusicBrainz tagger
#
# Copyright (C) 2005 Michael Urman
# Copyright (C) 2006-2008, 2011-2012 Lukáš Lalinský
# Copyright (C) 2013-2014 Sophist-UK
# Copyright (C) 2013-2014, 2018 Laurent Monin
# Copyright (C) 2014, 2018-2019 Philipp Wolfer
# Copyright (C) 2016 Chris... | gpl-2.0 |
smeny/JPC | src/main/java/com/github/smeny/jpc/emulator/execution/opcodes/rm/fprem.java | 2744 | /*
JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine
Copyright (C) 2012-2013 Ian Preston
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as published by
the Free Software Foundation.
This progra... | gpl-2.0 |
billf5293/javampd | src/test/java/org/bff/javampd/command/MPDCommandExecutorTest.java | 10350 | package org.bff.javampd.command;
import org.bff.javampd.server.*;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;
import java.io.IOException;
import java.io.PrintWriter;
import java.net.InetAddress;
import ... | gpl-2.0 |
hantsairquality/monitor_v1 | bmp180.py | 4038 | #!/usr/bin/python
#--------------------------------------
# ___ ___ _ ____
# / _ \/ _ \(_) __/__ __ __
# / , _/ ___/ /\ \/ _ \/ // /
# /_/|_/_/ /_/___/ .__/\_, /
# /_/ /___/
#
# bmp180.py
# Read data from a digital pressure sensor.
#
# Author : Matt Hawkins
# Date : 17/02/2017
#
... | gpl-2.0 |
fengzhongdege/TIJ4 | src/main/java/course/holding/ListFeatures.java | 2889 | //: holding/ListFeatures.java
package course.holding; /* Added by Eclipse.py */
import typeinfo.pets.*;
import java.util.*;
import static net.mindview.util.Print.*;
public class ListFeatures {
public static void main(String[] args) {
Random rand = new Random(47);
List<Pet> pets = Pets.arrayList(7);
... | gpl-2.0 |
ovidiul/XCloner-Wordpress | admin/partials/xcloner_init_page.php | 13700 | <?php
/**
* Provide a admin area view for the plugin
*
* This file is used to markup the admin-facing aspects of the plugin.
*
* @link http://www.thinkovi.com
* @since 1.0.0
*
* @package Xcloner
* @subpackage Xcloner/admin/partials
*/
$requirements = $this->get_xcloner_container()->get_... | gpl-2.0 |
livehq/web | Gruntfile.js | 12528 | // Generated on 2014-01-17 using generator-angular 0.7.1
'use strict';
// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/{,*/}*.js'
// use this if you want to recursively match all subfolders:
// 'test/spec/**/*.js'
module.exports = function (grunt) {
// Load grunt tasks au... | gpl-2.0 |
pawohl/studip | app/controllers/admin/studycourse.php | 9932 | <?php
# Lifter010: TODO
/**
* studycourse.php - controller class for the studycourses
*
* 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 optio... | gpl-2.0 |
rolandinsh/buddypress | bp-activity/js/mentions.js | 8141 | /* global bp */
window.bp = window.bp || {};
( function( bp, $, undefined ) {
var mentionsQueryCache = [],
mentionsItem;
bp.mentions = bp.mentions || {};
bp.mentions.users = window.bp.mentions.users || [];
if ( typeof window.BP_Suggestions === 'object' ) {
bp.mentions.users = window.BP_Suggestions.fri... | gpl-2.0 |
Lynxiel/training | wp-content/themes/responsive/blog.php | 2585 | <?php
// Exit if accessed directly
if( !defined( 'ABSPATH' ) ) {
exit;
}
/**
* Blog Template
*
Template Name: Blog (full posts)
*
* @file blog.php
* @package Responsive
* @author Emil Uzelac
* @copyright 2003 - 2014 CyberChimps
* @license license.txt
* @version Re... | gpl-2.0 |
xrfind/ecommerce | sites/all/themes/md_orenmode/template/panes/panels-pane--block--views-products-block-21.tpl.php | 1709 | <?php
/**
* @file panels-pane.tpl.php
* Main panel pane template
*
* Variables available:
* - $pane->type: the content type inside this pane
* - $pane->subtype: The subtype, if applicable. If a view it will be the
* view name; if a node it will be the nid, etc.
* - $title: The title of the content
* - $conte... | gpl-2.0 |
russtx/tac | wp-content/themes/air-balloon-lite/js/dashicons-picker.js | 6562 | /*
* Dashicons Icon Picker
* http://themergency.com/dashicon-picker-jquery-plugin/
* https://github.com/bradvin/dashicons-picker
*
* Copyright 2013 Themergency.com
* Licensed under the GPLv2 license.
* http://www.gnu.org/licenses/gpl-2.0.html
*
* Author: Brad Vincent (@themergency)
*/
(function($) {
$.fn.d... | gpl-2.0 |
arthurtofani/acaoeducativa_mapasis | test/karma.conf.js | 2084 | // Karma configuration
// http://karma-runner.github.io/0.12/config/configuration-file.html
// Generated on 2015-06-15 using
// generator-karma 0.8.3
module.exports = function(config) {
'use strict';
config.set({
// enable / disable watching file and executing tests whenever any file changes
autoWatch: tr... | gpl-2.0 |
berkmancenter/lumendatabase | db/migrate/20151221185106_add_pdf_requested_to_file_uploads.rb | 144 | class AddPdfRequestedToFileUploads < ActiveRecord::Migration[4.2]
def change
add_column :file_uploads, :pdf_requested, :boolean
end
end
| gpl-2.0 |
viollarr/alab | administrator/components/com_menus/models/list.php | 19375 | <?php
/**
* @version $Id: list.php 11646 2009-03-01 19:34:56Z ian $
* @package Joomla
* @subpackage Menus
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant to the
... | gpl-2.0 |
diarmuidcwc/LuaDissectors | parse_arinc.lua | 4788 | function reverse_byte_bit_order(byte)
--note: array ordering starts from 1 in lua, so need to pass in byte + 1
local reverse = {
0x00, 0x80, 0x40, 0xc0, 0x20, 0xa0, 0x60, 0xe0, -- 0 - 8
0x10, 0x90, 0x50, 0xd0, 0x30, 0xb0, 0x70, 0xf0, -- 9 - 15
0x08, 0x88, 0x48, 0xc8, 0x28, 0xa8, 0x68, 0xe8... | gpl-2.0 |
MitchZinck/BlockJump | core/src/com/mzinck/blockjump/Constants.java | 330 | package com.mzinck.blockjump;
public class Constants {
public static final int BASE_HEIGHT = 200;
public static final int SCREEN_WIDTH = 720;
public static final int SCREEN_HEIGHT = 1280; // 1280 x 720
public static final int JUMP_LENGTH = 18;
public static final float ALPHA =... | gpl-2.0 |
BIORIMP/biorimp | BIO-RIMP/src/main/java/edu/wayne/cs/severe/redress2/entity/refactoring/opers/RefactoringType.java | 1513 | package edu.wayne.cs.severe.redress2.entity.refactoring.opers;
import java.util.HashMap;
import java.util.List;
import edu.wayne.cs.severe.redress2.entity.TypeDeclaration;
import edu.wayne.cs.severe.redress2.entity.refactoring.RefactoringParameter;
import edu.wayne.cs.severe.redress2.entity.refactoring.formula... | gpl-2.0 |
alexbevi/scummvm | backends/platform/sdl/win32/win32.cpp | 11619 | /* 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 |
ludo1026/mongodb | spring-data-repository/src/main/java/org/demo/domain/User.java | 1188 | package org.demo.domain;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* User
*/
@Document(collection = "users")
public class User implements Serializable {
@Id
... | gpl-2.0 |
AAyare/signalr-notify- | Evoke.Rnd.Signalr/Evoke.Rnd.SignalrNotify.Api/Areas/HelpPage/HelpPageAreaRegistration.cs | 685 | using System.Web.Http;
using System.Web.Mvc;
namespace Evoke.Rnd.SignalrNotify.Api.Areas.HelpPage
{
public class HelpPageAreaRegistration : AreaRegistration
{
public override string AreaName
{
get
{
return "HelpPage";
}
}
publ... | gpl-2.0 |
nadavkav/MoodleTAO | mod/rafl/includes/common/lib/email/Pear/Mail/sendmail.php | 6022 | <?php
//
// +----------------------------------------------------------------------+
// | PHP Version 4 |
// +----------------------------------------------------------------------+
// | Copyright (c) 1997-2003 The PHP Group |
/... | gpl-2.0 |
jim835/qscene_ez | extension/ezfind/classes/ezfsearchresultinfo.php | 13243 | <?php
//
//
// ## BEGIN COPYRIGHT, LICENSE AND WARRANTY NOTICE ##
// SOFTWARE NAME: eZ Publish Community Project
// SOFTWARE RELEASE: 2012.2
// COPYRIGHT NOTICE: Copyright (C) 1999-2012 eZ Systems AS
// SOFTWARE LICENSE: GNU General Public License v2
// NOTICE: >
// This program is free software; you can redistribut... | gpl-2.0 |
Automattic/woocommerce-connect-client | client/extensions/woocommerce/state/sites/settings/reducer.js | 383 | /** @format */
/**
* Internal dependencies
*/
import { combineReducers } from 'state/utils';
import general from './general/reducer';
import products from './products/reducer';
import tax from './tax/reducer';
import mailchimp from './mailchimp/reducer';
import email from './email/reducer';
export default combineR... | gpl-2.0 |
klst-com/metasfresh | de.metas.adempiere.adempiere/base/src/test/java/org/compiere/util/UtilTest.java | 1938 | package org.compiere.util;
import org.junit.Assert;
import org.junit.Test;
/*
* #%L
* de.metas.adempiere.adempiere.base
* %%
* Copyright (C) 2016 metas GmbH
* %%
* 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 ... | gpl-2.0 |
jaredmoore/d3_examples | scatterplot/d3_pop_scatterplot.js | 6620 | // Create a plotter for population based methods. Scatterplot displays the maximum and
// average fitnesses of a population by generation.
//
// Input data is assumed to have the following format:
// [[gen,max_fitness,0],[gen,avg_fitness,1]]
var D3_Plotter = D3_Plotter || new function() {
var Generic_Scatterplot =... | gpl-2.0 |