code
stringlengths
4
1.01M
language
stringclasses
2 values
public class ValueGenerator { }
Java
package remasterkit; import java.awt.BorderLayout; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.UIManager; import javax.swing.border.EmptyBorder; import javax.swing.JLabel; import javax.swing.ImageIcon; import javax.swing.border.TitledBorder; import javax.swing.b...
Java
/* * Copyright (c) 2002-2003, Intel Corporation. All rights reserved. * Created by: rusty.lynch REMOVE-THIS AT intel DOT com * This file is licensed under the GPL license. For the full content * of this license, see the COPYING file at the top level of this * source tree. Test case for assertion #4 of the si...
Java
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (C) 2016-2017 University of Dundee & Open Microscopy Environment. # All Rights Reserved. # Use is subject to license terms supplied in LICENSE.txt # import requests from Parse_OMERO_Properties import USERNAME, PASSWORD, OMERO_WEB_HOST, \ ...
Java
CREATE FUNCTION [dbo].[GetContributionsDetails] ( @fd DATETIME, @td DATETIME, @campusid INT, @pledges BIT, @nontaxded BIT, @includeUnclosed BIT, @tagid INT, @fundids VARCHAR(MAX) ) RETURNS TABLE AS RETURN ( SELECT p.FamilyId, p.PeopleId, c.ContributionDate AS Date, CASE WHEN fa.HeadOfHousehol...
Java
package com.algebraweb.editor.client; import com.google.gwt.user.client.ui.Button; /** * A button for the control panel. Will be styled accordingly. * * @author Patrick Brosi * */ public class ControlPanelButton extends Button { public ControlPanelButton(String desc) { super(); this.addStyleName("controllp...
Java
<?php /** * Intreface DAO * * @author: http://phpdao.com * @date: 2013-11-06 23:13 */ interface AccesoDAO{ /** * Get Domain object by primry key * * @param String $id primary key * @Return Acceso */ public function load($id); /** * Get all records from table */ public funct...
Java
#python imports import sys import os import time import datetime import subprocess import json import requests from termcolor import colored #third-party imports #No third-party imports #programmer generated imports from logger import logger from fileio import fileio ''' ***BEGIN DESCRIPTION*** Type: Search - Descri...
Java
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>网页定位导航效果</title> <style> * { margin: 0; padding: 0; } body { font-size: 12px; line-height: 1.7; } li { list-style: none; ...
Java
/* * linux/kernel/exit.c * * Copyright (C) 1991, 1992 Linus Torvalds */ #include <linux/mm.h> #include <linux/slab.h> #include <linux/interrupt.h> #include <linux/module.h> #include <linux/capability.h> #include <linux/completion.h> #include <linux/personality.h> #include <linux/tty.h> #include <linux/iocontext...
Java
// QueenMaxima, a chess playing program. // Copyright (C) 1996-2013 Erik van het Hof and Hermen Reitsma // // 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...
Java
<?php /* * Comments cell type. * Displays form and coments * */ if( !function_exists('register_comments_cell_init') ) { function register_comments_cell_init() { if ( function_exists('register_dd_layout_cell_type') ) { register_dd_layout_cell_type ( 'comments-cell', array ( 'name' => ...
Java
<? class CategoryID extends Handler { protected $REST_vars; protected $DBs; protected $User; // RUN // public function run() { switch ( $this->REST_vars["method"] ) { case "get": $this->get(); break; case "delete": case "put": case "post": default: throw new Erro...
Java
<?php /** * Controllo se il file viene richiamato direttamente senza * essere incluso dalla procedura standard del plugin. * * @package SZGoogle */ if (!defined('SZ_PLUGIN_GOOGLE') or !SZ_PLUGIN_GOOGLE) die(); /** * Definizione variabile HTML per la preparazione della stringa * che contiene la documentazione d...
Java
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/iWorkImport.framework/iWorkImport */ #import <iWorkImport/GQDRStrokePattern.h> #import <iWorkImport/XXUnknownSuperclass.h> #import <iWorkImport/iWorkImport-Structs.h> __attribute__((visibility("hidden"))) @interfac...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta name="DC.type" http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <head>R%egrave%glement (CE) n o %nbsp%48/2006 de la Commission du 12 janvier 2006 fixant les restitutions applicables %agrave% l'expor...
Java
/* * Copyright (C) 2005-2012 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
# BurnMan - a lower mantle toolkit # Copyright (C) 2012-2014, Myhill, R., Heister, T., Unterborn, C., Rose, I. and Cottaar, S. # Released under GPL v2 or later. # This is a standalone program that converts a tabulated version of the Stixrude and Lithgow-Bertelloni data format into the standard burnman format (printed ...
Java
const fs = require('fs'); const util = require('../../util'); // test equality function equal(a, b, options) { if (a === b) { return options.fn(this); } return options.inverse(this); } // great than function gt(a, b, options) { if (a >= b) { return options.fn(this); } return options.inverse(this);...
Java
<?php /** * @file * Definition of Drupal\views_ui\ViewUI. */ namespace Drupal\views_ui; use Drupal\views\ViewExecutable; use Drupal\Core\Database\Database; use Drupal\Core\TypedData\ContextAwareInterface; use Drupal\views\Plugin\views\query\Sql; use Drupal\views\Plugin\Core\Entity\View; use Drupal\views\ViewStora...
Java
#ifndef LINUX_HARDIRQ_H #define LINUX_HARDIRQ_H #include <linux/preempt.h> #include <linux/lockdep.h> #include <linux/ftrace_irq.h> #include <asm/hardirq.h> /* * We put the hardirq and softirq counter into the preemption * counter. The bitmask has the following meaning: * * - bits 0-7 are the preemption count (ma...
Java
<?php /** * @version 2.3, Creation Date : March-24-2011 * @name impressionclicks.php * @location /components/com_contushdvideosahre/views/impressionclicks/tmpl/impressionclicks.php * @package Joomla 1.6 * @subpackage contushdvideoshare * @author Contus Support - http://www.contussupport....
Java
//============================================================================= // // m25pxx.c // // SPI flash driver for Numonyx M25Pxx devices and compatibles. // //============================================================================= // ####ECOSGPLCOPYRIGHTBEGIN#### // -----------------------------...
Java
<?php /** * TOP API: taobao.shop.remainshowcase.get request * * @author auto create * @since 1.0, 2012-03-21 12:35:10 */ class ShopRemainshowcaseGetRequest { private $apiParas = array(); public function getApiMethodName() { return "taobao.shop.remainshowcase.get"; } public function getApiParas() { ...
Java
/* * Core definitions and data structures shareable across OS platforms. * * Copyright (c) 1994-2002 Justin T. Gibbs. * Copyright (c) 2000-2002 Adaptec Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following con...
Java
/* * Timeval.cc -- time arithmetic * * (c) 2003 Dr. Andreas Mueller, Beratung und Entwicklung * * $Id: Timeval.cc,v 1.7 2009/01/10 19:00:25 afm Exp $ */ #ifdef HAVE_CONFIG_H #include <config.h> #endif /* HAVE_CONFIG_H */ #include <Timeval.h> #ifdef HAVE_MATH_H #include <math.h> #endif /* HAVE_MATH_H */ #ifdef HAV...
Java
using Rocket.API; using Rocket.API.Extensions; using Rocket.Core.Logging; using Rocket.Unturned.Chat; using Rocket.Unturned.Commands; using Rocket.Unturned.Player; using System; using System.Collections.Generic; using UnityEngine; namespace coolpuppy24.rpevents { public class ArrestFinishCommand : IRocketCommand ...
Java
/////////////////////////////////////////////////////////////////////////////// // Name: wx/msw/custombgwin.h // Purpose: wxMSW implementation of wxCustomBackgroundWindow // Author: Vadim Zeitlin // Created: 2011-10-10 // RCS-ID: $Id: custombgwin.h 69378 2011-10-11 17:07:43Z VZ $ // Copyright: ...
Java
package com.omnicrola.panoptes.ui.autocomplete; import static org.easymock.EasyMock.expect; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.util.Arrays; import java.util.List; import org.junit.Test; import com.omnicrola.panoptes.control.DataController; import com....
Java
<?php namespace ApacheSolrForTypo3\Solr\IndexQueue; /*************************************************************** * Copyright notice * * (c) 2010-2015 Ingo Renner <ingo@typo3.org> * All rights reserved * * This script is part of the TYPO3 project. The TYPO3 project is * free software; you can redistribu...
Java
<?php $xml = simplexml_load_file("http://animacionugm.blogspot.com/feeds/posts/default"); $json = json_encode($xml); echo "<pre>"; echo $json; echo "</pre>"; ?>
Java
<?php /** * @package syscart * libraries/platform/language.php * * @autor majeed mohammadian */ defined('syscart') or die('access denied...!'); class platformLanguage { private $language = 'persian'; private $code = 'fa-IR'; private $direction = 'rtl'; private $id = null; public functio...
Java
#ifndef PLAYER_H #define PLAYER_H #include "Vector2d.h" #include "Polygon.h" #include "CollisionController.h" #include <vector> const float WALKING_ACCEL = 0.5; const float MAX_WALKING_SPEED = 11.0; const float FALLING_ACCEL = 1.2; const float MAX_FALLING_SPEED = 20.0; const float JUMPING_SPEED = -25.0; class Player...
Java
<?php /** * TOP API: taobao.wlb.inventory.detail.get request * * @author auto create * @since 1.0, 2012-11-01 12:40:06 */ class WlbInventoryDetailGetRequest { /** * 库存类型列表,值包括: VENDIBLE--可销售库存 FREEZE--冻结库存 ONWAY--在途库存 DEFECT--残次品库存 ENGINE_DAMAGE--机损 BOX_DAMAGE--箱损 EXPIRATION--过保 **/ private $inventoryTypeL...
Java
<?php if(!class_exists('WP_List_Table')){ require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' ); } class EasySocialMetricsLiteResultTable extends WP_List_Table { public $total_results = array(); public $top_content = array(); /** *********************************************************...
Java
<form> <i class="glyphicon glyphicon-search"></i> <input type="text" name="q"> <button type="submit" class="hidden">{{ trans('labels.search') }}</button> </form>
Java
<?php /** * @file * Contains Drupal\views\Plugin\views\display\DisplayPluginBase. */ namespace Drupal\views\Plugin\views\display; use Drupal\views\Plugin\views\area\AreaPluginBase; use Drupal\views\ViewExecutable; use \Drupal\views\Plugin\views\PluginBase; use Drupal\views\Views; /** * @defgroup views_display_p...
Java
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>basic_datagram_socket::cancel (2 of 2 overloads)</title> <link rel="stylesheet" href="../../../../boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.73.2"> <link rel="start" href="../../...
Java
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> <title>PHPXRef 0.7.1 : Unnamed Project : Function Reference: create_relations()</title> <link rel="stylesheet" href="../sample.css" type="text/css"> <link rel="stylesheet" href="../sample...
Java
<?php namespace Nutri\IngredientBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; use Nutri\Ingredien...
Java
class Java::Util::ArrayList < Array overload_protected { include Java::Util::JavaList } class Iterator def initialize(array, from_index = 0, to_index = nil) @array = array @index = from_index @to_index = to_index || @array.size end def has_next @index < @to_index end ...
Java
<?php function ___main___() { $descriptor = json_decode(file_get_contents(dirname(dirname(dirname(dirname(dirname($_SERVER['SCRIPT_FILENAME']))))) . '/program.json'), true); $versions = json_decode(file_get_contents(dirname(dirname(dirname(dirname(dirname(__FILE__))))) . '/workspace/packages/test/etc/versions....
Java
<div id="page-wrapper" > <div id="page-inner"> <!-- Row de Titulos --> <div class="row"> <div class="col-lg-6"> <div class="input-group"> <input type="text" class="form-control" placeholder="Buscar por Palabras Clave"> <span class="input-group-btn"> <butt...
Java
using NPOI.HSSF.UserModel; using NPOI.HSSF.Util; using NPOI.SS.UserModel; using NPOI.XSSF.UserModel; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Web; namespace NoRain.Toolkits { public class XMLOutputTool { private static Type[] ...
Java
#region License // Copyright (c) 2007 James Newton-King // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, // copy,...
Java
// ********************************************************************** // // Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. // // ***************************************************...
Java
# This file shows how to program a computer to calculate # logarithms and powers, without a calculator. # The benefit of this method is that it does not # require any multiplications. It can be implemented # entirely with shift and additions. Therefore, it # is well suited for a FPGA. # TODO: Change the logarithms, s...
Java
#include "locked_queue.h"
Java
<?php // Just some basics. $per_page_limit = 20; // get all forms $forms = Caldera_Forms::get_forms(); $forms = apply_filters( 'caldera_forms_admin_forms', $forms ); $style_includes = get_option( '_caldera_forms_styleincludes' ); if(empty($style_includes)){ $style_includes = array( 'alert' => true, 'form' => t...
Java
<?php /** * The Header for our theme. * * Displays all of the <head> section and everything up till <main id="main"> * * @package GeneratePress */ ?><!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>"> <meta http-equiv="X-UA-Compatible" content="IE=edge"...
Java
# See bottom of file for license and copyright information package Foswiki::Configure::Checkers::Cache::DependencyFilter; use strict; use warnings; use Foswiki::Configure::Checker (); our @ISA = ('Foswiki::Configure::Checker'); sub check { my $this = shift; my $e = $this->showExpandedValue( $Foswiki::cfg{Ca...
Java
// // NXTableView.h // GestureOnTableViewCell // // Created by CornerZhang on 14-9-15. // Copyright (c) 2014年 NeXtreme.com. All rights reserved. // #import <UIKit/UIKit.h> @interface NXTableView : UITableView <UITableViewDataSource, UITableViewDelegate> @end
Java
<?php declare(strict_types=1); class CommentListTest extends ShimmiePHPUnitTestCase { public function setUp(): void { global $config; parent::setUp(); $config->set_int("comment_limit", 100); $this->log_out(); } public function tearDown(): void { global $conf...
Java
#ifndef VALUESCOPE_H_ #define VALUESCOPE_H_ #include <map> #include <memory> #include <string> #include <vector> #include "ValueEntry.h" #include "types/Type.h" namespace semantic_analyzer { class ValueScope { public: bool insertSymbol(std::string name, const type::Type& type, translation_unit::Context context)...
Java
cmd_drivers/mtd/lpddr/built-in.o := rm -f drivers/mtd/lpddr/built-in.o; mips-openwrt-linux-uclibc-ar rcsD drivers/mtd/lpddr/built-in.o
Java
<!-- This comment will put IE 6, 7 and 8 in quirks mode --> <!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>Drupal Simp...
Java
//-*-c++-*- // ==================================================================== // ==================================================================== // // Module: opt_ssa.h // $Revision: 1.99 $ // $Date: 2000/04/06 15:25:34 $ // $Author: dlstephe $ // $Source: /isms/cmplrs.src/osprey1.0/be/opt/RCS/opt_ss...
Java
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Hibernate Mappings - Table Info</title> <link rel="stylesheet" type="text/css" href="../../assets/doc-style.css" title="Style"/> </head> <body> <div id="header"> <...
Java
/* * drivers/power/process.c - Functions for starting/stopping processes on * suspend transitions. * * Originally from swsusp. */ #undef DEBUG #include <linux/interrupt.h> #include <linux/oom.h> #include <linux/suspend.h> #include <linux/module.h> #include <linux/syscalls.h> #include ...
Java
<?php namespace RandomRango\Bundle\MainBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; class DefaultController extends Controller { public function indexAction() { return $this->render('RandomRangoMainBundle:Default:index.html.twig'); } }
Java
/* packet-lbmr.c * Routines for LBM Topic Resolution Packet dissection * * Copyright (c) 2005-2014 Informatica Corporation. All Rights Reserved. * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * This program is free software; you can redistribut...
Java
package com.rideon.web.security; import org.apache.http.auth.UsernamePasswordCredentials; import org.apache.http.client.CredentialsProvider; import org.apache.http.impl.client.DefaultHttpClient; import org.springframework.web.client.RestTemplate; public class ClientAuthenticator { public ClientAuthenticator() { ...
Java
<?php namespace TYPO3\CMS\T3editor; /* * 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 license information,...
Java
# -*- encoding: utf-8 -*- try: from httplib import HTTPSConnection from urlparse import urlparse except ImportError: from http.client import HTTPSConnection from urllib.parse import urlparse from json import dumps, loads from django.conf import settings class GCMError(Exception): pass def send...
Java
<?php /*************************************************************** * Copyright notice * * (c) 2011 Adrien LUCAS (adrien@oblady.fr) * All rights reserved * * This script is part of the TYPO3 project. The Typo3 project is * free software; you can redistribute it and/or modify * it under the terms of the GNU Gen...
Java
/* Copyright (c) 2012-2014, The Linux Foundation. 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 version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
Java
#!/usr/bin/perl #[SUMMARY] Flashcard program. Used to train yourself for vocab retention, possibly other uses (e.g. general question and answer format). # Read through an input file (key - value), shuffle the keys randomly, and prompt the user for an answer. # If the answer doesn't match (case insensitive), retry (opt...
Java
#ifndef COIN_SBPIMPLPTR_HPP #define COIN_SBPIMPLPTR_HPP /**************************************************************************\ * * This file is part of the Coin 3D visualization library. * Copyright (C) 1998-2008 by Kongsberg SIM. All rights reserved. * * This library is free software; you can redistrib...
Java
/* $Id$ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope ...
Java
{% extends "base.html" %} {% block content_title %}{% endblock %} {% block ogtitle %}{{ SITENAME }}{% endblock %} {% block ogurl %}{{ SITEURL }}{%endblock%} {% block canonicalurl %}{{ SITEURL }}{%endblock%} {% block content %} <div class="content-grid"> {% if articles %} {% for article in articles_page.obj...
Java
#include "StdInc.h" #include <ShellAPI.h> unsigned int _gameFlags; typedef struct { const wchar_t* argument; unsigned int flag; } flagDef_t; flagDef_t flags[] = { { L"offline", GAME_FLAG_OFFLINE }, { L"console", GAME_FLAG_CONSOLE }, { 0, 0 } }; void DetermineGameFlags() { int numArgs; LPCWSTR commandLine =...
Java
/********************************************************************** Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold 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; eith...
Java
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace WebMvc.App.Views.Default.Common.Public { public partial class Footer : System.Web.UI.UserControl { public App.Common.UserControl.Footer FooterViewBag { g...
Java
<?php class UpdateCartAction extends Action{ public function execute() { $quantities = getParam('ProductQuantity'); $cart = new Cart(); foreach($quantities as $productId => $quantities){ if($quantities > 0){ $cart->updateQuantity($productId, $quantities); ...
Java
# # Copyright (c) 2013 The Linux Foundation. All rights reserved. # Copyright (C) 2008-2011 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk JFFS2_BLOCKSIZE = 64k 128k 256k define ...
Java
<?php /* * FileCtrl.class.php -- file system control * * Copyright 2011 World Three Technologies, Inc. * 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 published by * the Free Software Foundation; ...
Java
/* * Copyright 2006-2020 The MZmine Development Team * * This file is part of MZmine. * * MZmine 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) an...
Java
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>CRAN - Package PoiClaClu</title> <link rel="stylesheet" type="text/css" href="../../CRAN_web.css" /> <meta http-equiv="Content-Type" content="text/html;...
Java
//---------------------------------------------------------------------------- #pragma hdrstop #include <stdio.h> #include <memory> #include "uCM.h" //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma classgroup "Vcl.Controls.TControl" #pragma resource "*....
Java
# testrepository this is a test repository
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
/* HexChat * Copyright (C) 1998-2010 Peter Zelezny. * Copyright (C) 2009-2013 Berke Viktor. * * 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 you...
Java
<!DOCTYPE html> <html> <head> <meta charset="utf8"> <title>Local Test</title> </head> <body> <h2>Tutorial/Prototype</h2> <ol> <li><a href="minigames/tutorial/lock/index.html">Lock</a></li> <li><a href="minigames/tutorial/click_and_drag/index.html">Click and Drag</a></li> <li><a href="minigames/bioinfo/whereis/index.htm...
Java
<?php /******************************************************************************* Copyright 2021 Whole Foods Co-op This file is part of CORE-POS. IT CORE 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 Sof...
Java
/* * RapidMiner * * Copyright (C) 2001-2008 by Rapid-I and the contributors * * Complete list of developers available at our web site: * * http://rapid-i.com * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public Lice...
Java
#pragma once // Description: // Notification interface for loading and saving configuration. // // Copyright (C) 2001 Frank Becker // // 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...
Java
#include <filezilla.h> #include "directorycache.h" #include "list.h" enum listStates { list_init = 0, list_waitresolve, list_waitlock, list_list }; int CStorjListOpData::Send() { LogMessage(MessageType::Debug_Verbose, L"CStorjListOpData::Send() in state %d", opState); switch (opState) { case list_init: if ...
Java
/* Copyright (c) 2011-2012, Code Aurora Forum. 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 version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the ho...
Java
<?php include(HTML_DIR . 'overall/header.php'); ?> <body> <section class="engine"><a rel="nofollow" href="#"><?php echo APP_TITLE ?></a></section> <?php include(HTML_DIR . '/overall/topnav.php'); ?> <section class="mbr-section mbr-after-navbar"> <div class="mbr-section__container container mbr-section__container--is...
Java
/*************************************************************************** * Copyright (C) 2011 by Christoph Thelen * * doc_bacardi@users.sourceforge.net * * * * This pr...
Java
-- VirtueMart table SQL script -- This will install all the tables need to run VirtueMart -- -- Table structure for table `#__virtuemart_adminmenuentries` -- CREATE TABLE IF NOT EXISTS `#__virtuemart_adminmenuentries` ( `id` tinyint(1) unsigned NOT NULL AUTO_INCREMENT, `module_id` tinyint(10) unsigned NOT NULL D...
Java
#------------------------------------------------------------------------------- # Name: module1 # Purpose: # # Author: Eli # # Created: 06/04/2014 # Copyright: (c) Eli 2014 # Licence: <your licence> #------------------------------------------------------------------------------- def m...
Java
package org.mo.jfa.face.database.connector; import org.mo.web.core.container.AContainer; import org.mo.web.core.webform.IFormPage; import org.mo.web.protocol.context.IWebContext; public interface IConnectorAction { String catalog(IWebContext context, @AContainer(name = IFormPage.Page) FConnectorP...
Java
<?php /* * * Swift Page Builder - Default Shortcodes * ------------------------------------------------ * Swift Framework * Copyright Swift Ideas 2016 - http://www.swiftideas.com * */ /* TEXT BLOCK ASSET ================================================== */ class S...
Java
/* * ************************************************************************************* * Copyright (C) 2008 EsperTech, Inc. All rights reserved. * * http://esper.codehaus.org * * http://www.espertech.com ...
Java
/* * Copyright (c) 2009, Yauhen Kharuzhy <jekhor@gmail.com> * * See file CREDITS for list of people who contributed to this * project. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; e...
Java
package doodle; import java.io.Serializable; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Comparator; import java.util.Date; /** * A poll is made up of two or more time slots, which are voted on by poll * invitees. A time slot is defined by a start datetime and optionally an end *...
Java
<?php /* * Fixed blog_media hash column * Add "level" to blogs posts, which will be used as previous priority column */ sql_query('ALTER TABLE `blogs_media` CHANGE COLUMN `hash` `hash` VARCHAR(64) NOT NULL'); $medias = sql_query('SELECT `id`, `file` FROM `blogs_media`'); $update = sql_prepare('UPDATE `blogs_media` ...
Java
/* Do not modify this file. Changes will be overwritten. */ /* Generated automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-ranap.c */ /* ../../tools/asn2wrs.py -p ranap -c ./ranap.cnf -s ./packet-ranap-template ...
Java
/* $Id: views.css,v 1.11.2.3 2010/03/12 00:25:33 merlinofchaos Exp $ */ .asce-mod-1 { position: relative; } .views-field-image-image { float: left; } .asce-mod-1 .views-field-title { font-size: 160%; line-height: 130%; } /* From ASCE website */ .ImgCaptMain{ width: 1150; position:relative; } .ImgCaptDes...
Java