code
stringlengths
4
1.01M
language
stringclasses
2 values
<?php namespace Drupal\search_api_autocomplete\Suggestion; use Drupal\Core\Render\RenderableInterface; /** * Defines a single autocompletion suggestion. */ interface SuggestionInterface extends RenderableInterface { /** * Retrieves the keywords this suggestion will autocomplete to. * * @return string|n...
Java
/* * PROJECT: Boot Loader * LICENSE: BSD - See COPYING.ARM in the top level directory * FILE: boot/armllb/hw/versatile/hwclcd.c * PURPOSE: LLB CLCD Routines for Versatile * PROGRAMMERS: ReactOS Portable Systems Group */ #include "precomp.h" #define LCDTIMING0_PPL(x) ((((...
Java
<?php /** * @package FrameworkOnFramework * @subpackage database * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * * This file is adapted from the Joomla! Platform. It is u...
Java
/* * Copyright (C) 2011 ST-Ericsson SA. * Copyright (C) 2009 Motorola, Inc. * * License Terms: GNU General Public License v2 * * Simple driver for National Semiconductor LM3530 Backlight driver chip * * Author: Shreshtha Kumar SAHU <shreshthakumar.sahu@stericsson.com> * based on leds-lm3530.c by Dan M...
Java
package sergio; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Calendar; import java.util.GregorianCalendar; //Ejercicio Metodos 18 //Realiza una clase llamada milibreria que contenga al menos cinco de los metodos realizados. //Usalas de 3 formas diferent...
Java
@import judgels.fs.FileInfo @import org.iatoki.judgels.sandalphon.problem.programming.grading.blackbox.BatchGradingConfigForm @import play.api.mvc.Call @(batchGradingConfigForm: Form[BatchGradingConfigForm], postUpdateGradingConfigCall: Call, testDataFiles: List[FileInfo], helperFiles: List[FileInfo]) @implicitFieldC...
Java
#!/bin/sh # # Support routines for hand-crafting weird or malicious packs. # # You can make a complete pack like: # # pack_header 2 >foo.pack && # pack_obj e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 >>foo.pack && # pack_obj e68fe8129b546b101aee9510c5328e7f21ca1d18 >>foo.pack && # pack_trailer foo.pack # Print th...
Java
#region using System.Collections.Generic; using System.Data; using Albian.Persistence.Model; #endregion namespace Albian.Persistence.Context { public interface IStorageContext { string StorageName { get; set; } IList<IFakeCommandAttribute> FakeCommand { get; set; } IDbC...
Java
/** * $Id$ * Copyright (C) 2008 - 2014 Nils Asmussen * * 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
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1"> <title>PushReceiver</title> <link rel="stylesheet" href="style.css"/> <!-- Inline scripts are forbidden in Firefox OS apps (CSP restrictions), so we ...
Java
/* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
<?php /* included from WPML_Translation_Management::icl_dashboard_widget_content */?> <p><?php if ($docs_sent) printf(__('%d documents sent to translation.<br />%d are complete, %d waiting for translation.', 'wpml-translation-management'), $docs_sent...
Java
<HEAD><TITLE>rle.sp</TITLE></HEAD> <BODY> <HR><DIV ALIGN="center"><H1> File : rle.sp </H1></DIV><HR> <DIV ALIGN="center"> <TABLE CELLSPACING="0" CELLPADDING="3" WIDTH="80%" SUMMARY=""> <TR> <TD BGCOLOR="black"><SPAN STYLE="color: #00CC00"> <PRE> $ spar rle 12W1B12W3B24W1B14W WWWWWWWWWWWWBWWWWWWWWWWWWBBBWWWWWWWWWWWWWWWW...
Java
# Install script for directory: /home/parallels/new-pi/utils # Set the install prefix IF(NOT DEFINED CMAKE_INSTALL_PREFIX) SET(CMAKE_INSTALL_PREFIX "/usr/local") ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX) STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") # Set the install configuration name....
Java
#include <cstdio> #include <cstdlib> #include <cstdarg> #include <cstring> #include "../../Port.h" #include "../../NLS.h" #include "../GBA.h" #include "../GBAGlobals.h" #include "../GBAinline.h" #include "../GBACheats.h" #include "GBACpu.h" #include "../GBAGfx.h" #include "../GBASound.h" #include "../EEprom.h" #includ...
Java
using UnityEngine; using System.Collections; [RequireComponent(typeof(SpriteRenderer))] public class SpriteRandomiser : MonoBehaviour { [System.Serializable] public class PossibleState { public Sprite texture = null; public Color color = Color.white; }; public PossibleState[] possibleStates = new PossibleS...
Java
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
Java
<!doctype html> <!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> <!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]--> <!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<!...
Java
using MediaBrowser.Controller.Entities; using MediaBrowser.Controller.Session; using System.Threading.Tasks; using MediaBrowser.Model.Services; namespace MediaBrowser.Controller.Net { public interface ISessionContext { Task<SessionInfo> GetSession(object requestContext); Task<User> GetUser(ob...
Java
/* About Css */ body { -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */ -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */ -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' t...
Java
#include<stdio.h> #include<string.h> #include<stdlib.h> #include<math.h> #define MAX_SIZE 1010 int getarray(int a[]) { int i=0,count; scanf("%d",&count); for(; i<count ; i++) scanf("%d",&a[i]); return count; } int find(int a[], int n, int val) { int i,true=0; for(i=0; i<n...
Java
<section id="options"> <?php $terms = array(); $vid = NULL; $vid_machine_name = 'portfolio_categories'; $vocabulary = taxonomy_vocabulary_machine_name_load($vid_machine_name); if (!empty($vocabulary->vid)) { $vid = $vocabulary->vid; } if (!empty($vid)) { $terms = taxonomy_get_tree($vid); } ?...
Java
/** * jBorZoi - An Elliptic Curve Cryptography Library * * Copyright (C) 2003 Dragongate Technologies Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your...
Java
<!DOCTYPE html> <html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> <head lang="en-US"> <title>My Family Tree - Sanchez, John</title> <meta charset="UTF-8" /> <meta name ="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1" /> <meta name ="apple-mobile...
Java
/* The GTKWorkbook Project <http://gtkworkbook.sourceforge.net/> Copyright (C) 2008, 2009 John Bellone, Jr. <jvb4@njit.edu> 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 v...
Java
<?xml version="1.0" encoding="utf-8"?> <rss version="2.0" xml:base="http://machines.plannedobsolescence.net/149-2007" xmlns:dc="http://purl.org/dc/elements/1.1/"> <channel> <title>postmodernism - apathy</title> <link>http://machines.plannedobsolescence.net/149-2007/taxonomy/term/72/0</link> <description></descriptio...
Java
/*************************************************************************** qgscalloutwidget.cpp --------------------- begin : July 2019 copyright : (C) 2019 by Nyall Dawson email : nyall dot dawson at gmail dot com *****************************************...
Java
/* * ws2san.h * * WinSock Direct (SAN) support * * This file is part of the w32api package. * * Contributors: * Created by Casper S. Hornstrup <chorns@users.sourceforge.net> * * THIS SOFTWARE IS NOT COPYRIGHTED * * This source code is offered for use in the public domain. You may * use, modify or distrib...
Java
/* * 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. Oracle designates this * particular file as subject to th...
Java
(function ($) { $(document).ready(function(){ $("#edit-title-0-value").change(update); $("#edit-field-carac1-0-value").click(update); $("#edit-field-carac1-0-value").change(update); $("#edit-field-carac2-0-value").change(update); $("#edit-field-carac3-0-value").change(update); $("#edit-field-carac4-0-val...
Java
<?php /** * @package WordPress * @subpackage HTML5-Reset-WordPress-Theme * @since HTML5 Reset 2.0 Template Name: Groups */ get_header(); ?> <div class="content-background"> <div id="content-wrap"> <div class="grid"> <div class="col col-1-4"> <?php wp_nav_menu( array('menu' => 'Groups Menu', '...
Java
//------------------------------------------------------------------------------ // <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> //--...
Java
/* * Copyright (C) 2019 Paul Davis <paul@linuxaudiosystems.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) 2015-2016 FixCore <FixCore Develops> * * 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. * * Th...
Java
/**************************************************************************** ** ** This file is part of the Qtopia Opensource Edition Package. ** ** Copyright (C) 2008 Trolltech ASA. ** ** Contact: Qt Extended Information (info@qtextended.org) ** ** This file may be used under the terms of the GNU General Public Licen...
Java
/* * Turbo Sliders++ * Copyright (C) 2013-2014 Martin Newhouse * * 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
package edu.stanford.nlp.time; import java.io.Serializable; import java.util.Calendar; import java.util.Map; import java.util.regex.Pattern; import edu.stanford.nlp.util.Pair; import org.w3c.dom.Element; /** * Stores one TIMEX3 expression. This class is used for both TimeAnnotator and * GUTimeAnnotator for storin...
Java
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This file is part of guh. * * * * Guh is f...
Java
/*************************************************************************/ /*! @File @Title Services definitions required by external drivers @Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved @Description Provides services data structures, defines and prototypes required b...
Java
<!DOCTYPE html> <html> <!-- Mirrored from www.w3schools.com/jquery/tryjquery_sel_lastoftypediff.htm by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:35:39 GMT --> <head> <script src="../../ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> <script> $(document).ready(function(){ $("bu...
Java
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible"content="IE=9; IE=8; IE=7; IE=EDGE"> <meta http-equiv="Content-Type...
Java
ExpData_plot2 =============
Java
<HTML> <HEAD> <TITLE> Paint by Numbers - 32x32 #27</TITLE> </HEAD> <BODY> <h1> Paint by Numbers - 32x32 #27</h1> <p> <applet code=PBN10a.class name=Paint by Numbers width=616 height=556 > <param name=filename value=32x32/bridge.xbm> <param name=solved value=false> </applet> <p> Each number to the ...
Java
#!/usr/bin/env python # # Copyright (C) 2007 Sascha Peilicke <sasch.pe@gmx.de> # # 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 ...
Java
/* * Copyright (C) 2001-2015 Jacek Sieka, arnetheduck on gmail point 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 ...
Java
<?php /******************************************************************************* * HA2.php * year : 2014 * * The HA2 algorithm is a combination between two algorithms (CBA and WBA), where * the first one is based on the language characters, and the second one is * based on the language and common words. T...
Java
/* * IRIS -- Intelligent Roadway Information System * Copyright (C) 2007-2016 Minnesota Department of Transportation * Copyright (C) 2014 AHMCT, University of California * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published b...
Java
# WordPlay Word Play is basic two player game that removes the letters from a word where the other play is the guess the original word. Word Play is one the first games that made, definitely the first use looping as base. WordPlay is considered to complete and will not change.
Java
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
Java
/* * Copyright (c) 2010 The WebM project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributin...
Java
// ********************************************************************** // // Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. // // ********************************************************************** #include <Ice/Ice.h> #include <IceGrid/IceGrid.h> #include <Hello.h> using namespace std; using namespac...
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/win/winobj.h Source File</title> <link href="tabs.css" rel...
Java
<?php /** --------------------------------------------------------------------- * JavascriptLoadManager.php : class to control loading of Javascript libraries * ---------------------------------------------------------------------- * CollectiveAccess * Open-source collections management software * ----------------...
Java
<?php /** * @package Joomla.Site * @subpackage mod_menu * * @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; <<<<<<< HEAD // Note. It is important to remove spaces...
Java
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Media; using System.Windows.Data; using System.Windows.Controls.Primitives; using System.Reflection; using System.Windows.Threading...
Java
// Copyright (c) 2000 Max-Planck-Institute Saarbruecken (Germany). // All rights reserved. // // This file is part of CGAL (www.cgal.org). // 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) 2008-2013 Zentyal S.L. # # 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 is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANT...
Java
/*****************************************************************************/ /* */ /* Ittiam 802.11 MAC SOFTWARE */ /* */ ...
Java
#include "stdafx.h" #include "Emu/SysCalls/SysCalls.h" #include "Emu/SysCalls/SC_FUNC.h" #include "Emu/GS/GCM.h" void cellGcmSys_init(); void cellGcmSys_load(); void cellGcmSys_unload(); Module cellGcmSys(0x0010, cellGcmSys_init, cellGcmSys_load, cellGcmSys_unload); u32 local_size = 0; u32 local_addr = 0; enum { CE...
Java
<?php /** * --------------------------------------------------------------------- * GLPI - Gestionnaire Libre de Parc Informatique * Copyright (C) 2015-2021 Teclib' and contributors. * * http://glpi-project.org * * based on GLPI - Gestionnaire Libre de Parc Informatique * Copyright (C) 2003-2014 by the INDEPNET...
Java
#!/bin/sh source /etc/scripts/functions.sh case $1 in deconfig) net_if_reset $interface dhcp ;; bound|renew) net_if_config $interface dhcp "$ip" "$subnet" "$router" "$dns" ;; esac
Java
#!/usr/bin/env rspec require_relative "../../../test_helper" require "yaml" require "users/clients/auto" require "y2users/autoinst/reader" require "y2issues" Yast.import "Report" # defines exported users require_relative "../../../fixtures/users_export" describe Y2Users::Clients::Auto do let(:mode) { "autoinstall...
Java
=head1 NAME POSIX - Perl interface to IEEE Std 1003.1 =head1 SYNOPSIS use POSIX (); use POSIX qw(setsid); use POSIX qw(:errno_h :fcntl_h); printf "EINTR is %d\n", EINTR; $sess_id = POSIX::setsid(); $fd = POSIX::open($path, O_CREAT|O_EXCL|O_WRONLY, 0644); # note: that's a filedescriptor, *...
Java
cmd_kernel/sys_ni.o := /pub/CIS520/usr/arm/bin/arm-angstrom-linux-gnueabi-gcc -Wp,-MD,kernel/.sys_ni.o.d -nostdinc -isystem /net/files.cis.ksu.edu/exports/public/CIS520/usr/arm/bin/../lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/include -Iinclude -I/net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm...
Java
using System; using Server.Engines.Craft; namespace Server.Items { public abstract class BaseRing : BaseJewel { public BaseRing(int itemID) : base(itemID, Layer.Ring) { } public BaseRing(Serial serial) : base(serial) { } public o...
Java
# plugins module for amsn2 """ Plugins with amsn2 will be a subclass of the aMSNPlugin() class. When this module is initially imported it should load the plugins from the last session. Done in the init() proc. Then the GUI should call plugins.loadPlugin(name) or plugins.unLoadPlugin(name) in order to deal with plugins....
Java
<?php /* Plugin Name: PoP CDN WordPress Description: Implementation of the CDN for PoP Plugin URI: https://getpop.org Version: 0.1 Author: Leonardo Losovizen/u/leo/ */ //------------------------------------------------------------------------------------- // Constants Definition //-------------------------------------...
Java
# # Copyright 2014 Red Hat, Inc. # # This software is licensed to you under the GNU General Public # License as published by the Free Software Foundation; either version # 2 of the License (GPLv2) or (at your option) any later version. # There is NO WARRANTY for this software, express or implied, # including the implie...
Java
define(["require", "exports"], function (require, exports) { "use strict"; exports.ZaOverviewPanelController = ZaOverviewPanelController; });
Java
// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s // CHECK: ; ModuleID struct A { template<typename T> A(T); }; template<typename T> A::A(T) {} struct B { template<typename T> B(T); }; template<typename T> B::B(T) {} // CHECK: define void @_ZN1BC1IiEET_(%struct.B* %this, i3...
Java
/* Copyright (c) 2012-2015, 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
function playAudioVisualize(track) { var bars = 50; var waveResolution = 128; var style = "bars"; //set default style upon loading here var audio = new Audio(); var canvas, source, context, analyser, fFrequencyData, barX, barWidth, barHeight, red, green, blue, ctx; audio.controls = true; ...
Java
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width" /> <link rel="shortcut icon" type="image/x-icon" href="../../../../../../../favicon.ico" /...
Java
/** * 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/...
Java
/* Copyright (C) 2007-2013 Open Information Security Foundation * * You can copy, redistribute or modify this Program under the terms of * the GNU General Public License version 2 as published by the Free * Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY...
Java
<?php /** * Plugin Name: Category Image Video * Plugin URI: https://github.com/cheh/ * Description: This is a WordPress plugin that adds two additional fields to the taxonomy "Category". * Version: 1.0.0 * Author: Dmitriy Chekhovkiy <chehovskiy.dima@gmail.com> * Author URI: https://github.com/cheh/ * ...
Java
<?php include $_SERVER['DOCUMENT_ROOT'].'/includes/php_header.php'; $problem = $u->getProblemById($_GET['p']); if($_POST){ $data = $_POST; $data['figure'] = file_get_contents($_FILES['figure']['tmp_name']); $data['figure_file'] = $_FILES['figure']['tmp_name']; $data['mml'] = file_get_content...
Java
/*global chrome */ // Check if the feature is enable let promise = new Promise(function (resolve) { chrome.storage.sync.get({ isEdEnable: true }, function (items) { if (items.isEdEnable === true) { resolve(); } }); }); promise.then(function () { /*global removeIfExis...
Java
/* * Asterisk -- An open source telephony toolkit. * * Copyright (C) 2005-2006, Kevin P. Fleming * * Kevin P. Fleming <kpfleming@digium.com> * * See http://www.asterisk.org for more information about * the Asterisk project. Please do not directly contact * any of the maintainers of this project for assistance;...
Java
<?php /*------------------------------------------------------------------------ # view.html.php - TrackClub Component # ------------------------------------------------------------------------ # author Michael # copyright Copyright (C) 2014. All Rights Reserved # license GNU/GPL Version 2 or later - http://www.gn...
Java
package com.nilsonmassarenti.app.currencyfair.model; /** * This class is to manager URL of Rest. * @author nilsonmassarenti - nilsonmassarenti@gmail.com * @version 0.1 * Last update: 03-Mar-2015 12:20 am */ public class CurrencyFairURI { public static final String DUMMY_BP = "/rest/currencyfair/dummy"; public s...
Java
/* pictool: ANSI C converter for Tibia's PIC files * (c) 2007-2009 Ivan Vucica * Part of OpenTibia project * * Although written in ANSI C, this makes use of #pragma pack(), * make sure your compiler supports packed structures, or else. * * This program is free software; you can redistribute it and/or * modify i...
Java
<?php /* Plugin Name: Vertical marquee post title Description: This plug-in will create the vertical marquee effect in your website, if you want your post title to move vertically (scroll upward or downwards) in the screen use this plug-in. Author: Gopi Ramasamy Version: 2.5 Plugin URI: http://www.gopiplus.com/wo...
Java
<?php namespace Icinga\Module\Businessprocess\Web\Form; use Icinga\Application\Icinga; use Icinga\Exception\ProgrammingError; use Icinga\Web\Notification; use Icinga\Web\Request; use Icinga\Web\Response; use Icinga\Web\Url; use Exception; /** * QuickForm wants to be a base class for simple forms */ abstract class ...
Java
package pf::constants::admin_roles; =head1 NAME pf::constants::admin_roles - constants for admin_roles object =cut =head1 DESCRIPTION pf::constants::admin_roles =cut use strict; use warnings; use base qw(Exporter); our @EXPORT_OK = qw(@ADMIN_ACTIONS); our @ADMIN_ACTIONS = qw( ADMIN_ROLES_CREATE ADMIN_R...
Java
<?php /****************************************************************************************\ ** @name EXP Autos 2.0 ** ** @package Joomla 1.6 ** ** @author EXP TEAM::Alexey Kurguz (Grusha) ...
Java
<?php $captcha_word = 'BKPS'; ?>
Java
#include"population.h" population::population() { pop.clear(); } population::population(Random *r) { pop.clear(); this->r = r; } population::population(int n_individuos, int n_gene, Random *r) { pop.clear(); for(int i = 0; i < n_individuos; i++) pop.push_back(*(new individuo(n_gene, r))); this->...
Java
#Date: 2015-10-01 16:06:58 UTC #Software: Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT #Fields: datetime priority message 2015-10-01T16:06:58+00:00 INFO |¯¯¯ Starting 2015-10-01T16:06:58+00:00 INFO | ^^ Connecting to ... 2015-10-01T16:06:58+00:00 ERROR | XX Unable to connect to FTP server 2015-10...
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
package com.javarush.task.task11.task1109; /* Как кошка с собакой */ public class Solution { public static void main(String[] args) { Cat cat = new Cat("Vaska", 5); Dog dog = new Dog("Sharik", 4); cat.isDogNear(dog); dog.isCatNear(cat); } public static class Cat { ...
Java
#!/usr/bin/perl use warnings; use strict; use hdpTools; use Annotation::Annotation; my $config=$ARGV[0]; die "Usage: perl $0 <config file>\n\n" unless defined $config; my $Annotation=Annotation->new($config); warn "Loading GFF\n"; $Annotation->loadAnnotation(); warn "Loading Genome\n"; $Annotation->loadGenome(); wa...
Java
<?php /** * Lost password form * * @author WooThemes * @package WooCommerce/Templates * @version 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } ?> <?php wc_print_notices(); ?> <section id="content"> <form method="post" class="form lost_reset_password"> <?php if( 'lost_password' == $args['form'] )...
Java
/* * Demo on how to use /dev/crypto device for ciphering. * * Placed under public domain. * */ #include <poll.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <stdint.h> #include <sys/ioctl.h> #include <crypto/cryptodev.h> #include "asynchelper.h" #include "testhelper.h" ...
Java
<?php /** * @package FOF * @copyright Copyright (c)2010-2020 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU General Public License version 2, or later */ namespace FOF30\Less\Parser; use FOF30\Less\Less; use Exception; defined('_JEXEC') or die; /** * This class is taken verbatim from: * * lessphp ...
Java
#ifndef _LOCKHELP_H #define _LOCKHELP_H #include <generated/autoconf.h> #include <linux/spinlock.h> #include <asm/atomic.h> #include <linux/interrupt.h> #include <linux/smp.h> /* Header to do help in lock debugging. */ #if 0 //CONFIG_NETFILTER_DEBUG struct spinlock_debug { spinlock_t l; atomic_t lock...
Java
namespace Rantory.Migrations { using System; using System.Data.Entity.Migrations; public partial class ChemicalType : DbMigration { public override void Up() { CreateTable( "dbo.ChemicalTypes", c => new { ...
Java
/* AVFS: A Virtual File System Library Copyright (C) 1998-2001 Miklos Szeredi <miklos@szeredi.hu> This program can be distributed under the terms of the GNU GPL. See the file COPYING. */ #include <sys/types.h> struct child_message { int reqsize; int path1size; int path2size; }; extern ...
Java
/* Theme Name: Carry Gently Adding support for language written in a Right To Left (RTL) direction is easy - it's just a matter of overwriting all the horizontal positioning attributes of your CSS stylesheet in a separate stylesheet file named rtl.css. http://codex.wordpress.org/Right_to_Left_Language_Support */ /*...
Java
using Windows.UI.Xaml.Navigation; using Vocabulary; using Vocabulary.ViewModels; namespace Vocabulary.Views { public sealed partial class HomePage : PageBase { public HomePage() { this.ViewModel = new MainViewModel(8); this.InitializeComponent(); } ...
Java