repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
unrealprojects/journal
administrator/components/com_acymailing/helpers/acypict.php
5448
<?php /** * @package AcyMailing for Joomla! * @version 4.7.2 * @author acyba.com * @copyright (C) 2009-2014 ACYBA S.A.R.L. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?><?php class acypictHelper{ var $error; var $maxHeigh...
gpl-2.0
ifigueroap/pse-spy
wxPSeInt/mxDebugWindow.cpp
11516
#include <wx/sizer.h> #include <wx/stattext.h> #include <wx/button.h> #include <wx/scrolbar.h> #include "mxDebugWindow.h" #include "mxStatusBar.h" #include "ids.h" #include "DebugManager.h" #include "mxMainWindow.h" #include "ConfigManager.h" #include "mxProcess.h" #include "mxHelpWindow.h" #include "mxDesktopTestPanel...
gpl-2.0
vdm-io/Joomla-Component-Builder
admin/views/components_placeholders/tmpl/default_batch_footer.php
957
<?php /** * @package Joomla.Component.Builder * * @created 30th April, 2015 * @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com> * @gitea Joomla Component Builder <https://git.vdm.dev/joomla/Component-Builder> * @github Joomla Component Builder <https://github.com/vdm-io/Jo...
gpl-2.0
camdram/camdram
tests/CamdramBundle/Controller/SearchControllerTest.php
12096
<?php namespace Camdram\Tests\CamdramBundle\Controller; use Acts\CamdramBundle\Entity\Show; use Acts\CamdramBundle\Entity\Performance; use Acts\CamdramBundle\Entity\Society; use Acts\CamdramBundle\Entity\Venue; use Acts\CamdramBundle\Entity\Person; use Acts\CamdramBundle\Entity\Role; use Acts\CamdramSecurityBundle\Ent...
gpl-2.0
mrtimpender/eleventyseven
wp-content/themes/eleventyseven/page.php
865
<?php /** * The template for displaying all pages. * * This is the template that displays all pages by default. * Please note that this is the WordPress construct of pages * and that other 'pages' on your WordPress site will use a * different template. * * @package eleventyseven */ get_header(); ?> <div id=...
gpl-2.0
neuros/neuroslink-mythtv-0.21.0-fixes18722
libs/libmythtv/dtvchannel.cpp
5309
#include "dtvchannel.h" // Qt headers #include <qmap.h> #include <qstring.h> #include <qsqldatabase.h> // MythTV headers #include "mythcontext.h" #include "mythdbcon.h" #include "cardutil.h" #define LOC QString("DTVChan(%1): ").arg(GetDevice()) #define LOC_WARN QString("DTVChan(%1) Warning: ").arg(GetDevice()) #defi...
gpl-2.0
kwirk/eventgallery
site/views/singleimage/tmpl/default_comments.php
928
<?php /** * @package Sven.Bluege * @subpackage com_eventgallery * * @copyright Copyright (C) 2005 - 2013 Sven Bluege All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ // no direct access defined('_JEXEC') or die('Restricted access'); ?> <?p...
gpl-2.0
ethymos/jaiminho-sms
includes/admin/wp-sms-notifications.php
5141
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Wordpress new version if(get_option('wp_notification_new_wp_version')) { $update = get_site_transient('update_core'); $update = $update->updates; if($update[1]->current > $wp_version) { if(get_option('wp_last_send_notification') == false) { ...
gpl-2.0
trungjc/mariosarti
wp-content/themes/ego/z_admin/js/udff_fieldMonitor.js
9014
jQuery(document).ready(function(){ //FIELD monitor -----------------------------------------------------------------/ jQuery('.hideHelp').hide(); jQuery('div#content-wrapper .module-inputField:not(.colorpickerField)' ).dblclick(function(){ jQuery(this).select(); }).focus(function(){ var targetSettingItem...
gpl-2.0
MESH-Dev/Enclave-Capital
wp-content/themes/mesh/header.php
6079
<!DOCTYPE html> <!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]--> <!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]--> <!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]--> <!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]--> <?php if( is_page_template('templates/homepage-fullsc...
gpl-2.0
Osndok/zim-desktop-wiki
zim/plugins/versioncontrol/hg.py
5701
# -*- coding: utf-8 -*- # Copyright 2009-2012 Jaap Karssenberg <jaap.karssenberg@gmail.com> # Copyright 2012 Damien Accorsi <damien.accorsi@free.fr> from __future__ import with_statement import os import logging import xml.etree.ElementTree # needed to compile with cElementTree import xml.etree.cElementTree as ET ...
gpl-2.0
deemac504/Suade
wp-content/themes/whitelight/header.php
5095
<?php /** * Header Template * * Here we setup all logic and XHTML that is required for the header section of all screens. * * @package WooFramework * @subpackage Template */ global $woo_options; ?><!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" ...
gpl-2.0
twpol/ndoc
src/Documenter/Msdn/AssemblyInfo.cs
384
using System; using System.Reflection; [assembly: CLSCompliantAttribute(true)] [assembly: AssemblyTitle("NDoc3 MSDN Documenter")] [assembly: AssemblyDescription("MSDN-like documenter for the NDoc3 code documentation generator.")] #if (OFFICIAL_RELEASE) [assembly: AssemblyDelaySign(false)] [assembly: Assembly...
gpl-2.0
TheTypoMaster/Scaper
openjdk/jdk/src/share/classes/sun/security/krb5/KrbApRep.java
6446
/* * Portions Copyright 2000-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 Sof...
gpl-2.0
aakb/U21
status.php
2391
<?php // Register our shutdown function so that no other shutdown functions run before this one. // This shutdown function calls exit(), immediately short-circuiting any other shutdown functions, // such as those registered by the devel.module for statistics. register_shutdown_function('status_shutdown'); function stat...
gpl-2.0
andergmartins/t3v3
libraries/cms/html/sortablelist.php
3051
<?php /** * @package Joomla.Libraries * @subpackage HTML * * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('JPATH_PLATFORM') or die; /** * HTML utility class for creatin...
gpl-2.0
OpenMentor/OpenMentor
db/migrate/20151229215000_create_skill_proposals.rb
307
class CreateSkillProposals < ActiveRecord::Migration def change create_table :skill_proposals do |t| t.string :name, null: false, uniqueness: true t.integer :proposed_by, index: true, null: false t.integer :reviewed_by, index: true t.timestamps null: false end end end
gpl-2.0
xpdavid/teammates
src/test/java/teammates/test/cases/browsertests/InstructorFeedbackResultsPageUiTest.java
35743
package teammates.test.cases.browsertests; import java.io.File; import org.openqa.selenium.By; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import teammates.common.datatransfer.attributes.FeedbackQuestionAttributes; import teammates.common.util.AppUrl; import teammates.common.util....
gpl-2.0
sguha-work/fiddletest
fiddles/Gauge/Background/Using-gradient-fill-in-charts-as-background_423/url.js
187
http://jsfiddle.net/fusioncharts/cjddY/ http://jsfiddle.net/gh/get/jquery/1.9.1/sguha-work/fiddletest/tree/master/fiddles/Gauge/Background/Using-gradient-fill-in-charts-as-background_423/
gpl-2.0
Oleg-Sulzhenko/alpeadria
wp-content/themes/voyage-parent/404.php
1061
<?php get_header(); ?> <?php $sidebar_position = tfuse_sidebar_position(); ?> <div <?php tfuse_class('middle'); ?>> <div class="container_12"> <?php if (!tfuse_options('disable_breadcrumbs')) tfuse_breadcrumbs(); ?> <!-- content --> <div <?php tfuse_class('content'); ?>> <d...
gpl-2.0
Automattic/wp-calypso
client/lib/generate-password/index.js
1040
// inspired from https://github.com/you-dont-need/You-Dont-Need-Lodash-Underscore#_random const randomInt = ( lower, upper ) => Math.floor( lower + Math.random() * ( upper - lower + 1 ) ); // inspired from https://github.com/you-dont-need/You-Dont-Need-Lodash-Underscore#_sample const sample = ( arr ) => arr.length ? ...
gpl-2.0
knigherrant/decopatio
administrator/components/com_admintools/controllers/htmaker.php
1837
<?php /** * @package AdminTools * @copyright Copyright (c)2010-2015 Nicholas K. Dionysopoulos * @license GNU General Public License version 3, or later * @version $Id$ */ // Protect from unauthorized access defined('_JEXEC') or die; class AdmintoolsControllerHtmaker extends F0FController { public function...
gpl-2.0
CORE-POS/IS4C
fannie/batches/UNFI/VPBPIV.php
35991
<?php /******************************************************************************* Copyright 2010 Whole Foods Co-op This file is part of CORE-POS. CORE-POS 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 Sof...
gpl-2.0
drazenzadravec/nequeo
Tools/Lucene/contrib/analyzers/common/analysis/ar/ArabicNormalizer.cpp
2415
///////////////////////////////////////////////////////////////////////////// // Copyright (c) 2009-2014 Alan Wright. All rights reserved. // Distributable under the terms of either the Apache License (Version 2.0) // or the GNU Lesser General Public License. ////////////////////////////////////////////////////////////...
gpl-2.0
MavenRain/reko
src/ImageLoaders/MzExe/MsdosImageLoader.cs
3623
#region License /* * Copyright (C) 1999-2015 John Källén. * * 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, or (at your option) * any later version. * * This program i...
gpl-2.0
snjv180/PythonStudy
whileloop.py
155
#!/usr/bin/env python3 n = 100 sum = 0 counter = 1 while counter <= n: sum = sum + counter counter += 1 print("Sum of 1 until %d: %d" % (n,sum))
gpl-2.0
mediagoom/mg
test/test_multiple_bitrate.py
4620
#!/usr/bin/python import subprocess, os, shutil, re, sys, getopt from urllib2 import urlopen, URLError, HTTPError import test_core, test_hash #http://defgroupdisks.blob.core.windows.net/builds/PLAY #002569741225_Sintel_2010_1080p_mkv_338_144_120.mp4 #002569741225_Sintel_2010_1080p_mkv_676_288_320.mp4 #002569741225...
gpl-2.0
mwager/jAM
src/abc/notation/Degree.java
2427
// Copyright 2006-2008 Lionel Gueganton // This file is part of abc4j. // // abc4j 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 3 of the License, or // (at your option) any later ver...
gpl-2.0
alwaysprep/codebin
gists/admin.py
113
from django.contrib import admin from .models import Gist # Register your models here. admin.site.register(Gist)
gpl-2.0
drftpd-ng/drftpd3
src/plugins/mediainfo/mediainfo-common/src/main/java/org/drftpd/mediainfo/common/MediaInfo.java
12687
/* * This file is part of DrFTPD, Distributed FTP Daemon. * * DrFTPD 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. * * DrFTPD...
gpl-2.0
SpamExperts/plesk-windows-addon
tests/_support/Pages/BrandingPage.php
728
<?php namespace Pages; class BrandingPage { const TITLE = "Branding"; const DESCRIPTION = "On this page you can change how the addon looks for the customers."; const ORIGINAL_BRANDNAME = 'Professional Spam Filter'; const SUB_TITLE_A = "Current branding"; const DESCRIPTION_A = "Your branding is...
gpl-2.0
tg2015/SIGOES-Bitacora
stream.php
1460
<?php /** *Plugin Name: SIGOES-Bitacora *Description: Plugin para la implementacion de modulo de bitacora *Version: 3.0 *Author: Equipo de desarrollo SIGOES *Author URI: http://modulos.egob.sv * License: GPLv2+ * Text Domain: stream * Domain Path: /languages */ if ( ! version_compare( PHP_VERSION, '5.3', '>='...
gpl-2.0
nalysa-etienne/cclifv2
administrator/components/com_tz_portfolio/views/category/tmpl/edit_metadata.php
1061
<?php /*------------------------------------------------------------------------ # TZ Portfolio Extension # ------------------------------------------------------------------------ # author DuongTVTemPlaza # copyright Copyright (C) 2012 templaza.com. All Rights Reserved. # @license - http://www.gnu.org/licenses...
gpl-2.0
carlosway89/testshop
includes/modules/order_total/ot_payment.php
13358
<?php /* -------------------------------------------------------------- ot_payment.php 2014-07-15 gm Gambio GmbH http://www.gambio.de Copyright (c) 2014 Gambio GmbH Released under the GNU General Public License (Version 2) [http://www.gnu.org/licenses/gpl-2.0.html] ---------------------------------...
gpl-2.0
cheems77/nb
wp-content/plugins/simple-forum/admin/panel-admins/support/sfa-admins-save.php
17134
<?php /* Simple:Press Admin Admins Update Your Options Support Functions $LastChangedDate: 2010-03-26 16:38:27 -0700 (Fri, 26 Mar 2010) $ $Rev: 3818 $ */ if (preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('Access Denied'); } function sfa_save_admins_your_options_data() { global $current_use...
gpl-2.0
corejoomla/crosswords
com_crosswords/admin/helpers/html/crosswordsadministrator.php
3553
<?php /** * @version $Id: helper.php 01 2012-06-30 11:37:09Z maverick $ * @package CoreJoomla.Pollss * @subpackage Components * @copyright Copyright (C) 2009 - 2012 corejoomla.com. All rights reserved. * @author Maverick * @link http://www.corejoomla.com/ * @license License GNU General Public License versio...
gpl-2.0
scem/zing
src/main/zing/newsroom.py
1113
''' Created on May 21, 2015 @author: scem ''' from threading import Thread from zing import Zinger import zmq CLOSED = 'stopped' OPEN = 'running' class NewsRoom(Thread): ''' classdocs ''' def __init__(self, inport='7001', outport='7002'): self.inport = inport ...
gpl-2.0
imunro/FLIMfit
FLIMfitLibrary/Source/lmstx.cpp
22852
/* lmstr.f -- translated by f2c (version 20020621). You must link the resulting object file with the libraries: -lf2c -lm (in that order) */ #include <cmath> #include <algorithm> #include <string.h> #include "cminpack.h" #include "ConcurrencyAnalysis.h" #ifdef _WINDOWS #include "Windows.h" #e...
gpl-2.0
Santalum/Monster-Master
Galaxim.py
5125
#!/usr/bin/env python # -*- coding: UTF-8 -*- from __future__ import division import pygame #import sys #import time import math import random from pygame.locals import * #particle particle0Img = pygame.image.load('sprite/particle/0anim.png') white = (255, 255, 255) black = (0, 0, 0) red = (255, 0, 0) green = (0, 255...
gpl-2.0
leonard520/elephantle
wp-content/themes/photosmyth/single.php
25815
<?php get_header(); ?> <!-- Inner Content Section starts here --> <div id="inner_content_section"> <!-- Main Content Section starts here --> <div id="main_co...
gpl-2.0
specify/specify6
src/edu/ku/brc/af/ui/db/PickListItemIFace.java
2450
/* Copyright (C) 2021, Specify Collections Consortium * * Specify Collections Consortium, Biodiversity Institute, University of Kansas, * 1345 Jayhawk Boulevard, Lawrence, Kansas, 66045, USA, support@specifysoftware.org * * This program is free software; you can redistribute it and/or * modify it under the term...
gpl-2.0
sigma-random/Win32_Shellcode
msf-windows/stagers/windows/x64/reverse_https.rb
5122
## # This file is part of the Metasploit Framework and may be subject to # redistribution and commercial restrictions. Please see the Metasploit # web site for more information on licensing and terms of use. # http://metasploit.com/ ## require 'msf/core' require 'msf/core/handler/reverse_https' module Metasploit3...
gpl-2.0
digitalppl/cimcim
wp-content/plugins/qtranslate-xp/ppqtranslate.php
19616
<?php // encoding: utf-8 /* Plugin Name: qTranslate Plus Plugin URI: http://www.primapagina.it/blog/qtranslate-plus/ Description: An unOfficial modified version of qTranslate (created by Qian Qin) created to be compatible with Wordpress 3.9 or highter. Version: 2.7.2 Author: Papa Salvatore Mirko (Originally created by ...
gpl-2.0
paulgevers/cacti
templates_import.php
4982
<?php /* +-------------------------------------------------------------------------+ | Copyright (C) 2004-2017 The Cacti Group | | | | This program is free software; you can redistribute it and/or | | ...
gpl-2.0
danieljabailey/inkscape_experiments
src/ui/dialog/filedialogimpl-gtkmm.cpp
60612
/** * @file * Implementation of the file dialog interfaces defined in filedialogimpl.h. */ /* Authors: * Bob Jamison * Joel Holdsworth * Bruno Dilly * Other dudes from The Inkscape Organization * Abhishek Sharma * * Copyright (C) 2004-2007 Bob Jamison * Copyright (C) 2006 Johan Engelen <johan@shour...
gpl-2.0
bave8672/ASPNETMVCBlogDemo
ASPNETMVCBlogDemo-master/Scripts/MarkdownPreview.js
295
var markdown = new MarkdownDeep.Markdown(); var titleInput = $(".titleInput"); var titleOutput = $(".titleOutput"); var input = $(".mdInput"); var output = $(".mdPreview"); input.keyup(function () { titleOutput.text(titleInput.val()); output.html(markdown.Transform(input.val())); });
gpl-2.0
mgefvert/ArcherC7AccessControl
src/Router.cs
4693
using System; using System.Linq; using System.Net; using System.Security.Cryptography; using System.Text; using System.Text.RegularExpressions; namespace ArcherC7AccessControl { public class Router { private readonly CookieContainer _cookies = new CookieContainer(); private readonly IPAddress _ip; pub...
gpl-2.0
wz2b/prude
Pruss.hpp
1599
/* * PRU Debugger * Copyright (C) 2012 Christopher Piggott * * 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
ghedamat/rworktracker
lib/rworktracker.rb
3541
require 'yaml' require 'time' require 'date' class RworkTrackerCli def initialize(file) @rw = RworkTracker.new(file) @rw.loadYaml end def help puts "Welcome to RworkTracker: Work Time Tracking Interface" puts "Available Commands are:" puts "\t pr, projects: list active projects" put...
gpl-2.0
JiangKlijna/my-workspaces
java/Tuple.java
24650
public class Tuple { private Tuple() { } public static class Zero implements java.io.Serializable { public static final int N = 0; private Zero() { } public Zero copy() { return new Zero(); } @Override public boolean equals(Object o) { ...
gpl-2.0
Harest/Slideshow
js/main.js
10624
/* HOW IT WORKS You need a .txt with one filepath you want to see / line. It can be any image format including gif, and any video format supported by html5. In Windows for instance, you can use something like this on a directory : dir "D:\Documents\Images" /A-D /S /b /-p /o:gen >List_Files.txt NB : If you're usi...
gpl-2.0
trigor74/travelers-diary
app/src/main/java/com/travelersdiary/services/GeofenceSetterService.java
13352
package com.travelersdiary.services; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.location.Location; import android.os.Bundle; import android.os.IBinder; import android.support.annotation.NonNull; import android.support.anno...
gpl-2.0
udif/qautorouter-gitorious
specctra/cpcblibrary.cpp
1568
/******************************************************************************* * Copyright (C) Pike Aerospace Research Corporation * * Author: Mike Sharkey <mike@pikeaero.com> * *****************************************************************************...
gpl-2.0
byrialsen/HA4IoT
Controllers/HA4IoT.Controller.Main/Rooms/OfficeConfiguration.cs
9855
using System; using HA4IoT.Actuators; using HA4IoT.Actuators.Sockets; using HA4IoT.Actuators.StateMachines; using HA4IoT.Actuators.Triggers; using HA4IoT.Contracts.Actuators; using HA4IoT.Contracts.Areas; using HA4IoT.Contracts.Components; using HA4IoT.Contracts.Hardware; using HA4IoT.Contracts.Services.Daylight; usin...
gpl-2.0
RichardDong1994/SDLink
src/me/dyq/android/SDLink/XposedMain.java
30670
package me.dyq.android.SDLink; import java.io.File; import java.util.HashSet; import java.util.Locale; import java.util.Set; import me.dyq.android.SDLink.SettingValueClass.AppValue; import me.dyq.android.SDLink.SettingValueClass.hookType; import org.xmlpull.v1.XmlPullParser; import android.annotation.Ta...
gpl-2.0
t-hey/QGIS-Original
src/core/layout/qgslayoutitemhtml.cpp
18023
/*************************************************************************** qgslayoutitemhtml.cpp ------------------------------------------------------------ begin : October 2017 copyright : (C) 2017 by Nyall Dawson email : nyall d...
gpl-2.0
jorticus/pymate
examples/srv2/models.py
8720
from pymate.matenet.mx import MXStatusPacket, MXLogPagePacket from pymate.matenet.fx import FXStatusPacket from pymate.matenet.flexnetdc import DCStatusPacket import sqlalchemy as sql from sqlalchemy.engine.url import URL from sqlalchemy import Column from sqlalchemy.ext.declarative import declarative_base from base64...
gpl-2.0
openkm/document-management-system
src/main/java/com/openkm/bean/workflow/ProcessInstance.java
4011
/** * OpenKM, Open Document Management System (http://www.openkm.com) * Copyright (c) 2006-2017 Paco Avila & Josep Llort * <p> * No bytes were intentionally harmed during the development of this application. * <p> * This program is free software; you can redistribute it and/or modify * it under the terms of the...
gpl-2.0
ForceXX/LED-Matrix
html/search/all_4.js
4363
var searchData= [ ['helligkeitskonstanten',['Helligkeitskonstanten',['../group___b_r_i_g_t_h_n_e_s_s.html',1,'']]], ['ht16k33_2ecpp',['HT16K33.cpp',['../_h_t16_k33_8cpp.html',1,'']]], ['ht16k33_2eh',['HT16K33.h',['../_h_t16_k33_8h.html',1,'']]], ['ht16k33_5fclear',['ht16k33_clear',['../_h_t16_k33_8cpp.html#af1b...
gpl-2.0
devyg/simple-php-mailing
lang/ar.php
1569
<?php return array( 'required' => "مطلوب", 'equals' => "يجب أن يكون مساوي لي '%s'", 'different' => "يجب ان يكون غير '%s'", 'accepted' => "يجب ان يكون نعم", 'numeric' => "يجب ان يكون رقم", 'integer' => "يجب ان يكون رقم (0-9)", 'length' => "يجب ان يكون أ...
gpl-2.0
Vn0m/XBot
MxBots/Lib/Gnav.cs
136
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace GLib { class GNav { } }
gpl-2.0
EasyLovine/ZencTbi
ajax_return_wp.php
558
<?php $filename = dirname (__FILE__) . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR . 'theme317' . DIRECTORY_SEPARATOR . 'common' . DIRECTORY_SEPARATOR . 'functionTbiWpApi.php'; include $filename; $slug = $_GET['slug']; if(empty($slug)){ // throw ...
gpl-2.0
ajaniv/softwarebook
c++/XML/XMLFactory.cpp
1034
/** * \file XMLFactory.cpp * \brief Abstraction for creation of implementation specific classes source file * */ /* * This file is part of OndALear collection of open source components. * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held li...
gpl-2.0
xlsuite/xlsuite
lib/core_ext/string.rb
1536
#- XLsuite, an integrated CMS, CRM and ERP for medium businesses #- Copyright 2005-2009 iXLd Media Inc. See LICENSE for details. class String def as_absolute_url(host, options={}) return self if self.blank? || URI.parse(self).absolute? options[:protocol] = "http" if options[:protocol].blank? options[:ss...
gpl-2.0
pragres/recipescookbook.org
packages/ramifip/modules/rpCore/rpCommander.php
5765
<?php /** * Ramifip Commander * * This file is part of the Ramifip PHP Framework. * * @author Rafael Rodriguez Ramirez <rafa@pragres.com> */ class rpCommander extends rpCLI{ /** * Run the commander * */ static function Run(){ echo "\n"; echo "---------------------------\n"; echo "Ramifip Commande...
gpl-2.0
ultragdb/konsole
src/Application.cpp
14423
/* Copyright 2006-2008 by Robert Knight <robertknight@gmail.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 ver...
gpl-2.0
andergmartins/t3v3
libraries/cms/form/field/templatestyle.php
3065
<?php /** * @package Joomla.Libraries * @subpackage Form * * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('JPATH_PLATFORM') or die; JFormHelper::loadFieldClass('groupedli...
gpl-2.0
arlakay/Cari-Makan
app/src/main/java/com/carimakan/util/Config.java
577
package com.carimakan.util; public class Config { // File upload url (replace the ip with your server address) public static final String FILE_UPLOAD_URL = "http://carimakan.icon.my.id/fileUpload.php"; // Directory name to store captured images and videos public static final String IMAGE_DIRECTORY_NAME = "Andro...
gpl-2.0
moonlight/cave-adventure
src/editor/gui_procs.cpp
34616
/* The Moonlight Engine - An extendable, portable, RPG-focused game engine. Project Home: http://moeng.sourceforge.net/ Copyright (C) 2003 Bjørn Lindeijer 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 t...
gpl-2.0
rex-xxx/mt6572_x201
mediatek/packages/apps/SimLock/src/com/mediatek/simmelock/RemoveSetting.java
8923
/* 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
jeukku/collabthings
src/main/java/org/collabthings/model/run/impl/CTRunEnvironmentBuilderImpl.java
4999
/******************************************************************************* * Copyright (c) 2014 Juuso Vilmunen. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Public License v3.0 * which accompanies this distribution, and is available at * h...
gpl-2.0
conan513/SingleCore_TC
src/server/scripts/BrokenIsles/zone_valsharah.cpp
762
/* * Copyright (C) 2008-2017 TrinityCore <http://www.trinitycore.org/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version....
gpl-2.0
marios-zindilis/musicbrainz-django-models
musicbrainz_django_models/models/link_type.py
2604
""" .. module:: link_type The **Link Type** Model. PostgreSQL Definition --------------------- The :code:`link_type` table is defined in the MusicBrainz Server as: .. code-block:: sql CREATE TABLE link_type ( -- replicate id SERIAL, parent INTEGER, -- references li...
gpl-2.0
LasDesu/scummvm
engines/sherlock/scene.cpp
45463
/* 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
giancar70/AppBembos
AppBembos/src/com/example/appbembos/manager/ManagerAppBembos.java
8627
package com.example.appbembos.manager; import java.util.ArrayList; import java.util.List; import android.content.Context; import android.content.SharedPreferences; import android.util.Log; import com.example.appbembos.model.bean.Config; import com.example.appbembos.model.bean.DetailCombo; import com.example.appbembo...
gpl-2.0
yehnan/python_book_yehnan
ch06/ch06_lambda_long.py
593
li = [30, 41, 52, 63] def sum(li): result = 0 for x in li: result += x return result print(sum(li)) def sum(li): if not li: return 0 else: return li[0] + sum(li[1:]) print(sum(li)) (lambda li: [print(x) for x in li])(li) print((lambda li: (...
gpl-2.0
linusmotu/Viaje
ViajeUi/src/com/atlach/trafficdataloader/TripDataParser.java
10722
package com.atlach.trafficdataloader; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.text.NumberFormat; import java...
gpl-2.0
pauljohnleonard/pod-world
CI_2014/ATTIC/CartWithPendulum/03_main_gui_reset.py
2857
import cart import math import gui import random def draw(screen,cart,force): """ Called by the simulation to display the current state of the cart. """ # clear screen screen.fill((0,0,0)) # get the size of the window wid=gui.dim_window[0] hei...
gpl-2.0
dommariano/wp-geoip-site-locations
admin/edit-settings-tests.php
5004
<?php global $geoipsl_settings, $geoipsl_reader; ?> <form id="geoipsl-settings-keys" action="" method=""> <?php wp_nonce_field( 'geoipsl_settings' ); ?> <input type="hidden" name="page" value="geoip-site-locations/geoip-site-locations.php/"> <input type="hidden" name="tab" value="tests"> <h3>Data Sources</h...
gpl-2.0
rbberger/lammps
src/MC/fix_gcmc.cpp
81755
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator https://lammps.sandia.gov/, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC...
gpl-2.0
Chronicle-Studio/drupal_domo
.npm/gulpfile.js
2492
/** * * Web Starter Kit * Copyright 2014 Google Inc. All rights reserved. * * 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 * ...
gpl-2.0
iammyr/Benchmark
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest11290.java
2731
/** * OWASP Benchmark Project v1.1 * * This file is part of the Open Web Application Security Project (OWASP) * Benchmark Project. For details, please see * <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>. * * The Benchmark is free software: you can redistribute it and/...
gpl-2.0
cbs-rlt/populus
src/main/java/edu/umn/ecology/populus/model/sam/SAMParamInfo.java
4316
/******************************************************************************* * Copyright (c) 2015 Regents of the University of Minnesota. * * This software is released under GNU General Public License 2.0 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html ***********************************************...
gpl-2.0
kaeku/webfolks
app/Providers/AppServiceProvider.php
671
<?php namespace webfolks\Providers; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { // } /** * Register any application services. * * This service provider is a grea...
gpl-2.0
thysol/CS4098
test/contact_backend_test.py
474
#!/usr/bin/python import os import sys import subprocess import urllib.request #Testing if CGI script will return Json with process table #print("Requesting parsed list of processes.....") response = urllib.request.urlopen("http://127.0.0.1/cgi-bin/kernel_request.py/?event=GETLIST&login_name=40").read() response = st...
gpl-2.0
radu124/fretscpp
src/scnSetLayout.cc
3176
/******************************************************************* (C) 2011 by Radu Stefan radu124@gmail.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; version 2 of the License. This program ...
gpl-2.0
parpaitas1987/ProSports
sm-manager-setup/includes/prosports/includes/admin/views/html-notice-theme-support.php
1313
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?> <!-- <div id="message" class="error prosports-message" > <p><?php _e( '<strong>Your theme does not declare ProSport support</strong> &#8211; if you encounter layout issues please read our integration guide or choose a ProSport theme :)', 'prosp...
gpl-2.0
MARFMS/OwnCloud_NAC
apps/media/l10n/th_TH.php
896
<?php $TRANSLATIONS = array( "Music" => "เพลง", "songs" => "เพลง", "albums" => "อัลบั้ม", "Add to playlist" => "เพิ่มเข้าไปยังรายการเปิดเล่น", "Add album to playlist" => "เพิ่มอัลบั้มเข้าไปยังเพลย์ลิสต์", "Play" => "เล่น", "Pause" => "หยุดชั่วคราว", "Previous" => "ก่อนหน้า", "Next" => "ถัดไป", "Mute" => "ปิดเสียง", "Un...
gpl-2.0
jose-pr/Emby
MediaBrowser.Providers/Omdb/OmdbImageProvider.cs
3659
using MediaBrowser.Model.IO; using MediaBrowser.Common.Net; using MediaBrowser.Controller.Configuration; using MediaBrowser.Controller.Entities; using MediaBrowser.Controller.Entities.Movies; using MediaBrowser.Controller.Entities.TV; using MediaBrowser.Controller.LiveTv; using MediaBrowser.Controller.Providers; using...
gpl-2.0
gnomezgrave/GSyncJ
GSyncJ/src/gnomezgrave/gsyncj/gui/NewProfile.java
11357
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package gnomezgrave.gsyncj.gui; import com.google.api.services.drive.Drive; import gnomezgrave.gsyncj.auth.Authorization; import gnome...
gpl-2.0
christianchristensen/resin
modules/webbeans/src/javax/enterprise/event/Event.java
2362
/* * Copyright (c) 1998-2010 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
bell345/lpf
assets/js/tbi.js
15878
// Determines whether or not a variable is nothing at all. function isNull(thing) { if (thing instanceof Array) { for (var i=0;i<thing.length;i++) if (isNull(thing[i])) return true; return (thing.length == 0) } else return (thing == undefined || thing === "" || thing == null || thing...
gpl-2.0
magician93/yusblog
wp-content/themes/wp-pravda/woocommerce/content-product.php
4632
<?php /** * The template for displaying product content within loops. * * Override this template by copying it to yourtheme/woocommerce/content-product.php * * @author WooThemes * @package WooCommerce/Templates * @version 1.6.4 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly global ...
gpl-2.0
pokaxperia/emus-itdp
api/zan/helpers/validations.php
4736
<?php /** * ZanPHP * * An open source agile and rapid development framework for PHP 5 * * @package ZanPHP * @author MilkZoft Developer Team * @copyright Copyright (c) 2011, MilkZoft, Inc. * @license http://www.zanphp.com/documentation/en/license/ * @link http://www.zanphp.com * @version 1.0 */ /** * ...
gpl-2.0
redfoxyamato/Simple7DTDServerManager
Simple7DTDServer/Config Editor.cs
18238
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; using System.Xml; namespace Simple7DTDServer { public partial class Config_Editor : Form { string lan...
gpl-2.0
markus23/RedstoneMicrocircuits
src/main/scala/net/anti344/rcircuits/proxy/ClientProxy.scala
609
package net.anti344.rcircuits.proxy import cpw.mods.fml.client.registry.ClientRegistry import net.anti344.rcircuits.tile.TileEntityCircuitBase import net.anti344.rcircuits.client.render.{CircuitItemRender, CircuitBaseRender} import net.minecraftforge.client.MinecraftForgeClient import net.anti344.rcircuits.RedstoneMic...
gpl-2.0
cat9/FrameLite
src/com/miku/framelite/utils/HttpUtils.java
1483
package com.miku.framelite.utils; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.nio.charset.CharsetEncoder; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.apache.http.NameValuePair; import org.apache.http.message.BasicNameValuePair;...
gpl-2.0
amankatoch/wp-plugin
wp-content/plugins/displetreader-wordpress-plugin/instance/class-displet-rets-idx-residentials.php
2586
<?php class DispletRetsIdxResidentials extends DispletRetsIdxResidentialsController { public function __construct( $args = array() ) { $this->parse_args( $args ); $this->prep_query(); } public function get_count() { $this->query_residentials( 'count' ); return $this->_residentials; } public function get...
gpl-2.0
broue004/amido-perf-test
wp-content/themes/amido/tmpl-company.php
3332
<?php /* * Template Name: Company */ get_header(); ?> <section class="intro"> <div class="holder"> <h1><span><?php the_title() ?></span></h1> <div class="btn-holder"> <a href="#" class="btn-plus">Plus</a> </div> </div> </section> <div id=...
gpl-2.0
maiklos-mirrors/jfx78
modules/controls/src/test/java/javafx/scene/control/SplitPaneTest.java
49000
/* * Copyright (c) 2010, 2013, 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