code
stringlengths
4
1.01M
language
stringclasses
2 values
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html> <!-- Mirrored from www.photobookmart.com.my/wp-content/themes/choices/framework/php/avia_shortcodes/tinymce/js/?C=M;O=A by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 02 Jul 2014 12:07:04 GMT --> <!-- Added by HTTrack --><meta http-equiv="content-type" ...
Java
# Copyright 2014-2017 Red Hat, 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 program is distributed in...
Java
/*****************************************************************************\ * $Id: fillfile.c 77 2006-02-15 01:00:42Z garlick $ ***************************************************************************** * Copyright (C) 2001-2008 The Regents of the University of California. * Produced at Lawrence Livermore...
Java
<?php /** * @file * Template page for a promotion item. */ ?> <h2> <a href="<?php print $item_url ?>"><?php print $title ?></a> </h2> <p><?php print t('Valid till'); ?> <?php print $cashingPeriodEnd ?> <?php print ($unlimited ? t('unlimited') : $unitsLeft . ' ' . t('x in stock')); ?></p> <?php if (!empty($pic...
Java
using System; namespace Server.Items { public class ArachnidDoom : BaseInstrument { [Constructable] public ArachnidDoom() : base(0x0EB3) { RandomInstrument(); this.Hue = 1944; this.Weight = 4; this.Slayer = SlayerName.Arachnid...
Java
<?php /** * * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) * @author Andreas Gohr <andi@splitbrain.org> */ // must be run within Dokuwiki if(!defined('DOKU_INC')) die(); /** * Class syntax_plugin_data_entry */ class syntax_plugin_data_entry extends DokuWiki_Syntax_Plugin { /** * @var he...
Java
.node-article .content a { color: blue; text-decoration: underline; } .node-article .content .field-type-email a { color: #333333; text-decoration: none; } @media only screen and (max-width: 720px) { #block-block-40 { visibility: hidden; display: none; } #google_ads_iframe_/678...
Java
/* packet-laplink.c * Routines for laplink dissection * Copyright 2003, Brad Hards <bradh@frogmouth.net> * * $Id: packet-laplink.c 42632 2012-05-15 19:23:35Z wmeier $ * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * This program is free softwa...
Java
/***************************************************************************** Copyright (c) 2005, 2014, Oracle and/or its affiliates. All Rights Reserved. Copyright (c) 2012, Facebook Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as pub...
Java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pe.edu.upeu.modelo; import java.io.Serializable; import java.util.Collection; import java.util.Date; import javax....
Java
package com.atlach.trafficdataloader; import java.util.ArrayList; /* Short Desc: Storage object for Trip info */ /* Trip Info > Trips > Routes */ public class TripInfo { private int tripCount = 0; public ArrayList<Trip> trips = null; public String date; public String origin; public String destination; ...
Java
package org.adastraeducation.liquiz.equation; import java.util.*; import java.util.regex.*; import org.adastraeducation.liquiz.*; /** * Present equations with random variables. * It has two ways to parse the equations in string[]. One is in infix, and the other is in the RPN. * @author Yingzhu Wang * */ public ...
Java
package com.github.luksdlt92; import java.util.ArrayList; /* * DoubleJumpReload plugin * Made by luksdlt92 and Abdalion */ import org.bukkit.event.Listener; import org.bukkit.plugin.java.JavaPlugin; import com.github.luksdlt92.commands.DoubleJumpCommand; import com.github.luksdlt92.listeners.JumpListener; pub...
Java
package org.vidogram.messenger.g.a; import java.io.ByteArrayOutputStream; public class j extends ByteArrayOutputStream { private final b a; public j(b paramb, int paramInt) { this.a = paramb; this.buf = this.a.a(Math.max(paramInt, 256)); } private void a(int paramInt) { if (this.count + para...
Java
using UnityEngine; using System.Collections; /* * Item to handle movements of rigibodies */ public class RigibodyMoveItem : MoveItem { public enum Type { ENEMY_SHIP_TYPE_1, LASER_RED, LASER_BLUE }; public static RigibodyMoveItem create(Type type) { switch (type) { case Type.ENE...
Java
#ifndef __EDIV_QGRAPHICS_H_ #define __EDIV_QGRAPHICS_H_ #include "export.h" /* Flags de modos de video */ #define _FULLSCREEN 0x01 typedef struct { byte* buffer; // invisible buffer byte* colormap; // 256 * VID_GRADES size byte* alphamap; // 256 * 256 translucency map in...
Java
package it.polito.nexa.pc; import com.hp.hpl.jena.rdf.model.Model; import com.hp.hpl.jena.rdf.model.Statement; import java.util.List; /** * Created by giuseppe on 19/05/15. */ public interface TriplesAdder { public Model addTriples(Model model, List<Statement> statementList); }
Java
/** * @file mqueue.h * * This file contains the definitions related to POSIX Message Queues. */ /* * COPYRIGHT (c) 1989-2011. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www...
Java
/* shades of grey */ /*@g1 : #5A6568;*/ /* b&w */ /* color specific to a player */ /*@id-color: #78BDE7;*/ /* fonts */ /* variable heights */ /*@player-controls-height:20px;*/ /* transistions */ .ez-trans { -webkit-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in...
Java
<!DOCTYPE html> <html lang="en-US"> <!-- Mirrored from www.w3schools.com/tags/tryit.asp?filename=tryhtml_img_border_css by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:23:38 GMT --> <head> <title>Tryit Editor v2.3</title> <meta id="viewport" name='viewport'> <script> (function() { if ( navigator.user...
Java
using UnityEngine; using System.Collections; public class ButtonNextImage : MonoBehaviour { public GameObject nextImage; public bool lastImage; public string nextScene = ""; void OnMouseDown() { if(lastImage) { Application.LoadLevel(nextScene); return; } gameObject.SetActive (false); nextImag...
Java
/** * Created by LPAC006013 on 23/11/14. */ /* * wiring Super fish to menu */ var sfvar = jQuery('div.menu'); var phoneSize = 600; jQuery(document).ready(function($) { //if screen size is bigger than phone's screen (Tablet,Desktop) if($(document).width() >= phoneSize) { // enable superfish ...
Java
<?php /** * Multisite upgrade administration panel. * * @package WordPress * @subpackage Multisite * @since 3.0.0 */ /** Load WordPress Administration Bootstrap */ require_once(dirname(__FILE__) . '/admin.php'); if (!is_multisite()) wp_die(__('Multisite support is not enabled.')); require_once(ABSPATH . WP...
Java
<?xml version="1.0" encoding="utf-8"?> <rss version="2.0" xml:base="http://machines.plannedobsolescence.net/51-2008" xmlns:dc="http://purl.org/dc/elements/1.1/"> <channel> <title>intro to digital media studies - symbiosis</title> <link>http://machines.plannedobsolescence.net/51-2008/taxonomy/term/120/0</link> <descr...
Java
<html> <head> <link rel="stylesheet" href="../extjs/resources/css/ext-all.css" type="text/css" /> <script type="text/javascript" src="../extjs/ext-all.js"></script> <script type="text/javascript" src="sample.js"></script> </head> <body> </body> </html>
Java
#!/usr/bin/ruby -w class T_002aac < Test def description return "mkvmerge / audio only / in(AAC)" end def run merge("data/simple/v.aac", 1) return hash_tmp end end
Java
// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html // // file: rbbirb.cpp // // Copyright (C) 2002-2011, International Business Machines Corporation and others. // All Rights Reserved. // // This file contains the RBBIRuleBuilder class implementation. T...
Java
/* Discovery of auto-inc and auto-dec instructions. Copyright (C) 2006-2015 Free Software Foundation, Inc. Contributed by Kenneth Zadeck <zadeck@naturalbridge.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 General Public License as publis...
Java
/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009 Mark Aylett <mark.aylett@gmail.com> This file is part of Aug written by Mark Aylett. Aug is released under the GPL with the additional exemption that compiling, linking, and/or using OpenSSL is allowed. Aug is free software; you can redistribute it and/or...
Java
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Monroe puts in 24, Knicks defeat the Pistons 121 to 115</title> <link rel="stylesheet" type="text/css" href="../css/style.css"> </head> <body> <h1>Monroe puts in 24, Knicks defeat the Pistons 121 to 115</h1> </br> <h2 style="color:gr...
Java
<div class="clear left"> <div class="full-page-span33 home-island"> <div class="img-island isle1"> <h3>Isle Title 1</h3> <p class="tl"> Mei duis denique nostrum et, in pro choro</p> </div> <div> <p>Lorem ipsum Mei duis denique nostrum et, in pro choro consul, eam deterruisset ...
Java
/* * Copyright (C) 2003-2011 The Music Player Daemon Project * http://www.musicpd.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 opti...
Java
<?php /* $Id$ osCmax e-Commerce http://www.oscmax.com Copyright 2000 - 2011 osCmax Released under the GNU General Public License */ define('HEADING_TITLE', 'Ch&egrave;ques cadeaux envoy&eacute;s'); define('TABLE_HEADING_SENDERS_NAME', 'Nom de l\'expéditeur'); define('TABLE_HEADING_VOUCHER_VA...
Java
# icprot Web application for displaying phylogeny and results of onekp.com data analysis
Java
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script src="/benchmark/js/jquery.min.js"></script> <script type="text/javascript" src="/benchmark/js/js.cookie.js"></script> <title>Be...
Java
/* * Copyright (C) 2008 by NXP Semiconductors * All rights reserved. * * @Author: Kevin Wells * @Descr: LPC3250 SLC NAND controller interface support functions * * See file CREDITS for list of people who contributed to this * project. * * This program is free software; you can redistribute it and/or * modify...
Java
# ganada
Java
/* * Copyright (C) 2005-2013 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
# CMAKE generated file: DO NOT EDIT! # Generated by "Unix Makefiles" Generator, CMake Version 2.8 # The generator used is: SET(CMAKE_DEPENDS_GENERATOR "Unix Makefiles") # The top level Makefile was generated from the following files: SET(CMAKE_MAKEFILE_DEPENDS "CMakeCache.txt" "/home/guillaume/tf-cadence/gnuradio...
Java
<?php /* * * Copyright 2001-2012 Thomas Belliard, Laurent Delineau, Edouard Hue, Eric Lebrun * * This file is part of GEPI. * * GEPI 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 vers...
Java
# Makefile.in generated by automake 1.13.3 from Makefile.am. # Makefile. Generated from Makefile.in by configure. # Copyright (C) 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 or without mod...
Java
#include <iomanip> #include <iostream> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); int n, p_i; cin >> n; double total = 0.0; for (size_t i = 0; i < n; i++) { cin >> p_i; total += p_i; } cout << setprecision(12) << fixed << (total / n) << endl; }
Java
<?php /** * @package SP Page Builder * @author JoomShaper http://www.joomshaper.com * @copyright Copyright (c) 2010 - 2016 JoomShaper * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or later */ //no direct accees defined ('_JEXEC') or die ('restricted access'); class SppagebuilderAddonTab extends Spp...
Java
/* Copyright (C) 1997-2001 Id Software, 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 program is distributed in th...
Java
#include "capwap.h" #include "capwap_element.h" /******************************************************************** 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ...
Java
/* * This file is part of Libav. * * Libav 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. * * Libav is distributed in...
Java
var ajaxManager = (function() { $jq = jQuery.noConflict(); var requests = []; return { addReq: function(opt) { requests.push(opt); }, removeReq: function(opt) { if($jq.inArray(opt, requests) > -1) { requests.splice($jq.inArray(opt, requests), 1); } }, run: function...
Java
<?php session_start(); ob_start(); include ('connect.php'); if(($_SESSION['LOGIN'] == "NO") or (!$_SESSION['LOGIN'])) header('Location: index.php'); function cssifysize($img) { $dimensions = getimagesize($img); $dimensions = str_replace("=\"", ":", $dimensions['3']); $dimensions = str_replace("\"", "px;"...
Java
#include <stdio.h> #include <stdlib.h> #include <assert.h> #include <errno.h> #include <iostream> #include "ftfilemapper.h" //#define DEBUG_FILEMAPPER ftFileMapper::ftFileMapper(uint64_t file_size,uint32_t chunk_size) : _file_size(file_size),_chunk_size(chunk_size) { int nb_chunks = (int)(file_size / (uint64_t)chu...
Java
# Endpoints for user to control the home. from datetime import datetime from flask import Blueprint, jsonify, request from services import elements_services, home_services home_api = Blueprint('/home_api', __name__) elements_services = elements_services.ElementsServices() home_services = home_services.HomeServices()...
Java
#include "stdafx.h" #include "Utilities/Log.h" #include "Utilities/File.h" #include "git-version.h" #include "rpcs3/Ini.h" #include "Emu/Memory/Memory.h" #include "Emu/System.h" #include "Emu/GameInfo.h" #include "Emu/SysCalls/ModuleManager.h" #include "Emu/Cell/PPUThread.h" #include "Emu/Cell/SPUThread.h" #include "E...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/> <meta name="keywords" content="TEMU, dynamic analysis, binary analysis, dynamic taint analysis"/> <meta name="description" content="C/C++/OCaml Source Code Documentation f...
Java
BoardConnetServer ================= server application that run on embedded linux based development boards ( Begalbone Bone, Beagleboard, Altera SocKit, Xilinx ZedBoard ) connects to android app
Java
<!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"/> <title>Luayats: src/src/bssrc.h Source File</title> <link href="tabs.css" rel=...
Java
<?php /** * @version 3.2.11 September 8, 2011 * @author RocketTheme http://www.rockettheme.com * @copyright Copyright (C) 2007 - 2011 RocketTheme, LLC * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only */ defined('GANTRY_VERSION') or die; gantry_import('core.config.gantryformgroup'); gantr...
Java
# -*- coding: utf-8 -*- import time import EafIO import warnings class Eaf: """Read and write Elan's Eaf files. .. note:: All times are in milliseconds and can't have decimals. :var dict annotation_document: Annotation document TAG entries. :var dict licences: Licences included in the file. :va...
Java
<div class="form-horizontal"> <h3>Create a new Data</h3> <div class="form-group"> <div class="col-md-offset-2 col-sm-2"> <a id="Create" name="Create" class="btn btn-primary" href="#/DataConfig/new"><span class="glyphicon glyphicon-plus-sign"></span> Create</a> </div> </div> </div> <hr /> <div> <h3>Se...
Java
% custom packages \usepackage{config/textpos} \setlength{\TPHorizModule}{1cm} \setlength{\TPVertModule}{1cm} \newcommand\crule[1][black]{\textcolor{#1}{\rule{2cm}{2cm}}} \newcommand{\hugetextsc}[1]{ { \begin{spacing}{\linespaceone} \textsc{\fontsize{\fontsizeone}{\fontsizeone}{\notosansfont #1}} \end{spacing...
Java
/* -*- c++ -*- Kvalobs - Free Quality Control Software for Meteorological Observations $Id: decodermgr.h,v 1.1.2.2 2007/09/27 09:02:27 paule Exp $ Copyright (C) 2007 met.no Contact information: Norwegian Meteorological Institute Box 43 Blindern 0313 OSLO NORWAY email: kvalobs-dev@met.no This file is part ...
Java
// <copyright file="Collision.cs" company="LeagueSharp"> // Copyright (c) 2015 LeagueSharp. // // 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, o...
Java
/* * Copyright (c) 1990,1993 Regents of The University of Michigan. * All Rights Reserved. See COPYRIGHT. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* HAVE_CONFIG_H */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <signal.h> #include <sys/param.h> #include <sys/uio.h> #include <sys/...
Java
var express = require('express'); var path = require('path'); var tilestrata = require('tilestrata'); var disk = require('tilestrata-disk'); var mapnik = require('tilestrata-mapnik'); var dependency = require('tilestrata-dependency'); var strata = tilestrata(); var app = express(); // define layers strata.layer('hill...
Java
/* * synergy -- mouse and keyboard sharing utility * Copyright (C) 2016 Symless Ltd. * * This package is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * found in the file LICENSE that should have accompanied this file. * * This package is distribut...
Java
<?php include_once "srcPHP/View/View.php"; include_once "srcPHP/Model/ResearchModel.php"; class Mosaic implements View{ var $model = NULL; var $array = NULL; function Mosaic(){ $this->model = new ResearchModel("dbserver", "xjouveno", "xjouveno", "pdp"); $this->array = $this->model->getAllVideo(); } functio...
Java
<?php /** * Description of Resume * * @author greg * @package */ class Wpjb_Form_Abstract_Resume extends Daq_Form_ObjectAbstract { protected $_custom = "wpjb_form_resume"; protected $_key = "resume"; protected $_model = "Wpjb_Model_Resume"; public function _exclude() { if($...
Java
/* * This file is part of PowerDNS or dnsdist. * Copyright -- PowerDNS.COM B.V. and its contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. * * In addition, for t...
Java
<?php /** * BackPress Styles Procedural API * * @since 2.6.0 * * @package WordPress * @subpackage BackPress */ /** * Initialize $wp_styles if it has not been set. * * @global WP_Styles $wp_styles * * @since 4.2.0 * * @return WP_Styles WP_Styles instance. */ function wp_styles() { global $wp_styles; if...
Java
cmd_drivers/mmc/core/built-in.o := /home/ar/android/aosp/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-ld -EL -r -o drivers/mmc/core/built-in.o drivers/mmc/core/mmc_core.o
Java
// TransformPatternDlg.cpp : implementation file #include <psycle/host/detail/project.private.hpp> #include "TransformPatternDlg.hpp" #include "Song.hpp" #include "ChildView.hpp" #include "MainFrm.hpp" namespace psycle { namespace host { static const char notes[12][3]={"C-","C#","D-","D#","E-","F-","F#","G-","G#","A...
Java
/* ======================================================================== * Bootstrap: alert.js v3.0.3 * http://getbootstrap.com/javascript/#alerts * ======================================================================== * Copyright 2013 Twitter, Inc. * * Licensed under the Apache License, Version 2.0 (the "L...
Java
/** * Copyright (C) 2008-2014, Marvell International Ltd. * * This software file (the "File") is distributed by Marvell International * Ltd. under the terms of the GNU General Public License Version 2, June 1991 * (the "License"). You may use, redistribute and/or modify this File in * accordance with...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_67) on Thu Apr 09 10:31:52 MDT 2015 --> <meta http-equiv="Content-Type" content="text/html" charset="utf-8"> <title>Uses of Class org.a...
Java
var express = require('express'), Weapon = require('../models/Weapon'), router = express.Router(); // HOMEPAGE router.get('/', function(req, res) { res.render('index', { title:'Weapons Guide | Fire Emblem | Awakening', credit: 'Matt.Dodson.Digital', msg: 'Hello Word!' }); }); /...
Java
/*BEGIN_LEGAL Intel Open Source License Copyright (c) 2002-2013 Intel Corporation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright noti...
Java
function isCompatible(){if(navigator.appVersion.indexOf('MSIE')!==-1&&parseFloat(navigator.appVersion.split('MSIE')[1])<6){return false;}return true;}var startUp=function(){mw.config=new mw.Map(true);mw.loader.addSource({"local":{"loadScript":"//bits.wikimedia.org/he.wikipedia.org/load.php","apiScript":"/w/api.php"}});...
Java
{- hpodder component Copyright (C) 2006 John Goerzen <jgoerzen@complete.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. T...
Java
/* * Copyright (c) 1997 Enterprise Systems Management Corp. * * This file is part of UName*It. * * UName*It 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 late...
Java
<?php /* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */ namespace Icinga\Module\Monitoring\DataView; class Contactgroup extends DataView { /** * {@inheritdoc} */ public function isValidFilterTarget($column) { if ($column[0] === '_' && preg_match('/^_(?:host|service)_/',...
Java
import configparser CONFIG_PATH = 'accounting.conf' class MyConfigParser(): def __init__(self, config_path=CONFIG_PATH): self.config = configparser.ConfigParser(allow_no_value=True) self.config.read(config_path) def config_section_map(self, section): """ returns all configuration op...
Java
///////////////////////////////////////////////////////////////////////////// // Name: imagpnm.h // Purpose: wxImage PNM handler // Author: Sylvain Bougnoux // RCS-ID: $Id: imagpnm.h,v 1.1 1999/12/15 22:37:51 VS Exp $ // Copyright: (c) Sylvain Bougnoux // Licence: wxWindows licence // Modifie...
Java
# codingInPython Github space for my experiments with programming, learning Python and git alongside. Much of what I have in here are some code examples of exercies I have been trying to complete. As of 4/6, most of the effort has been on data manipulation or rather list manipulation. 4/7 : Updated files :
Java
<h2><?php print $node->title; ?></h2> <h3><?php print content_format('field_subtitle', $field_subtitle[0]); ?></h3> <? print l('Back', 'node/'.$node->field_case_project[0]['nid'], array('html'=>TRUE, 'attributes'=>array('class'=>'back-link'))); ?> <? print content_format('field_case_intro_title', $field_case_intro_ti...
Java
package ms.aurora.browser.wrapper; import org.apache.log4j.Logger; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import org.w3c.tidy.Tidy; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.transf...
Java
<!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_43) on Tue Dec 15 22:07:49 NZDT 2015 --> <TITLE> weka.core.stemmers </TITLE> <META NAME="date" CONTENT="2015-12-15"> <LINK REL ="stylesheet" TYPE="...
Java
<html> <head> <title>Transverse Ray Aberration Diagram</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="generator" content="HelpNDoc Personal Edition 4.3.1.364"> <link type="text/css" rel="stylesheet" media="all" href="css/reset.css" /> <link type="text/css" rel="styl...
Java
/* * Read-Copy Update mechanism for mutual exclusion * * 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 ...
Java
<?php /** * Plugin Name: Custom Register Form Plugin * Plugin URI: http://tamanhquyen.com/register-form-for-wordpress.html * Description: Create Custom Register Form Frontend Page * Version: 1.0 * Author: TA MANH QUYEN * Author URI: http://tamanhquyen.com */ global $wp_version; if(version_compare($wp_version,'3...
Java
<?php class grid_assignments_progress{ private $db = false; private $user; private $edit_color = '#FFFFFF'; public function __construct(){ $this->db = Connection::getDB(); $this->user = new administrator(); if($this->user->role=='pupil' || $this->user->role=='parent'){ ...
Java
.admanage-img p img{ width: 300px; height:100px; display: block; float: left; }
Java
/* * ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd). * s_misc.c: Yet another miscellaneous functions file. * * Copyright (C) 2002 by the past and present ircd coders, and others. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Publi...
Java
/* * Copyright (C) 2004 * Swiss Federal Institute of Technology, Lausanne. All rights reserved. * * Developed at the Autonomous Systems Lab. * Visit our homepage at http://asl.epfl.ch/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Lice...
Java
/* sort.c Ruby/GSL: Ruby extension library for GSL (GNU Scientific Library) (C) Copyright 2001-2006 by Yoshiki Tsunesada Ruby/GSL is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License. This library is distributed in the hope that it will be useful, b...
Java
/* * This file is part of Soprano Project. * * Copyright (C) 2007-2010 Sebastian Trueg <trueg@kde.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the...
Java
package es.uniovi.asw.gui.util.form.validator.specific; import es.uniovi.asw.gui.util.form.validator.composite.CheckAllValidator; import es.uniovi.asw.gui.util.form.validator.simple.LengthValidator; import es.uniovi.asw.gui.util.form.validator.simple.NumberValidator; public class TelephoneValidator extends CheckAllVa...
Java
Package.describe({ summary: "Next bike list package" }); Package.on_use(function (api) { api.use(['nb','underscore', 'templating', 'nb-autocomplete', 'nb-markers', 'nb-infowindow', 'nb-directions', 'nb-geocoder', 'nb-markerlabel', 'nb-citypicker'], ['client']); api.add_files(['list.html', 'list.js'], ['client'])...
Java
<?php /** * * @package phpBB Extension - Senky Post Links * @copyright (c) 2014 Jakub Senko * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 * Swedish translation by/ * Svensk översättning av: Tage Strandell, Webmaster vulcanriders-sweden.org * */ if (!defined('IN_PHPBB')) { exit; }...
Java
/** * \ingroup devices * \defgroup TapBridgeModel Tap Bridge Model * * \section TapBridgeModelOverview TapBridge Model Overview * * The Tap Bridge is designed to integrate "real" internet hosts (or more * precisely, hosts that support Tun/Tap devices) into ns-3 simulations. The * goal is to make it appear to...
Java
package com.greenpineyu.fel.function.operator; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.greenpineyu.fel.Ex...
Java
--リトマスの死儀式 function c8955148.initial_effect(c) aux.AddRitualProcGreaterCode(c,72566043) --to deck local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TODECK+CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_GRAVE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCountLimit(1,8955148) e1:Set...
Java
/* ***************************************************************************** * The method lives() is based on Xitari's code, from Google Inc. * * 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 Soft...
Java