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 (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
<?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 // +--------------------------------------------------------------------------+ // | 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 $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
/* 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
<?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
<?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
/*********************************************************************** VruiCalibrator - Simple program to check the calibration of a VR environment. Copyright (c) 2005 Oliver Kreylos This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published...
VisualIdeation/Vrui-2.2-003
ExamplePrograms/VruiCalibrator.cpp
C++
gpl-2.0
6,656
let mix = require('laravel-mix'); /* |-------------------------------------------------------------------------- | Mix Asset Management |-------------------------------------------------------------------------- | | Mix provides a clean, fluent API for defining some Webpack build steps | for your Laravel applica...
eddcoons/portfolio
webpack.mix.js
JavaScript
gpl-2.0
787
package eu.ttbox.velib.ui.map.dialog; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import android.text.Editable; import android.widget.EditText; import eu.ttbox.velib.R; public class AliasInputDialog ex...
gabuzomeu/cityLibProject
cityLib/src/main/java/eu/ttbox/velib/ui/map/dialog/AliasInputDialog.java
Java
gpl-2.0
1,790
<?php /** * Grundeinstellungen für WordPress * * Zu diesen Einstellungen gehören: * * * MySQL-Zugangsdaten, * * Tabellenpräfix, * * Sicherheitsschlüssel * * und ABSPATH. * * Mehr Informationen zur wp-config.php gibt es auf der * {@link https://codex.wordpress.org/Editing_wp-config.php wp-config.php editieren...
chillinhen/sak-newsletter
wp-config.php
PHP
gpl-2.0
3,865
/** * Definition of SegmentTreeNode: * public class SegmentTreeNode { * public int start, end, count; * public SegmentTreeNode left, right; * public SegmentTreeNode(int start, int end, int count) { * this.start = start; * this.end = end; * this.count = count; * this....
tianlinliu/lintcode
SegmentTreeQueryII.java
Java
gpl-2.0
1,332
/* * 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...
amirlotfi/Nikagram
app/src/main/java/ir/nikagram/messenger/volley/toolbox/ByteArrayPool.java
Java
gpl-2.0
5,410
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; namespace Slot_Machine.Forms { public partial class HelpWindow : Form { public HelpWindow() { Init...
chrispdevelopment/Slot-Machine
Slot Machine/Forms/Help Window.cs
C#
gpl-2.0
470
using System; using Windows.UI; using Windows.UI.Xaml.Data; using Windows.UI.Xaml.Media; namespace Rester.Converter { internal class BooleanToGreenOrRedConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, string language) { ...
johanclasson/Rester
Rester/Converter/BooleanToGreenOrRedConverter.cs
C#
gpl-2.0
639
/** * Define the IS CurrentSearch Widget. */ (function ($, history) { AjaxSolr.asu_dirSortWidget = AjaxSolr.AbstractWidget.extend({ start: 0, active_sort: null, direction: 'asc', /** * @param {Object} [attributes] * @param {Number} [attributes.start] This widget...
jrounsav/webspark-drops-drupal7
profiles/openasu/modules/custom/asu_dirs/asu_dir/js/widgets/asu_dirSortWidget.js
JavaScript
gpl-2.0
6,259
/* Copyright (C) 2006 - 2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.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...
fanatix/fanatix-core
src/bindings/ScriptDev2/scripts/zone/stormwind/stormwind_city.cpp
C++
gpl-2.0
9,286
/* * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either ver...
GiR-Zippo/Strawberry335
src/server/game/Entities/Item/ItemEnchantmentMgr.cpp
C++
gpl-2.0
5,882
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ch...
ktjones/BVCS2012
_Source/Chapter14Code/Ch14Ex02/Properties/AssemblyInfo.cs
C#
gpl-2.0
1,392
package main import ( "flag" "log" "syscall" ) var maxConnections = flag.Int("max_connections", getRlimitMax(syscall.RLIMIT_NOFILE), "The maximum number of incoming connections allowed.") func getRlimitMax(resource int) int { var rlimit syscall.Rlimit if err := syscall.Getrlimit(resource, &rlimit); err != nil ...
die-net/http-tarpit
rlimit.go
GO
gpl-2.0
662
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.3-hudson-jaxb-ri-2.2.3-3- // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generat...
steffe/MT4J_KTSI
ktsi/ch/mitoco/store/generated/package-info.java
Java
gpl-2.0
556
/* This file is part of KOrganizer. Copyright (c) 1998 Preston Brown <pbrown@kde.org> Copyright (c) 2000,2001 Cornelius Schumacher <schumacher@kde.org> Copyright (C) 2003-2004 Reinhold Kainhofer <reinhold@kainhofer.com> This program is free software; you can redistribute it and/or modify it under the term...
kolab-groupware/kdepim
korganizer/searchdialog.cpp
C++
gpl-2.0
8,329
/* * PNEDSkyboxPanel.cpp * * Description : * PNEDSkyboxPanel definition * * Copyright (C) 2005 PAVILLON-NOIR TEAM, http://pavillon-noir.org * This software has been written in EPITECH <http://www.epitech.net> * EPITECH is computer science school in Paris - FRANCE - * under the direction of flav <http://www.ep...
pngames/pavillon-noir
pavillonnoir/__src/pneditor/PNEDSkyboxPanel.cpp
C++
gpl-2.0
3,760
<?php // namespace com\won\web; class com_won_weather_Yahoo { private $data; private $yweather = 'http://xml.weather.yahoo.com/ns/rss/1.0'; private $geo = 'http://www.w3.org/2003/01/geo/wgs84_pos#'; public function __construct($woeid){ $url = 'http://weather.yahooapis.com/forecastrss?w=' . $woeid; $rss =...
wonsong82/wonframework
system/com.won/weather/Yahoo.php
PHP
gpl-2.0
941
#include <iostream> using namespace std; int BinarySearch(int *a, int length, int key) { int left = 0, right = length - 1, mid = (right - left) / 2 + left; while (left <= right) { if (a[mid] < key) left = mid + 1; else if (a[mid] > key) right = mid - 1; else return mid; mid = (right - left) /...
thinkermao/Demo
ACM/CodeLibrary/BinarySearch.cpp
C++
gpl-2.0
515
namespace Server.Mobiles { [CorpseName( "a sewer rat corpse" )] public class Sewerrat : BaseCreature { [Constructable] public Sewerrat() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = "a sewer rat"; Body = 238; BaseSoundID = 0xCC; SetStr( 9 ); SetDex( 25 ...
felladrin/last-wish
Scripts/Mobiles/Animals/Rodents/SewerRat.cs
C#
gpl-2.0
1,457
<?php /** * @package hubzero-cms * @copyright Copyright (c) 2005-2020 The Regents of the University of California. * @license http://opensource.org/licenses/MIT MIT */ // No direct access defined('_HZEXEC_') or die(); /** * GeoIPs plugin for geocode * * The GeoIPsProvider named geo_ips is able to geocod...
hubzero/hubzero-cms
core/plugins/geocode/geoips/geoips.php
PHP
gpl-2.0
873
package evochecker.genetic.jmetal.metaheuristics.single; import java.util.HashMap; import evochecker.auxiliary.Utility; import evochecker.evaluator.MultiProcessModelEvaluator; import evochecker.genetic.jmetal.operators.CrossoverFactory; import evochecker.genetic.jmetal.operators.MutationFactory; import evochecker.gen...
gerasimou/EvoChecker
src/main/java/evochecker/genetic/jmetal/metaheuristics/single/SingleGA_Settings.java
Java
gpl-2.0
3,573