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 |
|---|---|---|---|---|---|
#!hyphen-venv/bin/python
import imp
from migrate.versioning import api
from app import db
from config import SQLALCHEMY_DATABASE_URI
from config import SQLALCHEMY_MIGRATE_REPO
migration = SQLALCHEMY_MIGRATE_REPO + \
'/versions/%03d_migration.py' % \
(api.db_version(
... | bkfunk/HyphenCMS | db_migrate.py | Python | gpl-2.0 | 1,012 |
<?php
/**
* ChronoCMS version 1.0
* Copyright (c) 2012 ChronoCMS.com, All rights reserved.
* Author: (ChronoCMS.com Team)
* license: Please read LICENSE.txt
* Visit http://www.ChronoCMS.com for regular updates and information.
**/
namespace GCore\Admin\Extensions\Chronoforms\Actions\FileDownload;
/*** FILE_DIRECT_ACCES... | mowema/mmusica | wp-content/plugins/chronoforms/admin/chronoforms/actions/file_download/file_download.php | PHP | gpl-2.0 | 1,590 |
/*
* Seven Kingdoms: Ancient Adversaries
*
* Copyright 1997,1998 Enlight Software Ltd.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your op... | brianV/7kaa | src/client/OUNITAI.cpp | C++ | gpl-2.0 | 32,657 |
/**
Copyright (C) SYSTAP, LLC 2006-2015. All rights reserved.
Contact:
SYSTAP, LLC
2501 Calvert ST NW #106
Washington, DC 20008
licenses@systap.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 S... | rac021/blazegraph_1_5_3_cluster_2_nodes | bigdata-rdf/src/test/com/bigdata/rdf/sparql/ast/optimizers/TestASTFilterNormalizationOptimizer.java | Java | gpl-2.0 | 79,136 |
# pylint:disable=R0201
from OpenOrange import *
from User import User
from RetroactiveAccounts import RetroactiveAccounts
class HeirFinder(RetroactiveAccounts):
def doReplacements(self, txt):
d = {1:"ONE", 2:"TWO"}
us = User.bring("USER")
txt = txt.replace(":1", us.Name + d[1])
re... | ancho85/pylint-playero-plugin | tests/input/func_noerror_query_heir.py | Python | gpl-2.0 | 522 |
/***************************************************************************
SignalVisitor.cpp - description
-------------------
begin : Wed Jan 26 2000
copyright : (C) 2000 by Henrik Enqvist
email : henqvist@e... | rzr/pinball | base/SignalSender.cpp | C++ | gpl-2.0 | 3,167 |
<!-- Post sidebar -->
<aside class="add-side">
<!-- Social news -->
<div class="aside-block">
<h3 class="main-title">Популярне за тиждень</h3>
<ul class="aside-social-news">
<?php
//TODO: get just last weeks posts
$topPosts = array();
$data = toolsApiRequest("news.posts.topviewed", array("count" =>... | okononenko/hromadske | wp-content/themes/CHTV/sidebar.php | PHP | gpl-2.0 | 3,624 |
<?php
/**
* Custom functions that act independently of the theme templates
*
* Eventually, some of the functionality here could be replaced by core features.
*
* @package evolt
*/
/**
* Adds custom classes to the array of body classes.
*
* @param array $classes Classes for the body element.
* @return array
... | alineEvolt/evolt | inc/extras.php | PHP | gpl-2.0 | 1,921 |
/**
* 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/BenchmarkTest18518.java | Java | gpl-2.0 | 2,872 |
<?php
namespace GL\Core\Exception;
/*
* Based on HttpKernel Symfony module
*/
class HttpException extends \RuntimeException
{
private $statusCode;
private $headers;
public function __construct($statusCode, $message = null, \Exception $previous = null, array $headers = array(), $code = 0)
{
... | kletellier/MVC | vendor/GL/Core/Exception/HttpException.php | PHP | gpl-2.0 | 616 |
#include "src/gcreatedialog.h"
#include "ui_gcreatedialog.h"
GCreateDialog::GCreateDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::GCreateDialog)
{
ui->setupUi(this);
ui->lineEdit_GName->setStyleSheet("QLineEdit#lineEdit_GName { border-radius: 2px; }");
}
GCreateDialog::~GCreateDialog()
{
d... | mkocs/BusinessCount | src/gcreatedialog.cpp | C++ | gpl-2.0 | 332 |
package net.iharding.core.timer;
import java.text.ParseException;
import net.iharding.modules.task.model.TimeTask;
import net.iharding.modules.task.service.TimeTaskService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.quartz.CronTriggerFactoryBean;
/**
* spri... | joezxh/DATAX-UI | eshbase-console/src/main/java/net/iharding/core/timer/DataBaseCronTriggerBean.java | Java | gpl-2.0 | 1,042 |
// bsp.cpp -- by Thatcher Ulrich <tu@tulrich.com> 2001
// This code is in the public domain.
// Code to make a collision-bsp tree out of triangle soup.
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <engine/utility.h>
#include <engine/bsp.h>
const bool print_debug = 0;
/*
sort faces by size?... | nsmoooose/csp | csp/tools/chunkdemo_prototype/engine/bsp.cpp | C++ | gpl-2.0 | 12,653 |
<<<<<<< HEAD
<?php
/*
* $Id$
* v1.0.4
* Friday Sep-02-2011
* @component JooComments
* @copyright Copyright (C) Abhiram Mishra www.bullraider.com
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License version 2 or later;
*/
defined( '_JEXEC' ) or die( 'Restricted access' );
jimport( 'joomla.p... | baxri/cvote | plugins/content/joocomments/joocomments.php | PHP | gpl-2.0 | 27,139 |
/**************************************************************************************
* Copyright (C) 2008 EsperTech, Inc. All rights reserved. *
* http://esper.codehaus.org *
* http://www.espertech.com ... | sungsoo/esper | esper/src/main/java/com/espertech/esper/epl/agg/access/AggregationStateSortedImpl.java | Java | gpl-2.0 | 5,476 |
/*
Copyright 2015 Michelle Mabuyo
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 to in writing, software... | mabuyo/ready-set-press | app/src/main/java/com/cmput301/mmabuyo/readysetpress/GameshowResults.java | Java | gpl-2.0 | 2,703 |
<?php
/**
* @category Core
* @package JomSocial
* @copyright (C) 2008 by Slashes & Dots Sdn Bhd - All rights reserved!
* @license GNU/GPL, see LICENSE.php
*/
// Disallow direct access to this file
defined('_JEXEC') or die('Restricted access');
?>
<fieldset class="adminform" id="com_karmaPoints">
<legend><?php e... | epireve/joomla | administrator/components/com_community/views/configuration/tmpl/karma.php | PHP | gpl-2.0 | 4,180 |
<!--_____________ NODE.TPL BASIQUE _____________________ -->
<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?>">
<div class="node-inner">
<?php /* choix du layout selon nombre de colonne
* .col1_layout_200_570_200{} .col1_layout_330_all{} .col1_layout_18_56_25{}
... | webmasterpf/CyranoD7_ER | templates/node/node.tpl.php | PHP | gpl-2.0 | 2,987 |
<?php
/**
* @package J2Store
* @copyright Copyright (c)2014-17 Ramesh Elamathi / J2Store.org
* @license GNU GPL v3 or later
*/
// No direct access to this file
defined('_JEXEC') or die;
class J2StoreModelProductsBehaviorConfigurable extends F0FModelBehavior {
private $_rawData = array();
public function onAfterGe... | faridrn/Documentary | administrator/components/com_j2store/models/behavior/configurable.php | PHP | gpl-2.0 | 12,512 |
package org.ab.akademikbilisim;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBar;
import android.support.v7.app.ActionBarActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.TextVi... | akademikbilisim/ab2015-android-a | ab2015-3/app/src/main/java/org/ab/akademikbilisim/Detay.java | Java | gpl-2.0 | 2,025 |
from __future__ import division
from __future__ import print_function
from __future__ import absolute_import
import wx
from .common import update_class
class Separator(wx.StaticLine):
def __init__(self, parent):
wx.StaticLine.__init__(self, parent.get_container(), -1,
wx.Defau... | lunixbochs/fs-uae-gles | launcher/fs_uae_launcher/fsui/wx/separator.py | Python | gpl-2.0 | 394 |
<?php
get_header();
?>
<section id="content">
<div class="container block">
<div class="row">
<div id="main" class="col-md-9">
<?php if ( have_posts()) : ?>
<header class="page-header">
<h1 class="page-title"><?php printf( __( 'Category Archives: %s', ... | saiponethaaung/mjs | wp-content/themes/borhters/category.php | PHP | gpl-2.0 | 2,048 |
package cmd
import (
"fmt"
"time"
"github.com/spf13/cobra"
"github.com/streadway/amqp"
)
// rabbitCmd represents the rabbit command
var rabbitCmd = &cobra.Command{
Use: "rabbit",
Short: "A brief description of your command",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("Connecting to RabbitM... | zhongwei/zgo | cmd/rabbit.go | GO | gpl-2.0 | 1,545 |
<?php
/**
* Generates HTML from tokens.
* @todo Refactor interface so that configuration/context is determined
* upon instantiation, no need for messy generateFromTokens() calls
* @todo Make some of the more internal functions protected, and have
* unit tests work around that
*/
class HTMLPurifier_Ge... | mambax7/257 | htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Generator.php | PHP | gpl-2.0 | 10,254 |
<?php
/**
* DB Replacer Default View
*
* @package DB Replacer
* @version 3.2.0
*
* @author Peter van Westen <peter@nonumber.nl>
* @link http://www.nonumber.nl
* @copyright Copyright © 2014 NoNumber All Rights Reserved
* @license http://www.gnu.org/licenses/gpl-... | xmarlem/BM_stage | administrator/components/com_dbreplacer/views/default/view.html.php | PHP | gpl-2.0 | 3,525 |
<?php
/**
* @package hubzero-cms
* @copyright Copyright (c) 2005-2020 The Regents of the University of California.
* @license http://opensource.org/licenses/MIT MIT
*/
defined('_HZEXEC_') or die();
$canDo = \Components\Cart\Admin\Helpers\Permissions::getActions('orders');
Toolbar::title(Lang::txt('COM_CAR... | hubzero/hubzero-cms | core/components/com_cart/admin/views/orders/tmpl/downloadorders.php | PHP | gpl-2.0 | 4,044 |
/* **************************************************************
#Inicia as funções e plugins
* ***************************************************************/
(function() {
// Ativa o menu mobile
app.menu();
// Ativa o slideshow, se presente na página.
var slideshow = document.getElementById("slider");
... | nelclassico/hapvidaplanos | wp-content/themes/hapvida/src/js/init.js | JavaScript | gpl-2.0 | 969 |
/**
\file "util/STL/stack_fwd.hh"
Forward declaration of std::stack.
No wrapping.
$Id: stack_fwd.hh,v 1.6 2006/04/23 07:37:29 fang Exp $
*/
#ifndef __UTIL_STL_STACK_FWD_HH__
#define __UTIL_STL_STACK_FWD_HH__
#include "util/STL/deque_fwd.hh"
BEGIN_NAMESPACE_STD
// doesn't like redeclaring default template arg... | fangism/hackt | src/util/STL/stack_fwd.hh | C++ | gpl-2.0 | 684 |
/* Copyright (c) MediaArea.net SARL. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license that can
* be found in the License.html file in the root of the source tree.
*/
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//
// Elements part
//
//++++++++... | pavel-pimenov/flylinkdc-r5xx | MediaInfoLib/Source/MediaInfo/Multiple/File_Wm_Elements.cpp | C++ | gpl-2.0 | 86,075 |
'use strict';
function solve(args) {
var $number = +args[0];
var $significantBit = $number => (($number >> 3) & 1);
console.log($significantBit($number));
}
solve(['15']);
solve(['1024']); | iDonev/JavaScript-Fundamentals | Lecture 5. Operators and Expressions/ThirdBit.js | JavaScript | gpl-2.0 | 199 |
<?php
/**
* Created by PhpStorm.
* User: jantonio
* Date: 21/10/15
* Time: 14:11
*/
require_once ("../modules/Federations.php");
$feds=Federations::getFederationList();
foreach($feds as $fed) {
echo "ID:{$fed['ID']} : {$fed['LongName']}\n";
// print_r($fed);
}
?> | nedy13/AgilityContest | agility/tests/Federation_test.php | PHP | gpl-2.0 | 276 |
/***********************************************************************
Mosaicker - Program to reproject, resample, and join a set of
georeferenced color images into a single multiresolution mosaic image.
Copyright (c) 2007-2008 Oliver Kreylos
This file is part of the DEM processing and visualization package.
T... | KeckCAVES/crusta | src/construo/Construo.cpp | C++ | gpl-2.0 | 8,225 |
package controllers;
import play.mvc.*;
public class PublicMementoControl extends Controller {
public static Result getRandomMemento(String lang) {
/** @TODO */
return TODO;
}
public static Result getMemento(Long mid) {
/** @TODO */
return TODO;
}
public static Result getMementoList(Long decad... | cdparra/reminiscens-lifeapi | app/controllers/PublicMementoControl.java | Java | gpl-2.0 | 429 |
<?php
/**
* @Project SectionCategoryArticleList
* @author Mathias Hortig
* @package SectionCategoryArticleList
* @copyright Copyright (C) 2011-2012 tuts4you.de . All rights reserved.
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU/GPL version 2
*/
// No direct access
defined( ... | thiyagarajan/newschool | components/com_sectioncategoryarticlelist/controller.php | PHP | gpl-2.0 | 632 |
package dk.dmaa0214.controllerLayer;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import javax.xml.bind.DatatypeConverter;
import com.gargoylesoftware.htmlunit.DefaultCredentialsProvider;
impo... | CodingDK/eCampus-Dmaa0214 | eCampus-Dmaa0214/src/dk/dmaa0214/controllerLayer/SPNewsScraper.java | Java | gpl-2.0 | 5,592 |
<?php
/**
* @package Azura Joomla Pagebuilder
* @author Cththemes - www.cththemes.com
* @date: 15-07-2014
*
* @copyright Copyright ( C ) 2014 cththemes.com . All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('_JEXEC') or die;
$classes = "azp_icon... | charlanalves/mfmiguel | templates/hoxa/html/com_azurapagebuilder/plugin/shortcodes_template/azuraiconbox-zoomindelay.php | PHP | gpl-2.0 | 1,520 |
<?php if ( ! function_exists( 'et_custom_comments_display' ) ) :
function et_custom_comments_display($comment, $args, $depth) {
$GLOBALS['comment'] = $comment; ?>
<li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>">
<div class="comment-top-left"></div>
<div class="comment-top-main"></di... | rjbaniel/upoor | wp-content/themes/TheCorporation/includes/functions/comments.php | PHP | gpl-2.0 | 1,835 |
<?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\DICOM;
use PHPExiftool\Driver\AbstractTag;
class EdgeP... | Droces/casabio | vendor/phpexiftool/phpexiftool/lib/PHPExiftool/Driver/Tag/DICOM/EdgePointIndexList.php | PHP | gpl-2.0 | 724 |
using UnityEngine;
[RequireComponent(typeof(SpriteRenderer))]
public class SpriteEntity : MonoBehaviour {
public SpriteRenderer SpriteRenderer { get; protected set; }
public float Width { get { return SpriteRenderer.bounds.size.x; } }
public float Height { get { return SpriteRenderer.bounds.size.y; } }
... | HyagoOliveira/NewAmaru | Assets/Scripts/GamePlatform/Sprites/SpriteEntity.cs | C# | gpl-2.0 | 770 |
/*
(c) Copyright 2002, 2003 Rogier van Dalen
(R.C.van.Dalen@umail.leidenuniv.nl for any comments, questions or bugs)
This file is part of my OpenType/TrueType Font Tools.
The OpenType/TrueType Font Tools is free software; you can redistribute
it and/or modify it under the terms of the GNU General Public License ... | kennytm/tticomp | TrueTypeViewer/glyphviewerdialogextension.cpp | C++ | gpl-2.0 | 2,739 |
<?php
/*---------------------------------------------------------------
# Package - Joomla Template based on CGrocket Framework
# ---------------------------------------------------------------
# Author - CGrocket http://www.cgrocket.com
# Copyright (C) 2011 - 2012 Cgrocket.com. All Rights Reserved.
# license ... | anhtuan8591/shop | plugins/system/cgrocket/core/class.jsmin.php | PHP | gpl-2.0 | 6,383 |
<?php
/*
@Module: List view
@Since: 1.0
@Package: WooComposer
*/
if(!class_exists('WooComposer_ViewCarousel')){
class WooComposer_ViewCarousel
{
function __construct(){
add_action('admin_init',array($this,'WooComposer_Init_Carousel'));
add_shortcode('woocomposer_carousel',array($this,'WooComposer_C... | jlrc23/hotelMarbella | wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php | PHP | gpl-2.0 | 18,006 |
<?php
/**
* Bottom Margin Control
*
* Outputs a jquery ui slider to allow the
* user to control the bottom margin of an
* element.
*
* @package Easy_Google_Fonts
* @author Sunny Johal - Titanium Themes <support@titaniumthemes.com>
* @license GPL-2.0+
* @link http://wordpress.org/plugins/easy-go... | magnusvaughan/emmettphotography | wp-content/plugins/easy-google-fonts/views/customizer/control/positioning/margin/bottom.php | PHP | gpl-2.0 | 1,101 |
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="ie6 ie" lang="<?php print $language->language; ?>" dir="<?php print $language->dir; ?>"> <![endif]-->
<!--[if IE 7]> <html class="ie7 ie" lang="<?php print $language->language; ?>" dir="<?php print $language->dir; ?>"> <![endif]-->
<!--[if IE 8]> <html class="ie8 ie"... | Tahiche/bambuproducciones.tahiche.es | sites/all/themes/BambuTema/templates/html.tpl.php | PHP | gpl-2.0 | 2,213 |
/*
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* The Universal Permissive License (UPL), Version 1.0
*
* Subject to the condition set forth below, permission is hereby granted to any
* person obtaining a copy of ... | smarr/Truffle | truffle/src/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/TruffleExceptionTest.java | Java | gpl-2.0 | 31,384 |
/**********
This library 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 2.1 of the License, or (at your
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This libr... | pilt/stream-server | live-media/liveMedia/StreamParser.hh | C++ | gpl-2.0 | 4,434 |
/*
* Copyright (c) 1997, 2013, 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 ... | google/desugar_jdk_libs | jdk11/src/libcore/ojluni/src/main/java/java/security/KeyStore.java | Java | gpl-2.0 | 77,059 |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="pl" version="2.1">
<context>
<name>main</name>
<message>
<source>System Preferences</source>
<translation>Ustawienia systemu</translation>
</message>
<message>
<source>Keywords</source>
<translation type="unfinished"/>
... | hawaii-desktop/hawaii-system-preferences | shells/translations/desktopshell_pl.ts | TypeScript | gpl-2.0 | 657 |
/*
* Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundati... | TheTypoMaster/Scaper | openjdk/jdk/test/java/lang/management/ThreadMXBean/SynchronizerDeadlock.java | Java | gpl-2.0 | 5,419 |
/*
* Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Fou... | TheTypoMaster/Scaper | openjdk/jdk/src/share/classes/sun/swing/table/DefaultTableCellHeaderRenderer.java | Java | gpl-2.0 | 7,302 |
/*
A hashtable class, supports a more efficient lookup than standard dynamic relations
(c) 2001-2006 F.G. McCabe
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 Lice... | fmccabe/go | go/hash.go | GO | gpl-2.0 | 2,503 |
# multiAgents.py
# --------------
# Licensing Information: You are free to use or extend these projects for
# educational purposes provided that (1) you do not distribute or publish
# solutions, (2) you retain this notice, and (3) you provide clear
# attribution to UC Berkeley, including a link to
# http://inst.ee... | sumitb/cse537 | multiagent/multiAgents.py | Python | gpl-2.0 | 7,379 |
<?php
/**
* @package HikaShop for Joomla!
* @version 2.6.4
* @author hikashop.com
* @copyright (C) 2010-2016 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php
$style = '';
if(@$this->element['sma... | khuongdang/dongtrungtruongsinh | administrator/components/com_hikashop/views/cartmodules/tmpl/options_price.php | PHP | gpl-2.0 | 3,899 |
/*
* This file is modified by Ivan Maidanski <ivmai@ivmaisoft.com>
* Project name: JCGO-SUNAWT (http://www.ivmaisoft.com/jcgo/)
*/
/*
* @(#)BasicSpinnerUI.java 1.18 06/08/17
*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
... | ivmai/JCGO | sunawt/fix/javax/swing/plaf/basic/BasicSpinnerUI.java | Java | gpl-2.0 | 33,804 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Workflow.Model
{
[Serializable]
public partial class Sys_User_Info_Model
{
public Sys_User_Info_Model()
{ }
#region Model
private int _user_id;
private string _user_name;... | xlgwr/wf | Workflow.Model/Sys_User_Info_Model.cs | C# | gpl-2.0 | 3,558 |
<?php
// Name : Addressbook Model
// Desc : Addressbook & Fax Book
// namespace app\module;
final class app_module_AddressbookModel extends app_engine_Model {
//
// DB Structure
public function __construct($reg){
// Call parent's Construct
parent::__construct($reg);
//
// Structure the Database
... | wonsong82/wonframework | system/module/addressbook/model.php | PHP | gpl-2.0 | 687 |
/*
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later ve... | Hlkz/Acore | src/server/authserver/Authentication/AuthCodes.cpp | C++ | gpl-2.0 | 2,392 |
<?php
/**
* Gerenciador Clínico Odontológico
* Copyright (C) 2006 - 2009
* Autores: Ivis Silva Andrade - Engenharia e Design(ivis@expandweb.com)
* Pedro Henrique Braga Moreira - Engenharia e Programação(ikkinet@gmail.com)
*
* Este arquivo é parte do programa Gerenciador Clínico Odont... | artsjedi/GCO | http/honorarios/gerenciar_ajax.php | PHP | gpl-2.0 | 4,493 |
# -*- coding: utf-8 -*-
#
# This file is part of CERN Document Server.
# Copyright (C) 2016, 2019 CERN.
#
# CERN Document Server 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
# Licens... | CERNDocumentServer/cds | tests/e2e/conftest.py | Python | gpl-2.0 | 5,085 |
/*
* Copyright (c) 2010, 2017, 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 ... | teamfx/openjfx-9-dev-rt | modules/javafx.graphics/src/main/java/javafx/stage/PopupWindow.java | Java | gpl-2.0 | 41,662 |
<?php
/* Import the settings*/
require('config/settings.php');
if ($_GET) {
/* Build query */
$data = array('id'=>$_GET['id'],
'DetailFields'=>DETAIL_FIELDS,
'token'=>SF_SECURITY_TOKEN);
$query = SALESFORCE_URL . DETAIL_PAGE . '?' . http_build_query($data);
/* Connecting Salesforce - Load Data */
$xml = ... | konsti/Propertybase-Sites-Weblisting | detail.php | PHP | gpl-2.0 | 3,881 |
/**
* 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/BenchmarkTest11696.java | Java | gpl-2.0 | 2,757 |
//
// go-rencode v0.1.8 - Go implementation of rencode - fast (basic)
// object serialization similar to bencode
// Copyright (C) 2015~2019 gdm85 - https://github.com/gdm85/go-rencode/
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Publ... | gdm85/go-rencode | doc.go | GO | gpl-2.0 | 2,531 |
using System;
namespace iPem.Core.Enum {
/// <summary>
/// 报文返回结果
/// </summary>
/// <remarks>
/// 失败(FAILURE)
/// 成功(SUCCESS)
/// </remarks>
public enum EnmBIResult {
FAILURE = 0,
SUCCESS = 1
}
/// <summary>
/// 信号值的状态
/// </summary>
... | Delta-SH/iPemSystem | iPem.Core/Enum/EnmBInterface.cs | C# | gpl-2.0 | 4,662 |
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("Li... | alexjosesilva/CursoHelloworld | Lista6/Lista6Questao22/Lista6Questao22/Properties/AssemblyInfo.cs | C# | gpl-2.0 | 1,406 |
#line 3 "<stdout>"
#define YY_INT_ALIGNED short int
/* A lexical scanner generated by flex */
#define yy_create_buffer vhdlscanYY_create_buffer
#define yy_delete_buffer vhdlscanYY_delete_buffer
#define yy_flex_debug vhdlscanYY_flex_debug
#define yy_init_buffer vhdlscanYY_init_buffer
#define yy_flush_buffer vhdlsca... | nimbusios/Doxygen | src/vhdlscanner.cpp | C++ | gpl-2.0 | 499,578 |
<?php
namespace wapmorgan\UnifiedArchive;
use Exception;
use wapmorgan\UnifiedArchive\UnifiedArchive;
class CamApplication {
/**
* @param $file
* @return UnifiedArchive
* @throws Exception
* @throws \Archive7z\Exception
*/
protected function open($file)
{
if (!UnifiedArchi... | smartcitiescommunity/Civikmind | vendor/wapmorgan/unified-archive/src/CamApplication.php | PHP | gpl-2.0 | 11,211 |
<?php
/**
*
* @package phpBB Extension - martin customlastpost
* @copyright (c) 2014 Martin ( https://github.com/Martin-G- )
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
namespace martin\customlastpost\acp;
class main_info
{
function module()
{
return array(
'filenam... | alhitary/CustomLastPost | acp/main_info.php | PHP | gpl-2.0 | 661 |
#include "stdafx.h"
#include "HandleException.h"
#include <dbghelp.h>
#pragma comment ( lib, "dbghelp.lib" )
typedef LONG (WINAPI * UNHANDLEDEXCEPTIONFILTER)
(
struct _EXCEPTION_POINTERS *ExceptionInfo
);
static HANDLE gEventExit = NULL;
static LONG lExceptCode = EXCEPTION_EXECUTE_HANDLER;
static C... | doublesword/commuse | Source/W201621/CKit-3/CKit/Sources/ToolHelper/HandleException.cpp | C++ | gpl-2.0 | 2,910 |
package com.nidzo.filetransfer;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.CheckBox;
impo... | nidzo732/FileTransfer | Android/FileTransfer/app/src/main/java/com/nidzo/filetransfer/MainActivity.java | Java | gpl-2.0 | 5,281 |
<?php
/**
* 2Moons
* Copyright (C) 2012 Jan Kröpke
*
* 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.
*
* Thi... | joancefet/StellarWars | 1.7.3/language/de/L18N.php | PHP | gpl-2.0 | 4,226 |
<?php
class FrmProEntriesController{
public static function admin_js() {
$frm_settings = FrmAppHelper::get_settings();
add_filter('manage_'. sanitize_title($frm_settings->menu) .'_page_formidable-entries_columns', 'FrmProEntriesController::manage_columns', 25);
$page = FrmAppHelper::simple_get... | rafapires/wp4net | wp-content/plugins/formidable/pro/classes/controllers/FrmProEntriesController.php | PHP | gpl-2.0 | 95,719 |
import wpilib
import hal
from wpilib import RobotDrive
class KwarqsDriveMech(RobotDrive):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.weight_multiplier = 1
def set_multiplier(self, in_multi = None):
if in_multi != None :
sel... | frc2423/2015 | recycle_rush/custom/kwarqs_drive_mech.py | Python | gpl-2.0 | 3,114 |
package lab.springboot.authorization.controller;
import lab.springboot.authorization.config.SecurityProperties;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;... | rojarsmith/Lab | lab-springboot/lab-springboot-security-oauth2-authorization-expansion/src/main/java/lab/springboot/authorization/controller/OauthController.java | Java | gpl-2.0 | 734 |
<?php
// Iniciamos sesión para recoger los valores de la búsqueda
session_start();
require_once('conexion.php');
require_once('conexion_old.php');
if(isset($_POST['get_option_producto'])){
$producto = $_POST['get_option_producto'];
$_SESSION['producto'] = $producto;
$find =... | MMariscal/Varios | Buscador_lateral/src/php/fetch_data_producto.php | PHP | gpl-2.0 | 808 |
/** \file decentral_module_management.cpp
* Contains the class functions of the decentral module managemener in
* the \link voraus::Voraus Voraus \endlink framework.
* Author : Martin Seidel
*
* This file depends on decentral_module_management.hpp
**/
#include "decentral_module_management.hpp"
namespace module... | ein57ein/voraus | src/module_management/decentral_module_management.cpp | C++ | gpl-2.0 | 4,314 |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be ... | FauxFaux/jdk9-jdk | test/java/util/concurrent/locks/Lock/Mutex.java | Java | gpl-2.0 | 3,212 |
/*
* Copyright (c) 2007, 2008, 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 ... | shchiu/openjdk | jdk/src/windows/native/sun/java2d/d3d/D3DSurfaceData.cpp | C++ | gpl-2.0 | 19,882 |
////////////////////////////////////////////////////////////////////////
// This file is part of the SndObj library
//
// 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... | johnglover/sndobj | src/IADSR.cpp | C++ | gpl-2.0 | 2,946 |
<?php
if ( ! defined( 'ABSPATH' ) ) exit;
/*---------------------------------------------------------------------------------*/
/* Adspace Widget */
/*---------------------------------------------------------------------------------*/
class Woo_AdWidget extends WP_Widget {
var $settings = array( 'title', 'adco... | awadnajilp/delivour | wp-content/themes/justshop/includes/widgets/widget-woo-adspace.php | PHP | gpl-2.0 | 3,894 |
<?php
/**
* File Name PBWebToProspectOptionsPage.php
* @package WordPress
* @subpackage ParentTheme
* @license GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
* @version 1.0
* @updated 00.00.00
**/
####################################################################################################... | Metacakery/pbase-webtoprospect-wp | PBWebToProspectOptionsPage.php | PHP | gpl-2.0 | 15,339 |
/**
* 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/BenchmarkTest16926.java | Java | gpl-2.0 | 2,641 |
<?php
namespace Friends\ACL;
const PLUGIN_ID = 'friends_acl';
const UPGRADE_VERSION = 20141209;
require_once __DIR__ . '/lib/hooks.php';
require_once __DIR__ . '/lib/events.php';
require_once __DIR__ . '/lib/functions.php';
elgg_register_event_handler('init', 'system', __NAMESPACE__ . '\\init');
function init() {
... | arckinteractive/friends_acl | start.php | PHP | gpl-2.0 | 903 |
<?php
(!defined('IN_PowerBB')) ? die() : '';
$CALL_SYSTEM = array();
$CALL_SYSTEM['PM'] = true;
$CALL_SYSTEM['ICONS'] = true;
$CALL_SYSTEM['TOOLBOX'] = true;
$CALL_SYSTEM['FILESEXTENSION'] = true;
$CALL_SYSTEM['ATTACH'] = true;
$CALL_SYSTEM['MODERATORS'] = true;
$CALL_SYSTEM['USERRATING'] = ... | pbboard/pbboard_3.0.2 | modules/pm_show.module.php | PHP | gpl-2.0 | 14,429 |
<?php
// Make sure no one attempts to run this script "directly"
if (!defined('PUN')) {
exit;
}
// Tell admin_loader.php that this is indeed a plugin and that it is loaded
define('PUN_PLUGIN_LOADED', 1);
define('PLUGIN_VERSION', 1.3);
if (isset($_POST['prune'])) {
// Make sure something something was entered
... | tipsun91/punbb-mod | plugins/AP_User_management.php | PHP | gpl-2.0 | 15,672 |
<?php
namespace Core\Bundle\BlogBundle\Model;
use Symfony\Component\Validator\Constraints as Assert;
class CommentFront
{
/**
* @Assert\NotBlank()
*/
protected $name;
/**
* @Assert\NotBlank()
*/
protected $email;
/**
* @Assert\NotBlank()
*/
protected $comme... | sastu/BlogBundle | Model/CommentFront.php | PHP | gpl-2.0 | 811 |
/***************************************************************************
ADM_muxerUtils.cpp - description
-------------------
copyright : (C) 2008 by mean
email : fixounet@free.fr
********************************************... | BackupTheBerlios/avidemux | avidemux/ADM_coreMuxer/src/ADM_muxerUtils.cpp | C++ | gpl-2.0 | 2,064 |
#!/usr/bin/python3
import sys
from gi.repository import GExiv2
phototags = {
'Exif.Photo.ExposureTime': "Belichtung:\t",
'Exif.Photo.FNumber': "Blende:\t\tF",
# 'Exif.Photo.ExposureProgram',
'Exif.Photo.ISOSpeedRatings': "ISO:\t\t",
# 'Exif.Photo.SensitivityType',
# 'Exif.Photo.ExifVersion',
... | pseyfert/pyexiv2-scripts | dumpPHOTO.py | Python | gpl-2.0 | 997 |
/*
* Copyright (C) 2005-2008 Team XBMC
* http://www.xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
... | xbmc/android | xbmc/video/windows/GUIWindowVideoBase.cpp | C++ | gpl-2.0 | 62,643 |
<?php
/**
* Defines the customizer setting map
* On live context, used to generate the default option values
*
*
* @package Customizr
* @subpackage classes
* @since 3.0
* @author Nicolas GUILLAUME <nicolas@presscustomizr.com>
* @copyright Copyright (c) 2013-2015, Nicolas GUILLAUME
* @l... | darespaco/parlaproject | wp-content/themes/customizr/inc/class-fire-utils_settings_map.php | PHP | gpl-2.0 | 168,403 |
using UnityEngine;
using UnityEditor;
using System.Collections;
namespace M8.Editor {
public class ProjectObjectPlacer : EditorWindow {
const string prefKey = "projectobjplace";
static int mDupCounter = 0;
private int mAxisInd = 0;
private string[] mAxisNames = { "X", "Y", "Z" };... | ddionisio/WreckingWhore | Assets/M8/Editor/Tools/ProjectObjectPlacer.cs | C# | gpl-2.0 | 10,263 |
/*!
* smooth-scroll v16.1.0
* Animate scrolling to anchor links
* (c) 2019 Chris Ferdinandi
* MIT License
* http://github.com/cferdinandi/smooth-scroll
*/
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
define([], (function () {
return factory(root);
... | MattTavares/MattTavares.github.io | assets/js/plugins/SmoothScroll/SmoothScroll.js | JavaScript | gpl-2.0 | 23,210 |
package com.mbpr.gengjian.playface;
import java.util.List;
import android.content.Context;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.view.View;
/**
* Created by gengjian on 15/12/23.
*/
public class ViewPagerAdapter extends PagerAdapter {
private Lis... | gengjian1203/PlayFace | app/src/main/java/com/mbpr/gengjian/playface/ViewPagerAdapter.java | Java | gpl-2.0 | 1,100 |
"""
WSGI config for mongobacked project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/
"""
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mongobacked.settings")
from djang... | ludi1001/IonMedicationSystem | mongobacked/mongobacked/wsgi.py | Python | gpl-2.0 | 397 |
<?php
if ( PHP_SAPI !== 'cli' ) {
die( "CLI-only test script\n" );
}
/**
* Testing integration with MediaWiki OAuth Extension
*
* The current extension follows OAuth 1.0a spec and while the
* extension works, you have to be aware of a few quirks.
*
* This sample is there to help you work your mind through the ... | wikimedia/mediawiki-extensions-OAuth | examples/testClient.php | PHP | gpl-2.0 | 6,074 |
package playertraits.traits;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.potion.Potion;
import net.minecraft.potion.PotionEffect;
public class StrengthTrait extends Trait {
public StrengthTrait() {
super("Strength");
}
@Override
public void tick(EntityPlayerMP player) {
player.ad... | HexagonalDiamond/PlayerTraits | src/main/java/playertraits/traits/StrengthTrait.java | Java | gpl-2.0 | 430 |
{
"CMSMAIN.WARNINGSAVEPAGESBEFOREADDING" : "You have to save a page before adding children underneath it",
"CMSMAIN.CANTADDCHILDREN" : "You can't add children to the selected node",
"CMSMAIN.ERRORADDINGPAGE" : "Error adding page",
"CMSMAIN.FILTEREDTREE" : "Filtered tree to only show changed pages",
"CMSMAIN.ERRORF... | maent45/PersianFeast | cms/javascript/lang/src/en.js | JavaScript | gpl-2.0 | 2,305 |
<?php
/**
* ------------------------------------------------------------------------
* JUDownload for Joomla 2.5, 3.x
* ------------------------------------------------------------------------
*
* @copyright Copyright (C) 2010-2015 JoomUltra Co., Ltd. All Rights Reserved.
* @license GNU General... | kosmosby/medicine-prof | components/com_judownload/helpers/judlview.php | PHP | gpl-2.0 | 9,073 |
package com.day21;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
/**
* 代理类
* @author tenlee
*
*/
public class Proxy implements InvocationHandler{
private Subject target;
public Proxy(Subject target) {
this.target = target;
}
@Override
public Object invoke(Object proxy, Method... | tenlee2012/AllCode | JAVA/CodingkeStudy/src/com/day21/Proxy.java | Java | gpl-2.0 | 549 |
<aside id="sidebar" class="cf">
<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Sidebar Top')); ?>
<section class="sidebar_section wrapper social_section">
<div class="follow_button facebook">
<div class="fb-like" data-href="https://facebook.com/ldnfashion" data-width="250" data-layout="standard... | jonheslop/LDNfashion | parts/_sidebar.php | PHP | gpl-2.0 | 3,728 |