repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
shelan/jdk9-mirror
langtools/test/com/sun/javadoc/testTypeAnnotations/TestTypeAnnotations.java
21666
/* * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
gpl-2.0
LeraB/Boat-theme
template-parts/content-none.php
1118
<?php /** * Template part for displaying a message that posts cannot be found * * @link https://codex.wordpress.org/Template_Hierarchy * * @package Boat */ ?> <section class="no-results not-found"> <header class="page-header"> <h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'boat' ); ?></h1> </hea...
gpl-2.0
fozziethebeat/C-Cat
core/src/main/java/gov/llnl/ontology/mapreduce/table/NYT03Table.java
315
package gov.llnl.ontology.mapreduce.table; /** * A subclass of {@link TrinidadTable} which simply has the name "nyt03". * * @author Keith Stevens */ public class NYT03Table extends TrinidadTable { /** * Returns {@code nyt03}. */ public String tableName() { return "nyt03"; } }
gpl-2.0
shimpe/frescobaldi
frescobaldi_app/midiinput/elements.py
5175
""" Elements that can be inserted by MIDI events """ from PyQt4.QtCore import Qt from PyQt4.QtGui import QApplication import ly.pitch class Note: LastPitch = ly.pitch.Pitch() def __init__(self, midinote, notemapping): # get correct note 0...11 = c...b # and octave corresponding to octav...
gpl-2.0
redeanisioteixeira/aew_github
library/Zend/Soap/Wsdl/Strategy/ArrayOfTypeComplex.php
4695
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
gpl-2.0
ncareol/nidas
src/nidas/apps/ublox.cc
22708
// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 4; tab-width: 4; -*- // vim: set shiftwidth=4 softtabstop=4 expandtab: /* ******************************************************************** ** NIDAS: NCAR In-situ Data Acquistion Software ** ** 2006, Copyright University Corporation for Atmospheric Researc...
gpl-2.0
jeffgdotorg/opennms
features/telemetry/protocols/bmp/adapter/src/main/java/org/opennms/netmgt/telemetry/protocols/bmp/adapter/openbmp/proto/SubsequentAddressFamilyIdentifier.java
3882
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2020 The OpenNMS Group, Inc. * OpenNMS(R) is Copyright (C) 1999-2020 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * * OpenNMS(R) is...
gpl-2.0
w7cook/batch-javac
test/civet/pontis/eligibility/An_Eligibility.java
154
package pontis.eligibility; import pontis.event.An_Event; public interface An_Eligibility { public boolean isEligible(An_Event theEvent); }
gpl-2.0
tkpb/Telegram
TMessagesProj/src/main/java/org/telegram/ui/Components/StickerEmptyView.java
14467
package org.telegram.ui.Components; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.content.Context; import android.util.TypedValue; import android.view.Gravity; import android.view.View; import android.widget.FrameLayout; import android.widget.LinearLayout; import a...
gpl-2.0
trasher/glpi
inc/appliancetype.class.php
1476
<?php /** * --------------------------------------------------------------------- * GLPI - Gestionnaire Libre de Parc Informatique * Copyright (C) 2015-2021 Teclib' and contributors. * * http://glpi-project.org * * based on GLPI - Gestionnaire Libre de Parc Informatique * Copyright (C) 2003-2014 by the INDEPNET...
gpl-2.0
dlitz/resin
modules/jpa/src/javax/persistence/spi/PersistenceUnitInfo.java
3088
/* * Copyright (c) 1998-2011 Caucho Technology -- all rights reserved * * This file is part of Resin(R) Open Source * * Each copy or derived work must preserve the copyright notice and this * notice unmodified. * * Resin Open Source is free software; you can redistribute it and/or modify * it under the terms o...
gpl-2.0
amankatoch/guidetobe
db/migrate/20140211132532_add_review_count_to_suppliers.rb
326
class AddReviewCountToSuppliers < ActiveRecord::Migration def up add_column :suppliers, :reviews_count, :integer, default: 0, null: false Supplier.find_each(select: 'id') do |result| Supplier.reset_counters(result.id, :reviews) end end def down remove_column :suppliers, :reviews_count en...
gpl-2.0
seewindcn/tortoisehg
src/tortoisehg/hgqt/grep.py
30355
# grep.py - Working copy and history search # # Copyright 2010 Steve Borho <steve@borho.org> # # This software may be used and distributed according to the terms of the # GNU General Public License version 2, incorporated herein by reference. import os import re from mercurial import ui, hg, error, commands, match, u...
gpl-2.0
SuperSaiyaan/paytmbigbo
wp-content/plugins/wp-exec-php/contactuscom/views/priv-uix.php
11079
<?php /** * * CONTACT FORM BY CONTACTUS.COM * * Initialization Plugin Public Tabs / login / signup * @since 5.0 First time this was introduced into plugin. * @author ContactUs.com <support@contactus.com> * @copyright 2014 ContactUs.com Inc. * Company : contactus.com * Updated : 20140602 * */ ?> <?php...
gpl-2.0
miguelinux/vbox
src/VBox/Runtime/generic/cdrom-generic.cpp
2790
/* $Id: cdrom-generic.cpp $ */ /** @file * IPRT - CD/DVD/BD-ROM Drive, Generic. */ /* * Copyright (C) 2012-2015 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/or modify it ...
gpl-2.0
turbhrus/XCSoar
src/Screen/ContainerWindow.hpp
4738
/* 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
ger4003/int14_ger_joomla
components/com_listbingo/views/ads/view.html.php
8466
<?php /** * Joomla! 1.5 component LISTBINGO * * @version $Id: view.html.php 2010-01-10 00:57:37 svn $ * @author gobingoo.com * @package Joomla * @subpackage LISTBINGO * @license GNU/GPL * * A classified ad component from gobingoo.com. * * @code Bruce * */ // no direct access defined ( '_JEXEC' ) or die ( ...
gpl-2.0
Tramber/YOMS
src/Oms.Client/Framework/Themes/ThemeManager.cs
2408
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Linq; using System.Windows; namespace Oms.Client.Framework.Themes { [Export(typeof(IThemeManager))] public class ThemeManager : IThemeManager { public event EventHandler CurrentThemeChanged; ...
gpl-2.0
SaiPradeepDandem/javafx-demos
src/main/java/com/ezest/javafx/demogallery/webview/WebViewAutoHeightAdjust2.java
6400
package com.ezest.javafx.demogallery.webview; import javafx.application.Application; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.concurrent.Worker.State; import javafx.event.EventHandler; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.sce...
gpl-2.0
bhavikavaru/wordpress-with-woocommerce
wp-content/plugins/voucherpress/voucherpress.js
4033
jQuery(document).ready(function(){ vp_set_preview_font(); jQuery("#voucherthumbs img").bind("click", vp_set_preview); jQuery(".checkbox").bind("click", vp_set_template_deleted); jQuery("#font").bind("change", vp_set_preview_font); jQuery("#name").bind("keyup", vp_limit_text); jQuery("#text").bind("keyup", vp_limi...
gpl-2.0
michalpipa/ezpublish-kernel
eZ/Publish/Core/Search/Solr/Content/SortClauseVisitor/MapLocationDistance.php
3595
<?php /** * File containing the SortClauseVisitor\MapLocationDistance class * * @copyright Copyright (C) eZ Systems AS. All rights reserved. * @license For full copyright and license information view LICENSE file distributed with this source code. * @version //autogentag// */ namespace eZ\Publish\Core\Search\Sol...
gpl-2.0
Gorehide/kengo
kengo/html/paginador.php
989
<div class="pager" id="pager"> <form> <table border="0" align="center"> <tr> <td><a href="#" title="primero"><img class="first" src="imagenes/first.png"/></a></td> <td><a href="#" title="anterior"><img class="prev" src="imagenes/prev.png"/></a></td> <...
gpl-2.0
leebird/legonlp
annotation/evaluation.py
2937
class Evaluation(object): def __init__(self): pass @classmethod def calculate(cls, user_set, golden_set, verbose=False): golden_num = len(golden_set) tp = len(golden_set & user_set) fp = len(user_set - golden_set) fn = len(golden_set - user_set) precision =...
gpl-2.0
tayjay/PlayerAugments
src/main/java/com/tayjay/playeraugments/augment/Augment.java
1909
package com.tayjay.playeraugments.augment; import com.tayjay.playeraugments.reference.Reference; import com.tayjay.playeraugments.util.LogHelper; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.client.resources.I18n; import net.minecraft.util.IIcon; import java.util.ArrayList; import ...
gpl-2.0
Opencontent/ezodf
classes/ezooconverter.php
21802
<?php // // Definition of eZOoconverter class // // Created on: <21-Jan-2005 09:52:07 bf> // // ## BEGIN COPYRIGHT, LICENSE AND WARRANTY NOTICE ## // SOFTWARE NAME: eZ Publish // SOFTWARE RELEASE: 3.9.x // COPYRIGHT NOTICE: Copyright (C) 1999-2014 eZ Systems AS // SOFTWARE LICENSE: GNU General Public License v2.0 // NO...
gpl-2.0
bfrss/bfrss
include/db-prefs.php
335
<?php require_once "db.php"; function get_pref($pref_name, $user_id = false, $die_on_error = false) { return Db_Prefs::get()->read($pref_name, $user_id, $die_on_error); } function set_pref($pref_name, $value, $user_id = false, $strip_tags = true) { return Db_Prefs::get()->write($pref_name, $value, $user_id, $...
gpl-2.0
Barbatos/BatailleSpatiale
src/old_client/Joueur.cpp
443
#include "Joueur.hpp" Joueur::Joueur(sf::Int32 _id, std::string _nom, sf::Int32 _energie, sf::Int32 _materiaux) : id(_id), nom(_nom), energie(_energie), materiaux(_materiaux) { } const std::string& Joueur::getNom() const { return nom; } const sf::Int32& Joueur::getId() const { return id; } sf::Packet& operator >...
gpl-2.0
leoloso/PoP
layers/Legacy/Schema/packages/migrate-everythingelse/migrate/plugins/pop-addrelatedposts-processors/library/processors/controls/load.php
91
<?php require_once 'controlbuttongroups.php'; require_once 'dropdownbutton-controls.php';
gpl-2.0
pablanco/taskManager
Android/FlexibleClient/src/com/artech/android/ViewHierarchyVisitor.java
3575
package com.artech.android; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.LinkedList; import java.util.List; import android.view.View; import android.view.ViewGroup; import com.artech.utils.Cast; public class ViewHierarchyVisitor { /** * G...
gpl-2.0
gcorral/hivequeen
HiveQueen/hqadmin/views/admin.py
666
''' Created on 24 may. 2021 @author: user ''' from django.contrib.auth import login from django.shortcuts import redirect from django.views.generic import CreateView from ..forms import AdminSignUpForm from ..models import User class AdminSignUpView(CreateView): model = User form_class = AdminS...
gpl-2.0
func0der/punchcard
Plugin/Report/Test/Fixture/ReportFixture.php
1660
<?php /** * ReportFixture * */ class ReportFixture extends CakeTestFixture { /** * Fields * * @var array */ public $fields = array( 'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'), 'user_id' => array('type' => 'integer', 'null' => true, 'default' => null), 'week...
gpl-2.0
Voskrese/mipsonqemu
user/uc/home/language/lang_source.php
1635
<?php /* [UCenter Home] (C) 2007-2008 Comsenz Inc. $Id: lang_source.php 12489 2009-07-01 06:41:34Z xupeng $ */ if(!defined('IN_UCHOME')) { exit('Access Denied'); } $_SGLOBAL['sourcelang'] = array ( 'hour' => '小时', 'before' => '前', 'minute' => '分钟', 'second' => '秒', 'now' => '现在', 'dot' => '...
gpl-2.0
hexmode/wikipathways.org
wpi/extensions/PrivatePathways/ListPrivatePathways_body.php
1615
<?php class ListPrivatePathways extends SpecialPage { function __construct() { parent::__construct('ListPrivatePathways', 'list_private_pathways'); } function execute($par) { global $wgOut, $wgUser, $wgLang; if ( !$this->userCanExecute($wgUser) ) { $this->displayRestrictionError(); return; } $this...
gpl-2.0
jslemmer/cafe
submit.php
4638
<!DOCTYPE html> <html> <head> <title>Laowai Cafe</title> <link type="text/css" rel="stylesheet" href="static/css/style.css"/> <link type="text/css" rel="stylesheet" href="static/css/kube.css"/> </head> <body><br/><br/><br/><br/> <row centered> <column cols="6...
gpl-2.0
google-code/chuvanan-dev
wp-content/themes/mycollege/framework/inc/page-top.php
2530
<?php /* ------------------------------------------------------------------------ */ /* Page Titles /* ------------------------------------------------------------------------ */ global $sd_data; $header_bg = rwmb_meta('sd_header_page_bg'); $header_bg = wp_get_attachment_image_src( $header_bg, 'full'); $no_repeat = ...
gpl-2.0
ojdkbuild/lookaside_java-1.8.0-openjdk
hotspot/src/share/vm/utilities/numberSeq.hpp
5739
/* * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
gpl-2.0
xchen101/analysis-preservation.cern.ch
scripts/schemas.py
2433
# -*- coding: utf-8 -*- # # This file is part of CERN Analysis Preservation Framework. # Copyright (C) 2016 CERN. # # CERN Analysis Preservation 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...
gpl-2.0
jlterman/milo
docs/doxygen/html/search/variables_9.js
1160
var searchData= [ ['terms',['terms',['../classExpression.html#a10749df14772a9162729347071b618d5',1,'Expression']]], ['test_5ffuncs',['test_funcs',['../milo__test_8cpp.html#a00c4f4ac3b84b58ae9c4335fc0970e6c',1,'milo_test.cpp']]], ['transitions',['transitions',['../classXML_1_1FSM.html#abe83c8a43ef4c05048075c7dac04...
gpl-2.0
pamfilos/data.cern.ch
ui/cap-react/src/components/errors/404.js
1731
import React from "react"; import Box from "grommet/components/Box"; import Heading from "grommet/components/Heading"; import Label from "grommet/components/Label"; import Button from "../partials/Button"; import { withRouter } from "react-router"; import PropTypes from "prop-types"; const NotFoundPage = ({ history })...
gpl-2.0
grappler/Easy-Digital-Downloads
templates/history-downloads.php
4120
<?php if( ! empty( $_GET['edd-verify-success'] ) ) : ?> <p class="edd-account-verified edd_success"> <?php _e( 'Your account has been successfully verified!', 'easy-digital-downloads' ); ?> </p> <?php endif; /** * This template is used to display the download history of the current user. */ $purchases = edd_get_user...
gpl-2.0
Tawreh/mtg
modules/contrib/feeds/src/Feeds/Target/Email.php
1953
<?php /** * @file * Contains \Drupal\feeds\Feeds\Target\Email. */ namespace Drupal\feeds\Feeds\Target; use Drupal\Core\Field\FieldDefinitionInterface; use Drupal\Core\Form\FormStateInterface; use Drupal\feeds\FieldTargetDefinition; use Drupal\feeds\Plugin\Type\Target\ConfigurableTargetInterface; use Drupal\feeds\...
gpl-2.0
nizaranand/New-Life-Office
phpMyAdmin/index.php
5036
<?php /* $Id: index.php,v 2.2 2003/11/26 22:52:24 rabus Exp $ */ // vim: expandtab sw=4 ts=4 sts=4: /** * Gets core libraries and defines some variables */ require_once('./libraries/grab_globals.lib.php'); require_once('./libraries/common.lib.php'); // Gets the default font sizes PMA_setFontSizes(); // Gets the h...
gpl-2.0
sk19871216/Yilife
zhy_handler_imageloader02/src/main/java/com/zhy/imageloader/MainActivity.java
8073
package com.zhy.imageloader; import java.io.File; import java.io.FilenameFilter; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.List; import android.app.Activity; import android.app.ProgressDialog; import android.content.ContentResolver; import android.database.Cursor;...
gpl-2.0
michaelklapper/TYPO3.CMS
typo3/sysext/core/Classes/Category/CategoryRegistry.php
17963
<?php namespace TYPO3\CMS\Core\Category; /* * This file is part of the TYPO3 CMS 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 informa...
gpl-2.0
maude-team/maude
src/Meta/metaVariant.cc
8690
/* This file is part of the Maude 2 interpreter. Copyright 1997-2012 SRI International, Menlo Park, CA 94025, USA. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version...
gpl-2.0
jgsojo/programing-fundamentals
Practica 3/main.cpp
21269
// Practica 3 // Fecha de entrega: 29 de Marzo de 2012 // Autores: Jesús García Sojo y Alfredo Hernández Burgos // Clase, curso y asignatura: 1º E, Fundamentos de Programacion // La practica consiste en un juego de Sudoku con ayuda al usuario // Cuando le pidamos una fila y columna al usuario, las convertiremos direct...
gpl-2.0
FCC/mobile-mba-androidapp
libcore/src/com/samknows/measurement/environment/DCSData.java
410
package com.samknows.measurement.environment; import java.util.List; import org.json.JSONObject; public interface DCSData { public static final String JSON_TYPE = "type"; public static final String JSON_TIMESTAMP = "timestamp"; public static final String JSON_DATETIME = "datetime"; public List<String> convert();...
gpl-2.0
hh-italian-group/hh-bbtautau
Analysis/src/NonResModel.cpp
4564
/*! Class than provides nonresonant EFT model for event analyzers. This file is part of https://github.com/hh-italian-group/hh-bbtautau. */ #include "hh-bbtautau/Analysis/include/NonResModel.h" #include "h-tautau/McCorrections/include/PileUpWeight.h" namespace analysis { NonResModel::ParamPositionDesc::ParamPositio...
gpl-2.0
carlosway89/testshop
ext/payone/php/Payone/Api/Response/Management/GetFile.php
1824
<?php /** * * NOTICE OF LICENSE * * This source file is subject to the GNU General Public License (GPL 2) * that is bundled with this package in the file LICENSE.txt * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade Payone to newer * versions in the future. If you wish to customize Pay...
gpl-2.0
seavan/smoltoday
trunk/src/meridian.smolensk/meta_impl/photobank_photo_prices.meta.cs
624
/* 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; namespace meridian.smolensk.proto { public partia...
gpl-2.0
rraptorr/php-amf3
tests/amf3_decode_object_stdclass_subclass.phpt
577
--TEST-- AMF3 decoding - subclass of stdClass --FILE-- <?php class DTO extends stdClass { private $private = "private value"; protected $protected = "protected value"; public $field; public $id; } $count = 0; $amf3 = pack("H*", "0a230744544f0b6669656c64056964060b76616c7565048526"); $data = amf3_decode($amf3, $coun...
gpl-2.0
jellobrain/Symbiota
ident/dichotomous/loader.php
14745
<?php include_once('../config/symbini.php'); include_once($serverRoot.'/config/dbconnection.php'); header("Content-Type: text/html; charset=".$charset); $nodeId = array_key_exists("nodeid",$_REQUEST)?$_REQUEST["nodeid"]:0; $stmtId = array_key_exists("stmtid",$_REQUEST)?$_REQUEST["stmtid"]:0; $action = array_ke...
gpl-2.0
pablo93/TrinityCore
src/server/game/Chat/Commands/Level2.cpp
36423
/* * Copyright (C) 2008-2012 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
RedXBeard/deployapp
config.py
2031
from kivy.storage.jsonstore import JsonStore from subprocess import Popen, PIPE from os import path, makedirs from kivy import __version__ def run_command(command): process = Popen(command, stdout=PIPE) while True: output = process.stdout.readline() if output == '' and process.poll() is not No...
gpl-2.0
sarahkpeck/it-starts-with
wp-content/themes/headway/library/admin/admin.php
19345
<?php class HeadwayAdmin { public static function init() { self::setup_hooks(); Headway::load(array( 'api/api-admin-meta-box', 'admin/admin-write' => true, 'admin/admin-pages', 'admin/api-admin-inputs' )); } public static function setup_hooks() { /* Actions */ add_action('admi...
gpl-2.0
ares/katello
app/lib/actions/pulp3/orchestration/repository/generate_metadata.rb
1186
module Actions module Pulp3 module Orchestration module Repository class GenerateMetadata < Pulp3::Abstract def plan(repository, smart_proxy, options = {}) options[:contents_changed] = (options && options.key?(:contents_changed)) ? options[:contents_changed] : true ...
gpl-2.0
cdparra/reminiscens-lifeapi
app/controllers/Utilities.java
13432
package controllers; import static play.libs.Json.toJson; import java.io.IOException; import java.util.Iterator; import java.util.List; import org.codehaus.jackson.JsonNode; import be.objectify.deadbolt.java.actions.SubjectPresent; import models.User; import play.Logger; import play.Play; import play.data.Form; im...
gpl-2.0
nfprojects/nfengine
Src/Engine/Renderers/RendererVk/Internal/RenderPassManager.hpp
1497
/** * @file * @author Lookey (costyrra.xl@gmail.com) * @brief Declaration of Vulkan's Render Pass Manager. */ #pragma once #include "Defines.hpp" #include "RenderPassDesc.hpp" #include "Engine/Common/Containers/HashMap.hpp" namespace NFE { namespace Renderer { struct RenderPassDescHash { uint32 operato...
gpl-2.0
hexbinary/landing
src/main/java/oscar/oscarMessenger/pageUtil/MsgDisplayMessagesAction.java
4016
/** * Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. All Rights Reserved. * This software is published under the GPL GNU General Public License. * 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
JulieKuehl/julie-jumpstart
wp-content/themes/jumpstart/framework/includes/frontend.php
9896
<?php /** * Initiate Front-end * * @since 2.0.0 */ function themeblvd_frontend_init() { /** * Setup frontend * (1) Template Parts * (2) Template Attributes * (3) Theme Mode (list or grid) * (4) Main Configuration * - a. Original $post object ID * - b. Builder name and post ID (if custom layout) *...
gpl-2.0
joshmoore/zeroc-ice
java/demo/book/simple_filesystem/Filesystem/FileI.java
1451
// ********************************************************************** // // Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. // // ***************************************************...
gpl-2.0
pythonprobr/pypratico
aula1/recode.py
830
# coding: utf-8 """ ``recode`` converte bytes de uma codificação para outra. Caso mais simples: >>> recode('abc', 'ASCII', 'utf-8') 'abc' >>> recode('não', 'utf-8', 'iso-8859-1') == 'n\xe3o' True """ import io import sys def recode(bytes_ent, codif_ent, codif_sai): texto = bytes_ent.decode(cod...
gpl-2.0
malhotrah/platypus
wp-content/plugins/cartondesign/js/cartondesign.js
6164
/** * Created by hitanshu on 9/8/14. */ function cartondesignsavedata(firstname,lastname,companyname,email,url,type) { jQuery.ajax({ type: 'POST', url: ajaxcartondesign.ajaxurl, data: { action: 'cartondesign_save_data', cdfirstname: firstname, cdl...
gpl-2.0
aleax/openscada
src/moduls/daq/DCON/DCON_client.cpp
39685
//OpenSCADA module DAQ.DCON file: DCON_client.cpp /*************************************************************************** * Copyright (C) 2008-2011 by Almaz Karimov * * 2008-2019 by Roman Savochenko, rom_as@oscada.org * * ...
gpl-2.0
muliana98/ITMedia-Com
admin/content/kategori/kategori-update.php
1659
<?php include "koneksi.php"; $id_kategori = mysqli_real_escape_string($koneksi, trim($_GET['id_kategori'])); $beritabaru = "SELECT * FROM kategori WHERE id_kategori='$id_kategori'"; $sql = mysqli_query($koneksi, $beritabaru); $hasil = mysqli_fetch_array($sql); $id_kategori = mysqli_real_escape_string($k...
gpl-2.0
sal64dd/Digilib_net
digilib_net/Digilib_net/elib_bin/Studyzone/NcertBook.php
9334
<?php /* * NcertBooks of Digilib_net * ver 11.70 * Glasswid flwer * * author: designed and developed by sal64dd * contact: sal.uncd@gmail.com */ if(!isset($_GET["ncBook"])){ header('Location: '."study_home.php"); } else{ //defaults ini_set("include_path", "../../"); include "elib_d...
gpl-2.0
roderickmackenzie/gpvdm
gpvdm_gui/gui/epitaxy_class.py
8876
# # General-purpose Photovoltaic Device Model - a drift diffusion base/Shockley-Read-Hall # model for 1st, 2nd and 3rd generation solar cells. # Copyright (C) 2008-2022 Roderick C. I. MacKenzie r.c.i.mackenzie at googlemail.com # # https://www.gpvdm.com # # This program is free software; you can redistr...
gpl-2.0
TheReaCompany/nicolemiller
wp-content/themes/hazel/templates/blog/blog_large_image-loop.php
17225
<?php global $qode_options; global $more; $more = 0; $blog_hide_comments = ""; if (isset($qode_options['blog_hide_comments'])) { $blog_hide_comments = $qode_options['blog_hide_comments']; } $blog_hide_author = ""; if (isset($qode_options['blog_hide_author'])) { $blog_hide_author = $qode_options['blog_hide_autho...
gpl-2.0
InformaticaMG/WP-template
wp-content/themes/wp-clear321/js/jquery.mobilemenu.js
1743
/** * jQuery Mobile Menu * Turn unordered list menu into dropdown select menu * version 1.0(31-OCT-2011) * * Built on top of the jQuery library * http://jquery.com * * Documentation * http://github.com/mambows/mobilemenu */ (function($){ $.fn.mobileMenu = function(options) { var defaults = { defa...
gpl-2.0
TheTypoMaster/Scaper
openjdk/jaxws/drop_included/jaxws_src/src/com/sun/xml/internal/bind/v2/runtime/reflect/PrimitiveArrayListerShort.java
3404
/* * Copyright 2005-2006 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 Fou...
gpl-2.0
hsfoxman/wiki
languages/messages/MessagesBe_tarask.php
347119
<?php /** Belarusian (Taraškievica orthography) (беларуская (тарашкевіца)‎) * * See MessagesQqq.php for message documentation incl. usage of parameters * To improve a translation please visit http://translatewiki.net * * @ingroup Language * @file * * @author Cesco * @author Crt * @author EugeneZelenko * @aut...
gpl-2.0
macarena/aulas
2017/devel_cobrinha/cobra.py
1104
class Cobra: corpo = [] cor = color(0,255,0) dir = PVector(1,0) def __init__(self,escala): global width, height self.s = escala x= 600 / 2 / self.s y= 600 / 2 / self.s for i in range(4): q = PVector(x - i, y) self.corpo.append...
gpl-2.0
ranaldmiao/noiref
ds/cpp/fwrmq.cpp
219
int fw[N]; //initialize everything to 0 void update(int x, int v) { for (; x<N; x+=x&(-x)) fw[x] = max(fw[x], v); } int sum(int x) { int res = 0; for(; x; x-=x&(-x)) res = max(res, fw[x]); return res; }
gpl-2.0
cmouse/buildbot
master/setup.py
22767
#!/usr/bin/env python # # 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 # A...
gpl-2.0
codesallday/flannel_wordpress_legacy
home.php
2420
<?php /** * This is the homepage. * Based off index.php... * * @package Flannel */ get_header(); ?> <div id="primary" class="content-area"> <main id="main" class="site-main" role="main"> <div class="front-page-slider"> <ul> <li class="slide slide-first"> <h1>We play...
gpl-2.0
mrunix/streambase
tools/dump_data/task_server_main.cc
3330
#include <set> #include <getopt.h> #include <string.h> #include "tblog.h" #include "task_server.h" #include "task_server_param.h" using namespace std; using namespace sb::common; using namespace sb::tools; static const int64_t SLEEP_TIME = 4000; // 4s static const int64_t TIMEOUT = 1000 * 1000 * 10; // 10s void prin...
gpl-2.0
norcalli/list-comprehension-cpp
main.cc
12850
#include <iostream> #include <functional> #include <tuple> #include "lambda.h" #include "print-utils.h" #include "variadic-utils.h" #include "syntactic-sugar.h" #include <cmath> // #define DOUT(x) std::cout << #x " = " << (x) << std::endl; #define DOUT(x) std::cout << #x " = " << (x) << '\n'; using namespace lambda;...
gpl-2.0
sklrrzn/dokuwiki
inc/lang/gl/lang.php
21089
<?php /** * galician language file * * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) * @author Medúlio <medulio@ciberirmandade.org> * @author Oscar M. Lage <r0sk10@gmail.com> * @author Rodrigo Rega <rodrigorega@gmail.com> */ $lang['encoding'] = 'utf-8'; $lang['direction'] = 'l...
gpl-2.0
dtulyakov/php
old/test.php
587
<?PHP // Определяем что такое машины, что она умеет делать и как. class car { var $color = 'White'; function tut_tut() { echo "BIp BIp"; } } $honda = new car; // присваиваем переменной honda объект - Машину echo $honda->color; // Выводим свойство машины - цвет // //$c...
gpl-2.0
mangosthree/server
src/modules/SD3/scripts/eastern_kingdoms/scholomance/instance_scholomance.cpp
19204
/** * ScriptDev3 is an extension for mangos providing enhanced features for * area triggers, creatures, game objects, instances, items, and spells beyond * the default database scripting in mangos. * * Copyright (C) 2006-2013 ScriptDev2 <http://www.scriptdev2.com/> * Copyright (C) 2014-2021 MaNGOS <https://getma...
gpl-2.0
asikatw/ref-legacy
components/com_ref/views/result/tmpl/default.php
9520
<?php /** * @version 1.0.0 * @package com_ref * @copyright Copyright (C) 2012. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @author Created by AKHelper - http://asikart.com */ // no direct access defined('_JEXEC') or die; JHtml...
gpl-2.0
Nakard/phonebook
models/Entity/PhoneNumber.php
2413
<?php /** * PhoneNumber.php * * Creation date: 2014-04-24 * Creation time: 18:43 * * @author Arkadiusz Moskwa <a.moskwa@gmail.com> */ namespace Phonebook\Entity; use Phonebook\Exceptions\UniquePersonPhoneNumberException; use Doctrine\ORM\Mapping\Table; use Doctrine\ORM\Mapping\HasLifecycleCallbacks; use Doctri...
gpl-2.0
MikkelSandbag/seElgg
actions/admin/user/removeadmin.php
643
<?php /** * Revokes admin privileges from a user. * * @package Elgg.Core * @subpackage Administration.User */ $guid = get_input ( 'guid' ); $user = get_entity ( $guid ); if ($guid == elgg_get_logged_in_user_guid ()) { register_error ( elgg_echo ( 'admin:user:self:removeadmin:no' ) ); forward ( REFERER ); } if ...
gpl-2.0
AeroQuad/AeroQuadCommunicator
Documentation/html/search/functions_c.js
2554
var searchData= [ ['saveroute',['saveRoute',['../class_route.html#af7ee1d4d9a5786e9fa69ac9241780f35',1,'Route']]], ['scrolltobottom',['scrollToBottom',['../class_panel_firmware.html#a938e9f48484c25c81feadb69ddc26f46',1,'PanelFirmware']]], ['selectconfig',['selectConfig',['../class_panel_config.html#a150c70890753e...
gpl-2.0
smartcitiescommunity/Civikmind
vendor/laminas/laminas-validator/src/Iban.php
9388
<?php /** * @see https://github.com/laminas/laminas-validator for the canonical source repository * @copyright https://github.com/laminas/laminas-validator/blob/master/COPYRIGHT.md * @license https://github.com/laminas/laminas-validator/blob/master/LICENSE.md New BSD License */ namespace Laminas\Validator...
gpl-2.0
openSUSE/connect
views/default/css.php
53278
<?php /** * Elgg Default Theme * core CSS file * * Updated 30 Sept 09 * * @package Elgg * @subpackage Core * * @uses $vars['wwwroot'] The site URL */ ?> /* *************************************** RESET BASE STYLES *************************************** */ html, body, div, span, applet, object, iframe, h1, ...
gpl-2.0
DrBenton/talk-talk
app/core-plugins/hooks/classes/TalkTalk/CorePlugin/Hooks/Plugin/PackingBehaviour/HooksPacker.php
7423
<?php namespace TalkTalk\CorePlugin\Hooks\Plugin\PackingBehaviour; use TalkTalk\Core\Plugin\Plugin; use TalkTalk\Core\Plugin\PackingBehaviour\BasePacker; class HooksPacker extends BasePacker { const HOOKS_FILE_PATH = '%plugin-path%/plugin-hooks.php'; const DEFAULT_HOOK_PRIORITY = 0; const PLUGIN_COMPONE...
gpl-2.0
royboy789/angular-react-wordpress-theme
assets/js/angular_app.js
3419
"use strict"; var reang; var $ = jQuery; reang = angular.module('reang', ['ngResource', 'ui.router']) .filter('to_trusted', ['$sce', function($sce) { return function(text) { return $sce.trustAsHtml(text); }; }]) .config(function($stateProvider, $urlRouterProvider) { $urlRouterProvider.otherwise('/'); $stateProvid...
gpl-2.0
sanjayankur31/pyjigdo
pyJigdo/userinterface.py
7067
# # Copyright 2007-2009 Fedora Unity Project (http://fedoraunity.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; version 2, or (at your option) any # later version. # # This program is di...
gpl-2.0
Tallefer/bombusng-md
src/XMLParser.cpp
5707
//#include "stdafx.h" #include "XMLParser.h" #include "XMLEventListener.h" std::string dbgbuf; XMLParser::XMLParser(XMLEventListener *eventListener){ this->eventListener=eventListener; state=PLAIN_TEXT; } XMLParser::~XMLParser(){} void XMLParser::parse( const char * buf, int size ) { whil...
gpl-2.0
deftsoft/Joomla
administrator/components/com_calendar/views/tag/view.html.php
1509
<?php // No direct access to this file defined('_JEXEC') or die('Restricted access'); // import Joomla view library jimport('joomla.application.component.view'); /** * Event View */ class CalendarViewTag extends JView { /** * display method of Event view * @return void */ ...
gpl-2.0
olilarkin/faust
compiler/propagate/propagate.hh
1835
/************************************************************************ ************************************************************************ FAUST compiler Copyright (C) 2003-2018 GRAME, Centre National de Creation Musicale --------------------------------------------------------------------- Thi...
gpl-2.0
FloWerberger/blog-template
wp-includes/post-template.php
43495
<?php /** * WordPress Post Template Functions. * * Gets content for the current post in the loop. * * @package WordPress * @subpackage Template */ /** * Display the ID of the current item in the WordPress Loop. * * @since 0.71 */ function the_ID() { echo get_the_ID(); } /** * Retrieve the ID of the curre...
gpl-2.0
namitgarg/multi
sites/www.rai.com/themes/brownphilip/templates/page.tpl.php
7135
<?php /** * @file * Zen theme's implementation to display a single Drupal page. * * Available variables: * * General utility variables: * - $base_path: The base URL path of the Drupal installation. At the very * least, this will always default to /. * - $directory: The directory the template is located in, e...
gpl-2.0
netroby/hotspot9
src/share/vm/services/diagnosticFramework.cpp
17921
/* * Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
gpl-2.0
glye/ezpublish-kernel
eZ/Publish/Core/Persistence/Legacy/Content/UrlWildcard/Gateway/ExceptionConversion.php
3234
<?php /** * File containing the Section Gateway class * * @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\Persistence\Legacy\Content\UrlWildcard\Gateway; ...
gpl-2.0
donatellosantoro/freESBee
freesbeeWeb/src/it/unibas/icar/freesbee/ws/client/accordoservizio/cxf/SOAPFault.java
773
package it.unibas.icar.freesbee.ws.client.accordoservizio.cxf; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for SOAPFault complex type. * * <p>The following schema fragment specifies the...
gpl-2.0
jakesyl/Advance_Package_Tool
apt-private/acqprogress.cc
9978
// -*- mode: cpp; mode: fold -*- // Description /*{{{*/ /* ###################################################################### Acquire Progress - Command line progress meter ##################################################################### */ /*}}}*/ // Include files /*{{{*/ #includ...
gpl-2.0
JMaNGOS/JMaNGOS
Commons/src/main/java/org/jmangos/commons/entities/skills/language/LanguageOrcish.java
1293
/******************************************************************************* * Copyright (C) 2013 JMaNGOS <http://jmangos.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...
gpl-2.0
Shahabambesik/merbot
plugins/send.lua
315
do local function run(msg, matches) if matches[1] == "getplug" then local file = matches[2] if is_sudo(msg.from.peer_id) then local receiver = get_receiver(msg) send_document(receiver, "./plugins/"..file..".lua", ok_cb, false) end end end return { patterns = { "^(getplug) (.*)$" }, run = run } end
gpl-2.0