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 |
|---|---|---|---|---|---|
spellEffects[ 'FlagFlap' ] = function( args )
{
var self = this,
_ccd = Component.bugcraft.currentCharacterObject.characterData,
_moveFrames = {},
_tc = args.targetCharacter,
_tcd = _tc.characterData,
_changeFrameFunctionPointer = null,
_currentIndex = 1,
_maxFrames = 1,
... | victoralex/gameleon | public_web/components/bugcraft/resources/public/component.bugcraft.spellEffects/class.spellEffects.FlagFlap.js | JavaScript | gpl-2.0 | 3,039 |
/*
Copyright (c) 2008 Volker Krause <vkrause@kde.org>
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any later versio... | kolab-groupware/kdepimlibs | akonadi/entitydisplayattribute.cpp | C++ | gpl-2.0 | 4,253 |
/*
* Turbo Sliders++
* Copyright (C) 2013-2014 Martin Newhouse
*
* 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 ve... | mnewhouse/tspp | src/user_interface/input_interface.hpp | C++ | gpl-2.0 | 2,178 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Virvar.Net;
using Microsoft.Xna.Framework;
using GameObjects.DrawableClasses;
using GameObjects;
using GameObjects.ProtoClasses;
namespace GameProcess.Actors.Client
{
class HitsActor : IActor, IClientPacketHandler
{
... | virvar/StillAlive | StillAlive/GameProcess/Actors/Client/HitsActor.cs | C# | gpl-2.0 | 2,078 |
<?php
/**
* @package RedSHOP.Backend
* @subpackage Table
*
* @copyright Copyright (C) 2008 - 2015 redCOMPONENT.com. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('_JEXEC') or die;
class Tablesample_detail extends JTable
{
public $sample_id = nu... | RCoomes/reynard-rs-v1.5.0.4 | component/admin/tables/sample_detail.php | PHP | gpl-2.0 | 839 |
package com.jhr.jarvis.commands;
import java.io.IOException;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.shell.core.CommandMarker;
import org.... | jrosocha/jarvisCli | src/main/java/com/jhr/jarvis/commands/SystemCommands.java | Java | gpl-2.0 | 7,281 |
module Katello
class ProductsController < Katello::ApplicationController
respond_to :html, :js
before_action :find_product, :only => [:available_repositories, :toggle_repository]
before_action :find_provider, :only => [:available_repositories, :toggle_repository]
before_action :find_content, :only =>... | stbenjam/katello | app/controllers/katello/products_controller.rb | Ruby | gpl-2.0 | 3,669 |
<?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 1.8 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2007 |
+--------------... | zakiya/Peoples-History | sites/all/modules/civicrm/CRM/Core/BAO/CustomQuery.php | PHP | gpl-2.0 | 21,723 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Authors : David Castellanos <dcastellanos@indra.es>
#
# Copyright (c) 2012, Telefonica Móviles España S.A.U.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free... | tgcmteam/tgcmlinux | src/tgcm/contrib/tgcm-logging/src/tgcmlogging/__init__.py | Python | gpl-2.0 | 1,034 |
Grailbird.data.tweets_2010_03 =
[ {
"source" : "\u003Ca href=\"http:\/\/twitter.com\" rel=\"nofollow\"\u003ETwitter Web Client\u003C\/a\u003E",
"entities" : {
"user_mentions" : [ ],
"media" : [ ],
"hashtags" : [ ],
"urls" : [ ]
},
"geo" : { },
"id_str" : "10548776482",
"text" : "Published ... | peoii/twit_archive | data/js/tweets/2010_03.js | JavaScript | gpl-2.0 | 3,659 |
<?php
/**
* fvcn-admin-dashboard.php
*
* Admin Dashboard
*
* @package FV Community News
* @subpackage Admin Dashboard
* @author Frank Verhoeven <info@frank-verhoeven.com>
*/
if (!defined('ABSPATH')) {
exit;
}
/**
* FvCommunityNews_Admin_Dashboard
*
*/
class FvCommunityNews_Admin_Dashboard
{
/**
* _... | tresemece/AndesMills | wp-content/plugins/fv-community-news/fvcn-admin/fvcn-admin-dashboard.php | PHP | gpl-2.0 | 10,681 |
$(function () {
var max_upload = parseInt($('#max_upload').val());
var temid = parseInt($('#temid').val());
var albumid = parseInt($('#albumid').val());
var limit = max_upload - temid;
$('#file_upload').uploadify({
'swf': swf_link,
'uploader': upload_link,
'cancelImg': cance... | dangdinhtu2014/nukeviet_photo | modules/photo/js/New folder/uploads.js | JavaScript | gpl-2.0 | 7,904 |
public class DragAction : System.Enum, System.IComparable, System.IFormattable, System.IConvertible
{
// Methods
public virtual bool Equals(object obj) {}
public virtual int GetHashCode() {}
public virtual string ToString() {}
public virtual string ToString(string format, System.IFormatProvider provider) {}
publ... | Pengfei-Gao/source-Insight-3-for-centos7 | SourceInsight3/NetFramework/DragAction.cs | C# | gpl-2.0 | 665 |
//事件兼容pc
$.each("String Boolean RegExp Number Date Object Null Undefined".split(" "), function( i, name ){
var fn;
if( 'is' + name in $ ) return;//already defined then ignore.
switch (name) {
case 'Null':
fn = function(obj){ return obj === null; };
break;
case 'Unde... | elppac/moment | demo/GMU-master/examples/assets/mobileevent2pc.js | JavaScript | gpl-2.0 | 5,558 |
# -*- coding: utf-8 -*-
__author__ = 'frank'
from flask.ext.sqlalchemy import SQLAlchemy
from sqlalchemy.dialects import mysql
from datetime import datetime
db = SQLAlchemy()
# 时间都存为utcnow,具体显示根据不同的本地环境进行相应转换
# 如分析数据,或者在本地显示(采用moment插件前端显示)
class Application(db.Model):
"""twitter application"""
__table... | Fansion/crawltwitter | crawltwitter/models.py | Python | gpl-2.0 | 3,522 |
<?php
include "testerLib.inc.php";
require_once("interfaces.inc.php");
//set exception handler
set_error_handler("exception_error_handler");
$test = false;
if (isset ($_GET['test'])){
$test = $_GET['test'];
}
$grade = 0;
$test_1 = new TestSequence ("Test 1 - File existance Tests");
$test_1->add( ... | danadorneanu/portofolio | web-programming/webprog-assign1/tester.php | PHP | gpl-2.0 | 11,931 |
/*
* Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2013-2014 Phoenixia Productions <phoenixia-gaming.no-ip.biz>
*
* 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 Softw... | PhoenixiaGaming/WoP-v4 | src/server/scripts/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp | C++ | gpl-2.0 | 12,485 |
/**
* @license AngularJS v1.3.11
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, document, undefined) {'use strict';
/**
* @description
*
* This object provides a utility for producing rich Error messages within
* Angular. It can be called as follows:
*
* var exampleMinE... | joseluisillana/api-restful-spring-jersey | erep-services/src/main/webapp/bower_components/angular/angular.js | JavaScript | gpl-2.0 | 952,168 |
<?php
/**
* @package Joomla! 2.5
* @version 4.x
* @author 2008-2012 (c) Denys Nosov (aka Dutch)
* @author web-site: www.joomla-ua.org
* @copyright This module is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 License.
**/
// no direct access
defined('_JEXEC') or die;
$com_path = ... | akvlad/lemond | modules/mod_junewsultra/helper.php | PHP | gpl-2.0 | 36,138 |
<?php
/**
* @package ZOO Category Module
* @file mod_zoocategory.php
* @version 2.0.0 May 2010
* @author YOOtheme http://www.yootheme.com
* @copyright Copyright (C) 2007 - 2010 YOOtheme GmbH
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
// no direct access
defined('_JEXEC') or ... | alecerosiete/webBancaria | modules/mod_zoocategory/mod_zoocategory.php | PHP | gpl-2.0 | 1,178 |
/* Quarn OS / Manes
*
* Type class
*
* Copyright (C) 2008-2009 Pawel Dziepak
*
* 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... | pdziepak/quarnos-old2 | manes/cds/type.cpp | C++ | gpl-2.0 | 1,946 |
import sys
import os
import arcEC
def GNDBruninTOC_exe_G2N(parameters, messages):
# *** Start Edtiting etc. the receiving layer
# http://resources.arcgis.com/en/help/main/10.2/index.html#//00s300000008000000
# XXX Check that we are actually in an edit session ...
workspace = r"C:\Users\b004218... | MartinHvidberg/GNDB | GNDB_exe_GNDB2NamesA.py | Python | gpl-2.0 | 1,978 |
/*
* ObjManager.cpp
* Nuvie
*
* Created by Eric Fry on Sat Mar 15 2003.
* Copyright (c) 2003. 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... | nuvie/nuvie | ObjManager.cpp | C++ | gpl-2.0 | 58,257 |
<?php
/**
* File containing the TestInitDbCommand class.
*
* @copyright Copyright (C) 2013 eZ Systems AS. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
* @version //autogentag//
*/
namespace eZ\Bundle\EzPublishCoreBundle\Command;
use Symfony\Bundle\Framewo... | gbentley/ezpublish-kernel | eZ/Bundle/EzPublishCoreBundle/Command/TestInitDbCommand.php | PHP | gpl-2.0 | 6,315 |
#include <stdafx.h>
#include <vd2/system/error.h>
#include <vd2/system/cpuaccel.h>
#include <vd2/system/vdalloc.h>
#include <vd2/system/time.h>
#include <vd2/Kasumi/pixmap.h>
#include <vd2/Kasumi/pixmaputils.h>
#include <vd2/Kasumi/resample.h>
#include <vd2/Dita/services.h>
#include "ProgressDialog.h"
#include "InputFi... | shekh/VirtualDub2 | src/VirtualDub/source/test_pal8.cpp | C++ | gpl-2.0 | 8,056 |
#!/usr/bin/env python
import matplotlib.pyplot as plt
# dict: {title of plot : [measure value files]}
# The input data may not have a \n at file end.
inputFiles = {'LibMergeSort_Sortierszenarien_im_Vergleich':
['sorted', 'shuffle', 'reverse']}
# different colors of the function graphs
COLORS = ['g', 'k'... | rm--/matplotlib_examples | example1/evaluate1.py | Python | gpl-2.0 | 1,327 |
Meteor.publish('applications-counter', function (id,skip,limit,filter,flagged) {
if (flagged==false){
query = sectionQueryBuilder(filter,'sub')
var cursor = Project.find({'osxcollector_section':'applications','osxcollector_incident_id':id,"$or":query})
Counts.publish(this, 'applications-counter',cursor,{noReady:... | wfsec/osxstrata | server/pubs/applications.js | JavaScript | gpl-2.0 | 1,772 |
from django.contrib.auth.models import User, Permission, Group
from rest_framework import serializers
from apps.account.serializers.PermissionSerializer import PermissionSerializer
class GroupSerializer(serializers.ModelSerializer):
permissions = PermissionSerializer(instance=Permission, many=True)
class Meta... | mmmaaaxxx77/Python-Django-AdminLTE2 | Demo/apps/account/serializers/GroupSerializer.py | Python | gpl-2.0 | 384 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Pathfinder
{
class AiBotBetter : AiBotBase
{
//public override void Setup(Level lvl, Player plr) { }
public int direction = 0;
/* 0
*3 1
* 2
*/
... | BenjaminJStock/AI-Dijkstras | Pathfinder/AiBotSimple2.cs | C# | gpl-2.0 | 3,806 |
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <time.h>
#include <iostream>
#include <sys/time.h>
#include <assert.h>
#include <semaphore.h>
#include <netinet/tcp.h>
using namespace std;
typedef unsigned long l... | diqiu50/ice-dev | Ice/example/Connection/Epoll/client.cpp | C++ | gpl-2.0 | 1,324 |
/**
* Copyright 陈延军 All rights reserved.
*/
package org.fairyks.im.server.util;
import java.io.InputStream;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.io.IOUtils;
import org.apache.log4j.Logger;
import com.google.gson.Gson;
/**
* <p>Copyright: Copyright (c) 2011</p>
... | fairyks/ImServer | src/org/fairyks/im/server/util/HttpRequestUtil.java | Java | gpl-2.0 | 1,403 |
<?php
function webnus_iconbox( $attributes, $content = null ) {
extract(shortcode_atts(array(
"type"=>'',
'icon_title'=>'',
'icon_link_url'=>'',
'icon_link_text'=>'',
"icon_name"=>'',
"iconbox_content"=>'',
"icon_size"=>'',
"icon_color"=>'',
"title_color"=>'',
"content_color"=>'',
"l... | arkev/IntelligentMode | wp-content/themes/florida-wp/inc/shortcodes/iconbox.php | PHP | gpl-2.0 | 2,299 |
/*
This file is part of Jedi Academy.
Jedi Academy 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.
Jedi Academy is distributed in the hope that it will be useful,
but WITHOUT ANY WA... | BruceJohnJennerLawso/OtherJK | code/game/NPC_utils.cpp | C++ | gpl-2.0 | 37,217 |
<?php
/*
Plugin Name: Unused Shortcodes
Plugin URI: https://surpriseazwebservices.com/wordpress-plugins/wordpress-unused-shortcodes/
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4CZMFDE6YG95L
Description: A plugin to display shortcodes that are not currently bein... | wp-plugins/unused-shortcodes | unused-shortcodes.php | PHP | gpl-2.0 | 3,379 |
using UnityEngine;
using System.Collections;
public class FloppySpin : MonoBehaviour
{
void Update ()
{
transform.Rotate(new Vector3(0.0f, 1.0f, 0.0f), -90.0f * Time.deltaTime, Space.World);
}
}
| RocketSurgery/DDRGame | Assets/Scripts/FloppySpin.cs | C# | gpl-2.0 | 204 |
<?php
/**
* @package Chunk
*/
get_header(); ?>
<?php if ( is_archive() ) : ?>
<div class="page-title">
<h2>
<?php if ( is_day() ) : ?>
<?php printf( __( 'Posted on %s …', 'chunk' ), '<span>' . get_the_date() . '</span>' ); ?>
<?php elseif ( is_month() ) : ?>
<?php printf( __( 'Posted in %s &hel... | firmread/avsysblog | wp-content/themes/chunk/index.php | PHP | gpl-2.0 | 2,209 |
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 |
<?php
require_once 'PHPUnit/Framework/TestCase.php';
require_once 'PHPUnit/Util/Filter.php';
require_once dirname(__FILE__) . '/constraints/image.php';
require_once dirname(__FILE__) . '/../src/image.php';
require_once dirname(__FILE__) . '/../src/imageGD.php';
require_once dirname(__FILE__) . '/../src/imageGmagick.ph... | benjaminpick/yaial | tests/MyTestCase.php | PHP | gpl-2.0 | 3,242 |
<?
$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 |
package org.openRealmOfStars.starMap.planet;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.openRealmOfStars.player.PlayerInfo;
import org.openRealmOfStars.player.SpaceRace.SpaceRace;
imp... | sigee/Open-Realms-of-Stars | src/test/java/org/openRealmOfStars/starMap/planet/PlanetTest.java | Java | gpl-2.0 | 4,798 |
<?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 |
#
# Copyright 2012-2013 Red Hat, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed ... | futurice/vdsm | tests/utilsTests.py | Python | gpl-2.0 | 19,919 |
<?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 <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 |
package com.feedback.rest;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import com.feedback.beans.DataUnit;
import com.feedback.data.Data;
/**
* A resource for generating da... | tzbee/feedback | src/main/java/com/feedback/rest/TestResource.java | Java | gpl-2.0 | 1,446 |
"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 |
#!/usr/bin/env python
#
# This script makes a checkout of cartoweb cvs, and launches the unit tests.
# If no update of cvs was done, it does not run the tests.
#
# In case of a test failure, an email is sent to a specified address.
# Configuration: change to match your environment
DISABLING_FILE = "/tmp/auto_test_di... | camptocamp/cartoweb3 | scripts/run_auto_test.py | Python | gpl-2.0 | 4,194 |
<?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 |
/*!
* Grunt file
*
* @package CheckUser
*/
/* eslint-env node */
module.exports = function ( grunt ) {
var conf = grunt.file.readJSON( 'extension.json' );
grunt.loadNpmTasks( 'grunt-eslint' );
grunt.loadNpmTasks( 'grunt-banana-checker' );
grunt.loadNpmTasks( 'grunt-stylelint' );
grunt.initConfig( {
eslint:... | skizzerz/thetestwiki-checkuser | Gruntfile.js | JavaScript | gpl-2.0 | 640 |
<?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 |