code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ /* Geodesy representation conversion functions (c) Chris Veness 2002-2015 */ /* - www.movable-type.co.uk/scripts/latlong.html MIT Licence */ /* ...
celber/arrow
dist/vendor/geodesy/dms.js
JavaScript
gpl-2.0
10,670
<? # Lifter010: TODO use Studip\Button, Studip\LinkButton; ?> <h3><?= sprintf(_("Es wurden %s Personen gefunden"), count($users)) ?></h3> <form action="<?= $controller->url_for('admin/user/delete') ?>" method="post"> <?= CSRFProtection::tokenTag() ?> <table class="default"> <tr class="sortable"> <th align...
japhigu/stup.ID
app/views/admin/user/_results.php
PHP
gpl-2.0
5,498
<?php // If this file is called directly, abort. if ( ! defined( 'WPINC' ) ) { die; } spl_autoload_register( 'carawebs_class_autoloader' ); function carawebs_class_autoloader( $classname ) { $class = str_replace( '\\', DIRECTORY_SEPARATOR, str_replace( '_', '-', strtolower( $classname ) ) ); // create the ...
DavidCWebs/member
autoloader.php
PHP
gpl-2.0
735
;(function($){ $(document).ready( function(){ $('.fa_slider_simple').FeaturedArticles({ slide_selector : '.fa_slide', nav_prev : '.go-back', nav_next : '.go-forward', nav_elem : '.main-nav .fa-nav', effect : false, // events load : load, before : before, after : after, ...
vrxm/htdocs
wp-content/plugins/featured-articles-lite/themes/simple/starter.dev.js
JavaScript
gpl-2.0
4,040
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2000,2007 Oracle. All rights reserved. * * $Id: TestTruncate.cpp,v 12.5 2007/05/17 15:15:57 bostic Exp $ */ /* * Do some regression tests for constructors. * Run normally (without arguments) it is a simple regression test. * Run wit...
nologic/nabs
client/trunk/shared/db/db-4.6.21/test/scr015/TestTruncate.cpp
C++
gpl-2.0
2,315
var rcp_validating_discount = false; var rcp_validating_gateway = false; var rcp_validating_level = false; var rcp_processing = false; jQuery(document).ready(function($) { // Initial validation of subscription level and gateway options rcp_validate_form( true ); // Trigger gateway change event when ga...
CGCookie/Restrict-Content-Pro
includes/js/register.js
JavaScript
gpl-2.0
7,721
# -*- coding: utf-8 -*- # # This file is part of EventGhost. # Copyright © 2005-2016 EventGhost Project <http://www.eventghost.net/> # # EventGhost 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 versio...
WoLpH/EventGhost
eg/Utils.py
Python
gpl-2.0
17,930
/* * 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 Transform; import Objects.TagList; import java.util.ArrayList; import java.util.Collections; /** * * @author...
epigenome/iTagPlot
src/Transform/QuantileTransform.java
Java
gpl-2.0
1,436
<?php defined('TYPO3_MODE') or die(); if (TYPO3_MODE === 'BE') { $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array( 'name' => \TYPO3\CMS\Impexp\Clickmenu::class ); $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['taskcenter']['impexp'][\TYPO3\CMS\Impexp\Task\ImportExportTask:...
michaelklapper/TYPO3.CMS
typo3/sysext/impexp/ext_tables.php
PHP
gpl-2.0
1,975
package com.kartoflane.superluminal2.components.interfaces; import org.eclipse.swt.events.PaintEvent; import org.eclipse.swt.events.PaintListener; public interface Redrawable extends PaintListener { /** * Calls paintControl if the object is visible. */ public void redraw( PaintEvent e ); }
kartoFlane/superluminal2
src/java/com/kartoflane/superluminal2/components/interfaces/Redrawable.java
Java
gpl-2.0
300
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Core.Components { public interface IDriver { string Id { get; } string FirstName { get; } string MiddleName { get; } string Surname { get; } ...
beyonblock/TheTransportationProjectPrototype
TheTransportationPrototype/Core.Components/Contracts/IDriver.cs
C#
gpl-2.0
493
<?php /* Generated on 6/26/15 3:23 AM by globalsync * $Id: $ * $Log: $ */ require_once 'EbatNs_ComplexType.php'; require_once 'PaymentInformationType.php'; require_once 'RefundInformationType.php'; /** * This type defines the <strong>MonetaryDetails</strong> container, which consists of detailed information abou...
booklein/wpbookle
wp-content/plugins/wp-lister-for-ebay/includes/EbatNs/PaymentsInformationType.php
PHP
gpl-2.0
2,188
package com.yh.admin.roles.service; /** * * @author zhangqp * @version 1.0, 16/08/23 */ public class RoleFuncService { }
meijmOrg/Repo-test
freelance-admin/src/java/com/yh/admin/roles/service/RoleFuncService.java
Java
gpl-2.0
129
/* * Copyright 1996-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...
TheTypoMaster/Scaper
openjdk/jdk/src/share/classes/sun/io/ByteToCharISO8859_7.java
Java
gpl-2.0
1,672
/* * Copyright (C) 2011-2017 Redis Labs Ltd. * * This file is part of memtier_benchmark. * * memtier_benchmark 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. * * memtier_benchmark is distr...
RedisLabs/memtier_benchmark
run_stats_types.cpp
C++
gpl-2.0
7,429
/* * Copyright 2011 David Jurgens * * This file is part of the S-Space package and is covered under the terms and * conditions therein. * * The S-Space package 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 Soft...
fozziethebeat/S-Space
src/main/java/edu/ucla/sspace/graph/LabeledGraph.java
Java
gpl-2.0
4,550
/* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be use...
cobexer/fullsync
fullsync-ui/src/main/java/net/sourceforge/fullsync/ui/SystemStatusPage.java
Java
gpl-2.0
5,577
#!/bin/python import re import sys import os from datetime import date class VersionHandler: def __init__(self, file): self.file = file self.major = 0 self.minor = 0 self.revision = 0 self.build = 1 self.touch() def read(self): try: f = open(self.file, 'r') lines = f.readlines() f.close() ...
mickem/nscp
build/python/VersionHandler.py
Python
gpl-2.0
2,824
/* * 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 ...
shelan/jdk9-mirror
nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Lower.java
Java
gpl-2.0
32,007
<?php N2Loader::import('libraries.parse.font'); N2Loader::import('libraries.parse.style'); abstract class N2SmartSliderCSSAbstract { /** * @var N2SmartSliderAbstract */ protected $slider; public $sizes = array(); public function __construct($slider) { $this->slider = $slider; ...
acs6610987/summergxy
wp-content/plugins/smart-slider-3/library/smartslider/libraries/slider/css.php
PHP
gpl-2.0
2,775
/* * This file is part of Dune Legacy. * * Dune Legacy 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. * * Dune Legacy is...
katlogic/dunelegacy
src/FileClasses/FileManager.cpp
C++
gpl-2.0
7,123
<?php /** * PEL: PHP Exif Library. A library with support for reading and * writing all Exif headers in JPEG and TIFF images using PHP. * * Copyright (C) 2004, 2005, 2006, 2007 Martin Geisler. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GN...
sekret47/konstantin
components/com_eventgallery/helpers/vendors/pel/src/PelEntryAscii.php
PHP
gpl-2.0
19,502
"""Template filters and tags for helping with dates and datetimes""" # pylint: disable=W0702,C0103 from django import template from nav.django.settings import DATETIME_FORMAT, SHORT_TIME_FORMAT from django.template.defaultfilters import date, time from datetime import timedelta register = template.Library() @registe...
sigmunau/nav
python/nav/django/templatetags/date_and_time.py
Python
gpl-2.0
1,012
package com.kellydavid.dfs.config; import java.io.*; import java.util.HashMap; /** * Created by david on 31/01/2016. */ public class Configurator { private String filename; private HashMap<String, String> configuration; public Configurator(String filename){ this.filename = filename; co...
kellydavid/DistributedFileSystem
dfs-config/src/main/java/com/kellydavid/dfs/config/Configurator.java
Java
gpl-2.0
1,740
import time import midipy as midi midi.open(128, 0, "midipy test", 0) for (note, t) in [(48,0.5),(48,0.5),(50,1.0),(48,1.0),(53,1.0),(52,1.0), (48,0.5),(48,0.5),(50,1.0),(48,1.0),(55,1.0),(53,1.0)]: midi.note_on(note,127) time.sleep(t/2) midi.note_off(note,127) midi.close()
tcoxon/wiitar
midipy_src/test.py
Python
gpl-2.0
311
<?php /** * Link model * * @package link * @author Philipp (philipp) * @license http://www.gnu.org/licenses/gpl.html GNU General Public License (GPL) * @version $Id$ */ class LinkModel extends RoxModelBase { function __construct() { parent::__construct(); } /** * Functi...
BeWelcome/rox.prototypes
build/link/link.model.php
PHP
gpl-2.0
17,075
<?php /** * Holds a fee state obtained from the API */ class FeeStateApi extends CRUDApiClient { const NO_FEE_SELECTED = 0; protected $name; protected $isDefaultFee; protected $isAccompanyingPersonFee; protected $feeAmounts_id; public static function getListWithCriteria(array $properties, $printErrorMessage ...
IISH/drupal-module-conference
iishconference_basemodule/api/domain/FeeStateApi.class.php
PHP
gpl-2.0
2,522
<?php get_header(); ?> <div id="container"> <div id="left-div"> <div id="left-inside"> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <div class="post-wrapper"> <?php if (get_option('whoswho_show_share') == 'on') get_template_part('includes/share'); ?> <div style="clear: both;"><...
bishupokharel/nepalisthebest_wp
wp-content/themes/WhosWho/single.php
PHP
gpl-2.0
2,848
/* * MessengerProtocol.java * * Herald, An Instant Messenging Application * * Copyright © 2000 Chad Gibbons * * 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 ...
dcgibbons/herald
src/net/sourceforge/herald/MessengerProtocol.java
Java
gpl-2.0
5,265
<?php class UsersEmailSender{ var $emailSender = null; var $subActionManager = null; public function __construct($emailSender, $subActionManager){ $this->emailSender = $emailSender; $this->subActionManager = $subActionManager; } public function sendWelcomeUserEmail($user, $password, $employee = NULL){ ...
jpbalderas17/hris
admin/users/api/UsersEmailSender.php
PHP
gpl-2.0
1,160
/**************************************************************************************** * Copyright (c) 2007 Ian Monroe <ian@monroe.nu> * * Copyright (c) 2008 Soren Harward <stharward@gmail.com> * * Copyright (c) 2009 Téo Mrnjavac <teo@kde.org> ...
kkszysiu/amarok
src/playlist/navigators/TrackNavigator.cpp
C++
gpl-2.0
4,381
<?php while($db->next_record()) { $ship_to_address = "ship_to_info_id:" . $db->f("user_info_id"). ",address_type_name:" . $db->f("address_type_name") . ",full_name:" . $db->f("first_name") . " " . $db->f("middle_name") . " " . $db->f("last_name") . ",company:" . $db->f("company") . ",address_1:" . ...
aaron-weever/VirtueMart-1.1.9-stable
components/com_virtuemart/themes/default/templates/checkout/weever_list_shipto_addresses.tpl.php
PHP
gpl-2.0
698
<?php /** *********************************************************************************************** * Script creates html output for guestbook comments * * @copyright 2004-2016 The Admidio Team * @see https://www.admidio.org/ * @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License v2...
wilddom/admidio
adm_program/modules/guestbook/get_comments.php
PHP
gpl-2.0
6,472
<?php /** * @package eMundus * @subpackage Components * components/com_emundus/emundus.php * @link http://www.decisionpublique.fr * @license GNU/GPL * @author Benjamin Rivalland */ // no direct access defined( '_JEXEC' ) or die( 'Restricted access' ); jimport( 'joomla.application...
emundus/v5
components/com_emundus/views/incomplete/view.html.php
PHP
gpl-2.0
6,072
<?php $db = new Conexion_laravel_mysql(); $fecha_buscada = !empty($_GET["fecha"])?$_GET["fecha"]:""; if ($fecha_buscada) { $meses = array ('January','February','March','April','May','June','July','August','September','October','November','December'); $meses_es = array ('Enero','Febrero','Marzo','Abril','Mayo','...
geralsantos/sisPersonal
html/blade/highchart_bar.php
PHP
gpl-2.0
6,126
import java.awt.Graphics; /** * Interface to used to communicate between a model * and its display * * Copyright Georgia Institute of Technology 2004 * @author Barb Ericson ericson@cc.gatech.edu */ public interface ModelDisplay { /** method to notify the thing that displays that * the model has changed */ ...
zulfikar2/CSPortfolio
JAVA/SAD_Search/ModelDisplay.java
Java
gpl-2.0
1,120
<?php defined('ZOTOP') or die('No direct access allowed.'); /** * 控制器基类 * * @copyright (c)2009 zotop team * @package core * @author zotop team * @license http://zotop.com/license.html */ class controller { /** * * @var object 模板实例对象 */ protected $template = null; /** *...
zotopteam/zotop
zotop/libraries/classes/controller.php
PHP
gpl-2.0
6,040
<?php /** * View to edit a connection. * * @package Joomla.Administrator * @subpackage Fabrik * @copyright Copyright (C) 2005-2013 fabrikar.com - All rights reserved. * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html * @since 3.0 */ // No direct access defined('_JEXEC') or die('Restricte...
raimov/broneering
administrator/components/com_fabrik/views/connection/view.html.php
PHP
gpl-2.0
3,679
package com.meadowhawk.cah.dao; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import org.springframework.transaction.annotation.Transactional; public abstract class AbstractJpaDAO<T> { public enum DBSortOrder{ DESC, ASC } protected Class<T> clazz;...
leeclarke/CAHServer
src/main/java/com/meadowhawk/cah/dao/AbstractJpaDAO.java
Java
gpl-2.0
1,157
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Emgu.CV; using Emgu.Util; using Emgu.CV.Structure; using System.Windows.Forms; using System.Drawing; namespace Driving_Blind_Spot_Rebuild { class BlindSpot_Util { private int _X_hc, _Y_hc, _X_vc, _Y_vc; ...
mrcancer91/Driving-Bind-Spot
Driving_Blind_Spot_Rebuild/Driving_Blind_Spot_Rebuild/BlindSpot_Util.cs
C#
gpl-2.0
13,431
// license:BSD-3-Clause // copyright-holders:Aaron Giles /*************************************************************************** Sega X-board hardware Special thanks to Charles MacDonald for his priceless assistance **************************************************************************** Known ...
GiuseppeGorgoglione/mame
src/mame/drivers/segaxbd.cpp
C++
gpl-2.0
297,861
<?php global $nc_utility ;?> <?php $image_options = get_option("nc_plugin_image_settings"); ?> <?php $index = $this->index;?> <?php if($this->images): ?> <?php foreach( $this->images as $image): ?> <li data-tooltip-id="tooltip-thumbnail-<?php echo $index; ?>" <?php if($index % 3 == 0) echo "class='no-margin...
pranto157/outofcircle
wp-content/plugins/newscred/application/views/metabox/includes/images.php
PHP
gpl-2.0
2,562
(function($) { Drupal.wysiwyg.editor.init.ckeditor = function(settings) { window.CKEDITOR_BASEPATH = settings.global.editorBasePath + '/'; CKEDITOR.basePath = window.CKEDITOR_BASEPATH; // Drupal.wysiwyg.editor['initialized']['ckeditor'] = true; // Plugins must only be loaded once. Only the settings from the f...
ghigata/prowood
sites/default/files/js/js_kJRR2EPkdTyr2CIdeTvE1Z1h-ltSkNI_HTuwHAsTNDE.js
JavaScript
gpl-2.0
95,145
<?php require_once OPS_APPLICATION_PATH . '/services/Optimization/Analyzer/Abstract/Base.php'; class Ops_Service_Optimization_Analyzer_KeywordInPattern extends Ops_Service_Optimization_Analyzer_Abstract_Base { public function __invoke($pattern, $keyword=NULL, $contentType='html') { $content = $...
tranvanhoa533/ecommerce_assignment2
wp-content/plugins/wp-onpage-seo/application/services/Optimization/Analyzer/KeywordInPattern.php
PHP
gpl-2.0
789
/* * Copyright (C) eZ Systems AS. All rights reserved. * For full copyright and license information view LICENSE file distributed with this source code. */ YUI.add('ez-dashboardview', function (Y) { "use strict"; /** * Provides the Dashboard View class * * @module ez-dashboardview */ ...
StephaneDiot/PlatformUIBundle-1
Resources/public/js/views/ez-dashboardview.js
JavaScript
gpl-2.0
1,838
window.addEvent("domready", function() { var carousel = new iCarousel("carousel_content", { idPrevious: "carousel_prev", idNext: "carousel_next", idToggle: "undefined", item: { klass: "carouselitem_right", size: 265 }, animation: { ...
thtinh/hb
templates/vxg_hb/js/carousel_impl.js
JavaScript
gpl-2.0
715
/* * Copyright 2000-2015 Rochus Keller <mailto:rkeller@nmr.ch> * * This file is part of the CARA (Computer Aided Resonance Assignment, * see <http://cara.nmr.ch/>) NMR Application Framework (NAF) library. * * The following is the license that applies to this copy of the * library. For a license to use the librar...
rochus-keller/NAF
Star/StarLexer.cpp
C++
gpl-2.0
12,894
<?php /** * Categorize * * Flow controller for category management interfaces * * @version 1.0 * @package ecart * @subpackage categories **/ class Categorize extends AdminController { /** * Categorize constructor * * @return void **/ function __construct () { parent::__construct(); if (!empty...
robbiespire/paQui
wp-content/plugins/express_store_installer/core/flow/Categorize.php
PHP
gpl-2.0
14,969
package de.metas.edi.esb.pojo.invoice.cctop; /* * #%L * de.metas.edi.esb * %% * Copyright (C) 2015 metas GmbH * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 2 of th...
klst-com/metasfresh
de.metas.edi.esb.camel/src/main/java/de/metas/edi/esb/pojo/invoice/cctop/Cctop111V.java
Java
gpl-2.0
4,293
<?php declare(strict_types=1); namespace DrupalCodeGenerator; use Symfony\Component\String\ByteString; use Symfony\Component\String\Inflector\EnglishInflector; /** * Helper methods for code generators. */ class Utils { /** * Transforms a machine name to human name. */ public static function machine2huma...
Chi-teck/drupal-code-generator
src/Utils.php
PHP
gpl-2.0
4,288
<?php /** * @package Joomla.Site * @subpackage Templates.Growwweb * * @copyright Copyright (C) 2005 - 2014 Web Studio Growwweb. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ // No direct access. defined('_JEXEC') or die; ?> <!DOCTYPE html> <html xml...
jan-itor/obyektiv
templates/objectiv/index.php
PHP
gpl-2.0
3,978
import os import os.path from amuse.units import units from amuse.datamodel import Particle from amuse.ext.star_to_sph import pickle_stellar_model from amuse.community.mesa.interface import MESA as stellar_evolution_code from xiTau_parameters import triple_parameters def evolve_giant(giant, stop_radius): stell...
hilaglanz/TCE
articles/A_evolve_outer_star_to_giant.py
Python
gpl-2.0
1,405
<?php namespace Elasticsearch\Endpoints; use Elasticsearch\Serializers\SerializerInterface; use Elasticsearch\Transport; /** * Class Bulk * * @category Elasticsearch * @package Elasticsearch\Endpoints * @author Zachary Tong <zachary.tong@elasticsearch.com> * @license http://www.apache.org/licenses/LICENSE-...
htw-pk15/vufind
vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Bulk.php
PHP
gpl-2.0
1,685
/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the documentation of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ **...
librelab/qtmoko-test
qtopiacore/qt/doc/src/snippets/threads/threads.cpp
C++
gpl-2.0
3,193
<?php /** * Joomla! Content Management System * * @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\CMS\Menu\Node; defined('JPATH_PLATFORM') or die; use Joomla\CMS\Filter\OutputFilt...
joomla-projects/media-manager-improvement
libraries/src/Menu/Node/Component.php
PHP
gpl-2.0
2,140
<?php /* SensioDistributionBundle:Configurator:check.html.twig */ class __TwigTemplate_b715c729363426b088b795ac92dc5fcde03ea399e55a86f4c370b333d1e7f13e extends eZ\Bundle\EzPublishDebugBundle\Twig\DebugTemplate { public function __construct(Twig_Environment $env) { parent::__construct($env); $t...
ataxel/tp
ezpublish/cache/dev/twig/b7/15/c729363426b088b795ac92dc5fcde03ea399e55a86f4c370b333d1e7f13e.php
PHP
gpl-2.0
5,309
from gi.repository import Gtk import gourmet.gtk_extras.dialog_extras as de from gourmet.plugin import RecDisplayModule, UIPlugin, MainPlugin, ToolPlugin from .recipe_emailer import RecipeEmailer from gettext import gettext as _ class EmailRecipePlugin (MainPlugin, UIPlugin): ui_string = ''' <menubar name="Rec...
thinkle/gourmet
gourmet/plugins/email_plugin/emailer_plugin.py
Python
gpl-2.0
1,934
<?php /** * Implements Special:Undelete * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is di...
tychay/mediawiki-core
includes/specials/SpecialUndelete.php
PHP
gpl-2.0
46,697
package com.myselia.stem.communication.seekers; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import com.myselia.stem.communication.CommunicationDock; public class LocalHostSeek implements Seek { private volatile static LocalHostSeek unique...
Myselia/MyseliaStem
src/main/java/com/myselia/stem/communication/seekers/LocalHostSeek.java
Java
gpl-2.0
1,391
<?php /** * Single Product Sale Flash * * @author WooThemes * @package WooCommerce/Templates * @version 1.6.4 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly global $post, $product; ?>
teloniusz/rwwwdev
wp-content/themes/nimva/woocommerce/single-product/sale-flash.php
PHP
gpl-2.0
233
package kata; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; public class MyCollections { public static String join(Collection collection) { return join(collection, ""); } public static String join(Collection collection, String separator...
graeme-lockley/string-calculator-java6-pbt
src/test/java/kata/MyCollections.java
Java
gpl-2.0
1,712
# encoding: utf-8 # module PIL._imaging # from /usr/lib/python2.7/dist-packages/PIL/_imaging.so # by generator 1.135 # no doc # no imports # Variables with simple values DEFAULT_STRATEGY = 0 FILTERED = 1 FIXED = 4 HUFFMAN_ONLY = 2 jpeglib_version = '8.0' PILLOW_VERSION = '2.5.1' RLE = 3 zlib_version = '1.2.8' ...
ProfessorX/Config
.PyCharm30/system/python_stubs/-1247972723/PIL/_imaging.py
Python
gpl-2.0
3,425
<?php # Inlcuir comentários e informações sobre o sistema # ################################################################################ # CHANGELOG # ################################################################################ # incluir um ...
danfmsouza/yipservicedesk
ocomon/geral/relatorio_periodo_equipamento.php
PHP
gpl-2.0
2,865
/* * Mesh.hpp * * RTfact - Real-Time Ray Tracing Library * * Copyright (C) 2010 Saarland University * * 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 Lic...
BALL-Contrib/contrib_rtfact_4f1d028
rtpie/src/Scene/Mesh.hpp
C++
gpl-2.0
2,200
// Copyright © 2004, 2011, 2013, Oracle and/or its affiliates. All rights reserved. // // MySQL Connector/NET is licensed under the terms of the GPLv2 // <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most // MySQL Connectors. There are special exceptions to the terms and // conditions of the GPLv2 as ...
old-kasthack-s-projects/connectornet
Source/MySql.Data/MysqlDefs.cs
C#
gpl-2.0
16,986
<?php global $base_path; $about_company_path = $base_path . "about/company"; $about_team_path = $base_path . "about/team"; $theme_path = $base_path . drupal_get_path('theme', 'changshanews'); $about_memberdetail_path = $base_path . "about/memberdetail"; $theme_path = $base_path . drupal_get_path('theme', 'changshanews'...
Tomtang2013/changsha2
sites/all/themes/changshanews/templates/about/team.tpl.php
PHP
gpl-2.0
4,470
<?php namespace ElmarHinz\TypoScriptParser\Tokens; final class TypoScriptConditionToken extends AbstractTypoScriptToken { CONST TYPE = 'condition'; protected $classes = 'ts-condition'; }
elmar-hinz/TX.tsp
Classes/Tokens/TypoScriptConditionToken.php
PHP
gpl-2.0
198
# include <stdio.h> int n; int a[25][25]; int main() { while (~scanf("%d", &n)) { int cnt = 0; int xl = 1, yl = 1, xr = n, yr = n; while (cnt < n*n) { for (int i = xl; cnt<n*n && i <= xr; ++i) a[yl][i] = ++cnt; for (int i = yl+1; cnt<n*n && i <= yr; ++i) a[i][xr] = ...
fyh/training
other/nc-ha/79.cpp
C++
gpl-2.0
778
/* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Eclipse Public License, Version 1.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.eclipse.org/org/documents/epl-v10.php * * Unless r...
rex-xxx/mt6572_x201
sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/NewXmlFileCreationPage.java
Java
gpl-2.0
49,017
/** * Copyright (C) 2011, 2012 Commission Junction Inc. * * This file is part of httpobjects. * * httpobjects 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...
cjdev/httpobjects
core/src/main/java/org/httpobjects/ConnectionInfo.java
Java
gpl-2.0
2,931
/**************************************************************************** KHotKeys Copyright (C) 1999-2001 Lubos Lunak <l.lunak@kde.org> Distributed under the terms of the GNU General Public License version 2. ****************************************************************************/ #define _CONDITIONS_...
serghei/kde3-kdebase
khotkeys/kcontrol/condition_list_widget.cpp
C++
gpl-2.0
13,256
<?php /** * Database creation and update statements for the Paypal plugin. * Based on the gl-paypal Plugin for Geeklog CMS by Vincent Furia. * * @author Lee Garner <lee@leegarner.com> * @author Vincent Furia <vinny01@users.sourceforge.net * @copyright Copyright (c) 2009-2018 Lee Garner <lee@leegarner...
leegarner-glfusion/paypal
sql/mysql_install.php
PHP
gpl-2.0
52,275
<?php /** * @Project NUKEVIET 4.x * @Author VINADES.,JSC (contact@vinades.vn) * @Copyright (C) 2014 VINADES.,JSC. All rights reserved * @License GNU/GPL version 2 or any later version * @Createdate 2-9-2010 14:43 */ if (!defined('NV_IS_FILE_ADMIN')) { die('Stop!!!'); } $page_title = $lang_module['addtotopi...
NukeVietCMS/nukeviet
modules/news/admin/addtotopics.php
PHP
gpl-2.0
2,686
using Android.App; using Android.Graphics; using Android.OS; using Android.Views; using Android.Widget; using Dietphone.Tools; using Dietphone.ViewModels; using Dietphone.Adapters; using MvvmCross.Droid.Views; using MvvmCross.Platform; namespace Dietphone.Views { [Activity] public class MainView ...
PawelStroinski/Diettr-GPL
Dietphone.Droid/Views/MainView.cs
C#
gpl-2.0
7,595
<?php class perfUnits extends Core{ function perfUnits(){ $this->Core("pupil_performance_assessment"); $this->addField("assessment"); $this->addField("passed"); } } ?>
ya6adu6adu/schoolmule
schoolmodule/model/perfUnits.php
PHP
gpl-2.0
177
/* This file is part of MADNESS. Copyright (C) 2007,2010 Oak Ridge National Laboratory 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...
spring01/libPSI
madness/src/apps/nick/hello.cc
C++
gpl-2.0
4,494
/* * This file is part of Dune Legacy. * * Dune Legacy 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. * * Dune Legacy is...
thebohemian/dunelegacy-richiesbranch
src/FileClasses/IndexedTextFile.cpp
C++
gpl-2.0
3,196
// Copyright (C) 2005 - 2007 Steve Taylor. // Distributed under the Toot Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.toot.org.uk/LICENSE_1_0.txt) package uk.org.toot.midi.misc; import uk.org.toot.music.tonality.Pitch; /** Support for General MIDI Instrum...
petersalomonsen/frinika
src/uk/org/toot/midi/misc/GM.java
Java
gpl-2.0
20,219
<?php function digest_event($event, $start, $end) { $tz1 = new DateTimeZone('UTC'); $tz2 = new DateTimeZone('Europe/London'); # Get a string representation of the date in UK time. $datetime = new DateTime($start, $tz1); $datetime->setTimezone($tz2); $start = $datetime->format('D, jS F g:ia'); ...
nicksellen/iznik
mailtemplates/digest/event.php
PHP
gpl-2.0
1,995
// closure to avoid namespace collision (function(){ //------- var html_form = '<div id="text_box-form">\ <p class="popup_submit_wrap"><span class="wpp_helper_box"><a onclick="open_win(\'http://www.youtube.com/watch?v=Y_7snOfYato&list=PLI8Gq0WzVWvJ60avoe8rMyfoV5qZr3Atm&index=10\')">Видео урок</a></span><input typ...
SergL/aboutttango
wp-content/plugins/wppage/js/box.js
JavaScript
gpl-2.0
4,002
/***************************************************************************** * Web3d.org Copyright (c) 2001 * Java Source * * This source is licensed under the GNU LGPL v2.1 * Please read http://www.gnu.org/copyleft/lgpl.html for more information * * This so...
Norkart/NK-VirtualGlobe
Xj3D/src/java/org/web3d/vrml/renderer/common/nodes/surface/BaseImage2D.java
Java
gpl-2.0
22,301
/* * Copyright (c) 2013, 2021, 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 ...
smarr/Truffle
compiler/src/org.graalvm.compiler.phases.common/src/org/graalvm/compiler/phases/common/inlining/info/ExactInlineInfo.java
Java
gpl-2.0
3,520
package cs499.examples.semesterproject; import javax.servlet.*; import javax.servlet.http.*; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.io.*; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Resul...
hs94/FoodFinderApp
src/cs499/examples/semesterproject/AndroidFoodBankOwnerServlet.java
Java
gpl-2.0
18,694
<?php namespace app\models; use Yii; use yii\helpers\ArrayHelper; /** * This is the model class for table "country". * * @property integer $id * @property string $country_name * * @property Person[] $people */ class Country extends \yii\db\ActiveRecord { /** * @inheritdoc */ public static fu...
FreeWebber/s7
GRID/p0vidl0-yii2/models/Country.php
PHP
gpl-2.0
1,372
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta name="author" content="Kai Oswald Seidler, Kay Vogelgesang, Carsten Wiedmann"> <link href="xampp.css" rel="stylesheet" type="text/css"> <script language="JavaScript" type="text/javascript" ...
adamasantares/XAMPP-Virtual-Host-Manager
security/htdocs/navi.php
PHP
gpl-2.0
3,183
<?php namespace Cerbere\Model\Hacked; class HackedFileIgnoreEndingsHasher extends HackedFileHasher { /** * Ignores file line endings. * @inheritdoc */ public function performHash($filename) { if (!HackedFileGroup::isBinary($filename)) { $file = file($filename, FILE_IGNOR...
smalot/drush-cerbere
lib/Cerbere/Model/Hacked/HackedFileIgnoreEndingsHasher.php
PHP
gpl-2.0
599
package com.ks.net; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import java.net.SocketTimeoutException; import java.util.ArrayList; import com.ks.activitys.IndexActivity.IndexHandler; import com.ks.net.enums.MessageEnums; public class UDPSc...
MichaelChansn/RemoteControlSystem2.0_AndroidClient
src/com/ks/net/UDPScanThread.java
Java
gpl-2.0
2,601
<?php function tzs_yahoo_get_id() { global $wpdb; $res = $wpdb->get_row("SELECT id, appid FROM ".TZS_YAHOO_KEYS_TABLE." ORDER BY last_used ASC LIMIT 1;"); if (count($res) == 0 && $wpdb->last_error != null) { return NULL; } $appid = $res->appid; $id = $res->id; $sql = "UPDATE ".TZS_YAHOO_KEYS_TABLE." SET last...
serker72/T3S_Old
wp-content/plugins/tzs/functions/tzs.yahoo.php
PHP
gpl-2.0
18,819
<?php /* Load JS scripts(minified or normal) in admin area only */ add_action( 'admin_head' , 'cutv__load_scripts' ); function cutv__load_scripts() { if( cutv__DEV_MODE === FALSE && cutv__USE_MIN_JS === TRUE ) { $js_functions_file = cutv__URL . 'assets/js/cutv_.functions.min.js'; } else { $js...
erratik/cutv-api
hooks/wpvr.hooks.assets.php
PHP
gpl-2.0
14,647
package hmod.domain.mkp.scripts; import flexbuilders.core.BuildException; import flexbuilders.core.Buildable; import flexbuilders.scripting.BuildScript; import flexbuilders.tree.BranchBuilder; import flexbuilders.tree.TreeHandler; import static hmod.parser.builders.AlgorithmBuilders.*; /** * * @author Enrique Urra...
eurra/hmod-domain-mkp
src/hmod/domain/mkp/scripts/RemoveAndGreedyFillScript.java
Java
gpl-2.0
1,721
<?php /** * Plugin Name: WP useful plugins * Plugin URI: http://back-end.ir/ * Description: Install the plugins I think are really awesome in one go! * Version: 1.0 * Author: Masoud Golchin * Author URI: http://back-end.ir/ * License: GPLv2 */ function wp_plugins_menu() { add_menu_page('Useful Plugins', 'Usef...
masoudgolchin/wp-useful-plugins
wp-useful-plugins.php
PHP
gpl-2.0
2,311
<?php add_action( 'getnoticed_post_ads', 'getnoticed_post_ads' ); function getnoticed_post_ads( $location ) { /* do we need an override option? global $getnoticedMeta; if ( ! is_array($getnoticedMeta) ) $getnoticedMeta = getnoticed_theme_meta( get_the_ID(), get_post_type() ); if ( ! $getnoticedMeta['postad...
drewhagni/evermore
wp-content/themes/getnoticed/inc/post-ads.php
PHP
gpl-2.0
1,461
<?php // Do not delete these lines if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) die (__('Please do not load this page directly. Thanks!')); if (!empty($post->post_password)) { // if there's a password if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it...
yondri/newyorkando
wp-content/themes/wp-mobile/comments.php
PHP
gpl-2.0
3,248
/* File produced by Kranc */ #define KRANC_C #include <assert.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" #include "GenericFD.h" #include "Differencing.h" #include "cctk_Loop.h" #include "loopcontrol.h" /*...
eschnett/Kranc
Examples/Wave/src/wave_exact_sine.cc
C++
gpl-2.0
5,841
<?xml version="1.0" ?><!DOCTYPE TS><TS language="cs_CZ" version="2.1"> <context> <name>About</name> <message> <location filename="../qml/pages/About.qml" line="25"/> <source>About</source> <comment>About page title</comment> <translation>O programu</translation> </message> ...
marco73f/jollagram-translations
harbour-jollagram_cs_CZ.ts
TypeScript
gpl-2.0
17,492
package trasm; /** * Таблица идентификаторов */ class IdTable extends AbstractTable { /** * Типы идентификаторов */ static enum IdType { DB(1), DW(2), DD(4), LABEL(0); private int size; private IdType(int i) { size = i; } ...
mchug/trasm
src/trasm/IdTable.java
Java
gpl-2.0
4,205
<?php /** * @file * @ingroup SMWStore * @since 1.8 */ /** * Class for representing a single (sub)query description. Simple data * container. * * @since 1.8 * @author Markus Krötzsch * @author Jeroen De Dauw * @ingroup SMWStore */ class SMWSQLStore3Query { /// Type of empty query without usable condition,...
JeroenDeDauw/SemanticMediaWiki
includes/storage/SQLStore/SMW_SQLStore3_Queries.php
PHP
gpl-2.0
49,492
<?php /* Plugin Name: WP User Control Plugin URI: http://palmspark.com/wordpress-user-control/ Version: 1.5.1 Author: Bill Edgar Author URI: http://palmspark.com Text Domain: wp-uc-widget Description: WP User Control adds a sidebar widget that allows a user to login, register, retrieve lost passwords, etc. wi...
denoramco/ohmybike
wp-content/plugins/wp-user-control/wp_uc_widget.php
PHP
gpl-2.0
9,257
/** * Lists the number of different characters */ /* global document: true, Node: true, window: true */ exports.version = '1.0'; exports.module = function(phantomas) { 'use strict'; //phantomas.setMetric('differentCharacters'); // @desc the number of different characters in the body @offenders phantom...
gmetais/YellowLabTools
lib/tools/phantomas/custom_modules/modules/charactersCount/charactersCount.js
JavaScript
gpl-2.0
2,928
#include "Feed.h" Feed::Feed(QObject *parent) : QObject(parent) { }
Streon/Janus_RSS
RSS_Translator/Entities/Feed.cpp
C++
gpl-2.0
74