repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
rogerdv/keyw
Assets/Scripts/RPG/ItemWeapon.cs
2038
using UnityEngine; using UnityEngine.UI; using System.Collections; using System.Collections.Generic; public class ItemWeapon : BaseItem { public override void Use (GameObject owner, GameObject target) { //TODO: get weapon damages, etc //get item parent skill level var OwnSc = owner.GetComponent<BaseCharacter>...
gpl-2.0
DencoDance/wpdndz
wp-content/themes/news/framework/inc/post-format-mini/format-video.php
827
<?php $postvideo_vimeo = get_post_meta(get_the_ID(),'mypassion_postvideo_v', true); global $admin_data; ?> <?php $postvideo_youtube = get_post_meta(get_the_ID(),'mypassion_postvideo_y', true);?> <?php if($postvideo_vimeo){ ?> <div class="post-type-wrapper"> <div class="video2"> <iframe src="http://player.vi...
gpl-2.0
bonfil1/masmuscular
wp-content/themes/sportexx/templates/sections/sportexx_mini_cart.php
4315
<?php if( apply_filters( 'sportexx_is_catalog_mode_disabled', TRUE ) ) : ?> <div id="mini-cart"> <div class="dropdown dropdown-cart"> <?php $data_hover_attr = ''; if( apply_filters( 'sportexx_top_cart_dropdown_trigger', 'click' ) === 'hover' ) { $data_hover_attr = 'data-hover="dropdown"'; } ?> <a h...
gpl-2.0
cdymnikov/terminator-sc
Terminator/Device/Installer.cs
439
using Castle.Core; using Castle.Windsor; using Castle.MicroKernel.Registration; using Castle.MicroKernel.SubSystems.Configuration; namespace Terminator.Device { public class Installer : IWindsorInstaller { public void Install(IWindsorContainer container, IConfigurationStore store) { ...
gpl-2.0
pwujek/boats
tests/geomock.js
2745
// Generated by CoffeeScript 1.6.3 /* (c) 2011 Jan Monschke v1.0.1 GeoMock is licensed under the MIT license. @see https://github.com/janmonschke/GeoMock */ (function() { (function() { if (typeof navigator === "undefined" || navigator === null) { window.navigator = {}; } if (navigator.geolocation == null) {...
gpl-2.0
Nirage/angular
sideProj/crm/js/main.js
1495
$(function(){ var btn = $(".menu li"), url = "js/jquery.carouFredSel-6.2.1-packed.js", url2 = "//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"; // INITIAL CAROUSEL LOAD $('#foo0').carouFredSel({ auto: { duration: 600, delay: 300 }, scroll: { fx: "uncover-fade", easing: "qua...
gpl-2.0
michaelcabus/MobileMidwife-Master
app/src/main/java/android/bignerdranch/com/mobilemidwife/LoginActivty.java
1976
package android.bignerdranch.com.mobilemidwife; import android.app.ActionBar; import android.content.Intent; import android.graphics.Typeface; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widg...
gpl-2.0
epatel/qt-mac-free-3.3.8
examples/sql/overview/insert2/main.cpp
859
/**************************************************************************** ** $Id: qt/main.cpp 3.3.8 edited Jan 11 14:37 $ ** ** Copyright (C) 1992-2007 Trolltech ASA. All rights reserved. ** ** This file is part of an example program for Qt. This example ** program may be used, distributed and modified withou...
gpl-2.0
intelie/esper
esper/src/main/java/com/espertech/esper/view/StoppableView.java
830
/* * ************************************************************************************* * Copyright (C) 2008 EsperTech, Inc. All rights reserved. * * http://esper.codehaus.org * * http://www.espertech.com ...
gpl-2.0
killerwife/mangos-classic
src/game/AI/ScriptDevAI/scripts/eastern_kingdoms/naxxramas/boss_grobbulus.cpp
6877
/* This file is part of the ScriptDev2 Project. See AUTHORS file for Copyright information * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your opti...
gpl-2.0
dreadwarrior/vantomas
web/typo3conf/ext/vantomas/Classes/Page/PageRenderer/HookInterface.php
1046
<?php namespace DreadLabs\Vantomas\Page\PageRenderer; /* * 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 li...
gpl-2.0
formfoxk/DesignPattern
4.CreationalPattern - FactoryMethod/C++/pizza/pizza/PizzaTestDrive.cpp
1080
#include "PizzaStore.h" #include "NYPizzaStore.h" #include "ChicagoPizzaStore.h" int main(){ PizzaStore *nyStore = new NYPizzaStore(); PizzaStore *chicagoStore = new ChicagoPizzaStore(); Pizza *pizza = nyStore->orderPizza("cheese"); cout << "Ethan ordered a " << pizza->getName() << "\n" << endl; pizza = chicag...
gpl-2.0
uhonliu/Tolowan
Cdn/themes/dacms/js/main.js
8256
(function ($) { window.jsui = { www: 'http://cdn.demo.com', uri: 'http://cdn.demo.com/themes/dacms', ver: '1.6', roll: ["1"], url_rp: 'http://demo.com/password.html' }; $('body').on('click', '[ajax-model]', function () { var ajaxModel = $(this).attr('ajax-mode...
gpl-2.0
simibimi/websocket-pong
source/web/sources/public_html/gamelogic/Ball.js
2156
function Ball(radius, x, y, vx, vy, canvasWidth, canvasHeight) { this.radius = radius; this.x = x; this.y = y; this.vx = vx; this.vy = vy; this.canvasWidth = canvasWidth; this.canvasHeight = canvasHeight; } Ball.prototype.getX = function () { return this.x; }; Ball.prototype.setX = fun...
gpl-2.0
langcog/wordbank
common/migrations/0014_source_license.py
482
# -*- coding: utf-8 -*- from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('common', '0013_auto_20160920_1514'), ] operations = [ migrations.AddField( model_name='source', name='license', field=models.Ch...
gpl-2.0
tinkajts/nobil.no_joomla
administrator/components/com_discussions/controllers/dashboard.php
585
<?php /** * @package Codingfish Discussions * @subpackage com_discussions * @copyright Copyright (C) 2010-2012 Codingfish (Achim Fischer). All rights reserved. * @license GNU General Public License <http://www.gnu.org/copyleft/gpl.html> * @link http://www.codingfish.com */ // no direct access defined('_JEXE...
gpl-2.0
pbenner/tfbayes
tfbayes/phylotree/__init__.py
746
# Copyright (C) 2012 Philipp Benner # # 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 # any later version. # # This program is distributed in the hope that it...
gpl-2.0
kunj1988/Magento2
app/code/Magento/Store/Api/WebsiteRepositoryInterface.php
1141
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Store\Api; use Magento\Framework\Exception\NoSuchEntityException; /** * Website repository interface * * @api * @since 100.0.2 */ interface WebsiteRepositoryInterface { /** * Retriev...
gpl-2.0
GravityPDF/gravity-forms-pdf-extended
tests/e2e/advanced-checks/merge-tags.test.js
1496
import { infoText } from '../utilities/page-model/helpers/field' import AdvancedCheck from '../utilities/page-model/helpers/advanced-check' const advancedCheck = new AdvancedCheck() fixture`Form merge tags test` test('should check if form merge tags is working properly', async t => { // Actions await advancedChe...
gpl-2.0
puntable/kraken-magento
app/code/local/Welance/Kraken/Block/Adminhtml/Images/Skin.php
908
<?php class Welance_Kraken_Block_Adminhtml_Images_Skin extends Mage_Core_Block_Template { public function getSkinImageCount() { return Mage::helper('welance_kraken')->getImageCount(Welance_Kraken_Model_Abstract::TYPE_SKIN); } public function getSkinImageFolderCount() { return Mage:...
gpl-2.0
Fat-Zer/tdelibs
interfaces/tdeimproxy/library/tdeimproxy.cpp
17968
/* tdeimproxy.cpp IM service library for KDE Copyright (c) 2004 Will Stephenson <lists@stevello.free-online.co.uk> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; eit...
gpl-2.0
Morthalin/TheGame
V pasti/Assets/Scripts/GUI/Choice.cs
1784
using UnityEngine; using UnityEngine.UI; using System.Collections; public class Choice : MonoBehaviour { // Use this for initialization float oldTimeScale; void Start () { GameObject.Find ("Player").GetComponent<BasePlayer> ().pause++; oldTimeScale = Time.timeScale; Time.timeScale = 0.0f; } // Update is ...
gpl-2.0
lpinsivy/centreon
core/internal/Install/Db.php
13200
<?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 ; ei...
gpl-2.0
matthewepler/moralcourage
wp-content/themes/moralcourage/page-tab2.php
1863
<?php /** * Template Name: Tab 2 Layout */ global $page; $content = get_custom_content( $page->ID, 'td-layout-2'); $videoCategory = $content['video-list']; ?> <article class="tab-layout tab2"> <h2><?php print_content($content['alternative-page-title']); ?></h2> ...
gpl-2.0
DOable/DOable
sites/all/modules/contrib/acquia_lift/js/acquia_lift.goals_queue.js
14499
/** * Utility functions for stateless queue cookie processing. * * Functionality includes basic read/write functionality. */ (function ($, Drupal) { "use strict"; Drupal.acquiaLiftUtility = Drupal.acquiaLiftUtility || {}; Drupal.acquiaLiftUtility.QueueItem = function (params) { var queueItemUid, q...
gpl-2.0
Alexandre-T/2666
jeuderole/language/fr/common.php
47904
<?php /** * * common [Standard french] * translated originally by PhpBB-fr.com <http://www.phpbb-fr.com/> and phpBB.biz <http://www.phpBB.biz> * * @package language * @version $Id: common.php 79 2013-10-01 00:10:32Z Skouat $ * @copyright (c) 2005 phpBB Group * @license http://opensource.org/licenses/gpl-license.php GNU...
gpl-2.0
qtproject/qtwebkit
Source/WebKit/qt/WebCoreSupport/ProgressTrackerClientQt.cpp
3552
/* * Copyright (C) 2016 Konstantin Tokarev <annulen@yandex.ru> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of condi...
gpl-2.0
GreenHunan/aircheck-server
app/model/Record.scala
1023
package model import java.sql.Timestamp import java.text.SimpleDateFormat import java.util.Locale import play.api.libs.json._ import play.api.libs.functional.syntax._ /** * Created by hadoop on 16-7-24. */ case class Record(density:Float, longitude:Double, latitude: Double, use...
gpl-2.0
utfpr-dv/derdi-dv
sigeu/src/br/edu/utfpr/dv/sigeu/config/Config.java
3787
package br.edu.utfpr.dv.sigeu.config; import java.io.IOException; import java.util.Map; import java.util.Properties; import javax.faces.context.FacesContext; import com.adamiworks.utils.FileUtils; public class Config { public static final String APPLICATION_NAME = "Sistema Integrado de Gestão Universitária"; pub...
gpl-2.0
livingstoneonline/livingstone_online_theme
templates/menu/menu-tree.func.php
529
<?php /** * @file * Stub file for bootstrap_menu_tree() and suggestion(s). */ /** * Bootstrap theme wrapper function for the primary menu links. */ function livingstone_theme_menu_tree__primary(&$variables) { return '<ul class="menu nav navbar-nav primary">' . $variables['tree'] . '</ul>'; } /** * Bootstrap t...
gpl-2.0
gregoiredx/web-letter
src/test/java/ggd/webletter/web/LetterResourceTest.java
836
package ggd.webletter.web; import ggd.webletter.test.WithServer; import org.junit.ClassRule; import org.junit.Test; import javax.ws.rs.client.Entity; import javax.ws.rs.core.Form; import javax.ws.rs.core.Response; import java.io.InputStream; import static javax.ws.rs.core.Response.Status.Family.SUCCESSFUL; import st...
gpl-2.0
muromec/qtopia-ezx
qtopiacore/qt/tools/designer/src/lib/shared/qdesigner_widgetbox.cpp
2630
/**************************************************************************** ** ** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. ** ** This file is part of the Qt Designer of the Qt Toolkit. ** ** This file may be used under the terms of the GNU General Public ** License versions 2.0 or 3.0 as published ...
gpl-2.0
akairain/QEMU
scripts/qapi.py
35102
# # QAPI helper library # # Copyright IBM, Corp. 2011 # Copyright (c) 2013-2015 Red Hat Inc. # # Authors: # Anthony Liguori <aliguori@us.ibm.com> # Markus Armbruster <armbru@redhat.com> # # This work is licensed under the terms of the GNU GPL, version 2. # See the COPYING file in the top-level directory. import re f...
gpl-2.0
kenorb/wp_site
sites/all/modules/contributions/[content]/[node]/flag/theme/flag.js
3082
// $Id: flag.js,v 1.1.2.4 2008/10/10 06:52:31 quicksketch Exp $ /** * Terminology: * * "Link" means "Everything which is in flag.tpl.php" --and this may contain * much more than the <A> element. On the other hand, when we speak * specifically of the <A> element, we say "element" or "the <A> element". */ D...
gpl-2.0
cuongnd/test_pro
administrator/components/com_bookpro/models/tourprice.php
2150
<?php /** * Created by PhpStorm. * User: THANHTIN * Date: 5/9/2015 * Time: 2:57 PM */ defined('_JEXEC') or die; jimport('joomla.application.component.modeladmin'); class BookProModelTourPrice extends JModelAdmin { /** * (non-PHPdoc) * @see JModelForm::getForm() */ public function getForm(...
gpl-2.0
RUBi-ZA/JMS
src/jobs/JMS/helpers.py
1226
from resource_managers.objects import * def parse_settings_list(settings_list): settings = [] for s in settings_list: s = Setting(s["Key"], s["Value"]) settings.append(s) return settings def parse_settings_sections_dict(settings_sections_dict): settings_sections = [] for section in...
gpl-2.0
jqln-0/ar-tabletop
src/filter.cpp
1841
#include "filter.h" using std::vector; using aruco::Marker; using std::unordered_map; // BoardIgnoringMarkerFilter BoardIgnoringMarkerFilter::BoardIgnoringMarkerFilter( const aruco::BoardConfiguration &config) { // Create a hashset from the board markers for faster lookup later. vector<int> ids; config.get...
gpl-2.0
ermez3/pokechat
components/PokeApp.js
157
/* * Module dependencies */ import React from 'react'; export default class PokeApp extends React.Component{ render(){ return <h1> Poke Chat</h1> } }
gpl-2.0
hjpotter92/dcplusplus
dcpp/AdcHub.cpp
32738
/* * Copyright (C) 2001-2013 Jacek Sieka, arnetheduck on gmail point com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later ...
gpl-2.0
NationalLibraryOfNorway/Bibliotekstatistikk
old-and-depricated/annualstatistic/src/main/java/no/abmu/abmstatistikk/annualstatistic/finders/report/ReportFinderSpecification.java
2848
/*$Id: ReportFinderSpecification.java 12340 2008-12-16 14:47:26Z jens $*/ /* **************************************************************************** * * * (c) Copyright 2008 ABM-utvikling * * ...
gpl-2.0
RyMarq/Zero-K
gamedata/modularcomms/weapons/missilelauncher.lua
1384
local name = "commweapon_missilelauncher" local weaponDef = { name = [[Missile Launcher]], areaOfEffect = 48, avoidFeature = true, cegTag = [[missiletrailyellow]], craterBoost = 1, craterMult = 2, customParams = { is...
gpl-2.0
ePubViet/epubweb
plugins/system/juxcomingsoon/elements/assets/js/juxoptions.js
4971
/** * @version $id: $ * @author JoomlaUX! * @package Joomla! * @subpackage plg_system_juxcomingsoon * @copyright Copyright (C) 2012 - 2014 by Joomlaux. All rights reserved. * @license http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL version 3, See LICENSE.txt */ /** * Toggle show/hide sub fields of a...
gpl-2.0
iucn-whp/world-heritage-outlook
portlets/iucn-dbservice-portlet/docroot/WEB-INF/service/com/iucn/whp/dbservice/model/flagship_species_lkpClp.java
6361
/** * 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
dlitz/resin
modules/kernel/src/com/caucho/config/gen/CacheGenerator.java
4720
/* * 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
BruceWayneLin/mittag
admin/language/zh-TW/extension/module/store.php
367
<?php // Heading $_['heading_title'] = '多商店切換'; // Text $_['text_extension'] = '模組'; $_['text_success'] = '更新成功'; $_['text_edit'] = '編輯'; // Entry $_['entry_admin'] = '僅適用於後台管理員'; $_['entry_status'] = '狀態'; // Error $_['error_permission'] = '您沒有權限更改此模組的設置!';
gpl-2.0
LaurentLeeJS/Laurent.Lee.Framework
Laurent.Lee.CLB.Ex/Win32/SafeHandles/TmphSafeMemoryMappedFileHandle.cs
2545
/* -------------------------------------------------- ----------------------------------------- The frame content is protected by copyright law. In order to facilitate individual learning, allows to download the program source information, but does not allow individuals or a third party for profit, the commercial use ...
gpl-2.0
knowlp/CoreNLP
src/edu/stanford/nlp/ling/tokensregex/CoreMapExpressionExtractor.java
19137
package edu.stanford.nlp.ling.tokensregex; import edu.stanford.nlp.io.IOUtils; import edu.stanford.nlp.ling.CoreAnnotations; import edu.stanford.nlp.ling.tokensregex.parser.ParseException; import edu.stanford.nlp.ling.tokensregex.parser.TokenSequenceParser; import edu.stanford.nlp.ling.tokensregex.types.Expression; im...
gpl-2.0
damirkusar/jvoicebridge
voicelib/src/com/sun/mpk20/voicelib/impl/service/voice/work/audiogroup/SetSpeakingWork.java
1305
/* * Copyright 2007 Sun Microsystems, Inc. * * This file is part of jVoiceBridge. * * jVoiceBridge 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 and distributed hereunder * to you. * * jVo...
gpl-2.0
LoDoMa/Lime
src/net/lodoma/lime/rui/RUIProgressBar.java
3323
package net.lodoma.lime.rui; import net.lodoma.lime.client.window.Window; import net.lodoma.lime.util.Vector2; public class RUIProgressBar extends RUIButton { protected float progress_c; protected final Vector2 progressDimensions = new Vector2(); protected RUIBorder progressBorder; private String...
gpl-2.0
Jacksson/mywms
rich.client/los.clientsuite/LOS Common/src/de/linogistix/common/preferences/AppPreferencesController.java
4222
/* * Copyright (c) 2006 LinogistiX GmbH. All rights reserved. * *<a href="http://www.linogistix.com/">browse for licence information</a> * */ package de.linogistix.common.preferences; import de.linogistix.common.exception.InternalErrorException; import de.linogistix.common.util.ExceptionAnnotator; import java.bea...
gpl-2.0
BuddhaLabs/DeD-OSX
soot/soot-2.3.0/src/soot/jimple/spark/ondemand/DemandCSPointsTo.java
68652
/* Soot - a J*va Optimization Framework * Copyright (C) 2007 Manu Sridharan * * 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...
gpl-2.0
sergirams/puentes_humanos
wp-content/themes/Zephyr/comments.php
3624
<?php if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) die ('Please do not load this page directly. Thanks!'); if ( post_password_required() ) { return; } ?> <div id="comments" class="w-comments has_form"> <?php if ( get_comments_number( get_the_ID() ) ) { ?> <h4 ...
gpl-2.0
studioego/kwidgetsaddons
src/kruler.cpp
17870
/* This file is part of the KDE libraries Copyright (C) 1998 Jörg Habenicht (j.habenicht@europemail.com) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 o...
gpl-2.0
foxbei/joomla16
templates/yoo_expo/layouts/com_content/article/default.php
3816
<?php /** * @package yoo_expo Template * @file default.php * @version 5.5.0 January 2011 * @author YOOtheme http://www.yootheme.com * @copyright Copyright (C) 2007 - 2011 YOOtheme GmbH * @license YOOtheme Proprietary Use License (http://www.yootheme.com/license) */ // no direct access defined('_JEXEC') o...
gpl-2.0
soeffing/openx_test
lib/OX/Extension/deliveryAdRender.php
1966
<?php /* +---------------------------------------------------------------------------+ | OpenX v2.8 | | ========== | | ...
gpl-2.0
CombustibleLemonade/KnowledgeNet
Scripts/Base/Base.cpp
1681
#include <iostream> #include <vector> #include "Base.h" #include "Defaults.h" namespace KNOW { Profiler::Profiler() { Measure.restart(); } sf::Time Profiler::operator ()() { sf::Time Delta = Measure.getElapsedTime(); Measure.restart(); return Delta; } sf::...
gpl-2.0
lclsdu/CS
jspxcms/src/com/jspxcms/ext/repository/AdDaoPlus.java
318
package com.jspxcms.ext.repository; import java.util.List; import com.jspxcms.common.orm.Limitable; import com.jspxcms.ext.domain.Ad; /** * AdDaoPlus * * @author liufang * */ public interface AdDaoPlus { public List<Ad> findList(Integer[] siteId, String[] slot, Integer[] slotId, Limitable limitable); }
gpl-2.0
plechev-64/wp-recall
add-on/prime-forum/classes/class-prime-last-posts.php
3407
<?php class PrimeLastPosts { public $number = 5; public $name_length = 30; public $post_length = 120; public $avatar_size = 40; public $topics = array(); public $posts = array(); function __construct( $args ) { $this->init_properties( $args ); $this->topics = $this->get_topics()...
gpl-2.0
MagicMediaInc/blaine
wp-content/themes/mediacenter/framework/inc/custom-styles.php
3399
<?php if ( !function_exists ('media_center_custom_styles') ) : function media_center_custom_styles() { global $media_center_theme_options; $default_font_family = isset( $media_center_theme_options['default_font'] ) ? $media_center_theme_options[ 'default_font' ] : '\'Open Sans\', sans-serif;'; $title_font_family =...
gpl-2.0
patdunlavey/imusgeographics.com
sites/all/modules/fb/themes/fb_fbml/node.tpl.php
1245
<?php // $Id: node.tpl.php,v 1.9 2010/03/25 19:23:11 yogadex Exp $ /** * @file * FBML node template. */ $class = "class=\"node node-$type"; if ($sticky) $class .= " sticky"; if (!$status) $class .= " node-unpublished"; $class .= "\""; if (isset($extra_style)) $style = "style = \"$extra_style\""; ?> <div <?php...
gpl-2.0
tukkek/javelin
tyrant/mikera/tyrant/test/Quest_TC.java
3012
/* * Created on 02-Apr-2005 * * By Mike Anderson */ package tyrant.mikera.tyrant.test; import javelin.controller.old.Game; import javelin.model.BattleMap; import tyrant.mikera.engine.Lib; import tyrant.mikera.engine.RPG; import tyrant.mikera.engine.Thing; import tyrant.mikera.tyrant.*; /** * @auth...
gpl-2.0
EaseRider/DotNetEest
AutoReservation.Ui/Converters/DetailViewVisibilityConverter.cs
667
using System; using System.Windows; using System.Windows.Data; namespace AutoReservation.Ui.Converters { public class DetailViewVisibilityConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { ...
gpl-2.0
raphaelm/backupd
backupd/remote/ssh/ssh.go
683
package ssh import ( "github.com/raphaelm/backupd/backupd/model" "io" "strconv" "strings" ) type Ssh struct { Host string Port int User string } func split2(s, sep string) (a, b string) { x := strings.SplitN(s, sep, 2) return x[0], x[1] } func Load(r model.Remote) *Ssh { driver := Ssh{} host := r.Locati...
gpl-2.0
peteriliev/Maille
jasmine-standalone-2.0.1/src/kata/CombSort.js
416
var CombSort = function() {}; CombSort.sort = function(a) { var gap = a.length, swapped = false, tmp = 0; while (gap > 1 || swapped) { gap = gap / 1.7; if (gap < 1) { gap = 1; } swapped = false; for (var i = 0, iMax = a.length; i + gap < iMax; i++) { if (a[i] > a[i + gap]) { tmp = a...
gpl-2.0
cjaypierson/lpm
administrator/components/com_iproperty/controllers/settings.php
964
<?php /** * @version 3.1.3 2013-08-30 * @package Joomla * @subpackage Intellectual Property * @copyright (C) 2013 the Thinkery * @license GNU/GPL see LICENSE.php */ defined( '_JEXEC' ) or die( 'Restricted access'); jimport('joomla.application.component.controllerform'); class IpropertyControllerSett...
gpl-2.0
npelh001/rshell
src/connector.cpp
1387
/* * Author: Nicholas Pelham * Date : 10/29/15 * * All members relating to connectors are defined here. * * Connector: Used as a template for all connectors. * And : * Or : * SemiColon: */ #include "instruction.h" #include "connectors.h" Connector::Connector(Instruction *lInst, Instruction * rIn...
gpl-2.0
thetouristt/gailurra
wp-config.php
3198
<?php /** * Configuración básica de WordPress. * * Este archivo contiene las siguientes configuraciones: ajustes de MySQL, prefijo de tablas, * claves secretas, idioma de WordPress y ABSPATH. Para obtener más información, * visita la página del Codex{@link http://codex.wordpress.org/Editing_wp-config.php Editing ...
gpl-2.0
neelance/jre4ruby
jre4ruby/lib/share/java/security/spec/ECFieldFp.rb
3370
require "rjava" # Copyright 2003 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...
gpl-2.0
jalev/learning_docker_ruby
spec/ldr_spec.rb
147
require 'spec_helper' describe LDR do it "should return something when asked to" do puts LDR.info LDR.info.should != nil end end
gpl-2.0
AndreFSilveira/myblog
wp-content/plugins/pcom-envio-validacao/pcom-envio-validacao.php
11463
<?php /** * Plugin Name: PontoCom Valida&ccedil;&atilde;o e Envio de Formul&aacute;rios * Plugin URI: http://agenciadeinternet.com/ * Description: Funções para Valida&ccedil;&atilde;o e envio de Fomul&aacute;rios por e-mail. * Author: PontoCom Ag&ecirc;ncia de Internet * Author URI: http://agenciadeinternet.com/ *...
gpl-2.0
martinnj/DNSMigrationPrope
DNSMigrationPrope/Properties/Settings.Designer.cs
1074
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18444 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
gpl-2.0
WSUV-CS420-Team4/ParkingTrackerApi
config.example.php
102
<?php $db_host = "localhost"; $db_user = "user"; $db_pass = "pass"; $db_name = "parkingtracker"; ?>
gpl-2.0
socialscript/socialscript
application/lib/Smarty/plugins/outputfilter.trimwhitespace.php
3200
<?php /** * Smarty plugin * * @package Smarty * @subpackage PluginsFilter */ /** * Smarty trimwhitespace outputfilter plugin * * Trim unnecessary whitespace from HTML markup. * * @author Rodney Rehm * @param string $source * input string * @param Smarty_Internal_Template $smarty * ...
gpl-2.0
yippee-ki-yay/TurboFolkEditor
Termin19b/src/grafeditor/app/Main.java
323
package grafeditor.app; public class Main { public Main() { super(); // TODO Auto-generated constructor stub } /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub AppCore app=AppCore.getInstance(); app.setVisible(true); } ...
gpl-2.0
stevemynett/Grasshopper-Framework
search.php
708
<?php get_header(); ?> <section id="main"> <section id="main_content" role="main"> <h2>Search results</h2> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <h3><a href="<?php the_permalink() ?>"...
gpl-2.0
Risca/scummvm
backends/events/default/default-events.cpp
7685
/* 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
berryjace/www
crm/library/BL/Entity/Repository/OrganizationTypeRepository.php
564
<?php namespace BL\Entity\Repository; use Doctrine\ORM\EntityRepository; /** * List of State In USA * * @author Rashed */ class OrganizationTypeRepository extends EntityRepository { /** * Function to get all Design Tag * @author Rashed * @copyright Blueliner Marketing * @version 0.1 ...
gpl-2.0
ioquake/jedi-academy
codemp/client/FXExport.cpp
2271
//Anything above this #include will be ignored by the compiler #include "../qcommon/exe_headers.h" #include "client.h" #include "FxScheduler.h" //#define __FXCHECKER #ifdef __FXCHECKER #include <float.h> #endif // __FXCHECKER int FX_RegisterEffect(const char *file) { return theFxScheduler.RegisterEffect(file, tr...
gpl-2.0
gildaslemoal/elpi
runtime/catalina/work/default-server/0.0.0.0/settings/org/apache/jsp/error/error_jsp.java
4779
/* * Generated by the Jasper component of Apache Tomcat * Version: Apache Tomcat/7.0.59 * Generated at: 2015-07-16 22:30:49 UTC * Note: The last modified time of this file was set to * the last modified time of the source file after * generation to assist with modification tracking. */ package org.ap...
gpl-2.0
michaelaw320/YoutubeAudioSplitter
YoutubeAudioSplitter/Tools/freac/source/freac-1.0.20a/src/track.cpp
836
/* BonkEnc Audio Encoder * Copyright (C) 2001-2008 Robert Kausch <robert.kausch@bonkenc.org> * * This program is free software; you can redistribute it and/or * modify it under the terms of the "GNU General Public License". * * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR * IMPLIED ...
gpl-2.0
ibnoe/simonev
protected/pages/s/pendapatan/Target.php
7806
<?php prado::using ('Application.pages.s.pendapatan.MainPagePendapatan'); class Target extends MainPagePendapatan { public function onLoad ($param) { parent::onLoad ($param); $this->showTarget=true; if (!$this->IsCallback&&!$this->IsPostback) { if (!is...
gpl-2.0
iionly/Elgg_1.8_izap_videos
izap_videos/actions/izap_videos/admin/recycle.php
657
<?php /** * iZAP Videos plugin by iionly * (based on version 3.71b of the original izap_videos plugin for Elgg 1.7) * Contact: iionly@gmx.de * https://github.com/iionly * * Original developer of the iZAP Videos plugin: * @package Elgg videotizer, by iZAP Web Solutions * @license GNU Public License version 2 * ...
gpl-2.0
BayCEER/goat
src/main/java/de/unibayreuth/bayeos/goat/panels/attributes/JGeraetPanel.java
2796
/******************************************************************************* * Copyright (c) 2011 University of Bayreuth - BayCEER. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Public License v2.0 * which accompanies this distribution, and is...
gpl-2.0
softmediadev/kohana-phonenumber
classes/Kohana/PhoneNumber.php
8333
<?php defined('SYSPATH') or die('No direct script access.'); class Kohana_PhoneNumber { protected $number; protected $config; protected $phoneNumberUtil; protected $shortNumberInfo; protected $phoneNumberGeocoder; protected $phoneNumber = NULL; protected $phoneNumberRegion = NULL; protected $phoneNumberType ...
gpl-2.0
TheTypoMaster/Scaper
openjdk/jdk/src/share/classes/com/sun/jdi/ArrayType.java
3789
/* * Copyright 1998-2003 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
openattic/openattic
webui/app/components/ceph-iscsi/shared/ceph-iscsi-state.service.js
12173
/** * * @source: http://bitbucket.org/openattic/openattic * * @licstart The following is the entire license notice for the * JavaScript code in this page. * * Copyright (c) 2017 SUSE LLC * * * The JavaScript code in this page is free software: you can * redistribute it and/or modify it under the terms of t...
gpl-2.0
davidepedranz/algoritmi_2014
lezione_2/sortpesato.cpp
3730
//============================================================================ // Name : sortpesato.cpp // Author : Davide Pedranz // Version : 1n // Licence : GPL v2 // Description : See statement. //============================================================================ // #include <iostream...
gpl-2.0
msmobility/silo
useCases/munich/src/main/java/de/tum/bgu/msm/data/person/PersonMuc.java
3607
package de.tum.bgu.msm.data.person; import de.tum.bgu.msm.data.household.Household; import de.tum.bgu.msm.schools.PersonWithSchool; import java.util.Optional; public class PersonMuc implements PersonWithSchool { private final Person delegate; private Nationality nationality; private int schoolType = 0...
gpl-2.0
guc-spinet/saishokukenbi
wp-content/themes/opinion_tcd018/single-press.php
2000
<?php get_header(); $options = get_desing_plus_option(); ?> <div id="main_col"> <ul id="bread_crumb" class="clearfix"> <li class="home"><a href="<?php echo esc_url(home_url('/')); ?>"><span><?php _e('Home', 'tcd-w'); ?></span></a></li> <li><a href="<?php echo get_post_type_archive_link('press'); ?>"><span><?php ...
gpl-2.0
bobbingwide/oik-clone
shortcodes/oik-cloned.php
3744
<?php // (C) Copyright Bobbing Wide 2015, 2019 /** * Implement [cloned] shortcode for oik-clone * * The cloned shortcode will display the same sort of content as the Clone on update meta box * only listing the targets where the cloning has been done. * * The links will probably be ugly initially * * * @TODO...
gpl-2.0
opieproject/opie
i18n/de/libpolished.ts
218
<!DOCTYPE TS><TS> <defaultcodec>iso8859-1</defaultcodec> <context> <name>Decoration</name> <message> <source>Polished</source> <translation>Poliert</translation> </message> </context> </TS>
gpl-2.0
mlerner/nicely
app/controllers/reports_controller.rb
348
class ReportsController < ApplicationController before_filter :load_task def create @report = Report.new @report.user = User.find_by_id(params[:user_id]) @task.reports << @report if @report.save && @task.save render json: {report: @report, success: true } else render json: { success...
gpl-2.0
arezki1990/wordpress
wp-content/plugins/email-subscribers/email-subscribers.php
2600
<?php /* Plugin Name: Email Subscribers Plugin URI: http://www.gopiplus.com/work/2014/05/02/email-subscribers-wordpress-plugin/ Description: Email subscribers plugin has options to send newsletters to subscribers. It has a separate page with HTML editor to create a HTML newsletter. Also have options to send notific...
gpl-2.0
5putnik/discreta12eueumesmoehugo
doc/html/search/variables_4.js
875
var searchData= [ ['para',['para',['../structflecha__st.html#a5223790dbdf3eb9f52abc54d6e959833',1,'flecha_st']]], ['pos',['pos',['../structlugar__st.html#ad5ba855068e8634869b5751b70279774',1,'lugar_st::pos()'],['../structpassa__dados__st.html#a5057d2ab77480a830502f7b82ad38992',1,'passa_dados_st::pos()'],['../struct...
gpl-2.0
MikkelSandbag/seElgg
mod/twitter_api/languages/pl.php
3994
<?php return array ( 'twitter_api' => 'Usługi Twittera', 'twitter_api:requires_oauth' => 'Usługi Twittera wymagają włączonego pluginu dostarczającego bibliotekę OAuth.', 'twitter_api:consumer_key' => 'Klucz konsumenta', 'twitter_api:consumer_secret' => 'Sekretny klucz konsumenta', 'twitter_api:settin...
gpl-2.0
faddison/Cleftgoose
plugins/system/jsntplframework/libraries/joomlashine/api/lightcart.php
4830
<?php /** * @version $Id$ * @package JSNExtension * @subpackage JSNTplFramework * @author JoomlaShine Team <support@joomlashine.com> * @copyright Copyright (C) 2012 JoomlaShine.com. All Rights Reserved. * @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html * * Websites: htt...
gpl-2.0
JarnoVgr/ZombieSurvival
gamemodes/zombiesurvival/entities/entities/prop_gunturret/init.lua
6818
AddCSLuaFile("cl_init.lua") AddCSLuaFile("shared.lua") include("shared.lua") ENT.LastHitSomething = 0 local function RefreshTurretOwners(pl) for _, ent in pairs(ents.FindByClass("prop_gunturret")) do if ent:IsValid() and ent:GetObjectOwner() == pl then ent:ClearObjectOwner() ent:ClearTarget() ...
gpl-2.0
izrik/tudor
tests/persistence_t/in_memory/layer/test_internals_2.py
7561
from models.object_types import ObjectTypes from tests.persistence_t.in_memory.in_memory_test_base import InMemoryTestBase # not copied from any other file class GetObjectTypeTest(InMemoryTestBase): def setUp(self): self.pl = self.generate_pl() self.pl.create_all() def test_get_object_type...
gpl-2.0
jhemsley30/redtruck.com
sites/all/themes/zen/ashly/templates/html--node--2.tpl.php
2279
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language; ?>" version="XHTML+RDFa 1.0" dir="<?php print $language->dir; ?>"<?php print $rdf_namespaces; ?>> <head profile="<?php print $g...
gpl-2.0
joshdrummond/chinese-polar-races
src/com/joshdrummond/cpr/CPR.java
3289
package com.joshdrummond.cpr; /* Chinese Polar Races Josh Drummond Fall of '99 */ import java.applet.*; import java.awt.*; import java.awt.event.*; public class CPR extends Applet // implements FocusListener { private Button btnPlay; private Button btnReview; private Bu...
gpl-2.0