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) 2022, Specify Collections Consortium
*
* Specify Collections Consortium, Biodiversity Institute, University of Kansas,
* 1345 Jayhawk Boulevard, Lawrence, Kansas, 66045, USA, support@specifysoftware.org
*
* This program is free software; you can redistribute it and/or
* modify it under the term... | specify/specify6 | src/edu/ku/brc/af/ui/forms/persist/ViewLoader.java | Java | gpl-2.0 | 72,771 |
/*
Copyright: © 2011 Thomas Stein, CodeLounge.de
<mailto:info@codelounge.de> <http://www.codelounge.de/>
Released under the terms of the GNU General Public License.
You should have received a copy of the GNU General Public License,
along with this software. In the main directory, see: licence.txt
If not, see: <http://... | codelounge/codelounge-exposure-theme | js/exposure.js | JavaScript | gpl-2.0 | 3,408 |
#include "tacticattacker.h"
TacticAttacker::TacticAttacker(WorldModel *worldmodel, QObject *parent) :
Tactic("TacticAttacker", worldmodel, parent)
{
everyOneInTheirPos = false;
maxDistance = sqrt(pow(Field::MaxX*2,2)+pow(Field::MaxY*2,2));
}
RobotCommand TacticAttacker::getCommand()
{
Rob... | mohsen-raoufi/Guidance | src/ai/tactic/tacticattacker.cpp | C++ | gpl-2.0 | 13,212 |
/**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest04982.java | Java | gpl-2.0 | 2,239 |
<?php
/*
Copyright (c) 2007 BeVolunteer
This file is part of BW Rox.
BW Rox 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.
BW Rox is dis... | BeWelcome/rox.prototypes | templates/apps/rox/teaser.php | PHP | gpl-2.0 | 4,007 |
using UnityEngine;
using System.Collections;
public class MapCollisionsDetector : MonoBehaviour {
// Use this for initialization
void Start () {
}
void FixedUpdate()
{
}
/*void OnCollisionEnter(Collision collision) {
foreach(var contact in collision.contacts)
print (contact.otherCollider.gameObj... | Reminouche/TCG | Assets/MapCollisionsDetector.cs | C# | gpl-2.0 | 340 |
/**************************************************************************************
* 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/epl/join/pollindex/PollResultIndexingStrategyIndex.java | Java | gpl-2.0 | 2,448 |
package com.ht.halo.hibernate3.base;
import java.beans.BeanInfo;
import java.beans.IntrospectionException;
import java.beans.Introspector;
import java.beans.PropertyDescriptor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Map.Entry;
import org.apache.... | VonChange/haloDao-Hibernate3 | src/main/java/com/ht/halo/hibernate3/base/MyEntityUtils.java | Java | gpl-2.0 | 6,670 |
import os
import unittest
import tempfile
from git import Repo
from oeqa.utils.commands import get_bb_var
from oe.buildhistory_analysis import blob_to_dict, compare_dict_blobs
class TestBlobParsing(unittest.TestCase):
def setUp(self):
import time
self.repo_path = tempfile.mkdtemp(prefix='selftest-... | schleichdi2/OPENNFR-6.1-CORE | opennfr-openembedded-core/meta/lib/oeqa/selftest/oelib/buildhistory.py | Python | gpl-2.0 | 3,191 |
# -*- coding: utf-8 -*-
#
# Picard, the next-generation MusicBrainz tagger
# Copyright (C) 2006 Lukáš Lalinský
#
# 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... | samj1912/picard | picard/ui/options/__init__.py | Python | gpl-2.0 | 3,282 |
<?php
/*
* DynamicHub
*
* Copyright (C) 2015-2016 LegendsOfMCPE
*
* 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 Software Foundation, either version 3 of the License, or
* (at your option) any later... | LegendOfMCPE/DynamicHub | DynamicHub/src/DynamicHub/Module/Match/MatchBaseConfig.php | PHP | gpl-2.0 | 1,090 |
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("Lo... | pabloariasmora/BattlePong | BattlePong/LogicaDeNegocios/Properties/AssemblyInfo.cs | C# | gpl-2.0 | 1,442 |
<?php
/*
* Copyright 2010 Google Inc.
*
* 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 law or agreed t... | mrengy/flip2014 | wp-content/plugins/google-apps-login/core/Google/Service/Pagespeedonline.php | PHP | gpl-2.0 | 17,220 |
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<m... | kuibobo/GamPress | wp-content/plugins/gampress-ext/themes/eBooks/page.php | PHP | gpl-2.0 | 1,338 |
<?php
class departamento extends controller {
public function __construct() {
parent::__construct();
include 'controllers/loginController.php';
$valida = new login();
$valida->sessao_valida();
}
public function index_action($pagina = 1) {
//list all re... | suspecie/controle-eventos-php-thepowerpuffgirls | controllers/departamentoController.php | PHP | gpl-2.0 | 3,526 |
<?php // $Id: oci8po.class.php 68 2009-07-31 18:23:01Z dlandau $
///////////////////////////////////////////////////////////////////////////
// //
// NOTICE OF COPYRIGHT //
// ... | bobpuffer/1.9.12-LAE1.3 | lib/xmldb/classes/generators/oci8po/oci8po.class.php | PHP | gpl-2.0 | 29,382 |
<?php
class BWGViewGalleries_bwg {
////////////////////////////////////////////////////////////////////////////////////////
// Events //
////////////////////////////////////////////////////////////////////////////////////////
////////... | duynguyenhai/wordpress | wp-content/plugins/photo-gallery/admin/views/BWGViewGalleries_bwg.php | PHP | gpl-2.0 | 57,953 |
package visitors;
/**
* Created by stratosphr on 20/11/15.
*/
public interface IVisitedSort extends IVisited {
Object accept(ISortVisitor visitor);
}
| stratosphr/Logic | src/visitors/IVisitedSort.java | Java | gpl-2.0 | 159 |
/*
* aTunes
* Copyright (C) Alex Aranda, Sylvain Gaudard and contributors
*
* See http://www.atunes.org/wiki/index.php?title=Contributing for information about contributors
*
* http://www.atunes.org
* http://sourceforge.net/projects/atunes
*
* This program is free software; you can redistribute it and/or
* mo... | PDavid/aTunes | aTunes/src/main/java/net/sourceforge/atunes/kernel/modules/navigator/NavigatorActionsStateController.java | Java | gpl-2.0 | 4,445 |
/*
* 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 edu.mum.ea.mb;
import edu.mum.ea.ejb.ProjectEJB;
import edu.mum.ea.ejb.ReleaseBacklogEJB;
import edu.mum.ea.ejb.Spr... | ruzdi/ProjectManagement | ProjectManagement-war/src/java/edu/mum/ea/mb/SprintMB.java | Java | gpl-2.0 | 5,482 |
/* $Id$ */
/*
* Copyright (C) 2013 Teluu Inc. (http://www.teluu.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, or
* (at your option) any later vers... | ismangil/pjproject | pjsip/src/pjsua2/account.cpp | C++ | gpl-2.0 | 39,647 |
/**
* card_view = new BaristaCardView({el: $("target_selector",
url:"",
title:"",
subtitle:"",
fg_color: "#1b9e77",
image:"",
span_class: "col-lg-12"});
*
* A Backbone View that displays a card of information wrapped in link
* The view is meant to be a top level... | cmap/barista | source/views/BaristaCardView.js | JavaScript | gpl-2.0 | 2,907 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ludum2D.Tiles;
using Ludum2D.World;
using Microsoft.Xna.Framework;
namespace Ludum2D.Core {
public class LudumCore {
private static LudumCore instance;
public static LudumCore Instance {
... | oxysoft/Ludum2D | Ludum2D/Core/LudumCore.cs | C# | gpl-2.0 | 943 |
<?php
/* core/themes/classy/templates/navigation/menu-local-task.html.twig */
class __TwigTemplate_0969a23526138fcc37f60cc805db1d447beeec2f58012651e0e2200d57c77ec5 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
... | padmanabhan-developer/EstarProd | sites/default/files/php/twig/075870e6_menu-local-task.html.twig_09bb732346e5d24c980d871bac93beeabc98bdcdafc22eac5ff5f4c40f13cf6a/6ea817bad80d90d325204bb326b2453055a5d09f565dc9938936aba350e2c955.php | PHP | gpl-2.0 | 2,927 |
package mrdev023.opengl;
import static org.lwjgl.glfw.GLFW.*;
import static org.lwjgl.opengl.GL11.*;
import static org.lwjgl.system.MemoryUtil.*;
import java.awt.*;
import java.nio.*;
import org.lwjgl.*;
import org.lwjgl.glfw.*;
import org.lwjgl.opengl.*;
import mrdev023.exception.*;
public class Di... | mrdev023/Modern-Game-Engine | src/mrdev023/opengl/Display.java | Java | gpl-2.0 | 4,476 |
/*
#Date of creation : 9 Jan 2016.
#Aim of program : To print power set of a set of characters.
#Coded by : Rishikesh Agrawani.
*/
package main
import "fmt"
func main() {
var n, r, i, j uint
fmt.Print("Enter the number of binary variables(for which you want the binary combinations): ")
fmt.Scanf... | hygull/go | sources/hck-ds-examples/power_set_for_set_of_characters.go | GO | gpl-2.0 | 1,645 |
/*
* UriMapFeature.hpp
*
* Copyright (c) 2010 Paul Giblock <pgib/at/users.sourceforge.net>
*
* This file is part of Unison - http://unison.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 S... | pgiblock/unison | extensions/lv2/UriMapFeature.hpp | C++ | gpl-2.0 | 1,593 |
<div class="wide form">
<?php $form=$this->beginWidget('CActiveForm', array(
'action'=>Yii::app()->createUrl($this->route),
'method'=>'get',
)); ?>
<div class="row">
<?php echo $form->label($model,'id'); ?>
<?php echo $form->textField($model,'id',array('size'=>20,'maxlength'=>20)); ?>
</div>
<div class="row... | mianfiga/monedademos | protected/views/pending/_search.php | PHP | gpl-2.0 | 1,754 |
import tkinter
FRAME_BORDER = 5
class PageView(object):
__root = None
bd = None
def __init__(self, root=None, main_frame=None):
param = self.params()
if root is None:
# standalone
self.__root = tkinter.Tk()
self.__root.title(param['title'])
... | sora7/listparse | src/listparse/ui/common.py | Python | gpl-2.0 | 2,865 |
// Copyright (C) 2012 Markus Fischer
//
// 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; version 2 of the License.
//
// This program is distributed in the hope that it will be useful,
/... | gbv/doctor-doc | source/ch/dbs/actions/bestellung/EZBXML.java | Java | gpl-2.0 | 11,803 |
import os, socket, sys, urllib
from wx.lib.embeddedimage import PyEmbeddedImage
ldc_name = "Live Debian Creator"
ldc_cli_version = "1.4.0"
ldc_gui_version = "1.11.0"
if (sys.platform == "win32"):
slash = "\\"
if os.path.isfile(sys.path[0]): #fix for compiled binaries
homepath = os.path.dirname(sys.pa... | godaigroup/livedebiancreator | prefs.py | Python | gpl-2.0 | 2,733 |
<?php
namespace Connections_Directory\Content_Blocks\Entry\Related;
use Connections_Directory\Content_Blocks\Entry\Related;
/**
* Class Last_Name
*
* @package Connections_Directory\Content_Blocks\Entry
*/
class Last_Name extends Related {
/**
* @since 9.8
* @var string
*/
const ID = 'entry-related-last_... | Connections-Business-Directory/Connections | includes/Content_Blocks/Entry/Related/Last_Name.php | PHP | gpl-2.0 | 1,642 |
<?php $st_buttons_p = ot_get_option('st_buttons_p'); ?>
<?php $sidebar_checkbox = get_post_meta($post->ID, 'sidebar_checkbox', true);?>
<?php $full_width = get_post_meta($post->ID, 'portfolio_options_full', true);?>
<?php $details = get_post_meta($post->ID, 'portfolio_options_repeatable', true); if($details){$details ... | ronykader06/Badsha | wp-content/themes/dokan.me/single-portfolio.php | PHP | gpl-2.0 | 2,901 |
<?php
/**
* template_lite upper modifier plugin
*
* Type: modifier
* Name: upper
* Purpose: Wrapper for the PHP 'strtoupper' function
*/
function tpl_modifier_upper($string) {
return strtoupper($string);
}
?> | dreikanter/motoko | mtk/lib/template_lite/plugins/modifier.upper.php | PHP | gpl-2.0 | 235 |
# encoding: utf-8
# module PyKDE4.kdeui
# from /usr/lib/python3/dist-packages/PyKDE4/kdeui.cpython-34m-x86_64-linux-gnu.so
# by generator 1.135
# no doc
# imports
import PyKDE4.kdecore as __PyKDE4_kdecore
import PyQt4.QtCore as __PyQt4_QtCore
import PyQt4.QtGui as __PyQt4_QtGui
import PyQt4.QtSvg as __PyQt4_QtSvg
cl... | ProfessorX/Config | .PyCharm30/system/python_stubs/-1247971765/PyKDE4/kdeui/KPassivePopupMessageHandler.py | Python | gpl-2.0 | 584 |
/*
* Copyright (C) 2005-2014 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 version 3 of the License, or (at your
* option) any later version.
*... | MistyWorld/MistyWorld_6xx | src/serveur/jeu/Server/WorldSocket.cpp | C++ | gpl-2.0 | 34,533 |
<?php
/**
* The admin-specific functionality of the plugin.
*
* @link kjhuer.com
* @since 1.0.0
*
* @package Za_Collect
* @subpackage Za_Collect/admin
*/
/**
* The admin-specific functionality of the plugin.
*
* Defines the plugin name, version, and two examples hooks for how to
* enqueue th... | kjameshuer/za-collect | admin/class-za-collect-admin.php | PHP | gpl-2.0 | 5,664 |
#!/usr/bin/python
#CHANGE ONLY, IF YOU KNOW, WHAT YOU DO!
#OPKMANAGER WILL CRASH IF YOUR OUTPUT IS INVALID!
import subprocess
import argparse
import time
import calendar
import string
import sys
class RegisterAction(argparse.Action):
def __call__(self, parser, namespace, values, option_string=None):
print "Official... | theZiz/OPKManager | repositories/official.py | Python | gpl-2.0 | 3,617 |
/*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2001 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source c... | stippi/Clockwerk | include/xerces/validators/common/CMAny.hpp | C++ | gpl-2.0 | 5,208 |
<?php // $Id: report.php,v 1.29 2008/11/30 21:33:58 skodak Exp $
if (!defined('MOODLE_INTERNAL')) {
die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page
}
$courses = get_courses('all','c.shortname','c.id,c.shortname,c.fullname');
$courseoptions = ar... | nicolasconnault/moodle2.0 | course/report/stats/report.php | PHP | gpl-2.0 | 11,351 |
module Actions
module Pulp3
module Repository
class CreatePublication < Pulp3::AbstractAsyncTask
middleware.use Actions::Middleware::ExecuteIfContentsChanged
def plan(repository, smart_proxy, options)
sequence do
action = plan_self(:repository_id => repository.id, :smar... | ares/katello | app/lib/actions/pulp3/repository/create_publication.rb | Ruby | gpl-2.0 | 984 |
'use strict';
app.controller('orderController', ['$scope', '$rootScope', 'toastrService', 'orderService',
function ($scope, $rootScope, toastrService, orderService) {
$scope.paging = 1;
$scope.disabledMore = false;
$scope.data = [];
$scope.getOrders = function () {
order... | ozalvarez/elcubo9 | elcubo9.admin/app/controllers/orderController.js | JavaScript | gpl-2.0 | 1,103 |
#!/usr/bin/env python
####################################
#
# --- TEXTPATGEN TEMPLATE ---
#
# Users can change the output by editing
# this file directly.
#
####################################
import sys
sys.stdout.write('####################################\n')
sys.stdout.write('#\n')
sys.stdout.write('# -- TEXTP... | kevinleake01/textpatgen | 12-workspace-py/tpl-py-0001.py | Python | gpl-2.0 | 774 |
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<title><?php
/*
* Print the <title> tag based on what is being viewed.
*/
global $page, $paged;
wp_title( '|', true, 'right' );
// Add the blog name.
bloginfo( 'name' );
// Add the blog descript... | fearzendron/jzconsultoria | wp-content/themes/jzconsultoria/header-home.php | PHP | gpl-2.0 | 2,963 |
from .. import config
from .. import fixtures
from ..assertions import eq_
from ..assertions import in_
from ..schema import Column
from ..schema import Table
from ... import bindparam
from ... import case
from ... import Computed
from ... import exists
from ... import false
from ... import func
from ... import Integer... | gltn/stdm | stdm/third_party/sqlalchemy/testing/suite/test_select.py | Python | gpl-2.0 | 24,377 |
<?php
/**
* @Project NUKEVIET 4.x
* @Author VINADES.,JSC (contact@vinades.vn)
* @Copyright (C) 2014 VINADES.,JSC. All rights reserved
* @License GNU/GPL version 2 or any later version
* @Createdate 9/9/2010, 6:38
*/
if (! defined('NV_IS_FILE_WEBTOOLS')) {
die('Stop!!!');
}
$contents = 'Error Access!!!';
$... | nukeplus/nuke | admin/webtools/deleteupdate.php | PHP | gpl-2.0 | 2,041 |
<?php
/**
* Project: Securimage: A PHP class for creating and managing form CAPTCHA images<br />
* File: securimage_show_example2.php<br />
*
* Copyright (c) 2011, Drew Phillips
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitte... | scorpioinfotech/mariasplace2 | wp-content/plugins/qa/securimage/securimage_show_example2.php | PHP | gpl-2.0 | 2,746 |
# encoding: utf-8
#
# Copyright 2017 University of Oslo, Norway
#
# This file is part of Cerebrum.
#
# Cerebrum 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... | unioslo/cerebrum | Cerebrum/modules/event_publisher/event.py | Python | gpl-2.0 | 11,579 |
# -*- coding: utf-8 -*-
from utils import *
commands = [
'^remindme',
'^reminder',
'^remind$',
'^r '
]
parameters = (
('delay', True),
('message', True),
)
description = 'Set a reminder for yourself. First argument is delay until you wish to be reminded.\nExample: `' + config['... | shahabsaf1/Python | plugins/reminders.py | Python | gpl-2.0 | 2,643 |
/*
* Flocking Debugging Unit Generators
* http://github.com/colinbdclark/flocking
*
* Copyright 2011-2014, Colin Clark
* Dual licensed under the MIT and GPL Version 2 licenses.
*/
/*global require*/
/*jshint white: false, newcap: true, regexp: true, browser: true,
forin: false, nomen: true, bitwise: false, m... | mcanthony/Flocking | src/ugens/debugging.js | JavaScript | gpl-2.0 | 2,806 |
/*
This file is part of the KDE project
* Copyright (C) 2009 Pierre Stirnweiss <pstirnweiss@googlemail.com>
* Copyright (C) 2011 Boudewijn Rempt <boud@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... | yxl/emscripten-calligra-mobile | libs/kotext/commands/TextPasteCommand.cpp | C++ | gpl-2.0 | 4,258 |
// External imports
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.io.FileInputStream;
import java.io.BufferedInputStream;
import javax.imageio.ImageIO;
import java... | Norkart/NK-VirtualGlobe | aviatrix3d/examples/texture/NormalMapDemo.java | Java | gpl-2.0 | 3,599 |
<?php
/**
* Created by PhpStorm.
* User: Anh Tuan
* Date: 4/22/14
* Time: 12:26 AM
*/
//////////////////////////////////////////////////////////////////
// Dropcap shortcode
//////////////////////////////////////////////////////////////////
add_shortcode( 'dropcap', 'shortcode_dropcap' );
function shortcode_dropc... | yogaValdlabs/shopingchart | wp-content/themes/aloxo/inc/shortcodes/dropcap/dropcap.php | PHP | gpl-2.0 | 515 |
/*
* $RCSfile: OrCRIF.java,v $
*
* Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved.
*
* Use is subject to license terms.
*
* $Revision: 1.1 $
* $Date: 2005/02/11 04:56:38 $
* $State: Exp $
*/
package com.sun.media.jai.opimage;
import java.awt.RenderingHints;
import java.awt.geom.Rec... | RoProducts/rastertheque | JAILibrary/src/com/sun/media/jai/opimage/OrCRIF.java | Java | gpl-2.0 | 1,740 |
<?php
/**
Admin Page Framework v3.5.6 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2015, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT>
*/
... | johnmanlove/NoOn1 | wp-content/plugins/seamless-donations/library/apf/factory/AdminPageFramework_TaxonomyField/AdminPageFramework_TaxonomyField_View.php | PHP | gpl-2.0 | 2,360 |
<?php
/**
* Created by PhpStorm.
* User: udit
* Date: 12/9/14
* Time: 10:43 AM
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( ! class_exists( 'WM_Revision' ) ) {
/**
* Class WM_Revision
*
* Handles all the functionality to track custom fields
*
* @since 0.4
*/
class ... | desaiuditd/watchman | revision/class-wm-revision.php | PHP | gpl-2.0 | 8,344 |
<?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... | nickdtaylor1993/morrisseys_catering | wp-content/themes/morrisseys_catering/index.php | PHP | gpl-2.0 | 2,289 |
<?php
/* --------------------------------------------------------------
$Id: customer_memo.php 10395 2016-11-07 13:18:38Z GTB $
modified eCommerce Shopsoftware
http://www.modified-shop.org
Copyright (c) 2009 - 2013 [www.modified-shop.org]
--------------------------------------------------------------
... | dsiekiera/modified-bs4 | admin/includes/modules/customer_memo.php | PHP | gpl-2.0 | 4,322 |
/*
neutrino bouquet editor - channel selection
Copyright (C) 2001 Steffen Hehn 'McClean'
Copyright (C) 2017 Sven Hoefer
License: GPL
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
v... | TangoCash/neutrino-mp-cst-next | src/gui/bedit/bouqueteditor_chanselect.cpp | C++ | gpl-2.0 | 9,692 |
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|08 Nov 2012 23:29:31 -0000
vti_extenderversion:SR|5.0.2.6790
vti_lineageid:SR|{44761BDF-1053-4E8B-8B42-2966A30F18D2}
vti_cacheddtm:TX|08 Nov 2012 23:29:31 -0000
vti_filesize:IR|2149
vti_backlinkinfo:VX|
| JustinTBayer/chapter-manager | _vti_cnf/changelog.php | PHP | gpl-2.0 | 258 |
package org.janelia.alignment.match;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
/**
* List of {@link CanvasMatches} with associated tileIds mapped for fast lookup.
*
* @author Eric Trautman
*/
public class TileIdsWithMatches {
private final Set<String> ... | saalfeldlab/render | render-app/src/main/java/org/janelia/alignment/match/TileIdsWithMatches.java | Java | gpl-2.0 | 1,543 |
/* Pin Tool for
* calculation of the Stack Reuse Distance Histogram
*
* (C) 2015, Josef Weidendorfer / LRR-TUM
* GPLv2+ (see COPYING)
*/
#include "pin.H"
#include <stdio.h>
#include <cassert>
#include <cstring>
#include <cmath>
#include <unistd.h>
#include "dist.cpp"
// Consistency checks?
#define DEBUG 0
// ... | lrr-tum/reuse | pindist/pindist.cpp | C++ | gpl-2.0 | 5,945 |
import { createSelector } from '@automattic/state-utils';
import { filter, orderBy } from 'lodash';
import 'calypso/state/comments/init';
function filterCommentsByStatus( comments, status ) {
return 'all' === status
? filter(
comments,
( comment ) => 'approved' === comment.status || 'unapproved' === commen... | Automattic/wp-calypso | client/state/comments/selectors/get-site-comments.js | JavaScript | gpl-2.0 | 1,304 |
(function(customer_id) {
tinymce.create('tinymce.plugins.ItStream_AttachToPost', {
customer_id: customer_id,
init : function(editor, plugin_url) {
editor.addButton('player_scheduling', {
title : 'Embed ItStream Player',
cmd : 'itm_scheduling',
... | wp-plugins/itstream | admin/assets/js/editor.js | JavaScript | gpl-2.0 | 3,621 |
<?php
/**
* ExtendedEditBar extension for BlueSpice
*
* Provides additional buttons to the wiki edit field.
*
* 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 Licen... | scolladogsp/wiki | extensions/BlueSpiceExtensions/ExtendedEditBar/ExtendedEditBar.class.php | PHP | gpl-2.0 | 11,037 |
package org.wordpress.android.ui.notifications;
import com.android.volley.VolleyError;
import org.wordpress.android.models.Note;
import java.util.List;
public class NotificationEvents {
public static class NotificationsChanged {
final public boolean hasUnseenNotes;
public NotificationsChanged() ... | mzorz/WordPress-Android | WordPress/src/main/java/org/wordpress/android/ui/notifications/NotificationEvents.java | Java | gpl-2.0 | 2,258 |
<?php
/**
* @ignore
*/
function mysql_table_exists($database, $tableName) {
global $tc_db;
$tables = array();
$tablesResults = $tc_db->GetAll("SHOW TABLES FROM `$database`;");
foreach ($tablesResults AS $row) $tables[] = $row[0];
return(in_array($tableName, $tables));
}
function pgsql_table_exists($da... | 314parley/Kusaba-B | INSTALL/install.php | PHP | gpl-2.0 | 5,390 |
<?php
/**
* @file
* Teamwork15 sub theme template functions
*
*/
/**
* Implements hook_preprocess_maintenance_page().
*/
function teamwork_15_subtheme_preprocess_maintenance_page(&$variables) {
backdrop_add_css(backdrop_get_path('theme', 'bartik') . '/css/maintenance-page.css');
}
/**
* Implements hook_prepr... | backdrop-contrib/teamwork_15 | teamwork_15_subtheme/template.php | PHP | gpl-2.0 | 10,165 |
/*
* Copyright (c) 2017 Red Hat, Inc. and/or its affiliates.
*
* 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 Foundation.
*
* This code is distributed in the hope that it will be useful... | ojdkbuild/lookaside_java-1.8.0-openjdk | hotspot/test/gc/shenandoah/TestMemoryMXBeans.java | Java | gpl-2.0 | 2,609 |
jQuery(function($) {
///////////////////////////////////////////////////////////////////
///// META BOXES JS
///////////////////////////////////////////////////////////////////
jQuery('.repeatable-add').live('click', function() {
var field = jQuery(this).closest('td').find('.custom_repeatable li:last').clone(t... | StefanDindyal/wordpresser | wp-content/themes/bobbarnyc/inc/settings-panel/js/custom-admin.js | JavaScript | gpl-2.0 | 5,266 |
<?php
/**
* @version $Id: mod_communitysurvey.php 01 2011-11-08 11:37:09Z maverick $
* @package CoreJoomla.Surveys
* @subpackage Modules.site
* @copyright Copyright (C) 2009 - 2012 corejoomla.com, Inc. All rights reserved.
* @author Maverick
* @link http://www.corejoomla.com/
* @license License GNU ... | LauraRey/oacfdc | modules/mod_communitysurveys/mod_communitysurveys.php | PHP | gpl-2.0 | 3,653 |
"""
SALTS XBMC Addon
Copyright (C) 2015 tknorris
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 3 of the License, or
(at your option) any later version.
T... | azumimuo/family-xbmc-addon | plugin.video.salts/salts_lib/kodi.py | Python | gpl-2.0 | 4,540 |
using System;
using System.Collections.Generic;
using UnityEngine;
using YinYang.CodeProject.Projects.SimplePathfinding.PathFinders.AStar;
namespace YinYang.CodeProject.Projects.SimplePathfinding.PathFinders
{
public abstract class BaseGraphSearchMap<TNode, TValue> where TNode : BaseGraphSearchNode<TNode, TValue>... | lauw/Albion-Online-Bot | Albion/Merlin/Pathing/BaseGraphSearchMap.cs | C# | gpl-2.0 | 3,406 |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright held by original author
\\/ M anipulation |
------------------... | Unofficial-Extend-Project-Mirror/openfoam-extend-Core-OpenFOAM-1.5-dev | src/OpenFOAM/matrices/lduMatrix/smoothers/DICGaussSeidel/DICGaussSeidelSmoother.H | C++ | gpl-2.0 | 3,048 |
/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*-
this file is part of rcssserver3D
Fri May 9 2003
Copyright (C) 2002,2003 Koblenz University
Copyright (C) 2003 RoboCup Soccer Server 3D Maintenance Group
$Id$
This program is free software; you can redistribute it and/or modify
it und... | xuyuan/rcssserver3d-spl-release | plugin/soccer/soccerbase/soccerbase.cpp | C++ | gpl-2.0 | 22,704 |
# -*- coding: utf-8 -*-
#
# HnTool rules - php
# Copyright (C) 2009-2010 Candido Vieira <cvieira.br@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 Free Software Foundation; either version 2 of the Lic... | hdoria/HnTool | HnTool/modules/php.py | Python | gpl-2.0 | 4,760 |
/* JavaScript User Interface Library -- Common datatypes for user elements
* Copyright 2010 Jaakko-Heikki Heusala <jhh@jhh.me>
* $Id: common.js 415 2010-10-15 05:00:51Z jheusala $
*/
/** Simple message box constructor
* @params type The message type: error, notice, info or success
* @params msg Message
*/
functi... | jheusala/jsui | lib/jsui/common.js | JavaScript | gpl-2.0 | 1,101 |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Fra... | macrocephalus/MegaGamesVortexLimited | MegaGamesVortexLimited/MegaGamesVortexLimited/ProgressBar.cs | C# | gpl-2.0 | 2,237 |
<!DOCTYPE html>
<html class="no-js" <?php language_attributes(); ?>>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php wp_title(''); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php wp_head(); ?>
<!--[if lt IE 9]><script src... | brandonhimpfen/Darkly-WordPress | templates/head.php | PHP | gpl-2.0 | 564 |
<?php
/**
* Shows a welcome or update message after the plugin is installed/updated
*/
class Tribe__Events__Activation_Page {
/** @var self */
private static $instance = null;
public function add_hooks() {
add_action( 'admin_init', array( $this, 'maybe_redirect' ), 10, 0 );
add_action( 'admin_menu... | casedot/AllYourBaseTemplate | wp-content/plugins/the-events-calendar/src/Tribe/Activation_Page.php | PHP | gpl-2.0 | 7,703 |
<?php
/**
* @version 1.0 $Id$
* @package Joomla
* @subpackage redEVENT
* @copyright redEVENT (C) 2008 redCOMPONENT.com / EventList (C) 2005 - 2008 Christoph Lukes
* @license GNU/GPL, see LICENSE.php
* redEVENT is based on EventList made by Christoph Lukes from schlu.net
* redEVENT can be downloaded from www.redc... | jaanusnurmoja/redjoomla | administrator/components/com_redevent/views/groups/tmpl/default.php | PHP | gpl-2.0 | 4,833 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# progreso.py
#
# Copyright 2010 Jesús Hómez <jesus@jesus-laptop>
#
# 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; ... | jehomez/pymeadmin | progreso.py | Python | gpl-2.0 | 3,388 |
/*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2014 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | robertscottbeattie/xcsoardev | src/Hardware/Battery.cpp | C++ | gpl-2.0 | 4,640 |
<?php
/**
* KohaRest ILS Driver
*
* PHP version 7
*
* Copyright (C) The National Library of Finland 2017-2019.
*
* 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 pr... | arto70/NDL-VuFind2 | module/Finna/src/Finna/ILS/Driver/KohaRest.php | PHP | gpl-2.0 | 64,182 |
package com.github.esadmin.meta.model;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.JoinTa... | joezxh/DATAX-UI | eshbase-proxy/src/main/java/com/github/esadmin/meta/model/DBIndex.java | Java | gpl-2.0 | 3,790 |
<?php
/* core/themes/stable/templates/block/block--system-messages-block.html.twig */
class __TwigTemplate_0c8ec01fa0528f682259cd616ff9ee5ee8ceeeb5ec7cf0b3ece249a3727465d5 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = fa... | dhrubajs/drupal_8.0.3 | sites/default/files/php/twig/bdd6b639_block--system-messages-block.html.twig_41faf232cd42e8ec796f15a9bb08f1a5f7eaf6bd977aaa861b52c4ad353c5f10/41244d26af175744d9765a17dcb06990bbb9472557ce348f7ba1670b703f8a3d.php | PHP | gpl-2.0 | 2,313 |
/*
* 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.
*/
( function($) {
} )( jQuery );
var waitForFinalEvent = (function () {
var timers = {};
return function (callback,... | jsxmedia/jgm-wp-theme | js/global-functions.js | JavaScript | gpl-2.0 | 566 |
/* This file is part of the ScriptDev2 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 opti... | concept45/TwoScripts | scripts/eastern_kingdoms/sunwell_plateau/instance_sunwell_plateau.cpp | C++ | gpl-2.0 | 17,598 |
package com.cluit.util.dataTypes;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Set;
import com.cluit.util.Const;
import com.cluit.util.AoP.MethodMapper;
import com.cluit.util.methods.ClusteringUtils;
import com.cluit.util.structures.KeyPriorityQueue_Max;
import com.cluit.util.structures.Pair... | Gikkman/CluIt | CluIt/src/com/cluit/util/dataTypes/Cluster.java | Java | gpl-2.0 | 8,826 |
<?php
/**
* SFN Live Report.
*
* @package SFN Live Report
* @author Hampus Persson <hampus@hampuspersson.se>
* @license GPL-2.0+
* @link http://
* @copyright 2013 Swedish Football Network
*/
/**
* Plugin class.
*
*
* @package SNF_Live_Report
* @author Hampus Persson <hampus@hampuspersson.se>
... | swedish-football-network/wp-live-report | class-sfn-live-report.php | PHP | gpl-2.0 | 9,879 |
# encoding: utf-8
# Copyright (c) 2012 Novell, Inc.
#
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of version 2 of the GNU General Public License as published
# by the Free Software Foundation.
#
# This program is distributed in the hope that it w... | mchf/yast-yast2 | library/general/src/lib/ui/greasemonkey.rb | Ruby | gpl-2.0 | 7,562 |
using NetworkProbe.Port.Services;
using System.Collections.Generic;
using System.Net;
using NetworkProbe.Port;
using NetworkProbe.Model;
using System.Threading.Tasks;
using System.Linq;
namespace NetworkProbe
{
public static class Probe
{
/// <summary>
/// Initiates a service scan on a single ... | K1tson/Network-Probe | NetworkProbe/Probe.cs | C# | gpl-2.0 | 1,951 |
import urllib2
def sumaDos():
print 10*20
def division(a,b):
result=a/b
print result
def areatriangulo(base,altura):
result2=(base*altura)/2
print result2
def cast():
lista=[1,2,3,"hola"]
tupla=(1,2,3)
diccinario={"key1":"Diego","key2":"Piqui","key3":"Chuy"}
for k,v in diccionar... | DiegoBalandran/prueba | archivo.py | Python | gpl-2.0 | 1,301 |
class EmailToken < ActiveRecord::Base
belongs_to :user
validates_presence_of :token
validates_presence_of :user_id
validates_presence_of :email
before_validation(:on => :create) do
self.token = EmailToken.generate_token
end
after_create do
# Expire the previous tokens
EmailToken.update_all ... | Ocramius/discourse | app/models/email_token.rb | Ruby | gpl-2.0 | 1,540 |
/** IneoRealTimeFileFormat class implementation.
@file IneoRealTimeFileFormat.cpp
This file belongs to the SYNTHESE project (public transportation specialized software)
Copyright (C) 2002 Hugues Romain - RCSmobility <contact@rcsmobility.com>
This program is free software; you can redistribute it and/or
modify i... | Open-Transport/synthese | server/src/61_data_exchange/IneoRealTimeFileFormat.cpp | C++ | gpl-2.0 | 15,751 |
// =================================================================================================
// ADOBE SYSTEMS INCORPORATED
// Copyright 2011 Adobe Systems Incorporated
// All Rights Reserved
//
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
// of the Adobe lic... | yanburman/sjcam_raw2dng | xmp_sdk/XMPFiles/source/PluginHandler/Module.cpp | C++ | gpl-2.0 | 6,540 |
package storm.starter.trident.homework.state;
import storm.trident.operation.TridentCollector;
import storm.trident.state.BaseStateUpdater;
import storm.trident.tuple.TridentTuple;
import java.util.ArrayList;
import java.util.List;
/**
* Updater class that updates the state with the new tweets.
* Created by Parth ... | parthsatra/TwitterTopKTrends | apache-storm-0.9.3/examples/storm-starter/src/jvm/storm/starter/trident/homework/state/TopKStateUpdater.java | Java | gpl-2.0 | 1,167 |
</div>
<footer>
<p>copyright <a href="mailto:pengmaradi@gmail.com">@Xiaoling Peng</a> <a href="0763363847">call me</a></p>
</footer>
</body>
</html>
| pengmaradi/xp_cms | system/cms/views/footer.php | PHP | gpl-2.0 | 182 |
<?php
/**
* @package gantry
* @subpackage core.params
* @version 3.2.11 September 8, 2011
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2011 RocketTheme, LLC
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*
* Gantry uses the Joomla Framework (http:... | epireve/joomla | libraries/gantry/core/params/overrides/gantrysessionparamoverride.class.php | PHP | gpl-2.0 | 3,459 |
"""Module computes indentation for block
It contains implementation of indenters, which are supported by katepart xml files
"""
import logging
logger = logging.getLogger('qutepart')
from PyQt4.QtGui import QTextCursor
def _getSmartIndenter(indenterName, qpart, indenter):
"""Get indenter by name.
Available... | amirgeva/coide | qutepart/indenter/__init__.py | Python | gpl-2.0 | 8,924 |