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) SiteSupra SIA, Riga, Latvia, 2015
*
* 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... | sitesupra/sitesupra | lib/Supra/Package/Cms/Resources/public/content-manager/itemmanager/modules/itemlist-uploader.js | JavaScript | gpl-2.0 | 4,508 |
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4: */
// +----------------------------------------------------------------------+
// | Fez - Digital Repository System |
// +----------------------------------------------------------------------+
// | Copyright (c) 2005, 2006, 2... | uqlibrary/fez | public/list.php | PHP | gpl-2.0 | 3,603 |
using System.Collections.Generic;
using System.Xml.Linq;
using UnityEngine;
namespace IaS.Xml
{
public class XmlTrackNode
{
public const string ElementTrackNode = "node";
private const string AttrTrackNodeId = "id";
private const string AttrTrackNodePosition = "p";
public Vect... | mANDROID99/IaS | Iron_And_steam/Assets/Scripts/Xml/XmlTrackNode.cs | C# | gpl-2.0 | 1,065 |
##
# This file is part of WhatWeb and may be subject to
# redistribution and commercial restrictions. Please see the WhatWeb
# web site for more information on licensing and terms of use.
# https://morningstarsecurity.com/research/whatweb
##
Plugin.define do
name "Movable-Type"
authors [
"Andrew Horton",
# v0.2 # r... | urbanadventurer/WhatWeb | plugins/movable_type.rb | Ruby | gpl-2.0 | 2,692 |
import { apiBase, versionApi } from '../commons';
const apiMonitoringBeta = `${apiBase}/beta/monitoring`;
const apiMonitoring = `${apiBase}/${versionApi}/monitoring`;
export { apiMonitoringBeta, apiMonitoring };
| centreon/centreon | tests/e2e/cypress/support/model.ts | TypeScript | gpl-2.0 | 214 |
<?php
/**
* Themes shortcode image options go here
*
* @package Omega
* @subpackage Core
* @since 1.0
*
* @copyright (c) 2014 Oxygenna.com
* @license http://wiki.envato.com/support/legal-terms/licensing-terms/
* @version 1.7.3
*/
return array(
'title' => __('Image options', 'omega-admin... | rinodung/wordpress-demo | wp-content/themes/omega/inc/options/shortcodes/shortcode-image-options.php | PHP | gpl-2.0 | 1,670 |
<?php
/*
Template Name: Products Template
*
*/
?>
<?php get_header(); ?>
<div class="wrap-full banner-background cf" style="<?php if( get_field('background_banner')){ echo "background-image: url('". get_field('background_banner')."')"; } ?>">
<?php if (have_posts()) : while (have_posts()) : the_post(... | kragej/ativo | themes/bones/page-products.php | PHP | gpl-2.0 | 5,029 |
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
This software is distributed under the GNU General Public License.
See t... | pastewka/lammps | src/USER-OMP/pair_lj_charmm_coul_long_omp.cpp | C++ | gpl-2.0 | 7,636 |
/* $Id: memuserkernel-r0drv-darwin.cpp $ */
/** @file
* IPRT - User & Kernel Memory, Ring-0 Driver, Darwin.
*/
/*
* Copyright (C) 2009 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribu... | JSansalone/VirtualBox4.1.18 | src/VBox/Runtime/r0drv/darwin/memuserkernel-r0drv-darwin.cpp | C++ | gpl-2.0 | 2,937 |
<div id="obligee_volumen" class="viz" data-viz="treemap-a" data-graph="treemap-a">
<div class="row">
<div class="col-sm-12">
<h3>Volumen de recursos de revisión, por sujeto obligado y por sentido de la resolución: <span class="year-range">2007 - 2015</span></h3>
<p class="lead">Recursos de revisión que se rea... | GobiernoFacil/mapadai | includes/recursos/obligee/volumen.php | PHP | gpl-2.0 | 1,410 |
package com.carpoolsophia;
import java.util.concurrent.ExecutionException;
import org.json.JSONException;
import org.json.JSONObject;
import android.app.Fragment;
import android.os.AsyncTask;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import andro... | cernier/carpoolsophia | carpoolsophia/src/main/java/com/carpoolsophia/ProfileFragment.java | Java | gpl-2.0 | 4,190 |
/*
* Copyright (C) 2011-2012 ArkCORE2 <http://www.arkania.net/>
* Copyright (C) 2010-2012 Project SkyFire <http://www.projectskyfire.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation... | alideny/ChgMangos_CTM | src/server/scripts/Northrend/VioletHold/violet_hold.cpp | C++ | gpl-2.0 | 45,090 |
(function ($, window, document) {
"use strict";
$(document).on( 'ready', function(){
var $body = $('body'),
$topbar = $( document.getElementById('topbar') ),
$products_sliders = $('.products-slider-wrapper, .categories-slider-wrapper');
/************************... | lieison/IndustriasFenix | wp-content/themes/bishop/theme/assets/js/woocommerce.js | JavaScript | gpl-2.0 | 21,939 |
package com.yh.admin.bo;
import java.util.Date;
import com.yh.platform.core.bo.BaseBo;
public class UserAgent extends BaseBo {
private static final long serialVersionUID = 2715416587055228708L;
private Long userAgentOid;
private Long systemPositionOid;
private String userId; // 被代理人
private ... | meijmOrg/Repo-test | freelance-admin/src/java/com/yh/admin/bo/UserAgent.java | Java | gpl-2.0 | 1,512 |
<?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\File;
use PHPExiftool\Driver\AbstractTag;
class Previe... | Droces/casabio | vendor/phpexiftool/phpexiftool/lib/PHPExiftool/Driver/Tag/File/PreviewPNG.php | PHP | gpl-2.0 | 725 |
<?php
/**
* @version $Id: blog.php 20960 2011-03-12 14:14:00Z chdemko $
* @package Chola.Site
* @subpackage com_content
* @copyright Copyright (C) 2005 - 2011 Cholalabs Software LLP. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('... | cholalabs/CholaApps2.0 | components/com_content/views/category/tmpl/blog.php | PHP | gpl-2.0 | 3,631 |
/* Cabal - Legacy Game Implementations
*
* Cabal is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of t... | project-cabal/cabal | engines/scumm/he/floodfill_he.cpp | C++ | gpl-2.0 | 8,174 |
if (Meteor.isServer) {
var
//// A lookup-table whose keys are generated each time an ‘you.register’ form is rendered using the `babelslug()` method.
//// The key is a babelslug, followed by hyphen, followed by a Meteor connection ID (like a session ID for anon users).
//// The value is the ... | loopdotcoop/looptopia | you/you.create-user.js | JavaScript | gpl-2.0 | 11,763 |
package org.rebecalang.modeltransformer.ros.timedrebeca;
import java.util.HashMap;
import java.util.Map;
import org.rebecalang.compiler.modelcompiler.corerebeca.CoreRebecaTypeSystem;
import org.rebecalang.compiler.modelcompiler.corerebeca.objectmodel.BinaryExpression;
import org.rebecalang.compiler.modelcompiler.core... | rebeca-lang/org.rebecalang.modeltransformer | src/main/java/org/rebecalang/modeltransformer/ros/timedrebeca/TimedRebeca2ROSExpressionTransformer.java | Java | gpl-2.0 | 12,240 |
/*
* The ManaPlus Client
* Copyright (C) 2013-2015 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
* 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... | Rawng/ManaPlus | src/utils/fuzzer.cpp | C++ | gpl-2.0 | 1,441 |
<?php
/**
* HTML attribute filters.
* Most of these functions filter the generic values from the framework found in hoot/functions/attr.php
* Attributes for non-generic structural elements (mostly theme specific) can be loaded in this file.
*
* @package hoot
* @subpackage responsive-brix
* @since responsive-brix... | BellarmineBTDesigns/mashariki | wp-content/themes/responsive-brix/hoot-theme/attr.php | PHP | gpl-2.0 | 3,197 |
var iconhead={
title:"Icon Heading Shortcode",
id :'oscitas-form-iconhead',
pluginName: 'iconhead',
setRowColors:false
};
(function() {
_create_tinyMCE_options(iconhead,800);
})();
function create_oscitas_iconhead(pluginObj){
if(jQuery(pluginObj.hashId).length){
jQuery(pluginObj.hashI... | wjmendez/easy-bootstrap-shortcodes | shortcode/iconhead/iconhead_plugin.js | JavaScript | gpl-2.0 | 5,742 |
using System;
using System.Threading.Tasks;
using System.Windows.Threading;
using Disp = System.Windows.Threading.Dispatcher;
using Op = System.Windows.Threading.DispatcherOperation;
using DO = System.Windows.Threading.DispatcherObject;
using static System.Array;
namespace AphidUI
{
public static class ... | John-Leitch/Aphid | AphidUI/DispatcherObjectExtension.cs | C# | gpl-2.0 | 2,708 |
<?php
/**
* @desc Modify from component Media Manager of Joomla
*
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die( 'Restricted access' );
jimport('joomla.filesystem.file');
jimport('joomla.filesystem.folder');
/**
* Weblinks Weblink Controller
*
* @package Joomla
* @subpackage... | rlee1962/diylegalcenter | administrator/components/com_jaextmanager/controllers/file.php | PHP | gpl-2.0 | 6,634 |
<?php
/**
* @version $Id: helper.php 20228 2011-01-10 00:52:54Z eddieajau $
* @package Joomla.Site
* @subpackage mod_stats
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct ac... | emelynelisboa/studiosummo | modules/mod_stats/helper.php | PHP | gpl-2.0 | 3,177 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package pt.jkaiui.core.messages;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import pt.jkaiui.core.KaiString;
import pt.jkaiui.manager.I_InMessage;
/**
*
* @author yuu@akron
*/
public class Conne... | yuuakron/jKaiUI_Custom | src/pt/jkaiui/core/messages/ConnectedArena.java | Java | gpl-2.0 | 731 |
#ifndef NO_OGL
//OpenGL library
#pragma comment( lib, "OpenGL32" )
// MFC
#include "stdafx.h"
//GUI
#include "MainWnd.h"
#include "FullscreenSettings.h"
// Internals
#include "../System.h"
#include "../gba/GBA.h"
#include "../gba/Globals.h"
#include "../Util.h"
#include "../gb/gbGlobals.h"
#include "../common/memgz... | wowzaman12/vba | trunk/src/win32/OpenGL.cpp | C++ | gpl-2.0 | 16,390 |
<?php
$consumer_key = $_GET['1'];
$consumer_secret = $_GET['2'];
$oauth_access_token = $_GET['3'];
$oauth_access_token_secret = $_GET['4'];
switch($_GET['url'])
{
case 'timeline':
$rest = 'statuses/user_timeline' ;
$params = Array('count' => $_GET['count'], 'include_rts' => $_GET['include_rts'], 'exclude_... | RomainGoncalves/cadell | wp-content/plugins/social-network-tabs/inc/dcwp_twitter.php | PHP | gpl-2.0 | 36,981 |
import win32pipe
import win32console
import win32process
import time
import win32con
import codecs
import ctypes
user32 = ctypes.windll.user32
CONQUE_WINDOWS_VK = {
'3' : win32con.VK_CANCEL,
'8' : win32con.VK_BACK,
'9' : win32con.VK_TAB,
'12' : win32con.VK_CLEAR,
'13' : win32con.V... | viswimmer1/PythonGenerator | data/python_files/34574373/cmss.py | Python | gpl-2.0 | 2,623 |
class EventsController < ApplicationController
before_filter :authorize_organizer, except: [:index, :show]
def index
@events_upcoming = Event.paginate(page: params[:page_upcoming], :per_page => 5).upcoming()
@events_past = Event.paginate(page: params[:page_past], :per_page => 5).past()
@events_past_cou... | sfreihofer/nama | app/controllers/events_controller.rb | Ruby | gpl-2.0 | 1,094 |
<?php global $woocommerce; ?>
<?php $woocommerce->show_messages(); ?>
<?php do_action('woocommerce_before_customer_login_form'); ?>
<?php if (get_option('woocommerce_enable_myaccount_registration')=='yes') : ?>
<div class="col2-set" id="customer_login">
<div class="col-1">
<?php endif; ?>
<h2><?... | MedvedevKir/gmtest.ru | wp-content/themes/mio/woocommerce/myaccount/form-login.php | PHP | gpl-2.0 | 3,275 |
$('#section').on('click', '[id$="Empty"]', function(event) {
event.preventDefault();
var match = /(.+)Empty/.exec($(event.target).closest('.unwell').attr('id'));
var id = match[1];
var emptyId = match[0];
$('#'+id).trigger('addrow');
$('#'+emptyId).addClass('hidden');
return false;
});
$('#section').on(... | jrouzierinverse/packetfence | html/pfappserver/root/static/admin/config/portal_modules.js | JavaScript | gpl-2.0 | 3,343 |
jQuery(function($){
$.supersized({
//Functionality
slideshow : 1, //Slideshow on/off
autoplay : 1, //Slideshow starts playing automatically
start_slide : 1, //Start slide (0 is random)
slide_interval ... | infosecdev/markroxberry | wp-content/themes/widephoto/supersized/js/supersized.imgs.js | JavaScript | gpl-2.0 | 2,098 |
package com.mmm.product.domain;
import java.io.Serializable;
public class ShippingDetails implements Serializable{
private static final long serialVersionUID = 5941389959992371612L;
}
| Lnjena/mmm.com | mmm-spring-boot/src/main/java/com/mmm/product/domain/ShippingDetails.java | Java | gpl-2.0 | 189 |
package org.jiserte.bioformats.readers.phylip;
import org.jiserte.bioformats.readers.faults.AlignmentReadingFault;
public class FirstBlockLinePhylipFault extends AlignmentReadingFault {
public FirstBlockLinePhylipFault() {
super();
this.setMessage("Sequences in the first block of data must have a descriptio... | javieriserte/XI-bio-formats | XI-Bio-Formats/src/org/jiserte/bioformats/readers/phylip/FirstBlockLinePhylipFault.java | Java | gpl-2.0 | 378 |
<?php
/*=======================================================================
// File: BACKEND.INC.PHP
// Description: All various output backends for QR barcodes available
// Created: 2008-08-01
// Ver: $Id: backend.inc.php 1504 2009-07-06 13:34:57Z ljp $
//
// Copyright (c) 2008 Adi... | noparking/alticcio | core/outils/exterieurs/jpgraph/src/QR/backend.inc.php | PHP | gpl-2.0 | 19,943 |
namespace Tipshare
{
partial class Tipshare
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param ... | nsherrill/Consulting | Concord/Tipshare/Tipshare.Designer.cs | C# | gpl-2.0 | 27,660 |
using SFML.Graphics;
using SFML.Window;
namespace LudumDare.ParticleSystem
{
public class Emitter
{
public Vector2f Position;
public int ParticlesSpawnRate;
public float Spread;
public Color Color;
}
} | WebFreak001/LD-30 | ParticleSystem/Emitter.cs | C# | gpl-2.0 | 249 |
/*
Copyright (c) 2006 Paolo Capriotti <p.capriotti@gmail.com>
(c) 2006 Maurizio Monge <maurizio.monge@kdemail.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... | ruphy/tagua | src/point.cpp | C++ | gpl-2.0 | 3,545 |
/*
* Freeplane - mind map editor
* Copyright (C) 2008 Joerg Mueller, Daniel Polansky, Christian Foltin, Dimitry Polivaev
*
* This file is modified by Felix Natter in 2013.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publi... | freeplane/freeplane | freeplane/src/main/java/org/freeplane/core/resources/components/ButtonProperty.java | Java | gpl-2.0 | 1,600 |
// logs.cpp
//
// Rivendell web service portal -- Log services
//
// (C) Copyright 2013,2016 Fred Gleason <fredg@paravelsystems.com>
//
// 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 F... | NBassan/rivendell | web/rdxport/logs.cpp | C++ | gpl-2.0 | 13,675 |
/***************************************************************************
Copyright (C) 2003-2009 Robby Stephenson <robby@periapsis.org>
***************************************************************************/
/***************************************************************************
* ... | KDE/tellico | src/filterdialog.cpp | C++ | gpl-2.0 | 8,620 |
<?php
/**
* @Project NUKEVIET 4.x
* @Author VINADES.,JSC (contact@vinades.vn)
* @Copyright (C) 2014 VINADES.,JSC. All rights reserved
* @Language Tiếng Việt
* @License CC BY-SA (http://creativecommons.org/licenses/by-sa/4.0/)
* @Createdate Mar 04, 2010, 03:22:00 PM
*/
if (!defined('NV_ADMIN') or !defined('NV_M... | NukeVietCMS/nukeviet | includes/language/vi/admin_authors.php | PHP | gpl-2.0 | 12,863 |
// Copyright 2013 Dolphin Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.
#include <cstddef>
#include <string>
#include <vector>
#include <wx/chartype.h>
#include <wx/defs.h>
#include <wx/dynarray.h>
#include <wx/event.h>
#include <wx/frame.h>
#include <wx/gdicmn.h>
#include <wx/lis... | Asmodean-/dolphin | Source/Core/DolphinWX/FrameAui.cpp | C++ | gpl-2.0 | 25,156 |
/*****************************************************************************
* Free42 -- an HP-42S calculator simulator
* Copyright (C) 2004-2016 Thomas Okken
*
* 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 publish... | axd1967/free42s | common/core_commands4.cc | C++ | gpl-2.0 | 48,956 |
/***************************************************/
/*! \class BiQuad
\brief STK biquad (two-pole, two-zero) filter class.
This class implements a two-pole, two-zero digital filter.
Methods are provided for creating a resonance or notch in the
frequency response while maintaining a constant filter ga... | TheAlphaNerd/theremax | include/stk/BiQuad.cpp | C++ | gpl-2.0 | 2,784 |
/*
* 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/outils/vmap4_extracteur/mpqfile.cpp | C++ | gpl-2.0 | 2,513 |
<div><p><br/></p></div><div class="container">
<div class="row">
<div id="index" class="col-md-3">
<div >
<div class="panel panel-default">
<div class="panel-heading">Classes</div>
<div class="panel-body"><a href="/docs/api/BB_Frame"><span class="indent" style="padding-left:14px;"><i class="... | formigone/big-brother-js | promo-site/application/views/scripts/docs/src/BB_Session_js.php | PHP | gpl-2.0 | 4,500 |
import urllib2
import appuifw, e32
from key_codes import *
class Drinker(object):
def __init__(self):
self.id = 0
self.name = ""
self.prom = 0.0
self.idle = ""
self.drinks = 0
def get_drinker_list():
data = urllib2.urlopen("http://192.168.11.5:8080/drinkcounter/get_da... | deggis/drinkcounter | clients/s60-python/client.py | Python | gpl-2.0 | 1,757 |
package com.mikesantiago.mariofighter;
import static com.mikesantiago.mariofighter.GlobalVariables.PPM;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.physics.... | Luigifan/MarioFighter | core/src/com/mikesantiago/mariofighter/PlayerOne.java | Java | gpl-2.0 | 5,195 |
<?php
class Request {
public static function redirect($to) {
header('Location: ' . Config::get('url') . $to);
}
public static function path() {
return $_SERVER['REQUEST_URI'];
}
public static function method() {
$method = $_SERVER['REQUEST_METHOD'];
if($method === 'PUT') retur... | thatasko/elsa | system/modules/Request.php | PHP | gpl-2.0 | 708 |
/*
* Copyright (c) 1998-2011 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... | dlitz/resin | modules/quercus/src/com/caucho/quercus/lib/spl/OuterIterator.java | Java | gpl-2.0 | 1,187 |
//::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
//
// This file is part of Libmoleculizer
//
// Copyright (C) 2001-2009 The Molecular Sciences Institute.
//
//::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
//
// Moleculizer is free software; you can... | ecell/libmoleculizer | src/libmoleculizer/fnd/dumpStream.hh | C++ | gpl-2.0 | 2,822 |
<?php
// $Id$
/**
* @file
* general functions for mothership
*/
function mothership_id_safe($string, $vars = "default") {
// Replace with dashes anything that isn't A-Z, numbers, dashes, or underscores.
if($vars == "remove-numbers"){
$string = strtolower(preg_replace('/[^a-zA-Z_-]+/', '-', $string));
}els... | aakb/sport-aarhus-events | sites/all/themes/mothership/template/template.functions.php | PHP | gpl-2.0 | 2,637 |
<?php
header("Access-Control-Allow-Origin: *");
header("Content-Type: application/json; charset=UTF-8");
global $DB;
global $USER;
// Require config.php file for database connection // 1
require_once('/home/libecour/public_html/moodle/config.php');
// Get quiz number // 2
$quiz = $_GET['quiz']... | LIBE-VLE/libecour | pe/abilitylevellog.php | PHP | gpl-2.0 | 1,922 |
/*
* AudioCore.c: Implements the JNi interface and handles
*
* (C) Copyright 2015 Simon Grätzer
* Email: simon@graetzer.org
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; version 2
*... | graetzer/AudioSync | app/src/main/jni/AudioCore.cpp | C++ | gpl-2.0 | 7,611 |
package cz.vutbr.fit.xfekia00;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.LinkedList;
/**
* jedno vykonanie skriptu sa uklada ako polozka historie
* @author Filip Fekiac
*/
public class HistoryItem {
private final String usedDatabase; // pouzity databazovy system
private... | waresko18/TempJDBC | src-gui/src/cz/vutbr/fit/xfekia00/HistoryItem.java | Java | gpl-2.0 | 1,674 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author EllisLab Dev Team
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc.
* @copyright Copyrigh... | abhijeetmote/sama | system/database/drivers/postgre/postgre_driver.php | PHP | gpl-2.0 | 16,300 |
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4: */
/**
* Cairo implementation for Image_Transform package
*
* PHP versions 4 and 5
*
* @category Image
* @package Image_Transform
* @subpackage Image_Transform_Driver_Cairowrapper
* @author Christian Weiske <cweiske@php.net>
* @copyright 2008 The P... | mambax7/extgallery | class/pear/Image/Transform/Driver/Cairowrapper.php | PHP | gpl-2.0 | 6,761 |
/*--------------------------------------------------------------------------
*--------------------------------------------------------------------------
*
* Copyright (C) 2011 Gabriel Terejanu - terejanu@cec.sc.edu
*
* This is an application framework for solving the problem of
* predictive model selection of cou... | terejanu/PredictiveSelectionCoupledModels | tests/coupled_OLS_SED_funcs_test.C | C++ | gpl-2.0 | 6,162 |
import sys
import time
import logging
from socketio import socketio_manage
from socketio.mixins import BroadcastMixin
from socketio.namespace import BaseNamespace
from DataAggregation.webdata_aggregator import getAvailableWorkshops
logger = logging.getLogger(__name__)
std_out_logger = logging.StreamHandler(sys.stdo... | ARL-UTEP-OC/emubox | workshop-manager/bin/RequestHandler/client_updater.py | Python | gpl-2.0 | 2,004 |
<?php
/**
* @file
* Contains \Drupal\Core\Lock\LockBackendInterface.
*/
namespace Drupal\Core\Lock;
/**
* @defgroup lock Locking mechanisms
* @{
* Functions to coordinate long-running operations across requests.
*
* In most environments, multiple Drupal page requests (a.k.a. threads or
* proc... | acappellamaniac/eva_website | sites/all/modules/service_container/lib/Drupal/Core/Lock/LockBackendInterface.php | PHP | gpl-2.0 | 4,456 |
def freq_month(obj):
if obj is None or obj == []:
return
months = {1: 'jan',
2: 'feb',
3: 'mar',
4: 'apr',
5: 'may',
6: 'jun',
7: 'jul',
8: 'aug',
9: 'sep',
10: 'oct',
... | bluciam/ruby_versus_python | other/dicco_numbers.py | Python | gpl-2.0 | 857 |
# -*- coding: utf-8 -*-
#
# pynag - Python Nagios plug-in and configuration environment
# Copyright (C) 2010 Drew Stinnet
#
# 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 th... | kaji-project/pynag | pynag/Parsers/__init__.py | Python | gpl-2.0 | 129,457 |
<?php
/**
* also_purchased_products.php
*
* @package modules
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: also_purchased_products.php 5369 2006-12-23 10... | picaflor-azul/dover_fine | dover_fine/files/includes/modules/dover_fine/also_purchased_products.php | PHP | gpl-2.0 | 2,803 |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\Css\PreProcessor\File\FileList;
use Magento\Framework\View\File\FileList\CollateInterface;
/**
* File list collator
*/
class Collator implements CollateInterface
{
/**
* Colla... | kunj1988/Magento2 | lib/internal/Magento/Framework/Css/PreProcessor/File/FileList/Collator.php | PHP | gpl-2.0 | 1,020 |
package org.lastbamboo.common.util.mina.decode.binary;
import org.littleshoot.mina.common.ByteBuffer;
import org.littleshoot.mina.filter.codec.ProtocolDecoderOutput;
import org.littleshoot.util.mina.DecodingState;
/**
* Decoding state for reading a single unsigned int.
*/
public abstract class UnsignedIntDecodingSt... | adamfisk/littleshoot-client | common/util/mina/src/main/java/org/lastbamboo/common/util/mina/decode/binary/UnsignedIntDecodingState.java | Java | gpl-2.0 | 1,151 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2011-2012 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | vishwaAbhinav/OpenNMS | opennms-config/src/main/java/org/opennms/netmgt/config/datacollection/MibObj.java | Java | gpl-2.0 | 15,302 |
<?php
/**
* @author Antonio Durán Terrés
* @package Joomdle
* @license GNU/GPL
*
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
// Import Joomla! libraries
jimport( 'joomla.application.component.view');
require_once( JPATH_COMPONENT.'/helpers/content.php' );
require_once( JPATH... | LauraRey/oacfdc | administrator/components/com_joomdle/views/customprofiletypes/view.html.php | PHP | gpl-2.0 | 2,060 |
/***************************************************************************
* Copyright 2007 Robert Gruber <rgruber@users.sourceforge.net> *
* *
* This program is free software; you can redistribute it and/or modify *
* it unde... | mali/kdevplatform | plugins/cvs/tests/test_cvs.cpp | C++ | gpl-2.0 | 4,139 |
#!/usr/bin/env python
import unittest
from werkzeug.exceptions import NotFound, Forbidden
from tests.logic_t.layer.LogicLayer.util import generate_ll
class TaskPrioritizeBeforeLogicLayerTest(unittest.TestCase):
def setUp(self):
self.ll = generate_ll()
self.pl = self.ll.pl
def test_add_prio... | izrik/tudor | tests/logic_t/layer/LogicLayer/test_task_prioritize.py | Python | gpl-2.0 | 36,403 |
<?php
/**
* @file
* Default theme implementation to display a single Drupal page.
*
* The doctype, html, head and body tags are not in this template. Instead they
* can be found in the html.tpl.php template in this directory.
*
* Available variables:
*
* General utility variables:
* - $base_path: The base URL... | toniabhi/hclcausefight | sites/all/themes/md_leaders/templates/page--comment--reply.tpl.php | PHP | gpl-2.0 | 6,117 |
<?php
/**
* @package Surveyforce
* @version 1.1-modified
* @copyright JooPlce Team, 臺北市政府資訊局, Copyright (C) 2016. All rights reserved.
* @license GPL-2.0+
* @author JooPlace Team, 臺北市政府資訊局- http://doit.gov.taipei/
*/
defined('_JEXEC') or die('Restric... | taipeicity/i-voting | administrator/components/com_surveyforce/controller.php | PHP | gpl-2.0 | 8,229 |
package org.mo.com.io;
public class FLinkInput
{
}
| favedit/MoPlatform | mo-1-common/src/lang-java/org/mo/com/io/FLinkInput.java | Java | gpl-2.0 | 52 |
<?php
/*
* This file is part of EC-CUBE
*
* Copyright(c) 2000-2013 LOCKON CO.,LTD. All Rights Reserved.
*
* http://www.lockon.co.jp/
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; ei... | kazuma-fujita/taheebo-ec | data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_BcRanking.php | PHP | gpl-2.0 | 7,846 |
/*
Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009 Mark Aylett <mark.aylett@gmail.com>
This file is part of Aug written by Mark Aylett.
Aug is released under the GPL with the additional exemption that compiling,
linking, and/or using OpenSSL is allowed.
Aug is free software; you can redistribute it and/or... | marayl/aug | src/cpp/augutilpp/log.hpp | C++ | gpl-2.0 | 2,797 |
<?php
/**
* Item Controller
*
* @package ReReplacer
* @version 5.4.4
*
* @author Peter van Westen <peter@nonumber.nl>
* @link http://www.nonumber.nl
* @copyright Copyright © 2012 NoNumber All Rights Reserved
* @license http://www.gnu.org/licenses/gpl-2.0.html G... | cristhian-fe/EidonKaires | administrator/components/com_rereplacer/controllers/item.php | PHP | gpl-2.0 | 682 |
/*
* Copyright (c) 2000, 2015, 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 ... | gaoxiaojun/dync | src/share/vm/c1/c1_LIRAssembler.cpp | C++ | gpl-2.0 | 23,698 |
define(function () {
return {
customerAccount: ['CustomerAccountService', function (CustomerAccountService) {
return CustomerAccountService.getCurrent();
}]
};
});
| lordmarkm/tyrael-laundry | tyrael-laundry-dist/src/main/webapp/common/resolve/JobOrderListResolve.js | JavaScript | gpl-2.0 | 182 |
/*
Tests multidimensional numerical integration using cubature.
Copyright 2014 Ilja Honkonen
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 ... | nasailja/background_B | tests/integration/cubature_multidim.cpp | C++ | gpl-2.0 | 8,198 |
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Components.Aphid.Parser
{
public class AphidExpressionBinder : SerializationBinder
{
private const string _prefix = "System.Collections.Generic.List`1[[";
public override Type BindToType(st... | John-Leitch/Aphid | Components.Aphid/Parser/Mutators/AphidExpressionBinder.cs | C# | gpl-2.0 | 677 |
<?php
global $VISUAL_COMPOSER_EXTENSIONS;
?>
<div id="ts-settings-files" class="tab-content">
<div class="ts-vcsc-section-main">
<div class="ts-vcsc-section-title ts-vcsc-section-show"><i class="dashicons-download"></i>External Files Settings</div>
<div class="ts-vcsc-section-content">
<div class="ts-vcsc-noti... | baochung26/happy-c | wp-content/plugins/ts-visual-composer-extend/assets/ts_vcsc_settings_external.php | PHP | gpl-2.0 | 14,684 |
package com.app.labeli;
import com.app.labeli.member.Member;
import net.tools.*;
import android.app.ProgressDialog;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.view.LayoutInflater;
import an... | asso-labeli/labeli-android-app | src/com/app/labeli/FragmentConnection.java | Java | gpl-2.0 | 3,863 |
require File.join(File.dirname(__FILE__), '..', 'spec_helper.rb')
given "a message exists" do
Message.all.destroy!
request(resource(:messages), :method => "POST",
:params => { :message => { :id => nil }})
end
describe "resource(:messages)" do
describe "GET" do
before(:each) do
@response = re... | alfanick/irc-logger | spec/requests/messages_spec.rb | Ruby | gpl-2.0 | 2,551 |
<?php
if (isset($_POST['_wpcf7_mail_sent'])) {
$expire=time()+60*60*24*30*2;
setcookie("surveySent2", "true", $expire, '/');
}
/*************
!!!!!!!IMPORTANT!!!!!!!!
If you change the styles then edit the stylesheet querystring here!
*************/
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"... | leeparsons/tpp | wp-content/themes/aparatus/header.php | PHP | gpl-2.0 | 7,679 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
/// <summary>
/// An AND gate class to store the correct image and
/// calculate the appropriate output
/// </summary>
public class AndGate : Gate
{
/// <summary>
/// Constructor
/// ... | Dominykasrr/Logic-Circuit-Sim | Circuit Simulator/CircuitSimLib/GeneratedCode/AndGate.cs | C# | gpl-2.0 | 944 |
<?php
$social_channels = $view_data['settings']['right_tab']['social_channels'];
$bar_layout_design = $view_data['settings']['right_tab']['bar_layout_design'];
$call_to_action = $view_data['settings']['right_tab']['call_to_action'];
$visibility_settings = $view_data['settings']['right_tab']['visibility_settings... | suneeshps/wordpress | wp-content/plugins/share-social/views/tab_modals/right_tab_modals.php | PHP | gpl-2.0 | 21,979 |
// -*-C++ -*-
/** \file
********************************************************************
* Device shape base class for route window.
*
* \author Rüdiger Krauße,
* Tobias Schlemmer <keinstein@users.sourceforge.net>
* \license GPL
*
* This program is free software; you can redistribute it and/or modify
* it und... | keinstein/mutabor | src/wxGUI/Routing/DeviceShape.cpp | C++ | gpl-2.0 | 15,501 |
package teammates.test.cases.action;
import org.testng.annotations.Test;
import teammates.common.datatransfer.DataBundle;
import teammates.common.datatransfer.attributes.FeedbackQuestionAttributes;
import teammates.common.datatransfer.attributes.FeedbackResponseAttributes;
import teammates.common.datatransfer.attribu... | Gorgony/teammates | src/test/java/teammates/test/cases/action/InstructorFeedbackSubmissionEditSaveActionTest.java | Java | gpl-2.0 | 34,801 |
# accounts/authentication.py
import requests
import logging
from django.conf import settings
from django.contrib.auth import get_user_model
logger = logging.getLogger(__name__)
User = get_user_model()
PERSONA_VERIFY_URL = 'https://verifier.login.persona.org/verify'
#DOMAIN = 'localhost'
#DOMAIN = 'http://hotzenplot... | thomec/tango | accounts/authentication.py | Python | gpl-2.0 | 1,296 |
#include <iostream>
#include <fstream>
#include <iterator>
#include <string>
#include <set>
#include <stdio.h>
#include <algorithm>
using namespace std;
typedef unsigned long long U64;
typedef int S32;
typedef unsigned int U32;
typedef struct tag_things
{
U64 nCode; // 编码
S32 nLongitu... | opensvn/cpp_primer_5th | set_rec.cc | C++ | gpl-2.0 | 2,553 |
import os
import sys
import subprocess
testP = {
"2005": [
{
"date": "2005-10-17",
"videos": [
"http://thecolbertreport.cc.com/videos/61f6xj/intro---10-17-05",
"http://thecolbertreport.cc.com/videos/w9dr6d/first-show",
"http://thecolbertreport.cc.com/videos/63ite2/the-word---t... | traltixx/pycolbert | pycolbert.py | Python | gpl-2.0 | 853,594 |
<?php
/**
* youtubegallery Joomla! 2.5 Native Component
* @version 3.5.3
* @author DesignCompass corp< <support@joomlaboat.com>
* @link http://www.joomlaboat.com
* @GNU General Public License
**/
defined('_JEXEC') or die('Restricted access');
require_once(JPATH_SITE.DS.'components'.DS.'com_youtubeg... | sekret47/konstantin | modules/mod_youtubegallery/mod_youtubegallery.php | PHP | gpl-2.0 | 2,624 |
<?php
$absolute_path = __FILE__;
$path_to_file = explode( 'wp-content', $absolute_path );
$path_to_wp = $path_to_file[0];
require_once( $path_to_wp.'/wp-load.php' );
$to = isset($_POST['to'])?trim($_POST['to']):'';
$name = isset($_POST['name'])?trim($_POST['name']):'';
$email = isset($_POST['email'])?trim($_POST['em... | invifire/ci | wp-content/themes/flipbook/includes/mail.php | PHP | gpl-2.0 | 688 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | BIORIMP/biorimp | BIO-RIMP/test_data/code/cio/src/main/java/org/apache/commons/io/monitor/FileEntry.java | Java | gpl-2.0 | 7,542 |
using System;
namespace Server.Items
{
public class StatuetteDyeTub : DyeTub, Engines.VeteranRewards.IRewardItem
{
public override bool AllowDyables{ get{ return false; } }
public override bool AllowStatuettes{ get{ return true; } }
public override int TargetMessage{ get{ return 1049777; } } // Target the stat... | brodock/sunuo | scripts/legacy/Items/Skill Items/Tailor Items/Dyetubs/StatuetteDyeTub.cs | C# | gpl-2.0 | 1,609 |
// Copyright (c) 2016- PPSSPP Project.
// 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.0 or later versions.
// This program is distributed in the hope that it will be useful,
// b... | Orphis/ppsspp | GPU/Vulkan/VulkanUtil.cpp | C++ | gpl-2.0 | 12,334 |
'use strict';
angular.module('sbAdminApp')
.controller('CustomerListCtrl', function ($scope, $http, $rootScope, $stateParams, $location) {
$scope.page = {itemsPerPage: 20};
$scope.iForm = {pageSize : $scope.page.itemsPerPage};
$scope.showLevel = true;
if ($stateParams.searchFound... | wangguodong577/qqj-backend | admin/src/main/webapp/app/org/customer-list.js | JavaScript | gpl-2.0 | 1,606 |
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly.
/**
* Add meta boxes to selected post types
*/
function bpg_add_meta_box() {
$post_types = bpg_allowed_post_types();
if ( ! $post_types )
return;
foreach ( $post_types as $post_type => $status ) {
add_meta_box( 'bpg', apply_fi... | stevendejongnl/WordPress-Better-Photo-Gallery-Plugin | includes/metabox.php | PHP | gpl-2.0 | 7,550 |
/* _______ __ __ __ ______ __ __ _______ __ __
* / _____/\ / /\ / /\ / /\ / ____/\ / /\ / /\ / ___ /\ / |\/ /\
* / /\____\// / // / // / // /\___\// /_// / // /\_/ / // , |/ / /
* / / /__ / / // / // / // / / / ___ / // ___ / // /| ' / /
* / /_// /\ / /_// / // / // /_/... | mekolat/elektrogamesvn | libraries/include/guichan/contrib/allegro/allegroglyphkeeperfont.hpp | C++ | gpl-2.0 | 4,411 |