code stringlengths 4 1.01M | language stringclasses 2
values |
|---|---|
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\ProductVideo\Test\Constraint;
use Magento\Cms\Test\Page\CmsIndex;
use Magento\Mtf\Fixture\InjectableFixture;
use Magento\Mtf\Constraint\AbstractConstraint;
use Magento\Catalog\Test\Page\Category\C... | Java |
#!/usr/bin/env python
# **********************************************************************
#
# Copyright (c) 2003-2011 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 |
<?php
/**
* HTML helper class
*
* This class was developed to provide some standard HTML functions.
*
* @package VirtueMart
* @subpackage Helpers
* @author RickG
* @copyright Copyright (c) 2004-2008 Soeren Eberhardt-Biermann, 2009 VirtueMart Team. All rights reserved.
*/
// Check to ensure this file is includ... | Java |
#!/usr/bin/python
import os
import sys
import re
# file name unified by the following rule:
# 1. always save the osm under ../osmFiles directory
# 2. the result automatically generate to ../trajectorySets
# 3.1. change variable "osmName", or
# 3.2. use command argument to specify osm file name
# 4. this script genera... | Java |
#google-map
{
height: 300px;
} | Java |
package com.cf.tradeprocessor.web.rest.response;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
public class JsonResponse {
private Boolean success;
@JsonInclude(Include.NON_NULL)
private Object result;
public JsonResponse() {
}
private J... | Java |
/*jslint browser: true */ /*global jQuery: true */
/**
* jQuery Cookie plugin
*
* Copyright (c) 2010 Klaus Hartl (stilbuero.de)
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
*/
// TODO JsDoc
/**
* Create a cookie... | Java |
/**
* MaNGOS is a full featured server for World of Warcraft, supporting
* the following clients: 1.12.x, 2.4.3, 3.3.5a, 4.3.4a and 5.4.8
*
* Copyright (C) 2005-2015 MaNGOS project <http://getmangos.eu>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Gene... | Java |
<?php
/**
* Profiler showing execution trace.
*
* 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... | Java |
/* ***** BEGIN LICENSE BLOCK *****
* Source last modified: $Id: hxstat.h,v 1.7 2004/07/09 18:21:50 hubbe Exp $
*
* Portions Copyright (c) 1995-2004 RealNetworks, Inc. All Rights Reserved.
*
* The contents of this file, and the files included with this file,
* are subject to the current version of the RealNetwor... | Java |
# OpenSSL is more stable then ssl
# but OpenSSL is different then ssl, so need a wrapper
import sys
import os
import OpenSSL
SSLError = OpenSSL.SSL.WantReadError
import select
import time
import socket
import logging
ssl_version = ''
class SSLConnection(object):
"""OpenSSL Connection Wrapper"""
def __ini... | Java |
/*
Lucy the Diamond Girl - Game where player collects diamonds.
Copyright (C) 2005-2015 Joni Yrjänä <joniyrjana@gmail.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 ... | Java |
/* Eye Of Mate - Main Window
*
* Copyright (C) 2000-2008 The Free Software Foundation
*
* Author: Lucas Rocha <lucasr@gnome.org>
*
* Based on code by:
* - Federico Mena-Quintero <federico@gnu.org>
* - Jens Finke <jens@gnome.org>
* Based on evince code (shell/ev-window.c) by:
* - Martin Kretzschmar <martink@... | Java |
<html>
<head>
<title>LitKicks: Mexico</title>
<meta http-equiv="Content-Type"
content="text/html; charset=ISO-8859-1">
<meta name="description" content="The beat legacy of Mexico">
<meta name="keywords" content="Mexico,Beat,Kerouac,... | 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 (1.8.0_66) on Tue Dec 08 01:24:03 CST 2015 -->
<title>Uses of Class com.online.lakeshoremarket.representation.order.OrderRequest</title>
<meta name="d... | Java |
<?php
namespace Guzzle\Common\Filter;
/**
* Check if the supplied variable is a string
*
* @author Michael Dowling <michael@guzzlephp.org>
*/
class StringFilter extends AbstractFilter
{
/**
* {@inheritdoc}
*/
protected function filterCommand($command)
{
if (!is_string($command)) {
... | Java |
<?php
return array(
'id' => 'jkreativ_page_fssingle_video',
'types' => array('page'),
'title' => 'Jkreativ Fullscreen Single video',
'priority' => 'high',
'template' => array(
array(
'name' => 'video_type',
'type' => 'select',
'label' => 'Video Type',
'defau... | Java |
/*
This file is part of Valgrind, a dynamic binary instrumentation
framework.
Copyright (C) 2004-2012 OpenWorks LLP
info@open-works.net
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... | Java |
<?php
chdir('../../');
require_once ('pika-danio.php');
pika_init();
$report_title = 'LSC Interim Case Services';
$report_name = "lsc_interim";
$base_url = pl_settings_get('base_url');
if(!pika_report_authorize($report_name))
{
$main_html = array();
$main_html['base_url'] = $base_url;
$main_html['page_title']... | Java |
\section{Open Source und Lizenz}\label{open-source-und-lizenz}
\subsection{Open Source}\label{open-source}
Die Ersteller der App arbeiten alle mit Linux und unterstützen dessen
Philosophie der freien Weitergabe von (Quell)offener Software.\\Da der
Quelltext der App teil der Bewertungsgrundlage ist und wir die Plattfo... | Java |
<?php
namespace Gh\Gloggiheime\Controller;
use FluidTYPO3\Flux\Controller\AbstractFluxController;
/**
* My custom ContentController to render my package's Content templates.
*
* @package Gloggiheime
* @subpackage Controller
*/
class ContentController extends AbstractFluxController {
/**
* bookingRepository
... | Java |
#!/bin/sh
#
# git-submodule.sh: add, init, update or list git submodules
#
# Copyright (c) 2007 Lars Hjemli
dashless=$(basename "$0" | sed -e 's/-/ /')
USAGE="[--quiet] add [-b <branch>] [-f|--force] [--name <name>] [--reference <repository>] [--] <repository> [<path>]
or: $dashless [--quiet] status [--cached] [--r... | Java |
/*
* Implementation of the security services.
*
* Authors : Stephen Smalley, <sds@epoch.ncsc.mil>
* James Morris <jmorris@redhat.com>
*
* Updated: Trusted Computer Solutions, Inc. <dgoeddel@trustedcs.com>
*
* Support for enhanced MLS infrastructure.
* Support for context based audit filters.
*
* Updated... | Java |
/*
* linux/arch/arm/mm/flush.c
*
* Copyright (C) 1995-2002 Russell King
*
* 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.
*/
#include <linux/module.h>
#include <lin... | Java |
// STLport regression testsuite component.
// To compile as a separate example, please #define MAIN.
#include <iterator>
#include <vector>
#include <algorithm>
#include <iostream>
#include <numeric>
#include <iterator>
#ifdef MAIN
#define partsum1_test main
#endif
#if !defined (STLPORT) || defined(__STL_USE_NAMESPA... | 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... | Java |
#include <stdio.h>
#include <stdlib.h>
#include <string.h> /* memset */
#include <libwzd-core/wzd_structs.h>
#include <libwzd-core/wzd_crc32.h>
#define C1 0x12345678
#define C2 0x9abcdef0
int main(int argc, char *argv[])
{
unsigned long c1 = C1;
unsigned long crc = 0x0;
char input1[1024];
const char * file1 ... | Java |
import json
import bottle
from pyrouted.util import make_spec
def route(method, path):
def decorator(f):
f.http_route = path
f.http_method = method
return f
return decorator
class APIv1(object):
prefix = '/v1'
def __init__(self, ndb, config):
self.ndb = ndb
... | Java |
\documentclass{article}
\usepackage{epsfig}
\usepackage{color}
\usepackage{amsmath}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[german]{babel}
\usepackage{helvet}
\selectlanguage{german}
\oddsidemargin15pt
\evensidemargin15pt
\textheight25mm
\textwidth20cm... | Java |
/* Copyright (C) 2022, Specify Collections Consortium
*
* Specify Collections Consortium, Biodiversity Institute, University of Kansas,
* 1345 Jayhawk Boulevard, Lawrence, Kansas, 66045, USA, support@specifysoftware.org
*
* This program is free software; you can redistribute it and/or
* modify it under the term... | Java |
<?php
/**
* @package WordPress Plugin
* @subpackage CMSMasters Content Composer
* @version 1.1.0
*
* Profiles Post Type
* Created by CMSMasters
*
*/
class Cmsms_Profiles {
function Cmsms_Profiles() {
$cmsms_option = cmsms_get_global_options();
$profile_labels = array(
'name' => __('... | Java |
<?php
namespace Goetas\XML\XSDReader\Schema\Element;
interface ElementSingle extends ElementItem
{
/**
* @return \Goetas\XML\XSDReader\Schema\Type\Type
*/
public function getType();
/**
*
* @return int
*/
public function getMin();
/**
*
* @param int $qualified
... | Java |
// Copyright 2017 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include <QComboBox>
#include <QDialogButtonBox>
#include <QGroupBox>
#include <QHBoxLayout>
#include <QMessageBox>
#include <QPushButton>
#include <QTabWidget>
#include <QVBoxLayout>
#include "DolphinQt2/Co... | Java |
<?php
/**
* Created by PhpStorm.
* User: Angga Ari Wijaya
* Date: 9/12/2015
* Time: 1:04 AM
*/
namespace DecoratorPattern;
class VisaPayment implements PaymentMethod
{
public function getDescription()
{
return "Visa description";
}
} | Java |
#ifdef CONFIG_COMPAT
#include <linux/compat.h> /* for compat_old_sigset_t */
#endif
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/wait.h>
#include <linux/ptrace.h>
#include <linux/tracehook.h>
#include <linux/unistd.h>
#include <linux/mm.h>
#incl... | Java |
/*
* * Copyright (C) 2009-2011 Ali <aliov@xfce.org>
* * Copyright (C) 2012-2013 Sean Davis <smd.seandavis@gmail.com>
* * Copyright (C) 2012-2013 Simon Steinbeiß <ochosi@xfce.org
*
* Licensed under the GNU General Public License Version 2
*
* This program is free software; you can redistribute it and/or modify
*... | Java |
/**
* @file cp_campaign.h
* @brief Header file for single player campaign control.
*/
/*
Copyright (C) 2002-2010 UFO: Alien Invasion.
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 |
StealDB
=======
Get any database file - an app to demonstrate how easy it is
maliciously upload and decrypt an android db store
fetch these extensions in /WhatsApp/Databases/*.db
the apk has one hello world activity and the uploading is done by a background
worker. The api endpoint is setup in flask
## Whatsapp DB
... | Java |
/*
* symlink.c
*
* Symlink methods.
*
* Author: Steve Longerbeam <stevel@mvista.com, or source@mvista.com>
*
* 2003 (c) MontaVista Software, Inc.
* Copyright 2003 Sony Corporation
* Copyright 2003 Matsushita Electric Industrial Co., Ltd.
*
* This software is being distributed under the terms of the GNU Gener... | Java |
.pane-bundle-videos {
background: white;
}
.pane-bundle-videos .field-collection-item-field-video {
border-bottom: 1px lightgray solid;
}
.pane-bundle-videos .field-name-field-link-single {
border-top: 10px #231f20 solid;
}
.pane-bundle-videos {
-moz-box-shadow: rgba(0, 0, 0, 0.1) 0 1px 0, rgba(0, 0, 0, 0.1)... | Java |
--犬タウルス
function c91754175.initial_effect(c)
--atk up
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(91754175,0))
e1:SetCategory(CATEGORY_TOGRAVE+CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_PRE_DAMAGE_CALCULATE)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCond... | Java |
CREATE TABLE IF NOT EXISTS `#__formmaker_sessions` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`form_id` int(20) NOT NULL,
`group_id` int(20) NOT NULL,
`ip` varchar(20) NOT NULL,
`ord_date` datetime NOT NULL,
`ord_last_modified` datetime NOT NULL,
`status` varchar(50) NOT NULL,
`full_name` va... | Java |
/*
* ux_text.c - Unix interface, text functions
*
* This file is part of Frotz.
*
* Frotz 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 late... | Java |
.ds-users-list .modal-body input:nth-child(2), .ds-permission-list .modal-body input:nth-child(2), .ds-group-list .modal-body input:nth-child(2) {
margin-bottom: 1em; }
.ds-users-list tbody tr, .ds-permission-list tbody tr, .ds-group-list tbody tr {
cursor: pointer; }
.ds-users-list #header-area, .ds-permission-lis... | Java |
PYTHON = `which python2`
all:
@echo no build make rule yet, just '"make check"'
test-end2end:
@cd tests/ && PYTHON=${PYTHON} ./testsuite
test-unit:
PYTHONPATH=..:$${PYTHONPATH} ${PYTHON} -m pytest `[ ! -z ${COVERAGE} ] && echo "--cov distgen"` tests/unittests/
# Note that flake8 reports both W503 and W504 ATM :-... | Java |
import sys,os
#sys.path.append(os.path.join(os.path.dirname(__file__), '../../..'))
#from ethosgame.ethos.level import Level
from ..level import Level
#from ethosgame.ethos.gameobject import GameObject
from ..gameobject import GameObject
#from ethosgame.ethos.drawnobject import DrawnObject
from ..drawnobject import Dra... | Java |
<?php
/*
Template Name: Nos fromages
*
* This is your custom page template. You can create as many of these as you need.
* Simply name is "page-whatever.php" and in add the "Template Name" title at the
* top, the same way it is here.
*
* When you create your page, you can just select the template and viola, you ... | Java |
hr{margin:20px auto;}
.wrap{margin: 40px 0 0 60px;padding:30px;}
.choice{padding:10px 0;overflow:hidden;}
.choice .span1{float:left;}
.choice .span2{float:left;margin-top:10px;}
.choice input[type=text]{width:300px;margin-left:70px;padding:8px 4px;}
.choice textarea{width: 320px;height: 35px;}
.choice_radio{marg... | Java |
<?php
/**
* Sample implementation of the Custom Header feature.
*
* You can add an optional custom header image to header.php like so ...
*
<?php if ( get_header_image() ) : ?>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
<img src="<?php header_image(); ?>" width="<?php echo esc_attr( get_cus... | 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_55) on Sun Feb 15 12:26:29 PST 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>org.apache.solr.cli... | Java |
<?php
require_once(sfConfig::get('sf_lib_dir').'/filter/base/BaseFormFilterPropel.class.php');
/**
* CatArt filter form base class.
*
* @package sf_sandbox
* @subpackage filter
* @author Your name here
* @version SVN: $Id: sfPropelFormFilterGeneratedTemplate.php 16976 2009-04-04 12:47:44Z fabien $
*/... | Java |
require File.join(File.dirname(__FILE__), 'test_helper')
class PointTest < Test::Unit::TestCase
context "A point" do
setup do
@point = Pathfinder::Point.new 1, 2
end
should "respond to #x and #y" do
assert_equal 1, @point.x
assert_equal 2, @point.y
end
should "convert to an... | Java |
package org.iq4j.webcam;
import java.awt.Canvas;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.EventQueue;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.GraphicsDevice;
import java.awt.GraphicsEnvironment;
import java.awt.Image;
import java.awt.KeyEventDispatcher;
import ja... | Java |
from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^$', views.map, name='map'),
url(r'^mapSim', views.mapSim, name='mapSim'),
url(r'^api/getPos', views.getPos, name='getPos'),
url(r'^api/getProjAndPos', views.getProjAndPos, name='getProjAndPos'),
]
| Java |
// RUN: %clang_cc1 -triple x86_64-unknown-unknown %s -fsyntax-only -verify
#define SA(n, p) int a##n[(p) ? 1 : -1]
struct A { int a; };
SA(0, sizeof(A) == 4);
struct B { };
SA(1, sizeof(B) == 1);
struct C : A, B { };
SA(2, sizeof(C) == 4);
struct D { };
struct E : D { };
struct F : E { };
struct G : E, F { };
SA... | Java |
using Halsign.DWM.Framework;
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using System.Threading;
namespace Halsign.DWM.Domain
{
public class DwmHost : DwmBase
{
private int _numCpus = 1;
private int _numVCpus;
private int _cpuSpeed;
private int _numNics = 1;
private... | Java |
#include "Converter.h"
#include <TFormula.h>
#include <iomanip>
#include <sstream>
std::string Converter::doubleToString(double x,int precision,bool scientifiStyle)
{
std::stringstream xs;
if(scientifiStyle)
xs<<std::scientific;
else
xs<<std::fixed;
xs<<std::setprecision(precision)<<x;
return xs.str()... | Java |
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <deque>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
// #pragma GCC optimize("Ofast")
// #pragma GCC opti... | Java |
<?
if (!defined("_GNUBOARD_")) exit; // °³º° ÆäÀÌÁö Á¢±Ù ºÒ°¡
if ($is_dhtml_editor) {
include_once("$g4[path]/lib/cheditor.lib.php");
echo "<script src='$g4[editor_path]/cheditor.js'></script>";
echo cheditor1('wr_content', $content);
}
?>
<script language="javascript">
// ±ÛÀÚ¼ö Á¦ÇÑ
var char_min = parse... | Java |
/* Copyright (C) 2006 - 2012 ScriptDev2 <http://www.scriptdev2.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 |
var wocs_loading_first_time = true;//simply flag var
jQuery(function () {
if (woocs_drop_down_view == 'chosen') {
try {
if (jQuery("select.woocommerce-currency-switcher").length) {
jQuery("select.woocommerce-currency-switcher").chosen({
disable_search_thresho... | Java |
# -*- coding: utf-8 -*-
#
from rest_framework import viewsets
from rest_framework.exceptions import ValidationError
from django.db import transaction
from django.utils.translation import ugettext as _
from django.conf import settings
from orgs.mixins.api import RootOrgViewMixin
from common.permissions import IsValidUs... | Java |
package main
import (
"bytes"
"fmt"
"regexp"
)
func main() {
match, _ := regexp.MatchString("p([a-z]+)ch", "peach")
fmt.Println(match)
r, _ := regexp.Compile("p([a-z]+)ch")
fmt.Println(r.MatchString("peach"))
fmt.Println(r.FindString("peach punch"))
fmt.Println(r.FindStringIndex("peach punch"))
fmt.Pri... | Java |
<?php
namespace Sidus\EAVDataGridBundle\Model;
use Sidus\DataGridBundle\Model\DataGrid as BaseDataGrid;
use Sidus\EAVFilterBundle\Configuration\EAVFilterConfigurationHandler;
use Sidus\EAVModelBundle\Model\FamilyInterface;
use Sidus\EAVModelBundle\Translator\TranslatableTrait;
use Symfony\Component\Translation\Transl... | Java |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Struct template is_interval_container<icl::interval_set< DomainT, Compare, Interval, Alloc >></title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" cont... | 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" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>food blogging | Introduction to New Media</title>
<m... | Java |
CREATE USER 'iasst'@'localhost' IDENTIFIED BY '123456';
GRANT SELECT ON *.* TO 'iasst'@'localhost';
GRANT SELECT, INSERT, UPDATE, REFERENCES, DELETE, CREATE, DROP, ALTER, INDEX, TRIGGER, CREATE VIEW, SHOW VIEW, EXECUTE, ALTER ROUTINE, CREATE ROUTINE, CREATE TEMPORARY TABLES, LOCK TABLES, EVENT ON `iasst`.* TO 'ia... | Java |
/*
MobileRobots Advanced Robotics Interface for Applications (ARIA)
Copyright (C) 2004, 2005 ActivMedia Robotics LLC
Copyright (C) 2006, 2007, 2008, 2009 MobileRobots Inc.
Copyright (C) 2010, 2011 Adept Technology, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms o... | Java |
<?php
/**********************************************************************************
*
* #####
* # # ##### ## ##### # # #### ###### # # #### # # # ######
* # # # # # # # # # ## # # # # ## # #
* ##### # # # # # # #### ##### # # #... | Java |
<?php
// Global variables
global $map_count, $ish_options;
$map_count++;
// Default SC attributes
$defaults = array(
'color' => '',
'zoom' => '15',
'invert_colors' => '',
'height' => '',
);
// Extract all attributes
$sc_atts = $this->extract_sc_attributes( $defaults, $atts );
// Add ID if empty... | Java |
<?php
class acf_Wysiwyg extends acf_Field
{
/*--------------------------------------------------------------------------------------
*
* Constructor
*
* @author Elliot Condon
* @since 1.0.0
* @updated 2.2.0
*
*------------------------------------------------------------------------------------... | Java |
<HTML>
<!-- Mirrored from www.w3schools.com/php/showphpcode.asp?source=demo_func_simplexml_addchild by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:36:12 GMT -->
<HEAD></HEAD>
<FONT FACE="'Courier New',Verdana, Arial, Helvetica" SIZE=2>
<!DOCTYPE html><br><html><br><body><br><br><FONT COLOR=... | Java |
/***************************************************************
* Name: RectShape.h
* Purpose: Defines rectangular shape class
* Author: Michal Bližňák (michal.bliznak@tiscali.cz)
* Created: 2007-07-22
* Copyright: Michal Bližňák
* License: wxWidgets license (www.wxwidgets.org)
* Notes:
*... | Java |
// File: $Id: opbranch.h,v 1.1 2001/10/27 22:34:09 ses6442 Exp p334-70f $
// Author: Benjamin Meyer
// Contributor: Sean Sicher
// Discription: Branch module for
// Revisions:
// $Log: opbranch.h,v $
// Revision 1.1 2001/10/27 22:34:09 ses6442
// Initial revision
//
... | Java |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ESPSharp.Enums
{
public enum PackageScheduleDays : sbyte
{
Any = -1,
Sunday,
Monday,
Tuesday,
Wednesday,
Thursday,
Friday,
... | Java |
# zoomzoomzoom.js
Simple zoom tool for images inside of DIVs. A very small script that is heavily dependent on its HTML structure. Designed to only work in Chrome.
| Java |
<?php
/**
* @package Adminimize
* @subpackage Backend Options
* @author Frank Bültge
*/
if ( ! function_exists( 'add_action' ) ) {
echo "Hi there! I'm just a part of plugin, not much I can do when called directly.";
exit;
}
?>
<div id="poststuff" class="ui-sortable meta-box-sortables">
<div class="postbox"... | Java |
<?php
/**
* Footer functions.
*
* @package Sento
*/
/* ----------------------------------------------------------------------------------
FOOTER WIDGETS LAYOUT
---------------------------------------------------------------------------------- */
/* Assign function for widget area 1 */
function thinkup_input_foot... | Java |
<script>
var panels = new Array();
function addcattab(id, text, title)
{
var ccc = document.getElementById('categories');
var tab_id = id + '-tab';
var tab_title = (title) ? (' title="' + title + '"') : '';
var _li = document.createElement('li');
_li.id = tab_id;
_li.className = 'tab';
_li.innerHTML =... | Java |
/*
Copyright (C) 2005 Michael K. McCarty & Fritz Bronner
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 |
# SSClusterViewer/app
This folder contains the javascript files for the application.
# SSClusterViewer/resources
This folder contains static resources (typically an `"images"` folder as well).
# SSClusterViewer/overrides
This folder contains override classes. All overrides in this folder will be
automatically inc... | Java |
---
layout: post
title: Objectify and strange errors with GWT serializations
date: '2013-04-04T09:15:00.003-07:00'
author: David Hatanian
tags:
modified_time: '2013-04-04T09:15:34.396-07:00'
blogger_id: tag:blogger.com,1999:blog-5219665179084602082.post-7455732729975892877
blogger_orig_url: http://david-codes.blogspot.... | Java |
TARGET = rlm_utf8
SRCS = rlm_utf8.c
HEADERS =
RLM_CFLAGS =
RLM_LIBS =
include ../rules.mak
$(STATIC_OBJS): $(HEADERS)
$(DYNAMIC_OBJS): $(HEADERS)
| Java |
// Copyright (C) 1999-2000 Id Software, Inc.
//
#include "ui_local.h"
/*********************************************************************************
SPECIFY SERVER
*********************************************************************************/
#define MAX_LISTBOXITEMS 128
#define MAX_LISTBOXWIDTH 4... | Java |
<div class="tx-test-extension">
<f:render section="main" />
</div> | Java |
/*
* Copyright 2010, Intel Corporation
*
* This file is part of PowerTOP
*
* This program file is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; version 2 of the License.
*
* This program is distributed... | Java |
/* This file is part of the KDE project
Copyright (C) 2007, 2012 Dag Andersen danders@get2net>
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 License, or (a... | Java |
#ifndef GRAPHICS_FX_H
#define GRAPHICS_FX_H
#include "video/video.h" // PlayerVisual
#include "game/game_data.h" // Player
#include "game/camera.h" // Camera
#include "video/nebu_video_types.h" // Visual
void drawImpact(int player);
void drawGlow(PlayerVisual *pV, Player *pTarget, float dim);
#endif
| Java |
/**
* Copyright (C) 2004 - 2012 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 program... | Java |
<?php
/**
*
*/
# Define namespace
namespace WCFE\Modules\Editor\View\Editor\Templates\Tabs\Tabs;
# Imports
use WCFE\Modules\Editor\View\Editor\Templates\Tabs\FieldsTab;
/**
*
*/
class MultiSiteOptionsTab extends FieldsTab {
/**
* put your comment there...
*
* @var mixed
*/
protected $fieldsPluggableFilter... | Java |
<?php
/***************************************************************************
*
* 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 o... | Java |
var elixir = require('laravel-elixir');
var gulp = require("gulp");
require('laravel-elixir-wiredep');
/*
|--------------------------------------------------------------------------
| Elixir Asset Management
|--------------------------------------------------------------------------
|
| Elixir provides a clean, f... | Java |
package com.onkiup.minedroid;
import com.onkiup.minedroid.gui.resources.*;
import com.onkiup.minedroid.gui.MineDroid;
/**
* This class is auto generated.
* Manually made changes will be discarded.
**/
public final class R {
final static String MODID = "minedroid";
public final static class id {
public final sta... | Java |
package thesis;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import termo.component.Compound;
import termo.eos.Cubic;
import termo.eos.EquationsOfState;
import termo.eos.alpha.Alphas;
import termo.matter.Mixture;
import termo.matte... | Java |
/*
* FileBrowser.cpp - implementation of the project-, preset- and
* sample-file-browser
*
* Copyright (c) 2004-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - http://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify i... | Java |
/*
* Copyright (c) 2002-2009 BalaBit IT Ltd, Budapest, Hungary
*
* 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.
*
* Note that this permission is granted for only version 2 of t... | Java |
<div id="forum_points_options">
<fieldset>
<legend>{{ lang('FORUM_POINT_SETTINGS') }}</legend>
<p>{{ lang('FORUM_POINT_SETTINGS_EXPLAIN') }}</p>
<dl>
<dt><label>{{ lang('FORUM_PERTOPIC') }}{{ lang('COLON') }}</label><br/><span>{{ lang('FORUM_PERTOPIC_EXPLAIN') }}</span>
</dt>
<dd><input type="text" id="... | Java |
# -*- coding: utf-8 -*-
"""
Created on Tue May 28 12:20:59 2013
=== MAYAXES (v1.1) ===
Generates a set of MayaVI axes using the mayavi.mlab.axes() object with a
white background, small black text and a centred title. Designed to better
mimic MATLAB style plots.
Unspecified arguments will be set to default values... | Java |
/*
This file is a part of the Depecher (Telegram client)
Copyright (C) 2017 Alexandr Akulich <akulichalexander@gmail.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 ve... | Java |
<?php
/**
* @version 1.0.0
* @package com_farmapp
* @copyright Copyright (C) 2012. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @author Created by com_combuilder - http://www.notwebdesign.com
*/
// No direct access.
defined('_JEXEC') or die;
... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.