code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
<?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 |
#MNGExcuse { position: relative; }
#MNGExcuse p, #MNGExcuse input, #MNGExcuse textarea, #MNGExcuse select, #MNGExcuse option, #MNGExcuse th, #MNGExcuse td, #MNGExcuse dt, #MNGExcuse dd, #MNGExcuse a, #MNGExcuse li {
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #606060;
font-size: 10pt;
line-hei... | chihchao/mngexcuse | default.css | CSS | gpl-2.0 | 5,303 |
/* **************************************************************
#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 |
#!/usr/bin/env bash
set -ueo pipefail
FORCE_INKSCAPE="$(echo "${FORCE_INKSCAPE-False}" | tr '[:upper:]' '[:lower:]')"
if [[ "${FORCE_INKSCAPE}" == "true" ]]; then
RENDER_SVG=""
else
RENDER_SVG="$(command -v rendersvg)" || true
fi
INKSCAPE="$(command -v inkscape)" || true
OPTIPNG="$(command -v optipng)" || true
if... | nana-4/materia-theme | src/gtk-2.0/render-asset.sh | Shell | gpl-2.0 | 1,552 |
/**
* \file
*
* \brief Chip-specific system clock manager configuration
*
* Copyright (c) 2014-2015 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the followin... | UAlberta-EcoCar/FCC-code | FCC-code_V2/FCCV2/FCCV2/src/config/conf_clock.h | C | gpl-2.0 | 3,626 |
/* 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 |
# GDWCalc
A gross die per wafer (GDW) calculator.
Plots up a wafer map of rectangular die based on the die size, wafer diameter,
and exclusion zones. Die are colored by their status (good to probe, crosses
edge exclusion, crosses flat exclusion, or falls off due to the wafer flat.
Knows about SEMI SPEC M1-0302 which... | dougthor42/GDWCalc | README.md | Markdown | gpl-2.0 | 379 |
'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 |
<!DOCTYPE html>
<html>
<head>
<title>Align</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<link rel="stylesheet" type="text/css" href="../../../codebase/fonts/font_roboto/roboto.css"/>
<link rel="stylesheet" type="text/css" href="... | casser/dhx | samples/dhtmlxToolbar/03_api/04_align.html | HTML | gpl-2.0 | 903 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="robots" content="index, follow, all" />
<title>Illuminate\Session | </title>
<link rel="stylesheet" type="text/css" href="../stylesheet.css">
</head>
<body id=... | xwiz/laravel-docs | public/laravel.com/api/4.1/Illuminate/Session.html | HTML | gpl-2.0 | 3,813 |
/***********************************************************************
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 |
/**
* 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/BenchmarkTest08513.java | Java | gpl-2.0 | 2,265 |
/*
* Copyright (C) ST-Ericsson SA 2010
* Author: Stefan Nilsson <stefan.xk.nilsson@stericsson.com> for ST-Ericsson.
* Author: Martin Persson <martin.persson@stericsson.com> for ST-Ericsson.
* License terms: GNU General Public License (GPL), version 2.
*/
/*
* Mailbox nomenclature:
*
* APE MODEM... | igloocommunity/igloo-kernel | drivers/misc/mbox.c | C | gpl-2.0 | 17,221 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>numpy.chararray.clip — NumPy v1.10 Manual</title>
<link rel="stylesheet" type="text/css" href="../../static_/css/spc-bootstrap.css">
<link rel="stylesheet" type="text/css" href="../../static_/css/spc-extend.css">
<link re... | platinhom/ManualHom | Coding/Python/numpy-html-1.10.1/reference/generated/numpy.chararray.clip.html | HTML | gpl-2.0 | 3,968 |
#include <common.h>
#include <linux/compiler.h>
#include <asm/mach-types.h>
#include <asm/arch/memory.h>
#include <asm/arch/io.h>
#include <asm/arch/power_gate.h>
#include <asm/arch/gpio.h>
#include <asm/arch/clock.h>
/*
* Caution: Assembly code in sleep.S makes assumtion on the order
* of the members o... | genehuangtaiwan/uboot | arch/arm/cpu/aml_meson/m6tv/suspend.c | C | gpl-2.0 | 21,755 |
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 |
/* conversations_table.c
* conversations_table 2003 Ronnie Sahlberg
* Helper routines common to all endpoint conversations tap.
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
* m... | VladimirTyrin/wireshark | epan/conversation_table.c | C | gpl-2.0 | 28,154 |
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
namespace FSM\Exception;
/**
* Exception while configuring State, Transition or Context
*
* @author Ivan Zinovyev <vanyazin@gmail.com>
*/
class ComponentConfigurationException extends Exception
{
} | zinovyev/php-fsm | src/FSM/Exception/ComponentConfigurationException.php | PHP | gpl-2.0 | 209 |
<?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 |
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Libraries -->
<script type="text/javascript" src="lib/jquery.js"></script>
<script type="text/javascript" src="lib/knockout.js"></script>
<!-- Javascript -->
<script type="text/javascript" src="bitterness.js"></script>
<title>Beer Bitterness Ratio... | CDargis/BitternessRatios | bitternessRatio.html | HTML | gpl-2.0 | 1,615 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_65) on Tue Dec 03 11:42:27 PST 2013 -->
<TITLE>
Uses of Package oovu.datatypes.tests
</TITLE>
<META NAME="date" CONTENT="2013-12-03">
<LINK REL ="s... | josiah-wolf-oberholtzer/oovu | java-doc/oovu/datatypes/tests/package-use.html | HTML | gpl-2.0 | 5,476 |
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#ifdef IS_FBSD
#include "machine/soundcard.h"
#define DSP_DEVICE "/dev/dsp"
#endif
#ifdef IS_OBSD
#include "soundcard.h"
#define DSP_DEVICE "/dev/sound"
#endif
#ifdef IS_LINUX
#include <sys/soundcard.h>
#define ... | UkCvs/commando | apps/tuxbox/funstuff/gnuboy/sys/oss/oss.c | C | gpl-2.0 | 1,524 |
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 |
http://jsfiddle.net/fusioncharts/EZbvy/
http://jsfiddle.net/gh/get/jquery/1.9.1/sguha-work/fiddletest/tree/master/fiddles/Gauge/Tick-Values/Customizing-tick-marks-value-visibility-and-position-in-bullet-chart_323/ | sguha-work/fiddletest | fiddles/Gauge/Tick-Values/Customizing-tick-marks-value-visibility-and-position-in-bullet-chart_323/url.js | JavaScript | gpl-2.0 | 213 |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- template designed by Marco Von Ballmoos -->
<title>File Source for view.html.php</title... | asika32764/Joomla-CMS-API-Document | filesource/fsource_Joomla-Administrator_com_media_administratorcomponentscom_mediaviewsmedialistview.html.php.html | HTML | gpl-2.0 | 26,140 |
cmd_drivers/net/tulip/built-in.o := ld -m elf_i386 -r -o drivers/net/tulip/built-in.o drivers/net/tulip/tulip.o
| namgk/kernel-tut | drivers/net/tulip/.built-in.o.cmd | Batchfile | gpl-2.0 | 116 |
/*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include "devfs.h"
int devFS_stat(
const rtems_filesystem_location_info_t *loc,
struct s... | daniel-hellstrom/leon-rtems | cpukit/libfs/src/devfs/devstat.c | C | gpl-2.0 | 619 |
<?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 |
/*
* This file is part of OpenTTD.
* OpenTTD 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.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the im... | LordAro/OpenTTD | src/fileio_func.h | C | gpl-2.0 | 5,468 |
<?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 |
/*
** Job Arranger for ZABBIX
** Copyright (C) 2012 FitechForce, Inc. All Rights Reserved.
** Copyright (C) 2013 Daiwa Institute of Research Business Innovation Ltd. All Rights Reserved.
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as... | mastering-jaz/jobarranger | src/jobarg_server/jajobnet/jajobnetready.c | C | gpl-2.0 | 4,966 |
/**********
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 |
/***************************************************************************
generate_code_ada.c - description
-------------------
begin : 2001-07-18
copyright : (C) 2001 by Thomas Preymesser
(C) 2002 b... | OldRepoPreservation/dia2code | dia2code/generate_code_ada.c | C | gpl-2.0 | 21,422 |
/*
* 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 |
if not gadgetHandler:IsSyncedCode() then return end
function gadget:GetInfo()
return {
name = "Trail Burnout",
desc = "Provide ability to changes weapon trail CEG after a customParam-specified time, or change specific weapon into customParam-specified weapon when underwater",
author = "Anarchid",
date = "14.0... | sprunk/Zero-K | LuaRules/Gadgets/weapon_trail_burnout.lua | Lua | gpl-2.0 | 4,949 |
//Não esquecer de implementar a anulação da variável last_pawn_move_two_ranks no método de execução de movimento
//Implementar casting
#include <stdlib.h>
#include <stdio.h>
typedef enum Piece_Type
{
pawn,
rook,
knight,
bishop,
queen,
king
} Piece_Type;
typedef enum Color
{
white,
black
} Color;
typedef str... | brunohadlich/chesstroyer | Main.c | C | gpl-2.0 | 9,944 |
#!/bin/sh
sed -n 's/eth0://gp' /proc/net/dev | awk '{ print $1"\n"$9}'
| dmarion/ifgraph | contrib/interface_bytes/interface_bytes.sh | Shell | gpl-2.0 | 71 |
/*
* 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 |
#ifndef StGermain_SobolGeneratorSuite_h
#define StGermain_SobolGeneratorSuite_h
void SobolGeneratorSuite( pcu_suite_t* suite );
#endif
| geodynamics/gale | StgDomain/Utils/tests/SobolGeneratorSuite.h | C | gpl-2.0 | 137 |
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 |
/**************************************************************************************************
Filename: SensorTagMovementProfile.java
Copyright (c) 2013 - 2015 Texas Instruments Incorporated
All rights reserved not granted herein.
Limited License.
Texas Instruments Incorporated grants a world-wide, ... | vanjo9800/SensortagSAPCloud | src/main/java/com/example/ti/ble/sensortag/SensorTagMovementProfile.java | Java | gpl-2.0 | 9,813 |
/*
* 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 |
\hypertarget{main_8cpp}{}\section{main.\+cpp File Reference}
\label{main_8cpp}\index{main.\+cpp@{main.\+cpp}}
{\ttfamily \#include $<$iostream$>$}\\*
{\ttfamily \#include $<$string$>$}\\*
{\ttfamily \#include $<$vector$>$}\\*
{\ttfamily \#include $<$boost/filesystem.\+hpp$>$}\\*
{\ttfamily \#include $<$boost/format.\+h... | Ranind/Deduplicator | doc/latex/main_8cpp.tex | TeX | gpl-2.0 | 3,583 |
# -*- 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 |
/* Overlay , enable it if display in header, and header{over-flow:hidden;} */
#simplemodal-overlay {background-color:#000;}
#simplemodal-container a.modalCloseImg {background:url(../images/close_bt.png) top no-repeat; width:26px; height:26px; display:inline; z-index:3200; position:absolute; top:6px; right:10px; cursor:... | leonmueller321/CST4 | modules/mod_bt_login/tmpl/css/style2.0.css | CSS | gpl-2.0 | 6,390 |
<?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 |
package org.regkas.service.rest;
import javax.enterprise.context.Dependent;
import javax.enterprise.inject.Specializes;
import javax.ws.rs.client.Invocation;
import javax.ws.rs.client.WebTarget;
import javax.ws.rs.core.MediaType;
import java.net.URL;
import java.util.function.Function;
@Specializes
@Dependent
public ... | andi-git/boatpos | regkas-server/regkas-server-service/regkas-server-service-rest/src/test/java/org/regkas/service/rest/RestTestHelper.java | Java | gpl-2.0 | 1,042 |
/*! _colors v2.0.2 */
/*
* SETTINGS
*/
/*! _fonts v2.0.2 */
/*
* SETTINGS
*/
/*
* SETTINGS
*/
@font-face {
font-family: 'dragonbold';
src: url('../font/dragonbold-bold-webfont.eot');
src: url('../font/dragonbold-bold-webfont.eot?#iefix') format('embedded-opentype'), url('../font/dragonbold-bold-web... | WestpacCXTeam/GUI-source | docs/tooltips/2.0.1/tests/STG/assets/css/gui.css | CSS | gpl-2.0 | 27,519 |
\subsection{bpmprocess/process\_\-caltone.c File Reference}
\label{process__caltone_8c}\index{bpmprocess/process\_\-caltone.c@{bpmprocess/process\_\-caltone.c}}
\subsubsection{Detailed Description}
Definition in file {\bf process\_\-caltone.c}.
{\tt \#include $<$stdio.h$>$}\par
{\tt \#include $<$bpm/bpm\_\-units.h... | binomaiheu/libbpm | documentation/latex/process__caltone_8c.tex | TeX | gpl-2.0 | 882 |
<?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 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>wibble: netbuffer.t... | 2ndy/RaspIM | usr/share/doc/libwibble-dev/html/netbuffer_8test_8h_source.html | HTML | gpl-2.0 | 15,004 |
#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 |
/* Pipeline hazard description translator.
Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009
Free Software Foundation, Inc.
Written by Vladimir Makarov <vmakarov@redhat.com>
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it
under the terms of the GNU G... | redstar3894/android-gcc | gcc/genautomata.c | C | gpl-2.0 | 298,911 |
<html lang="en">
<head>
<title>MicroBlaze-Dependent - Using as</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using as">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Machine-Dependencies.html#Mac... | Motorhead1991/samsung_kernel_comanche | bin/arm-2012.09/share/doc/arm-arm-none-eabi/html/as.html/MicroBlaze_002dDependent.html | HTML | gpl-2.0 | 3,209 |
/****************************************************************************
* [S]imulated [M]edieval [A]dventure multi[U]ser [G]ame | \\._.// *
* -----------------------------------------------------------| (0...0) *
* SMAUG 1.4 (C) 1994, 1995, 1996, 1998 by Derek Snider | ).:.( *
* -----... | smaugmuds/SMAUGCPP | src/bet.h | C | gpl-2.0 | 5,003 |
<?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 |
# CONTEXTS AND DEPENDENCY INJECTION
## CDI 概念
CDI(Contexts and Dependency Injection),即上下文依赖注入,它是众多JEE规范中的一个.
从Java EE6开始CDI正式成为Java EE规范,依赖注入相对成熟,相关的流行框架包括Spring,Google Guice等。
Java EE7 中 CDI 1.1
* https://jcp.org/en/jsr/detail?id=346
### 什么是上下文
如下图为用户登陆应用示例图
 1994-2013 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with o... | africallshop/africallshop-iphone | submodules/build-armv7s-apple-darwin/externals/speex/win32/speexenc/Makefile | Makefile | gpl-2.0 | 13,545 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | TheDJ42/Looping | Properties/Settings.Designer.cs | C# | gpl-2.0 | 1,064 |
CREATE DATABASE IF NOT EXISTS `CIRCUS` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `CIRCUS`;
-- MySQL dump 10.13 Distrib 5.6.13, for osx10.6 (i386)
--
-- Host: 127.0.0.1 Database: CIRCUS
-- ------------------------------------------------------
-- Server version 5.6.17
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHA... | ajpahl1008/circus | pahlsoft-circus/pahlsoft-circus-dao/src/main/resources/SQL/CreateSchema.sql/circus_ATTENDEE.sql | SQL | gpl-2.0 | 16,229 |
<?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 |
form {
background:transparent;
width: 100%;
text-align: center;
}
form fieldset {
display: inline;
border:solid 1px;
margin:auto;
padding-top:7px;
margin-bottom:4px;
margin-left:4px;
border-radius:7px;
text-align:right;
vertical-align:top;
}
form fieldset legend {
background-color:transparent;
padding:3px;
border: 1px ... | timschofield/KwaMoja | css/arc-dark-rtl/forms.css | CSS | gpl-2.0 | 4,132 |
/** \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 |
<<<<<<< HEAD
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
.cke_skin_office2003 .cke_editor
{
display: inline-table;
width: 100%;
}
.cke_skin_office2003 .cke_browser_webkit .cke_editor
{
display: table; /*... | spocode/Issue-Report | sites/all/libraries/ckeditor/_source/skins/office2003/mainui.css | CSS | gpl-2.0 | 6,269 |
<?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 |
#define _USE_MATH_DEFINES
#include <math.h>
void
rszset(float SR, float cf, float bw, float xinit, float *a)
{
double exp(),cos();
int i;
a[0]=exp(-M_PI*bw/SR);
a[1]=1.-a[0];
a[2]=2.*a[0]*cos(2.*M_PI*cf/SR);
a[3] = -a[0]*a[0];
if(!xinit) for(i=4; i<9; i++) a[i]=0.;
}
float re... | CLOUDS-Interactive-Documentary/RTCmix | genlib/resonz.c | C | gpl-2.0 | 717 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.