code
stringlengths
4
1.01M
language
stringclasses
2 values
/* * Copyright (C) 2008-2012 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...
Java
""" Test cases adapted from the test_bsddb.py module in Python's regression test suite. """ import sys, os, string import unittest import tempfile from test_all import verbose try: # For Python 2.3 from bsddb import db, hashopen, btopen, rnopen except ImportError: # For earlier Pythons w/distutils pybsdd...
Java
<?php // no direct access defined('_JEXEC') or die('Restricted access'); /* * To change this template, choose Tools | Templates * and open the template in the editor. */ jimport('joomla.application.component.view'); /** * Description of SocialcountViewSocialcount * * @author stuart */ class SocialstreamsViewS...
Java
/* Delay between tap_code register and unregister to fix flaky media keys. */ #undef TAP_CODE_DELAY #define TAP_CODE_DELAY 10 /* Turn off RGB lighting when the host goes to sleep. */ #define RGBLIGHT_SLEEP /* Keep backlight and RGB level increments consistent across keyboards. */ #undef BACKLIGHT_LEVELS #undef RGBLI...
Java
/******************************************************************************************* Copyright 2010 Broadcom Corporation. All rights reserved. Unless you and Broadcom execute a separate written software license agreement governing use of this software, this software is licensed to you under the terms of the G...
Java
/* * vhost-vdpa * * Copyright(c) 2017-2018 Intel Corporation. * Copyright(c) 2020 Red Hat, Inc. * * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. * */ #include "qemu/osdep.h" #include <linux/vhost.h> #include <linux/vfio.h> #incl...
Java
/* * Copyright (c) 2006 Boudewijn Rempt <boud@valdyas.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 version. ...
Java
<?php /** * File containing a Test Case for LimitationType class * * @copyright Copyright (C) eZ Systems AS. All rights reserved. * @license For full copyright and license information view LICENSE file distributed with this source code. * @version 2014.07.0 */ namespace eZ\Publish\Core\Limitation\Tests; use eZ\...
Java
package Lacuna::DB::Result::Building::SSLa; use Moose; use utf8; no warnings qw(uninitialized); extends 'Lacuna::DB::Result::Building'; use Lacuna::Constants qw(ORE_TYPES INFLATION); around 'build_tags' => sub { my ($orig, $class) = @_; return ($orig->($class), qw(Construction Ships)); }; use constant univer...
Java
<?php /** * @version $Id: imgmanager.php 46 2009-05-26 16:59:42Z happynoodleboy $ * @package JCE * @copyright Copyright (C) 2005 - 2009 Ryan Demmer. All rights reserved. * @author Ryan Demmer * @license GNU/GPL * JCE is free software. This version may have been modified pursuant * to the GNU Gen...
Java
/* $Id: fileaio.h $ */ /** @file * IPRT - Internal RTFileAio header. */ /* * Copyright (C) 2009-2015 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 redistribute it and/or modify it under the t...
Java
/* EventON Generate Google maps function */ (function($){ $.fn.evoGenmaps = function(opt){ var defaults = { delay: 0, fnt: 1, cal: '', mapSpotId: '', _action:'' }; var options = $.extend({}, defaults, opt); var geocoder; // popup lightbox generation i...
Java
<?php /** * @package Joomla.Administrator * @subpackage com_admin * * @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Script file of Joomla CMS * * @sinc...
Java
<?php /** * LDAP configuration test class * * PHP version 5 * * Copyright (C) Villanova University 2010. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2, * as published by the Free Software Foundation. * * This program ...
Java
/* Copyright (C) 2013 Rainmeter Project Developers * * This Source Code Form is subject to the terms of the GNU General Public * License; either version 2 of the License, or (at your option) any later * version. If a copy of the GPL was not distributed with this file, You can * obtain one at <https://www.gnu....
Java
var icms = icms || {}; icms.wall = (function ($) { var self = this; this.add = function (parent_id) { var form = $('#wall_add_form'); if (typeof (parent_id) === 'undefined') { parent_id = 0; } $('#wall_widget #wall_add_link').show(); $('#wall_widget #ent...
Java
<html> <head> <title> TEAMMATES - Instructor </title> <link href="/favicon.png" rel="shortcut icon"> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> <meta content="width=device-width, initial-scale=1.0" name="viewport"> <link href="https://unpkg.com/bootstrap@3.1.1/dist/css/bootstrap.min.css" rel=...
Java
<?php //////////////////////////////////////////////////////////////////////////////// // // // This program is distributed in the hope that it will be useful, // // but WITHOUT ANY WARRANTY, without even the implied warranty of ...
Java
/*************************************************************************** qgsnewnamedialog.cpp ------------------- begin : May, 2015 copyright : (C) 2015 Radim Blazek email : radim.blazek@gmail.com ********************************...
Java
<?php /** * Download a package by passing in its location * * @var modX $this->modx * * @package modx * @subpackage processors.workspace.packages.rest */ class modPackageDownloadProcessor extends modProcessor { /** @var modTransportProvider $provider */ public $provider; /** @var string $location The...
Java
make clean rm -v Makefile Makefile.inc config.log config.status src/config.h src/config.inc
Java
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'find', 'cs', { find: 'Hledat', findOptions: 'Možnosti hledání', findWhat: 'Co hledat:', matchCase: 'Rozlišovat velikost písma', matchCyclic: 'Pro...
Java
/* about */ body#about label, body#about input[type='radio']{ display: inline; float: none; }
Java
//>>built define("dojox/editor/plugins/nls/zh-tw/SafePaste",({"instructions":"已停用直接貼上。請使用標準瀏覽器鍵盤或功能表貼上控制項,在這個對話框中貼上內容。當您滿意要插入的內容之後,請按貼上按鈕。若要中斷插入內容,請按取消按鈕。"}));
Java
{extends} {#language.function.extends} ========= `{extends}` tags are used in child templates in template inheritance for extending parent templates. For details see section of [Template Interitance](#advanced.features.template.inheritance). - The `{extends}` tag must be on the first line of the template. - If a...
Java
/* * * Copyright (C) 2009 Texas Instruments Inc * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This progr...
Java
// This file has been generated by the GUI designer. Do not modify. namespace Smuxi.Frontend.Gnome { public partial class EngineAssistantNameWidget { private global::Gtk.VBox vbox2; private global::Gtk.VBox vbox3; private global::Gtk.Label f_EngineNameLabel; private global::Gtk.Entry f_EngineNameEntry; ...
Java
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2007-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(...
Java
/* JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine Copyright (C) 2012-2013 Ian Preston This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This progra...
Java
/****************************************************************************** * Warmux is a convivial mass murder game. * Copyright (C) 2001-2011 Warmux Team. * * 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 * th...
Java
/* JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine Copyright (C) 2012-2013 Ian Preston This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This progra...
Java
/* * COM1 NS16550 support * originally from linux source (arch/ppc/boot/ns16550.c) * modified to use CONFIG_SYS_ISA_MEM and new defines */ #include <config.h> #include <ns16550.h> #define LCRVAL LCR_8N1 /* 8 data, 1 stop, no parity */ #define MCRVAL (MCR_DTR | MCR_RTS) /* RTS/DTR */ #define FCRVAL (FCR_FIFO...
Java
<?php /** * Joomla! component Creative Contact Form * * @version $Id: 2012-04-05 14:30:25 svn $ * @author creative-solutions.net * @package Creative Contact Form * @subpackage com_creativecontactform * @license GNU/GPL * */ // no direct access defined('_JEXEC') or die('Restircted access'); abstract class JHt...
Java
/* * ProFTPD - mod_sftp RFC4716 keystore * Copyright (c) 2008-2016 TJ Saunders * * 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...
Java
<?php class FrmListEntries extends WP_Widget { function __construct() { $widget_ops = array( 'description' => __( "Display a list of Formidable entries", 'formidable') ); $this->WP_Widget('frm_list_items', __('Formidable Entries List', 'formidable'), $widget_ops); } function widget( $args, $instance ) { ...
Java
<?php defined('_JEXEC') or die('Restricted access'); ?> <?php $form = @$this->form; ?> <?php $row = @$this->row; JFilterOutput::objectHTMLSafe( $row ); ?> <form action="<?php echo JRoute::_( @$form['action'] ) ?>" method="post" class="adminform" name="adminForm" > <fieldset> <legend><?php echo JText::_('Form'); ?...
Java
div.contemplate-input .form-textarea { height: 200px; border: 1px solid #666; font-family: Profont, 'lucida console', Monaco, monospace; } div.contemplate-scroller { padding: 0 1em; height: 150px; overflow: auto; border: 1px solid #666; }
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >The Traces Menu</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="The Klusters Handbook" HREF="index.html"><LINK REL="UP" TITLE="Menu E...
Java
<?php class FlipMegazineImageHelper { /** * @param int $parentNodeId * @param eZCLI $cli */ public static function deleteThumb( $parentNodeId, $cli = null ) { /** @var eZContentObjectTreeNode[] $children */ $children = eZContentObjectTreeNode::subTreeByNodeID( ...
Java
/******************************************************************************* * 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(...
Java
/* * Copyright (C) 2005-2010 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 2 of the License, or * (at your option) any later version. * ...
Java
/* Copyright (c) 2006-2010 by OpenLayers Contributors (see authors.txt for * full list of contributors). Published under the Clear BSD license. * See http://svn.openlayers.org/trunk/openlayers/license.txt for the * full text of the license. */ /** * @requires OpenLayers/Layer.js */ /** * Class: O...
Java
<?php /** * Add Site Administration Screen * * @package WordPress * @subpackage Multisite * @since 3.1.0 */ /** Load WordPress Administration Bootstrap */ require_once( dirname( __FILE__ ) . '/admin.php' ); /** WordPress Translation Install API */ require_once( ABSPATH . 'wp-admin/includes/translation-install.p...
Java
// Copyright 2013 Dolphin Emulator Project / 2014 Citra Emulator Project // Licensed under GPLv2 or any later version // Refer to the license.txt file included. #pragma once #include <array> #include <fstream> #include <functional> #include <cstddef> #include <cstdio> #include <string> #include <vector> #include "co...
Java
<?php birch_ns( 'birchschedule.upgrader', function( $ns ) { $ns->init = function() use ( $ns ) { add_action( 'birchschedule_upgrade_core_after', array( $ns, 'upgrade_core' ) ); }; $ns->get_staff_all_schedule_1_0 = function( $staff ) { $schedule = $staff['_birs_staff_schedule']; if ( !isset( $schedule ) ) { ...
Java
/* packet-hdmi.c * Routines for HDMI dissection * Copyright 2014 Martin Kaiser <martin@kaiser.cx> * * 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 modify * it under the terms of the ...
Java
/* * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your...
Java
<?php if (cfr('CUSTMAP')) { $altCfg = $ubillingConfig->getAlter(); if ($altCfg['CUSTMAP_ENABLED']) { $custmaps = new CustomMaps(); // new custom map creation if (wf_CheckPost(array('newmapname'))) { if (cfr('CUSTMAPEDIT')) { $custmaps->mapCreate($_POST['ne...
Java
/* lv2_event_helpers.h - Helper functions for the LV2 events extension. * * Copyright (C) 2008 Dave Robillard <dave@drobilla.net> * * This header 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; ei...
Java
/* * xplus4-main.c - Watcom main.c for xplus4 wrapper. * * Written by * Marco van den Heuvel <blackystardust68@yahoo.com> * * This file is part of VICE, the Versatile Commodore Emulator. * See README for copyright notice. * * This program is free software; you can redistribute it and/or modify * it under t...
Java
/* * Copyright (c) 2008, 2010, 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 Sof...
Java
<!doctype html> <html> <head> <link rel="stylesheet" type="text/css" href="../../common/docs.css"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="initial-scale = 1.0" /> <link href="/assets/favicon.ico" rel="shortcut icon" /> <title>Webix : Samples</title><...
Java
<?php /** * File containing the eZProductCollectionTest class * * @copyright Copyright (C) eZ Systems AS. All rights reserved. * @license For full copyright and license information view LICENSE file distributed with this source code. * @version 2014.07.0 * @package tests */ class eZProductCollectionTest extends...
Java
/* * Copyright (c) 2016, 2018, 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 ...
Java
<style type="text/css"> <!-- .msg { text-align:left; color: blue; display: block; padding: 5px 0; } .emsg { text-align:left; color: red; display: block; padding: 5px 0; } #loader{ visibility:hidden; } #f1_error{ font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; font-weight:bold; ...
Java
/*****************************************************************************/ /* */ /* Ittiam WPS SOFTWARE */ /* */ ...
Java
/* SPDX-License-Identifier: GPL-2.0-only */ #include <delay.h> #include <device/mmio.h> #include <console/console.h> #include <console/uart.h> #include <soc/addressmap.h> #include <soc/otp.h> /* * This is a driver for the eMemory EG004K32TQ028XW01 NeoFuse * One-Time-Programmable (OTP) memory used within the SiFive ...
Java
ifeq ($(CONFIG_OF),y) # Keep at91 dtb files sorted alphabetically for each SoC # rm9200 dtb-$(CONFIG_ARCH_AT91) += at91rm9200ek.dtb dtb-$(CONFIG_ARCH_AT91) += mpa1600.dtb # sam9260 dtb-$(CONFIG_ARCH_AT91) += animeo_ip.dtb dtb-$(CONFIG_ARCH_AT91) += aks-cdu.dtb dtb-$(CONFIG_ARCH_AT91) += ethernut5.dtb dtb-$(CONFIG_ARCH...
Java
/* -*- C -*- //C- ------------------------------------------------------------------- //C- DjView4 //C- Copyright (c) 2006 Leon Bottou //C- //C- This software is subject to, and may be distributed under, the //C- GNU General Public License, either version 2 of the license, //C- or (at your option) any later version. ...
Java
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer' . '/autoload_real.php'; return ComposerAutoloaderInit562156c4d0b385426dfb2e9042c495a5::getLoader();
Java
<?php /* * This file is part of EC-CUBE * * Copyright(c) 2000-2014 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...
Java
<?php /** * ClickBank® API Constants *(for site owners)*. * * Copyright: © 2009-2011 * {@link http://www.websharks-inc.com/ WebSharks, Inc.} * (coded in the USA) * * This WordPress® plugin (s2Member Pro) is comprised of two parts: * * o (1) Its PHP code is licensed under the GPL license, as is WordPress®. * You should...
Java
<?php /** * File contains: eZ\Publish\Core\Persistence\Legacy\Tests\User\UserHandlerTest class. * * @copyright Copyright (C) eZ Systems AS. All rights reserved. * @license For full copyright and license information view LICENSE file distributed with this source code. * * @version //autogentag// */ namespace eZ\...
Java
# Exemplo: "Feliz Natal" em Esperanto: Gajan Kristnaskon $ zznatal #→ --regex ^"Feliz Natal" em .+: .+$
Java
/* * Copyright (c) 1999-2005 Petko Manolov (petkan@users.sourceforge.net) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * ChangeLog: * .... Most of the time spent on re...
Java
######################################################################## # # filepp 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. # #...
Java
# # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2000-2006 Donald N. Allingham # Copyright (C) 2010 Benny Malengier # # 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...
Java
--強欲な壺の精霊 function c4896788.initial_effect(c) --activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetRange(LOCATION_MZONE) e1:SetCode(EVENT_CHAIN_SOLVING) e1:SetCondition(c4896788.drcon) e1:SetOperation(c4896788.drop) c:RegisterEffect(e1) end function c4896788.drco...
Java
package Qtopia::Vars; use strict; use warnings; use File::Basename; use Qtopia::Paths; use Qtopia::File; use Carp; #perl2exe_include Carp::Heavy $Carp::CarpLevel = 1; use Digest::MD5 qw(md5_base64); require Exporter; our @ISA = qw(Exporter); # Items to export into callers namespace by default. Note: do not export #...
Java
/* Take the Plunge Wedding Template Table of Contents: Reset Common Typography Layout Supersized Slideshow Youtube Player Parallax Portfolio About Us Services Features Accordion Tooltips Contacts Form Elements Flickr Alert Boxes Footer Our Clients Misc Media Queries */ /* #Reset & Basics (Insp...
Java
<?php defined('WPSS_PATH') or die();?> <?php $util = new WPSS_Util();?> <?php $question = new WPSS_Question((int) $_GET['id']);?> <?php $quiz = new WPSS_Quiz($question->quiz_id);?> <!-- Admin questions#new --> <div class="wrap wpss"> <img class="left" src="<?php echo WPSS_URL.'assets/images/wpss_admin.png'?>" /> ...
Java
<?php namespace Drutiny\Audit; use Drutiny\Sandbox\Sandbox; use Drutiny\Audit\AuditInterface; /** * */ interface RemediableInterface extends AuditInterface { /** * Attempt to remediate the check after it has failed. * * @param Sandbox $sandbox * @return bool */ public function remediate(Sandb...
Java
<?php pb_backupbuddy::$ui->start_metabox( 'BackupBuddy Settings', true, 'width: 100%; max-width: 1200px;' ); $settings_form->display_settings( 'Save Settings' ); echo '<br><br>'; pb_backupbuddy::$ui->end_metabox(); /* REMOVED v3.1. pb_backupbuddy::$ui->start_metabox( __('Remote Offsite Storage / Destinations', 'i...
Java
// Copyright 2008 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. #include "Core/Boot/Boot.h" #include <algorithm> #include <array> #include <cstring> #include <memory> #include <numeric> #include <optional> #include <string> #include <unordered_set> #include <vector> #in...
Java
package My::Suite::WSREP; use File::Basename; use My::Find; @ISA = qw(My::Suite); return "Not run for embedded server" if $::opt_embedded_server; return "WSREP is not compiled in" unless defined $::mysqld_variables{'wsrep-on'}; my ($provider) = grep { -f $_ } $ENV{WSREP_PROVIDER}, "/...
Java
<?php namespace TYPO3\CMS\Extbase\Persistence\Generic; /** * This file is part of the TYPO3 CMS project. * * It is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, either version 2 * of the License, or any later version. * * For the full copyright and ...
Java
#!/bin/sh set -e $GREP_DCTRL -I -sPackage '' 0001.out
Java
file(REMOVE_RECURSE "CMakeFiles/ortp.dir/avprofile.c.o" "CMakeFiles/ortp.dir/b64.c.o" "CMakeFiles/ortp.dir/event.c.o" "CMakeFiles/ortp.dir/extremum.c.o" "CMakeFiles/ortp.dir/jitterctl.c.o" "CMakeFiles/ortp.dir/logging.c.o" "CMakeFiles/ortp.dir/netsim.c.o" "CMakeFiles/ortp.dir/ortp.c.o" "CMakeFiles/ort...
Java
<?php /** * @version 1.0.0 * @package com_oauth * @copyright Copyright (C) 2011 - 2013 Slashes & Dots Sdn Bhd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @author Offiria Team */ // No direct access defined('_JEXEC') or die; /** * HTML Vie...
Java
<?php /** * @version $Id: controller.php 14401 2010-01-26 14:10:00Z louis $ * @package Joomla * @subpackage Content * @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved. * @license GNU/GPL, see LICENSE.php * Joomla! is free software. This version may have been modified pursuant to th...
Java
/* * Copyright (c) 1997, 2014, 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 ...
Java
<?php namespace Indikator\Backend\ReportWidgets; use Backend\Classes\ReportWidgetBase; use Exception; use DB; class Logs extends ReportWidgetBase { public function render() { try { $this->loadData(); } catch (Exception $ex) { $this->vars['error'] = $ex->getMessa...
Java
--[[ BY-@Sadik_alknani10 BY_CH : @KINGTELE1 ]] local function get_variables_hash(msg) if msg.to.type == 'chat' or msg.to.type == 'channel' then return 'chat:bot:variables' end end local function get_value(msg, var_name) local hash = get_variables_hash(msg) if hash then local value = redis:hget(hash, ...
Java
/* JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine Copyright (C) 2012-2013 Ian Preston This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This progra...
Java
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- * vim:expandtab:shiftwidth=2:tabstop=2: */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use thi...
Java
obj-$(CONFIG_LCD_NULL) += lcd_null.o obj-$(CONFIG_LCD_RK2928) += lcd_rk2928.o obj-$(CONFIG_LCD_RK3168_FAC) += lcd_rk3168_fac.o obj-$(CONFIG_LCD_TD043MGEA1) += lcd_td043mgea1.o obj-$(CONFIG_LCD_HSD070IDW1) += lcd_hsd800x480.o obj-$(CONFIG_LCD_HL070VM4AU) += lcd_hl070vm4.o obj-$(CONFIG_LCD_BYD8688FTGF) += lcd_byd1024x6...
Java
#! /usr/local/bin/ruby -Kn # usage: exyacc.rb [yaccfiles] # this is coverted from exyacc.pl in the camel book ARGF.each(nil) do |source| sbeg = source.index("\n%%") + 1 send = source.rindex("\n%%") + 1 grammar = source[sbeg, send-sbeg] grammar.sub!(/.*\n/, "") grammar.gsub!(/'\{'/, "'\001'") grammar.gsub!(...
Java
#header .top-header .header-navigation ul li.menu-item-has-children .sub-menu .sub-menu{width:250px;padding-top:0;border-left:1px solid #eee;top:0;left:250px}
Java
/** * This file is part of Aion-Lightning <aion-lightning.org>. * * Aion-Lightning 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 lat...
Java
/* Separate lexical analyzer for GNU C++. Copyright (C) 1987, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2010 Free Software Foundation, Inc. Hacked by Michael Tiemann (tiemann@cygnus.com) This file is part of GCC. GCC is free software; you can red...
Java
<?php /** * Project: Securimage: A PHP class for creating and managing form CAPTCHA images<br /> * File: form.php<br /><br /> * * This is a very simple form sending a username and password.<br /> * It demonstrates how you can integrate the image script into your code.<br /> * By creating a new instanc...
Java
/* ** Copyright (C) 1998-2007 George Tzanetakis <gtzan@cs.uvic.ca> ** ** 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 versi...
Java
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /* NetworkManager -- Network link manager * * 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...
Java
/******************************************************************** KWin - the KDE window manager This file is part of the KDE project. Copyright (C) 2010 Thomas Lübking <thomas.luebking@web.de> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Licen...
Java
<p>No API Key or List Id Exist!</p>
Java
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 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(R) is...
Java
<div> {% for new in news %} <div widget-toggle="news" id_widget_note="{{new.id_article}}"> <h2 change_key="title" replace="input">{{new.title}}</h2> <div change_key="content" replace="ck">{{new.content}}</div> </div> {% endfor %} <br clear="both"> </div>
Java
/* -*- c-set-style: "K&R"; c-basic-offset: 8 -*- * * This file is part of PRoot. * * Copyright (C) 2014 STMicroelectronics * * 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 versio...
Java
/* packet-forces.c * RFC 5810 * Routines for dissecting IETF ForCES protocol layer messages.Now support the following TML types:TCP+UDP,SCTP. * Copyright 2009, NDSC & Zhejiang Gongshang University,Fenggen Jia <fgjia@mail.zjgsu.edu.cn or fenggen.jia@gmail.com> * * $Id$ * * Wireshark - Network traffic analyzer * ...
Java
package lejos.robotics.mapping; import java.io.*; import java.util.ArrayList; import lejos.geom.Line; import lejos.geom.Rectangle; /* * WARNING: THIS CLASS IS SHARED BETWEEN THE classes AND pccomms PROJECTS. * DO NOT EDIT THE VERSION IN pccomms AS IT WILL BE OVERWRITTEN WHEN THE PROJECT IS BUILT. */ /...
Java