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
package models; public class Disparo { public int partida; public int jugador; public int x; public int y; }
iturrioz/izan-pirata
app/models/Disparo.java
Java
gpl-2.0
126
// @(#)$Id: JMLMap.java-generic,v 1.34 2005/12/24 21:20:31 chalin Exp $ // Copyright (C) 2005 Iowa State University // // This file is part of the runtime library of the Java Modeling Language. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser Gen...
shunghsiyu/OpenJML_XOR
OpenJML/runtime/org/jmlspecs/models/JMLObjectToValueMap.java
Java
gpl-2.0
20,391
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" /> <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script> <script src="<?php echo base_url();?>themes/poverty/js/html5placeholder.jquery.js"></script> <script language="javascript"> jQuery(function(){ jQuery...
bhupindersingh/lloh.co.uk
application/frontend/views/poverty/post_a_request.php
PHP
gpl-2.0
4,868
////////////////////////////////////////////////////////////////////////////// // Copyright 2004-2014, SenseGraphics AB // // This file is part of H3D API. // // H3D API is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the ...
JakeFountain/H3DAPIwithOculusSupport
src/FreeImageLoader.cpp
C++
gpl-2.0
2,411
<?php /* Copyright 2005 Flávio Ribeiro This file is part of OCOMON. OCOMON 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 Li...
danfmsouza/yipservicedesk
invmon/geral/estat_vencimentos_full.php
PHP
gpl-2.0
3,077
<? $sub_menu = "300100"; include_once('./_common.php'); if ($w == 'u') check_demo(); auth_check($auth[$sub_menu], 'w'); if ($_POST['admin_password']) { if ($member['mb_password'] != sql_password($_POST['admin_password'])) { alert('관리자 패스워드가 틀립니다.'); } } else { alert('관리자 패스워드를 입력하세요.'); } i...
gnuboard/sanso
adm/board_form_update.php
PHP
gpl-2.0
15,251
package com.wernicke.utils; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.util.List; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache....
3ch01c/heracles
android/src/com/wernicke/utils/JSONParser.java
Java
gpl-2.0
2,870
/* //@HEADER // ************************************************************************ // // Kokkos v. 3.0 // Copyright (2020) National Technology & Engineering // Solutions of Sandia, LLC (NTESS). // // Under the terms of Contract DE-NA0003525 with NTESS, // the U.S. Govern...
pastewka/lammps
lib/kokkos/core/unit_test/threads/TestThreads_ViewMapping_a.cpp
C++
gpl-2.0
2,057
using System.Reflection; 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("Integration.Tests")] [assembly: AssemblyD...
12-South-Studios/realmmud
Source/Database/Integration.Tests/Properties/AssemblyInfo.cs
C#
gpl-2.0
1,417
package com.example.gramos.raportiti; import android.annotation.SuppressLint; import android.app.AlertDialog; import android.app.Service; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.location.Location; import android.location.LocationListener; im...
opendatakosovo/android-dev
RaportiTi/app/src/main/java/com/example/gramos/raportiti/GPSTracker.java
Java
gpl-2.0
6,019
if(typeof(simileTimeplot)=="undefined") { window.simileTimeplot = { records : [], js : {} }; // jQuery("head").append('<script src="http://api.simile-widgets.org/timeplot/1.1/timeplot-api.js"></script>'); } (function($) { var red = new Timeplot.Color('#B9121B'); var lightRed = new Timeplot.Color('#cc8080'); var bl...
ontoprise/HaloSMWExtension
extensions/SRFPlus/Simile/scripts/Simile_TimeplotWiki.js
JavaScript
gpl-2.0
3,263
<?php /* core/themes/stable/templates/block/block--system-messages-block.html.twig */ class __TwigTemplate_886740968f827ac8f8ad8553cb8fe62217c4c4c2ec3a7a043b3d35b9acb03e84 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = fa...
nhinq/drupal8
sites/default/files/php/twig/f4bf8926_block--system-messages-block.html.twig_7a0dc1dc8ea56b701f7e4dd579608cdd9d8ad000d4a12d7ea6ca73e50dbb13dd/82014522767b3de45407812e92ff9e01963812469ce6e716fdb44803f716dc8f.php
PHP
gpl-2.0
2,313
package com.fantasia.core; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public class MD5 { // 全局数组 private final static String[] strDigits = { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f" }; public MD5() { } // 返回形式为数字跟字符...
jiangrenwen/KPI
kpi/src/main/java/com/fantasia/core/MD5.java
Java
gpl-2.0
1,314
<?php $thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'feature-image' ); $url = $thumb['0']; ?> <div class="feature-image overlay-black" style="background-image: url(<?=$url?>);"> <div class="page-banner"> <div class="container"> <div class="row"> <div class="col-sm-12"> ...
Socratacom/marketing-site
wp-content/themes/sage/templates/content-single.php
PHP
gpl-2.0
9,873
<?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @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; // Include the component HTML helpers....
subtext/joomla-cms
administrator/templates/hathor/html/com_messages/messages/default.php
PHP
gpl-2.0
4,185
<?php $this->placeholder('secBar')->captureStart(); ?> <section id="portal" class="navbar-wrapper<?php echo ($this->usuarioLogado ? ' fixed':'');?>"> <div class="container"> <a class="btn pull-left" target="_top" rel="acceso portal da educação" href="http://educadores.educacao.ba.gov.br"> ...
redeanisioteixeira/aew_github
aew_sec/application/layouts/scripts/geral/_sec-bar.php
PHP
gpl-2.0
3,050
from rest_framework import permissions class IsOwner(permissions.BasePermission): def has_object_permission(self, request, view, obj): # Only allow owners of an object to view or edit it return obj.owner == request.user
lesavoie/nagiosservice
controlserver/servicelevelinterface/permissions.py
Python
gpl-2.0
238
<?php return array( 'extends' => 'root', 'css' => array( //'vendor/bootstrap.min.css', //'vendor/bootstrap-accessibility.css', //'bootstrap-custom.css', 'compiled.css', 'vendor/font-awesome.min.css', 'vendor/bootstrap-slider.css', 'print.css:print', ...
paulusova/VuFind-2.x
themes/bootstrap3/theme.config.php
PHP
gpl-2.0
1,306
/* * Copyright (C) 2005 - 2011 MaNGOS <http://www.getmangos.org/> * * Copyright (C) 2008 - 2011 TrinityCore <http://www.trinitycore.org/> * * Copyright (C) 2011 TrilliumEMU <http://www.trilliumemu.org/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Gene...
AwkwardDev/TrilliumEMU
src/server/scripts/World/achievement_scripts.cpp
C++
gpl-2.0
9,912
<?php include_once(INCLUDE_DIR.'staff/login.header.php'); defined('OSTSCPINC') or die('Invalid path'); $info = ($_POST)?Format::htmlchars($_POST):array(); ?> <div id="loginBox"> <div class="tape"></div> <div id="blur"> <div id="background"></div> </div> <h1 id="logo"><a href="index.php"> ...
garyns/osTicket-lyn
include/staff/pwreset.login.php
PHP
gpl-2.0
1,896
/* * $Id$ * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels * * SQUID Web Proxy Cache http://www.squid-cache.org/ * ---------------------------------------------------------- * * Squid is the result of efforts by numerous individuals from * the Internet community; see the CONTRIBUTORS...
schmurfy/squid
src/acl/CertificateData.cc
C++
gpl-2.0
3,610
<?php /*-----------------------------------------------------------------------------------*/ /* This theme supports WooCommerce, woo! */ /*-----------------------------------------------------------------------------------*/ add_action( 'after_setup_theme', 'woocommerce_support' ); function woocommerce_support() { a...
jarqo/wootique
wp-content/themes/wootique/includes/theme-woocommerce.php
PHP
gpl-2.0
7,820
using System; using System.Text; using System.Collections; using Server; using Server.Prompts; using Server.Gumps; using Server.Network; using Server.Items; using Server.Misc; namespace Server.Mobiles { public interface ITownCrierEntryList { ArrayList Entries{ get; } TownCrierEntry GetRandomEntry(); TownCrierE...
brodock/sunuo
scripts/legacy/Mobiles/Townfolk/TownCrier.cs
C#
gpl-2.0
13,658
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\GroupedProduct\Model\Product\Link\CollectionProvider; class Grouped implements \Magento\Catalog\Model\ProductLink\CollectionProviderInterface { /** * {@inheritdoc} */ public func...
kunj1988/Magento2
app/code/Magento/GroupedProduct/Model/Product/Link/CollectionProvider/Grouped.php
PHP
gpl-2.0
476
/* * Copyright (C) 2004 * Swiss Federal Institute of Technology, Lausanne. All rights reserved. * * Author: Roland Philippsen <roland dot philippsen at gmx dot net> * Autonomous Systems Lab <http://asl.epfl.ch/> * * This program is free software; you can redistribute it and/or modify * it under the t...
poftwaresatent/sfl2
npm/ext/expo02/OCamera.hpp
C++
gpl-2.0
1,314
#!/usr/bin/env python # coding: utf-8 # Copyright (c) 2014 # Gmail:liuzheng712 # __author__ = 'liuzheng' from django.conf.urls import patterns, include, url from django.contrib import admin import os urlpatterns = patterns('', # Examples: # url(r'^$', 'pyHBase.views.home', name='home'), # url(r'^blog/', in...
liuzheng712/pyHBaseadmin
pyHBase/pyHBase/urls.py
Python
gpl-2.0
1,013
package com.opentravelsoft.entity.product; import com.opentravelsoft.util.MD5; /** * * @author <a herf="mailto:zhangsitao@gmail.com">Steven Zhang</a> * @version $Revision: 1.1 $ $Date: 2009/03/01 16:23:32 $ */ public class NetPayEntity { /** * 商户号,这里为测试商户号1001,替换为自己的商户号(老版商户号为4位或5位,新版为8位)即可 */ ...
stevenzh/tourismwork
src/modules/model/src/main/java/com/opentravelsoft/entity/product/NetPayEntity.java
Java
gpl-2.0
5,861
<?php /** * All the functions releated to databases is here. * * This file will include stuff like, connect, write, read, remove etc. * * @category Database * @package ControlPanel * @author Dennis &lt;dennistryy3@gmail.com> * @copyright 2014 Dennis Planting */ class Commands { ...
ExpandH/EMCP
Core/Function/Plugins/Commands.php
PHP
gpl-2.0
817
package CtrLayer; import ModelLayer.*; /** * Controller for anythign related to Person management. * * @author Jacob Pedersen * @version (11-12-2014) dd-mm-yyyy */ public class PersonController { private PersonContainer personContainer; /** * Constructor for objects of class PersonController */...
dmab0914-Gruppe-2/Vestbjerg-Byggecenter
src/CtrLayer/PersonController.java
Java
gpl-2.0
4,942
package containernode import ( "math/rand" "sort" "github.com/obieq/goar/db/couchbase/Godeps/_workspace/src/github.com/onsi/ginkgo/internal/leafnodes" "github.com/obieq/goar/db/couchbase/Godeps/_workspace/src/github.com/onsi/ginkgo/types" ) type subjectOrContainerNode struct { containerNode *ContainerNode subj...
obieq/goar
db/couchbase/Godeps/_workspace/src/github.com/onsi/ginkgo/internal/containernode/container_node.go
GO
gpl-2.0
4,264
<?php /** * The template for displaying archive pages * * @link https://codex.wordpress.org/Template_Hierarchy * * @package whank */ get_header(); ?> <?php do_action( 'whank_before_body_content' ); ?> <div id="primary" class="content-area col-md-8"> <main id="main" class="site-main"> <div class="contain...
saazaan7/whank
archive.php
PHP
gpl-2.0
1,581
# # upgrade_bootloader_gui.py: gui bootloader dialog for upgrades # # Copyright (C) 2002, 2007 Red Hat, 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 versi...
icomfort/anaconda
iw/upgrade_bootloader_gui.py
Python
gpl-2.0
7,815
/* * 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...
LordPsyan/WoWSource434_V10
src/server/scripts/Spells/spell_item.cpp
C++
gpl-2.0
102,670
( function( $ ) { $( 'time.entry-published' ).on( "click", function() { var old_date = $(this).html().trim(); $(this).html( $(this).attr( 'data-display-toggle' ) ); $(this).attr( 'data-display-toggle', old_date ); } ); } )( jQuery );
aprea/adoration
js/adoration.js
JavaScript
gpl-2.0
244
<?php /* * gwolle_gb_get_entry_count * Get the number of entries. * * Parameter $args is an Array: * - checked string: 'checked' or 'unchecked', List the entries that are checked or not checked * - trash string: 'trash' or 'notrash', List the entries that are deleted or not deleted * - spam string: 'spam...
TheNexusMan/Rest-a-Dom
wp-content/plugins/gwolle-gb/functions/function.get_entry_count.php
PHP
gpl-2.0
2,010
/** * @file * @brief Miscellaneous debugging functions. **/ #include "AppHdr.h" #include "dbg-util.h" #include "artefact.h" #include "cio.h" #include "coord.h" #include "dungeon.h" #include "env.h" #include "libutil.h" #include "message.h" #include "mon-stuff.h" #include "mon-util.h" #include "religion.h" #include...
dtsund/dtsund-crawl-mod
source/dbg-util.cc
C++
gpl-2.0
10,334
"use strict"; function Bola(context) { this.context = context; this.x = 0; this.y = 0; this.velocidadeX = 0; this.velocidadeY = 0; this.cor = 'black'; this.raio = 10; } Bola.prototype = { // - Interface utilizada em animacao.js atualizar : function() { var ctx = this.context; if (this...
edgarberlinck/edgarberlinck.github.io
canvas/10-colisoes/bola.js
JavaScript
gpl-2.0
1,324
<?php /* Remove Unwanted Header Links */ remove_action('wp_head', 'rsd_link'); remove_action('wp_head', 'wp_generator'); remove_action('wp_head', 'feed_links', 2); remove_action('wp_head', 'index_rel_link'); remove_action('wp_head', 'wlwmanifest_link'); remove_action('wp_head', 'feed_links_extra', 3); remove_action('wp...
matt-tyas/matthewtyas.com
lab/gmfootballcentre/wp-content/themes/tisa-wp/inc/remove.php
PHP
gpl-2.0
1,004
#include "Input.hpp" Input::Input(){ _keybinds.insert({ { "up", SDL_SCANCODE_UP }, { "down", SDL_SCANCODE_DOWN }, { "left", SDL_SCANCODE_LEFT }, { "right", SDL_SCANCODE_RIGHT }, { "w", SDL_SCANCODE_W }, { "s", SDL_SCANCODE_S }, { "a", SDL_SCANCODE_A }, { "d", SDL_SCANCODE_D }, { "z", SDL_SCANCODE_Z ...
Stormatree/Component-Engine
engine/Component/Input.cpp
C++
gpl-2.0
1,058
<?php /** * Template Name: Posty użytkownika * */ get_header(); ?> <div class="row"> <div class="col-md-9 col-sm-6 col-xs-12"> <?php $query = new WP_Query(array( 'author' => $_GET['id'] )); ?> <?php if ($query->have_posts()): ?> <div class="contain...
damian-kociuba/wordpressSimplePage
wp-content/themes/testtheme/page_posts.php
PHP
gpl-2.0
1,535
package net.demilich.metastone.game.spells.custom; import java.util.Map; import net.demilich.metastone.game.GameContext; import net.demilich.metastone.game.Player; import net.demilich.metastone.game.entities.Actor; import net.demilich.metastone.game.entities.Entity; import net.demilich.metastone.game.spells.Spell; im...
rafaelkalan/metastone
src/main/java/net/demilich/metastone/game/spells/custom/BetrayalSpell.java
Java
gpl-2.0
967
<?php /** * The template for displaying the footer. * * Contains the closing of the #content div and all content after * * @package storefront */ ?> </div><!-- .col-full --> </div><!-- #content --> <?php do_action( 'storefront_before_footer' ); ?> <footer id="colophon" class="site-footer" role="contentinf...
DogburnDesign/groworganiclocal
wp-content/themes/groworganiclocal/footer.php
PHP
gpl-2.0
793
#!/usr/bin/env php <?php /** * File containing the ezexec.php script. * * @copyright Copyright (C) 1999-2011 eZ Systems AS. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2 * @version 2011.12 * @package kernel */ require 'autoload.php'; $cli = eZCLI::instan...
ETSGlobal/ezpublish_built
bin/php/ezexec.php
PHP
gpl-2.0
1,568
/** * Title: StanfordMaxEnt<p> * Description: A Maximum Entropy Toolkit<p> * Copyright: Copyright (c) Kristina Toutanova<p> * Company: Stanford University<p> * @author Kristina Toutanova * @version 1.0 */ package com.infoecos.util.io; import java.io.*; //: com:bruceeckel:tools:OutFile.java // ...
javajoker/infoecos
src/com/infoecos/util/io/OutDataStreamFile.java
Java
gpl-2.0
680
#!/usr/bin/env python3 """ # TOP2049 Open Source programming suite # # Commandline utility # # Copyright (c) 2014 Pavel Stemberk <stemberk@gmail.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the F...
mbuesch/toprammer
libtoprammer/chips/microchip16/makeSip6.py
Python
gpl-2.0
2,873
#include "Transform2D.h" Transform2D::Transform2D(glm::vec2 p_pos, float p_rot, glm::vec2 p_scale) { m_pos = p_pos; m_rot = p_rot; m_scale = p_scale; m_z = 0; } Transform2D::~Transform2D() { } glm::mat4 const & Transform2D::getModel() { glm::mat4 posMatrix = glm::translate(glm::vec3(m_pos, m_z)); glm::m...
baadfood/myCode
Project3/Transform2D.cpp
C++
gpl-2.0
883
/** * Created with JetBrains WebStorm. * User: eder * Date: 14-7-14 * Time: 上午11:36 * To change this template use File | Settings | File Templates. */ var gameConst = require('../../tools/constValue'); var pomelo = require('pomelo'); var logger = require('pomelo/node_modules/pomelo-logger').getLogger(pomelo.app.g...
huojiecs/game1
game-server/app/cs/vipInfo/vipInfoManager.js
JavaScript
gpl-2.0
6,562
package tv.emby.embyatv.ui; import android.content.Context; import android.util.AttributeSet; import android.view.LayoutInflater; import android.widget.FrameLayout; import tv.emby.embyatv.R; /** * Created by Eric on 11/22/2015. */ public class DetailRowView extends FrameLayout { public DetailRowView(Context co...
letroll/Emby.AndroidTv
EmbyAndroidTv/app/src/main/java/tv/emby/embyatv/ui/DetailRowView.java
Java
gpl-2.0
708
<?php /*------------------------------------------------------------------------ # com_xcideveloper - Seamless merging of CI Development Style with Joomla CMS # ------------------------------------------------------------------------ # author Xavoc International / Gowrav Vishwakarma # copyright Copyright (C) 2011 xa...
gowrav-vishwakarma/ffm
administrator/components/com_mlm/system/helpers/security_helper.php
PHP
gpl-2.0
3,951
<?php /** * Element: Header * Displays a title with a bunch of extras, like: description, image, versioncheck * * @package NoNumber Framework * @version 12.4.4 * * @author Peter van Westen <peter@nonumber.nl> * @link http://www.nonumber.nl * @copyright Copyright © 2012 NoNumber All Rights Reserved * ...
MA-Ponyvriedjes/ponyvriendjes
plugins/system/nnframework/fields/header.php
PHP
gpl-2.0
6,158
<?php /** * @Project NUKEVIET 3.x * @Author VINADES.,JSC (contact@vinades.vn) * @Copyright (C) 2012 VINADES.,JSC. All rights reserved * @Createdate 28/10/2012, 14:51 */ // Xác định root site define( 'NV_ROOTDIR', pathinfo( str_replace( DIRECTORY_SEPARATOR, '/', __file__ ), PATHINFO_DIRNAME ) ); class Token { p...
teammhst13-27/mhst13-27
fa.php
PHP
gpl-2.0
12,410
<?php require_once(drupal_get_path('theme','heshel').'/tpl/header.tpl.php'); global $base_url; drupal_set_title(''); ?> <?php if (!empty($tabs['#primary']) || !empty($tabs['#secondary'])): print render($tabs); endif; print $messages; unset($page['content']['system_main'][...
agroknow/agreri
sites/all/themes/heshel/tpl/page--project.tpl.php
PHP
gpl-2.0
1,723
/* * Copyright (C) 2015 TinyCore <http://www.tinycore.net/> * 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;...
AwkwardDev/TinyCore
src/server/scripts/Outland/TempestKeep/Eye/the_eye.cpp
C++
gpl-2.0
3,339
<?php /** * The themes Header file. * * Displays all of the <head> section and everything up till <div id="main-wrap"> * * @package Moka * @since Moka 1.0 */ ?><!DOCTYPE html> <html id="doc" <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <meta name="vie...
Designer023/wp-at-blog
wp-content/themes/moka/header.php
PHP
gpl-2.0
6,225
angular.module('starter.controllers') .controller('ChartsCtrl', function($scope,ChartData, $ionicLoading){ $scope.labels = []; $scope.series = ['']; $scope.chartOptions = { datasetFill:false, animation:false, showScale:true, scaleShowGridLines: true, pointDot:false, bezierCurve:false ...
tbohnen/EquityTrader
StockRetriever.Ui.Mobile/www/js/chartsController.js
JavaScript
gpl-2.0
3,667
/* FatRat download manager http://fatrat.dolezel.info Copyright (C) 2006-2011 Lubos Dolezel <lubos a dolezel.info> 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. This program is distribu...
LubosD/fatrat-jplugins
core/src/main/java/info/dolezel/fatrat/plugins/util/XmlUtils.java
Java
gpl-2.0
2,849
<?php /** * @file * Contains the SearchApiAutocompleteSearch class. */ /** * Class describing the settings for a certain search for which autocompletion * is available. */ class SearchApiAutocompleteSearch extends Entity { // Entity properties, loaded from the database: /** * @var integer */ publ...
switch13/tonys-rest
sites/all/modules/search_api_autocomplete/search_api_autocomplete.entity.php
PHP
gpl-2.0
4,284
# -*- coding: utf-8 -*- __author__ = 'shreejoy' import unittest from article_text_mining.rep_html_table_struct import rep_html_table_struct class RepTableStructureTest(unittest.TestCase): @property def load_html_table_simple(self): # creates data table object 16055 with some dummy data with...
neuroelectro/neuroelectro_org
tests/test_rep_html_table_struct.py
Python
gpl-2.0
4,596
/**************************************************************************** * MeshLab o o * * An extendible mesh processor o o * * _ O _ * * Co...
guerrerocarlos/meshlab
src/plugins/edit_pickpoints/editpickpoints.cpp
C++
gpl-2.0
12,813
""" AUTHOR: Dr. Andrew David Burbanks, 2005. This software is Copyright (C) 2004-2008 Bristol University and is released under the GNU General Public License version 2. MODULE: SystemBath PURPOSE: Used to generate System Bath Hamiltonian, given number of bath modes. NOTES: The system defined by the Hamiltonian i...
Peter-Collins/NormalForm
src/py/SystemBath.py
Python
gpl-2.0
12,748
package by.falc0n.util; /** * Contains a set of extension methods and constants to operate with arrays * (primitive and object). * * @author falc0n * @version 1.0 * */ public final class ArrayExt { /** * An empty {@code byte} array. * * @since 1.0 */ public static final byte[] EMPTY_BYTE_ARRAY = n...
fa1con/falc0n-utils
src/main/java/by/falc0n/util/ArrayExt.java
Java
gpl-2.0
13,659
<?php /** * @package CrowdfundingPartners * @subpackage Files * @author Todor Iliev * @copyright Copyright (C) 2015 Todor Iliev <todor@itprism.com>. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL */ namespace CrowdfundingPartners; use Prism\Database\ArrayObject...
Creativetech-Solutions/joomla-easysocial-network
libraries/CrowdfundingPartners/Partners.php
PHP
gpl-2.0
2,368
<?php get_header(); ?> <div id="content" class="clearfix row"> <div class="row centered"> <div class="brandhead"> <h1 class="">News and Articles</h1> <p class="lead">A partnership to deliver high quality, efficient patient care for South Yorkshire, Mid Yorkshir...
gitpress/together
wp-content/themes/wordpress-bootstrap-master/index.php
PHP
gpl-2.0
2,891
<?php /* * This file is part of PHPExifTool. * * (c) 2012 Romain Neutron <imprec@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\IFD0; use PHPExiftool\Driver\AbstractTag; class Copyri...
Droces/casabio
vendor/phpexiftool/phpexiftool/lib/PHPExiftool/Driver/Tag/IFD0/Copyright.php
PHP
gpl-2.0
724
<?php /** * The template for displaying search results pages. * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#search-result * * @package Brushy Hill Cottage */ get_header(); ?> <section id="primary" class="content-area"> <main id="main" class="site-main" role="main"> <?php if (...
bpriddy/brushyhillcottage
wp-content/themes/brushy-hill-cottage/search.php
PHP
gpl-2.0
1,206
package com.badday.ss.blocks; import java.util.Random; import net.minecraft.block.Block; import net.minecraft.block.BlockContainer; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.tileentity...
Tankistodor/SSAraminta
src/main/java/com/badday/ss/blocks/SSBlockAirVent.java
Java
gpl-2.0
6,252
Almadeladanza::Application.routes.draw do devise_for :users, ActiveAdmin::Devise.config ActiveAdmin.routes(self) mount ActiveAdmin::Tinymce::Engine => '/', as: 'admin_editor' root to: "news#index" resources :dance_styles, only: [:index, :show] resources :lessons, only: [:index, :show] resources :int...
KernelCorp/almadeladanza
config/routes.rb
Ruby
gpl-2.0
2,432
using System; using System.Collections.Generic; using System.Linq; using Server.Engines.PartySystem; using Server.Items; using Server.Spells.Fourth; using Server.Spells.Necromancy; using Server.Targeting; namespace Server.Spells.Mysticism { public class CleansingWindsSpell : MysticSpell { public overr...
SirGrizzlyBear/ServUOGrizzly
Scripts/Spells/Mysticism/SpellDefinitions/CleansingWindsSpell.cs
C#
gpl-2.0
7,614
/* * Copyright (c) 2011, Intel Corporation. * * 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 applicable ...
junqiang521/Test
dnvme/tnvme-master/Utils/kernelAPI.cpp
C++
gpl-2.0
8,831
import csv import logging from fa.miner import yahoo from fa.piping import csv_string_to_records from fa.util import partition from fa.database.query import get_outdated_symbols, update_fundamentals import initialize from settings import * """ Download data from internet to database """ initialize.init() logger = ...
kakarukeys/algo-fa
examples/update_price_data.py
Python
gpl-2.0
1,268
<?php /** * @version $Id: frontpage.class.php,v 1.1 2005/07/22 01:54:45 eddieajau Exp $ * @package Mambo * @subpackage Content * @copyright (C) 2000 - 2005 Miro International Pty Ltd * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * Mambo is Free Software */ /** ensure this file is being included by a parent f...
wuts/earthquake
components/com_frontpage/frontpage.class.php
PHP
gpl-2.0
752
/* * Copyright (c) 2014, 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 Softwa...
koutheir/incinerator-hotspot
nashorn/test/script/nosecurity/JDK-8050964.js
JavaScript
gpl-2.0
2,050
from infoshopkeeper_config import configuration cfg = configuration() dbtype = cfg.get("dbtype") dbname = cfg.get("dbname") dbhost = cfg.get("dbhost") dbuser = cfg.get("dbuser") dbpass = cfg.get("dbpass") from sqlobject import * if dbtype in ('mysql', 'postgres'): if dbtype is 'mysql': import MySQLdb as d...
johm/infoshopkeeper
components/db.py
Python
gpl-2.0
2,693
package co.deepthought; import co.deepthought.imagine.image.Fingerprinter; import co.deepthought.imagine.store.Size; import javax.imageio.ImageIO; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.util.HashSet; public class Tester { public static void main(String[...
metric-collective/imagine
src/main/java/co/deepthought/Tester.java
Java
gpl-2.0
2,065
package net.demilich.metastone.game.spells; import net.demilich.metastone.game.Attribute; import net.demilich.metastone.game.GameContext; import net.demilich.metastone.game.Player; import net.demilich.metastone.game.cards.Card; import net.demilich.metastone.game.cards.CardCatalogue; import net.demilich.metastone.game....
doombubbles/metastonething
game/src/main/java/net/demilich/metastone/game/spells/ReceiveCardAndDoSomethingSpell.java
Java
gpl-2.0
2,386
<?php /** * --------------------------------------------------------------------- * GLPI - Gestionnaire Libre de Parc Informatique * Copyright (C) 2015-2017 Teclib' and contributors. * * http://glpi-project.org * * based on GLPI - Gestionnaire Libre de Parc Informatique * Copyright (C) 2003-2014 by the INDEPNET...
eltharin/glpi
inc/item_devicepowersupply.class.php
PHP
gpl-2.0
1,935
/* * Copyright (c) 1998-2010 Caucho Technology -- all rights reserved * * This file is part of Resin(R) Open Source * * Each copy or derived work must preserve the copyright notice and this * notice unmodified. * * Resin Open Source is free software; you can redistribute it and/or modify * it under the terms o...
christianchristensen/resin
modules/ecmascript/src/com/caucho/eswrap/org/w3c/dom/DocumentEcmaWrap.java
Java
gpl-2.0
1,457
#include <QImage> #include <QFile> #include "SpriteBundle.h" SpriteBundle::SpriteBundle() { m_index = 0; } void SpriteBundle::update(const int delta) { Sprite &image = m_sprites[m_index]; image.update(delta); } void SpriteBundle::setImageIndex(const int index) { m_index = index; } QSGTexture *SpriteBundle::cur...
MemoryLeek/ld27
SpriteBundle.cpp
C++
gpl-2.0
720
/************************************************************************* * Clus - Software for Predictive Clustering * * Copyright (C) 2007 * * Katholieke Universiteit Leuven, Leuven, Belgium * * Jozef Stefan I...
active-learning/active-learning-scala
src/main/java/clus/ext/beamsearch/ClusBeamHeuristicMorishita.java
Java
gpl-2.0
3,865
// Implementing the functionality for system calls (keystrokes etc.) and // exercising different functions available from other classes/files // // Author: Archit Gupta, Nehal Bhandari // Date: December 24, 2015 #include "process.h" char valid_keystroke(DisplayHandler* display, char input) { if ((input <= 'z' && ...
architgupta93/todo-app
2_Code/process.cpp
C++
gpl-2.0
8,567
function Drag(id,init) { var _this=this; this.disX=0; this.disY=0; this.oDiv=document.getElementById(id); if(init) { _this.fnDown(); } this.oDiv.onmousedown=function (ev) { _this.fnDown(ev); return false; }; } Drag.prototype.fnDown=function (ev) { var _this=this; var oEvent=ev||event; this.d...
Jackmeng1985/drupal7
sites/all/modules/beauty_crm/js/drag.js
JavaScript
gpl-2.0
1,492
#!/usr/bin/env python background_image_filename = 'sushiplate.jpg' import pygame from pygame.locals import * from sys import exit SCREEN_SIZE = (640, 480) pygame.init() screen = pygame.display.set_mode(SCREEN_SIZE, NOFRAME, 32) background = pygame.image.load(background_image_filename).convert() while True: ev...
opensvn/python
pygame/resize.py
Python
gpl-2.0
919
/* * _ __ _ * | |/ /__ __ __ _ _ __ | |_ _ _ _ __ ___ * | ' / \ \ / // _` || '_ \ | __|| | | || '_ ` _ \ * | . \ \ V /| (_| || | | || |_ | |_| || | | | | | * |_|\_\ \_/ \__,_||_| |_| \__| \__,_||_| |_| |_| * * Copyright (C) 2019 Alexander Söderberg * * Licensed...
IntellectualSites/IntellectualServer
ServerAPI/src/main/java/xyz/kvantum/server/api/util/ApplicationStructureFactory.java
Java
gpl-2.0
1,042
<? echo "<div class='information'>\n"; require("../updatePubliDocs.php"); $chemin="$_SERVER[DOCUMENT_ROOT]$public_path/$publi[year]/$publi[bibTex]/" ; intranetSqlConnect(); if (!empty($_POST["group"])) $group=$_POST["group"]; $res_upd = sqlQuery("SELECT * from docs WHERE id=$id_doc"); $docs = mysql_fetch...
truijllo/basilic
Sources/Intranet/Publications/mod_upd.php
PHP
gpl-2.0
1,036
<?php /** *------------------------------------------------------------------------------ * iCagenda v3 by Jooml!C - Events Management Extension for Joomla! 2.5 / 3.x *------------------------------------------------------------------------------ * @package com_icagenda * @copyright Copyright (c)2012-2014 C...
C3Style/appuihec
administrator/components/com_icagenda/tables/registration.php
PHP
gpl-2.0
4,975
/** * stencil_maskType.java * * This file was generated by XMLSpy 2007sp2 Enterprise Edition. * * YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE * OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION. * * Refer to the XMLSpy Documentation for further details. * http://www.altova.com/xmlspy */ packa...
tectronics/xenogeddon
src/com/jmex/model/collada/schema/stencil_maskType.java
Java
gpl-2.0
5,745
#include "document.h" #include "effect.h" #include "newdialog.h" #include <QtCore/QFile> #include <QtCore/QTimer> #include <QtCore/QUrl> #include <QtGui/QMessageBox> #include <QtGui/QFileDialog> namespace { static QString strippedName(const QString & fileName) { return QFileInfo(fileName).fileName(); ...
peterkomar/qshaderedit
src/document.cpp
C++
gpl-2.0
10,048
<?php /* Plugin Name: Email Subscribers Plugin URI: http://www.gopiplus.com/work/2014/05/02/email-subscribers-wordpress-plugin/ Description: Email subscribers plugin has options to send newsletters to subscribers. It has a separate page with HTML editor to create a HTML newsletter. Also have options to send notificatio...
CosmicPi/cosmicpi.org
wp-content/plugins/email-subscribers/email-subscribers.php
PHP
gpl-2.0
2,553
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateProjectPackageTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('project_package', function (Blueprint $table) {...
ImbalanceGaming/imbalance-gaming-laravel
database/migrations/2016_04_14_100207_create_project_package_table.php
PHP
gpl-2.0
1,001
package com.example.seventeen.blissappid; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.os.CountDownTimer; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.ImageButton; /** * Hofundur...
sbleika/Blissid
BlissAppid_git/BlissAppid/app/src/main/java/com/example/seventeen/blissappid/nothafi1.java
Java
gpl-2.0
5,549
/** * */ package com.ankamagames.dofus.harvey.engine.numeric.bytes.sets.classes; import java.util.List; import com.ankamagames.dofus.harvey.engine.common.sets.classes.AbstractIntervalBridge; import com.ankamagames.dofus.harvey.engine.common.sets.classes.SplitOnRangeBridge; import com.ankamagames.dofus.harvey.engine...
Ankama/harvey
src/com/ankamagames/dofus/harvey/engine/numeric/bytes/sets/classes/ByteIntervalBridge.java
Java
gpl-2.0
3,714
package com.frm.bdTask.controls; /** * @author: Larry Pham. * @since: 3/24/2014. * @version: 2014.03.24. */ public class ListTodosActivityControl { }
PhamPhi/birdy_task
src/com/frm/bdTask/controls/ListTodosActivityControl.java
Java
gpl-2.0
155
<?php prado::using ('Application.pages.s.report.MainPageReports'); class ReportDT1 extends MainPageReports { public function onLoad ($param) { parent::onLoad ($param); $this->showLokasi=true; $this->showDT1=true; $this->createObjFinance(); $this->createObjKegiatan(); if (!$this->...
ibnoe/simonev
protected/pages/s/report/ReportDT1.php
PHP
gpl-2.0
18,291
/* * 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 datagen.engine; import java.util.ArrayList; /** * * @author juan.garson */ public class Table { private final ArrayLi...
lanstat/DataGen
src/datagen/engine/Table.java
Java
gpl-2.0
2,373
############################################################# # Signal.rb # # Copyright (c) 2002 Phil Tomson # released under the GNU General Public License (GPL) # ################################################## ####################################################### # add a bin method to the built-in String class...
philtomson/RHDL
lib/hardware/RHDL/Signal.rb
Ruby
gpl-2.0
10,266
#!/usr/bin/python # -*- encoding: utf-8; py-indent-offset: 4 -*- # +------------------------------------------------------------------+ # | ____ _ _ __ __ _ __ | # | / ___| |__ ___ ___| | __ | \/ | |/ / | # | | | | '_ \ / _ \/ __| |/ /...
huiyiqun/check_mk
web/htdocs/views.py
Python
gpl-2.0
129,902
<?php namespace Drupal\message_subscribe; use Drupal\Core\Entity\EntityInterface; use Drupal\Core\Session\AccountInterface; use Drupal\message\MessageInterface; /** * Subscribers service. */ interface SubscribersInterface { /** * Process a message and send to subscribed users. * * @param \Drupal\Core\E...
rahulrasgon/Music-Store-Theme
modules/message_subscribe/src/SubscribersInterface.php
PHP
gpl-2.0
5,817
<?php /** * Table Definition for Items_Translations * * PHP version 5 * * Copyright (C) Demian Katz 2012. * * 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. * * This program...
demiankatz/Geeby-Deeby
module/GeebyDeeby/src/GeebyDeeby/Db/Table/ItemsTranslations.php
PHP
gpl-2.0
4,351
/* * irctabitem.cpp * * Copyright 2008 David Vachulka <david@konstrukce-cad.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License...
rofl0r/dxirc
src/irctabitem.cpp
C++
gpl-2.0
183,742
<?php # i think this class should go somewhere in a common PEAR-place, # because a lot of classes use options, at least PEAR::DB does # but since it is not very fancy to crowd the PEAR-namespace too much i dont know where to put it yet :-( // // +----------------------------------------------------------------------+ ...
Esleelkartea/kz-adeada-talleres-electricos-
kzadeadatallereselectricos_v1.0.0_linux32_installer/linux/lampp/lib/php/Tree/Options.php
PHP
gpl-2.0
5,542