repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
damonsharp/dws_s | 404.php | 1776 | <?php
/**
* The template for displaying 404 pages (not found).
*
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*
* @package DWS_Starter_Theme
*/
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<section class="error-404 not-found">
... | gpl-2.0 |
ylatuya/Flumotion | flumotion/component/misc/httpserver/admin_gtk.py | 11840 | # -*- Mode: Python -*-
# vi:si:et:sw=4:sts=4:ts=4
#
# Flumotion - a streaming media server
# Copyright (C) 2004,2005,2006,2007,2008 Fluendo, S.L. (www.fluendo.com).
# All rights reserved.
# This file may be distributed and/or modified under the terms of
# the GNU General Public License version 2 as published by
# the ... | gpl-2.0 |
sufism/qucs_chs | qucs/components/vpulse.cpp | 2897 | /***************************************************************************
vpulse.cpp
------------
begin : Sat Sep 18 2004
copyright : (C) 2004 by Michael Margraf
email : michael.margraf@alumni.tu-berli... | gpl-2.0 |
MiguelGonzalez/fribone-php-server | application/application/config/routes.php | 1882 | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
... | gpl-2.0 |
tempest200903/20141015-GuiceExperimental | src/test/java/com/github/tempest200903/example102/ProductATest.java | 690 | package com.github.tempest200903.example102;
import org.junit.Test;
public class ProductATest {
/**
* テスト成功。
*/
@Test
public void testStab() {
AbstractA abstractA = new StubA();
System.out.println("abstractA.getClass() =: " + abstractA.getClass());
AbstractB abstractB = abstractA.getAbstractB();
Syste... | gpl-2.0 |
cuongnd/banhangonline88_joomla | modules/mod_sj_hk_minicart_pro/core/fields/sjhkcategories.php | 4544 | <?php
/**
* @package SJ Minicart Pro for HikaShop
* @version 1.0.0
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
* @copyright (c) 2014 YouTech Company. All Rights Reserved.
* @author YouTech Company http://www.smartaddons.com
*
*/
defined('_JEXEC') or die;
jimport('joomla.form.formfield');
if (!... | gpl-2.0 |
jfarcher/PiThermostat | django/homeauto/settings.py | 5882 | # Django settings for homeauto project.
DEBUG = True
TEMPLATE_DEBUG = DEBUG
ADMINS = (
# ('Your Name', 'your_email@example.com'),
)
MANAGERS = ADMINS
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
'NAME': '/usr/... | gpl-2.0 |
tucocorp/Vendo-Mi-Telefono | db/migrate/20141114125206_add_barcode_read.rb | 118 | class AddBarcodeRead < ActiveRecord::Migration
def change
add_column :coupons, :barcode_read, :string
end
end
| gpl-2.0 |
MaddTheSane/scummvm | engines/lastexpress/graphics.cpp | 4282 | /* 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 |
openearth/PyWPS | pywps/processes/__init__.py | 104 | __all__ = ["buffer", "dummyprocess","ultimatequestionprocess","moreInOne","moreInstancesInOne","tests"]
| gpl-2.0 |
manojh/firstrepo | administrator/components/com_messages/models/message.php | 6460 | <?php
/**
* @package Joomla.Administrator
* @subpackage com_messages
*
* @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;
/**
* Private Message model.
*
* @pack... | gpl-2.0 |
patux/YaCOMAS | includes/core/FormHelper.php | 1142 | <?php
class FormHelper {
public static function createSelect($label, $name, $options, $selected='', $default='', $input_parameters='') {
$string = '';
$selected = ($selected=='')?$default:$selected;
$string .= "<label for=\"$name\"/>$label</label>";
$string .= "<select name=\"$name\" id=\"$estudios\" $in... | gpl-2.0 |
scgraph/SCGraph | src/face.cc | 676 | #include "face.h"
Face::Face (GeometryType) :
//_per_vertex_colors (false),
_geometry_type (POINTS),
_render_mode (NORMAL),
_texture_index (0),
_frame_id (0),
_alpha_mul (1.0),
_thickness (1.0),
_culling (0)
{
}
Face::Face (const Face &f) :
_geometry_type(f._geometry_type),
_render_mode(f._render_mode),
_... | gpl-2.0 |
NationalLibraryOfNorway/Bibliotekstatistikk | old-and-depricated/finances/src/main/java/no/abmu/finances/domain/ReportSchema.java | 5773 | /*
* Copyright (c) 2006 Your Corporation. All Rights Reserved.
*/
package no.abmu.finances.domain;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import no.abmu.common.domain.Entity;
import no.abmu.util.hibernate3.ClassUtil;
... | gpl-2.0 |
jwpully/pchapub | administrator/components/com_phocadownload/models/phocadownloaddownloads.php | 6358 | <?php
/* @package Joomla
* @copyright Copyright (C) Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* @extension Phoca Extension
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
*/
defined... | gpl-2.0 |
magnus2lin/opendlv | code/system/core/proxy/src/can/can.cpp | 8531 | /**
* Copyright (C) 2016 Chalmers REVERE
*
* 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 d... | gpl-2.0 |
AARCprofessionals/obrs | aarctest/wp-content/themes/academy/aarc-course-california.php | 1693 | <?php
/*
Template Name: Course Modules - California
*/
?>
<?php get_header();
$login = $_POST['Username']; /* Get login from form */
$password = $_POST['Password']; /* Get password from form */
$email = "wordpress@aarc.org";
//Create User id
$user_id=wp_create_user( $login, $password, $email );
//Assign User to ... | gpl-2.0 |
m-stein/genode | base-hw/src/core/vea9x4/no_trustzone/platform_support.cc | 1926 | /*
* \brief Platform implementations specific for base-hw and VEA9X4
* \author Martin Stein
* \date 2012-04-27
*/
/*
* Copyright (C) 2012-2013 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
/* cor... | gpl-2.0 |
nbrouse-deep/nestleactionstations_com | wp-content/themes/nestle-action-stations/partials/single-station-main.php | 7839 | <?php
$theme_url = get_bloginfo('template_directory');
include 'hero-main.partial.php';
$download_kit_url = get_zip_download_link($post->post_name);
$show_recipes = get_field('bar_show_recipe');
if ($show_recipes == 'yes') {
$recipe_bg_object = get_field('bar_recipe_heading_background');
if ( empty($recipe_bg_obj... | gpl-2.0 |
divsinghal/strut-viewer | StrutViewer/StrutViewer_UnitTests/MenuItemTests/MenuItemCallback.cs | 3654 | /***************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
This code is licensed under the Visual Studio SDK license terms.
THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
IMPLIED WARRANTIE... | gpl-2.0 |
sondang86/nilongxanhnixa | wp-content/themes/shop-isle/template-fullwidth.php | 1906 | <?php
/**
* The template for displaying full width pages.
*
* Template Name: Full width
*
*/
get_header(); ?>
<!-- Wrapper start -->
<div class="main">
<!-- Header section start -->
<?php
$shop_isle_header_image = get_header_image();
if( !empty($shop_isle_header_image) ):
echo '<section class="modu... | gpl-2.0 |
shannah/cn1 | CodenameOne/src/com/codename1/ui/plaf/DefaultLookAndFeel.java | 68689 | /*
* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Sof... | gpl-2.0 |
edipdincer/abbc3 | tests/core/acp_base.php | 1014 | <?php
/**
*
* Advanced BBCode Box
*
* @copyright (c) 2014 Matt Friedman
* @license GNU General Public License, version 2 (GPL-2.0)
*
*/
namespace vse\abbc3\tests\core;
class acp_base extends \phpbb_database_test_case
{
static protected function setup_extensions()
{
return array('vse/abbc3');
}
/** @var \phpbb\... | gpl-2.0 |
Johannes-Larsson/Minaret-Builder | core/src/menuScene/MenuScene.java | 1461 | package menuScene;
import gameScene.GameScene;
import ui.Button;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.larsson.johannes.minaretBuilder.framework.Game;
import com.larsson.johannes.minaretBuilder.framework.Scene;
import com.larsson.johannes.minaretBuilder.game.Assets;... | gpl-2.0 |
simian-lab/d3-playground | js/main.js | 4172 | var initialScreen = document.querySelector('.initial-screen');
var statsScreen = document.querySelector('.stats-screen');
var knowMoreButton = document.querySelector('.know-more');
var chartContainer = document.querySelector('.chart');
var doseInfo = document.querySelector('.dose-info');
var firstCicleButton = docume... | gpl-2.0 |
ArrozAlba/SASv2 | default/app/controllers/principal_controller.php | 494 | <?php
/**
* Dailyscript - Web | App | Media
*
* Descripcion: Controlador principal (reemplaza al index_controller)
*
* @category
* @package Controllers
* @author Iván D. Meléndez (ivan.melendez@dailycript.com.co)
* @copyright Copyright (c) 2013 Dailyscript Team (http://www.dailyscript.com.co)
... | gpl-2.0 |
m-stein/genode_hdl_env | os/src/lib/dde_kit/thread.cc | 6345 | /*
* \brief Thread facility
* \author Christian Helmuth
* \date 2008-10-20
*
*/
/*
* Copyright (C) 2008-2012 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
#include <base/env.h>
#include <base/sleep... | gpl-2.0 |
wyona/yulup | src/branches/ANNOTATION_BRANCH/yulup/src/chrome/content/editor/editorparams.js | 10780 | /*
* ***** BEGIN LICENSE BLOCK *****
* Copyright 2006 Wyona AG Zurich
*
* This file is part of Yulup.
*
* Yulup 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
* (a... | gpl-2.0 |
jamal-fuma/epic-food-frequency | include/license/GPL_License.hpp | 792 | #ifndef EPIC_LICENSE_HPP
#define EPIC_LICENSE_HPP
#define GPL_LICENSE_TEXT ( \
"\nThis is free software: you can redistribute it and/or modify" \
"\nit under the terms of the GNU General Public License as published by" \
"\nthe Free Software Foundation, either version 2 of the License, or" \
"\n(at your option) any la... | gpl-2.0 |
iconmaster5326/AetherCraft2 | src/main/java/com/iconmaster/aec2/gui/AetherCraftContainer.java | 2696 | package com.iconmaster.aec2.gui;
import com.iconmaster.aec2.te.AetherCraftTE;
import java.util.ArrayList;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemSta... | gpl-2.0 |
websideas/London | wp-content/themes/london/framework/extensions/ReduxCore/framework.php | 185687 | <?php
/**
* Redux Framework is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* any later version.
* Redux Framework is distributed in the hope th... | gpl-2.0 |
mmendoza000/freekore | app/plugins/Comments/js/comments.js | 3660 | // JavaScript Document
/*
* Function: fkComments
* Purpose: Comments Object
* Returns: -
* Inputs: object:oInit - initalisation options
*/
var Lang = {
leaveAComment : 'Deja un comentario...',
nameRequired : '<div>-El nombre es requerido</div>',
emailRequired : '<div>-El correo no es válido</div>... | gpl-2.0 |
Planigle/planigle | src/app/main/services/statuses.service.spec.ts | 426 | /* tslint:disable:no-unused-variable */
import { TestBed, async, inject } from '@angular/core/testing';
import { StatusesService } from './statuses.service';
describe('StatusesService', () => {
beforeEach(() => {
TestBed.configureTestingModule({
providers: [StatusesService]
});
});
it('should ...... | gpl-2.0 |
ppizarror/korektor | test/accentsTest.py | 1313 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
bin/accents TEST
Test del manejo de acentos de la aplicación.
Autor: PABLO PIZARRO @ github.com/ppizarror
Fecha: AGOSTO 2016
Licencia: GPLv2
"""
__author__ = "ppizarror"
# Importación de librerías
# noinspection PyUnresolvedReferences
from _testpath impo... | gpl-2.0 |
alucard263096/AMK | Doctor.Android/AMKDoctor/app/src/main/java/com/helpfooter/steve/amkdoctor/Loader/BannerLoader.java | 5679 | package com.helpfooter.steve.amkdoctor.Loader;
import android.content.Context;
import com.helpfooter.steve.amkdoctor.DAO.BannerDao;
import com.helpfooter.steve.amkdoctor.DAO.ParamsDao;
import com.helpfooter.steve.amkdoctor.DataObjs.AbstractObj;
import com.helpfooter.steve.amkdoctor.DataObjs.BannerObj;
import com.help... | gpl-2.0 |
NaikSoftware/Chars | src/ua/naiksoftware/chars/GameView.java | 3431 | /**
* Game create for competition on http://annimon.com
*
* Copyright (C) 2012, 2013 NaikSoftware
*
* 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... | gpl-2.0 |
reumia/wp-exhibition | wp-content/themes/wp-exhibition/functions.php | 7822 | <?php
/**
* 모든 함수의 접두어는 mbt을 붙인다. mytory basic theme의 약자다.
*/
function mbt_setup() {
// Adds RSS feed links to <head> for posts and comments.
add_theme_support( 'automatic-feed-links' );
// This theme uses wp_nav_menu() in one location.
register_nav_menu( 'main-nav', '메인 내비게이션' );
}
add_action( 'after_setup_them... | gpl-2.0 |
twister65/joomla-cms | administrator/components/com_privacy/tmpl/request/default.php | 3133 | <?php
/**
* @package Joomla.Administrator
* @subpackage com_privacy
*
* @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla... | gpl-2.0 |
Viper9x/istore | administrator/components/com_virtuemart_allinone/plugins/vmpayment/amazon/assets/js/amazon.js | 10920 | /**
*
* Amazon payment plugin
*
* @author Valérie Isaksen
* @version $Id$
* @package VirtueMart
* @subpackage payment
* Copyright (C) 2004-2014 Virtuemart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is free software. This version may have be... | gpl-2.0 |
dekmidia/openbalada | wp-content/plugins/loginradius-for-wordpress/lr-social-sharing/admin/views/horizontal-settings/horizontal-view.php | 25609 | <?php
// Exit if called directly
if ( !defined( 'ABSPATH' ) ) {
exit();
}
/**
* The main class and initialization point of the plugin settings page.
*/
if ( ! class_exists( 'LR_Social_Share_Horizontal_Settings' ) ) {
class LR_Social_Share_Horizontal_Settings {
public function render_options_page() {
global... | gpl-2.0 |
fvaron/zencart_fr | includes/languages/spanish/html_includes/classic/define_videos.php | 414 | <b>¿Cómo cambiar una lámapara de un proyector de video?
</b><br /><br />
Esta guía explica las etapas del montaje y desmontaje de una lámpara de un proyector de video.
<br /><br />
<object height="175" width="212">
<param value="http://www.youtube.com/v/ej300mRfa54" name="movie" />
<embed height="227" width="270" ty... | gpl-2.0 |
adrianjonmiller/anacapa_animal_health | wp-content/plugins/wp-views/res/js/codemirror234/mode/stex/test.js | 4562 | var MT = ModeTest;
MT.modeName = 'stex';
MT.modeOptions = {};
MT.testMode(
'word',
'foo',
[
null, 'foo'
]
);
MT.testMode(
'twoWords',
'foo bar',
[
null, 'foo bar'
]
);
MT.testMode(
'beginEndDocument',
'\\begin{document}\n\\end{document}',
[
'tag', '\\begin',
'bracket', '{',
... | gpl-2.0 |
TPETb/TPPPTX | src/TPPPTX/Type/Presentation/Main/Complex/Placeholder.php | 1798 | <?php
/**
* Created by PhpStorm.
* User: alex
* Date: 6/15/14
* Time: 6:02 PM
*/
namespace TPPPTX\Type\Presentation\Main\Complex;
use TPPPTX\Type\ComplexAbstract;
use TPPPTX\Type\Presentation\Main\Simple\Direction;
use TPPPTX\Type\Presentation\Main\Simple\PlaceholderSize;
use TPPPTX\Type\Presentation\Main\Simpl... | gpl-2.0 |
ClimateFAST/NetCDFHDFS | shared/src/test/java/se/kth/climate/fast/netcdf/testing/FileGeneratorTest.java | 4724 | /*
* Copyright (C) 2017 KTH Royal Institute of Technology
*
* 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 |
allendav/wp-calypso | client/state/ui/editor/test/reducer.js | 1134 | /**
* External dependencies
*/
import { expect } from 'chai';
/**
* Internal dependencies
*/
import { EDITOR_POST_ID_SET, EDITOR_SHOW_DRAFTS_TOGGLE } from 'state/action-types';
import reducer, { postId, showDrafts } from '../reducer';
describe( 'reducer', () => {
it( 'should export expected reducer keys', () => ... | gpl-2.0 |
ntmcminn/alfresco-pdf-a-transform-action | pdf-archival-share/src/main/resources/META-INF/pdfarchival/components/doclib/pdfarchival-doclib-actions.js | 811 | if(typeof PDFArchive == "undefined" || !PDFArchive)
{
var PDFArchive = {};
}
PDFArchive.Util = {};
(function()
{
PDFArchive.Util.HideDependentControls = function(element, htmlIdPrefix)
{
// get the field html id
var fieldHtmlId = element.id;
// set the value of the hidden field
var value = YAHOO.util.Dom.g... | gpl-2.0 |
mambax7/wflinks | admin/mygroupperm.php | 4628 | <?php
use Xmf\Request;
/**
* @param $db
* @param $gperm_modid
* @param null $gperm_name
* @param null $gperm_itemid
*
* @return bool
*/
function myDeleteByModule(\XoopsDatabase $db, $gperm_modid, $gperm_name = null, $gperm_itemid = null)
{
$criteria = new \CriteriaCompo(new \Criteria('gperm_modid... | gpl-2.0 |
tonnrueter/pymca_devel | PyMca/HDF5Stack1D.py | 25286 | #/*##########################################################################
# Copyright (C) 2004-2012 European Synchrotron Radiation Facility
#
# This file is part of the PyMca X-ray Fluorescence Toolkit developed at
# the ESRF by the Software group.
#
# This toolkit is free software; you can redistribute it and/or m... | gpl-2.0 |
pierrewillenbrock/dolphin | Source/Core/Core/DSP/Interpreter/DSPInterpreter.cpp | 19577 | // Copyright 2008 Dolphin Emulator Project
// Copyright 2004 Duddie & Tratax
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include "Core/DSP/Interpreter/DSPInterpreter.h"
#include "Common/Assert.h"
#include "Common/CommonTypes.h"
#include "Common/Logging/Log.h"
#include "Core/DSP/DSPAnalyzer.h... | gpl-2.0 |
DialloAbdourahamane/siteDepotProjet | wp-content/plugins/simple-press/admin/panel-permissions/forms/spa-permissions-add-permission-form.php | 5995 | <?php
/*
Simple:Press
Admin Permissions Add Permission Form
$LastChangedDate: 2012-11-18 11:04:10 -0700 (Sun, 18 Nov 2012) $
$Rev: 9312 $
*/
if (preg_match('#'.basename(__FILE__).'#', $_SERVER['PHP_SELF'])) die('Access denied - you cannot directly call this file');
function spa_permissions_add_permission_form() {
?>
... | gpl-2.0 |
glibey/drupal8 | core/lib/Drupal/Core/Utility/Token.php | 11334 | <?php
/**
* @file
* Definition of Drupal\Core\Utility\Token.
*/
namespace Drupal\Core\Utility;
use Drupal\Core\Extension\ModuleHandlerInterface;
/**
* Drupal placeholder/token replacement system.
*
* API functions for replacing placeholders in text with meaningful values.
*
* For example: When configuring a... | gpl-2.0 |
jheizmann/SMWHalo | includes/SMW_SemanticStore.php | 9837 | <?php
/*
* Copyright (C) Vulcan 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) any later version.
*
* This program is distr... | gpl-2.0 |
iucn-whp/world-heritage-outlook | portlets/iucn-dbservice-portlet/docroot/WEB-INF/service/com/iucn/whp/dbservice/model/reinforced_monitoringSoap.java | 3285 | /**
* Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
*
* 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... | gpl-2.0 |
reactormonk/nmm | TESO/TESOLauncher.cs | 6609 | using System;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using Nexus.Client.Commands;
using Nexus.Client.Util;
namespace Nexus.Client.Games.TESO
{
/// <summary>
/// Launches TESO.
/// </summary>
public class TESOLauncher : GameLauncherBase
{
private string ESOLaun... | gpl-2.0 |
yangjes-github/test.wordpress | wp-content/themes/dux/modules/mo_post_link.php | 514 | <?php
function mo_post_link()
{
global $post;
$post_ID = $post->ID;
$link = get_post_meta($post_ID, "link", true);
if ($link) {
echo "<div class=\"post-linkto\"><a class=\"btn btn-primary\" href=\"" . $link . "\"" . (_hui("post_link_blank_s") ? " target=\"_blank\"" : "") . (_hui("post_link_nofollow_s") ? " rel=... | gpl-2.0 |
thekuoster/lytro_game | wp-content/plugins/advanced-wp-columns/js/jQueryUI/ui/minified/jquery.ui.tabs.min.js | 11534 | /*
* jQuery UI Tabs 1.9m3
*
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* http://docs.jquery.com/UI/Tabs
*
* Depends:
* jquery.ui.core.js
* jquery.ui.widget.js
*/
(function(d,p){function u(){return++v}functi... | gpl-2.0 |
georgejhunt/HaitiDictionary.activity | data/words/ab~one.js | 177 | showWord(["v.","Enskri pou vin manm pou resevwa yon piblikasyon osinon pou resevwa yon sèvis. Mwen abòne nan jounal nouvelis, chak maten yo vin delivre l devan lakay mwen."
]) | gpl-2.0 |
DmitryADP/diff_qc750 | frameworks/av/media/libstagefright/ASFExtractor.cpp | 13922 | /*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | gpl-2.0 |
piaolinzhi/fight | webservice/rest/jax-rs2-guide/sample/common/src/main/java/com/example/exception/Jaxrs2GuideNotFoundException.java | 422 | package com.example.exception;
import javax.ws.rs.WebApplicationException;
public class Jaxrs2GuideNotFoundException extends WebApplicationException {
private static final long serialVersionUID = 1L;
public Jaxrs2GuideNotFoundException() {
super(javax.ws.rs.core.Response.Status.NOT_FOUND);
... | gpl-2.0 |
jomizrahi92/SYPulse-Wordpress-Site | wp-content/themes/AllNews/sidebar-top.php | 178 |
<div id="sidebar-right">
<div class="sidebar-top">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('top-sidebar') ) : ?>
<?php endif; ?>
</div>
</div> | gpl-2.0 |
zhang123shuo/javamop | src/javamop/logicpluginshells/javapda/parser/ParseException.java | 6385 | /* Generated By:JavaCC: Do not edit this line. ParseException.java Version 5.0 */
/* JavaCCOptions:KEEP_LINE_COL=null */
package javamop.logicpluginshells.javapda.parser;
/**
* This exception is thrown when parse errors are encountered.
* You can explicitly create objects of this exception type by
* calling ... | gpl-2.0 |
wayde191/kylin | wp-content/themes/photoria/js/dropdown.js | 2416 | /*********************
//* jQuery Multi Level CSS Menu #2- By Dynamic Drive: http://www.dynamicdrive.com/
//* Last update: Nov 7th, 08': Limit # of queued animations to minmize animation stuttering
//* Menu avaiable at DD CSS Library: http://www.dynamicdrive.com/style/
*********************/
//Update: April 12th, 10: ... | gpl-2.0 |
rjbaniel/upoor | wp-content/themes/Glider/includes/functions/comments.php | 1524 | <?php if ( ! function_exists( 'et_custom_comments_display' ) ) :
function et_custom_comments_display($comment, $args, $depth) {
$GLOBALS['comment'] = $comment; ?>
<li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>">
<div id="comment-<?php comment_ID(); ?>" class="comment-body clearfix">
... | gpl-2.0 |
akranga/chucknorris | src/main/java/com/github/akranga/ChuckNorrisApplication.java | 427 | package com.github.akranga;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@EnableAutoConfiguration
@SpringBootApplication
public class ChuckNorrisApplication {
public st... | gpl-2.0 |
JonHoy/FEA-Code | FEA/FEA.Mesher/Quadrilateral.cs | 3212 | using System;
using ManagedCuda.VectorTypes;
using System.Collections.Generic;
namespace FEA.Mesher
{
public class Quadrilateral
{
public Quadrilateral(double3 PointA, double3 PointB, double3 PointC, double3 PointD)
{
A = PointA;
B = PointB;
C = PointC;
... | gpl-2.0 |
Fat-Zer/tdebase | kicker/applets/minipager/pagerapplet.cpp | 28745 | /*****************************************************************
Copyright (c) 1996-2000 the kicker authors. See file AUTHORS.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restrictio... | gpl-2.0 |
bfay/maniacal-kitten | wp-content/themes/smartbox-theme-1.01/inc/core/admin/assets/js/shortcodes/shortcodes.js | 7941 | /* Oxygenna Shortcode Generator Javascript ver 0.1 */
(function( $ ){
$.fn.scGenerator = function( options ) {
// Create some defaults, extending them with any options that were provided
var settings = $.extend( {
'shortcode-select' : '#shortcode'
}, options
);
... | gpl-2.0 |
hubnedav/PrintABrick | src/AppBundle/Model/SetSearch.php | 1444 | <?php
namespace AppBundle\Model;
use AppBundle\Entity\Rebrickable\Theme;
class SetSearch
{
/** @var string */
protected $query;
/** @var NumberRange */
protected $year;
/** @var NumberRange */
protected $partCount;
/** @var Theme */
protected $theme;
/**
* SetSearch const... | gpl-2.0 |
elbeardmorez/quodlibet | quodlibet/tests/test_cli.py | 854 | # -*- coding: utf-8 -*-
# Copyright 2014 Nick Boultbee
#
# 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.
from .helper i... | gpl-2.0 |
jilgue/ownWebAppServices | DB/classes/DBObject.php | 3396 | <?php
/**
* DB Object
*/
abstract class DBObject extends ObjectPersistent {
static $table;
protected function __construct($params = array()) {
parent::__construct($params);
$this->_loadObj();
}
private function _loadObj() {
if (!$this->ok) {
return;
}
$table = DBObject::stGetTableName(get_cla... | gpl-2.0 |
tud-stg-lang/caesar-compiler | src/org/caesarj/runtime/perobject/AspectPerThisDeployer.java | 2215 | package org.caesarj.runtime.perobject;
import org.caesarj.runtime.PerThisDeployable;
import org.caesarj.runtime.aspects.AbstractAspectRegistry;
import org.caesarj.runtime.aspects.AspectContainerIfc;
import org.caesarj.runtime.aspects.AspectRegistryIfc;
import org.caesarj.runtime.aspects.BasicAspectDeployer;
public cl... | gpl-2.0 |
hungdinh/t3v3 | plugins/system/jat3v3/includes/depend/tpls/profile.php | 3540 | <?php
/**
* $JA#COPYRIGHT$
*/
// no direct access
defined ( '_JEXEC' ) or die ( 'Restricted access' );
?>
<script type="text/javascript">
!function($){
var JAFileConfig = window.JAFileConfig || {};
JAFileConfig.profiles = <?php echo json_encode($jsonData)?>;
JAFileConfig.mod_url = '<?php echo... | gpl-2.0 |
zhangbojr/ICB | DAL/ICaiban.DAL/Merchant/Tab_Seat_SettingDAL.cs | 6614 | /*=====================================================================
* Copyright © 2014 www.icaiban.com All Rights Reserved.
* CLR版本: 4.0.30319.18444
* 类名称: Tab_Seat_SettingDAL:餐台功能设置数据处理
* 创建人: jimmy
* 创建时间:2014/10/11 9:44:27
* 修改人:
* 修改时间:
* 修改备注:
* 版本:@version 1.0
===========================================... | gpl-2.0 |
wangguodong577/qqj-backend | core/src/main/java/com/qqj/org/controller/legacy/pojo/LoginResponse.java | 728 | package com.qqj.org.controller.legacy.pojo;
import com.qqj.error.RestError;
/**
* User: xudong
* Date: 3/2/15
* Time: 3:34 PM
*/
public class LoginResponse extends RestError {
private Long userId;
private String username;
private String userNumber;
public Long getUserId() {
return userId;... | gpl-2.0 |
themesbros/mosalon | misc/loop-meta.php | 2122 | <?php if ( ! is_mosalon_landing_page() ) : ?>
<div <?php hybrid_attr( 'loop-meta' ); ?>>
<?php $img = esc_url( get_theme_mod( 'loop_img', trailingslashit( get_template_directory_uri() ) . 'images/sep.png' ) ); ?>
<?php if ( ! empty( $img ) ) : ?>
<div class="loop-img"></div>
<?php endif; ?>
<?... | gpl-2.0 |
peifu/tests | python/rsa/backup/rsa.py | 1185 | #!/usr/bin/env python
#
# Copyright (C) 2018 Spacetime Studio, Inc. All rights reserved.
#
#
# DMC Violation Register Parser
#
# Author: jiangpeifu@gmail.com
# Version: 0.1
#
from Crypto.PublicKey import RSA
from Crypto.Signature.pkcs1_15 import PKCS115_SigScheme
from Crypto.Hash import SHA256
import binascii
# Gene... | gpl-2.0 |
InnovaLangues/innovalangues.fr | wp-content/themes/Sterling-Child-Theme/footer.php | 10158 | </section><!-- END content-container -->
<?php
// Retrieve values from Site Options Panel.
global $ttso;
$truethemes_scrolltoplink = $ttso->st_scrolltoplink;
$truethemes_scrolltoptext = stripslashes( $ttso->st_scrolltoptext );
$truethemes_footer_columns ... | gpl-2.0 |
Wikicrimes/Wikicrimes | src/main/java/org/wikicrimes/service/impl/CredibilidadeServiceImpl.java | 513 | package org.wikicrimes.service.impl;
import org.wikicrimes.dao.CredibilidadeDao;
import org.wikicrimes.service.CredibilidadeService;
public class CredibilidadeServiceImpl extends GenericCrudServiceImpl implements
CredibilidadeService {
private CredibilidadeDao credibilidadeDao;
/** Gets and Sets **/
public... | gpl-2.0 |
lamsfoundation/lams | lams_tool_leader/src/java/org/lamsfoundation/lams/tool/leaderselection/web/forms/MonitoringForm.java | 2183 | /****************************************************************
* Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
* =============================================================
* License Information: http://lamsfoundation.org/licensing/lams/2.0/
*
* This program is free software; you can redistri... | gpl-2.0 |
seavan/smoltoday | trunk/src/meridian.smolensk/controller_impl/admin_action_categories.cs | 613 | /* Automatically generated codefile, Meridian
* Generated by magic, please do not interfere
* Please sleep well and do not smoke. Love, Sam */
using System;
using System.Linq;
using System.Text;
using System.Data.Linq;
using System.Collections.Generic;
using MySql.Data.MySqlClient;
using meridian.smolensk... | gpl-2.0 |
vipero07/useful-snippits | humanReadable.js | 625 | //big type is for big numbers i.e. 1234 = 1.2k, 1234567890 = 1.2B
//bit is for bits/bytes to kb, mb, gb, etc, defaults to bit
function humanReadable(number, type){
var prefix = ' kMGTPEZYXWVU', kilo = 1024;
if(type && type=='big'){
prefix = prefix.replace('G','B');
kilo = 1000;
}
var retValue = 0;
if ... | gpl-2.0 |
3imsinn/akeplog | wp-content/themes/future/search.php | 1241 | <?php get_header(); ?>
<?php get_template_part( 'loop-meta' ); ?>
<div class="<?php future_cs_layout( array( 'cs_layout_bone' => 'content_sidebar_wrapper_class' ) ); ?>">
<div class="container">
<div class="row">
<div class="<?php future_cs_layout( array( 'cs_layout_bone' => 'content_column_class' ) );... | gpl-2.0 |
cria/microSICol | po/find_unused_html_labels.py | 3064 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys, os
import re
from update_potfile_in import get_file_list
search_dirs = ["html"]
exclude_dirs = [".svn"]
extensions = ["html"]
python_file = "../py/modules/labels.py"
python_regexp = re.compile(r"""^\s*['"](.*?)['"]\s*:""", re.MULTILINE | re.UNICODE)
html_reg... | gpl-2.0 |
ijgomez/workspace-test | template-dashboard/src/app/views/security/users/users-list/users-list.component.ts | 2857 | import { Component, OnInit } from '@angular/core';
import { DataTablePagination } from '../../../components/datatable/datatable-pagination.component';
import { Observable } from 'rxjs/Rx';
import { ModalOptions } from '../../../components/modal/modal-options';
import { UsersService } from '../../../../services/security... | gpl-2.0 |
gbonacini/tssh | include/anyexcept.hpp | 1015 | // -----------------------------------------------------------------
// Tssh - A ssh test client.
// Copyright (C) 2016-2021 Gabriele Bonacini
//
// 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 Foundat... | gpl-2.0 |
stefanoborini/kmonodim | src/eigenlistview.cpp | 7406 | #include <qpushbutton.h>
#include <kcolordialog.h>
#include <qlabel.h>
#include "eigenlistview.h"
#include "mylistviewitem.h"
#include "eigenvalue.h"
#include "project.h"
#include "palette.h"
#include "color.h"
#include "system.h"
#include "potential.h"
#include "eigenvalue.h"
class EigenData {
public:
double eigen... | gpl-2.0 |
ethanwilkins/simplr | db/migrate/20200111202533_add_phone_number_to_users.rb | 128 | class AddPhoneNumberToUsers < ActiveRecord::Migration[6.0]
def change
add_column :users, :phone_number, :string
end
end
| gpl-2.0 |
jillbot/tsp | wp-content/themes/minimatica/content-audio.php | 1143 | <?php
/**
* Displays the content of posts with audio format
*
* @package WordPress
* @subpackage Minimatica
* @since Minimatica 1.0
*/
?>
<div id="content">
<section class="entry-content">
<?php the_post_thumbnail( 'homepage-thumb' ); ?>
<?php minimatica_post_audio(); ?>
<?php the_content()... | gpl-2.0 |
rex-xxx/mt6572_x201 | packages/apps/Mms/src/com/android/mms/ui/HeightChangedLinearLayout.java | 5086 | /* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein
* is confidential and proprietary to MediaTek Inc. and/or its licensors.
* Without the prior written permission of MediaTek inc. and/or ... | gpl-2.0 |
xiaolu6t6t/NFinal | WebMvc/NFinal/Compile/PageSqlAnalyse.cs | 5649 | using System;
using System.Collections.Generic;
using System.Web;
using System.Text.RegularExpressions;
namespace NFinal.Compile
{
public class PageSqlAnalyse
{
public string pageSql;
public string countSql;
public string sql;
public NFinal.DB.DBType dbType;
public Page... | gpl-2.0 |
gear20056/theNewBostonCPP_Tutorials_myPractices | _ch3_printing text/testOne/main.cpp | 415 | #include <iostream>
using namespace std;
int main()
{
/*
cout << "boy i love bacon ";
cout << "and ham";
*/
/*
cout << "boy i love bacon " << endl;
cout << "and ham";
*/
/*
cout << "boy i love bacon \n";
cout << "and ham";
*/
/*
cout << "boy i love bacon \n\n... | gpl-2.0 |
Frodox/buildbot | master/buildbot/db/builders.py | 5881 | # This file is part of Buildbot. Buildbot 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.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without eve... | gpl-2.0 |
dailycavalier/brighterchildren | wp-content/themes/Believe_Theme/404.php | 1100 | <?php
/**
* The template for displaying 404 pages (Not Found).
*
* @package WordPress
* @subpackage Believe
*/
get_header();
$title_404 = get_option(SHORTNAME . '_404_title', "This is somewhat embarrassing, isn't it?");
$title_msg = get_option(SHORTNAME . '_404_message', "It seems we can’t find what you’re look... | gpl-2.0 |
OpenDBDiff/OpenDBDiff | OpenDBDiff.SqlServer.Schema/Model/Dependencies.cs | 5717 | using OpenDBDiff.Abstractions.Schema;
using OpenDBDiff.Abstractions.Schema.Model;
using System;
using System.Collections.Generic;
using System.Linq;
namespace OpenDBDiff.SqlServer.Schema.Model
{
internal class Dependencies : List<Dependency>
{
public Database Database { get; private set; }
pub... | gpl-2.0 |
acappellamaniac/eva_website | sites/all/modules/civicrm/CRM/Core/Payment/AuthorizeNetIPN.php | 13113 | <?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2015 |
+---------------... | gpl-2.0 |
PixelDevLabs/Ezia-Cleaner_Build-934afd57b26a | RSPiX/Src/ORANGE/Parse/testBatch.cpp | 1192 | ////////////////////////////////////////////////////////////////////////////////
//
// Copyright 2016 RWS Inc, All Rights Reserved
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of version 2 of the GNU General Public License as published by
// the Free Software Foundati... | gpl-2.0 |
thuctoa/bienbac | wp-content/themes/vietmoz-wp/framework/resources/bootstrap/js/bootstrap.js | 69233 | /*!
* Bootstrap v3.3.2 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*!
* Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=398872442a30c2aaaee4)
* Config saved to config.json an... | gpl-2.0 |
seecr/meresco-lucene | test/org/meresco/lucene/suggestion/SuggestionNGramKeysFilterTest.java | 1772 | /* begin license *
*
* "Meresco Lucene" is a set of components and tools to integrate Lucene (based on PyLucene) into Meresco
*
* Copyright (C) 2016 Seecr (Seek You Too B.V.) https://seecr.nl
*
* This file is part of "Meresco Lucene"
*
* "Meresco Lucene" is free software; you can redistribute it and/or modify
... | gpl-2.0 |
glye/ezpublish-kernel | eZ/Publish/Core/FieldType/Tests/XmlText/Gateway/LegacyStorageTest.php | 19796 | <?php
/**
* File containing the LegacyStorageTest for XmlText FieldType
*
* @copyright Copyright (C) 1999-2014 eZ Systems AS. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
* @version //autogentag//
*/
namespace eZ\Publish\Core\Repository\Tests\FieldType\Xml... | gpl-2.0 |
andongniao/AiStore | src/com/youai/aistore/Bean/ConsigneeBean.java | 567 | package com.youai.aistore.Bean;
/**
* 收货人信息实体
*
* @author Qzr
*
*/
public class ConsigneeBean extends Base {
private String consignee;
private String address;
private String tel;
public String getConsignee() {
return consignee;
}
public void setConsignee(String consignee) {
this.consignee = consigne... | gpl-2.0 |