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
/* * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundati...
unktomi/form-follows-function
mjavac/langtools/test/tools/javac/processing/T6439826.java
Java
gpl-2.0
3,965
/* * Hydrogen * Copyright(c) 2002-2008 by Alex >Comix< Cominu [comix@users.sourceforge.net] * * http://www.hydrogen-music.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 ver...
blablack/hydrogen
src/gui/src/SoundLibrary/SoundLibraryImportDialog.cpp
C++
gpl-2.0
20,246
<?php defined('_JEXEC') or die; require_once dirname(__FILE__) . '/helper.php'; //this part is for when it's gonna be database driven $helper = new modPharmecRightBookingHelper(); $service_title = $helper->getCurrentService(); //if we don't have a title, then we need to get a list of services (including the categories...
GZamfir/pharmec
modules/mod_pharmec_right_booking/mod_pharmec_right_booking.php
PHP
gpl-2.0
557
/* * wifi.cpp * * Created on: 24 Oct 2012 * Author: thomas */ #include "ns3/core-module.h" #include "ns3/simulator.h" #include "ns3/node.h" #include "ns3/global-value.h" #include "ns3/wifi-module.h" #include "ns3/wimax-helper.h" #include "ns3/point-to-point-helper.h" #include "ns3/internet-module.h" #includ...
kelsteNa/fyp
new.cc
C++
gpl-2.0
9,431
<?php /** * 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; under version 2 * of the License (non-upgradable). * * This program is distributed in the hope that it will be useful, * but WITH...
hutnikau/qti-sdk
src/qtism/data/storage/xml/marshalling/ItemSubsetMarshaller.php
PHP
gpl-2.0
3,416
<?php if($_POST){ templatic_load_settings_page(); } /* Name : templatic_load_settings_page Description : redirect user on right tab after save */ function templatic_load_settings_page() { if ( $_POST["settings-submit"] == 'Y' ) { templatic_save_settings(); $url_parameters = isset($_GET['tab'])? 'upd...
imshashank/osuevents
wp-content/plugins/Tevolution/tmplconnector/monetize/templatic-generalizaion/general_settings.php
PHP
gpl-2.0
15,380
<?php $captcha_word = 'DZ5E'; ?>
CoordCulturaDigital-Minc/culturadigital.br
wp-content/plugins/si-captcha-for-wordpress/captcha-secureimage/captcha-temp/pfOxT6CtvmexP9dq.php
PHP
gpl-2.0
32
/* * Rvzware based in CAPAWARE 3D * * Rvzware 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.1 of the License, or (at your option) * any later version. * * Rvzware is distribu...
BackupTheBerlios/rvzware
src/cpw/persistent/database/DataBase.cpp
C++
gpl-2.0
25,854
// -------------------------------------------------------------------------- #include <vector> #include <string> #include <sstream> #include <iomanip> #include <algorithm> #include <getopt.h> // -------------------------------------------------------------------------- #include "ORepHelpers.h" #include "ObjectReposito...
vitlav/libuniset
Utilities/Admin/admin.cc
C++
gpl-2.0
23,256
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
deathspeeder/class-guard
apache-tomcat-7.0.53-src/java/org/apache/tomcat/util/bcel/classfile/ConstantDouble.java
Java
gpl-2.0
2,065
<?php /** * * @package InfinityCoreCMS * @version $Id$ * @copyright (c) 2008 InfinityCoreCMS * @license http://opensource.org/licenses/gpl-license.php GNU Public License * */ /** * * @Extra credits for this file * Vjacheslav Trushkin (http://www.stsoftware.biz) * */ define('IN_INFINITYCORECMS', true); if (!defined('I...
LordPsyan/InfinityCoreCMS
adm/xs_edit.php
PHP
gpl-2.0
15,350
<?php // No direct access to this file defined('_JEXEC') or die('Restricted access'); // import Joomla view library jimport('joomla.application.component.view'); jimport('joomla.application.component.controller'); /** * HTML View class for the HelloWorld Component */ class HoroscopeViewNavamsha extends JViewLegacy ...
luffy22/aisha
components/com_horoscope/views/navamsha/view.html.php
PHP
gpl-2.0
967
<?php /** * @package Joomla.Libraries * @subpackage Form * * @copyright Copyright (C) 2005 - 2016 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('groupedlist'); $app=...
cuongnd/banhangonline88_joomla
libraries/cms/form/field/menuitem.php
PHP
gpl-2.0
5,948
//////////////////////////////////////////////////////////////////////////////// // // Copyright 2016 RWS Inc, All Rights Reserved // // This program is free software; you can redistribute it and/or modify // it under the terms of version 2 of the GNU General Public License as published by // the Free Software Foundati...
PixelDevLabs/Ezia-Cleaner_Build-934afd57b26a
RSPiX/Src/ORANGE/GUI/MultiBtn.cpp
C++
gpl-2.0
15,860
/* * Copyright (C) 2013-2015 DeathCore <http://www.noffearrdeathproject.net/> * * 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 l...
Ginfred/DeathCore
src/server/scripts/Kalimdor/CavernsOfTime/DragonSoul/instance_dragon_soul.cpp
C++
gpl-2.0
10,625
var config = require('comm/script/config') App({ globalData: { userInfo: null }, onLaunch: function() { // 获取用户信息 this.getUserInfo() //初始化缓存 this.initStorage() }, getUserInfo:function(cb){ var that = this wx.login({ success: function () { wx.getUserInfo({ su...
YHaven/sjqTest
wxCode/allMovie/app.js
JavaScript
gpl-2.0
3,189
package org.totalboumboum.ai.v201112.ais.gungorkavus.v3.criterion; import java.util.Iterator; import java.util.List; import java.util.Set; import java.util.TreeSet; import org.totalboumboum.ai.v201112.adapter.agent.AiUtilityCriterionBoolean; import org.totalboumboum.ai.v201112.adapter.communication.StopReques...
vlabatut/totalboumboum
resources/ai/org/totalboumboum/ai/v201112/ais/gungorkavus/v3/criterion/VDAdvPertinent.java
Java
gpl-2.0
2,816
let sentryCaptureException export function logException(ex: Error): void { if (__DEV__) { window.console && console.error && console.error(ex) } else if (sentryCaptureException) { sentryCaptureException(ex) } } export async function initSentryLogger(): Promise<void> { const [{ init: sentryInit }, { ca...
zsebtanar/zsebtanar-proto
src/client/generic/utils/logger.ts
TypeScript
gpl-2.0
738
<?php /** * The main template file. * * This is the most generic template file in a WordPress theme * and one of the two required files for a theme (the other being style.css). * It is used to display a page when nothing more specific matches a query. * E.g., it puts together the home page when no home.php file e...
marcosposada/emily
wp-content/themes/emily/hello-section.php
PHP
gpl-2.0
868
?php /** * @version * @package MosPrayer - COAddOns for Mambo & Jommla - Prayers on Articles based on COMBO by Phil Taylor * @copyright (C) 2008 ongetc.com * @info ongetc@ongetc.com http://ongetc.com * @license GNU/GPL http://ongetc.com/gpl.html. */ // translated by Fuga http://dndon.net defined( '_VALID_MOS' ) or di...
chanhong/mosprayer
language/arabic.php
PHP
gpl-2.0
7,522
from PyQt4 import QtCore, uic from PyQt4.QtGui import * from subprocess import call from grafo import Grafo from uis.uiMainwindow import Ui_MainWindow from sobre import SobreUi import pdb from resultado import Resultado def debug_trace(): '''Set a tracepoint in the Python debugger that works with Qt''' from P...
sollidsnake/grafo
mainwindow.py
Python
gpl-2.0
10,057
<?php $lang['0comments'] = '%d Kommentare'; $lang['1comments'] = '%d Kommentar'; $lang['Xcomments'] = '%d Kommentare'; $lang['readmore'] = 'Weiter lesen...'; $lang['prev'] = '&lt; Neuere Beiträge';; $lang['next'] = 'Ältere Beiträge &gt;'; $lang['title'] = 'Titel:'; $lang['create'] = 'Anlegen'; $lang['comm...
foozzi/linuxeed.org
lib/plugins/blogtng/lang/de/lang.php
PHP
gpl-2.0
633
<?php /** * @category Virtue Theme * @package Metaboxes * @license http://www.opensource.org/licenses/gpl-license.php GPL v2.0 (or later) * @link https://github.com/jaredatch/Custom-Metaboxes-and-Fields-for-WordPress */ add_filter( 'cmb_meta_boxes', 'virtue_metaboxes' ); /** * Define the metabox and field ...
pcostan/mscm
wp-content/themes/virtue/lib/metaboxes.php
PHP
gpl-2.0
24,075
import numpy as np from collections import namedtuple import interp epi0 = 1. # Epsilon0 Species = namedtuple("Species", ["q", "m", "N", "x0", "vx0", "vy0"]) __cache_one_d_poisson = {} def one_d_poisson(n): if n in __cache_one_d_poisson: return __cache_one_d_poisson[n] a = np.zeros((n,n)) np...
shigh/pyes1
pyes1/pic1d2v.py
Python
gpl-2.0
5,516
package com.kamildanak.minecraft.safe.init; import com.kamildanak.minecraft.safe.block.BlockSafe; import net.minecraft.block.Block; import net.minecraft.block.material.Material; public class SafeBlocks { public static final BlockSafe SAFE; static final Block[] BLOCKS; static { SAFE = new BlockSaf...
kamilx3/Safe
src/main/java/com/kamildanak/minecraft/safe/init/SafeBlocks.java
Java
gpl-2.0
391
'use strict'; angular.module('<%=project.name.a()%>App') .config(function ($stateProvider) { $stateProvider .state('entity', { abstract: true, parent: 'site' }); });
gen-js-bundles/angularjs-springboot-mongodb
templates/{srcWeb}/scripts/app/entities/entity.js
JavaScript
gpl-2.0
239
#include "./downloaditemdelegate.h" #include <syncthingmodel/syncthingdownloadmodel.h> #include <syncthingmodel/syncthingicons.h> #include <qtforkawesome/icon.h> #include <qtforkawesome/renderer.h> #include <QApplication> #include <QBrush> #include <QFontMetrics> #include <QPainter> #include <QPalette> #include <QPi...
Martchus/syncthingtray
tray/gui/downloaditemdelegate.cpp
C++
gpl-2.0
4,059
/* * Copyright (C) 2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
rex-xxx/mt6572_x201
frameworks/av/services/audioflinger/FastMixer.cpp
C++
gpl-2.0
36,413
# -*- coding: utf-8 -*- # Generated by Django 1.9.12 on 2017-02-09 08:44 from __future__ import unicode_literals from django.db import migrations, models import django.utils.timezone import model_utils.fields class Migration(migrations.Migration): dependencies = [ ('statusboard', '0005_merge'), ] ...
edigiacomo/django-statusboard
statusboard/migrations/0006_maintenance.py
Python
gpl-2.0
1,099
<?php // No direct access to this file defined('_JEXEC') or die('Restricted access'); // import the Joomla modellist library jimport('joomla.application.component.modeladmin'); /** * HelloWorldList Model */ class RentalModelPayment extends JModelAdmin { /* * Method to get the payment form * */ public ...
adster101/French-Connections-
administrator/components/com_rental/models/payment.php
PHP
gpl-2.0
4,322
<?php class E_Register_NowLog__Admin { public function __construct() { add_action( 'wp_ajax_tribe_logging_controls', array( $this, 'listen' ) ); add_action( 'init', array( $this, 'serve_log_downloads' ) ); add_action( 'init', array( $this, 'register_script' ) ); } /** * Returns the HTML comprising the event...
romangrb/register-now-plugin
backup/event-tickets 1.2.3/common/src/e_register_now/Log/Admin.php
PHP
gpl-2.0
6,686
#ifndef UTIL_FACTORY_HPP #define UTIL_FACTORY_HPP #include "base.hpp" #include <map> #include "typeinfo.hpp" namespace util { //////////////////////////////////////////////////////////////////////////////// // class template DefaultFactoryError // Manages the "Unknown Type" error in an object factory ///////////////...
joshua-meng/Util
src/util/factory.hpp
C++
gpl-2.0
3,863
/* note: this requires gstreamer 0.10.x and a big list of plugins. */ /* it's currently hardcoded to use a big-endian alsasink as sink. */ #include <lib/base/ebase.h> #include <lib/base/eerror.h> #include <lib/base/init_num.h> #include <lib/base/init.h> #include <lib/base/nconfig.h> #include <lib/base/object.h> #incl...
opendroid-Team/enigma2-4.1
lib/service/servicemp3.cpp
C++
gpl-2.0
67,814
<?php function plugin_beforescript_convert() { global $vars; $qm = get_qm(); $page = $vars['page']; if (! (PKWK_READONLY > 0 or is_freeze($page) or plugin_beforescript_is_edit_auth($page))) { return $qm->replace('fmt_err_not_editable', '#html', $page); } $args = func_get_args(); $addscript = array_pop($ar...
open-qhm/qhm
plugin/beforescript.inc.php
PHP
gpl-2.0
990
<?php /************** * @package WordPress * @subpackage Cuckoothemes * @since Cuckoothemes 1.0 * URL http://cuckoothemes.com ************** * * * ** Name : Button shortcodes */ function shortcode_button( $atts, $content = null) { extract(shortcode_atts(array( "title" => 'Button Title', "co...
rlhardrock/buhos
wp-content/themes/cuckootap/cuckootap/admin/shortcodes/button/button_shortcodes.php
PHP
gpl-2.0
1,544
jQuery('.js_mobile_menu').click(function(){ jQuery('body').toggleClass('mobile_menu_opened'); });
saintcode/cenotexplore
src/wordpress/wp-content/themes/cenotexplore/js/main.js
JavaScript
gpl-2.0
101
package org.itomi.kakuro.model; import java.util.Observable; import org.itomi.kakuro.integer.Tuple; import org.itomi.kakuro.model.grid.Density; import org.itomi.kakuro.model.grid.Grid; import org.itomi.kakuro.model.grid.ImmutableSubMatrix; public class KakuroInstance extends Observable { private int hor...
itomi/kakuro
CommonFiles/src/org/itomi/kakuro/model/KakuroInstance.java
Java
gpl-2.0
955
import Vue from 'vue' import App from './App.vue' import vuetify from './plugins/vuetify'; import store from './plugins/store' import router from './plugins/router' import '@mdi/font/css/materialdesignicons.css' import './style.scss' Vue.config.productionTip = false new Vue({ vuetify, store, router, render: ...
kevashcraft/EagleLogger
app/src/main.js
JavaScript
gpl-2.0
350
<?php namespace Intraxia\Gistpen\View; use Intraxia\Gistpen\Contract\Templating; use Intraxia\Gistpen\Params\Repository as Params; use Intraxia\Jaxion\Contract\Core\HasActions; use Intraxia\Jaxion\Contract\Core\HasFilters; /** * This class registers all of the settings page views * * @package WP_Gistpen * @aut...
mAAdhaTTah/WP-Gistpen
app/View/Settings.php
PHP
gpl-2.0
2,831
/* * ************************************************************************************* * Copyright (C) 2008 EsperTech, Inc. All rights reserved. * * http://esper.codehaus.org * * http://www.espertech.com ...
intelie/esper
esper/src/main/java/com/espertech/esper/client/hook/VirtualDataWindowFactory.java
Java
gpl-2.0
1,433
package de.hsbremen.kss.genetic.selection; import java.util.List; import org.apache.commons.lang3.Validate; import de.hsbremen.kss.model.Plan; import de.hsbremen.kss.util.RandomUtils; public class OnlyTheBestSelection implements Selection { private final RandomUtils randomUtils; private final double best;...
hvoss/logistik
src/main/java/de/hsbremen/kss/genetic/selection/OnlyTheBestSelection.java
Java
gpl-2.0
760
<?php App::uses('Planet', 'Model'); /** * Planet Test Case * */ class PlanetTest extends CakeTestCase { /** * Fixtures * * @var array */ public $fixtures = array( 'app.planet' ); /** * setUp method * * @return void */ public function setUp() { parent::setUp(); $this->Planet = ClassRegistry::init(...
tommykrueger/ExoPlanetSystems
backend/app/Test/Case/Model/PlanetTest.php
PHP
gpl-2.0
464
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Paypal\Test\Unit\Model\Payflow; use Magento\Paypal\Model\Config; use Magento\Paypal\Model\Info; use Magento\Paypal\Model\Payflow\AvsEmsCodeMapper; use Magento\Sales\Api\Data\OrderPaymentInterface; ...
kunj1988/Magento2
app/code/Magento/Paypal/Test/Unit/Model/Payflow/AvsEmsCodeMapperTest.php
PHP
gpl-2.0
3,347
<?php // +--------------------------------------------------------------------------+ // | Image_Graph aka GraPHPite | // +--------------------------------------------------------------------------+ // | Copyright (C) 2003, 2004 Jesper Veggerby Hansen ...
cuong09m/krwe
emailmarketer/admin/functions/amcharts/graphpite/Image/Graph/Layout/Constants.php
PHP
gpl-2.0
2,942
class UserPrizesController < UserResourcesController end
ifunam/salva
app/controllers/user_prizes_controller.rb
Ruby
gpl-2.0
57
#!/usr/bin/env python # This is the MIT License # http://www.opensource.org/licenses/mit-license.php # # Copyright (c) 2007,2008 Nick Galbreath # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Softw...
vollmerk/sysadm-tools
ganglia/lib/gmetric.py
Python
gpl-2.0
7,815
<?php namespace ResponsiveMenu\Repositories; use ResponsiveMenu\Models\Option; use ResponsiveMenu\Collections\OptionsCollection; use ResponsiveMenu\Database\Database; use ResponsiveMenu\Factories\OptionFactory; class OptionRepository { protected static $table = 'responsive_menu'; public function __construct(Dat...
dans-lweb/immunoconcept
wp-content/plugins/responsive-menu/src/app/Repositories/OptionRepository.php
PHP
gpl-2.0
1,582
<?php /* * This file is part of EC-CUBE * * Copyright(c) 2000-2015 LOCKON CO.,LTD. All Rights Reserved. * * http://www.lockon.co.jp/ * * 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...
Yammy/ec-cube
src/Eccube/Controller/Admin/Content/LayoutController.php
PHP
gpl-2.0
6,478
package corgis.energy.domain; import java.util.List; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import org.json.simple.JSONArray; import org.json.simple.JSONObject; /** * */ public class Industrial { // Natural gas price i...
RealTimeWeb/datasets
datasets/java/energy/src/corgis/energy/domain/Industrial.java
Java
gpl-2.0
6,075
using System; using System.Linq; using System.Collections.Generic; using Foundation; using UIKit; namespace SaveData.UI { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally responding) to // appli...
aragorn55/ClassSampleCode
mobiledev/SaveData/SaveData.UI/AppDelegate.cs
C#
gpl-2.0
1,413
# -*- coding: utf-8 -*- import pcapy import Storage_Classes from collections import defaultdict #from scapy.layers.all import * from scapy.layers.dot11 import Dot11, RadioTap ################################################################ VERBOSE = 1 ### auxiliary functions ### def show_short(p, label): if ...
stephansigg/IPSN_localisation_passive-DF
Data_CaseStudies/CaseStudy_1312_initial/pcap_analyzer/Pcap_Parser.py
Python
gpl-2.0
6,609
# Rekall Memory Forensics # # Copyright 2016 Google Inc. All Rights Reserved. # # 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 v...
rlugojr/rekall
rekall-agent/rekall_agent/ui/flows.py
Python
gpl-2.0
29,082
<div class="wrap" id="of_container"> <h2 style="display:none"></h2> <div id="of-popup-save" class="of-save-popup"> <div class="of-save-save">Options Updated</div> </div> <div id="of-popup-reset" class="of-save-popup"> <div class="of-save-reset">Options Reset</div> </div> <div id="of-popup-fail" class="of...
m-godefroid76/devrestofactory
wp-content/themes/kingsize/admin/front-end/options.php
PHP
gpl-2.0
3,266
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Wikibase.DataModel { public class IndexedList<K, V> : IEnumerable { private Dictionary<K, V> dictionary; private Func<V, K> indexProvider; ...
Benestar/wikibase.net
Wikibase.Net/DataModel/IndexedList.cs
C#
gpl-2.0
1,483
<?php /** * JBZoo App is universal Joomla CCK, application for YooTheme Zoo component * @package jbzoo * @version 2.x Pro * @author JBZoo App http://jbzoo.com * @copyright Copyright (C) JBZoo.com, All rights reserved. * @license http://jbzoo.com/license-pro.php JBZoo Licence * @coder ...
alexmixaylov/real
media/zoo/applications/jbuniversal/cart-elements/core/element/element.php
PHP
gpl-2.0
18,323
#include "hge-object-page.hpp" hge::ui::ObjectPage::ObjectPage(QWidget *parent) : QWidget(parent) { }
Hossein-Noroozpour/HGE-Builder
hge-object-page.cpp
C++
gpl-2.0
103
<?php use mvc\interfaces\controllerActionInterface; use mvc\controller\controllerClass; use mvc\config\configClass as config; use mvc\request\requestClass as request; use mvc\routing\routingClass as routing; use mvc\session\sessionClass as session; use mvc\i18n\i18nClass as i18n; use hook\log\logHookClass as log; /** ...
marianandres/CultExcelEnterprise1
controller/usuario/deleteSelectActionClass.php
PHP
gpl-2.0
1,500
<?php $section = get_heckscher_section(); ?> <div class="heckscherdropdown dropdown-<?php echo $section; ?>"> <?php if ( $section == 'guidelines') : ?> <span class="more">More Guidelines</span> <?php elseif ( $section == 'projects') : ?> <span class="more">More Projects</span> <?php else : ?> <span class="mo...
everythingtype/heckscher
parts/sibling-dropdown.php
PHP
gpl-2.0
627
import re from geopy import exc from geopy.compat import urlencode from geopy.geocoders.base import DEFAULT_SENTINEL, Geocoder from geopy.location import Location from geopy.util import logger __all__ = ("What3Words", ) class What3Words(Geocoder): """What3Words geocoder. Documentation at: https://d...
phborba/dsgtoolsop
auxiliar/geopy/geocoders/what3words.py
Python
gpl-2.0
8,452
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.autoplot.pngwalk; import java.awt.Graphics2D; import java.awt.RenderingHints; import java.awt.Transparency; import java.awt.image.BufferedImage; import java.util.logging.Level; import java.util.logging.Logge...
autoplot/app
Autoplot/src/org/autoplot/pngwalk/ImageResize.java
Java
gpl-2.0
4,487
<?php // // +----------------------------------------------------------------------+ // | PHP Version 5 | // +----------------------------------------------------------------------+ // | Copyright (c) 1997-2004 The PHP Group | // +---...
telabotanica/tapirlink
lib/pear/peclcmd.php
PHP
gpl-2.0
1,830
using Server.Items; namespace Server.Mobiles { [CorpseName( "a lava serpent corpse" )] [TypeAlias( "Server.Mobiles.Lavaserpant" )] public class LavaSerpent : BaseCreature { [Constructable] public LavaSerpent() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = "a lava ser...
felladrin/last-wish
Scripts/Mobiles/Animals/Reptiles/LavaSerpent.cs
C#
gpl-2.0
1,925
package gov.noaa.pmel.eps2; import java.awt.*; /** * <code>EPSConstants</code> * Various symbolic constants used by EPS * * @author oz * @version 1.0 */ public interface EPSConstants { public static int MISSINGVALUE = -99; public static char COLON_DELIMITER = ':'; public static char TAB_DEL...
OceanAtlas/JOA
gov/noaa/pmel/eps2/EPSConstants.java
Java
gpl-2.0
15,827
<?php if(have_posts()) : ?> <div class="imagethumbs"><?php ioya_the_images( $posts, apply_filters( 'ioya_image_count', 8 ), apply_filters( 'ioya_image_size', array(44, 44) ) ); ?></div> <?php while (have_posts()) : the_post(); ?> <div class="post"> <small><?php the_date(); ?></small> <h3><a href="<?php ...
jarednova/Passport
wp-content/plugins/in-over-your-archives/ioya_month.php
PHP
gpl-2.0
643
<?php /** * Core Design Web Gallery plugin for Joomla! 2.5 * @author Daniel Rataj, <info@greatjoomla.com> * @package Joomla * @subpackage Content * @category Plugin * @version 2.5.x.2.0.5 * @copyright Copyright (C) 2007 - 2012 Great Joomla!, http://www.greatjoomla.com * @license http://www.gnu.org/copyle...
fatwayne/heart-bridge-joomla
plugins/content/cdwebgallery/engine/greybox/app/application.js.php
PHP
gpl-2.0
1,422
/* $Id: PDMAsyncCompletion.cpp $ */ /** @file * PDM Async I/O - Transport data asynchronous in R3 using EMT. */ /* * Copyright (C) 2006-2011 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redi...
VirtualMonitor/VirtualMonitor
src/VBox/VMM/VMMR3/PDMAsyncCompletion.cpp
C++
gpl-2.0
54,355
namespace :project_state do resources :summary, only: [:index] resources :users, only: [:show] resource :user, only: [:show] resources :state, only: [:show] resources :project_state_reports, only: [:index, :show, :update] resources :bank_holidays, only: [:index] get 'configure', action: :edit post 'conf...
crukci-bioinformatics/process_tracker_plugin
config/routes.rb
Ruby
gpl-2.0
347
/*============================================================================*/ /*! \file reader_xtc.hpp * \author Tiago LOBATO GIMENES (tlgimenes@gmail.com) * \date 2015-03-30 18:49 * * \brief .xtc file reader * * This file contains the implementation of a class for reading .xtc files * wit...
tlgimenes/CUDADClusterer
utils/reader_xtc.hpp
C++
gpl-2.0
6,763
/* * Copyright 2009 TauNova (http://taunova.com). All rights reserved. * * This file is subject to the terms and conditions defined in * file 'LICENSE.txt', which is part of this source code package. */ package com.taunova.ui.light.component; import java.awt.Graphics; /** * Description * * @ve...
RenatGilmanov/tau-ui
src/java/com/taunova/ui/light/component/LightLabel.java
Java
gpl-2.0
791
<?php namespace Drupal\Tests\conditional_fields\FunctionalJavascript; use Drupal\language\Entity\ContentLanguageSettings; use Drupal\Tests\conditional_fields\FunctionalJavascript\TestCases\ConditionalFieldValueInterface; /** * Test Conditional Fields Language Select Plugin. * * @group conditional_fields */ class...
enslyon/ensl
modules/conditional_fields/tests/src/FunctionalJavascript/ConditionalFieldLanguageSelectTest.php
PHP
gpl-2.0
17,212
/* Copyright (C) 2008 - 2016 by Mark de Wever <koraq@xs4all.nl> Part of the Battle for Wesnoth Project http://www.wesnoth.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 ve...
aquileia/wesnoth
src/gui/widgets/text_box.hpp
C++
gpl-2.0
7,540
<?php include('includes/session.inc'); $Title = _('Tax Status Maintenance'); include('includes/header.inc'); include('includes/SQL_CommonFunctions.inc'); if (isset($_GET['TaxStatusID'])) { $TaxStatusID = strtoupper($_GET['TaxStatusID']); } elseif (isset($_POST['TaxStatusID'])) { $TaxStatusID = strtoup...
fahadhatib/KwaMoja
prlTaxStatus.php
PHP
gpl-2.0
7,520
package ModelLayer; import java.util.ArrayList; /** * Write a description of class Product here. * * @author (Jacob Pedersen & Ronnie Knudsen) * @version (04-12-2014) dd-mm-yyyy */ public class Product { // instance variables private ArrayList<ProductItem> items; private int id; private String b...
dmab0914-Gruppe-2/Vestbjerg-Byggecenter
src/ModelLayer/Product.java
Java
gpl-2.0
6,578
#include <iostream> #include "assembler.h" using namespace std; // Simple constructor. Assembler::Assembler(istream &in, ostream &out) { currentAddress = 0; for (int i = 0; i < MAXLABEL; i++) labelTable[i] = 0; insource = &in; outsource = &out; } // Default destructor. Assembler::~Assembler() { } ...
versionzero/plc
src/assembler.cc
C++
gpl-2.0
6,134
<?php /** * @package Joomla.Platform * @subpackage Database * * @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('JPATH_PLATFORM') or die; /** * MySQLi import driver. * * @since 11....
ylahav/joomla-cms
libraries/joomla/database/importer/mysqli.php
PHP
gpl-2.0
11,690
// cmdline_extract_cache_subset.cc // // Copyright (C) 2008-2010 Daniel Burrows // // 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 op...
iamduyu/aptitude
src/cmdline/cmdline_extract_cache_subset.cc
C++
gpl-2.0
3,749
class CreateMaterials < ActiveRecord::Migration def change create_table :materials do |t| t.string :name t.decimal :price_per_m2 t.timestamps null: false end end end
ProjNaRok1516/ruby-www
db/migrate/20160105130157_create_materials.rb
Ruby
gpl-2.0
197
// Aseprite // Copyright (C) 2001-2016 David Capello // // This program 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. #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "app/util/freetyp...
tony/aseprite
src/app/util/freetype_utils.cpp
C++
gpl-2.0
2,836
/******************************************************************************** * * * GNORASI - The Knowlegde-Based Remote Sensing Engine * * ...
gnorasi/gnorasi
Gnorasi/modules/otb/processors/Segmentation/otbgeodesicactivecontourlevelsetimagefilterprocessor.cpp
C++
gpl-2.0
8,476
<?php /** * @file * Contains \Drupal\Console\Utils\Create\UserData. */ namespace Drupal\Console\Utils\Create; use Drupal\Core\Entity\EntityTypeManagerInterface; use Drupal\Core\Entity\EntityFieldManagerInterface; use Drupal\Core\Datetime\DateFormatterInterface; /** * Class Users * * @package Drupal\Console\Ut...
cburschka/drupal-console
src/Utils/Create/UserData.php
PHP
gpl-2.0
2,268
package com.code.taskmanager; import java.util.List; import com.code.taskmanager.bean.AppInfo; import com.code.taskmanager.db.dao.WhiteListDao; import com.code.taskmanager.utils.ApplicationUtils; import android.app.Activity; import android.app.ActivityManager; import android.content.SharedPreferences; import android...
silvernoo/KillTask
src/com/code/taskmanager/ClearActivity.java
Java
gpl-2.0
1,759
/* * 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 Foundati...
neelance/jre4ruby
jre4ruby/src/share/sun/nio/cs/ext/JIS_X_0208_Solaris_Decoder.java
Java
gpl-2.0
10,929
<?php declare(strict_types=1); namespace Netgen\Bundle\EzFormsBundle\Tests\Form\FieldTypeHandler; use eZ\Publish\Core\FieldType\Url\Value as UrlValue; use eZ\Publish\Core\Repository\Values\ContentType\FieldDefinition; use Netgen\Bundle\EzFormsBundle\Form\FieldTypeHandler; use Netgen\Bundle\EzFormsBundle\Form\FieldTy...
netgen/NetgenEzFormsBundle
tests/Form/FieldTypeHandler/UrlTest.php
PHP
gpl-2.0
2,421
<?php /* core/themes/classy/templates/navigation/links.html.twig */ class __TwigTemplate_ece02f0c3df7b0086cd0ca8465f38308d76b527e9ac8a6b1025d4d084d54ae92 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $thi...
sunlight25/d8
web/sites/default/files/php/twig/59f57a8199fdd_links.html.twig_KA9UNfGPPAAfgCg_weyFshk4D/eGH-5KeXbrawrU3zrI3hz1yHDaZZ4DUVkjEVaxxYPiQ.php
PHP
gpl-2.0
7,563
/* * This file is part of the TrinityCore 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 ...
AshamaneProject/AshamaneCore
src/server/scripts/Northrend/VioletHold/boss_cyanigosa.cpp
C++
gpl-2.0
5,736
<?php //root nicht verändern wenn von einer anderen seite aufgerufen! if (!isset ($fehler) || $fehler == true){ $root = ".."; } include_once($root."/conf/rdbmsConfig.inc.php"); include_once($root."/include/uebersetzer.inc.php"); include_once($root."/include/benutzerFunctions.inc.php"); ?> <!DOCTYPE HTML...
utilo-web-app-development/REZERVI
rezerviGeneric/webinterface/index.php
PHP
gpl-2.0
4,790
using Catel.Data; using System; using System.Diagnostics; namespace Wpf2048.Models { [DebuggerDisplay("({PosX},{PosY}) {Tile}")] public class CellModel : ModelBase { public CellModel(int x, int y) { PosX = x; PosY = y; } public int Po...
jdehaan/Arena2048
Models/CellModel.cs
C#
gpl-2.0
1,147
package data.logic; import java.util.ArrayList; import java.util.List; import data.DatenLogik; import data.Person; import database.DBPerson; import enums.DatabaseErrors; import enums.ErrorMessage; import enums.ErrorsPersonLogik; public class PersonLogik implements DatenLogik<Person> { private Person object = nul...
ColdanR/medienverwaltung
src/data/logic/PersonLogik.java
Java
gpl-2.0
3,180
<?php /** * Install theme administration panel. * * @package WordPress * @subpackage Administration */ /** WordPress Administration Bootstrap */ require_once( dirname( __FILE__ ) . '/admin.php' ); require( ABSPATH . 'wp-admin/includes/theme-install.php' ); wp_reset_vars( array( 'tab' ) ); if ( ! current_user_ca...
dwrensha/WordPress
wp-admin/theme-install.php
PHP
gpl-2.0
9,199
//============================================================================== // // Copyright (c) 2002- // Authors: // * Dave Parker <david.parker@comlab.ox.ac.uk> (University of Oxford) // //------------------------------------------------------------------------------ // // This file is part of PRISM. // // PR...
bharathk005/prism-4.2.1-src-teaser-patch
src/explicit/CTMDPModelChecker.java
Java
gpl-2.0
9,311
/* Project: WhileInterpreter Author: Gyorgy Rethy Date: 2017.08.17. -------------------------------------------------------------------------------- Descrpition: The object for lexical analysis. */ import java.io.*; import java.util.*; public class Lexer { private BufferedReader reader; priva...
GyorgyR/WhileInterpreter
src/Lexer.java
Java
gpl-2.0
7,740
/* * Copyright (C) 2008-2008 LeGACY <http://www.legacy-project.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 vers...
PyroSamurai/legacy-project
src/framework/Policies/ObjectLifeTime.cpp
C++
gpl-2.0
1,013
<?php /** * @package Joomla.Administrator * @subpackage com_supperadmin * * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * component model. * * @package...
cuongnd/test_pro
components/website/website_supper_admin/com_supperadmin/models/plugin.php
PHP
gpl-2.0
11,622
<?php if ($doc_per_canview == 0 || $doc_per_editcat == 0) { ?> <table cellspacing='0' class='c1'> <tr class='h'> <td class='b h' colspan=2><?php echo $loc_no_access; ?></td> <tr> <td class='b n2'><center><h1><?php echo $loc_no_access; ?>.</h1><?php echo $loc_sorry; ?><br ...
ArmyOfCoders/YamiBoard
docs/editanno.php
PHP
gpl-2.0
3,383
/*BEGIN_LEGAL Intel Open Source License Copyright (c) 2002-2013 Intel Corporation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright noti...
cyjseagull/SHMA
zsim-nvmain/pin_kit/source/tools/Probes/tpss_lin_libc.cpp
C++
gpl-2.0
102,427
<?php /** * Functions * * @since 1.0 */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; /** * Allowed post types * * @since 1.0.4 * @return array $post_types an array of post types allowed */ function edd_wl_allowed_post_types() { $post_types = apply_filters( 'edd_wl_allowed_post_types', ar...
SelaInc/eassignment
wp-content/plugins/edd-wish-lists/includes/functions.php
PHP
gpl-2.0
15,386
/* * Copyright 2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
cams7/gradle-samples
plugin/language-native/src/main/groovy/org/gradle/language/nativeplatform/internal/CompileTaskConfig.java
Java
gpl-2.0
6,675
<?php /** * The template for displaying Author Archive pages. * * @package bluewave * @since bluewave 1.0 */ get_header(); ?> <section id="primary"> <div id="content" role="main"> <?php if ( have_posts() ) : ?> <?php /* Queue the first post, that way we know * what autho...
jamesyjz/wordpress
wp-content/themes/blue/author.php
PHP
gpl-2.0
2,290
<?php session_start(); if (!(isset($_SESSION['login']) && $_SESSION['login'] != '')) {header ("Location: ../security/login_user.php");} switch($_SESSION['login']) { case "super": break; case "write":break; case "read":break; default: echo(" <script type='text/javascript'> alert('You are not logged in....
slavenas/propman
output_xls/output_report_period01.php
PHP
gpl-2.0
30,403
<?php /** * The base configurations of the WordPress. * * This file has the following configurations: MySQL settings, Table Prefix, * Secret Keys, and ABSPATH. You can find more information by visiting * {@link http://codex.wordpress.org/Editing_wp-config.php Editing wp-config.php} * Codex page. You can get the M...
Anthonvg/Site-Wp
wp-config.php
PHP
gpl-2.0
3,009